1 2004-08-13 José Matos <jamatos@lyx.org>
3 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
5 2004-08-13 André Pönitz <poenitz@gmx.net>
7 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
9 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
12 2004-08-12 André Pönitz <poenitz@gmx.net>
14 * text3.C: take out the 'cursor right' form insertInset and only
15 do it in those places when it is really needed. Fixes crash on C-m...
17 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
21 * BufferView_pimpl.C (setBuffer): initialize the current font of
22 the underlying LyXText
24 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * kbsequence.C (print): use UI native formatting for menu
29 * text.C (insertChar): call Paragraph::insertChar with a font
32 * paragraph.C (insertInset, insertChar): the version that takes a
33 LyXFont argument is now a wrapper around the other one (the
34 opposite used to be true).
36 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
37 argument. Font setting is done in Paragraph now.
39 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * outputparams.h: add new members intitle and lang.
43 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
44 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
46 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
48 * text3.C (dispatch): remove special handling of button 4 and 5,
49 it is now taken care of in the frontend code.
51 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * Spacing.h: add <string> (STLPort compile fix)
55 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
57 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
59 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
61 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
64 * converter.C (showMessage): inherit from unary_function, make
67 * buffer.C (writeFile): initialize retval
69 * InsetList.h: rename private variable list to list_
70 * InsetList.[Ch]: adjust accordingly.
72 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
74 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
75 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
76 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
77 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
78 * ParagraphParameters.C, LaTeXFeatures.C: replace
79 "support/std_sstream.h" with <sstream>
81 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
83 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
84 * lyxsocket.C (LyXServerSocket): ditto
85 (serverCallback): ditto
87 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
89 * LaTeXFeatures.C: check release date when loading jurabib.
91 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
93 * lyxserver.C (startPipe): call register_socket_callback
94 (endPipe): call unregister_socket_callback
96 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
98 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
99 (LyXServerSocket): register the callback
100 (LyXServerSocket): unregister the callback
101 (fd): delete function
102 (serverCallback): improve error checking and setup the callbacks.
103 (dataCallback): change arg to fd.
104 (writeln): new func (copied fro the client socket) used for server
106 (LyXDataSocket): simplify
107 (~LyXDataSocket): close ann unregiser callback
108 (server): delete function
109 (fd): delete function
110 (readln): small changes, improve some std::string usage
111 (writeln): constify a bit
113 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
118 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * BufferView_pimpl.C (setBuffer): set the layout combox value only
121 after it has been populated
123 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * text2.C (insertInset): move cursor when inserting inset.
127 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * kbmap.C (findbindings): a couple of new methods. returns a
130 container of kb_sequence objects. The real work is done by the
131 private recursive version
132 (printbindings): uses findbindings to print out a bracketed list
133 of bindings (renamed from findbinding).
135 * MenuBackend.C (binding): use kb_keymap::findbindings
137 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
139 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
141 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
143 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * paragraph.C (isWord): return true on insets that report
148 * text.C (getWord): use Paragraph::isWord to decide what is in a
149 word and what is not; fix bug 1609.
151 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * tex-strings.C: add "none" to string_paperpackages[], fixes
154 off-by-one-error in the paperpackage selection.
157 * tex-strings.[Ch]: char const * string[n]
158 -> char const * const string[]
160 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
163 command, return early.
165 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
167 * debug.h: add DEBUG to enum and fix size of ANY.
169 * debug.C: add support for Debug::DEBUG
170 (showTags): cast errorTags.level to unsigned int
172 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
173 (redoCurrentBuffer): ditto
174 (updateScrollbar): ditto
175 * cursor.C (dispatch): ditto
176 * text2.C (setLayout): ditto
178 (updateCounters): ditto
180 (deleteEmptyParagraphMechanism): ditto
182 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
185 annotations to cleanup the Makefile slightly.
187 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * lyxrc.C: do not set user_email to a default value but use empty
190 instead. The entry used to be translated, which does not work
191 since at the point where lyxrc is constructed there is no
192 translation service available
194 * messages.C (getLocaleDir): remove and use directly
195 lyx_localedir() instead
197 2004-06-02 Angus Leeming <leeming@lyx.org>
199 Fix crash caused by dereferencing null pointer 'exportdata' in
200 OutputParams by creating a new ExportData variable on the heap,
201 storing it in a boost::shared_ptr.
202 The crash was triggered when generating an Instant Preview
203 of an external inset.
205 * Makefile.am: add outputparams.C
207 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
208 (c-tor): allocate memory to it.
210 * exporter.C (c-tor): associated changes.
212 2004-06-01 Angus Leeming <leeming@lyx.org>
214 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
215 contains data before calling isInset(0). (Bug 1513.)
217 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
219 * exporter.C (checkOverwrite): new method
220 * exporter.C (copyFile): new method
221 * exporter.C (Export): copy referenced files to the document dir
222 * exporter.[Ch]: new class ExportedFile
223 * exporter.[Ch]: new class ExportData. Contains currently the
224 names of referenced external files
225 * outputparams.h: add exportdata member.
227 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
232 2004-05-19 Angus Leeming <leeming@lyx.org>
237 * lyxfunc.C: small changes due to the introduction of namespace
238 lyx::frontend and the moving of namespace biblio to lyx::biblio.
240 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
242 * text3.C (dispatch): supress update when only moving the cursor
243 * cursor.C (selHandle): remove commented code
245 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * paragraph.C (startTeXParParams): correct column count
248 * CutAndPaste.C (pasteSelection): remove const_cast
249 * output_docbook.C (docbookParagraphs): remove const_cast
250 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
251 const_cast and return ParagraphList::const_iterator
252 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
253 * output_plaintext.C (writeFileAscii): remove const_cast
254 * paragraph.[Ch] (simpleTeXOnePar): make const
255 * paragraph_funcs.C (outerPar): use const iterators
256 * paragraph_pimpl.C (validate): use const iterators
257 * text.C (setHeightOfRow): use const iterators
259 2004-05-17 Angus Leeming <leeming@lyx.org>
262 * LyXAction.C (init): new LFUN_INSET_REFRESH.
264 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
265 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
266 if the citation engine has changed.
268 2004-05-14 José Matos <jamatos@lyx.org>
270 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
271 if the textclass does not provide it. Have it different for sgml and
273 support the language of document.
274 * output_docbook.C (docbookParagraphs):
275 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
276 first anchor as the id of the paragraph, remove special case code.
277 * sgml.C (escapeChar): escape only < & >.
279 2004-05-14 Angus Leeming <leeming@lyx.org>
281 * bufferparams.h: move biblio::CiteEngine enum here to minimize
282 dependencies on src/frontends/controllers/biblio.h. Define a
283 CiteEngine_enum wrapper class to enable the enum to be forward
286 2004-05-12 Angus Leeming <leeming@lyx.org>
288 * buffer.C: up LYX_FORMAT to 234.
289 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
290 use_numerical_citations with a single biblio::CiteEngine cite_engine
292 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
294 2004-05-13 José Matos <jamatos@lyx.org>
297 * converter.C (Converter, readFlags): add xml member.
298 * outputparams.h: add XML flavor.
299 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
301 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * lyxfunc.C (dispatch):
304 (getStatus): fix handling of LFUN_SEQUENCE
306 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * debug.C (showLevel): do not forget the end-of-line marker
310 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * kbmap.C (read): do not stop parsing a bind file when an error
315 2004-04-29 Angus Leeming <leeming@lyx.org>
320 * text2.C: wrap a bunch of #warning statements
321 inside #ifdef WITH_WARNINGS blocks.
323 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * buffer.C: increment format to 233.
327 2004-04-28 Angus Leeming <leeming@lyx.org>
329 * BufferView_pimpl.C:
332 s/updateToolbar()/updateToolbars()/
333 s/Toolbar.h/Toolbars.h/
335 2004-04-28 Angus Leeming <leeming@lyx.org>
337 * BufferView.[Ch] (c-tor):
338 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
339 No longer passes these data to the WorkArea generator.
341 2004-04-28 Angus Leeming <leeming@lyx.org>
343 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
345 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
347 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
349 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * output_latex.C (TeXEnvironment): make sure that there is a line
352 break before \end{foo} for the last paragraph of a document
353 (TeXOnePar): if the paragraph is at the end of the document (or
354 inset) and the language has to be reset, then make sure that the
355 line break is _before_ the language command, not after (fixes bug
356 1225); also make sure that the language reset command is the first
357 thing after the paragraph (to ensure proper nesting of
358 environments and thus fix bug 1404)
360 2004-04-21 John Levon <levon@movementarian.org>
363 * ToolbarBackend.C: make "name" be a programmatic name
364 and a gui_name field.
366 * lyxfunc.C: display the minibuffer on M-x
368 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
373 2004-04-19 Angus Leeming <leeming@lyx.org>
375 * BufferView_pimpl.C (setBuffer): changed preview interface.
377 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
380 2004-04-19 John Levon <levon@movementarian.org>
382 * BufferView_pimpl.C:
383 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
385 2004-04-05 Angus Leeming <leeming@lyx.org>
387 * text.C (redoParagraphs): add call to updateCounters(), thereby
388 fixing the missing "Figure #:" label from the caption of a
391 2004-04-13 Angus Leeming <leeming@lyx.org>
393 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
394 cursor is clicked out of an inset.
396 2004-04-13 Angus Leeming <leeming@lyx.org>
398 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
399 than an InsetOld one.
401 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
403 * format.[Ch]: add editor to Format
404 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
405 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
407 2004-04-08 André Pönitz <poenitz@gmx.net>
409 * metricsinfo.h: remove PainterInfo::width member
411 2004-04-08 Angus Leeming <leeming@lyx.org>
413 * lyx_sty.C (boldsymbol_def): modify so that it outputs
414 "\providecommand" rather than "\newcommand", thereby preventing
415 clashes with packages that define "\boldsymbol" themselves.
418 2004-04-08 Angus Leeming <leeming@lyx.org>
420 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
421 thereby squashing an unnecessary warning.
423 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
428 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
430 * BufferView.C (setCursor): call redoParagraph (some insets could
432 (putSelectionAt): remove the 'double update' trick
434 * BufferView_pimpl.C (fitCursor): call refreshPar
435 (workAreaDispatch): remove an uneeded update call
436 (dispatch): remove some manual update calls
438 * cursor.[Ch]: remove cached_y_, updatePos
439 (selHandle): set noUpdate when appropriate
441 * lyxfunc.C (dispatch): track if we need an update
443 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
445 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
446 (paintSelection): cheap optimization, do not call cursorX when not
448 (paintPars): change signature
451 (paintTextInset): adjust
455 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * lengthcommon.C: compilation fix: remove explicit array size from
458 unit_name[] and friends
460 2004-04-05 Angus Leeming <leeming@lyx.org>
462 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
464 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
465 present only for the preferences dialog.
466 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
468 2004-04-05 Angus Leeming <leeming@lyx.org>
470 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
471 to enable the frontends to export changes to lyxrc correctly.
473 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
475 2004-04-07 André Pönitz <poenitz@gmx.net>
477 * cursor.[Ch] (selClear, adjust): remove math
479 * cursor_slice.C: more agressive assert
482 * BufferView_pimpl.C: rework mouse event dispatch
489 2004-04-05 André Pönitz <poenitz@gmx.net>
491 * cursor.[Ch] (valign, halign...): remove unneeded functions
493 2004-04-05 Angus Leeming <leeming@lyx.org>
495 * lyxlength.[Ch] (unit_name et al.): const-correct.
497 2004-04-05 Angus Leeming <leeming@lyx.org>
499 * BufferView_pimpl.C:
508 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
510 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
512 * text3.C (getStatus): add LFUN_BEGINNINGBUF
514 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
516 * lyxfind.C: add a couple of inTexted() tests + other small fixes
517 * BufferView_pimpl.[Ch] (getStatus)
518 * BufferView.[Ch] (getStatus): add
519 * lyxfunc.C (getStatus): move lfuns handled in
520 BufferView::dispatch to te function above
521 * Cursor.C (setSelection): set selection() = true
523 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
525 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
527 2004-03-31 Angus Leeming <leeming@lyx.org>
529 * lyxfunc.C (dispatch): Fall through to the generic
530 Dialogs::show("preamble").
532 2004-03-31 Angus Leeming <leeming@lyx.org>
534 * lyxfunc.C (dispatch): Fall through to the generic
535 Dialogs::show("spellchecker").
537 2004-03-31 Angus Leeming <leeming@lyx.org>
539 * lyxfunc.C (getStatus, dispatch): changed invocation of the
542 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
547 * insetiterator.[Ch]:
552 * undo.[Ch]: s/DocumentIterator/DocIterator/g
554 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
556 * BufferView.C (setCursor, putSelectionAt): call edit to open the
557 insets where we are putting the cursor.
559 2004-03-31 Angus Leeming <leeming@lyx.org>
562 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
564 * lyxrc.[Ch] (read, write): overloaded member functions taking
565 a std::[io]stream arguments.
567 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
569 2004-03-31 Angus Leeming <leeming@lyx.org>
571 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
572 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
574 * lyxtextclass.C (load): if the text class couldn't be loaded, then
575 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
577 2004-03-31 Angus Leeming <leeming@lyx.org>
579 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
580 the LFUN_ALL_INSETS_TOGGLE code.
582 2004-03-30 Angus Leeming <leeming@lyx.org>
584 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
585 has died. Fall through to the generic Dialogs::show("document").
587 2004-03-30 Angus Leeming <leeming@lyx.org>
590 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
591 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
593 * lyxfunc.C (getStatus, dispatch): define the actions for these
594 lfuns. Little more than a cut and pste job from ControlDocument.C
596 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
598 2004-03-30 Angus Leeming <leeming@lyx.org>
601 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
602 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
604 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
605 open/closed state of ollapsable insets. Usage:
607 all-inset-toggle <state> <name>, where
608 <state> == "open" || "closed" || "toggle" and
609 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
611 * lyxtext.h, text2.C (toggleInset): removed.
613 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
614 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
615 now passes LFUN_INSET_TOGGLE to the found inset.
617 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
618 is now invoked as "all-insets-toggle toggle branch".
620 2004-03-30 Angus Leeming <leeming@lyx.org>
624 * pariterator.[Ch]: added/corrected header blurb.
626 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
628 * dociterator.[Ch]: add an inset_ member
629 (backwardPos): implemented
630 (backwardPos, forwardPos): use inset_ when the stack is empty.
631 (doc_iterator_begin, doc_iterator_end): implemented
632 * pariterator.[Ch]: adjust, add begin, end
633 * insetiterator.[Ch]: adjust, add begin, end
637 * BufferView_pimpl.C:
638 * CutAndPaste.C: adjust
640 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
642 * buffer.C: increment file format to 232.
643 * LaTeXFeatures.C: add bibtopic package.
644 * bufferparams.[Ch]: param \use_bibtopic.
646 * lyxrc.[Ch]: add lyxrc bibtex_command
647 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
649 * buffer.C: increment file format to 231.
651 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
653 * dociterator.C: implement forwardPar
654 * iterators.[Ch]: remove, replaced by
655 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
657 * BufferView_pimpl.C:
660 * bufferview_funcs.C:
666 * Makefile.am: adjust
668 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
670 * CutAndPaste.C (pasteSelection): fix 2 crashes
671 (eraseSelection): fix a crash
672 * paragraph_funcs.C: remove a warning
674 2004-03-28 Angus Leeming <leeming@lyx.org>
677 * LyXAction.C (init): new LFUN_PRINT.
679 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
681 2004-03-27 Angus Leeming <leeming@lyx.org>
684 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
686 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
688 2004-03-27 Angus Leeming <leeming@lyx.org>
690 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
691 insetlist always contains non-null pointers to insets.
693 2004-03-26 Angus Leeming <leeming@lyx.org>
695 * src/BufferView_pimpl.C:
699 * src/output_plaintext.C:
700 * src/outputparams.h:
701 * src/paragraph_funcs.C:
705 * src/frontends/controllers/ControlErrorList.C:
706 * src/frontends/gtk/FileDialogPrivate.C:
707 * src/frontends/gtk/GPainter.C:
708 * src/frontends/gtk/GToolbar.C:
709 * src/frontends/qt2/QRef.C:
710 * src/mathed/math_scriptinset.C: squash compiler warnings.
712 2004-03-26 Angus Leeming <leeming@lyx.org>
714 * ispell.C (LaunchIspell::start):
715 * lyx_cb.C (AutoSaveBuffer::start):
716 invoke run(DontWait) rather than runNonBlocking().
718 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
720 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
722 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * kbsequence.C (print): adjust
726 * kbmap.C (printKeySym): rename and change signature
727 (printKey): use LyXKeySym::print()
729 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
731 * undo.C: add using std::advance to compile for stlport
733 2004-03-24 Angus Leeming <leeming@lyx.org>
735 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
736 it leads to a crash when no buffer is present.
738 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 Martin Vermeer <martin.vermeer@hut.fi>
741 * lyxfunc.C (dispatch):
742 * bufferparams.C (readToken): use the new LColor::setColor
744 * LColor.[Ch] (setColor): new version that takes two strings as
745 argument and creates a new color entry if necessary
747 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
749 * buffer.C (makeLaTeXFile): if the main latex file that is
750 processed is usually a subdocument of some master, then pretend
751 for a while that it is actually the master
753 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
755 * buffer.C (getLabelList):
756 (getBibkeyList): use getMasterBuffer()
757 (getMasterBuffer): new method. Returns the main document in the
758 case where one is using included documents.
760 2004-03-25 André Pönitz <poenitz@gmx.net>
764 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
766 * ParagraphList_fwd.h: change ParagraphList to a std::vector
768 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
769 text*.C over here. Rename namespace CutAndPaste to lyx::cap
771 * ParameterStruct.h: merge with ParagraphParameters
773 * lyxtext.h: remove LyXText::parOffset() and getPar()
775 * text3.C: Remove all 'manual' update calls. We do now one per user
776 interaction which is completely sufficient.
780 * BufferView_pimpl.C:
783 * ParagraphParameters.[Ch]:
795 * output_docbook.[Ch]:
797 * output_linuxdoc.[Ch]:
798 * output_plaintext.[Ch]:
800 * paragraph_funcs.[Ch]:
801 * paragraph_pimpl.[Ch]:
809 * frontends/controllers/ControlDocument.C:
810 * frontends/controllers/ControlErrorList.C:
811 * frontends/controllers/ControlSpellchecker.C:
814 * insets/insetbase.h:
815 * insets/insetbibitem.C:
817 * insets/insetbranch.C:
818 * insets/insetcaption.C:
819 * insets/insetcharstyle.C:
820 * insets/insetcharstyle.h:
821 * insets/insetcollapsable.C:
822 * insets/insetcollapsable.h:
824 * insets/insetfloat.C:
825 * insets/insetfoot.C:
826 * insets/insetmarginal.C:
827 * insets/insetnote.C:
828 * insets/insetoptarg.C:
829 * insets/insettabular.C:
830 * insets/insettext.C:
831 * insets/insettext.h:
832 * insets/insetwrap.C:
833 * mathed/math_mboxinset.C:
834 * mathed/math_nestinset.C:
835 * mathed/math_scriptinset.C:
836 * mathed/math_scriptinset.h:
839 2004-03-24 Angus Leeming <leeming@lyx.org>
841 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
842 deal with any child processes that have finished but are waiting to
843 communicate this fact to the rest of LyX.
845 2004-03-24 Angus Leeming <leeming@lyx.org>
847 64-bit compile fixes.
849 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
850 (c-tor): pass lyx::pos_types rather than ints.
852 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
855 * text.C (Delete): compile fix.
856 (getPar): ensure that function declaration is the same as that in
859 2004-03-23 Angus Leeming <leeming@lyx.org>
861 * ispell.C (LaunchIspell):
862 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
863 a boost::shred_ptr rather than a std::auto_ptr.
865 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
867 * lyxfunc.C (getStatus): handle read-only buffers correctly;
868 handle LFUN_FILE_INSERT_*
870 * lyxrc.C (setDefaults, getDescription, output, read):
871 * lyxrc.h: remove ps_command
873 2004-03-22 Angus Leeming <leeming@lyx.org>
875 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
876 Ensure that error_handler is processed once only and that all data
877 is saved before attempting to output any warning messages.
879 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
881 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
883 * tabular.C (TeXRow): crash fix (from Kayvan and André)
885 2004-03-19 André Pönitz <poenitz@gmx.net>
887 * cursor.[Ch] (reset): take main text inset as argument
890 * BufferView_pimpl.C: adjust
892 * paragraph.[Ch]: fix completely broken operator=()
894 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * LColor.C (getFromLyXName): make sure that the color name is used
899 2004-03-17 Angus Leeming <leeming@lyx.org>
902 * LyXAction.C (init): remove LFUN_FORKS_KILL.
904 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
905 dialog and to kill a forked process.
907 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
909 * text2.C (setCursorFromCoordinates): fix font problem
911 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
913 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
914 bogus "rebuild cursor" code
916 2004-03-11 André Pönitz <poenitz@gmx.net>
918 * buffer.[Ch]: use InsetText instead of LyXText as container for
921 * dociterator.[Ch]: drop the BufferView * member which is not needed
922 anymore after the change to buffer.C
928 * BufferView_pimpl.[Ch]:
930 * cursor_slice.[Ch]: adjust
932 * text3.C: fix bug in mathDispatch
934 2004-03-08 André Pönitz <poenitz@gmx.net>
936 * undo.[Ch]: use 'StableDocumentIterator' as base for
939 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
942 * bufferparams.[Ch]: add jurabib support and param.
944 * LaTeX.C: add FIXME/comment.
946 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
948 * buffer.C: increment file format to 230.
950 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
952 * cursor.C (dispatch): avoid infinite loops
954 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
956 * rowpainter.C (paintSelection): fix x coordinates
958 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
960 * text.C (rowBreakPoint): fix breaking before displayed insets
962 2004-03-01 André Pönitz <poenitz@gmx.net>
964 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
966 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
970 * BufferView_pimpl.C:
978 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
984 * BufferView_pimpl.C: rename textwidth -> maxwidth,
985 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
987 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
989 * Bidi.[Ch] (computeTables): const correctness
990 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
991 fill_hfill, fill_label_hfill and x from Row
992 * lyxtext.h: prepareToPrint returns a RowMetrics
993 * rowPainter.C: adjust
994 * text.C (prepareToPrint): use width, not textWidth. adjust
995 (redoParagraphInternal, cursorX): adjust
996 * text2.C (getColumnNearX): adjust
997 (init): put a default value to the top LyXText::width
999 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1001 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1003 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1005 * lyxtext.h: add FontIterator class
1007 * text.C (FontIterator, operator*, operator->, operator++): add
1008 (rowBreakPoint, setRowWidth): adjust (fixing a
1011 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1013 * BufferView_pimpl.C (workAreaDispatch): allow also
1014 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1016 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1018 * text.C (rowBreakPoint): fix a bug showing with very large insets
1020 2004-02-25 André Pönitz <poenitz@gmx.net>
1023 * cursor.[Ch]: move some mathed specific code to mathed
1025 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1027 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1028 use_tempdir in preferences
1029 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1031 * lyx_main.C: ensure that tempdir is valid
1032 * lyxlex.h: correct typo
1033 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1034 * paragraph.[Ch] (isMultiLingual): make const
1035 * cursor.[Ch] (openable): make const
1037 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1039 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1041 2004-02-20 André Pönitz <poenitz@gmx.net>
1043 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1045 * cursor.[Ch]: prepare for localized getStatus()
1051 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1053 2004-02-20 André Pönitz <poenitz@gmx.net>
1055 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1057 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1059 * text2.C (setCursorFromCoordinates): switch to absolute coords
1061 (cursorDown): adjust
1062 * text3.C (dispatch): adjust
1064 2004-02-16 André Pönitz <poenitz@gmx.net>
1066 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1069 * cursor_slice.[Ch]: remove unneeded acessor function
1071 * lyxtext.h: rename rtl() to isRTL()
1079 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1081 * rowpainter.C (paintSelection): coord fix
1083 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * Spacing.C: compile fix
1087 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1089 * cursor.C (dispatch): restore current_ before returning
1091 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1093 * text2.C (cursorUp, cursorDown): fix coords
1096 2004-02-12 André Pönitz <poenitz@gmx.net>
1101 * text3.C: add LCursor & parameter to most cursor movement functions
1102 remove usage of LyXText::cursorRow() and cursorPar()
1104 * cursor.[Ch]: add textRow() needed members
1107 * BufferView_pimpl.C:
1110 * BufferView_pimpl.C: adjust
1112 2004-02-11 André Pönitz <poenitz@gmx.net>
1116 * BufferView_pimpl.C: shift undo/redo handling
1118 * cursor.[Ch]: fix mathed crash
1121 * lyxtext.h: move selectionAsText to LCursor
1129 * rowpainter.C: fix excessive drawing
1131 2004-02-06 André Pönitz <poenitz@gmx.net>
1134 * BufferView_pimpl.[Ch]:
1135 * text3.C: move some text specific LFUN handling
1137 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1139 * text3.C (checkInsetHit): adjust coords
1140 * text2.C (getColumnNearX): adjust coords
1141 (edit): adjust coords
1142 * text.C (getRowNearY): add two asserts
1144 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1147 * format.C: add using std::distance to compile on gcc 2.95/stlport
1149 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1151 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1153 2004-02-04 André Pönitz <poenitz@gmx.net>
1155 * BufferView.[Ch] (insertInset):
1156 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1161 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1163 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1164 on the default clause of the switch
1165 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1166 wasn't catched by LCursor::dispatch
1168 2004-02-03 André Pönitz <poenitz@gmx.net>
1171 * cursor.[Ch]: some additional asserts
1173 * undo.[Ch]: remove LyXText dependency in interface
1177 * lyxtext.h (firstPar, lastPar): remove dead functions
1182 * paragraph.[Ch]: adjust
1184 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1186 * lyxfind.C (find): fix argument order in call to ::find
1188 2004-02-02 André Pönitz <poenitz@gmx.net>
1190 * cursor.[Ch]: remove direct access to anchor
1192 * text.C: remove findText() hack
1194 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1196 * iterators.[Ch] (lockPath): remove in favour of...
1197 * BufferView.[Ch] (setCursor): this addition
1198 * BufferView.C (putSelectionAt): adjust
1199 * undo.C (performUndoOrRedo): adjust
1200 * lyxfunc.C (dispatch): adjust
1202 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1204 * iterators.C (lockPath): add a missing slice
1205 * undo.C (performUndoOrRedo): remove redundant positioning code
1207 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1209 * vc-backend.C (scanMaster): ";" -> ';'
1211 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1213 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1214 std::binary_function
1216 * lyxtextclass.C (compare_name): rename to...
1217 (LayoutNamesEqual): ...this
1219 * lyxlex_pimpl.C (compare_tags): inherit from
1220 std::binary_function, put back into anon namespace
1222 * lyxfind.C (MatchString): inherig from std::binary_function
1223 (findChange): use empty() istead of !size()
1225 * format.C (FormatNamesEqual): new functor
1232 * converter.C (compare_Converter): rename to...
1233 (ConverterEqual): ...this, and fixup a bit.
1234 (getConverter): use it, and make function const
1235 (getNumber): use it, and make function const
1239 * bufferlist.C: add using boost::bind
1241 * MenuBackend.C (MenuNamesEqual): new functor
1242 (hasMenu): use it, and make function const
1243 (hasSubmenu): use nested bind to get rid of compare_memfun.
1245 2004-01-30 André Pönitz <poenitz@gmx.net>
1247 * BufferView_pimpl.C:
1250 * cursor_slice.[Ch]:
1253 * paragraph_funcs.C:
1254 * paragraph_funcs.h:
1258 * text3.C: move some of the edit(x,y) handling to the insets
1259 some coordinate changes.
1261 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1263 * text.C: add using statements for std::advance and std::distance
1265 * paragraph.C: add using statement for std::distance
1267 * lyxfind.C: add using statement for std::advance
1269 * cursor.C (region): remove std:: from swap
1270 (openable): use nucleus in stead of operator->
1272 * BufferView.C: add using statements for std::distance and std::swap
1274 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1276 * iterators.C: Remove the pimple, move the needed structures to
1277 the header file. Create accessor for the positions stack.
1278 (asPosIterator): remove function
1280 * PosIterator.C (PosIterator): move constructors to top of file
1281 (PosIterator): reimplement the constructor taking a ParIterator in
1283 (setFrom): new function
1284 (operator!=): inline it
1286 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1288 * lyxfind.C (replaceAll): use std::advance
1290 * iterators.h: inherit from std::iterator.
1292 * PosIterator.C (advance, distance): remove
1293 * PosIterator.h: interit from std::iterator.
1295 2004-01-26 André Pönitz <poenitz@gmx.net>
1298 * BufferView_pimpl.[Ch]:
1302 * bufferview_funcs.C:
1312 * output_linuxdoc.C:
1313 * output_plaintext.C:
1315 * paragraph_funcs.[Ch]:
1316 * paragraph_pimpl.[Ch]:
1322 * text3.C: more IU: dumps most of the rest of the mathcursor
1323 implementation into cursor.[Ch]; "globalize" a bit of it.
1325 2004-01-25 Angus Leeming <leeming@lyx.org>
1327 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1329 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1331 * LaTeXFeatures.h: add nice_ and nice() const
1332 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1334 2004-01-20 André Pönitz <poenitz@gmx.net>
1337 * BufferView_pimpl.C:
1339 * bufferview_funcs.C:
1341 * cursor_slice.[Ch]:
1352 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1353 LCursor and mathcursor parts to LCursor and InsetBase.
1355 2004-01-15 André Pönitz <poenitz@gmx.net>
1357 * cursor_slice.[Ch]: add a few covienience functions
1359 * funcrequest.[Ch]: remove BufferView * member
1361 * BufferView_pimpl.C:
1368 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1370 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1372 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1373 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1375 2004-01-13 André Pönitz <poenitz@gmx.net>
1378 * lyxtext.h: hide cursor and selection anchor behind accessor function
1381 * BufferView_pimpl.[Ch]:
1383 * bufferview_funcs.C:
1393 * cursor_slice.[Ch]: some integer type changes for inset unification
1395 * lyxcursor.[hC]: remove, it's CursorSlice now.
1398 * BufferView_pimpl.[Ch]:
1399 * bufferview_funcs.C:
1405 * textcursor.[Ch]: adjust
1407 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1409 * text2.C (undoSpan): add and use
1410 * text.C (breakParagraph): use undoSpan (fix bug 578)
1413 2004-01-08 Angus Leeming <leeming@lyx.org>
1415 * BufferView_pimpl.C (MenuInsertLyXFile):
1416 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1417 * lyxfunc.C (menuNew, open, doImport):
1418 FileFilterList change to the FileDialog open and save functions.
1420 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1422 * ShareContainer.h: make isEqual and isUnique adaptable
1424 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1426 2004-01-07 Angus Leeming <leeming@lyx.org>
1429 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1431 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1433 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1434 functions replacing find, replace and replaceAll.
1436 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1437 LFUN_WORDFIND(FORWARD|BACKWARD).
1439 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1441 * text.C (breakParagraph): remove an outdated #warning
1443 2004-01-07 André Pönitz <poenitz@gmx.net>
1445 * lyxfind.C: somewhat clearer logic
1447 * text.C: prevent crash in cursorX on unitialized row cache
1449 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1451 * lyxcursor.[Ch] (operator>): add
1452 * textcursor.C (selStart, selEnd): use std::min and std::max
1454 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1456 * Chktex.C: include boost/format.hpp
1458 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1460 * InsetList.C: replace functor MathcIt with adaptable functor
1462 (insetIterator): modify accordingly
1464 * BranchList.h: move the BranchNamesEqual functor here from...
1465 * BranchList.C: ... to here
1467 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1469 (add): replace a finding loop with std::find_if.
1471 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1473 * output_docbook.C: moving LatexParam functionality into
1476 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1478 * buffer.C: increment format to 229.
1480 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1483 * lyx_sty.[Ch]: remove minipageindent_def
1489 * text3.C: remove LFUN_INSET_MINIPAGE
1491 2003-12-28 Angus Leeming <leeming@lyx.org>
1493 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1495 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1497 * text2.C (setParagraph): fix off-by-one crash
1499 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1501 * output_docbook.C: header stuff for AGU
1503 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1505 * text2.C (redoCursor): remove
1508 * BufferView_pimpl.C: remove calls to redoCursor and
1509 setCursor(cursor.par(), cursor.pos()) all around
1511 2003-12-15 Angus Leeming <leeming@lyx.org>
1513 * buffer.C: up the format to 228.
1515 2003-12-15 André Pönitz <poenitz@gmx.net>
1517 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1522 * BufferView_pimpl.C:
1531 2003-12-15 Angus Leeming <leeming@lyx.org>
1533 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1534 than getFromGUIName to manipulate the color.
1536 2003-12-14 Angus Leeming <leeming@lyx.org>
1538 * BranchList.[Ch]: minimize the API.
1539 (Branch::getBranch, getColor): now return a 'const &'.
1540 (Branch::setSelected) now returns a bool set to true if the
1541 selection status changes.
1542 (BranchList::clear, size, getColor, setColor, setSelected,
1543 allBranches, allSelected, separator): removed.
1544 (BranchList::find): new functions, returning the Branch with
1546 (BranchList::add, remove): return a bool indicating that
1547 the operation was successful.
1549 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1550 new InsetBranch::isBranchSlected member function.
1552 * LColor.[Ch]: mimimize the API.
1553 (fill): renamed as addColor and made private.
1554 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1555 versions of these functions taking a string arg have been removed.
1557 * bufferparams.C (readToken):
1558 * lyxfunc.C (dispatch):
1559 * lyxrc.C (read): changes due to the altered BranchList and
1562 * factory.C (createInset, readInset): changes due to altered
1565 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1568 * lyxfunc.C: remove insetminipage. "minipage-insert"
1569 now produces a frameless minipage box inset.
1571 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1573 * textcursor.[Ch] (selStart,selEnd): add new methods
1574 remove selection::start, end, use LyXCursor::operator<
1575 * lyxcursor.[Ch] (operator<): add
1576 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1577 * BufferView.[Ch] (unsetXSel): add
1578 * text2.C (clearSelection): use unsetXSel,adjust
1581 * rowpainter.C: adjust
1582 * bufferview_funcs.C (put_selection_at): adjust
1584 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1586 * BufferView_pimpl.C: small coord. correction
1588 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1590 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1591 dragging over the splash screen.
1593 2003-12-11 Angus Leeming <leeming@lyx.org>
1595 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1596 as it is now handled in LyXText::dispatch.
1598 * text3.C (doInsertInset): remove a level of nesting.
1600 2003-12-11 Angus Leeming <leeming@lyx.org>
1602 * factory.C (createInset): changes due to the changed interface to
1603 InsetCommandMailer::string2params.
1605 2003-12-10 Angus Leeming <leeming@lyx.org>
1607 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1608 'dialog-show-new-inset <inset name>'
1610 2003-12-10 Angus Leeming <leeming@lyx.org>
1612 * buffer.C: up the format to 227.
1614 * factory.C: the box inset is now identified simply by 'Box'.
1616 2003-12-10 Angus Leeming <leeming@lyx.org>
1618 * buffer.C: up the format to 226.
1620 * factory.C: the note inset is now identified simply by 'Note'.
1622 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1624 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1625 when a pit is enough. Standarize a couple of loops.
1627 2003-12-05 Angus Leeming <leeming@lyx.org>
1629 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1630 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1631 data to the re-worked "log" dialog.
1633 2003-12-03 André Pönitz <poenitz@gmx.net>
1639 * paragraph_funcs.C:
1641 * text2.C: use Inset::getText instead of Inset::getParagraph
1643 2003-12-03 André Pönitz <poenitz@gmx.net>
1647 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1648 InsetText::read() as LyXText::read()
1650 2003-12-02 Angus Leeming <leeming@lyx.org>
1652 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1653 type. Add a comment in the implementation that the function uses
1654 the stream's bad() function rather than fail() as the std::streams
1657 2003-12-02 André Pönitz <poenitz@gmx.net>
1659 * lyxlex.[Ch]: make interface more similar to std::stream
1661 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1663 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1665 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1667 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1669 * vspace.[Ch]: remove VSpace::NONE
1671 2003-12-01 André Pönitz <poenitz@gmx.net>
1674 * lyxtext.h: move ParagraphList member to LyXText
1675 rename LyXText::ownerParagraphs to LyXText::paragraph
1678 * bufferview_funcs.C:
1688 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1690 * undo.C: fix cursor positioning
1692 2003-12-01 John Levon <levon@movementarian.org>
1694 * BufferView_pimpl.C: fix a crash on exit with
1697 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1699 * BranchList.C: fix setSelected() method.
1701 2003-11-28 André Pönitz <poenitz@gmx.net>
1703 * ParagraphParameters.[Ch]:
1704 * ParameterStruct.h: remove space above/below from Paragraph to
1707 * BufferView_pimpl.C:
1713 * paragraph_funcs.C:
1719 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1721 * factory.C: Syntax change for CharStyles
1723 2003-11-28 André Pönitz <poenitz@gmx.net>
1728 * buffer.[Ch]: move LyXText member
1730 2003-11-28 André Pönitz <poenitz@gmx.net>
1732 * BufferView.[Ch]: make LyXText * text a private member
1734 * BufferView_pimpl.C:
1745 * output_plaintext.C: cleanup
1747 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1750 * lyxtextclass.[Ch]: parametrize SGML document header
1752 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1755 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1758 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1760 * text2.C (setFont): rework using PosIterator (no more recursive)
1761 (setCharFont): no more needed
1762 (setLayout): no more selection cursors fiddling (done by redoCursor)
1763 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1764 destroy remaining ones)
1766 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1768 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1770 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1773 * text3.C: adjust + re-allow multi par depth changes
1774 * textcursor.C: simplify a bit
1776 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1782 * src/output_docbook.C:
1783 * src/output_latex.C:
1788 * src/text2.C: Introducing a number of tags parametrizing various
1789 XML formats that we may want to support
1791 2003-11-25 André Pönitz <poenitz@gmx.net>
1793 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1795 * lyxtext.h (leftMargin/rightMargin): simplify interface
1802 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1804 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1805 master file to any child files. Fixes bug 546.
1807 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1809 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1811 2003-11-24 André Pönitz <poenitz@gmx.net>
1813 * rowpainter.C: simplification
1815 * text2.C (updateCounters): remove call to redoParagraph on
1816 changed labels as this is far too expensive.
1818 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1820 * converter.C (convert): fix a crash: this function gets
1821 called with buffer == 0 from importer code.
1823 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1825 * text3.C (cursorPrevious): make sure that we do not compare
1826 iterators form different containers.
1829 * rowpainter.C (paintSelection): make sure that we do not compare
1830 iterators from different containers.
1832 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1833 iterators from different ParagraphList containers.
1836 * text2.C (LyXText): change order of initialization slightly
1837 (operator=): new function. copy all variables except cache_par_
1838 (moveUp): make sure that we do not compare iterators from
1839 different ParagraphList constainers.
1842 * text.C (firstPar): new function
1843 (lastPar): new function
1844 (endPar): new function
1846 * lyxtext.h: move things around and group public functions, public
1847 variables, private functions, private variables
1849 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1851 * factory.C: change call to InsetERT constructor to avoid
1852 additional invocation of method status
1853 * text2.C (toggleInset): remove redundant update() call
1854 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1855 instead of a Bufferview pointer
1857 2003-11-21 André Pönitz <poenitz@gmx.net>
1859 * rowpainter.C: simplification
1861 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1863 * text3.C (dispatch): make possible to extend a word/row selection
1866 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1868 * lyxtext.h: x0_,y0_ -> xo_,yo_
1869 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1870 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1871 * rowpainter.C (paintRows): paint full paragraphs
1873 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1875 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1878 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1880 * lyxtext.h: add x0_, y0_
1881 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1882 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1884 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1886 * text2.C (setCursorIntern): move the x_target update here *
1887 * text3.C: change some bv() to true/false in calls to
1888 cursorUp/Down/Right/Left
1889 * cursor.C: use helper function.
1891 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1893 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1894 * paragraph_funcs.[Ch]: correct comment
1895 * rowpainter.C: do not paint selections away from bv->cursor()
1896 Fix a long standing selection painting bug.
1897 * text3.C: generalize mouse-selection code to LyXTexts other that
1899 * textcursor.C: do not use y coords if we can use par offsets
1901 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1903 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1904 cursor position after e.g. inset insert)
1906 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1908 * lyxfind.C (replace): adjust to locking removal + some
1911 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1913 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1916 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1919 * output_docbook.C: XML sanitation: new layout
1920 parameters InnerTag and CommandDepth
1922 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1924 * BufferView_pimpl.C:
1926 * text3.C: Fix the insertion and modification of button-style
1929 2003-11-13 André Pönitz <poenitz@gmx.net>
1931 * InsetList.[Ch]: remove deleteLyXText
1933 * paragraph.[Ch]: cache beginOfBody position
1938 * text3.C: remove superfluous update() calls
1942 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1944 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1945 * BufferView.C (fitLockedInsetCursor): remove
1946 * cursor.[Ch] (getDim): add
1947 * text.C (getRowNearY): add faster version
1948 * text3.C: remove some update calls
1950 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1962 * text3.C: The Character Style /XML short element patch.
1964 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1967 * factory.C: Small step to solving 'unable to insert some insets'
1970 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1972 * cursor.[Ch] (updatePos): new function for updating the y
1973 position of the tip inset
1974 * bufferview_funcs.C (put_selection_at):
1975 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1977 2003-11-11 André Pönitz <poenitz@gmx.net>
1979 * text.C: remove big comment on invalid Paragraph pointers as it is
1982 2003-11-11 André Pönitz <poenitz@gmx.net>
1984 * text_funcs.[Ch]: merge with ...
1992 * Makefile.am: remove text_funcs.[Ch]
1994 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1996 * cursor.C (getPos): return absolute cached y coord
1998 * BufferView_pimpl.C (fitCursor): new simplistic code
1999 (workAreaDispatch): add a fitCursor call
2001 2003-11-10 André Pönitz <poenitz@gmx.net>
2004 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2006 2003-11-10 André Pönitz <poenitz@gmx.net>
2008 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2009 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2010 indicate that the cursor needs to leave an inset
2012 * lyxtext.h: remove inset locking
2014 * cursor.[Ch]: re-implement functionality provided by inset locking
2017 * BufferView_pimpl.[Ch]:
2019 * bufferview_funcs.[Ch]:
2031 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2033 * PosIterator.[Ch]: replace the stack with a vector, add inset
2035 * iterators.[C]: adjust
2037 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2039 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2041 * paragraph_funcs.C (readParToken): put the correct id in the
2042 error item, not the id of the top paragraph
2044 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2046 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2047 * bufferview_funcs.C (put_selection_at): use the above
2049 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2051 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2053 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2055 * output_linuxdoc.h:
2056 * output_plaintext.h:
2058 * output_docbook.h: add #include statements
2060 2003-11-05 José Matos <jamatos@lyx.org>
2062 * output_docbook.[Ch]:
2063 * output_latex.[Ch]:
2064 * output_linuxdoc.[Ch]:
2065 * output_plaintext.[Ch]: New files for output formats.
2066 * output.[Ch]: New file for helper functions.
2069 * paragraph_funcs.[Ch]: output functions moved to new files.
2071 * outputparams.h: rename of latexrunparams.h
2079 * paragraph_funcs.[Ch]:
2080 * paragraph_pimpl.[Ch]:
2081 * tabular.[Ch]: rename ascii to plaintext
2082 and LatexRunParams to OutputParams.
2084 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2086 * iterators.[Ch] (text): require bv argument
2087 * undo.C (recordUndo):
2088 * lyxfunc.C (dispatch):
2089 * bufferview_funcs.C (put_selection_at): adjust
2091 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2093 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2095 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2097 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2100 2003-11-04 André Pönitz <poenitz@gmx.net>
2102 * cursor.[Ch]: restructure
2105 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2107 * iterators.[Ch] (asCursor): remove
2109 * lfuns.h: remove LFUN_INSET_EDIT
2115 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2117 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2119 * lyxfind.[Ch]: complete overhaul
2120 * BufferView_pimpl.C:
2122 * paragraph.[Ch] (insert): add
2124 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2128 * text.C: remove dead spellcheck code
2130 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * dispatchresult.h: add a val setter
2134 * cursor.C (dispatch): use a tempvar for data_[i]
2136 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2138 * PosIterator.[Ch]: compile fix
2140 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2142 * text.C (cursorPar): deactivate the cursor cache
2144 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2146 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2148 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * text3.C (dispatch): adjust for new DisptchResult semantics.
2152 * lyxfunc.C (dispatch): handle update when return from
2153 Cursor::dispatch, adjust for new DispatchResult semantics.
2155 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2156 DispatchResult(true) mean to not update. Add class functions for
2157 setting dispatched and update, as well as reading.
2159 * cursor.C (dispatch): don't handle update here
2161 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2163 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2164 * trans_mgr.C: adjust
2166 * paragraph_funcs.C (readParToken): exception safety
2168 * lyxvc.h: store the vcs pointer in a scoped_ptr
2171 * lyxsocket.C (serverCallback): exception safety
2173 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2175 * ispell.C (clone): make it return a auto_ptr
2177 * factory.C (createInset): exception safety
2178 (readInset): exception safety
2180 * bufferlist.C (newBuffer): exception safety
2182 * Thesaurus.C (Thesaurus): use initialization for aik_
2184 * MenuBackend.C (expandToc): exception safety.
2186 2003-11-03 André Pönitz <poenitz@gmx.net>
2190 * bufferview_funcs.C: remove getInsetFromId()
2193 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2199 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2201 * PosIterator.C (distance, advance): new
2202 * bufferview_funcs.[Ch] (put_selection_at): new
2203 * iterators.[Ch] (lockPath): new
2205 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2207 * iterators.[Ch] (asPosIterator): added
2208 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2209 * PosIterator.[Ch]: added
2211 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2215 * cursor.C (dispatch):
2216 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2218 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2219 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2220 contructor, add a class function dispatched. Remove operator>=
2222 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * debug.C: only use the default constructor for debugstream
2227 * main.C (main): include debug.h and setup the lyxerr streambuf
2230 2003-10-31 José Matos <jamatos@lyx.org>
2232 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2234 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2235 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2236 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2237 * paragraph_pimpl.C (simpleTeXSpecialC):
2238 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2239 add LatexRunParams argument.
2241 * exporter.C (Export): change call accordingly.
2243 * latexrunparams.h: add new member to take care of the other backends.
2244 2003-10-30 José Matos <jamatos@lyx.org>
2246 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2247 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2248 factorise code for paragraph output.
2250 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2253 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * text3.C (dispatch):
2256 * lyxfunc.C (dispatch):
2257 * cursor.C (dispatch):
2258 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2260 * dispatchresult.h: make the dispatch_result_t ctor explicit
2262 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2265 * buffer.C: small refactoring of docbook stuff
2267 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2272 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2275 operator dispatch_result_t, and operators for == != and >=
2277 * cursor.C (dispatch): adjust for operator dispatch_result_t
2278 removal. comment out call to update
2280 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2282 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2290 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2293 * dispatchresult.h: new file, DispatchResult broken out of
2296 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2298 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2300 * text.C (rowBreakPoint): put a hack inside #if 0
2302 2003-10-28 André Pönitz <poenitz@gmx.net>
2306 * paragraph_funcs.C:
2309 * text2.C: general cleanup (lots of small stuff)
2311 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2313 * text2.C (cursorEnd): simple fix to the "end key goes to one
2314 before the end on last row" bug
2316 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2318 * text.C (backspace): fix the "zombie characters"
2320 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2322 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2324 2003-10-27 André Pönitz <poenitz@gmx.net>
2326 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2328 * factory.C: handle new InsetPagebreak, InsetLine
2330 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2331 and move handling into new InsetPagebreak, InsetLine
2333 * BufferView_pimpl.C:
2335 * ParagraphParameters.C:
2336 * ParameterStruct.h:
2341 * paragraph_funcs.C:
2342 * paragraph_pimpl.C:
2348 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2351 * lyxrow_funcs.[Ch]:
2357 * text3.C: remove lastPos uses in favour of Row::endpos
2359 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2361 * undo.C (performUndoOrRedo): fix two crashes by setting a
2362 cursor by hand and reordering some calls. Use bv->lockInset instead
2363 of inset->edit because the latter loses cursor information
2365 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2367 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2369 (rowBreakPoint): fix width. change point to point + 1.
2370 Add a missing check.
2372 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2375 * lyxfunc.C: fix (at least partly) the problems
2376 with the Nav menu and headers inside branch insets
2379 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2381 * paragraph.C (getChar): add strong asserts
2383 * lyxrow_funcs.C (lastPos): remove hideous hack
2385 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2386 (fill): adjust to that (avoid an infinite loop)
2388 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2390 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2392 2003-10-23 André Pönitz <poenitz@gmx.net>
2394 * RowList_fwd.h: change list<> to vector<> to gain speed
2395 after suggestion from Alfredo
2397 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2399 * lyxtext.h: move the bidi stuff from here...
2402 * Bidi.[Ch]: ... to here
2404 2003-10-23 André Pönitz <poenitz@gmx.net>
2407 * text.C (isLastRow, isFirstRow): new functions
2409 * paragraph.h: new width cache member
2411 * rowpainter.C: replace RowList::iterator with Row & where possible
2413 * lyxfunc.C: replace several view()->text with a single call
2415 * toc.C: fix 'unused' warning
2417 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2420 when woring with stream::pos_type
2421 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2423 2003-10-22 André Pönitz <poenitz@gmx.net>
2426 * text.C: use Row & instead of RowList::iterator
2428 * lyxrow.h: rename end() to endpos()
2434 2003-10-22 Angus Leeming <leeming@lyx.org>
2436 * buffer.[Ch] (fully_loaded): new member function, returning true
2437 only when the file has been loaded fully.
2438 Used to prevent the premature generation of previews and by the
2439 citation inset to prevent computation of the natbib-style label.
2441 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2442 templates are all set up.
2444 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2446 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2448 * text.C: fixed an "oops" in the "is a bit silly"
2451 2003-10-21 André Pönitz <poenitz@gmx.net>
2453 * FuncStatus.[Ch]: small stuff, whitespace
2455 * lyxfont.[Ch]: operator<<() for debug reasons
2459 * lyxtext.h: whitespace, spelling
2461 * paragraph.C: naming of variables
2464 * text2.C: small stuff
2467 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2469 * text.C: (1) finish off the inset display() work;
2470 (2) fix the "is a bit silly" bug (accessing char
2473 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2475 * text.C: re-introduce display() for insets, fixing the
2476 various bugs (stretch of line above, math inset
2479 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * text.C (rightMargin): remove spurious semicolon
2483 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2486 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2488 * text3.C: fix one crash due to wrong cursor def
2490 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * vc-backend.C (scanMaster): make the regex static
2494 * LaTeX.C (scanAuxFile): make the regexs static
2496 * text3.C (doInsertInset, dispatch, dispatch):
2497 * text2.C (cursorUp, cursorDown):
2498 * text.C (selectNextWordToSpellcheck):
2499 * BufferView_pimpl.C (dispatch):
2500 * lyxfunc.C (dispatch): localDispatch -> dispatch
2502 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * lyxsocket.C: include <cerrno>
2506 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * lyxfunc.C (dispatch): remove textcache stuff
2510 * bufferlist.C (release): remove textcache stuff
2513 * TextCache.C: delete file
2514 * TextCache.h: delete file
2516 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2518 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2519 delete of the bv_->text.
2520 (resizeCurrentBuffer): remove texcache stuff
2521 (workAreaResize): ditto
2523 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2525 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2528 2003-10-16 André Pönitz <poenitz@gmx.net>
2535 * text3.C: speed up by storing y positions per paragraph plus per-row
2536 offset instead of having a 'full' y position in the row.
2538 2003-10-15 André Pönitz <poenitz@gmx.net>
2542 * undo.[Ch]: make undo aware of inner insets
2544 2003-10-14 Angus Leeming <leeming@lyx.org>
2546 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2547 static member functions LyX::ref() and LyX::cref.
2548 (lastfiles): new accessor functions for the new lastfiles_ member var.
2549 (addLyXView, views_): add a new LyXView to the list of views_.
2550 (updateInset): loop over all LyXViews to call their own updateInset
2551 member function, returning a pointer to the Buffer owning the inset.
2553 * BufferView_pimpl.C (loadLyXFile):
2554 * MenuBackend.C (expandLastfiles):
2555 * bufferlist.C (MenuWrite, QuitLyX):
2556 lastfiles is no longer a global variable.
2557 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2559 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2560 static function. Access through LyX::cref().emergencyCleanup().
2562 2003-10-14 André Pönitz <poenitz@gmx.net>
2564 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2566 * undo.[Ch]: restoring part of 'undo in insets'
2569 * undo_funcs.[Ch]: merge with undo.[Ch]
2571 * tabular.C: small cleansing stuff
2573 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2575 * paragraph_funcs.C (readParToken): report unknown insets as error
2576 boxes. Use the outer paragraph as location (also for unknown
2579 * factory.C (readInset): do not abort on reading an unknown inset.
2580 Eat it and return 0.
2582 2003-10-13 Angus Leeming <leeming@lyx.org>
2584 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2586 * lyxrc.C: displayTranslator is now a function,
2587 declared in GraphicsTypes.h.
2589 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2591 * format.C: new placeholder $$a to pass the socket address.
2593 * bufferlist.[Ch]: new function getBufferFromTmp.
2595 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2596 files in the temporary dir.
2598 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2600 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2602 * Makefile.am: add lyxsocket.[Ch].
2604 * lyx_main.C (error_handler): handle SIGPIPE.
2606 2003-10-13 André Pönitz <poenitz@gmx.net>
2608 * BufferView_pimpl.C:
2613 * undo_funcs.[Ch]: use paroffset_type instead of
2614 ParagraphList::iterators to prevent multiple conversion
2615 (and get a more robust interface)
2617 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2621 * text3.C (dispatch): ditto
2623 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2625 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2626 move the onlyfile, use onlyfile instead of foundfile in a couple
2629 * DepTable.C (update): flush the error stream a bit more
2631 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * lyxserver.C (callback): adjust
2635 * lyxfunc.C (getStatus): add a missing brace in commented code
2636 (ensureBufferClean): reindent
2637 (dispatch): delete version taking a string
2639 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * LaTeX.C (deplog): move found file handlig from here...
2642 (handleFoundFile): .. to new function here.
2643 (deplog): make sure to discover several files mentioned on the
2646 2003-10-10 André Pönitz <poenitz@gmx.net>
2653 * text3.C: fix some of the tabular crashes
2655 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2657 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2659 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2661 2003-10-09 André Pönitz <poenitz@gmx.net>
2663 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2666 * BufferView_pimpl.C:
2667 * bufferview_funcs.C:
2678 * undo_funcs.C: adjust
2680 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * text2.C (incrementItemDepth): new function, use a backtracking
2683 algorithm to discover the correct item depth.
2684 (resetEnumCounterIfNeeded): new function, use a backtracking
2685 algorithm to discover if counter reset is needed.
2686 (setCounter): use them. Simplify a bit. Add different labels for
2687 different item depths for itemize.
2689 * paragraph.C (Paragraph): remove initialization of enumdepth
2692 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2693 enumerate and itemize. Change the type of itemdepth to signed char.
2695 2003-10-08 André Pönitz <poenitz@gmx.net>
2697 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2702 * tabular.[Ch]: fix crash after 'row-insert'
2704 2003-10-08 Angus Leeming <leeming@lyx.org>
2706 Fix doxygen warnings.
2708 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2709 Remove CutAndPaste:: prefix from header file declaration.
2711 * LColor.h (fill): remove LColor:: prefix from declaration.
2713 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2714 use lyx::depth_type rather than Paragraph::depth_type so that
2715 header file and .C file match.
2717 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2719 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2720 * aspell.C: \file aspell_local.C -> \file aspell.C
2721 * gettext.C: \file gettext.C -> \file src/gettext.C
2722 * gettext.h: \file gettext.h -> \file src/gettext.h
2723 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2724 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2725 * text.C: \file text.C -> \file src/text.C
2727 * toc.C: move comment so that doxygen is not confused.
2729 2003-10-07 Angus Leeming <leeming@lyx.org>
2731 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2733 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2736 * aspell_local.h: add forgotten std::string's.
2738 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2745 * text3.C: The Box patch. Fancybox support, minipage, parbox
2747 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2753 * ParagraphParameters.h:
2763 * lyxtextclasslist.h:
2766 * paragraph_pimpl.C:
2767 * textcursor.h: add <string> and other small fixes to make Lars'
2768 std::string patch compile with STLport.
2770 2003-10-06 Angus Leeming <leeming@lyx.org>
2772 * LColor.h: Add missing #include <string>.
2774 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * All most all file in all subdirs: Make <string> be the prefered
2777 way of getting to std::string, add using declarations.
2779 2003-10-06 André Pönitz <poenitz@gmx.net>
2781 * metricsinfo.C: initialize LyXFont before changing attribute.
2782 (fixes the 'math in \emph is upright' bug)
2784 2003-10-06 André Pönitz <poenitz@gmx.net>
2786 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2788 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2791 * paragraph_pimpl.C: Small fixes to build using STLport
2793 2003-10-02 André Pönitz <poenitz@gmx.net>
2796 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2798 2003-10-01 André Pönitz <poenitz@gmx.net>
2800 * factory.C: assert early
2802 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * lyx_main.C: remove the global debug object
2806 * debug.h: adjust for new debugstream
2808 * debug.C: adjust for new debugstream and keep the global debug
2811 2003-09-22 Angus Leeming <leeming@lyx.org>
2813 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2814 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2815 an incomplete class LyXFont.
2817 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2819 * factory.C: bug fix in branches
2821 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * lyxfunc.C (processKeySym): adjust
2825 (dispatch): change arg name from ev to func, adjust
2826 (sendDispatchMessage): ditto
2828 * lyx_main.C (defaultKeyBindings): adjust keybindings
2829 (deadKeyBindings): ditto
2831 * kbsequence.C (addkey): return a FuncRequest
2833 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2835 * kbmap.C (bind): take a FuncRequest as arg, adjust
2838 (defkey): change to take a FuncRequest as arg, adjust
2839 (findbinding): take a FuncRequest as arg, adjust.
2841 * funcrequest.h (operator=): added
2843 * funcrequest.C (FuncRequest): default kb_action changed from
2844 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2846 * buffer.C (dispatch): simplify
2847 (dispatch): adjust to take a FuncRequest as arg, adjust
2849 * boost.C (assertion_failed): change assertion message slightly
2851 * ToolbarBackend.C (read): simplify
2853 * MenuBackend.C (binding): adjust call to findbinding, add a
2854 message if no binding is found.
2856 (expandToc): correct by adding a empty FuncRequest
2858 * LyXAction.C: include <boost/assert.hpp>
2859 (isPseudoAction): delete function
2860 (LookupFunc): change name to...
2861 (lookupFunc): this. change return type to FuncRequest.
2862 (getActionName): take kb_action as arg, simplify
2863 (funcHasFlag): add an assert, simplify.
2865 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * toc.C (action): return a FuncRequest, simplify
2869 * lyxfunc.C (processKeySym): adjust
2870 (getStatus): delete version that takes an int.
2872 (dispatch): delete version that takes action as int
2874 (sendDispatchMessage): simplify and adjust
2876 * funcrequest.C (getArg): take unsigned int as arg
2878 * ToolbarBackend.C (read): adjust
2879 (add): delete version that takes func as a string.
2880 (getIton): take a FuncRequest as arg
2882 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2885 * MenuBackend.C (MenuItem): add a new construct that only takes a
2886 Kind, simplify the constructor use for submenus.
2888 (expandLastfiles): adjust
2889 (expandDocuments): adjust
2890 (expandFormats): adjust
2891 (expandFloatListInsert): adjust
2892 (expandFloatInsert): adjust
2893 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2895 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2896 Remove class variables lyx_pseudo_map and lyx_arg_map
2898 * LyXAction.C (searchActionArg): delete function
2899 (getPseudoAction): delete function
2900 (retrieveActionArg): delete function
2901 (LookupFunc): make it return kb_action, simplify.
2902 (getActionName): simplify
2904 * factory.C (createInset): fix new bug
2906 2003-09-19 Angus Leeming <leeming@lyx.org>
2908 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2909 masterFilename_ parameter in the include inset.
2911 * factory.C (createInset): changes due to the changes to InsetInclude.
2913 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2915 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2917 2003-09-18 Angus Leeming <leeming@lyx.org>
2920 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2921 Inset::fillWithBibKeys.
2922 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2924 2003-09-18 Angus Leeming <leeming@lyx.org>
2926 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2928 (ctor): pass and store a 'Buffer const &'
2929 (buffer): new member function.
2931 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2932 '*this' to the LaTeXFeatures ctor.
2934 2003-09-18 Angus Leeming <leeming@lyx.org>
2940 * text.C: rename EnumLColor as LColor_color.
2942 2003-09-18 Angus Leeming <leeming@lyx.org>
2944 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2945 remove #include "insets/insetbase.h" from cursor.h.
2947 2003-09-18 Angus Leeming <leeming@lyx.org>
2949 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2950 InsetOld_code to remove #include "inset.h".
2952 * iterators.C: add #include "insets/inset.h"
2954 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2956 * BufferView.C: remove more locking stuff that apparently doesn't
2957 do anything sensible.
2959 2003-09-16 André Pönitz <poenitz@gmx.net>
2962 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2965 2003-09-16 Angus Leeming <leeming@lyx.org>
2967 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2969 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2972 * paragraph.h: remove #include "lyxfont.h". Forward declare
2975 2003-09-16 Angus Leeming <leeming@lyx.org>
2977 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2978 of support/textutils.h.
2979 (isWord): move the contents of support/textutils.h's IsWordChar here.
2985 * text2.C: add #include "paragraph.h".
2988 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2990 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * LaTeX.C: use namespace alias for lyx::support::os
2998 2003-09-16 Angus Leeming <leeming@lyx.org>
3001 * bufferview_funcs.C:
3004 * paragraph_pimpl.C:
3006 * text.C: add #include "LColor.h".
3008 2003-09-16 Angus Leeming <leeming@lyx.org>
3010 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3011 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3013 Store the FontBits::color variable as an int rather than as an
3014 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3017 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3018 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3019 string calls together.
3021 * lyxrc.C: add #include "LColor.h".
3023 2003-09-15 Angus Leeming <leeming@lyx.org>
3025 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3028 2003-09-15 Angus Leeming <leeming@lyx.org>
3030 * LColor.h: add an EnumLColor wrapper for LColor::color.
3032 * lyxfont.[Ch] (color, setColor, realColor):
3033 * lyxtext.h, text.C (backgroundColor):
3034 pass EnumLColor args to/from the functions, rather than LColor::color
3038 * lyxtext.h: forward declare EnumLColor.
3040 * lyx_main.C: add #include "LColor.h".
3042 2003-09-15 Angus Leeming <leeming@lyx.org>
3044 * .cvsignore: add lyx-gtk.
3046 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * ParagraphParameters.C
3055 * bufferview_funcs.C
3065 * vc-backend.C: remove usage of STRCONV
3067 2003-09-15 Angus Leeming <leeming@lyx.org>
3069 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3070 explicitly define the color passed to the painter.
3072 2003-09-15 Angus Leeming <leeming@lyx.org>
3074 * bufferparams.C (BufferParams): reorder member initializers to avoid
3077 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3079 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3080 * text.C (updateRowPositions): remove an unusual nop
3082 2003-09-12 André Pönitz <poenitz@gmx.net>
3084 * BufferView_pimpl.C:
3093 * Counters.[Ch]: finish the 'automatic counters' job
3095 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3097 * aspell.C: include <boost/assert.cpp> (compile fix)
3099 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3101 * boost.C (assertion_failed): use lyx::support::abort instead of
3104 2003-09-10 Angus Leeming <leeming@lyx.org>
3106 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3107 with their _fwd progeny.
3109 2003-09-09 Angus Leeming <leeming@lyx.org>
3111 134 files throughtout the source tree: replace 'using namespace abc;'
3112 directives with the appropriate 'using abc::xyz;' declarations.
3114 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3116 * boost.C (emergencyCleanup): moved here from LAssert.c
3117 (assertion_failed): new function, called by BOOST_ASSERT
3119 * several files: change Assert to BOOST_ASSERT
3121 2003-09-09 Angus Leeming <leeming@lyx.org>
3123 * buffer.[Ch]: Add an Impl class and move Buffer's member
3124 variables into it. As a result move several header files out of
3127 Add header files to lots of .C files all over the tree as a result.
3129 2003-09-09 Angus Leeming <leeming@lyx.org>
3131 * buffer.[Ch]: make Buffer's member variables private. Add
3134 Lots of changes all over the tree as a result.
3136 2003-09-08 Angus Leeming <leeming@lyx.org>
3138 * graph.C: #include <config.h>.
3140 2003-09-08 Angus Leeming <leeming@lyx.org>
3144 * BufferView_pimpl.C:
3173 * toc.C: remove redundant using directives.
3175 2003-09-07 Angus Leeming <leeming@lyx.org>
3177 * LaTeXFeatures.h: remove #include "support/types.h".
3178 * ToolbarBackend.h: remove #include <algorithm>.
3179 * changes.h: remove #include <ctime>.
3180 * debug.h: remove #include <iosfwd>.
3181 * graph.h: remove #include "support/std_string.h".
3182 * lyx_main.h: remove #include <csignal>.
3183 * lyxlex_pimpl.h: remove #include <fstream>.
3184 * sgml.h: remove #include <algorithm>, <utility>.
3185 * toc.h: remove #include "support/std_ostream.h".
3186 Add #include <iosfwd>.
3188 2003-09-07 Angus Leeming <leeming@lyx.org>
3190 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3192 * converter.h: forward declare LatexRunParams.
3193 * encoding.h: remove #include "lyxrc.h".
3194 * lyxtext.h: remove #include "LColor.h".
3195 * lyxtextclass.h: remove #include "support/types.h".
3196 * trans.h: remove #include "tex-accent.h".
3197 * trans_mgr.h: remove #include "tex-accent.h".
3198 * insets/inset.h: remove #include "support/types.h", <vector>.
3199 * insets/insetcollapsable.h: remove #include "LColor.h".
3200 * insets/insetinclude.h: remove #include "dimension.h".
3201 * insets/insetlatexaccent.h: remove #include "dimension.h".
3202 * insets/insetoptarg.h:: remove #include "insettext.h".
3203 * insets/insettext.h: remove #include "dimension.h",
3204 <boost/shared_ptr.hpp>
3206 * insets/renderers.h: add #include "dimension.h".
3207 * insets/updatableinset.h: add #include "support/types.h".
3209 * many .C files: Associated changes.
3211 2003-09-06 Angus Leeming <leeming@lyx.org>
3213 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3214 one, inside testInvariant.
3216 * PrinterParams.C: new file.
3217 * PrinterParams.[Ch]: move the function bodies out of line.
3219 2003-09-06 Angus Leeming <leeming@lyx.org>
3221 * ParagraphParameters.h: forward declare ParameterStruct rather than
3222 including its header file.
3223 (depth): moved out-of-line.
3225 2003-09-06 Angus Leeming <leeming@lyx.org>
3227 * BufferView_pimpl.h:
3230 * lyxfunc.h: forward declare LyXKeySym rather than
3231 #include "frontends/LyXKeySym.h".
3233 * BufferView_pimpl.C:
3236 * lyxfunc.C: associated changes.
3238 2003-09-06 Angus Leeming <leeming@lyx.org>
3240 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3241 As a result, can remove the #include "insets/inset.h" from BufferView.h
3243 2003-09-06 Angus Leeming <leeming@lyx.org>
3245 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3246 As a result, can remove the #include "insets/inset.h" from BufferView.h
3248 2003-09-06 Angus Leeming <leeming@lyx.org>
3254 * bufferview_funcs.C:
3255 * BufferView_pimpl.C:
3260 * ParagraphParameters.C:
3265 * frontends/controllers/ControlDocument.C:
3266 * insets/insetcaption.C: rearrange the #includes into some sort of
3269 * buffer.h: remove #includes ErrorList.h, undo.h
3271 2003-09-06 Angus Leeming <leeming@lyx.org>
3273 * support/types.h: add a 'depth_type' typedef, used to store the
3274 nesting depth of a paragraph.
3277 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3278 defining explicitly.
3281 * paragraph_funcs.h:
3282 * ParagraphParameters.h:
3283 * sgml.h: use lyx::depth_type rather than Paragraph or
3284 ParameterStruct's depth_type.
3287 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3290 * BufferView_pimpl.C:
3292 * ParagraphParameters.C:
3295 * bufferview_funcs.C:
3302 * frontends/LyXView.C:
3303 * frontends/controllers/ControlDocument.C:
3304 * frontends/controllers/ControlErrorList.C:
3305 * insets/insetbibitem.C:
3306 * insets/insetbranch.C:
3307 * insets/insetcaption.C:
3308 * insets/insetcollapsable.C:
3309 * insets/insetenv.C:
3310 * insets/insetert.C:
3311 * insets/insetfloat.C:
3312 * insets/insetfoot.C:
3313 * insets/insetfootlike.C:
3314 * insets/insetnewline.C:
3315 * insets/insetquotes.C:
3316 * insets/insettabular.C:
3317 * insets/insettext.C:
3318 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3320 * frontends/controllers/ControlChanges.C: #include "changes.h".
3322 2003-09-06 Angus Leeming <leeming@lyx.org>
3324 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3325 than #including paragraph.h.
3328 * RowList.h: deleted. Superfluous.
3338 * insets/insettext.h: use ParagraphList_fwd.h rather than
3341 * paragraph.h: don't forward declare ParagraphList.
3344 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3345 rather than ParagraphList.h. paragraph.h is still needed for the
3346 Paragraph::depth_type parameters.
3348 * textcursor.h: enable it to compile stand-alone in light of the
3351 * bufferview_funcs.C:
3363 * frontends/controllers/ControlParagraph.C:
3364 * frontends/controllers/ControlTabular.C:
3365 * insets/insetmarginal.C:
3366 * insets/insetminipage.C:
3367 * insets/insetnote.C:
3368 * insets/insetoptarg.C: add header files needed to compile again.
3370 2003-09-06 Angus Leeming <leeming@lyx.org>
3372 * RowList_fwd.h: new file, forward-declaring Row rather than
3373 #including lyxrow.h.
3378 * insets/insettext.h: use it instead of RowList.h
3380 * bufferview_funcs.C:
3387 * text3.C: #include "RowList.h".
3389 2003-09-05 Angus Leeming <leeming@lyx.org>
3391 * factory.C (createInset):
3392 * vspace.C (c-tor): replace sscanf call with an istringstream.
3393 * ispell.C: re-add missing HP/UX headers.
3394 * lyxserver.C: re-add missing os2 headers.
3396 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3405 * text3.C: re-add missing system headers, needed for 2.95.2.
3407 2003-09-05 Angus Leeming <leeming@lyx.org>
3409 Changes most place everywhere due to the removal of using directives
3410 from support/std_sstream.h.
3412 2003-09-05 Angus Leeming <leeming@lyx.org>
3414 Replace LString.h with support/std_string.h,
3415 Lsstream.h with support/std_sstream.h,
3416 support/LIstream.h with support/std_istream.h,
3417 support/LOstream.h with support/std_ostream.h.
3419 Changes resulting throughout the tree.
3421 2003-09-05 Angus Leeming <leeming@lyx.org>
3423 * sgml.h: ensure that the header file can be compiled stand-alone.
3424 * *.C: strip out redundant #includes. (320 in total.)
3426 2003-09-04 Angus Leeming <leeming@lyx.org>
3428 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3429 here (from getPackages).
3431 * debug.[Ch]: add a new EXTERNAL tag.
3433 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3435 * text2.C (cursorEnd): simplify
3437 (getColumnNearX): adjust
3439 * text.C (computeBidiTables): adjust
3442 * rowpainter.C (paintChars): adjust
3443 (paintSelection): adjust
3444 (paintChangeBar): adjust
3447 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3449 (numberOfSeparators): adjust
3451 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3457 * text3.C: Restricts the mouse click functionality
3458 of insets like bibtex, include, toc and floatlist to the visible
3459 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3460 up the dialogs. Cursor has to be in front of the inset (i.e.
3461 start of row) for this to function.
3463 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3465 * bufferview_funcs.C (currentState): output row information
3467 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3469 * bufferview_funcs.C (currentState): output paragraph position
3471 2003-09-04 Angus Leeming <leeming@lyx.org>
3473 * FloatList.h: move out #include "Floating.h".
3474 * LaTeX.h: move out #include "DepTable.h".
3475 * LyXAction.h: move out #include "funcrequest.h".
3476 * buffer.h: move out #include "author.h", "iterators.h".
3477 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3478 * lyx_main.h: move out #include "errorlist.h".
3479 * lyxfunc.h: move out #include "FuncStatus.h".
3480 * lyxtext: move out #include "lyxcursor.h".
3481 * paragraph_pimpl.h: move out #include "counters.h".
3483 2003-09-03 Angus Leeming <leeming@lyx.org>
3485 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3486 preamble_snippets list, enabling us to add snippets to the preamble
3487 only if the snippet was not there already.
3489 2003-09-04 Angus Leeming <leeming@lyx.org>
3491 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3493 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3495 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3498 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3500 * BranchList.C: point fix, earlier forgotten
3502 2003-09-02 Angus Leeming <leeming@lyx.org>
3504 * box.C (contains): renamed from 'contained' after a fantastic
3507 2003-09-02 John Levon <levon@movementarian.org>
3513 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3515 2003-09-02 John Levon <levon@movementarian.org>
3517 * text2.C: simplification of cursorEnd(), including partial
3520 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * buffer.C (readFile): add a space
3524 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3526 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3528 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3530 * buffer.C (readFile): new function, take a filename and a
3531 ParagraphList::iterator
3533 (readFile): adjust, make it private. don't use setStream, make
3534 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3535 always contain the filename.
3537 * BufferView.C (insertLyXFile): simplify and make it work for
3540 2003-08-30 John Levon <levon@movementarian.org>
3542 * Makefile.am: fix dist (from Kayvan)
3544 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * most files: change to use const Buffer refs
3548 2003-08-27 André Pönitz <poenitz@gmx.net>
3550 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3551 on top of ownerPar().
3553 2003-08-27 John Levon <levon@movementarian.org>
3555 * funcrequest.C: properly initialise POD members
3557 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3559 * lyxtext.h (top_y): move top_y from here
3564 * BufferView_pimpl.[Ch]: to here
3565 * frontends/screen.C:
3566 * insets/insettabular.C:
3567 * insets/insettext.C: adjust
3568 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3570 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3573 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3575 2003-08-26 André Pönitz <poenitz@gmx.net>
3577 * paragraph_func.[Ch] (outerPar): new function
3580 * paragraph_funcs.C:
3581 * paragraph_funcs.h:
3582 * paragraph_pimpl.C:
3583 * text2.C: remove Inset::par_owner
3585 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3590 * text2.C: eliminates the needFullRow/display() stuff
3591 altogether, putting the logic in metrics/draw in the insets.
3593 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3595 * text2.C (redoParagraphInternal, redoParagraphs):
3596 * text.C (redoParagraph): add a call to updateRowPositions at the
3597 end of each 'metrics-like' call. Remove all others.
3598 (getRow): remove the 'y-computing' version.
3599 (getRowNearY): do not compute nor return the real y. Solve the
3600 'y < 0' problem and simplify.
3602 2003-08-22 Angus Leeming <leeming@lyx.org>
3604 * *.[Ch]: clean-up of licence and author blurbs.
3605 Also move config.h out of a few .h files and into a few .C files.
3607 2003-08-22 André Pönitz <poenitz@gmx.net>
3609 * lyxrow.[Ch]: add x_ and *fill_ members
3614 * text2.C: adjust/remove prepareToPrint() calls
3616 2003-08-22 André Pönitz <poenitz@gmx.net>
3618 * lyxrow.[Ch]: add end_ member
3620 * lyxrow_funcs.C: use LyXRow::end_
3622 * lyxtext.h (singleWidth): add LyXFont parameter
3625 * text2.C: adjust LyXText::singleWidth() calls
3627 * text.C (redoParagraph): simplify row breaking logic
3630 2003-08-19 André Pönitz <poenitz@gmx.net>
3632 * funcrequest.C: initialize button_ member
3635 * rowpainter.[Ch]: interface consolidation
3637 2003-08-18 André Pönitz <poenitz@gmx.net>
3640 * BufferView_pimpl.C:
3642 * paragraph_funcs.C:
3644 * text3.C: remove LyXScreen::draw() and fitCursor calls
3646 * BranchList.h: remove spurious semicolons
3648 * MenuBackend.C: fix branchlist related crash
3650 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3658 * bufferparams.[Ch]:
3662 * text3.C: implements the 'branch inset'
3663 idea. This allows the output of various versions of a document
3664 from a single source version, selectively outputing or suppressing
3665 output of parts of the text.
3666 This implementation contains a 'branch list editor' in a separate
3667 tab of the document settings dialog. Branches are user definable
3668 and have a "display colour" to distinguish them on-screen.
3670 ColorHandler was somewhat cleaned up.
3671 (1) make possible a dynamically growing LColor list by allowing
3672 the graphic context cache to grow along (vector);
3673 (2) eliminate an IMHO unnecessary step in colour allocation.
3675 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3677 * BufferView_pimpl.C: compile fix
3679 2003-08-15 André Pönitz <poenitz@gmx.net>
3681 * rowpainter.C: remove extra metrics calls
3683 * lyxtext.h: merge the two constructors into a single one,
3684 pass reference to owner's par list
3686 * BufferView_pimpl.C:
3690 2003-08-15 André Pönitz <poenitz@gmx.net>
3692 * lyxrow_funcs.[Ch]:
3695 * paragraph_funcs.C:
3700 * text_funcs.C: split LyXText::rowlist_ into individual
3701 Paragraph::rows_ chunks
3704 * BufferView_pimpl.[Ch]:
3707 * text3.C: remove toggleSelection()
3709 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3711 * bufferlist.C: beautify two alerts (shorter text of buttons)
3712 * buffer.C: Remove redundant ' ' from message
3714 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3715 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3716 rename VALIGN_CENTER to VALIGN_MIDDLE
3718 2003-08-11 André Pönitz <poenitz@gmx.net>
3720 * lyxtext.h (getPar):
3721 * text.C: new function
3723 2003-08-11 André Pönitz <poenitz@gmx.net>
3726 * tracer.[Ch]: remove unneeded files
3728 * InsetList.[Ch]: remove resizeInsetsLyXText()
3733 * text3.C: merge insertParagraphs() and appendParagraph()
3734 remove breakAgain(), update()
3736 * BufferView_pimpl.[Ch]:
3737 * bufferview_funcs.[Ch]:
3741 * tabular.C: adjust after text & InsetList changes.
3743 2003-08-08 André Pönitz <poenitz@gmx.net>
3745 * text.C (insertChar, backspace): replace rowlist fiddling
3746 with rebreak of full par
3749 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3750 checkParagraph, updateInset): removed
3752 2003-08-07 André Pönitz <poenitz@gmx.net>
3755 * text3.C: merge some LFUN handlers, remove dead code
3757 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3759 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3761 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3763 * text2.C (DEPM): fix part of bug 1255 and 1256
3765 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3767 * BufferView_pimpl.C (workAreaDispatch): change to use
3768 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3769 that are no mouse related.
3771 2003-08-05 André Pönitz <poenitz@gmx.net>
3774 * BufferView_pimpl.[Ch]:
3775 * bufferview_funcs.C:
3777 * text3.C: rip out "deep update"
3779 * textcursor.[Ch] (last_sel_cursor): remove unused member
3781 2003-08-04 André Pönitz <poenitz@gmx.net>
3784 * BufferView_pimpl.[Ch]:
3785 * ParagraphParameters.C:
3786 * bufferview_funcs.C:
3792 * text3.C: replace "complicated" BufferView::update(...) calls with
3795 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3797 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3799 * Makefile.am (lyx_SOURCES): add paper.h
3801 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3803 * Makefile.am: move things around so that both lyx-qt and
3804 lyx-xforms can be built (according to --with-frontend). Then lyx
3805 is a symbolic link to lyx-[firstfrontend]
3807 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3809 * Always use std::endl with lyxerr
3811 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3813 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3815 2003-08-01 André Pönitz <poenitz@gmx.net>
3818 * BufferView_pimpl.[Ch]:
3820 * text3.C: merge BufferView::repaint() and BufferView::update()
3822 2003-08-01 José Matos <jamatos@lyx.org>
3824 * buffer.[Ch]: file_format is no longer a buffer data element.
3826 2003-08-01 André Pönitz <poenitz@gmx.net>
3831 * text2.C: make redoParagraph more independent of current cursor
3833 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3835 * text2.C: remove unneeded members
3837 2003-07-30 André Pönitz <poenitz@gmx.net>
3839 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3841 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3842 create a single function...
3844 * paragraph_funcs.C (moveItem): ... here.
3847 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3849 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3851 * LColor.[Ch]: Add comment and greyedout logical colors.
3853 2003-07-30 André Pönitz <poenitz@gmx.net>
3855 * tabular.C: don't use Assert too heavily. This crashes where it
3858 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3860 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3861 is disabled (bug 1232)
3863 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3865 * factory.C: limited 'arg' scope
3867 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3869 * factory.C: fixed Note submenu issues
3871 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3873 * factory.C: submenu for Note/Comment/Greyedout
3875 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3878 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3880 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3883 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3884 greyedout. Patch provided by Jürgen Spitzmüller.
3886 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3888 * kbmap.C (read): fix error message when reading bind files
3890 2003-07-29 Angus Leeming <leeming@lyx.org>
3892 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3893 certainly does not do what it purports to do. I am doing it, and
3894 us, a favour by killing it.
3896 2003-07-28 José Matos <jamatos@lyx.org>
3898 * buffer.C (readBody, do_writeFile):
3899 * paragraph.C(readParagraph): \end_document replaces \the_end.
3901 2003-07-29 André Pönitz <poenitz@gmx.net>
3904 * BufferView_pimpl.[Ch]:
3908 * textcursor.[Ch]: remove toggleToggle & Co
3910 2003-07-28 José Matos <jamatos@fep.up.pt>
3912 * buffer.C (readParagraph):
3913 * params_func (readParToken, readParagraph):
3914 * paragraph.C (write): \layout -> \begin_layout.
3916 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3918 * lyxlex_pimpl.C (setFile): clean up slightly.
3920 * bufferparams.h: add compressed var
3922 * buffer_funcs.C (readFile): adjust for LyXLex change
3923 (newFile): ditto + simplify
3925 * buffer.C (writeFile): handle writing of compressed files
3927 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3928 Check if the file is compressed and set a bufferparm if so.
3930 * Makefile.am (lyx_LDADD): remove explicit -lz
3932 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3934 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3935 makeDocBookFile): put the real LyX version in the first line of
3939 * version.C.in: remove lyx_docversion
3941 * tabular.C (write_attribute): add a template-based version to
3942 write enums properly
3944 2003-07-28 André Pönitz <poenitz@gmx.net>
3949 * text3.C: use doubles again for x-coordinates. They are needed.
3951 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * messages.C (getLocaleDir): use lyx_localedir()
3955 * lyxlex_pimpl.C (setFile): compress stuff
3957 * buffer.C (writeFile): add some compression stuff
3958 (do_writeFile): new func, dont call expliti close... will this
3961 * Makefile.am (lyx_LDADD): add -lz
3963 2003-07-28 José Matos <jamatos@fep.up.pt>
3965 * buffer.C: increment file format.
3966 * paragraph_funcs (readParagraph, readParToken):
3967 * paragraph.C (readParagraph): add \end_layout.
3969 2003-07-27 Angus Leeming <leeming@lyx.org>
3971 * Makefile.am: remove special casing for configure-time setting of
3972 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3974 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3975 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3977 2003-07-26 André Pönitz <poenitz@gmx.net>
3979 * paragraph_func.[Ch]:
3980 * paragraph.C (realizeFont): inline it whereever it is used
3985 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3988 2003-07-26 André Pönitz <poenitz@gmx.net>
3992 * text2.C: get rid of LyXText::need_break_row
3994 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3996 * toc.[Ch]: put namespace toc inside namespace lyx
3998 * MenuBackend.C (expandToc2): adjust for lyx::toc
4001 * lyxfunc.C (dispatch): adjust for lyx::find
4003 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4004 lyx::find instead. Reorganize a bit.
4005 (LyXReplace): rename to replace
4006 (LyXFind): rename to find
4008 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4011 2003-07-26 André Pönitz <poenitz@gmx.net>
4013 * text.C (setHeightOfRow): restrict scope of temporary variable
4015 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4016 code (never has been used?)
4018 2003-07-27 Asger Alstrup <alstrup@local>
4020 * text.C (fill): Optimise algorithm to exploit that we can reuse
4021 the LyXFont for many characters.
4022 (setHeightOfRow): Same thing.
4023 (rowBreakPoint): Same thing.
4025 2003-07-26 Asger Alstrup <alstrup@local>
4027 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4029 * text.C (singleWidth): Spurious font copying in hot-spot
4030 singleWidth avoided. Reorder tests for arabic for efficiency.
4032 * text.C (fill): handle empty paragraphs better.
4034 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4037 * encoding.h: add includes
4039 * lyxrc.C: remove reading of bind files
4041 * lyx_main.C (init): setup bindings and menus only if we have a
4044 * kbmap.C (read): new method. Do the actual reading of bind
4047 * converter.C (dvipdfm_options):
4050 (output): adapt PAPER_* enums.
4052 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4054 * bufferparams.h: remove paper-related enums from there
4056 * paper.h: New file. A trivial header file to hold paper-related
4057 enums. It should later expand to contain many paper-related
4060 * lyxrc.C: declare extern displayTranslator
4062 2003-07-27 José Matos <jamatos@fep.up.pt>
4064 * tabular.[Ch] (linuxdoc): add support for tables and figures
4067 2003-07-27 José Matos <jamatos@fep.up.pt>
4069 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4070 consistency in both functions.
4071 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4073 2003-07-26 Asger Alstrup <alstrup@local>
4075 * rowpainter.C (paintRows): Change algorithm to work directly on
4076 the insets rather than asking every character in the document
4077 whether its an inset.
4079 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4081 * buffer.C (openFileWrite): factorize some code
4083 2003-07-26 Angus Leeming <leeming@lyx.org>
4086 * lyx_main.[Ch]: replace occurances of system_tempdir with
4089 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * rename Inset to InsetOld
4093 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4095 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4096 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4097 which I think is a bit clearer. EDIT is gone, since it was
4098 premature optimisation, and broken for mathed anyway.
4099 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4100 with cursor positioning in insets as well (math insets still do not
4101 work, but that's a different story anyway.) It mysteriously
4102 crashes sometimes with undo in the first paragraph, but I'm fairly
4103 confident that this is a compiler bug.
4105 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * paragraph.C (Paragraph): adjust for new clone return type
4109 (copyIntoMinibuffer): ditto
4111 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4113 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4114 by not having a special case, and always doing a full rebreak of
4115 the document after undo.
4117 2003-07-23 Angus Leeming <leeming@lyx.org>
4119 * factory.C (createInset): InsetExternal::setParams now takes a
4122 2003-07-23 Angus Leeming <leeming@lyx.org>
4124 * factory.C (createInset): changed interface to the external and
4125 graphics mailers' string2params functions.
4127 2003-07-23 Angus Leeming <leeming@lyx.org>
4129 * factory.C (createInset): pass a
4130 Buffer const * parameter to InsetExternalMailer's string2params.
4132 2003-07-22 John Levon <levon@movementarian.org>
4134 * Thesaurus.h: include the right aiksaurus header
4136 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4138 * MenuBackend.C (expand): check menu shortcuts unconditionally
4140 2003-07-21 Angus Leeming <leeming@lyx.org>
4142 * factory.C (createInset): pass a
4143 buffer_path parameter to InsetGraphicsMailer's string2params.
4145 2003-07-21 Angus Leeming <leeming@lyx.org>
4147 * BufferView_pimpl.C (buffer):
4150 * lyxfunc.C (dispatch):
4151 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4152 rather than the grfx shortcut.
4154 2003-07-21 André Pönitz <poenitz@gmx.net>
4156 * rowpainter.C: remove unused variables
4159 * tabular_funcs.h: move to tabular.C
4160 * Makefile.am: adjust
4162 * tabular.[Ch]: basic optical cleaning
4164 * author.h: pass references, not values
4166 2003-07-18 André Pönitz <poenitz@gmx.net>
4174 * text3.C: two-phase drawing for InsetText and InsetTabular
4175 some float -> int changes.
4177 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4179 * lyx_main.C: fix the fix
4181 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4183 * lyx_main.C: fix a crash in batch mode if no files specified
4186 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4188 * format.[Ch] (papersize): moved to BufferParams
4189 * converter.[Ch] (dvips_options): moved to BufferParams
4190 (dvipdfm_options): moved to anon namespace
4191 * bufferparams.[Ch]: added above functions.
4193 2003-07-17 André Pönitz <poenitz@gmx.net>
4197 * text2.C: don't call inset->update() anymore
4199 * metricsinfo.[Ch]: add convenience constructor
4201 2003-07-16 André Pönitz <poenitz@gmx.net>
4206 * text2.C: replace the LyXCursor::irow_ member with
4207 on-demand computation of the value
4209 2003-07-16 John Levon <levon@movementarian.org>
4211 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4213 2003-07-15 André Pönitz <poenitz@gmx.net>
4216 * text2.C: remove no more needed refresh_row
4218 2003-07-15 André Pönitz <poenitz@gmx.net>
4223 * text3.C: refresh_status tristate -> need_update bool
4225 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4227 * lyxtext.h (init): remove reinit argument (act as if always true)
4228 * text2.C: adjust to that
4230 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4232 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4233 * text3.C: use it to delete selections in some cases
4234 (bugs 441, 673, 702, 954).
4236 2003-07-14 André Pönitz <poenitz@gmx.net>
4238 * rowpainter.[Ch]: reduce interface
4240 2003-07-14 André Pönitz <poenitz@gmx.net>
4242 * BufferView_pimpl.C:
4243 * text2.C: adjust after removing unused BufferView * argument
4245 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4247 * text2.C (init): fix a crash fired on resize
4249 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4251 * buffer.[Ch]: added new closing signal
4252 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4253 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4254 BufferView::Pimpl via the closing the signal
4256 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4258 * buffer.[Ch]: take out all bv-related from buffer
4260 * BufferView_pimpl.[Ch]: connect to new signals
4261 * CutAndPaste.C: removed useless asserts
4262 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4265 * lyxfunc.C: moved view-related funciontality from vc here
4266 * paragraph.C: removed outdated comments
4269 2003-07-10 André Pönitz <poenitz@gmx.net>
4271 * BufferView_pimpl.C:
4275 * text2.C: remove InsetText::InnerCache, clean up consequences
4277 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4279 * ispell.C: fix two typos in error messages
4281 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4283 * Extend Note inset to other forms of annotation like Comment
4284 and Greyedout. Right button click gives dialog.
4286 Files modified or added (+):
4290 * ControlNote.[Ch] +
4292 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4293 frontends/controllers
4297 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4299 * aspell.C: add missing namespace lyx::support
4301 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4303 * BufferView.[Ch] (newFile): Add
4304 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4305 * LaTeX.[Ch] (message): added this signal and use it
4306 * buffer.[Ch] (busy, message): added these signals and use them
4307 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4311 * importer.C: use buffer signals instead of direct bv calling
4312 * lyx_cb.[Ch] (ShowMessage): removed
4315 * paragraph_funcs.C:
4316 * text2.C: use buffer signals
4318 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * introduce namespace lyx::graphics
4322 2003-07-02 André Pönitz <poenitz@gmx.net>
4324 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4326 2003-07-01 André Pönitz <poenitz@gmx.net>
4333 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4334 text*.C to text_func.C
4336 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * introduce namespace lyx::support
4340 2003-06-30 André Pönitz <poenitz@gmx.net>
4345 * text.C: re-enable --with-included-string
4347 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * textcursor.C: add <config.h>
4351 * text.C (getWord): remove const from word_location arg
4353 * lyxvc.C (getLogFile): fix const type order
4355 * lyxtext.h: remove const from word_location arg, add arg name
4357 * lyxlayout.h: currect type on labeltype.
4359 * importer.C: correct \file
4361 * converter.C (intToFormat): use std:: on ret val, ws changes
4363 * bufferlist.h: correct \file
4365 * buffer.C (makeLinuxDocFile): fix const type order
4366 (makeDocBookFile): ditto
4367 (fillWithBibKeys): use std:: on stdlib args.
4369 * CutAndPaste.C: fix authors.
4370 (availableSelections): use std:: on return vector
4372 2003-06-27 André Pönitz <poenitz@gmx.net>
4374 * BufferView_pimpl.C:
4375 * bufferview_funcs.C:
4383 * text3.C: remove LyXCursor::row_ member
4386 * text.C: rename fullRebreak() to partialRebreak() and implement
4387 a fullRebreak() that really bereks fully
4389 * textcursor.h: new struct for cursor-related data
4391 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4393 * lyx_main.C (LyX): get full path of document loaded on the
4396 2003-06-26 André Pönitz <poenitz@gmx.net>
4398 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4399 remove unused/broken operator>,<,>=.
4401 * text.C: remove only use of broken operator<= in an Assert().
4403 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4405 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4406 moved errorlist_.clear to showErrorList
4408 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4410 * converter.C (scanLog, runLaTeX):
4411 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4412 move the bv->showErrorList call to the callers
4413 * lyxfunc.C: i.e. here...
4415 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4416 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4417 namespace, the second to...
4418 * buffer_funcs (BufferFormat, parseErrors): added
4419 * errorlist.C (ErrorList(TeXErrors const &)): removed
4421 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4423 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4425 2003-06-24 "Garst R. Reese" <reese@isn.net>
4429 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4431 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4433 * version.C.in: change docversion to 1.4
4435 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4437 * buffer.C: fix a bug just introduced
4439 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4441 * buffer.[Ch]: added the parseError signal and use it, removed
4443 * BufferView.[Ch] (addError): moved to ...
4444 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4445 to the Buffer::parseError signal to catch (guess what) parse errors
4446 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4448 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4450 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4451 ability to create a buffer and to return an existing one from
4452 the list. Moved these functions to...
4453 * buffer_funcs.[Ch]: added
4454 * BufferView.[Ch] (loadLyXFile): added
4455 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4456 job removed from bufferlist::loadLyXFile.
4457 * buffer.C (setReadOnly): make it work without view
4458 (i.e added an if (users))
4460 2003-06-19 Angus Leeming <leeming@lyx.org>
4463 * LyXAction.C (init):
4464 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4465 with LFUN_DIALOG_SHOW <name> <data>.
4467 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4469 * CutAndPaste.C (availableSelections): small compilation fix for
4470 ancient (gcc 2.9x) compilers
4472 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * text3.C (cursorNext): add tmp var
4476 * text2.C (updateCounters): for function calling out of for clause
4477 (replaceSelectionWithString): ditto
4478 (insertStringAsParagraphs): ditto
4479 (getColumnNearX): add tmp var
4480 (setCursorFromCoordinates): add tmp var
4481 (cursorDownParagraph): add tmp var
4482 (deleteEmptyParagraphMechanism): add tmp var
4484 * text.C (insertChar): add tmp var
4486 * rowpainter.C (paintDepthBar): add tmp var
4488 * CutAndPaste.C (availableSelections): potentially check all
4489 paragraphs in a cut to fill the shown strings.
4491 2003-06-18 André Pönitz <poenitz@gmx.net>
4493 * kbmap.[Ch]: use vector<> instead of list<>
4495 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4497 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4498 pasteSelection with index
4500 * text2.C (pasteSelection): modify, call pasteSelection with index
4502 * paragraph.C (asString): reimplement version with no interval to
4503 call the one with interval.
4505 * lyxtext.h: add index arg to pasteSelection
4507 * MenuBackend.C (MenuItem): handle PasteRecent
4508 (Menu::read::Menutags): add md_pasterecent
4510 (expandPasteRecent): new function
4513 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4515 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4517 (availableSelections): new function
4519 2003-06-17 Angus Leeming <leeming@lyx.org>
4521 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4523 2003-06-17 Angus Leeming <leeming@lyx.org>
4526 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4528 * lyxfunc.C (dispatch): invoke it.
4530 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4532 * iterators.C (operator++, ParPosition): reintroduce some
4533 const_cast for the benefit of older compilers.
4535 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4537 * text3.C (dispatch): do not modify clipboard when doing
4538 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4539 LFUN_DELETE_SKIP on a selection selection
4541 2003-06-16 André Pönitz <poenitz@gmx.net>
4547 * tabular.[Ch]: IU of clone() and getLabelList();
4549 2003-06-13 André Pönitz <poenitz@gmx.net>
4551 * tabular.h: compactification
4553 2003-06-12 André Pönitz <poenitz@gmx.net>
4557 * tabular_funcs.h: some renaming plus whitespace
4559 2003-06-12 André Pönitz <poenitz@gmx.net>
4562 * BufferView_pimpl.C:
4568 * toc.C: Return a Paragraph & for ParIterator::operator*()
4570 2003-06-11 John Levon <levon@movementarian.org>
4574 * ToolbarBackend.C: add "Toolbars" section and
4577 2003-06-10 Angus Leeming <leeming@lyx.org>
4580 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4582 * lyxfunc.C (dispatch): invoke it.
4584 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * main.C: protect <ios> with HAVE_IOS
4587 (main): protect sync_with_stdio with HAVE_IOS
4589 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4591 * text2.C (cutSelection): adjust
4592 (pasteSelection): adjust
4594 * messages.C: handle get of empty string
4596 * main.C (main): use sync_with_stdio(false)
4598 * lyxfunc.C (dispatch): adjust
4600 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4601 (WriteAs): remove unneeded BufferView arg.
4603 * bufferparams.h: use correct types on papersize, papersize2 and
4606 * bufferparams.C (readToken): adjust for type
4607 (writeLaTeX): add missing cases to switch.
4609 * bufferlist.C (quitWriteBuffer): adjust
4612 * buffer.C (asciiParagraph): remove some commented code.
4614 * CutAndPaste.C: remove current_view extern variable.
4615 (cutSelection): add BufferParams arg.
4616 (eraseSelection): add BufferParams arg.
4617 (pasteSelection): add Buffer const & arg
4619 2003-06-07 John Levon <levon@movementarian.org>
4622 * paragraph_funcs.C:
4623 * paragraph_pimpl.C:
4627 * paragraph.C: allow InsetERT to freely space lines,
4628 and some consolidation of code
4630 2003-06-06 José Matos <jamatos@fep.up.pt>
4632 * buffer.C (makeDocBookFile): fix bug #821
4634 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4636 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4638 2003-06-04 Angus Leeming <leeming@lyx.org>
4640 * buffer.C: bump format to 224.
4642 2003-06-05 André Pönitz <poenitz@gmx.net>
4644 * text2.C (redoParagraphs): remove two const_cast<>
4646 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4648 * ParagraphList.h: remove last remnants of NO_STD_LIST
4650 2003-06-03 Angus Leeming <leeming@lyx.org>
4652 * factory.C (createInset): small change to the way InsetExternal's params
4655 2003-06-04 André Pönitz <poenitz@gmx.net>
4657 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4659 * paragraph_pimpl.h:
4660 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4662 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4664 * undo_funcs.C: make some simple cases of undo work again
4666 2003-06-03 John Levon <levon@movementarian.org>
4668 * ispell.C: HPUX doesn't have sys/select.h
4671 2003-06-03 John Levon <levon@movementarian.org>
4673 * CutAndPaste.C: update tabular and include inset
4678 * paragraph.C: remove owningBuffer(), don't pass Buffer
4681 * factory.C: insetGraphicsParams changed
4683 2003-06-02 John Levon <levon@movementarian.org>
4689 * text3.C: remove insetparent
4691 2003-06-02 John Levon <levon@movementarian.org>
4694 * buffer.C: fix inset_iterator.end(), move out of line
4697 2003-06-01 John Levon <levon@movementarian.org>
4699 * text3.C: use a proper cut/paste when doing inset
4700 insert (from Jürgen Spitzmüller)
4702 2003-06-01 John Levon <levon@movementarian.org>
4704 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4706 2003-05-30 André Pönitz <poenitz@gmx.net>
4708 * rowpainter.C: unify second drawing phase
4710 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * trans_mgr.C: remove one case of current_view
4714 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4716 * paragraph_funcs.h: remove paragraph.h include
4718 * paragraph.h: delete NO_STD_LIST stuff
4720 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4722 * buffer.h: remove paragraph.h include
4724 * ParagraphList.C: delete file
4726 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4728 * toc.C (getTocList): adjust
4730 * paragraph_pimpl.C (validate): adjust
4732 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4734 * paragraph.C (Paragraph): adjust
4735 (getPositionOfInset): use const_iterator, adjust
4736 (bibitem): use const_iterator, adjust
4737 (setInsetOwner): adjust
4739 * iterators.C (operator++): adjust
4741 * InsetList.[Ch]: Replace selfmade iterator with standard
4742 vector::iterator also introduce const_iterator. Remove getPos,
4743 getInset and setInset from InsetTable. Adjust accordingly.
4745 * BufferView.C (lockInset): adjust
4746 (ChangeInsets): adjust
4748 * tabular.[Ch]: delete commented same_id functions
4750 2003-05-28 John Levon <levon@movementarian.org>
4752 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4754 2003-05-28 André Pönitz <poenitz@gmx.net>
4756 * metricsinfo.[Ch]: remove 'fullredraw' member
4758 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4760 * lyxtextclass.C (operator): remove caching.
4762 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * text2.C (cursorBottom): adjust
4767 (setCounter): use ParagraphList::find, adjust
4769 * text.C (workWidth): use ParagraphList::find, adjust
4771 * lyxcursor.C (LyXCursor): adjust
4773 * buffer.C (inset_iterator): adjust
4775 * ParagraphList.h: make iterator(value_type) private, make
4776 ParagraphList a friend of iterator.
4778 * ParagraphList.C (find): new function
4780 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4782 2003-05-27 André Pönitz <poenitz@gmx.net>
4784 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4786 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4788 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4790 2003-05-26 John Levon <levon@movementarian.org>
4792 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4794 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * remove same_id from function signatures, adjust.
4798 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4802 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4804 * paragraph.C (Paragraph): get rid of same_ids parameter
4806 * ParagraphList.C (insert): adjust
4809 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * paragraph_funcs.C (breakParagraph): adjust
4812 (breakParagraphConservative): adjust
4814 * buffer.C (readParagraph): adjust
4816 * ParagraphList.C (insert): take a reference instead of a pointer
4819 * paragraph.[Ch] (id): new function
4821 * bufferlist.C (newFile): adjust
4823 * ParagraphList.C (ParagraphList): adjust
4825 (push_back): take a reference instead of a pointer.
4827 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4829 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4832 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4833 set else use old code.
4835 * ParagraphList.C: remove all NO_NEXT code and only compile this
4836 code of NO_STD_LIST is set.
4838 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4840 * BufferView_pimpl.C:
4850 * graphics/GraphicsConverter.C:
4851 * graphics/PreviewLoader.C: header adjustment
4853 2003-05-23 Angus Leeming <leeming@lyx.org>
4855 * LaTeXFeatures.[Ch] (useBabel): new method.
4856 * bufferparams.C (writeLaTeX): use it.
4858 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * ParagraphList.h (set): remove unused function.
4862 2003-05-23 André Pönitz <poenitz@gmx.net>
4865 * BufferView_pimpl.C:
4869 * undo_funcs.C: setUndo reworked
4871 * iterators.[Ch]: add access to topmost ParagraphList
4873 * lyxtext.[Ch] (workWidth): add a const
4875 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4877 * texrow.[Ch] (increasePos): remove function
4878 * exporter.C (export): removed unused var and outdated comment
4880 2003-05-23 Angus Leeming <leeming@lyx.org>
4882 * latexrunparams.h: rename fragile as moving_arg.
4883 * paragraph.C (simpleTeXOnePar): ditto.
4884 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4886 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4890 (textUndoOrRedo): comment out a currently unused var.
4892 * paragraph.h (NO_NEXT): enable NO_NEXT
4894 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4896 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4898 * exporter.C (Export): adjust for removeAutoInsets removal.
4900 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4902 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4904 * BufferView.[Ch] (removeAutoInsets): delete function
4906 2003-05-22 Angus Leeming <leeming@lyx.org>
4908 * latexrunparams.h: add a free_spacing variable.
4910 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4911 to pass moving_arg, as the data is stored in runparams.fragile.
4913 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4914 to Inset::latexOptional or to simpleTeXOnePar.
4916 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4917 free_spacing arg to Inset::latexOptional.
4919 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4922 2003-05-22 Angus Leeming <leeming@lyx.org>
4924 * latexrunparams.h: add fragile and use_babel variables.
4926 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4927 * buffer.C (makeLaTeXFile): store this returned value in
4928 runparams.use_babel, thus passing it to the inset::latex methods.
4930 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4931 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4933 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4934 longer has a fragile arg, as it is stored in runparams.fragile.
4936 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4937 moving_arg parameter as the data is stored in runparams.fragile.
4939 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4940 a fragile parameter as the data is stored in runparams.fragile.
4942 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4946 2003-05-22 Angus Leeming <leeming@lyx.org>
4948 * latexrunparams.h: add a 'bool nice' which defaults to false.
4950 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4951 now encapsulated within runparams.
4953 * bufferlist.C (updateIncludedTeXfiles):
4954 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4956 2003-05-22 Angus Leeming <leeming@lyx.org>
4958 * latexrunparams.h: new file containing struct LatexRunParams.
4959 * Makefile.am: add new file.
4961 * LaTeX.[Ch] (c-tor, run):
4962 * buffer.[Ch] (makeLaTeXFile):
4963 * bufferlist.[Ch] (updateIncludedTeXfiles):
4964 * converter.C (convert, scanLog):
4965 * converter.[Ch] (runLaTeX):
4966 * exporter.C (Export):
4967 * paragraph.[Ch] (simpleTeXOnePar):
4968 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4969 * paragraph_funcs.[Ch] (latexParagraphs):
4970 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4971 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4972 pass around a LatexRunParams parameter.
4974 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * paragraph.[Ch]: remove unused constructor
4978 * ParagraphList.C (erase): new function, taking two iterators
4980 2003-05-22 André Pönitz <poenitz@gmx.net>
4982 * undo_funcs.C: remove duplicated code
4984 * iterator.[Ch]: operator=
4986 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * tabular.C (SetMultiColumn): ws changes
4990 * rowpainter.C (paintFirst): get rid of a ->previous
4992 * lyx_cb.C (getPossibleLabel): parlist simplification
4994 * BufferView.C (ChangeInsets): simplify slightly.
4996 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4998 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4999 * lfuns.h: new LFUN_SPACE
5000 * lyxfunc.C: protected space has a new lfun
5001 * paragraph_funcs.C: read new space insets
5003 * factory.C: handle new space insets
5005 2003-05-22 André Pönitz <poenitz@gmx.net>
5008 * BufferView_pimpl.C:
5011 * undo_funcs.C: return a ParIterator from getParFromID.
5013 * iterators.[Ch]: add two const's
5015 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * toc.C (getTocList): adjust
5019 * iterators.[Ch]: rework for parlist
5021 * buffer.C (par_iterator_begin): adjust
5022 (par_iterator_end): adjust
5024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5026 * BufferView.C (removeAutoInsets): adjust
5027 (ChangeInsets): adjust
5029 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5031 * text.C (top_y): fix bug 1110
5033 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5035 * errorlist.[Ch]: added
5038 * BufferView_pimpl.C:
5039 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5042 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * Makefile.am: ensure that lyx is relinked upon changes to the
5045 various "convenience" libs.
5047 2003-05-20 Angus Leeming <leeming@lyx.org>
5049 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5050 files are compiled in alphabetical order again.
5052 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5054 2003-05-19 Angus Leeming <leeming@lyx.org>
5056 * gettext.[Ch]: remove "char const * _(char const *)".
5058 2003-05-19 André Pönitz <poenitz@gmx.net>
5060 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5069 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5071 2003-05-19 André Pönitz <poenitz@gmx.net>
5075 * lyxtextclass.[Ch]:
5077 * paragraph_funcs.[Ch]:
5079 * text3.C: more insetenv work
5081 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5083 * ParagraphParameters.C (params2string): small bug fixed
5085 2003-05-16 André Pönitz <poenitz@gmx.net>
5088 * bufferview_funcs.C: patch from Kornel Benko to prevent
5089 crash when _(...) is called twice in a statement
5091 2003-05-16 André Pönitz <poenitz@gmx.net>
5098 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5100 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5102 * lyx_main.C (init): remove spurious static_cast
5104 2003-05-14 André Pönitz <poenitz@gmx.net>
5106 * BufferView.C: fix format string
5108 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5110 * BufferView.[Ch] (insertErrors): removed
5111 * BufferView.[Ch] (showErrorList): added
5112 * buffer.C (runChkTeX):
5113 * converter.C (scanLog): call showErrorList instead of inserterrors
5115 2003-05-13 André Pönitz <poenitz@gmx.net>
5117 * BufferView_pimpl.C:
5119 * bufferview_func.C:
5126 * tabular_funcs.h: tostr() from its own header
5128 * ParagraphParameters.C:
5133 * text3.C: STRCONV()
5135 2003-05-12 André Pönitz <poenitz@gmx.net>
5138 * BufferView_pimpl.C:
5142 * ParagraphParameters.C:
5146 * bufferview_funcs.C:
5159 * paragraph_funcs.C:
5163 * text3.C: boost::format -> bformat all over the place
5166 2003-05-09 André Pönitz <poenitz@gmx.net>
5168 * LColor.[Ch]: Pimpl the #include <map> away
5170 2003-05-09 John Levon <levon@movementarian.org>
5172 * bufferlist.C: never remove emergency saves
5174 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * Makefile.am: better lib building
5178 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5182 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5183 (simpleTeXSpecialChars): adjust
5184 (simpleTeXSpecialChars): adjust
5185 * paragraph.C (simpleTeXOnePar): adjust
5186 * buffer.C (makeLaTeXFile): adjust
5188 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5190 * text2.C (changeDepth): parlist cleanup
5191 (getColumnNearX): ditto
5193 * rowpainter.C (getLabelFont): parlist cleanup
5195 * bufferlist.C (newFile): parlist cleanup
5197 * CutAndPaste.C (eraseSelection): parlist cleanup
5199 * BufferView_pimpl.C (trackChanges): parlist cleanup
5202 * BufferView.C (lockInset): parlist cleanup.
5203 (ChangeInsets): ditto
5205 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * CutAndPaste.h: Update file header.
5209 * CutAndPaste.C: Update file header.
5210 Store the parts cut out of the Document in a limited_stack.
5211 (copySelection): adjust
5212 (pasteSelection): new function, takes the index in the limited stack.
5213 (nrOfParagraphs): adjust
5214 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5215 simplify error inset insertion.
5216 (checkPastePossible): adjust
5218 2003-05-06 John Levon <levon@movementarian.org>
5220 * text2.C: don't cast wrap inset to float
5222 2003-05-05 André Pönitz <poenitz@gmx.net>
5225 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5227 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5228 few naked Paragraph *.
5230 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5232 * bufferparams.C: Output warning if a document with missing
5233 TeX document class is loaded
5234 * exporter.C: Disable TeX exports if the document class is missing
5237 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5238 isTeXClassAvailable()
5240 2003-05-03 John Levon <levon@movementarian.org>
5243 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5244 explicit cursor show/hide
5246 * BufferView_pimpl.h:
5247 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5248 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5250 * lyxfunc.C: hide cursor before dispatching.
5255 * text3.C: remove explicit cursor hides
5257 2003-05-02 André Pönitz <poenitz@gmx.net>
5259 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5262 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5265 * text2.C: tiny whitespace
5267 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * undo_funcs.C: almost only ws changes.
5271 * ParagraphList.C (splice): just return if pl is empty.
5273 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * ParagraphList.C (splice): new function.
5277 * CutAndPaste.C (pasteSelection): use it
5279 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * CutAndPaste.C (pasteSelection): remove the last next and
5282 previous from this file.
5284 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5286 * CutAndPaste.C (pasteSelection): more clean up, user proper
5287 ParagraphList functions for pasteing.
5289 * ParagraphList.C (insert): new function, three arg insert
5291 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * ParagraphList.C (insert): new function, three arg insert
5295 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5298 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5300 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5302 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5306 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5309 (copySelection): clean up a bit.
5310 (pasteSelection): use make_pair
5312 * ParagraphList.C (ParagraphList): implement copy constructor
5313 (operator=): implement, base on copy constructor.
5316 * paragraph.C (erase): return a bool
5318 * paragraph_pimpl.C (erasePos): remove function, move contents...
5319 (erase): ... here. Return a bool.
5320 (erase): call erase instead of erasePos.
5322 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5324 * ParagraphList.h: define PitPosPair
5325 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5326 ParagraphList, fix a bug on pasting multiple pars
5327 * text2.C: change interface to C&P
5329 2003-04-30 André Pönitz <poenitz@gmx.net>
5331 * undo_func.C: revert part of yesterday's patch 2
5333 2003-04-30 John Levon <levon@movementarian.org>
5335 * LColor.C: s/tabular/table/
5337 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * text3.C (dispatch): do not convert iterator -> pointer
5340 * undo_funcs.C (setCursorParUndo): ditto
5341 * text_funcs.C (transposeChars): ditto
5343 * text2.C (setLayout): ws changes only
5345 * text.C (breakParagraph): do not convert iterator -> pointer
5347 (acceptChange): ditto
5348 (rejectChange): ditto
5353 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5356 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5358 * text3.C (gotoInset): YABG (yet another bad getChar)
5360 2003-04-29 André Pönitz <poenitz@gmx.net>
5362 * paragraph.h: make operator= private unimplemented as long as
5365 * ParagraphList.C: whitespace
5368 * paragraph_pimpl.[Ch]:
5369 * paragraph_funcs.C:
5371 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5374 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5376 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5378 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5379 * paragraph.[Ch] (erase):
5380 * paragraph_pimpl.[Ch] (erase): change return type and value
5381 * text2.C (cutSelection): some rework
5383 2003-04-28 John Levon <levon@movementarian.org>
5385 * bufferlist.C: changes for unsaved changes dialog
5387 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * bufferlist.C (newFile): set language (messages_) for new
5392 * buffer.C (readFile): ws changes only.
5394 2003-04-28 André Pönitz <poenitz@gmx.net>
5399 * BufferView_pimpl.C:
5400 * BufferView.C: getParFromID related ParagraphList::iterator changes
5402 2003-04-28 André Pönitz <poenitz@gmx.net>
5404 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5407 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * messages.C: remove one more localedir class variable.
5411 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * messages.C (getLocaleDir): singleton generation function
5415 (Messages): add a default constructor.
5417 * main.C (main): do not setup localedir here, do not call
5420 * gettext.C (_): use it.
5421 (gettext_init): delete funciton
5423 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * gettext.C (getLyXMessages): new singleton generating function.
5427 * buffer.C (updateDocLang): adjust
5429 * Makefile.am (messages.o): add target
5430 (main.o): remove target
5432 2003-04-27 John Levon <levon@movementarian.org>
5437 * lyxvc.C: specify cancel button in Alert::prompt
5439 2003-04-26 John Levon <levon@movementarian.org>
5444 * LyXAction.C: add LFUN_INSET_SETTINGS
5446 * lyxfunc.C: don't enable tabular-feature when there's
5447 just any locking inset
5449 2003-04-26 John Levon <levon@movementarian.org>
5451 * bufferlist.C: re-add Cancel to buffer close question
5453 * lyxfunc.C: fix import UI a bit
5455 2003-04-25 John Levon <levon@movementarian.org>
5457 * gettext.C: remove the broken asserts for now
5459 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * messages.C: make case where setlocale cannot comply work better.
5463 * buffer.C (updateDocLang): new function
5464 (changeLanguage): use it
5467 * text2.C (setCounter): use B_ a bit.
5469 * lyxlayout.C (Read): be sure to trim the label strings.
5471 * messages.C (Messages): fix typo in comment
5473 * buffer.C (readFile): set message_ after file is loaded.
5474 (makeDocBookFile): remove double return
5475 (changeLanguage): reset message_ upon language change.
5476 (B_): new func, use this to get translated buffer strings.
5478 * main.C: add myself and Jean Marc as authors.
5480 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5482 * messages.[hC]: pimplify Messages, and three different pimpls to be
5483 used in different circumstances.
5485 * gettext.[Ch]: change for use with new message code.
5487 2003-04-24 André Pönitz <poenitz@gmx.net>
5489 * factory.C: support for eqref
5491 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * messages.[Ch]: add missing char
5495 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5497 * messages.[Ch]: New files
5499 2003-04-18 John Levon <levon@movementarian.org>
5503 * BufferView_pimpl.C:
5507 * text2.C: remove layout-copy/paste (bug 778)
5509 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5511 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5513 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5515 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5516 if they succeed. Act accordingly.
5518 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * text2.C (setCharFont): adjust
5521 (setCounter): adjust
5522 (insertStringAsLines): adjust
5524 * text.C (leftMargin): adjust
5525 (setHeightOfRow): adjust
5527 * rowpainter.C (paintFirst): adjust
5530 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5532 (isFirstInSequence): ditto
5533 (getEndLabel): ditto
5536 * paragraph.C (getParLanguage): comment out some hard stuff.
5538 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5540 (simpleDocBookOnePar): ditto
5541 (makeDocBookFile): use ParagraphList::iterator
5543 * CutAndPaste.C (pasteSelection): adjust
5545 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * text2.C (getFont): adjust
5548 (getLayoutFont): adjust
5549 (getLabelFont): adjust
5551 * paragraph_funcs.C (TeXOnePar): adjust
5553 * buffer.C (simpleLinuxDocOnePar): adjust
5554 (simpleDocBookOnePar): adjust
5556 * CutAndPaste.C (pasteSelection): adjust
5558 * BufferView.C (getEncoding): adjust
5560 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5562 2003-04-16 John Levon <levon@movementarian.org>
5564 * lyxfind.C: use parlist stuff for search/changes
5566 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5570 * text2.C (deleteEmptyParagraphMechanism): adjust
5572 * text2.[Ch] (ownerParagraph): delete func (both of them
5574 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5576 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5578 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * ParagraphList.C: prepare for NO_NEXT
5582 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * text2.C (getFont): adjust
5585 (getLayoutFont): adjust
5586 (getLabelFont): adjust
5588 * paragraph.C (getFont): adjust
5589 (getLabelFont): adjust
5590 (getLayoutFont): adjust
5592 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5594 2003-04-15 John Levon <levon@movementarian.org>
5598 * lyx_main.C: handle Include in .ui files
5600 2003-04-15 John Levon <levon@movementarian.org>
5602 * MenuBackend.C: make the doc files length shorter
5605 * ToolbarBackend.C: handle toolbar placement flags,
5608 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5610 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5613 * paragraph_funcs.C (TeXOnePar): adjust
5615 * paragraph.C (getLabelFont): add outerfont arg, adjust
5616 (getLayoutFont): ditto
5617 (simpleTeXOnePar): adjust
5619 * paragraph_pimpl.C (realizeFont): delete func
5621 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5623 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5624 row argument, constify cur argument.
5626 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * text2.C (getFont): adjust
5629 (getLayoutFont): adjust
5630 (getLabelFont): adjust
5632 * paragraph_funcs.C (TeXOnePar): adjust
5633 (outerFont): new func...
5634 (realizeFont): ...moved out from here, changed this to facilitate
5637 * paragraph.C (getFont): take outerfont as arg, adjust
5638 (simpleTeXOnePar): add outerfont arg, adjust
5640 * buffer.C (simpleLinuxDocOnePar): adjust
5641 (simpleDocBookOnePar): adjust
5643 * CutAndPaste.C (pasteSelection): adjust
5645 * BufferView.C (getEncoding): adjust
5647 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * text2.C (setCharFont): adjust
5650 (setCounter): adjust
5652 * text.C (leftMargin): adjust
5653 (setHeightOfRow): adjust
5655 * rowpainter.C (paintFirst): adjust
5658 * paragraph_pimpl.C (realizeFont): adjust
5660 * paragraph.C (isFirstInSequence): move from here...
5661 * paragraph_funcs.C (isFirstInSequence): ...to here
5663 * paragraph.C (outerHook): move from here...
5664 * paragraph_funcs.C (outerHook): ...to here
5666 * paragraph.C (depthHook): move from here...
5667 * paragraph_funcs.C (depthHook): ...to here
5669 * paragraph.C (getEndLabel): move from here...
5670 * paragraph_funcs.C (getEndLabel): ...to here
5672 * text2.C (realizeFont): move from here...
5673 * paragraph_funcs.C (realizeFont): ...to here
5675 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5679 2003-04-14 Angus Leeming <leeming@lyx.org>
5681 * LColor.[Ch]: scrap LColor mathcursor.
5683 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * lyxlex.[Ch] (text): delete function
5686 * trans.C (Load): adjust
5687 * paragraph_funcs.C (readParToken): adjust
5689 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5692 vector<char> instead of a char[].
5694 * lyxlex_pimpl.C (getString): adjust
5696 (lex): use getString
5700 * lyxlex.C (text): use pimpl_->getString()
5704 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5707 (makeFontEntriesLayoutSpecific): temp var for par.size()
5708 (setLayout): temp var for ownerParagraphs().end()
5709 (fullRebreak): temp var for rows().end()
5710 (selectionAsString): temp var for boost::next(startpit), realize
5711 that the while really is a regular for loop.
5712 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5713 setCursor in one place.
5714 (setParagraph): temp vr for ownerParagraphs().end()
5715 (updateCounters): make the while loop a for loop
5716 (cutSelection): temp var for ownerParagraphs().end()
5717 (updateInset): make the do {} while() a regular for loop
5718 (getCursorX): use temp vars
5719 (setCurrentFont): use temp vars
5720 (getColumnNearX): use temp vars
5722 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * text.C (transformChar): use temp var for getChar
5725 (computeBidiTables): use temp var for row->par()
5726 (fill): move temp vars for row->par() and pit->layout() earlier in
5728 (labelFill): use temp var for row->par()
5729 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5730 asc and desc, realize that pit never changes and that firstpit is
5731 just a duplicate and not needed. Exchange rit->par() with pit in a
5733 (breakAgain): use a temp var for boost::next(rit)
5734 (breakAgainOneRow): ditto
5735 (breakParagraph): use a temp var for rows().begin()
5736 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5737 (cursorRightOneWord): use temp var for cursor.par() and
5738 cursor.pos(), remove usage of tmpcursor.
5739 (cursorLeftOneWord): use temp var for cursor.par() and
5740 cursor.pos() only set cur at end of function.
5742 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * text.C, text2.C: exchange all usage of Paragraph::next with
5745 boost::next(ParagraphList::iterator)
5747 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5749 * text2.C (cursorTop): simplify implementation
5750 (cursorBottom): ditto
5751 (setParagraph): use ParagraphList::iterator
5752 (setCurrentFont): adjust
5753 (getColumnNearX): adjust
5754 (cursorRight): adjust
5755 (cursorLeft): remove usage of Paragraph::previous
5756 (cursorUpParagraph): ditto
5757 (deleteEmptyParagraphMechanism): slight cleanup
5759 * text.C (isBoundary): take a Paragraph const & instead of a
5761 (addressBreakPoint): ditto
5762 (leftMargin): remove usage of Paragraph::previous.
5763 (setHeightOfRow): ditto
5764 (cursorLeftOneWord): ditto
5765 (selectNextWordToSpellcheck): ditto
5768 (breakParagraph): remove one usage of Paragraph::next
5769 (redoParagraph): ditto
5770 (acceptChange): ditto
5771 (insertChar): adjust
5772 (rowBreakPoint): adjust
5774 * bufferview_funcs.C (toggleAndShow): adjust
5776 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5778 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5779 methods to access it.
5781 * text.C: Added updateRowPositions to compute all row positions.
5782 Make top_y and getRowNearY() to use the cached y position
5784 2003-04-11 John Levon <levon@movementarian.org>
5786 * text.C (rowBreakPoint): reintroduce the labelEnd
5787 checks, code copied from the row fill stuff. Deep voodoo.
5789 * text.C (fill): add a comment and debugging for the
5792 2003-04-11 John Levon <levon@movementarian.org>
5794 * text.C: make sure fullrow insets get wrapped to the next line,
5795 even when they're in a manual label
5797 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * text2.C (insertParagraph): make it take ParagraphList::iterator
5801 (setLayout): make it return ParagraphList::iterator
5802 (redoParagraphs): ditto
5804 (checkParagraph): ditto
5806 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5808 * text2.C: adjust several funcs.
5809 (realizeFont): take a ParagraphList::iterator as arg.
5810 (getLayoutFont): ditto
5811 (getLabelFont): ditto
5812 (setCharFont): ditto
5814 * text.C: adjust several funcs.
5816 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5818 * text.C (selectNextWordToSpellcheck): don't accidentally
5821 2003-04-10 John Levon <levon@movementarian.org>
5823 * ToolbarBackend.C (getIcon): special handling for
5826 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5828 * text2.C (cursorRight): a getChar assert fixed
5830 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * text2.C (getFont): change to take a ParagraphList::iterator
5833 instead of Paragraph*
5834 Adjust several functions.
5836 * text.C (transformChar): change to take a ParagraphList::iterator
5837 instead of Paragraph*
5838 (singleWidth): ditto
5839 Adjust several functions.
5841 * rowpainter.C: adjust several functions
5842 * rowpainter.h:store a ParagraphList::iterator and not a
5846 2003-04-09 John Levon <levon@movementarian.org>
5851 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5852 and the "help" bits as well
5854 2003-04-09 John Levon <levon@movementarian.org>
5857 * ToolbarBackend.C: allow multiple toolbars
5859 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * undo_funcs.C (setCursorParUndo): adjust
5863 * text_funcs.C (transposeChars): adjust
5865 * text3.C (gotoNextInset): adjust
5868 * text2.C (setLayout): adjust
5869 (changeDepth): adjust
5871 (redoParagraphs): adjust
5872 (selectionAsString): adjust
5873 (setParagraph): adjust
5874 (insertInset): adjust
5875 (cutSelection): adjust
5876 (copySelection): adjust
5877 (pasteSelection): adjust
5878 (insertStringAsLines): adjust
5879 (updateInset): adjust
5880 (setCursor): change to take a ParagraphList::iterator parameter
5881 (setCursorIntern): change to take a ParagraphList::iterator parameter
5882 (setCurrentFont): adjust
5883 (cursorLeft): adjust
5884 (cursorRight): adjust
5885 (deleteEmptyParagraphMechanism): adjust
5887 * text.C (breakParagraph): adjust
5888 (insertChar): adjust
5889 (acceptChange): adjust
5890 (rejectChange): adjust
5891 (selectNextWordToSpellcheck): adjust
5892 (changeCase): adjust
5896 * lyxfind.C (SearchForward): adjust
5897 (SearchBackward): adjust
5898 (nextChange): adjust
5900 * lyxcursor.C (par): adjust
5902 * lyxcursor.h: store a ParagraphList::iterator instead of a
5905 * lyx_cb.C (getPossibleLabel): adjust
5907 * bufferview_funcs.C (toggleAndShow): adjust
5909 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5912 * BufferView.C (removeAutoInsets): adjust
5913 (lockedInsetStoreUndo): adjust
5915 2003-04-09 John Levon <levon@movementarian.org>
5917 * ToolbarBackend.C: try icon without argument
5918 if with argument fails
5920 2003-04-08 John Levon <levon@movementarian.org>
5923 * ToolbarBackend.C: add getIcon(), handle tooltip,
5924 and change from "Icon" to "Item".
5926 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5928 * BufferView.C (lockInset): another bad getchar crunched
5930 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5932 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5935 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5937 * lyxfind.C (searchForward, searchBackwards): bug 782
5939 2003-04-07 John Levon <levon@movementarian.org>
5941 * paragraph.C: remove dead comment
5943 * text.C: remove troublesome depth-fiddling code
5944 in leftMargin() and rightMargin() (bug 1017)
5946 * text.C: fix breaking of rows in nested lists
5949 * text2.C (updateCounters): fix up depth values
5952 2003-04-07 John Levon <levon@movementarian.org>
5954 * BufferView_pimpl.C: clear message when doc finishes resizing,
5955 and after a mouse event
5957 * lyxfunc.C: clear message after exiting inset
5959 2003-04-07 John Levon <levon@movementarian.org>
5961 * bufferview_funcs.C: show math status not outside
5962 status in the statusbar
5964 2003-04-07 John Levon <levon@movementarian.org>
5966 * lyxfunc.C: note status changed after a depth change
5968 2003-04-04 Angus Leeming <leeming@lyx.org>
5970 * LaTeX.h: move AuxInfo operator==, != out of line.
5971 Remove LaTeX virtual destructor; nothing derives from it.
5972 Move operator()() out of public area and rename it startscript().
5973 Change protected for private.
5975 2003-04-04 Angus Leeming <leeming@lyx.org>
5978 * text2.C: remove unneeded #includes.
5980 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5982 * text2.C (dEPM): fix the heigth of the next row
5984 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5986 * text.C: squashed an invalid getChar requester + some ws changes
5988 2003-04-03 John Levon <levon@movementarian.org>
5990 * bufferview_funcs.h:
5991 * bufferview_funcs.C:
5994 * text2.C: make getStatus work for the env depth lfuns
5996 2003-04-03 John Levon <levon@movementarian.org>
5998 * bufferview_funcs.h:
5999 * bufferview_funcs.C:
6002 * text2.C: parlistize decDepth(), by merging it with incDepth()
6004 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * lyxrow.h: store a ParagraphList::iterator instead of a
6007 Paragraph* and adjust other class functions to suit.
6009 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6012 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6014 * text2.C (setCursor): do not anchor to cursor row for the time being
6016 2003-04-02 John Levon <levon@movementarian.org>
6023 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6025 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6027 * paragraph.h: make ParagraphList and ParagraphList::iterator
6028 friends of Paragraph.
6030 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6032 * ParagraphList.C: Use the private next_ and previous_ from
6035 2003-04-01 John Levon <levon@movementarian.org>
6039 * Makefile.am: rename, remove defaults gunk
6042 * MenuBackend.C: remove defaults gunk
6045 * Languages.C: remove defaults gunk
6048 * lyx_main.C: error out if files couldn't be found.
6050 2003-04-02 John Levon <levon@movementarian.org>
6052 * text2.C: make incDepth() use parlist
6054 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * undo_funcs.C (firstUndoParagraph): adjust
6058 * text3.C (gotoInset): adjust
6059 (dispatch): adjust, and rewrite loop.
6061 * text2.C (init): adjust, and rewrite loop.
6062 (redoParagraphs): adjust
6063 (updateInset): adjust, and rewrite loop.
6064 (deleteEmptyParagraphMechanism): adjust
6066 * tabular.C (LyXTabular): adjust
6067 (SetMultiColumn): adjust
6070 * lyxtext.[Ch] (ownerParagraph): delete function
6071 (ownerParagraphs): new function returns a ParagraphList.
6073 * BufferView.C (removeAutoInsets): adjust
6074 (insertErrors): adjust
6075 (setCursorFromRow): adjust
6077 2003-04-01 Angus Leeming <leeming@lyx.org>
6079 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6082 2003-04-02 John Levon <levon@movementarian.org>
6088 * text_funcs.C: make transposeChars a free function
6090 * lyxrow_funcs.C: remove wrong comment
6092 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * rowpainter.C: adjust
6100 * lyxrow_funcs. [Ch]: new files
6102 * lyxrow.[Ch]: remove next and previous pointers
6103 (next,previous): remove accessor functions
6104 (isParEnd): move to lyxrow_funcs
6105 (lastPos): move to lyxrow_funcs
6106 (nextRowIsAllInset): move to lyxrow_funcs
6107 (lastPrintablePos): move to lyxrow_funcs
6108 (numberOfSeparators): move to lyxrow_funcs
6109 (numberOfHfills): move to lyxrow_funcs
6110 (numberOfLabelHfills): move to lyxrow_funcs
6111 (hfillExpansion): move to lyxrow_funcs
6115 * bufferview_funcs.C (toggleAndShow): adjust
6117 * RowList.h: Remove class RowList from file leave just a
6120 * RowList.C: delete file
6122 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6125 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * text3.C (cursorPrevious): adjust
6128 (cursorNext): adjust
6131 * text2.C (redoHeightOfParagraph): adjust
6132 (redoDrawingOfParagraph): adjust
6135 * text.C (breakParagraph): adjust
6136 (insertChar): adjust
6139 * rowpainter.C (RowPainter): adjust
6140 (leftMargin): simplify and adjust
6141 (most rowpainter functions): adjust.
6143 * rowpainter.h: store the row as RowList::iterator not as Row*
6145 * lyxcursor.C (row): taka RowList::iterator as arg
6148 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6151 2003-04-01 Angus Leeming <leeming@lyx.org>
6153 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6154 stuff like bool Bool.
6156 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6158 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6161 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6163 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6166 * lyxtext.h (rows): drop one version and leve a const variant that
6167 returns a RowList::iterator.
6169 2003-03-31 Angus Leeming <leeming@lyx.org>
6171 * text.C (fill): ensure that the signature is the same as that in the
6174 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6176 * text2.C (redoParagraphs): adjust
6177 (updateCounters): adjust
6178 (checkParagraph): adjust
6179 (getColumnNearX): adjust and reformat a bit.
6181 * text.C (top_y): adjust
6183 (leftMargin): adjust
6184 (prepareToPrint): adjust
6186 (getRowNearY): adjust
6188 * lyxtext.h: make rowlist_ mutable.
6190 * RowList.h: add const_iterator
6191 * RowList.C: adjust for RowList::const_iterator.
6193 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6196 2003-03-31 John Levon <levon@movementarian.org>
6199 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6201 * lyx_main.C: set default fonts from using lyx_gui funcs
6203 * exporter.C: pdf_mode moved from lyxrc
6206 * lyxfunc.C: changes from above
6208 2003-03-31 John Levon <levon@movementarian.org>
6210 * lyx_main.C: fix to the last fix
6212 2003-03-31 John Levon <levon@movementarian.org>
6214 * bufferlist.C: "Load original" -> "Load Original"
6220 * format.C: more Alert cleanups
6222 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * text2.C (removeParagraph): make it take a RowList::iterator as
6226 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6227 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6229 * text.C (anchor_row): make it take a RowList::iterator as arg,
6231 (computeBidiTables): make it take a const reference to Row instead
6232 of Row pointer, adjust.
6233 (leftMargin): make it take a RowList::iterator as arg, adjust.
6234 (rowBreakPoint): adjust
6235 (breakAgainOneRow): make it take a RowList::iterator as arg,
6237 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6239 * bufferview_funcs.C (toggleAndShow): adjust
6241 2003-03-30 John Levon <levon@movementarian.org>
6245 * boost-inst.C: moved to support
6247 * several files: changes as a result
6249 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * text2.C (LyXText): adjust.
6253 (removeRow): make it take a RowList::iterator as arg, adjust.
6254 (fullRebreak): adjust
6255 (deleteEmptyParagraphMechanism): adjust
6256 (clearPaint): adjust
6259 * text.C (top_y): adjust
6260 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6261 (breakAgain): make it take a RowList::iterator as arg, adjust.
6262 (breakParagraph): adjust
6263 (insertChar): adjust
6266 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6267 need_break_row, and refresh_row.
6269 * text3.C (dispatch): adjust
6271 * text2.C (checkParagraph): adjust
6273 (setCursorFromCoordinates): adjust
6275 * text.C (top_y): adjust
6277 (getRow): make it return a RowList::iterator, adjust
6278 (getRowNearY): make it return a RowList::iterator, adjust
6280 * text2.C (init): adjust
6281 (insertRow): remove function
6282 (insertParagraph): adjust
6283 (redoParagraphs): adjust
6284 (fullRebreak): adjust
6285 (updateCounters): adjust
6287 * text.C (top_y): rewrite to use RowList iterators.
6289 (setHeightOfRow): rewrite to sue RowList iterators.
6290 (appendParagraph): adjust
6291 (breakAgain): adjust
6292 (breakAgainOneRow): adjust
6293 (breakParagraph): adjust
6295 (getRowNearY): adjust, and remove commented code.
6297 * lyxtext.h (firstRow): delete function
6298 (lastRow): delete function
6299 (rows): new function (const and non-const versions.)
6300 (insertRow): delete function
6302 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6304 2003-03-29 John Levon <levon@movementarian.org>
6306 * BufferView_pimpl.C: always update scrollbar top
6307 because pasting text when we're anchored could mean we
6308 miss an update altogether
6310 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * text2.C (init): use rowlist_.end() and not 0.
6313 (insertRow): change to take a RowList::iterator as arg, adjust
6315 (insertParagraph): change to take a RowList::iterator as arg,
6317 (redoParagraphs): remove some debug msgs.
6319 * text.C (appendParagraph): change to take a RowList::iterator
6320 arg, adjust for this.
6321 (breakAgain): add an assert
6322 (breakAgainOneRow): ditto
6324 2003-03-29 John Levon <levon@movementarian.org>
6326 * text2.C: do not clear selection after inc/decDepth
6329 2003-03-29 John Levon <levon@movementarian.org>
6332 * buffer.C: fix broken strerrors according to Lars
6334 2003-03-29 John Levon <levon@movementarian.org>
6336 * converters.C: more Alert cleanups
6338 2003-03-29 John Levon <levon@movementarian.org>
6340 * bufferview_funcs.C: remove pointless Alert
6342 * buffer.C: fix confusing error message when
6343 a template is chmoded 000
6345 2003-03-29 John Levon <levon@movementarian.org>
6349 * BufferView_pimpl.C: Alert fixes
6353 * tabular-old.C: remove unused table compat reading
6355 2003-03-29 John Levon <levon@movementarian.org>
6360 * lyx_cb.C: more Alert cleanups
6362 * lyxfunc.C: don't allow chktex if not latex document
6364 2003-03-29 John Levon <levon@movementarian.org>
6368 * buffer.C: warnings pushed down from support/,
6371 2003-03-29 John Levon <levon@movementarian.org>
6373 * lyxfunc.C: safety check for C-r (revert)
6375 2003-03-29 John Levon <levon@movementarian.org>
6378 * bufferlist.C: several UI fixes using Alert::prompt.
6379 Fix the pointless looping quit code. Fix stupid revert
6384 * lyx_cb.C: use Alert::prompt
6386 * lyx_main.C: remove a silly question
6388 * lyxfunc.C: remove a couple of silly questions,
6391 2003-03-28 John Levon <levon@movementarian.org>
6393 * text2.C: fix bug 974 (End on empty par)
6395 2003-03-28 John Levon <levon@movementarian.org>
6397 * BufferView_pimpl.C:
6399 * lfuns.h: remove do-nothing math greek lfuns
6401 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * lyxgluelength.h (isValidGlueLength): add default arg on
6404 parameter 2. Remove default arg from friend in class.
6406 * lyxlength.h (isValidLength): add default arg on parameter 2.
6407 Remove default arg from friend in class.
6409 * text2.C (LyXText): adjust, initialize refresh_row.
6413 (insertParagraph): adjst
6414 (redoParagraphs): adjust
6415 (fullRebreak): adjust
6416 (updateCounters): adjust
6417 (deleteEmptyParagraphMechanism): first attempt at fixing a
6420 * text.C (top_y): adjust
6421 (setHeightOfRow): adjust
6423 (getRowNearY): adjust
6425 * lyxtext.h: include RowList.h
6426 (~LyXText): not needed anymore, deleted.
6427 (firstRow): modify for RowList
6428 (lastRow): new function
6429 Delete firstrow and lastrow class variables, add a Rowlist
6430 rowlist_ class variable.
6432 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6435 * RowList.C (insert): fix case where it == begin().
6437 2003-03-26 Angus Leeming <leeming@lyx.org>
6439 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6440 the thesaurus dialog.
6442 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6446 * RowList.[Ch]: new files
6448 * ParagraphList.C (erase): handle the case where it == begin
6451 2003-03-25 John Levon <levon@movementarian.org>
6455 * aspell.C: add new aspell support
6458 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6461 2003-03-25 Angus Leeming <leeming@lyx.org>
6464 * LyXAction.C (init): new LFUN_INSET_INSERT.
6466 * BufferView_pimpl.C (dispatch): split out part of the
6467 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6469 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6472 2003-03-25 Angus Leeming <leeming@lyx.org>
6474 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6476 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6479 * text3.C: remove useless row->height(0)
6481 2003-03-25 John Levon <levon@movementarian.org>
6485 * text3.C: rename the refreshing stuff to better names
6487 2003-03-24 John Levon <levon@movementarian.org>
6489 * BufferView_pimpl.h:
6490 * BufferView_pimpl.C: update layout choice on a mouse
6493 2003-03-23 John Levon <levon@movementarian.org>
6495 * Makefile.am: fix commandtags.h reference
6497 2003-03-22 John Levon <levon@movementarian.org>
6499 * BufferView_pimpl.C:
6504 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6506 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6509 * text.C: take the rtl methods out of line
6511 2003-03-21 André Pönitz <poenitz@gmx.net>
6513 * metricsinfo.[Ch]: new files containing structures to be passed around
6514 during the two-phase-drawing...
6516 2003-03-21 André Pönitz <poenitz@gmx.net>
6518 * lyxtextclass.C: read 'environment' tag.
6520 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6522 * text2.C (removeRow): fix bug 964
6524 2003-03-20 John Levon <levon@movementarian.org>
6528 * text2.C: paint cleanups. Inset::update() dropped font
6531 2003-03-19 John Levon <levon@movementarian.org>
6533 * lyxfunc.C: only fitcursor/markDirty if available()
6535 2003-03-19 John Levon <levon@movementarian.org>
6537 * commandtags.h: rename to ...
6539 * lfuns.h: ... this, and renumber / cleanup
6541 2003-03-19 John Levon <levon@movementarian.org>
6543 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6544 fit the cursor after an lfun
6548 * BufferView_pimpl.h:
6549 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6551 * LyXAction.C: layout-character should have ReadOnly
6553 * ParagraphParameters.C:
6555 * bufferview_funcs.C:
6562 * undo_funcs.C: changes from above
6564 2003-03-18 John Levon <levon@movementarian.org>
6566 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6567 remove it from update()
6569 * lyxfunc.C: update layout choice after an lfun
6571 * text3.C: remove extra updateLayoutChoice()s
6573 2003-03-18 John Levon <levon@movementarian.org>
6575 * text.C: top_y change means full repaint, fix
6576 a drawing bug with cursor movement
6578 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6582 * text2.C: anchor row on setCursor
6584 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6586 * lyxtext.h: remove almost all mutable keywords
6589 * text3.C: remove const keywords accordingly
6591 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6595 (TeXEnvironment): ditto
6598 2003-03-17 John Levon <levon@movementarian.org>
6600 * text.C (rowBreakPoint): remove attempt to fix displayed
6601 math insets inside a manual label
6603 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6605 * lyxtext.h: remove BufferView* as first arg from almost all class
6607 * other files: adjust.
6609 2003-03-17 John Levon <levon@movementarian.org>
6613 * text2.C: more paint cleanups
6615 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6618 * rowpainter.C: remove "smart" background painting code
6620 2003-03-16 John Levon <levon@movementarian.org>
6625 * text3.C: add helper functions for setting refresh_row/y
6627 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6629 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6630 newline inset which *can* get inserted in the pass_thru layouts.
6631 This is primarily for literate documents.
6633 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6635 * buffer.C: increment LYX_FORMAT to 223
6637 2003-03-14 André Pönitz <poenitz@gmx.net>
6639 * textclass.h: prepare for environment handling, ws changes
6640 * lyxlayout.C: read latexheader and latexfooter tags
6642 2003-03-14 John Levon <levon@movementarian.org>
6644 * text2.C: rewrite ::status() a bit
6646 2003-03-13 John Levon <levon@movementarian.org>
6648 * lyxtext.h: add some docs
6650 2003-03-13 John Levon <levon@movementarian.org>
6655 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6657 2003-03-13 John Levon <levon@movementarian.org>
6659 * text3.C: fix appendix redrawing
6661 2003-03-13 John Levon <levon@movementarian.org>
6663 * text.C (setHeightOfRow):
6665 * rowpainter.C: make appendix mark have the text
6666 "Appendix" so the user knows what it is
6669 * LColor.C: s/appendixline/appendix/ from above
6671 2003-03-13 John Levon <levon@movementarian.org>
6673 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6675 * text.C: fix a getChar(pos) bug properly
6677 2003-03-13 Angus Leeming <leeming@lyx.org>
6680 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6681 Probably only temporary. Let's see how things pan out.
6683 * BufferView.C (unlockInset):
6684 * BufferView_pimpl.C (fitCursor):
6685 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6687 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6688 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6690 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6691 new functions that convert ParagraphParameters to and from a string.
6693 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6694 BufferView::Pimpl's dispatch.
6695 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6697 2003-03-13 André Pönitz <poenitz@gmx.net>
6701 * factory.C: make it aware of InsetEnv
6703 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * text2.C (setCursor): never ask for one past last
6706 (setCursor): add some debugging messages.
6708 * text.C (singleWidth): never ask for one past last
6709 (singleWidth): ditto
6711 (rightMargin): ditto
6712 (rowBreakPoint): ditto
6713 (setHeightOfRow): ditto
6714 (prepareToPrint): ditto
6716 * rowpainter.C (paintBackground): never ask for one past last
6717 (paintText): never ask for one past last
6719 * paragraph_pimpl.C (getChar): make the assert stricter, never
6720 allow the one past last pos to be taken
6722 * paragraph.C (getChar): ws changes only
6724 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6725 (numberOfSeparators): ditto
6726 (numberOfHfills): ditto
6728 2003-03-12 John Levon <levon@movementarian.org>
6734 * paragraph_funcs.C: fix per-buffer authorlists
6736 2003-03-12 John Levon <levon@movementarian.org>
6738 * text.C: fix newline in right address
6740 2003-03-12 Angus Leeming <leeming@lyx.org>
6742 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6743 duplicate those in LyXFunc::dispatch.
6747 * ToolbarDefaults.C:
6748 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6749 Add LFUN_FONTFREE_UPDATE.
6751 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6752 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6754 * bufferview_func.[Ch]: several new functions to facilliate
6755 transfer of data to and from the character dialog.
6757 2003-03-12 John Levon <levon@movementarian.org>
6762 * paragraph_funcs.C:
6763 * paragraph_pimpl.C:
6767 * text3.C: remove META_NEWLINE in favour of an inset
6770 * rowpainter.C: remove paintNewline (done by inset)
6772 2003-03-12 John Levon <levon@movementarian.org>
6774 * paragraph_pimpl.C: complain about bad getChar()s
6775 for a while at least
6777 2003-03-12 John Levon <levon@movementarian.org>
6780 * buffer.C: move paragraph read into a separate function,
6781 a little renaming to reflect that.
6784 * bufferparams.C: remove the author_ids map, not necessary now
6787 * factory.C: moved Buffer::readInset to here
6789 * paragraph_funcs.h:
6790 * paragraph_funcs.C: readParagraph free function moved from
6793 * tabular.C: name change
6795 2003-03-12 John Levon <levon@movementarian.org>
6798 * ParagraphParameters.C: move par params input to
6801 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6802 behave like a normal read from the stream wrt reading
6803 a line vs. a \\token
6805 2003-03-12 John Levon <levon@movementarian.org>
6808 * ParagraphParameters.h:
6809 * ParagraphParameters.C: move output code to a
6812 2003-03-12 John Levon <levon@movementarian.org>
6814 * BufferView.C (insertLyXFile):
6817 * tabular.C: use a parlist iterator for creating the
6820 2003-03-12 John Levon <levon@movementarian.org>
6822 * buffer.C: make current_change static local not
6825 2003-03-12 John Levon <levon@movementarian.org>
6827 * buffer.C: fix insertStringAsLines for change tracking
6829 2003-03-12 John Levon <levon@movementarian.org>
6836 * bufferparams.C: move author list into params. Rename some
6837 functions. Move the header reading into a separate token
6838 loop. Move the header token reading into BufferParams.
6840 2003-03-12 John Levon <levon@movementarian.org>
6842 * changes.C: put debug inside lyxerr.debugging() checks
6844 2003-03-11 André Pönitz <poenitz@gmx.net>
6846 * factory.C: make it aware of InsetHFill
6848 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6850 * buffer.C (latexParagraphs): move function from here...
6851 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6854 2003-03-10 Angus Leeming <leeming@lyx.org>
6856 * LyXAction.C (init): fix bug in poplating array with multiple entries
6857 with the same LFUN (spotted by JMarc).
6859 2003-03-10 John Levon <levon@movementarian.org>
6862 * text2.C: move getColumnNearX() near its
6865 2003-03-10 John Levon <levon@movementarian.org>
6867 * text.C: fix break before a minipage
6869 2003-03-10 John Levon <levon@movementarian.org>
6871 * text.C: fix the last commit
6873 2003-03-09 John Levon <levon@movementarian.org>
6877 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6878 bug 365 (don't break before insets unless needed). Don't
6879 return a value > last under any circumstances.
6881 2003-03-09 Angus Leeming <leeming@lyx.org>
6883 * BufferView_pimpl.C (trackChanges, dispatch): call
6884 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6886 2003-03-09 Angus Leeming <leeming@lyx.org>
6888 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6889 than Dialogs::showAboutlyx().
6891 2003-03-09 Angus Leeming <leeming@lyx.org>
6893 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6894 than Dialogs::showTabularCreate().
6896 2003-03-09 John Levon <levon@movementarian.org>
6900 * text2.C: 3rd arg to nextBreakPoint was always the same.
6903 2003-03-08 John Levon <levon@movementarian.org>
6910 * text2.C: Remove the "main" bit from the "main body"
6913 2003-03-08 John Levon <levon@movementarian.org>
6915 * text.C (leftMargin): The left margin of an empty
6916 manual label paragraph should not include the label width
6919 * text.C (prepareToPrint): don't attempt to measure hfills
6920 for empty manual label paragraphs - the answer should be 0
6922 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6924 * CutAndPaste.C: remove commented code and reindent.
6926 2003-03-08 John Levon <levon@movementarian.org>
6929 * lyxfunc.C: move reloadBuffer()
6932 * BufferView.C: to here
6934 * lyxvc.C: add comment
6937 * vc-backend.C: call bv->reload() to avoid
6938 getStatus() check on MENURELOAD
6940 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6942 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6943 to an old format .dep file.
6945 2003-03-07 Angus Leeming <leeming@lyx.org>
6947 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6948 when the LFUN_MOUSE_RELEASE should have been handled by
6949 inset->localDispatch.
6951 2003-03-07 Angus Leeming <leeming@lyx.org>
6953 * BufferView_pimpl.C (dispatch):
6954 * LyXAction.C (init):
6955 * ToolbarDefaults.C (init):
6957 * lyxfunc.C (getStatus):
6958 remove LFUN_INSET_GRAPHICS.
6960 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6962 2003-03-07 Angus Leeming <leeming@lyx.org>
6965 * LyXAction.C (init):
6966 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6968 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6971 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6973 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6974 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6976 2003-03-07 Angus Leeming <leeming@lyx.org>
6978 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6981 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * ParagraphList.C (front): new function
6986 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6988 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6989 and top_row_offset_. removed var first_y.
6991 * text2.C (LyXText, removeRow):
6993 * BufferView_pimpl.C:
6994 use these methods instead of using first_y
6996 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6998 * text2.C (pasteSelection): adjust for checkPastePossible
7000 * CutAndPaste.C: remove Paragraph * buf and replace with
7001 ParagraphList paragraphs.
7002 (DeleteBuffer): delete
7003 (cutSelection): change the tc type to textclass_type
7004 (copySelection): change the tc type to textclass_type
7005 (copySelection): adjust for ParagraphList
7006 (pasteSelection): change the tc type to textclass_type
7007 (pasteSelection): adjust for Paragraphlist
7008 (nrOfParagraphs): simplify for ParagraphList
7009 (checkPastePossible): simplify for ParagraphList
7010 (checkPastePossible): remove unused arg
7012 * ParagraphList.C (insert): handle the case where there are no
7015 * CutAndPaste.h: make CutAndPaste a namespace.
7017 * text3.C (dispatch): adjust
7019 * text.C (breakParagraph): add a ParagraphList as arg
7021 * paragraph_funcs.C (breakParagraph): change to take a
7022 BufferParams and a ParagraphList as args.
7023 (breakParagraphConservative): ditto
7024 (mergeParagraph): ditto
7025 (TeXDeeper): add a ParagraphList arg
7026 (TeXEnvironment): ditto
7029 * buffer.C (readLyXformat2): adjust
7030 (insertStringAsLines): adjust
7031 (latexParagraphs): adjust
7033 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7034 (cutSelection): adjust
7035 (pasteSelection): adjust
7037 * BufferView_pimpl.C (insertInset): adjust
7039 2003-03-05 Angus Leeming <leeming@lyx.org>
7042 * LyXAction.C (init):
7043 * BufferView_pimpl.C (dispatch):
7044 * lyxfunc.C (getStatus):
7045 remove LFUN_CHILD_INSERT.
7047 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7049 2003-03-05 Angus Leeming <leeming@lyx.org>
7052 * LyXAction.C (init):
7053 * src/factory.C (createInset):
7054 * lyxfunc.C (getStatus):
7055 * text3.C (dispatch):
7056 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7058 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7060 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * ParagraphList.C (insert): handle insert right before end()
7063 (erase): fix cases where it can be first or last paragraph.
7065 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7068 Paragraph::next and Paragraph::previous
7071 * text.C (breakParagraph): adjust
7073 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7074 BufferParams& as arg.
7075 (breakParagraph): use ParagraphList::insert
7076 (breakParagraphConservative): take a Buffer* instead of a
7077 BufferParams& as arg.
7078 (breakParagraphConservative): use ParagraphList::insert.
7080 * buffer.C (insertStringAsLines): un-const it
7081 (insertStringAsLines): adjust
7083 * ParagraphList.C (insert): new function
7085 * CutAndPaste.C (pasteSelection): adjust
7087 * text.C (backspace): adjust
7089 * tabular.C (SetMultiColumn): adjust
7091 * CutAndPaste.C (cutSelection): adjust
7092 (pasteSelection): adjust
7094 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7095 Buffer const * as arg
7097 * ParagraphList.C (erase): new function
7098 * paragraph_funcs.C (mergeParagraph): use it
7099 (mergeParagraph): make it take a Buffer* instead of a
7100 BufferParams* as arg
7102 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7104 (breakParagraphConservative): ditto
7106 * paragraph.h: remove the breakParagraph friend
7108 * paragraph.C (eraseIntern): new function
7109 (setChange): new function
7111 * paragraph_funcs.C (mergeParagraph): make it take a
7112 ParagraphList::iterator instead of a Paragraph *, adjust
7115 * paragraph.h: move an #endif so that the change tracking stuff
7116 also works in the NO_NEXT case.
7118 2003-03-04 Angus Leeming <leeming@lyx.org>
7121 * LyXAction.C: new LFUN_INSET_MODIFY.
7123 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7124 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7126 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * several files: ws changes only
7130 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7131 (TeXEnvironment): ditto
7134 * buffer.C (makeLaTeXFile): adjust
7135 (latexParagraphs): make it take ParagraphList::iterator as args
7137 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * buffer.C (latexParagraphs): adjust
7141 * paragraph.C (TeXOnePar): move function...
7142 (optArgInset): move function...
7143 (TeXEnvironment): move function...
7144 * paragraph_pimpl.C (TeXDeeper): move function...
7145 * paragraph_funcs.C: ...here
7147 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7149 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * buffer.C (readInset): remove compability code for old Figure and
7154 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7156 * buffer.C: ws changes
7159 * BufferView_pimpl.C: ditto
7162 * bufferlist.h: ditto
7166 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7168 * converter.[Ch]: split into itself +
7171 * Makefile.am: += graph.[Ch] + format.[Ch]
7178 * lyxrc.C: added #include "format.h"
7180 2003-02-27 Angus Leeming <leeming@lyx.org>
7182 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7185 * factory.C (createInset): add "label" to the factory.
7187 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7188 string and do no more.
7190 2003-02-27 Angus Leeming <leeming@lyx.org>
7193 * LyXAction.C (init):
7194 * factory.C (createInset):
7195 * BufferView_pimpl.C (dispatch):
7196 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7198 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7200 * lyxfunc.C (dispatch):
7201 * text3.C (dispatch): pass name to params2string.
7203 2003-02-26 Angus Leeming <leeming@lyx.org>
7205 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7207 Rearrange the ~includes. Strip out the unnecessary ones.
7209 * factory.C (createInset): reformat.
7210 create new insets for the various LFUN_XYZ_APPLY lfuns.
7212 2003-02-26 John Levon <levon@movementarian.org>
7215 * lyxrow.C: add isParStart,isParEnd helpers
7217 * paragraph.h: make isInserted/DeletedText take refs
7219 * paragraph_funcs.h:
7220 * paragraph_funcs.C: remove #if 0'd code
7225 * text.C: use lyxrow helpers above.
7226 Move draw and paint routines to RowPainter.
7227 Make several methods use refs not pointers.
7228 Make backgroundColor() const.
7229 Add markChangeInDraw(), isInInset().
7230 Merge changeRegionCase into changeCase.
7231 Make workWidth() shouldn't-happen code into an Assert.
7234 * rowpainter.C: new class for painting a row.
7237 * vspace.C: make inPixels take a ref
7239 2003-02-26 Angus Leeming <leeming@lyx.org>
7241 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7244 2003-02-25 John Levon <levon@movementarian.org>
7246 * ispell.C: give the forked command a more accurate name
7248 2003-02-22 John Levon <levon@movementarian.org>
7251 * toc.C: make TocItem store an id not a Paragraph *
7254 2003-02-21 Angus Leeming <leeming@lyx.org>
7256 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7257 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7258 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7259 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7260 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7261 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7263 * BufferView_pimpl.C (dispatch):
7264 * LyXAction.C (init):
7265 * factory.C (createInset):
7266 * lyxfunc.C (getStatus, dispatch):
7267 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7269 2003-02-21 Angus Leeming <leeming@lyx.org>
7271 * BufferView_pimpl.C (MenuInsertLyXFile):
7272 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7273 * lyxfunc.C (menuNew, open, doImport):
7274 no longer pass a LyXView & to fileDlg.
7276 2003-02-21 Angus Leeming <leeming@lyx.org>
7278 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7279 * LyXAction.C: change, BIBKEY to BIBITEM.
7280 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7281 Change InsetBibKey to InsetBibitem.
7282 Change BIBKEY_CODE to BIBITEM_CODE.
7283 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7284 * factory.C: replace insetbib.h with insetbibitem.h.
7285 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7286 * paragraph.C: replace insetbib.h with insetbibitem.h.
7287 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7288 Change bibkey() to bibitem().
7289 * text.C: remove insetbib.h.
7290 * text2.C: replace insetbib.h with insetbibitem.h.
7291 change bibkey() to bibitem().
7292 * text3.C: remove insetbib.h.
7293 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7295 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7297 * lyxrc.C (output): enclose user email in quotes (in case there are
7300 2003-02-18 John Levon <levon@movementarian.org>
7302 * buffer.h: add std::
7304 2003-02-17 John Levon <levon@movementarian.org>
7310 * pspell.C: reworking. Especially in ispell, a large
7311 number of clean ups and bug fixes.
7313 * lyxfunc.C: fix revert to behave sensibly
7315 2003-02-17 André Pönitz <poenitz@gmx.net>
7318 * commandtags.h: new LFUN_INSERT_BIBKEY
7328 * paragraph_func.C: remove special bibkey handling
7330 2003-02-17 John Levon <levon@movementarian.org>
7332 * text.C (Delete): fix case where delete at the end of
7333 the very first paragraph would not merge the pars
7335 2003-02-17 John Levon <levon@movementarian.org>
7337 * lyxrow.C: fix lastPrintablePos()
7339 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7341 * bufferparams.C (writeLaTeX): add a std:here
7343 * buffer.C: and remove a using directive there
7345 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * buffer.C (makeLaTeXFile): move the code that generates the
7350 * bufferparams.C (writeLaTeX): ... in this new method
7352 * LaTeXFeatures.C (getEncodingSet): make const
7353 (getLanguages): make const
7355 * MenuBackend.C (binding): returns the binding associated to this
7357 (add): sets the status of each item by calling getStatus. Adds
7359 (read): add support for OptSubMenu
7360 (expand): remove extra separator at the end of expanded menu
7362 2003-02-15 John Levon <levon@movementarian.org>
7365 * BufferView_pimpl.C:
7367 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7368 inset code that had no actual effect. Remove unneeded status
7371 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7373 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7376 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7378 * text.C (drawLengthMarker): also draw an arrow marker for
7379 symbolic lengths (medskip...)
7381 2003-02-14 John Levon <levon@movementarian.org>
7384 * tabular.C: better method names
7386 2003-02-14 John Levon <levon@movementarian.org>
7388 * BufferView_pimpl.C:
7393 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7394 it's a more accurate name. Remove some pointless uses.
7396 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7398 * text2.C (LyXText): change order of initilizers to shut off
7401 2003-02-14 John Levon <levon@movementarian.org>
7403 * buffer.C: use ParIterator for getParFromID()
7407 * paragraph_pimpl.h:
7408 * paragraph_pimpl.C: remove unused getParFromID()
7410 2003-02-14 John Levon <levon@movementarian.org>
7412 * buffer.C: remove some very old #if 0'd parse code
7414 2003-02-13 John Levon <levon@movementarian.org>
7418 * text2.C: move hfillExpansion(), numberOfSeparators(),
7419 rowLast(), rowLastPrintable(), numberofHfills(),
7420 numberOfLabelHfills() ...
7423 * lyxrow.C: ... to member functions here.
7428 * text.C: remove LyXText::beginningOfMainBody(), and call
7429 p->beginningOfMainBody() directly. Move the check for
7430 LABEL_MANUAL into the latter.
7437 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7443 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7444 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7446 2003-02-13 John Levon <levon@movementarian.org>
7448 * CutAndPaste.C: remove debug
7450 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7452 * paragraph.C (asString): remove two unused variables
7454 * lyxtextclass.C (readTitleType):
7456 (LyXTextClass): handle new members titletype_ and titlename_
7458 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7460 2003-02-09 John Levon <levon@movementarian.org>
7463 * buffer.C: replace hand-coded list with a map for the dep clean
7465 2003-02-08 John Levon <levon@movementarian.org>
7467 * LaTeX.C: consolidate code into showRunMessage() helper
7469 2003-02-08 John Levon <levon@movementarian.org>
7474 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7475 and pass the size in explicitly
7477 * BufferView_pimpl.h:
7478 * BufferView_pimpl.C:
7480 * BufferView.C: add getCurrentChange()
7482 * BufferView_pimpl.h:
7483 * BufferView_pimpl.C: handle change lfuns
7485 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7486 for changes. Mark pasted paragraphs as new.
7488 * support/lyxtime.h:
7489 * support/lyxtime.C:
7490 * DepTable.C: abstract time_t as lyx::time_type
7493 * LColor.C: add colours for new text, deleted text, changebars
7495 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7496 package use "usenames" option.
7500 * LyXAction.C: add change lfuns
7504 * author.C: author handling
7507 * buffer.C: add a per-buffer author list, with first entry as
7508 current author. Handle new .lyx tokens for change tracking. Output
7509 author list to .lyx file. Output dvipost stuff to .tex preamble.
7510 Bump lyx format to 222.
7513 * bufferlist.C: add setCurrentAuthor() to reset current author details
7517 * bufferparams.C: add param for tracking
7519 * bufferview_funcs.C: output change info in minibuffer
7523 * changes.C: add change-tracking structure
7526 * debug.C: add CHANGES debug flag
7529 * lyxfind.C: add code for finding the next change piece
7532 * lyxrc.C: add user_name and user_email
7535 * lyxrow.C: add a metric for the top of the text line
7538 * text.C: implement accept/rejectChange()
7541 * text.C: paint changebars. Paint new/deleted text in the chosen
7542 colours. Strike through deleted text.
7546 * paragraph_pimpl.h:
7547 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7548 in the current change to the insert functions. Rework erase to
7549 mark text as deleted, adding an eraseIntern() and a range-based
7550 erase(). Implement per-paragraph change lookup and
7553 * paragraph_funcs.C: Fixup paste for change tracking.
7555 * tabular.C: mark added row/columns as new.
7557 * text.C: fix rowLast() to never return -1. Don't allow
7558 spellchecking of deleted text. Track transpose changes. Don't
7559 allow paragraph break or merge where appropriate.
7561 * text2.C: leave cursor at end of selection after a cut.
7563 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7565 * text.C (getLengthMarkerHeight):
7566 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7567 visible on screen too.
7569 2003-02-07 John Levon <levon@movementarian.org>
7571 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7573 2003-02-05 Angus Leeming <leeming@lyx.org>
7575 * lyxserver.C (read_ready): revert my patch of 11 September last year
7576 as it sends PC cpu through the roof. Presumably this means that
7577 the lyxserver will no longer run on an Alpha...
7579 2003-01-30 Angus Leeming <leeming@lyx.org>
7581 * factory.C (createInset): create an InsetCommandParam of type "index"
7582 and use it to 'do the right thing'.
7584 * text2.C (getStringToIndex): ensure that cursor position is always
7585 reset to the reset_cursor position.
7587 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7589 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7592 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7596 * lyxfunc.C: Output messages with identical spelling, punctuation,
7599 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7601 * MenuBackend.C (expandFormats): List only viewable export formats
7604 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7607 * lyxfunc.C (getStatus): Make sure that formats other than
7608 "fax" can also be disabled
7610 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7612 * text3.C (dispatch): put the lfuns that insert insets in 3
7613 groups, and call doInsertInset with appropriate arguments.
7614 (doInsertInset): new function, that creates an inset and inserts
7615 it according to some boolean parameters.
7617 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * buffer.C (readFile): remember to pass on 'par' when calling
7620 readFile recursively.
7622 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7624 * MenuBackend.C (expandFormats): add "..." to import formats.
7626 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7628 * paragraph.C (asString): Remove XForms RTL hacks.
7630 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7631 * buffer.C: fix typo
7633 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * Makefile.am (LIBS): delete var
7636 (lyx_LDADD): add @LIBS@ here instead.
7638 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7640 * Clarify the meaning of "wheel mouse jump"
7642 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7644 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7647 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7649 * importer.C (Loaders): do not preallocate 3 elements in the
7650 vector, since one ends up with 6 elements otherwise
7652 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * DepTable.C (write): write the file name as last element of the
7655 .dep file (because it may contain spaces)
7656 (read): read info in the right order
7658 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * paragraph_pimpl.C (simpleTeXBlanks):
7661 (simpleTeXSpecialChars):
7662 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7664 * tabular.C (latex): add some missing case statements. Reindent.
7666 * MenuBackend.C (expandToc): remove unused variable.
7668 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7677 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7680 2003-01-05 John Levon <levon@movementarian.org>
7683 * BufferView.C: add getEncoding()
7686 * kbsequence.C: do not store last keypress
7689 * lyxfunc.C: store last keypress here instead. Pass encoding
7692 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7694 * lyx_main.C (init): remove annoying error message when following
7695 symbolic links (bug #780)
7697 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7699 * text.C (insertChar):
7700 * lyxrc.C (getDescription): remove extra spaces
7702 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7704 * lyxrc.C (getDescription): remove extra spaces
7706 2002-12-20 John Levon <levon@movementarian.org>
7708 * text3.C: hack fix for page up/down across tall rows
7710 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7712 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7715 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7717 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7718 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7719 thesaurus is not compiled in
7721 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7723 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7725 2002-12-16 Angus Leeming <leeming@lyx.org>
7728 * lyx_main.C (init): remove override_x_deadkeys stuff.
7730 2002-12-12 John Levon <levon@movementarian.org>
7732 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7733 insert. Only remove shift modifier under strict
7736 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * MenuBackend.C (expandToc): fix crash.
7740 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * MenuBackend.C (expandToc): gettext on float names.
7744 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7746 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7747 implement bool empty() [bug 490]
7749 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7753 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * several files: ws changes
7757 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * text2.C (setCounter): clean up a bit, use boost.format.
7760 (updateCounters): initialize par upon declaration.
7762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7763 if the layout exists. We do not just store the layout any more.
7764 (SwitchLayoutsBetweenClasses): use boost.format
7766 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7768 * converter.C (convert): if from and to files are the same, use a
7769 temporary files as intermediary
7771 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7776 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7778 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7780 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7782 * tabular.C (asciiPrintCell): use string(size, char) instead of
7785 * sgml.C (openTag): fix order of arguments to string constructor
7788 * lyxfunc.C (dispatch): use boost.format
7790 * lots of files: change "c" -> 'c'
7792 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7794 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7796 2002-11-25 Angus Leeming <leeming@lyx.org>
7798 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7800 * lyx_main.C (init): compile fix.
7802 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * lyx_cb.C (start): boost.formatify
7805 do not include <iostream>
7807 * lengthcommon.C: ws only
7809 * boost-inst.C,BoostFormat.h: add more explict instantations
7811 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * lots of files: handle USE_BOOST_FORMAT
7815 2002-11-21 John Levon <levon@movementarian.org>
7817 * pspell.C: fix compile
7819 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7821 * lyxfunc.C (dispatch): use boost::format
7825 * lyxfont.C (stateText): use boost::format
7827 * lyx_main.C (LyX): use boost::format
7829 (queryUserLyXDir): ditto
7832 (typedef boost::function): use the recommened syntax.
7834 * importer.C (Import): use boost::format
7836 * debug.C (showLevel): use boost::format
7838 * converter.C (view): use boost::format
7843 * bufferview_funcs.C (currentState): use boost::format
7845 * bufferlist.C (emergencyWrite): use boost::format
7847 * buffer.C (readLyXformat2): use boost::format
7848 (parseSingleLyXformat2Token): ditto
7850 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7852 * LaTeX.C (run): use boost::format
7854 * Chktex.C (scanLogFile): use boost::format
7856 * BufferView_pimpl.C (savePosition): use boost::format
7857 (restorePosition): ditto
7858 (MenuInsertLyXFile): ditto
7860 * BoostFormat.h: help file for explicit instation.
7862 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7864 * tabular.C (latex): Support for block alignment in fixed width
7867 2002-11-17 John Levon <levon@movementarian.org>
7869 * BufferView_pimpl.C:
7871 * lyxfunc.C: split filedialog into open/save
7873 2002-11-08 Juergen Vigna <jug@sad.it>
7875 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7876 by my last patch (hopefully).
7878 2002-11-08 John Levon <levon@movementarian.org>
7887 * toc.C: ParConstIterator, and use it (from Lars)
7889 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7891 * lyxtextclass.[Ch]: revise and add doxygen comments
7893 2002-11-07 John Levon <levon@movementarian.org>
7895 * text.C: fix progress value for spellchecker
7897 * toc.C: fix navigate menu for insetwrap inside minipage
7899 * paragraph_funcs.C: added FIXME for suspect code
7901 2002-11-07 John Levon <levon@movementarian.org>
7903 * BufferView_pimpl.C: fix redrawing of insets
7906 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7908 * text2.C (updateCounters): fix bug 668
7910 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7912 * text3.C (dispatch): Do not make the buffer dirty when moving the
7915 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7917 * vc-backend.C: STRCONV
7920 * text2.C (setCounter): STRCONV
7922 * paragraph.C (asString): STRCONV
7924 * lyxlength.C (asString): STRCONV
7925 (asLatexString): ditto
7927 * lyxgluelength.C (asString): STRCONV
7928 (asLatexString): ditto
7930 * lyxfunc.C (dispatch): STRCONV
7933 * lyxfont.C (stateText): STRCONV
7935 * importer.C (Import): STRCONV
7937 * counters.C (labelItem): STRCONV
7938 (numberLabel): ditto
7939 (numberLabel): remove unused ostringstream o
7944 * bufferview_funcs.C (currentState): STRCONV
7946 * buffer.C (readFile): STRCONV
7947 (asciiParagraph): ditto
7948 (makeLaTeXFile): ditto
7950 * Spacing.C (writeEnvirBegin): STRCONV
7952 * LaTeXFeatures.C (getLanguages): STRCONV
7953 (getPackages): ditto
7955 (getBabelOptions): ditto
7956 (getTClassPreamble): ditto
7957 (getLyXSGMLEntities): ditto
7958 (getIncludedFiles): ditto
7962 (scanAuxFile): ditto
7965 * LString.h: add the STRCONV macros
7967 * BufferView_pimpl.C (savePosition): STRCONV
7968 (restorePosition): ditto
7969 (MenuInsertLyXFile): ditto
7971 * vc-backend.C (scanMaster): change from submatch[...] to
7974 * funcrequest.C: include config.h
7976 * factory.C: include config.h
7978 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7980 * box.C: include config.h
7982 * LaTeX.C (scanAuxFile): change from submatch[...] to
7986 2002-10-25 Angus Leeming <leeming@lyx.org>
7988 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7990 * ispell.[Ch] (setError): new method.
7991 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7992 Use setError() insetead of goto END.
7994 * lyx_cb.C (AutoSave): move out child process into new class
7997 2002-10-30 John Levon <levon@movementarian.org>
7999 * text3.C: make start appendix undoable
8001 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8003 * lyxlength.C (inPixels): Fix returned value.
8005 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8008 2002-10-24 Angus Leeming <leeming@lyx.org>
8010 * lyxgluelength.h: no need to forward declare BufferParams
8011 or BufferView, so don't.
8013 2002-10-21 John Levon <levon@movementarian.org>
8015 * BufferView.C: menuUndo ->undo, redo
8017 * BufferView.h: document, remove dead, make some methods private
8019 * paragraph_funcs.h:
8020 * paragraph_funcs.C:
8021 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8026 * sgml.C: move sgml open/close tag into sgml.C
8028 * bufferview_funcs.h: unused prototype
8031 * lyxfunc.C: remove unused
8034 * text.C: remove unused
8036 2002-10-21 John Levon <levon@movementarian.org>
8040 * BufferView_pimpl.h:
8041 * BufferView_pimpl.C: fix mouse wheel handling based on
8042 patch from Darren Freeman
8044 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8046 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8048 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8050 * lyxlength.C (inPixels): Fix hanfling of negative length.
8051 Fix LyXLength::MU case.
8053 2002-10-16 John Levon <levon@movementarian.org>
8055 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8057 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8059 * converter.C (view): add support for $$i (file name) and $$p
8060 (file path) for the viewer command. If $$i is not specified, then
8061 it is appended to the command (for compatibility with old syntax)
8063 2002-10-14 Juergen Vigna <jug@sad.it>
8065 * undo_funcs.C (textHandleUndo): alter the order in which the
8066 new undopar is added to the LyXText, as we have to set first
8067 the right prev/next and then add it as otherwise the rebuild of
8068 LyXText is not correct. Also reset the cursor to the right paragraph,
8069 with this IMO we could remove the hack in "redoParagraphs()".
8071 2002-10-09 Angus Leeming <leeming@lyx.org>
8073 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8074 to turn off an optimisation if a new inset is to be inserted.
8076 2002-10-11 André Pönitz <poenitz@gmx.net>
8078 * lyxtext.h: make some functions public to allow access
8079 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8081 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8083 * text3.C (dispatch): when changing layout, avoid an infinite loop
8086 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8088 * lyxrc.C (read): treat a viewer or converter command of "none" as
8091 * MenuBackend.C (expandFormats): for an update, also allow the
8092 formats that are not viewable
8094 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8095 script if it is newer than the lyxrc.defaults in user directory
8097 2002-10-07 André Pönitz <poenitz@gmx.net>
8099 * text.C: Vitaly Lipatov's small i18n fix
8101 2002-09-25 Angus Leeming <leeming@lyx.org>
8103 * ispell.h: doxygen fix.
8105 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8107 * buffer.h (readFile): Add a new argument to the method, to allow
8108 reading of old-format templates.
8110 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8112 * toc.C (getTocList): Get TOC from InsetWrap.
8114 2002-09-16 John Levon <levon@movementarian.org>
8116 * lyxfunc.C: check tabular for cut/copy too
8118 2002-09-12 John Levon <levon@movementarian.org>
8123 * factory.C: add header
8125 * paragraph_funcs.h:
8126 * paragraph_funcs.C: cleanup
8128 2002-09-11 John Levon <levon@movementarian.org>
8130 * PrinterParams.h: odd/even default to true
8132 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8134 * PrinterParams.h: update printer parameters for new xforms dialog
8136 2002-09-11 Angus Leeming <leeming@lyx.org>
8138 * lyxserver.C (read_ready): re-write to make it more transparent
8139 and to make it work in coherent fashion under Tru64 Unix.
8141 2002-09-11 André Pönitz <poenitz@gmx.net>
8145 * text3.C: implement LFUN_WORDSEL
8147 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8149 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8150 make floatlist_ a boost::shared_ptr<FloatList>
8152 * lyxtextclass.C: include FloatList.h
8153 (LyXTextClass): initialize floatlist_
8154 (TextClassTags): add TC_NOFLOAT
8155 (Read): match "nofloat" to TC_NOFLOAT and use it.
8156 (readFloat): modify call to floatlist_
8160 * FloatList.[Ch] (FloatList): remove commented out float
8162 (erase): new function
8164 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8166 * MenuBackend.C (expandToc): fix crash when there is no document
8169 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8171 * many files: Add insetwrap.
8173 2002-09-09 John Levon <levon@movementarian.org>
8175 * text2.C: remove confusing and awkward depth wraparound
8177 2002-09-09 John Levon <levon@movementarian.org>
8179 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8182 * buffer.C: remove getIncludeonlyList()
8185 * lyxfunc.C: remove headers
8187 2002-09-09 Juergen Vigna <jug@sad.it>
8189 * text.C (getColumnNearX): fix form Michael this is most
8190 probably a cut&paste bug.
8192 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8196 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8197 references, ws changes.
8199 * text2.C (init): update counters after init
8200 (insertParagraph): no need to set counter on idividual paragraphs.
8201 (setCounter): access the counters object in the textclass object
8202 on in the buffer object.
8203 (updateCounters): ditto
8205 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8206 shared_ptr<Counters> to avoid loading counters.h in all
8208 (LyXTextClass): initialize ctrs_
8209 (TextClassTags): add TC_COUNTER, and ...
8210 (Read): use it here.
8211 (CounterTags): new tags
8212 (readCounter): new function
8213 (counters): new funtion
8214 (defaultLayoutName): return a const reference
8216 * counters.C (Counters): remove contructor
8217 (newCounter): remove a couple of unneeded statements.
8218 (newCounter): simplify a bit.
8219 (numberLabel): some small formatting changes.
8221 * buffer.[Ch]: remove all traces of counters, move the Counters
8222 object to the LyXTextClass.
8224 2002-09-06 Alain Castera <castera@in2p3.fr>
8226 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8227 package to set the horizontal alignment on fixed width columns.
8230 * lyx_sty.h: added tabularnewline macro def.
8232 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8234 2002-09-06 John Levon <levon@movementarian.org>
8236 * LyXAction.C: tooltips for sub/superscript
8238 * MenuBackend.C: a bit more verbose
8240 * lyxfunc.C: tiny clean
8242 * undo_funcs.C: document undo_frozen
8244 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * counters.C (Counters): add missing algorithm counter.
8248 * text2.C (setCounter): lookup the counter with layouts latexname
8249 instead of by section number.
8250 (setCounter): use a hackish way to lookup the correct enum
8252 a float name->type change
8253 reset enum couners with counter name directly instead of depth value.
8255 * counters.C (Counters): remove the push_backs, change to use the
8256 float type not the float name.
8257 (labelItem): remove unused string, float name->type change
8259 * counters.h: don't include vector, loose the enums and sects vectors
8261 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8264 (Read): add float->TC_FLOAT to textclassTags
8265 (Read): and handle it in the switch
8266 (readFloat): new function
8268 * FloatList.C (FloatList): comment out the hardcoded float
8271 * lyxlayout.h: ws change.
8273 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8275 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8277 2002-09-03 Angus Leeming <leeming@lyx.org>
8279 * BufferView_pimpl.h: qualified name is not allowed in member
8280 declaration: WorkArea & Pimpl::workarea() const;
8282 * factory.C: added using std::endl directive.
8284 * text3.C: added using std::find and std::vector directives.
8286 2002-08-29 André Pönitz <poenitz@gmx.net>
8289 * text2.C: remove unused member number_of_rows
8292 * BufferView2.C: remove file, move contents to...
8293 * BufferView.C: ... here
8295 * BufferView_pimpl.C:
8296 * factory.C: move more inset creation to factory
8298 * vspace.C: avoid direct usage of LyXText, ws changes
8301 don't provide direct access to WorkArea, use two simple
8302 acessors haveSelction() and workHeight() instead
8305 2002-08-29 John Levon <levon@movementarian.org>
8307 * BufferView_pimpl.C (dispatch): do not continue when
8310 2002-08-28 André Pönitz <poenitz@gmx.net>
8312 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8315 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8317 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8319 * buffer.C: increment LYX_FORMAT to 221
8321 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8322 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8324 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8326 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8328 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8330 * factory.C (createInset): use LyXTextClass::floats
8332 * MenuBackend.C (expandFloatListInsert):
8333 (expandFloatInsert):
8336 * text2.C (setCounter):
8338 * LaTeXFeatures.C (useFloat):
8339 (getFloatDefinitions):
8341 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8343 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8344 floatlist_, with accessor floats().
8346 * FloatList.h: remove global FloatList
8348 2002-08-26 André Pönitz <poenitz@gmx.net>
8350 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8354 * BufferView_pimpl.C:
8355 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8357 2002-08-25 John Levon <levon@movementarian.org>
8359 * LyXAction.C: fix margin note description
8361 2002-08-24 John Levon <levon@movementarian.org>
8365 * bufferview_funcs.C:
8367 * undo_funcs.C: cleanups
8369 * lyxfunc.C: disable CUT/COPY when no selection
8371 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8373 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8374 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8376 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8377 Add backward compatibility to "mono", "gray" and "no".
8379 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8381 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8382 (and file_format >= 200).
8384 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8386 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8388 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8390 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8392 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8394 * BufferView_pimpl.C:
8401 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8402 inset and code to make it work with the paragraph code. The inset
8403 can be anywhere in the paragraph, but will only do the expected
8404 thing in LaTeX if the layout file contains the parameter line
8406 (or more generally, a nonzero value) for that layout.
8408 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * paragraph.h: remove the declaration of undefined counters class
8413 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8415 * text2.C (setCounter): fixed enumeration mis-count as reported by
8416 Dr. Richard Hawkins.
8418 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8420 * paragraph_funcs.h: remove some unneeded includes
8422 * text.C (backspace): pasteParagraph now in global scipe
8424 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8425 (pasteSelection): ditto
8427 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8428 * paragraph_funcs.C (pasteParagraph): ... here
8430 2002-08-20 André Pönitz <poenitz@gmx.net>
8432 * commandtags.h: new LFUNs for swapping/copying table row/colums
8435 * lyxfunc.C: support for new lfuns
8437 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * buffer.[Ch]: remove NO_COMPABILITY stuff
8442 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8444 * boost.C (throw_exception): new file, with helper function for
8445 boost compiled without exceptions.
8450 * ParameterStruct.h:
8451 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8453 * bufferlist.C (emergencyWriteAll): use boost bind
8455 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8457 * text.C: include paragraph_funcs.h
8458 (breakParagraph): breakParagraph is now in global scope
8460 * paragraph_funcs.[Ch]: new files
8462 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8465 * buffer.C: include paragraph_funcs.h
8466 (insertStringAsLines): breakParagraph is now in global scope
8468 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8471 * CutAndPaste.C: include paragraph_funcs.h
8472 (cutSelection): breakParagraphConservative is now in global scope
8473 (pasteSelection): ditto
8475 * buffer.h: declare oprator== and operator!= for
8476 Buffer::inset_iterator
8478 * bufferlist.C (emergencyWrite): don't use fmt(...)
8480 * text3.C: add using std::endl
8482 * BufferView.C (moveCursorUpdate): remove default arg
8484 2002-08-20 André Pönitz <poenitz@gmx.net>
8486 * buffer.[Ch]: move inline functions to .C
8489 * BufferView_pimpl.C:
8491 * buffer.[Ch]: use improved inset_iterator
8494 * paragraph.[Ch]: write one paragraph at a time
8496 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8498 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8499 style if style is not specified.
8501 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8503 * text2.C (setCounter): when searching for right label for a
8504 caption, make sure to recurse to parent insets (so that a caption
8505 in a minipage in a figure float works) (bug #568)
8507 2002-08-20 André Pönitz <poenitz@gmx.net>
8509 * text3.C: new file for LyXText::dispatch() and helpers
8511 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8513 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8515 2002-08-19 André Pönitz <poenitz@gmx.net>
8518 * text.C: new LyXText::dispatch()
8520 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8522 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8524 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8526 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8529 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8531 * Makefile.am: use $(variables) instead of @substitutions@
8533 2002-08-15 André Pönitz <poenitz@gmx.net>
8536 * BufferView_pimpl.C: streamlining mathed <-> outer world
8540 * LyXAction.C: remove unused LFUN_MATH
8542 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8546 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8548 * paragraph.C (Paragraph): reformat a bit
8549 (cutIntoMinibuffer): use builtin InsetList function instad of
8553 * buffer.C: include boost/bind.hpp, add using std::for_each
8554 (writeFileAscii): use ParagraphList iterators
8555 (validate): use for_each for validate traversal of paragraphs
8556 (getBibkeyList): use ParagraphList iterators
8557 (resizeInsets): use for_each to resizeInsetsLyXText for all
8559 (getParFromID): use ParagraphList iterators
8561 * BufferView2.C (lockInset): use paragraph list and iterators
8563 2002-08-14 John Levon <levon@movementarian.org>
8565 * lyxserver.C: remove spurious xforms include
8567 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8569 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8571 2002-08-13 André Pönitz <poenitz@gmx.net>
8574 * lyxfunc.C: further cleaning
8576 2002-08-13 André Pönitz <poenitz@gmx.net>
8578 * funcrequest.h: new constructor
8580 * funcrequest.C: move stuff here from .h
8583 * BufferView_pimpl.C:
8586 * lyxfunc.C: subsequent changes
8588 * lyxfunc.h: new view() member function
8590 * lyxfunc.C: subsequent changes
8592 2002-08-13 Angus Leeming <leeming@lyx.org>
8595 * BufferView_pimpl.C:
8603 changes due to the changed LyXView interface that now returns references
8604 to member variables not pointers.
8606 2002-08-13 Angus Leeming <leeming@lyx.org>
8608 * WordLangTuple (word, lang_code): return references to strings,
8613 * lyxtext.h: forward-declare WordLangTuple.
8618 * text.C: #include "WordLangTuple.h".
8621 * text.C: (selectNextWordToSpellcheck): constify return type.
8623 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8629 * paragraph_pimpl.h:
8632 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8634 Made updateCounter always count from start of buffer, and removed
8635 second argument (par).
8636 Reverted floats number display to '#'. Perhaps I'll try again when the
8637 code base is sanitized a bit.
8639 2002-08-12 Angus Leeming <leeming@lyx.org>
8641 * buffer.[Ch] (getLabelList): constify.
8643 2002-08-07 André Pönitz <poenitz@gmx.net>
8645 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8647 * funcrequest.h: extension to keep mouse (x,y) position
8649 2002-08-12 Juergen Vigna <jug@sad.it>
8651 * BufferView2.C (insertErrors): forbid undo when inserting error
8654 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8656 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8658 * ParagraphList.[Ch]: new files
8660 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8662 * BufferView2.C (lockInset): ParagraphList changes
8665 * bufferlist.C: ditto
8669 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8672 unused class variable counter_,
8674 * paragraph.[Ch] (getFirstCounter): delete unused function
8676 * counters.C: include LAssert.h
8677 (reset): add a new function with no arg, change other version to
8678 not have def. arg and to not allow empty arg.
8680 * text2.C (setCounter): remove empty arg from call to Counters::reset
8682 2002-08-11 John Levon <levon@movementarian.org>
8684 * Makefile.am: add WordLangTuple.h
8686 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8688 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8689 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8691 * insets/insettext.C: InsetList changes
8693 * graphics/GraphicsSupport.C (operator()): InsetList changes
8695 * toc.C (getTocList): InsetList changes
8697 * paragraph_pimpl.[Ch]: InsetList changes
8699 * paragraph.[Ch]: InsetList changes
8701 * buffer.C (inset_iterator): InsetList changes
8702 (setParagraph): ditto
8703 * buffer.h (inset_iterator): ditto
8704 * iterators.C (operator++): ditto
8705 * iterators.h: ditto
8707 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8709 * InsetList.[Ch]: new files, most InsetList handling moved out of
8712 * BufferView2.C (removeAutoInsets): InsetList changes
8714 (ChangeInsets): ditto
8716 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8718 * paragraph_pimpl.h (empty): new function
8720 * paragraph.[Ch] (empty): new function
8722 * other files: use the new Paragraph::empty function
8724 2002-08-09 John Levon <levon@movementarian.org>
8726 * lyxtext.h: remove unused refresh_height
8728 2002-08-09 John Levon <levon@movementarian.org>
8735 * paragraph.C: move sgml char escaping out of paragraph
8738 * paragraph.C: remove id setter
8742 * paragraph_pimpl.C: remove dead tex_code_break_column
8744 * bufferview_funcs.C: small cleanup
8746 * lyxfunc.C: remove dead proto
8748 * lyxtext.h: make some stuff private. Remove some dead stuff.
8750 * lyxgluelength.C: make as[LyX]String() readable
8752 2002-08-08 John Levon <levon@movementarian.org>
8757 * ToolbarDefaults.C:
8760 * toc.C: lyxaction cleanup
8762 2002-08-08 John Levon <levon@movementarian.org>
8764 * BufferView2.C: small cleanup
8767 * lyxfind.C: move unnecessary header into the .C
8769 2002-08-08 John Levon <levon@movementarian.org>
8771 * funcrequest.h: just tedious nonsense
8774 * lyx_main.C: cleanups
8777 * vspace.C: remove dead header lyx_main.h
8779 2002-08-07 Angus Leeming <leeming@lyx.org>
8782 * paragraph_pimpl.h:
8783 Forward declare class Counters in paragraph.h by moving the ctrs member
8784 variable into Paragraph::Pimpl.
8785 (counters): new method, returning a reference to pimpl_->ctrs.
8787 * text2.C: ensuing changes.
8789 2002-08-07 John Levon <levon@movementarian.org>
8791 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8793 * BufferView_pimpl.C: announce X selection on double/triple
8796 * lyx_main.C: use correct bool in batch dispatch
8798 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8800 2002-08-07 André Pönitz <poenitz@gmx.net>
8802 * funcrequest.h: new class to wrap a kb_action and its argument
8805 * BufferView_pimpl[Ch]:
8809 * lyxrc.C: subsequent changes
8812 2002-08-07 John Levon <levon@movementarian.org>
8814 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8815 document options change.
8817 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8822 * makefile.am: move counters functionality over from
8823 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8825 2002-08-06 John Levon <levon@movementarian.org>
8827 * WordLangTuple.h: new file for word + language code tuple
8838 * BufferView2.C: use WordLangTuple
8841 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8843 2002-08-06 John Levon <levon@movementarian.org>
8845 * lyx_main.C: fix cmdline batch handling
8847 2002-08-06 André Pönitz <poenitz@gmx.net>
8849 * lyxrc.C: set default for show_banner to true
8851 2002-08-06 John Levon <levon@movementarian.org>
8853 * pspell.C: fix a crash, and allow new aspell to work
8855 2002-08-06 John Levon <levon@movementarian.org>
8858 * kbmap.C: small cleanup
8861 * vspace.C: add const
8863 2002-08-05 John Levon <levon@movementarian.org>
8865 * LyXAction.C: back to tabular-insert
8867 2002-08-04 John Levon <levon@movementarian.org>
8870 * BufferView.C: cosmetic change
8872 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8882 * BufferView2.C: purge all "Lyx" not "LyX" strings
8885 * lyxcursor.C: attempt to add some documentation
8890 * ToolbarDefaults.C:
8891 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8892 merge with LFUN_TABULAR_INSERT
8899 * pspell.C: split up i/pspell implementations into separate
8900 files, many cleanups
8902 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8904 * text2.C: some cleanup
8906 * lyxfunc.C: don't check for isp_command == "none" any more, it
8907 didn't make any sense
8909 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8914 * makefile.am: move counters functionality over
8915 from text2.C/paragraph.[Ch] to counters.[Ch], and
8917 2002-08-02 John Levon <levon@movementarian.org>
8919 * buffer.C: s/lyxconvert/lyx2lyx/
8921 2002-08-02 Angus Leeming <leeming@lyx.org>
8923 * lyxlex.C: revert John's change as it breaks reading of the user
8926 2002-08-02 Angus Leeming <leeming@lyx.org>
8928 * importer.C (Import):
8929 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8930 changes due to LyXView::view() now returning a boost::shared_ptr.
8932 2002-08-02 John Levon <levon@movementarian.org>
8934 * lyxlex.C: small cleanup
8936 2002-08-02 John Levon <levon@movementarian.org>
8938 * text2.C (status): small cleanup, no logic change
8940 2002-08-01 John Levon <levon@movementarian.org>
8943 * buffer.C (writeFile): don't output alerts, caller
8947 * lyx_cb.C: from above
8949 * lyxfunc.C: allow to open non-existent files
8951 2002-07-31 John Levon <levon@movementarian.org>
8953 * lyxserver.C: don't let incidental errors get
8956 2002-07-30 John Levon <levon@movementarian.org>
8958 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8960 2002-07-30 John Levon <levon@movementarian.org>
8963 * lyxserver.C: remove I/O callback too
8965 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8967 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8970 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8972 * many files: strip,frontStrip -> trim,ltrim,rtrim
8974 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8976 * PrinterParams.h: remove extern containsOnly, and include
8977 support/lstrings.h instead.
8979 * LaTeX.C (scanAuxFile): modify because of strip changes
8981 * buffer.C (makeLaTeXFile): ditto
8982 * bufferparams.C (writeFile): ditt
8983 * lyxfont.C (stateText): ditto
8984 * lyxserver.C (read_ready): ditto
8985 * vc-backend.C (scanMaster): ditto
8987 * BufferView_pimpl.h: ws changes
8989 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8991 2002-07-26 André Pönitz <poenitz@gmx.net>
8993 * kb_sequence.C: remove unnedred usings
8995 2002-07-26 Juergen Vigna <jug@sad.it>
8997 * lyxfind.C (LyXReplace): we have to check better if the returned
8998 text is not of theLockingInset()->getLockingInset().
9000 2002-07-25 Juergen Vigna <jug@sad.it>
9002 * lyxfind.C (LyXReplace): don't replace if we don't get the
9005 * undo_funcs.C (createUndo): remove debugging code.
9007 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9009 * buffer.C (parseSingleLyXformat2Token): Use default placement
9010 when reading old floats.
9012 * FloatList.C (FloatList): Change the default placement of figure
9013 and tables to "tbp".
9015 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9017 * MenuBackend.C: using std::max
9019 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9021 * MenuBackend.C (expandToc):
9022 (expandToc2): code moved from xforms menu frontend. It is now
9023 generic and TOCs are transparent to menu frontends.
9025 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9027 * toc.C (getTocList): protect against buf=0
9029 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9030 Menu as first parameter. Now, this calls itself recursively to
9031 expand a whole tree (this will be useful for TOC handling)
9032 (expandFloatInsert): remove 'wide' version of floats
9034 * MenuBackend.h (submenuname): returns the name of the submenu.
9035 (submenu): returns the submenu itself, provided it has been
9036 created by MenuBackend::expand
9038 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9040 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9041 insets which have noFontChange == true. (bug #172)
9043 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9045 * BufferView_pimpl.C: add connection objects and use them...
9048 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9050 * MenuBackend.C (expandLastfiles):
9053 (expandFloatListInsert):
9054 (expandFloatInsert):
9055 (expand): split expand in parts
9057 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9059 * lyx_gui.C: use lyx_gui::exit()
9061 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9063 * LyXAction.C: show the failing pseudo action
9065 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9067 * buffer.C (readFile): Run the lyxconvert script in order to read
9070 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9074 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9076 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9080 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9082 2002-07-22 Herbert Voss <voss@lyx.org>
9085 * lyxlength.[Ch]: add support for the vertical lengths
9087 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9089 * toc.[Ch]: std:: fixes
9091 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9093 * lyxrc.C: do not include lyx_main.h
9095 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9101 * BufferView2.C: include "lyxlex.h"
9104 * bufferparams.h: do not #include "lyxlex.h"
9106 * lyxtextclasslist.C (Add): remove method
9107 (classlist): renamed to classlist_
9109 * paragraph_pimpl.C:
9113 * bufferview_funcs.C:
9118 * toc.C (getTocList): use BufferParams::getLyXTextClass
9120 * toc.C (getTocList): use InsetFloat::addToToc
9122 * toc.[Ch]: new files, containing helper functions to handle table
9125 * lyxfunc.C (dispatch): no need to remove spaces around command
9127 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9128 first command of the sequence; it is not very clever, but I do not
9129 have a better idea, actually
9131 * LyXAction.C (LookupFunc): make sure to remove space at the
9132 beginning and end of the command
9134 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * MenuBackend.C (getMenubar): new method: return the menubar of
9138 (read): treat differently reading of menu and menubar (in
9139 particular, the menubar has no name now)
9140 (Menu::menubar): remove
9142 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9145 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9147 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9148 a bibitem inset in a RTL paragraph.
9150 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9152 * paragraph_pimpl.C: constify
9154 * BufferView_pimpl.C:
9156 * lyxfunc.C: fix dispatch in a nicer way
9158 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * lyxfunc.C (dispatch):
9161 * BufferView_pimpl.C:
9162 * BufferView_pimpl.h:
9164 * BufferView.h: rename Dispatch() to dispatch()
9166 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9168 * lyxlayout.C (Read): honor DependsOn tag
9170 * lyxlayout.[Ch] (depends_on): new method
9172 * version.C.in: update lyx_docversion
9174 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9176 * paragraph.C (validate): remove from here...
9177 * paragraph_pimpl.C (validate): ... and move here
9178 (isTextAt): make it const
9180 * buffer.C (getLists): ws cleanup
9182 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9184 * language.C (read): Use iso8859-1 encoding in latex_lang
9185 (this prevents LyX from crashing when using iso10646-1 encoding).
9187 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9189 * text2.C (toggleInset): if cursor is inside an inset, close the
9190 inset and leave cursor _after_ it
9192 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9194 * lyxfunc.C: move minibuffer completion handling out of here
9196 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9198 * BufferView_pimpl.C:
9199 * LaTeX.C: fix dispatch calls
9201 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9203 * text.C (drawChars): Fix Arabic text rendering.
9205 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9209 * lyxfunc.C: remove message-push/pop
9213 * lyxfunc.C: rationalise some code by removing verboseDispatch
9214 in favour of a bool argument to dispatch()
9216 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9218 * lyx_main.C (init): make sure to read symlinks as absolute paths
9220 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9223 * lyxfunc.C: no need for commandshortcut to be a member
9225 2002-07-15 André Pönitz <poenitz@gmx.net>
9227 * converter.C: add support for $$s (scripts from lib/scripts dir)
9228 * lyx_main.C: white space
9230 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9234 * lyxrc.C: remove second exit confirmation
9236 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9241 * BufferView_pimpl.h:
9242 * BufferView_pimpl.C:
9243 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9245 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9247 * MenuBackend.C (expand): add numeric shortcuts to document menu
9249 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9251 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9253 * lyxfont.C (setLyXFamily):
9260 * buffer.C (asciiParagraph): use ascii_lowercase
9262 2002-07-15 Mike Fabian <mfabian@suse.de>
9264 * lyxlex_pimpl.C (search_kw):
9265 * lyxlex.C (getLongString):
9266 * converter.h (operator<):
9267 * converter.C (operator<):
9268 * buffer.C (parseSingleLyXformat2Token):
9270 * ToolbarDefaults.C (read):
9271 * MenuBackend.C (checkShortcuts):
9273 * LColor.C (getFromGUIName):
9274 (getFromLyXName): use the compare_ascii_no_case instead of
9275 compare_no_case, because in turkish, 'i' is not the lowercase
9276 version of 'I', and thus turkish locale breaks parsing of tags.
9278 2002-07-16 Angus Leeming <leeming@lyx.org>
9280 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9281 now takes a Buffer const & argument.
9283 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9285 * BufferView.C (resize): check there's a buffer to resize
9287 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9289 * lyxfunc.C: remove dead code
9292 * lyxserver.C: use lyx_guii::set_read_callback
9294 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9296 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9297 an inset in a RTL paragraph.
9299 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9301 * lyxfunc.C: repaint after a font size update
9303 2002-07-15 André Pönitz <poenitz@gmx.net>
9305 * lyxlength.C: inBP should be able to return negative values
9307 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9309 * lyxfunc.C: use lyx_gui::update_fonts()
9311 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9313 * lyxfunc.C: use lyx_gui::update_color()
9315 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9321 * lyxrc.C: remove file->new asks for name option, and let
9322 buffer-new take an argument
9324 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9326 * BufferView_pimpl.C: remove unneeded extra repaint()
9328 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9330 * LyXAction.C: allow command-sequence with NoBuffer
9332 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9334 2002-07-10 Angus Leeming <leeming@lyx.org>
9336 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9338 2002-07-09 Angus Leeming <leeming@lyx.org>
9340 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9342 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9344 * lengthcommon.h: whitespace
9346 * lyxfunc.C: update scrollbar after goto paragraph
9348 * lyxtext.h: factor out page break drawing, and fix it so
9349 page break/added space paints as selected nicely
9351 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9353 * BufferView_pimpl.C: add FIXMEs, clean up a little
9355 2002-07-09 André Pönitz <poenitz@gmx.net>
9357 * lyxfont.[Ch]: support for wasy symbols
9359 2002-07-08 André Pönitz <poenitz@gmx.net>
9361 * BufferView_pimpl.C: apply John's patch for #93.
9363 2002-07-05 Angus Leeming <leeming@lyx.org>
9365 * BufferView_pimpl.C (buffer): generate previews if desired.
9367 * LColor.h: add "preview" to the color enum.
9369 * LColor.C (LColor): add a corresponding entry to the items array.
9371 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9374 2002-07-05 Angus Leeming <leeming@lyx.org>
9376 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9377 The body of the code is now in the method that is passed an ostream &
9378 rather than a file name.
9379 Pass an additional only_preamble parameter, useful for the forthcoming
9382 2002-07-03 André Pönitz <poenitz@gmx.net>
9384 * lyxfunc.C: simplify getStatus() a bit for math stuff
9386 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9388 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9390 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * text.C (changeRegionCase): do not change case of all the
9393 document when region ends at paragraph end (bug #461)
9395 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9397 * paragraph.C (startTeXParParams):
9398 (endTeXParParams): add \protect when necessary
9400 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9402 * BufferView_pimpl.C (workAreaExpose): remove warning
9404 2002-06-27 Angus Leeming <leeming@lyx.org>
9406 * Makefile.am: add lyxlayout_ptr_fwd.h.
9408 2002-06-26 André Pönitz <poenitz@gmx.net>
9410 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9412 2002-06-25 Angus Leeming <leeming@lyx.org>
9414 * lyxfunc.C (dispatch): Comment out the call to
9415 grfx::GCache::changeDisplay. The method no longer exists now that the
9416 pixmap generation part of the graphics loader has been moved into
9419 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9421 * text2.C: layout as layout
9423 * text.C: layout as layout
9425 * tabular.C (OldFormatRead): layout as layout
9427 * paragraph_pimpl.C (TeXDeeper): layout as layout
9428 (realizeFont): layout as layout
9430 * paragraph.C (writeFile): layout as layout
9431 (validate): layout as layout
9432 (getFont): layout as layout
9433 (getLabelFont): layout as layout
9434 (getLayoutFont): layout as layout
9435 (breakParagraph): layout as layout
9436 (stripLeadingSpaces): layout as layout
9437 (getEndLabel): layout as layout
9438 (getMaxDepthAfter): layout as layout
9439 (applyLayout): layout as layout
9440 (TeXOnePar): layout as layout
9441 (simpleTeXOnePar): layout as layout
9442 (TeXEnvironment): layout as layout
9443 (layout): layout as layout
9444 (layout): layout as layout
9446 * lyxtextclass.C (compare_name): new functor to work with
9447 shared_ptr, layout as layout
9448 (Read): layout as layout
9449 (hasLayout): layout as layout
9450 (operator): layout as layout
9451 (delete_layout): layout as layout
9452 (defaultLayout): layout as layout
9454 * lyxlayout_ptr_fwd.h: new file
9456 * lyxlayout.C (Read): layout as layout
9458 * lyx_cb.C (MenuInsertLabel): layout as layout
9460 * bufferlist.C (newFile): layout as layout
9462 * buffer.C (readLyXformat2): layout as layout
9463 (parseSingleLyXformat2Token): layout as layout
9464 (insertStringAsLines): layout as layout
9465 (asciiParagraph): layout as layout
9466 (latexParagraphs): layout as layout
9467 (makeLinuxDocFile): layout as layout
9468 (simpleLinuxDocOnePar): layout as layout
9469 (makeDocBookFile): layout as layout
9470 (simpleDocBookOnePar): layout as layout
9471 (getLists): layout as layout
9473 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9475 * CutAndPaste.C (cutSelection): layout as layout
9476 (pasteSelection): layout as layout
9477 (SwitchLayoutsBetweenClasses): layout as layout
9479 * BufferView_pimpl.C (Dispatch): layout as layout
9480 (smartQuote): layout as layout
9482 * BufferView2.C (unlockInset): layout as layout
9484 2002-06-24 André Pönitz <poenitz@gmx.net>
9486 * lyxfunc.C: fix #487
9488 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9492 * lyxfunc.C: remove display_shortcuts, show_banner
9494 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9496 * Buffer_pimpl.C: oops, update on resize
9498 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9505 * BufferView.C: use repaint()
9507 * BufferView_pimpl.h:
9508 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9509 as it's a clearer description. Remove superfluous
9512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9514 * text.C: fix bug 488. Not ideal, but getting
9515 getWord() to work properly for the insets that
9516 matter is more difficult ...
9518 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9520 * BufferView_pimpl.C:
9523 * lyxfunc.C: remove the six million index lyxfuncs to just
9524 one, and DTRT (bug 458)
9526 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9530 * BufferView_pimpl.h:
9531 * BufferView_pimpl.C: clean up resize() stuff,
9532 and unnecessary updateScreen()s
9534 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9538 * BufferView_pimpl.h:
9539 * BufferView_pimpl.C:
9542 * minibuffer.C: remove focus management of workarea,
9543 not needed. Use screen's greyOut()
9545 2002-06-17 Herbert Voss <voss@lyx.org>
9547 * converter.C: (convert) do not post a message, when converting
9548 fails, let the calling function decide what to do in this case
9550 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9552 * lyxfunc.C: tidy up a little
9554 2002-06-16 <alstrup@diku.dk>
9556 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9557 Got rid of FORMS_H_LOCATION include. Now we are
9560 2002-06-15 LyX Development team <lyx@rilke>
9562 * buffer.[Ch] (sgmlOpenTag):
9563 (sgmlCloseTag): Added support for avoiding pernicious mixed
9564 content. Return number of lines written.
9567 (makeDocBookFile): Fixed calls to sgml*Tag.
9568 Simple white space clean.
9570 (simpleDocBookOnePar): Simple white space clean.
9572 * tabular.[Ch] (docBook): Renamed to docbook and got another
9573 argument to related with the pernicious mixed content.
9575 (docbookRow): Fixed calls for docbook inset method.
9577 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9579 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9580 so it's X11 independent.
9584 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9586 2002-06-15 Lyx Development team <lyx@electronia>
9588 * intl.h: Renamed getTrans to getTransManager.
9590 2002-06-14 Angus Leeming <leeming@lyx.org>
9592 * Makefile.am: nuke forgotten stl_string_fwd.h.
9594 2002-06-12 Angus Leeming <leeming@lyx.org>
9596 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9598 2002-06-13 Angus Leeming <leeming@lyx.org>
9601 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9603 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9605 * kbmap.C (getiso): add support for cyrillic and greek
9607 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9611 * BufferView_pimpl.h:
9612 * BufferView_pimpl.C: move bogus scrolling logic
9615 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9618 * BufferView_pimpl.C: view->resize() change
9620 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9622 * BufferView_pimpl.C: topCursorVisible
9625 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9629 * lyx_gui.C: move to frontends/
9633 * lyx_main.C: changes from above
9635 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9642 * lyx_main.C: minor tidy
9644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9646 * BufferView_pimpl.h:
9647 * BufferView_pimpl.C:
9649 * BufferView.C: make painter() const,
9652 * BufferView2.C: use screen() accessor
9655 * lyx_main.C: some minor cleanup
9657 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9659 * BufferView_pimpl.h:
9660 * BufferView_pimpl.C: remove enter/leaveView,
9663 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9668 * BufferView_pimpl.h:
9669 * BufferView_pimpl.C: only construct screen once,
9672 * lyxrc.C: remove pointless comment
9674 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9677 * BufferView.C: remove active() and belowMouse()
9679 * BufferView_pimpl.h:
9680 * BufferView_pimpl.C: use workarea() not workarea_,
9681 and make it use a scoped_ptr instead
9683 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9685 * lyx_gui.C: add debug message on BadWindow
9687 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * sp_spell.C: fdopen is not part of the C++ standard.
9691 * paragraph.C (InsetIterator): use >= instead of ==
9693 2002-06-07 Angus Leeming <leeming@lyx.org>
9695 Fixes needed to compile with Compaq cxx 6.5.
9696 * BufferView_pimpl.C:
9703 * lyxtextclasslist.C:
9708 all c-library variables have been moved into namespace std. Wrap
9709 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9714 Add a using std::abs declaration.
9716 * kbmap.h (modifier_pair):
9717 * paragraph.h (InsetTable, InsetList):
9718 * lyxfont.h (FontBits):
9719 type definition made public.
9721 * bufferlist.C (emergencyWriteAll): the compiler complains that
9722 there is more than one possible lyx::class_fun template to choose from.
9723 I re-named the void specialisation as lyx::void_class_fun.
9725 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9727 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9728 the compiler is is unable to find tostr in write_attribute.
9730 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * buffer.C (sgmlError): hide #warning
9734 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9736 * xtl/*: get rid of xtl, which is not in use anyway
9738 * LyXAction.C (init):
9739 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9740 were unimplemented xtl experimentation
9742 2002-06-04 André Pönitz <poenitz@gmx.net>
9744 * lyxfunc.C: disable array operation on simple formulae
9746 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9748 * converter.C: constify a bit
9750 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9752 * lyx_gui.C: check xforms version correctly
9754 2002-04-30 Herbert Voss <voss@lyx.org>
9756 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9759 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9761 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9762 attempt to register it with a VCS)
9764 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9766 * lyx_main.C (init): honor variables LYX_DIR_13x and
9769 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9773 * lyx_main.C: fix a crash on bad command line,
9774 and give a useful exit status on error
9776 * lyxfunc.C (doImport): allow -i lyx to work
9778 2002-03-30 André Pönitz <poenitz@gmx.net>
9780 * lyxfunc.C: mathed font changes
9782 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9797 * trans_mgr.h: srcdocs, and some minor cleanups
9799 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9801 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9802 call getFont all the time)
9804 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9806 * switch from SigC signals to boost::signals
9808 2002-05-29 André Pönitz <poenitz@gmx.net>
9810 * paragraph_pimpl.C (getChar): don't call size() too often...
9812 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9814 * paragraph_pimpl.C (insertChar): do not try to update tables when
9815 appending (pos == size())
9817 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9818 in order to reduce drastically the number of comparisons needed to
9819 parse a large document
9821 2002-05-29 André Pönitz <poenitz@gmx.net>
9827 * textclasslist.[Ch]:
9828 * sp_ispell.h: whitespace change
9830 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9833 lyxaction directly now.
9835 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9839 * lyxvc.C: remove unused headers
9841 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9848 * undo_funcs.C: some cleanups. Use shared_ptr
9849 and a template for the undo stacks.
9851 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9853 * BufferView_pimpl.h:
9854 * BufferView_pimpl.C:
9861 * text2.C: use key_state/mouse_state
9863 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9868 * chset.C: change include order
9869 (loadFile): use boost regex and get rid of LRegex and LSubstring
9871 * Makefile.am (BOOST_LIBS): new variable
9874 * LaTeX.C: change include order.
9875 (scanAuxFile): use boost regex and get rid of LRegex and
9879 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9884 * FontInfo.C: moved to frontends/xforms/
9887 * FontLoader.C: moved into frontends for GUIIzation
9892 * lyxfunc.C: changes from above
9894 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9896 * LColor.C: remove spurious X include
9898 * BufferView_pimpl.C:
9903 * text2.C: move font metrics to frontends/
9905 2002-05-24 Juergen Vigna <jug@sad.it>
9907 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9908 setting the undo_cursor.
9910 * ParagraphParameters.h: include local includes first.
9912 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C:
9915 * BufferView_pimpl.h:
9919 * screen.C: move WorkArea into frontends/
9925 * BufferView2.C: move LyXScreen into frontends/
9929 * lyx_gui.C: move lyxlookup into frontends/xforms/
9931 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9934 * BufferView_pimpl.C:
9944 * bufferview_funcs.C:
9957 * vc-backend.C: move LyX/XFormsView into frontends/
9959 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9971 * text2.C: move Painter to frontends/
9973 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9975 * buffer.C: comment out some some code that depend upon lyx_format
9978 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9979 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9981 * buffer.h (NO_COMPABILITY): turn off compability
9983 * ColorHandler.C: include scoped_array.hpp
9985 * font.C: Use more specific smart_ptr header.
9988 * ShareContainer.h: ditto
9992 * BufferView_pimpl.h: ditto
9993 * ColorHandler.h: ditto
9995 * kbmap.C (defkey): change call to shared_ptr::reset
9997 2002-05-21 Juergen Vigna <jug@sad.it>
9999 * buffer.C (insertErtContents): fix to insert ert asis if it is
10000 non empty. Skip it completely if it contains only whitespaces.
10002 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10004 * BufferView_pimpl.C:
10005 * BufferView2.C: clear selection on paste (bug 393)
10007 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * DepTable.C: include ctime
10011 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10013 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10015 2002-05-14 Juergen Vigna <jug@sad.it>
10017 * text.C (breakParagraph): fixed function to honor the keepempty
10018 layout in the right maner and also to permit the right breaking
10019 algorithm on empty or non empyt keepempty paragraphs.
10021 * paragraph.C (breakParagraph): we have to check also if the par
10022 is really empty (!size()) for isempty otherwise we do the wrong
10025 2002-05-10 Juergen Vigna <jug@sad.it>
10027 * buffer.[Ch] : The following are only changes to the ert
10028 compatibility read reading old LaTeX layout and font stuff and
10029 convert it to ERTInsets.
10031 * buffer.h: added isErtInset().
10033 * buffer.C (struct ErtComp): add a fromlayout bool to check
10034 if we're inside a LaTeX layout.
10035 (isErtInset): new helper function.
10036 (insertErtContents): look for other ert insets before this one
10037 and insert the contents there, so that we don't have subsequent
10038 ERT insets with nothing between them. This way we create only one
10039 inset with multiple paragraphs. Also check if we don't insert only
10040 spaces ' ' as they are ignored anyway afterwards in the .tex file
10041 so if we have only spaces we will ignore this latex part in the
10043 (parseSingleLyXformat2Token \\layout): better compatibility when
10044 reading layout-latex stuff.
10045 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10047 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10048 stuff after reading the inset only get the information back from
10051 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10053 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10055 * LaTeXFeatures.C (getBabelOptions): New method.
10057 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10059 * BufferView_pimpl.C (Dispatch): work around missing argument for
10062 2002-05-08 Juergen Vigna <jug@sad.it>
10064 * text.C (leftMargin): handle paragraph leftindent.
10066 * paragraph.C (writeFile): write the new \\leftindent tag.
10067 (validate): handle leftindent code.
10068 (TeXEnvironment): handle paragraphleftindent code again.
10070 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10072 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10073 for paragrap_extra indent code and new token \\leftindent.
10074 (latexParagraphs): handle the leftindent as environment.
10076 * ParameterStruct.h: added leftindent support.
10078 * ParagraphParameters.C (leftIndent): added support functions for
10079 the paragraph left indent.
10081 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10084 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10086 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10089 * text.C (computeBidiTables): No bidi in insetERT.
10091 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10094 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10096 * version.C.in: pre 5
10098 2002-05-02 José Matos <jamatos@fep.up.pt>
10099 * buffer.C (makeDocBookFile): white space changes, add newline to
10101 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10103 * tabular.C (docBook): fix typo.
10105 2002-05-03 Juergen Vigna <jug@sad.it>
10107 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10108 change in LyXText as we can not be sure it was not freed.
10109 (drawOneRow): remove unused code.
10111 * text.C (drawInset): redo the calculation of the need_break_row as
10112 it could have a row which was already freed.
10113 (draw): look at the return value of drawInset and return false if
10114 it also returned false.
10115 (paintRowText): look at the return value of draw and return false if
10116 it also returned false.
10118 * lyxtext.h: added bool return type to drawInset() and draw() so that
10119 if we have a change in the row so that the rowbreak has to be redone
10120 we abort drawing as it will be called again.
10122 2002-05-02 Juergen Vigna <jug@sad.it>
10124 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10125 a change in the maintext also if we're inside an inset.
10126 (Dispatch): set the cursor again after a break line and after the
10127 screen has been updated as it could be we're in a different row.
10129 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10130 to set the cursor behind the pargraph with > size().
10131 (setCursor): check also for the same paragraph when checking where
10132 to put the cursor if we have a NFR inset.
10134 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10135 parts of layout read further up as it still was in the wrong
10138 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10140 * screen.C (drawFromTo): change sine fullRebreak always return
10143 * buffer.C (parseSingleLyXformat2Token): reindent some
10145 * BufferView_pimpl.C (update): change since fullRebreak always
10147 (Dispatch): git rid of the last hardcoded "Standard"s.
10149 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10151 * text2.[Ch] (fullRebreak): make it return void now that we always
10154 2002-04-30 Juergen Vigna <jug@sad.it>
10156 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10157 ert compatibility check for "latex" layout.
10159 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10161 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10162 minipages: use col% instead of p%, and also use the current font.
10163 (makeLaTeXFile): Fix use babel condition.
10164 (parseSingleLyXformat2Token): Correct font when reading old floats.
10166 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10168 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10169 inserting list of floats.
10171 2002-04-25 Herbert Voss <voss@lyx.org>
10173 * MenuBackend.C (expand): don't add the graphics extensions to the
10176 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10178 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10179 non-existing layout, do not complain if it was the default layout
10180 of the original class (bug #342)
10182 2002-04-24 Juergen Vigna <jug@sad.it>
10184 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10185 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10187 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10189 * buffer.C (getBibkeyList): If using \bibliography, return the
10190 option field with the reference itself. Enables us to provide natbib
10191 support when using \bibliography.
10193 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10195 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10197 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10198 natbib is provided by the LaTeX class.
10200 2002-04-23 Juergen Vigna <jug@sad.it>
10202 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10205 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10207 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10211 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10212 ensuremath around textordmasculine, textordfeminine and
10215 2002-04-19 Juergen Vigna <jug@sad.it>
10217 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10218 reinitializing the buffer otherwise row-dimensions may be wrong.
10219 (update): reset also the selection cursors if they do exits otherwise
10220 their x/y positions may be wrong.
10222 * text2.C (cursorDown): don't enter the inset if we came from a row
10223 above and are one row over the inset.
10225 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10226 really leaving an inset.
10228 2002-04-18 Juergen Vigna <jug@sad.it>
10230 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10231 of the selected paragraph does not have the selected layout also if
10234 * text2.C (setLayout): fixed bug which did not change last selected
10237 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10238 changed the read and substituted \\end_float with \\end_inset!
10240 * BufferView_pimpl.C (cursorPrevious):
10241 (cursorNext): fixed to make it work with rows heigher than the work
10242 area without moving the cursor only the draw of the row.
10243 (workAreaMotionNotify): fix jumping over high rows.
10245 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10250 2002-04-16 Juergen Vigna <jug@sad.it>
10252 * text2.C (setCursor): set also the irow().
10253 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10255 (cursorDown): support for locking an inset if the x_fix value goes
10256 inside it. That way I can transverse insets too with cursor up/down.
10258 * lyxrow.h: added irow helper function same as other (i) functions.
10260 * BufferView_pimpl.C (cursorPrevious):
10261 (cursorNext): fixed for insets!
10263 2002-04-15 Juergen Vigna <jug@sad.it>
10265 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10266 position otherwise it is wrong in some cases.
10268 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10269 inside the inset before the call.
10271 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10273 * buffer.[Ch] (getBibkeyList): make it const.
10275 2002-04-12 Juergen Vigna <jug@sad.it>
10277 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10279 * text2.C (getCursorX): new helper function
10280 (setCursor): compute also ix_
10281 (setCursorFromCoordinates): set also ix.
10283 * lyxcursor.h: added ix_ and helper functions.
10285 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10287 * buffer.C (insertStringAsLines): dont break paragraph if the this
10288 paragraph is inside an inset which does not permit it!
10290 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10291 also with no chars on this paragraph.
10292 (paintRowText): only paint stuff if it's inside the workarea!
10294 * paragraph.C (breakParagraph): honor keepempty flag and break the
10295 paragraph always below not above.
10297 * BufferView2.C (unlockInset): update the paragraph layout on inset
10298 unlock as we changed paragraph in such a case.
10300 * lyxfind.C (LyXFind): clear the former selection if not found!
10302 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10303 again called in insertChar().
10305 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10306 an inset which uses the whole row!
10307 (rightMargin): ditto.
10308 (insertChar): force a rebreak if we inserted an inset!
10310 2002-03-28 Herbert Voss <voss@lyx.org>
10312 * lyxlength.[Ch]: add inBP() to get the right PS-point
10313 units (BigPoint). With inPixels we have rounding errors
10315 2002-04-11 Juergen Vigna <jug@sad.it>
10317 * text2.C (setCursorFromCoordinates): set iy to the right value.
10318 (setCursor): add check if row->previous exists!
10320 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10321 an old float_type as this was the case in the old code!
10323 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10325 * BufferView2.C (showLockedInsetCursor): use iy
10326 (fitLockedInsetCursor): ditto
10328 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10329 locked insets as there we have the right value now.
10331 * lyxcursor.C: added iy_ variable and iy functions to set to the
10332 baseline of cursor-y of the locked inset.
10334 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10335 (setCursor): fixed for insets which need a full row.
10337 * text.C (rowLastPrintable): don't ignore the last space when before
10338 an inset which needs a full row.
10339 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10340 as last character of a row when before a inset which needs a full row.
10342 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * version.C.in: update date
10346 * text2.C (fullRebreak): try to always return true and see what
10349 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10351 * MenuBackend.C (expand): use Floating::listName
10353 * FloatList.C (FloatList): add listName argument to the built-in
10356 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10357 text associated with the float.
10359 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10361 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10363 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * ShareContainer.h: add a couple of missing typenames.
10367 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10369 * lyxrc.C (getDescription): use _() correctly rather than N_().
10371 2002-03-28 Herbert Voss <voss@lyx.org>
10373 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10374 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10376 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10378 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10379 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10381 2002-03-29 Juergen Vigna <jug@sad.it>
10383 * lyxfunc.C (dispatch): add a missing fitCursor call.
10385 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10386 it was scrolled by a cursor move, so return the bool status.
10388 * BufferView.C (fitCursor): return the bool flag also to the outside
10389 world as this is needed.
10391 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10393 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10394 call the edit() as it is not needed (and wrong) IMO.
10395 (workAreaButtonPress): set the screen_first variable before evt.
10396 unlock the inset as this may change screen_first and then we have
10397 a wrong y position for the click!
10399 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10401 * MenuBackend.C (expand): another translation that I missed
10403 2002-03-28 Juergen Vigna <jug@sad.it>
10405 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10407 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10409 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10411 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10413 * MenuBackend.C (expand): fix export/view/update when there is no
10416 2002-03-27 Herbert Voss <voss@lyx.org>
10418 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10421 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10423 * bufferview_funcs.C (currentState): only show paragraph number
10424 for is DEVEL_VERSION is set.
10426 * lyxfunc.C (dispatch): put warning in INFO channel
10428 * MenuBackend.C (expand): translate the name of floats
10430 * FloatList.C (FloatList): mark the float names for translation
10432 * converter.C (convert): use LibScriptSearch
10434 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10436 * MenuBackend.C (defaults): fix default menu (we might as well get
10439 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10441 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10444 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10446 * lyxvc.C: reorder includes.
10448 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10450 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10453 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10455 * CutAndPaste.C: change layouts earlier on paste
10456 to avoid crashing when calling getFont()
10458 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10460 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10463 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * WorkArea.C: remove 'Pending' debug message.
10467 * most files: ws cleanup
10469 * buffer.[Ch]: ws changes
10471 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10473 2002-03-21 Juergen Vigna <jug@sad.it>
10475 * tabular.C (SetMultiColumn): collapse also the contents of the
10476 cells and set the last border right. Added a Buffer const * param.
10478 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10483 2002-03-19 Juergen Vigna <jug@sad.it>
10485 * text2.C (clearSelection): reset also xsel_cache.
10487 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10488 where it needs to be called (John tells us to do so too :)
10489 (selectionLost): reset sel_cache.
10491 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10493 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * text2.C (setCursorIntern): put debuging code in INSETS channel
10497 2002-03-19 André Pönitz <poenitz@gmx.net>
10499 * lyxfunc.C: tiny whitespace change
10501 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * ToolbarDefaults.C (init):
10504 * LyXAction.C (init):
10506 * BufferView_pimpl.C (Dispatch):
10507 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10509 2002-03-19 Allan Rae <rae@lyx.org>
10511 * exporter.C (Export): removeAutoInsets before doing anything else.
10512 While I've just introduced a dependency on BufferView this really is
10513 the best place to clean the buffer otherwise you need to cleanup in
10514 a dozen places before calling export or cleanup in a dozen functions
10517 * converter.C (runLaTeX):
10518 (scanLog): Better handling of removeAutoInsets and screen updates.
10520 * lyxfunc.C (dispatch): small whitespace changes
10522 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * WorkArea.C (C_WorkAreaEvent): return a value.
10525 (event_cb): return 1 if we handled the event, 0 otherwise.
10527 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10529 2002-03-18 Juergen Vigna <jug@sad.it>
10531 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10532 (GetAdditionalWidth): ditto.
10533 (RightLine): ditto.
10536 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10537 inset if we're there actually (probably not used right now but this
10538 is the direction to go for unifying code).
10539 (paste): disable code to clear the selection.
10541 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10542 inside an InsetText and move the check further up as it is in the
10545 * text2.C (pasteSelection): set a selection over the pasted text.
10547 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10549 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10550 and libgraphics to build on Cygwin.
10552 2002-03-15 Juergen Vigna <jug@sad.it>
10554 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10555 inserting an Inset into the paragraph. I know this is not the best
10556 fix but we already use current_view in CutAndPaste so we will remove
10557 all of it's using at the same time.
10559 * buffer.C (sgmlError): deactivated function till it is rewritten in
10560 the right mode, now it can create problems.
10562 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10563 before accessing it.
10565 2002-03-14 Juergen Vigna <jug@sad.it>
10567 * undo_funcs.C (textHandleUndo): do the right thing when updating
10568 the inset after the undo/redo.
10570 * text2.C (setCursor): just some testcode for #44 not ready yet.
10572 * undo_funcs.C (textHandleUndo): set the next() and previous()
10573 pointers of the paragraph to 0 before deleting otherwise we have
10574 problems with the Paragraph::[destructor].
10576 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10577 on a paragraph insertion.
10579 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10581 * buffer.C (asciiParagraph): use += operator for char append to
10584 * paragraph.C (getFontSettings): compare >= not just >
10585 (highestFontInRange): ditto
10588 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * paragraph.C: change several algorithm to be more appripriate for
10591 the problem domain. This is lookip in FontList and in the InsetList.
10593 2002-03-13 André Pönitz <poenitz@gmx.net>
10596 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10598 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10603 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10605 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10607 * Painter.C (display): anon helper function, adjust code for this
10609 (pixmap): remove function.
10611 * Painter.h: remove private display variable.
10613 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10615 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10617 * WorkArea.[Ch]: remove figinset_canvas cruft.
10619 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * lyxtextclass.C (operator): add one item cache optimization.
10623 * bufferlist.h: doxy changes
10625 * bufferlist.C: ws changes
10627 * DepTable.[Ch] (ext_exist): place const in the right spot.
10629 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10631 (workAreaExpose): call resizeInsets when the with BufferView changes.
10632 (Dispatch): adjust for protectedBlank removal
10633 (specialChar): call updateInset if the insert went ok.
10635 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10636 specialChar instead.
10638 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10640 * BufferView.h: doxy change
10642 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10644 * lyxtextclass.C (operator[]): remove non-const version
10645 (defaultLayout): remove non-const version
10647 2002-03-12 Juergen Vigna <jug@sad.it>
10649 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10650 did resize the LyXText too.
10652 * buffer.C (readLyXformat2): set layout information on newly allocated
10655 * tabular.C (OldFormatRead): set layout information on the paragraph.
10657 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10659 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10661 2002-03-11 Juergen Vigna <jug@sad.it>
10663 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10665 (resizeCurrentBuffer): force also the insets to resize themselfes.
10666 (moveCursorUpdate): fixed up for InsetText.
10668 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10671 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10672 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10673 value of Dialogs::tooltipsEnabled().
10674 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10676 2002-03-08 Juergen Vigna <jug@sad.it>
10678 * BufferView_pimpl.C (updateInset): update inset inside inset also
10679 if it isn't inside theLockingInset().
10681 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10683 * buffer.C (asciiParagraph): redo some of the word and line length
10685 (getLists): look for Caption instead of caption.
10687 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10689 * buffer.C (Buffer): initialize niceFile to true
10691 (makeLinuxDocFile):
10692 (makeDocBookFile): make sure niceFile is true on exit
10694 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10698 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10700 * LyXSendto.C: remove.
10701 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10702 * lyx_gui.C: remove now-redundant comment.
10703 * ColorHandler.h: remove forward declaration of class WorkArea.
10704 * lyxfunc.C: remove #include "WorkArea.h".
10706 2002-03-07 Juergen Vigna <jug@sad.it>
10708 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10709 got moved away with the DEPM and also set the inset_owner always
10710 right which before could have been omitted.
10712 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10714 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10715 wanted layout is not found.
10717 2002-03-07 Juergen Vigna <jug@sad.it>
10719 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10721 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10723 * paragraph.C (breakParagraph): use default layout not layout of
10725 (Paragraph): clear ParagraphParameters.
10727 2002-03-06 Juergen Vigna <jug@sad.it>
10729 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10730 otherwise it would not be a valid lenght. Fixed a special case in
10731 the minipage compatibility read where we end the document with a
10734 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10735 was set as it could be 0 for InsetTexts first entry.
10737 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * paragraph.C (writeFile): if layout is empty write out
10740 defaultLayoutName().
10742 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10743 file without named layout we set layout to defaultLayoutName().
10745 2002-03-06 Juergen Vigna <jug@sad.it>
10747 * CutAndPaste.C (copySelection): set layout for new paragraph.
10749 * text.C (prepareToPrint): leave ERT inset left aligned
10750 (leftMargin): don't indent paragraphs inside ERT insets
10752 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * paragraph.C (breakParagraph): dont call clear do the work manually
10756 * paragraph.[Ch] (clear): remove function
10758 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * paragraph.C (Paragraph): dont call clear, the work has already
10763 * lyxtextclass.C (operator): assert if n is empty
10765 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10766 work manually instead.
10768 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10770 * BufferView_pimpl.C: protect selectionLost against text == 0
10772 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10774 * text.C (breakParagraph): fix a setting layout to '0' problem.
10776 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10778 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10779 final location of file, for the included files, and graphics.
10781 2002-03-05 Juergen Vigna <jug@sad.it>
10783 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10785 2002-03-04 Juergen Vigna <jug@sad.it>
10787 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10789 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10790 last column of multicolumn cells.
10791 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10793 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10795 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10796 file if it doesn't go to a temporary file.
10798 * buffer.C (sgmlOpenTag):
10799 (sgmlCloseTag): remove extra newline insertion.
10801 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10803 * text.C (getRowNearY): comment out debug msg
10805 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * text2.C: first -> first_y
10809 * text.C (getRowNearY): add some attemts at a possible
10810 optimization, not working.
10812 * tabular.[Ch]: add BufferParams to several function so that newly
10813 created paragraph can be initialized to he default layotu for the
10816 * tabular-old.C (ReadOld): add buf->params to call of Init
10818 * screen.C: rename text->first to text->first_y
10820 * paragraph.C (breakParagraph): always set layout in the broken
10823 * lyxtextclass.C (Read): remove lowercase
10826 (delete_layout): ditto
10828 * lyxtext.h: rename first -> first_y
10830 * lyxlayout.C (Read): remove lowercase
10833 (obsoleted_by): ditto
10835 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10837 * buffer.C (insertErtContents): add params are to InsetERT
10838 (parseSingleLyXformat2Token): add code to check if a paragraphs
10839 layout really exist.
10840 (parseSingleLyXformat2Token): add params to several inset
10842 (asciiParagraph): remove lowercase, do the layout comparisons with
10845 * BufferView_pimpl.C (cursorNext): first -> first_y
10846 (resizeCurrentBuffer): first -> first_y
10847 (updateScrollbar): first -> first_y
10848 (scrollCB): first -> first_y
10849 (workAreaMotionNotify): first -> first_y
10850 (workAreaButtonPress): first -> first_y
10851 (checkInsetHit): first -> first_y
10852 (cursorPrevious): first -> first_y
10853 (cursorNext): first -> first_y
10854 (Dispatch): add buffer_->params to severl inset contructors
10856 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * lyxlayout.C (Read): remove some debug info that I forgot.
10860 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10861 clean up the code slightly.
10862 (makeLinuxDocFile): ditto
10863 (makeDocBookFile): ditto
10865 * text2.C: layout as string
10867 * text.C: layout as string
10869 * paragraph_pimpl.C: layout as string
10871 * paragraph.[Ch]: layout as string
10873 * lyxtextclasslist.[Ch]: layout as string
10875 * lyxtextclass.[Ch]: layout as string
10877 * lyxtext.h: layout as string
10879 * lyxlayout.[Ch]: layout as string
10881 * lyx_cb.C: layout as string
10883 * bufferview_funcs.C: layout as string
10885 * bufferparams.C: layout as string
10887 * buffer.C: layout as string
10889 * LyXView.[Ch]: layout as string
10891 * LaTeXFeatures.[Ch]: layout as string
10893 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10895 * BufferView_pimpl.C: change current_layout to string, remove
10900 (workAreaButtonRelease): layout as string
10902 * BufferView2.C (unlockInset): adjust
10904 * vspace.C (asLatexCommand): use an explict temp variable.
10906 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10908 * Makefile.am: use FRONTEND_*
10910 2002-03-01 Juergen Vigna <jug@sad.it>
10912 * tabular.C (SetWidthOfMulticolCell): changed to something better
10913 I hope but still work in progress.
10914 (recalculateMulticolumnsOfColumn): renamed function from
10915 recalculateMulticolCells as it is more appropriate now.
10916 (SetWidthOfCell): calculate multicols better.
10918 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10922 * lyxfunc.C (processKeySym): print sequence also if it is
10923 `deleted' (complete)
10925 * kbsequence.C (print): print sequence even if it is deleted
10926 (complete would be a better word, actually).
10928 * lyxfunc.C (dispatch): print complete options after a prefix key
10930 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10932 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10934 * text2.C (setCharFont): eliminate setCharFont code duplication.
10936 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10938 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10939 LFUN_TABULAR_FEATURE (bug #177)
10941 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10943 * Makefile.am: remove figure.h
10945 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10947 * Bufferview_pimpl.C:
10959 * text2.C: remove #include "lyx_gui_misc.h".
10961 * LaTeX.C: added #include <cstdio>
10963 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10965 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10966 that the paragraph following this one can have.
10968 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10970 * vspace.C (asLatexCommand): fix bogus gcc warning
10972 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10974 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10976 * text2.C (setLayout): get rid of redundant code
10978 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10980 * text2.C (incDepth): make sure depth cannot be increased beyond
10983 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10985 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10986 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10988 * PainterBase.h (image):
10989 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10990 a LyXImage const *.
10992 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10996 * BufferView_pimpl.C:
10997 * BufferView_pimpl.h:
11017 * sp_spell.C: remove fig inset, and the crap house of
11018 cards that follows it
11020 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11025 * os2_errortable.h:
11026 * nt_defines.h: move .h into support/
11028 * vms_defines.h: remove
11030 * WorkArea.C: add space in debug output
11034 * buffer.C: add WITH_WARNINGS
11038 * bufferlist.C: s/retrive/retrieve/, add docs
11047 * chset.C: add docs
11049 * lyxgui.C: add ID to X error handler
11051 * lyxtestclass.c: fix typo
11053 2002-02-26 Juergen Vigna <jug@sad.it>
11055 * tabular_funcs.C (write_attribute): changed so that some default
11056 attributes are not written at all.
11057 (getTokenValue): set default values before trying to read the
11058 value so we have the return value always set as default if we don't
11059 find the token we search for.
11061 * tabular.C (Write): write bools as bools not as strings!
11063 2002-02-22 Juergen Vigna <jug@sad.it>
11065 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11066 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11068 * text.C (leftMargin): don't add an indent for paragraphs inside
11069 tabular cells (fix #208).
11071 2002-02-21 José Matos <jamatos@fep.up.pt>
11073 * tabular.C (docBook): fixed support for long tables.
11075 2002-02-20 Juergen Vigna <jug@sad.it>
11077 * text2.C (getFont): get the drawing font of the Inset if this
11078 paragraph is inside an inset (only important for InsetERT for now).
11080 * buffer.C (insertErtContents): use new lanugage params in ERT
11083 * CutAndPaste.C: commenting out seemingly uneeded code.
11085 2002-02-19 Allan Rae <rae@lyx.org>
11087 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11088 Iterators might be simple to use but they also get invalidated.
11089 (removeAutoInsets): renamed saved cursor tracking variables and added
11090 some comments to clarify what everything does.
11092 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11099 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11100 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11103 * vc-backend.h: remove #include "support/syscall.h"
11107 * converter.C: rearrange #includes in Lars' approved fashion.
11109 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11110 forward declare class Timeout in the header file.
11112 * XFormsView.C: changes due to the above.
11114 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11115 similar to LyXView.
11117 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11118 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11120 2002-02-18 José Matos <jamatos@fep.up.pt>
11122 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11125 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11127 * a lot of small ws changes
11128 * add a lot of using std::XXX
11129 * use std construcs some places where approp.
11130 * use some exisint stuff from lyxfunctional where approp.
11131 * Make file changes to use partial linking (lets test this now...)
11133 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11137 remove #include "support/syscontr.h" as it's redundant. Always has been.
11145 change Systemcalls::System to Systemcalls::Wait and
11146 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11147 No change of functionality, just reflects the stripped down Systemcalls
11150 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11152 * debug.[Ch]: add a GRAPHICS type to the enum.
11154 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11156 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11158 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11161 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11163 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11164 match the changes below.
11166 * text2.C (toggleInset): if there is not editable inset at cursor
11167 position, try to see if cursor is _inside_ a collapsable inset
11170 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11172 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11173 document menu has a nice checkbox
11175 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11177 * lyxlength.C (asLatexString): change PW to output as percent of
11180 * lengthcommon.C: change '%' to 't%'
11182 * lyxfunc.C (dispatch): a few comments from Martin
11184 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11188 * BufferView_pimpl.h:
11189 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11192 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11194 * vspace.C (inPixels): fix compiler warning
11196 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11198 * lyxfunc.C (getStatus): fix status message for disabled commands.
11200 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11202 * BufferView_pimpl.C: fix crash on close buffer
11203 during selection (#227)
11205 2002-01-27 Herbert Voss <voss@lyx.org>
11207 * buffer.C: link old Figure to new graphic inset
11209 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11211 * FontLoader.C (getFontinfo): Change the latex font names in order
11212 to match the names of type1inst.
11214 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11216 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11218 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11219 (extchanged): ditto
11221 (remove_files_with_extension): ditto
11222 (remove_file): ditto
11225 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11226 document is smaller than the work area height. Do not initialize
11227 static variables to 0.
11229 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11231 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11233 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11234 LFUN_LAYOUT_PARAGRAPHS.
11236 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11237 tabular. It is possible to provide a possible cell, which will
11238 typically be the actcell from the corresponding insettabular
11240 * lyxfunc.C (getStatus): small cleanup; disable
11241 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11244 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11248 * paragraph.C (startTeXParParams):
11249 (endTeXParParams): new methods. The LaTeX code to
11250 start/end paragraph formatting
11251 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11252 empty (fixes bug #200)
11254 * vspace.C (inPixels): adapt to the change below
11255 (inPixels): [later] more cleanups (remove unused variables)
11257 * lyxlength.C (inPixels): change to use a width and a height as
11260 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11262 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11263 Replaced with \paperwidth
11265 * DepTable.C (insert): add std:: qualifier
11267 2002-01-18 Allan Rae <rae@lyx.org>
11269 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11272 * text.C (drawInset): Turned out I didn't know enough about how
11273 rebreaking worked. This fixes most of the redraw problems. I see
11274 an occasional cursor trail when a line is broken now and the cursor
11275 placement can seem out by a few pixels also after a rebreak.
11277 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11279 * buffer.C (parseSingleLyXformat2Token): update because minipage
11280 width is now a LyXLength
11282 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11284 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11287 2002-01-17 Juergen Vigna <jug@sad.it>
11289 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11291 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11292 is set correctly and the inset is updated correctly.
11294 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11297 the beginning of the loop.
11299 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11301 * lyxrc.C: improve help for use_scalable_fonts
11303 2002-01-17 Allan Rae <rae@lyx.org>
11305 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11307 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11310 make sure to set their inset_owner to the right value (bug #171)
11312 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11315 * DepTable.C: Implement mtime checking to reduce time spent doing
11318 2002-01-16 Juergen Vigna <jug@sad.it>
11320 * tabular.C (GetAdditionalHeight): one of error fixed.
11322 * lyxrc.C (output): small fix in writing use_pspell.
11324 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11326 * sp_base.h: #include LString.h
11328 2002-01-16 Allan Rae <rae@lyx.org>
11330 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11331 Can someone check this please?
11333 * text.C (drawInset): It was possible that p.row would be removed by
11334 breakAgainOneRow upsetting a few other settings. There may be another
11335 small tweak possible by setting need_break_row = 0 when p.row has been
11336 removed but I don't know enough about the logic here.
11338 2002-01-15 Allan Rae <rae@lyx.org>
11340 * text.C (insertChar): removed conditional truism.
11342 * BufferView2.C (removeAutoInsets): More tweaks.
11343 cur_par_prev could be a stray pointer. Check for trailing empty line
11344 in case last line was cur_par and only had an error inset on it.
11346 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11351 * vc-backend.C (most methods):
11352 * exporter.C (Export):
11353 * converter.C (convert):
11355 * LyXSendto.C (SendtoApplyCB):
11356 * lyxfunc.C (dispatch):
11360 * lyx_cb.C (AutoSave):
11362 * BufferView_pimpl.C (MenuInsertLyXFile):
11363 * buffer.C (runChktex): use Buffer::filePath().
11365 * buffer.h: rename filename to filename_; rename filepath to
11366 filepath_ and make it private
11367 (filePath): new method
11369 * buffer.C (writeFile): use fileName()
11372 * lyx_main.C (init): fix starting of LyX when the binary is a
11373 link from so,ewhere else.
11375 * minibuffer.C: include <cctype> for isprint
11377 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11379 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11380 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11381 name clash with InsetCollapsable's width function.
11383 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * lastfiles.C: include <iterator>
11387 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11389 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11392 * buffer.C (makeLaTeXFile): ditto.
11393 Also make loop operation more transparent.
11395 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11397 * ToolbarDefaults.C: remove trailing comma closing namespace.
11399 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11401 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11404 * trans.C (Load): comment out unused variable, allowed.
11406 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11408 * minibuffer.[Ch] (append_char): new method to recieve input from the
11409 drop-down completion browser. If a key was pressed, then recieve this
11410 char and append it to the existing string.
11411 (peek_event): modify the positioning data passed to the completion
11412 browser so that it can be placed above the minibuffer rather than below.
11413 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * LyXAction.C (init): alloe error-next for readonly documents.
11417 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11420 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11422 * bufferlist.C (readFile): create the buffer _after_ checking that
11425 * lyxfunc.C (verboseDispatch): fix handling of arguments
11427 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11429 * lyxrc.C: use string::erase() instead of initializing to "".
11432 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11434 * BufferView_pimpl.h:
11435 * BufferView_pimpl.C:
11438 * text2.C: tell X when we have made a selection for copying
11440 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * BufferView_pimpl.C (MenuInsertLyXFile):
11443 * lyxfunc.C (menuNew):
11445 (doImport): add shortcuts to directory buttons
11447 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11450 * lyxfunc.C (setStatusMessage):
11451 (getStatusMessage): new methods
11452 (getStatus):use setStatusMessage instead of setErrorMessage
11453 (dispatch): when function is disabled, set error message here
11454 [instead of in getStatus previously]
11456 * BufferView_pimpl.C (workAreaButtonRelease): update
11457 toolbar/menubar here too.
11459 2002-01-13 Allan Rae <rae@lyx.org>
11461 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11462 Now seems indestructible. Remaining task is to audit all other
11463 code affected by deleteEmptyParagraphMechanism. One small quirk
11464 left is that an empty document with an error in the preamble can
11465 be made to report an error but no error box appears. I don't know
11467 (removeAutoInsets): Improved comments.
11469 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11472 * Thesaurus.C: update for Aiksaurus 0.14
11474 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * text2.C (firstParagraph): removed member function, all uses
11477 replaces with ownerParagraph
11478 (redoParagraphs): here
11479 (updateInset): here
11480 (toggleAppendix): here
11481 * BufferView2.C (insertErrors): here
11482 (setCursorFromRow): here
11484 2002-01-13 Allan Rae <rae@lyx.org>
11486 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11487 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11488 There is still a way to segfault this although you may have to do this
11489 multiple times: Have an InsetERT with an unknown command in it.
11490 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11491 <down-arrow>, <Enter> again, View->DVI, BANG!
11493 * text2.C (setCursor):
11494 (deleteEmptyParagraphMechanism):
11495 * lyxtext.h (setCursor):
11496 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11497 Making use of the return value may help fix other bugs.
11499 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11501 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11503 * LyXView.C (updateMenubar): call MenuBar::update here
11504 (updateToolbar): but not here
11505 (showState): do not update toolbar/menubar
11507 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11508 should need to care about that.
11510 * lyxfunc.C (verboseDispatch): simplify a bit
11511 (getStatus): have a version which takes a pseudoaction, and
11512 another which requires a (kb_action,string).
11514 * LyXAction.C (retrieveActionArg): make it work also when action
11515 is not a pseudo-action.
11516 (getActionName): simplify a bit
11519 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11521 * lyxfunc.C (verboseDispatch): new families of methods with
11522 several ways to specify a command and a bool to indicate whether
11523 the command name and shortcut should be displayed in minibuffer
11524 (eventually, we could extend that to a finer bitmask like
11525 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11526 (dispatch): the pristine dispatch command which just, well,
11527 dispatchs! Note it still sets its result to minibuffer; I'm not
11530 * lyxfunc.h: remove setHintMessage
11532 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11534 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11536 * BufferView_pimpl.C (specialChar): delete new inset if we have
11537 not been able to insert it.
11539 * kbmap.C: revert to using int instead of kb_action, since all we
11540 are dealing with is pseudo-actions.
11542 * LyXAction.C (searchActionArg): change to return int instead of
11543 kb_action, since the result is a pseudoaction.
11545 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11547 * buffer.C (insertErtContents): Fix (partially) the font bug.
11549 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11551 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11552 as the other one is broken on my machine!
11554 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11557 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11559 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11561 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11562 reflect their actual use. Provide compatibility code for older lyxrc
11565 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11567 change names of popup font variables in line with the changes to lyxrc.C
11569 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11571 * buffer.C (asciiParagraph): avoid outputing a word twice after
11574 * lyxrc.C (getDescription): document that document_path and
11575 template_path can be empty.
11577 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * LaTeXFeatures.C (getMacros):
11580 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11582 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11584 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11586 (getPackages): rename feature "floats" to "float". Use an array to
11587 iterate over 'simple' features (i.e. just a \usepackage). Add
11588 handling of "amsmath" (renamed from "amsstyle").
11590 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11592 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11595 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11597 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11598 FuncStaus::FuncStatus & FuncStaus::some_method().
11600 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11602 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11603 of the func_satus stuff. Edited and massaged in various ways by
11606 * lyxfunc.C (getStatus): use FuncStatus
11608 2002-01-08 Juergen Vigna <jug@sad.it>
11610 * text.C (nextBreakPoint): use function Inset::isChar().
11612 * paragraph.C (TeXOnePar): use function
11613 Inset::forceDefaultParagraphs.
11615 * buffer.C (latexParagraphs): use function
11616 Inset::forceDefaultParagraphs.
11618 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11620 * lyx_gui.C (init): set the style of the menu popups to
11621 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11623 2002-01-07 Juergen Vigna <jug@sad.it>
11625 * text.C (setHeightOfRow): small fix
11626 (prepareToPrint): don't look at alignment if we don't have the place
11629 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11631 * box.C: New file. Move the Box methods and functions out of box.h,
11632 following Lars' suggestion.
11634 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11636 * box.h: #include "support/LOstream.h", needed for inlined function.
11639 * lyxtextclasslist.C: added some using std declarations.
11641 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11643 * box.h: make signed dimensions to allow insets wider than
11644 the screen (bug #162)
11646 * BufferView_pimpl.C: add some insetHit debug
11648 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11650 * vc-backend.C: add FIXME
11652 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11654 * lyxfunc.C (getStatus): enable code for showing math font status
11657 2002-01-07 Juergen Vigna <jug@sad.it>
11659 * text.C (nextBreakPoint): removed debug output not needed anymore.
11661 2002-01-06 Juergen Vigna <jug@sad.it>
11663 * text.C (nextBreakPoint): fixed up this function we had this bug
11664 since ever but now hopefully we break row better.
11665 (insertChar): we have to check if an inset is the next char as it
11666 could now happen that a large inset is causing a break.
11668 2002-01-05 Juergen Vigna <jug@sad.it>
11670 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11671 if it doesn't like to be drawed.
11673 2002-01-04 Juergen Vigna <jug@sad.it>
11675 * BufferView2.C (lockInset): forgot to set a cursor.
11677 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11679 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11681 * FormMathsPanel.C:
11684 * form_maths_panel.C:
11685 * form_maths_panel.h:
11686 * form_maths_panel.fd: implemented sub- and super- buttons in math
11689 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11690 (or ^ space) to be used as in TeX (req'd by André).
11692 * lyxfunc.C: Allow ^ and _ again to be used both as
11693 super/subscript (mathed) and as themselves (in text).
11695 2002-01-03 Allan Rae <rae@lyx.org>
11697 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11698 "LyX" or the filename of the current buffer if it has one. This is a
11699 modified form of John Levon's patch.
11701 * XFormsView.C (setWindowTitle): also set icon title.
11703 * LyXView.h (setWindowTitle): signature changed.
11704 * XFormsView.h (setWindowTitle): ditto.
11706 2002-01-02 Juergen Vigna <jug@sad.it>
11708 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11710 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11712 * screen.C (topCursorVisible): introduce a temp var for
11713 text->cursor.row(), handle the case where this row is null. (kindo
11716 * text2.C (setCursor): add a couple of asserts.
11718 * paragraph.h (inset_iterator): add -> operator
11720 * paragraph.[Ch] (autoDeleteInsets): remove member function
11722 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11723 cursor pos correctly and handle inset deletion by itself.
11724 (insertErrors): move iterator declaration out of for expression
11726 * lyxtextclass.C: add <algorithm>
11728 * Makefile.am: added the new files to sources, removed layout.C
11730 * layout.C: removed file
11732 * layout.h: remove LYX_DUMMY_LAYOUT
11734 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11738 * lyxtextclass.[Ch]:
11739 * lyxtextclasslist.[Ch]: new files
11741 * include order changes to a lot of files, also changes because of
11744 2001-12-27 Juergen Vigna <jug@sad.it>
11746 * buffer.C (asciiParagraph): more fixes.
11748 * tabular.C (ascii): make ascii export support export of only the
11749 data separated by a column-delimiter.
11750 (ascii): better support for ascii export.
11752 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11754 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11756 * tabular_funcs.C: use a "using std::getline" instead of the
11757 previous fix from Angus (necessary for cxx + lyxstring)
11759 2001-12-24 Juergen Vigna <jug@sad.it>
11761 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11763 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11764 problems. First check a minipage also if we have some ert-contents
11765 (not only on par->size(), second set the right depth of the paragraph
11766 on the relink to the root-paragraph-list!
11768 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11769 which then did not anymore update the main paragraphs on undo/redo!
11771 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11773 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11774 code. Support all font-changing funcs (even those which are not in
11775 menu currently). Support for reporting font settings in
11776 mathed (disabled until Andre provides a function on mathed's side).
11778 * func_status.h (toggle): small helper function to set toggle
11781 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11783 * tabular_funcs.C: getline -> std::getline
11785 2001-12-21 Juergen Vigna <jug@sad.it>
11787 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11788 accessed and could be 0 (I couldn't generate this but it seems
11791 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11794 * tabular_funcs.h: here and include iosfwd
11796 2001-12-20 Juergen Vigna <jug@sad.it>
11798 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11799 inside inset but undo_par was.
11801 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11803 * Thesaurus.C: always include <config.h> in sources.
11807 * box.h: do not include <config.h> in header files
11809 * text.C (paintLastRow): remove unused variable
11811 * text.C (transformChar):
11813 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11815 * Painter.C (text):
11816 * font.C (width): rewrite to use uppercase() instead of
11819 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11821 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11823 * lyxfind.C: clean up of find failure position change
11825 2001-12-20 Juergen Vigna <jug@sad.it>
11827 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11829 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11830 (TeXRow): added to LaTeX a single tabular row.
11831 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11832 (Latex): simplified and finally good LT-h/f support.
11833 (various_functions): just small adaptions for LT-h/f support.
11835 * tabular_funcs.[hC]: added and moved here all not classfunctions
11838 2001-12-19 Juergen Vigna <jug@sad.it>
11840 * tabular.[Ch]: better support for longtabular options (not finished
11843 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11845 * text.C (paintLastRow): use the label font instead of the font of
11846 the last character to compute the size of *_BOX. This makes more
11847 sense and avoids a crash with empty paragraphs.
11848 Use Painter::rectangle to draw EMPTY_BOX.
11850 2001-12-19 Juergen Vigna <jug@sad.it>
11852 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11853 the paragraphs if the replaced paragraph is not the first one!
11854 Tried to delete not used paragraphs but does not work yet so for
11855 now it's inside #ifdef's and by default off!
11857 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * MenuBackend.C: include "lyx_main.h" instead of declaring
11860 lastfiles (actually was declared as LastFiles* instead of a
11863 2001-12-17 Juergen Vigna <jug@sad.it>
11865 * tabular.C (AppendColumn): applied John's fix
11867 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11871 * BufferView_pimpl.h:
11872 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11875 * box.h: new start of class for above
11877 * lyxfunc.C: ignore space-only minibuffer dispatches.
11878 Show the command name when it doesn't exist
11880 * minibuffer.C: don't add empty lines to the history
11882 * minibuffer.C: add a space on dropdown completion
11884 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11886 * text.C: fix line above/below drawing in insets
11888 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * lyxlength.C (LyXLength): Initialize private variables.
11892 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11894 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11895 when inserting error insets.
11897 2001-12-13 Juergen Vigna <jug@sad.it>
11899 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11900 actually sometimes the before-paragraph.
11901 (setUndo): don't clear the redostack if we're not actually undoing!
11903 2001-12-06 Juergen Vigna <jug@sad.it>
11905 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11906 and fixed redoing of main paragraph, so we can use it now ;)
11908 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11910 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11915 2001-12-13 André Pönitz <poenitz@gmx.net>
11918 * undo_func.C: minor cleanup
11920 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11923 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11924 font in urw-fonts package which is marked as -urw-fontspecific and
11925 does not work (incidentally, changing the encoding in the
11926 fonts.dir of this package to -adobe-fontspecific fixes the
11929 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11930 is a crash when undoing first paragraph (Juergen, please take a
11931 look). THis does not mean the undo fix is wrong, just that it
11934 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11935 the (Paragraph*) version when needed instead of duplicating the
11938 * text.C (workWidth): use Inset::parOwner to find out where the
11939 inset has been inserted. This is a huge performance gain for large
11940 documents with lots of insets. If Inset::parOwner is not set, fall
11941 back on the brute force method
11943 * paragraph_pimpl.C (insertInset):
11944 * paragraph.C (Paragraph):
11945 (cutIntoMinibuffer): set parOwner of insets when
11946 inserting/removing them
11948 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11950 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11956 * mathed/formulabase.C:
11957 * mathed/math_cursor.[Ch]:
11958 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11961 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11963 * lyxlength.[Ch] (operator!=): new function
11965 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11967 * text.C (workWidth): use Inset::parOwner to find out where the
11968 inset has been inserted. This is a huge performance gain for large
11969 documents with lots of insets. If Inset::parOwner is not set, fall
11970 back on the brute force method
11972 * paragraph_pimpl.C (insertInset):
11973 * paragraph.C (Paragraph):
11974 (cutIntoMinibuffer): set parOwner of insets when
11975 inserting/removing them
11977 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11979 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11981 * tabular-old.C (getTokenValue):
11982 * tabular.C (getTokenValue):
11983 (write_attribute): new versions for LyXLength
11984 (everywhere): adjust the use of widths
11986 * tabular.h: change the type of widths from string to LyXLength
11988 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11990 * paragraph.C: fixed missing line number count when exporting
11991 Environments to LaTeX file
11993 * buffer.C: added informational message for checking line numbers.
11995 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11997 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11998 paragraph, do the 'double space' part, but not the 'empty
12001 * text.C (workWidth): small optimization
12002 (getLengthMarkerHeight): use minimal size for negative lengths.
12004 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12006 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12008 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12010 2001-12-11 André Pönitz <poenitz@gmx.net>
12013 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12015 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12017 * text2.C: keep selection on a setFont()
12019 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12021 * lyx_cb.C: another bv->text misuse, from insert label
12023 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12026 * kbsequence.C: re-instate nmodifier mask
12028 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12030 * lyx_main.h: make lyxGUI private.
12032 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12034 * lyxfind.C: place the cursor correctly on failed search
12036 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * text.C (getLengthMarkerHeight): for small heights, the arrows
12039 are not always on top/bottom of the text
12040 (drawLengthMarker): smaller arrows; take the left margin in
12041 account; draw also vfills.
12043 (paintLastRow): remove special code for vfill and standard spaces,
12044 since everything is handled in drawLengthMarker now.
12046 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12048 * buffer.C (insertErtContents): try to handle font and language
12049 interaction a bit better.g
12051 * ColorHandler.C (updateColor): change the hash to cover the whole
12052 LColor enum, ws cleanup
12053 (getGCLinepars): ditto
12054 (getGCLinepars): only lookup in the linecache once.
12056 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12058 * iterators.C (operator++): Make the iterator more robust
12060 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12062 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12064 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12067 * text.C: better added space drawing
12069 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12072 * BufferView2.C: fix layout combo update on inset unlock
12074 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12076 * Makefile.am: don't compile unused files
12078 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12082 * LyXAction.C: remove old LFUN_LAYOUTNO
12084 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12086 * paragraph_pimpl.h:
12087 * paragraph_pimpl.C: isTextAt() doesn't need font param
12089 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12092 * lyxlex.C: little cleanup
12094 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView_pimpl.C: fix insertAscii for insets
12098 2001-12-05 Juergen Vigna <jug@sad.it>
12100 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12101 set the right font on the "multi" paragraph paste!
12103 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * lyxlength.C: remove out-commented code.
12111 * BufferView_pimpl:
12125 * vc-backend.C: change "while(" to "while ("
12127 * lyxlength.[Ch]: add zero function to check if length is zero or
12129 * lyxgluelength.C: use it
12131 2001-12-05 Allan Rae <rae@lyx.org>
12133 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12134 Works for 2.95.3, from what I understand of Garst's reports this should
12135 work for other g++ versions. We're screwed if the abs(int) definition
12136 changed between bugfix releases of gcc.
12138 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12140 * text.C: fix chapter label offset !
12142 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12145 * text.C: fix hfill at end of line, clean up
12147 2001-12-04 Juergen Vigna <jug@sad.it>
12149 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12150 that we force an update of the inset and it's owners if neccessary.
12152 2001-12-03 Juergen Vigna <jug@sad.it>
12154 * text.C (rowLast): simplified code
12156 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12158 * lyxfunc.C: fix show options on timeout
12160 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * screen.C (topCursorVisible): scroll half a page when the cursor
12163 reached top of bottom of screen
12165 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12167 * minibuffer.C: deactivate on loss of focus
12169 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * vspace.[Ch] (operator!=): add operator.
12173 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12175 * BufferView_pimpl.C: refuse to open an inset when
12176 there's a selection.
12178 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12180 * BufferView_pimpl.C: allow to click on RHS of full row insets
12182 2001-11-30 Juergen Vigna <jug@sad.it>
12184 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12185 insets for undo reasons.
12187 2001-11-28 André Pönitz <poenitz@gmx.net>
12189 * vspace.[Ch]: cosmetical changes
12191 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12201 * kbsequence.C: part re-write of old kb code
12204 * WorkArea.C: remove Lgb_bug_find_hack
12206 2001-11-30 José Matos <jamatos@fep.up.pt>
12208 * buffer.C (makeDocBookFile): add a comment to point a hack.
12209 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12210 Fixed a double write of labels.
12212 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12215 * LaTeX.h Fixed bug in LaTeX class where it would not
12216 re-run latex if no depfiles were changed, but the .dvi was removed.
12218 2001-11-28 André Pönitz <poenitz@gmx.net>
12220 * all the files from the change on 2001/11/26:
12221 use lyx::layout_type instead of LyXTextClass::size_type
12222 use lyx::textclass_type instead of LyXTextClassList::size_type
12224 2001-11-29 Juergen Vigna <jug@sad.it>
12226 * text.C: added support for paragraph::isFreeSpacing()
12228 * buffer.C: same as above
12230 * paragraph.h: inserted isFreeSpacing() function to enable
12231 FreeSpacing inside InsetERT.
12233 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12234 of the paragraph's in the cut/copy buffer to 0!
12236 * text2.C (removeRow): remove the assert as it can!
12238 * lyxtext.h: added helper function firstRow returning firstrow and
12239 made firstrow private again.
12241 * BufferView2.C (lockInset): don't relock if we're already locked!
12243 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12244 the only paragraph.
12245 (removeRow): added Assert::(firstrow)
12247 * debug.C: forgot to add INSETTEXT here.
12249 2001-11-28 Juergen Vigna <jug@sad.it>
12251 * sp_spell.C (initialize): changed error text to more general
12252 spellchecker command use (not only ispell!)
12254 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12256 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12258 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12260 * vspace.C: initialise lyxgluelength on failure
12262 2001-11-28 Allan Rae <rae@lyx.org>
12264 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12265 declaration & definition that looks like a function declaration.
12267 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * BufferView2.C (copy):
12270 (copyEnvironment): do not clear the selection when doing a copy.
12272 * text.C (paintFirstRow): compilation fix
12274 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12276 * tabular.C (Latex): correct line count when writing latex.
12278 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12280 * paragraph_pimpl.h:
12281 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12284 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12288 * LColor.C: change vfillline->added_space
12290 * text.C: add markers and text for added space
12292 * vspace.C: fix comment
12294 2001-11-28 André Pönitz <poenitz@gmx.net>
12296 * paragraph.C: whitespace changes
12297 * all the other files from the change on 2001/11/26:
12298 change *::pos_type into lyx::pos_type
12300 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12302 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12303 language of the document when inserting error insets.
12305 2001-11-26 André Pönitz <poenitz@gmx.net>
12307 * BufferView_pimpl.[Ch]:
12315 * paragraph_pimpl.[Ch]:
12318 * text2.C: reduce header dependencies, introduce type for positions
12320 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12322 * <various>: change to use Alert.h
12324 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12326 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12327 when encountering an unknown token.
12328 (readLyXformat2): Show an error message if there were unknown tokens.
12330 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12333 * BufferView_pimpl.C:
12337 * text2.C: use par->isInset()
12339 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12341 * paragraph_pimpl.h:
12342 * paragraph_pimpl.C: cleanup
12344 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * text2.C (removeRow):
12347 * text.C (setHeightOfRow): remove useless (and costly) call to
12350 2001-11-20 Allan Rae <rae@lyx.org>
12352 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12353 Now need Inset*::checkInsertChar() to return true for appropriate
12354 cases so that the characters in the minibuffer will actually be
12357 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * text.C: change the order of the includes.
12360 (workWidth): initialize it at once.
12361 (workWidth): make maxw unsigned
12362 (setHeightOfRow): remove unused variable (inset)
12363 (selectSelectedWord): remove unused variable (inset)
12364 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12366 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12368 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12369 server is not running.
12371 (closeConnection): add debug info when server is disabled.
12373 * ColorHandler.C (getGCForeground): send debug message to GUI
12376 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12378 * kbmap.C (bind): modify because return conventions of
12379 kb_sequence::parse have changed.
12381 * kbsequence.C (parse): only ignore spaces and not any stupid
12382 control character. This avoids tests like s[i] <= ' ', which are
12383 guaranteed to fail with 8bit characters and signed chars.
12384 Change return code to string::npos when there have been no error
12385 (0 was a bad idea when error is at first character)
12387 2001-11-14 José Matos <jamatos@fep.up.pt>
12390 * buffer.C (simpleDocBookOnePar): removed unused argument.
12392 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12394 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12395 insets which are part of a word. Paragraph::isLetter takes care of
12396 that now. Use Paragraph::isInset to identify insets.
12397 (selectSelectedWord): do not test for hyphenation break.
12399 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12400 that protected spaces are considered as spaces.
12402 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12405 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12408 * lyxserver.C: fix it. and small cleanup.
12410 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12412 * BufferView_pimpl.C: use inline helpers
12415 * LaTeXFeatures.C: fix typos
12418 * Spacing.C: move spacing_string into class
12420 * ToolbarDefaults.C: move stuff into namespace anon
12422 * layout.h: update enum
12424 * lyxfunc.C: use better debug
12426 * minibuffer.h: fix typo
12430 * WorkArea.C: add and use Debug::WORKAREA
12434 * text2.C: code re-organisation, inline helpers
12436 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12438 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12439 std::vector.empty().
12441 2001-11-09 Allan Rae <rae@lyx.org>
12443 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12444 '\n's after tables. Tabular and ERT inset work now makes this no
12447 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12450 * minibuffer.C: fix crash, improve drop-down completion
12452 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12455 * lyxserver.C: invalidate fd's when doing endPipe()
12457 2001-11-08 José Matos <jamatos@fep.up.pt>
12459 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12460 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12463 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12465 2001-11-07 José Matos <jamatos@fep.up.pt>
12468 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12471 * buffer.C (sgmlOpenTag):
12472 * buffer.C (sgmlCloseTag): removed debug info.
12474 * buffer.h (sgmlOpenTag):
12475 * buffer.h (sgmlCloseTag): made public.
12477 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * buffer.C (saveParamsAsDefaults):
12480 * lyx_cb.C (MenuLayoutSave): remove
12482 * LyXAction.C (init):
12484 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12486 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12488 * buffer.C (setPaperStuff): removed from here...
12490 * bufferparams.C (setPaperStuff): ... and moved there.
12492 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12496 * XFormsView.C: add support for drop-down completion
12498 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12500 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12503 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12505 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12508 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12510 * lyx_main.C: change ref to known bugs
12512 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12514 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12515 to work around older babel problems.
12517 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12519 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12521 2001-10-24 Juergen Vigna <jug@sad.it>
12523 * tabular-old.C (ReadOld): below variable changes reflected.
12525 * tabular.[Ch]: added ltType struct for longtable header/footer
12526 defines and changed all instances where they are used. Added
12527 future support for double top/bottom rows.
12529 2001-10-24 José Matos <jamatos@fep.up.pt>
12531 * buffer.h (docbookHandleCaption):
12532 * buffer.C (docbookHandleCaption): removed unused function.
12533 (makeDocBookFile): moved docbook supported version to v4.1.
12535 2001-10-24 José Matos <jamatos@fep.up.pt>
12538 * tabular.C (docbookRow): new function to export docbook code of a row.
12539 (DocBook): now honors the longtable flags.
12541 2001-10-23 José Matos <jamatos@fep.up.pt>
12544 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12545 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12547 * buffer.C (makeLinuxDocFile):
12548 (makeDocBookFile): reworked the preamble, more clean, and with
12549 support for lyx defined entities. Changed the document declaration
12550 to be more XML friendly.
12552 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12553 if we need to output XML that should be done with a filter.
12555 2001-10-22 Juergen Vigna <jug@sad.it>
12557 * sp_pspell.h (class PSpell): add alive function needed in the
12558 controller to see if the spellchecker could be started.
12560 2001-10-22 Juergen Vigna <jug@sad.it>
12562 * buffer.C (insertStringAsLines): modify the font for inserting
12563 chars in certain conditions by calling checkInsertChar(font).
12565 2001-10-19 Juergen Vigna <jug@sad.it>
12567 * text.C (workWidth): use getRow instead of wrong algorithm.
12568 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12570 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12575 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12577 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * text.C (workWidth): do not search for the exact row when
12580 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12581 optimization for big documents.
12583 2001-10-18 Juergen Vigna <jug@sad.it>
12585 * text.C (workWidth): new function with added Inset * parameter.
12587 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12589 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12591 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12592 change return type of getColumnNearX.
12595 * text.C (changeRegionCase): use uppercase/lowercase instead of
12598 (rightMargin): simplify code by factoring out the uses of
12603 (appendParagraph): use Paragraph::size_type
12605 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12607 * vspace.C (asLatexString): add a missing break
12609 2001-10-15 Herbert Voss <voss@perce.de>
12611 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12613 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12615 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12618 2001-10-10 André Pönitz <poenitz@gmx.net>
12620 * lyxfunc.C: removed greek_kb_flag.
12622 2001-10-10 Herbert Voss <voss@perce.de>
12624 * lyx_main.C: delete global string help_lyxdir.
12626 2001-10-09 Herbert Voss <voss@perce.de>
12628 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12630 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12632 * lyx_main.C: added global string help_lyxdir.
12634 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12636 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12638 * lyxrc.C (set_font_norm_type): support iso8859-4
12640 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12642 * LaTeX.C (deplog): add another regex for MikTeX
12644 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12646 * lyxrc.C (set_font_norm_type): support iso8859-3
12648 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12650 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12652 * LaTeXFeatures.C: remove special case of french and index
12654 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12655 before \begin{document}). This solves several incompatibilities.
12657 2001-10-03 Garst Reese <reese@isn.net>
12659 * lyx_cb.C: change CheckTex error msg.
12661 2001-10-03 José Matos <jamatos@fep.up.pt>
12663 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12665 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12667 * .cvsignore: update
12669 * lyx_main.C (commandLineVersionInfo): use new style version info.
12671 * buffer.C (writeFile):
12673 (makeLinuxDocFile):
12674 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12676 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12678 * version.h: update to use stuff in version.C
12680 * version.C.in: new file. Contains version information determined
12681 at compile time. This is a merging of version.h and
12684 2001-10-03 Juergen Vigna <jug@sad.it>
12686 * BufferView_pimpl.C (update): don't change "dirty" status in
12689 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12691 * WorkArea.C (c-tor): re-position version string slightly.
12693 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12695 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12696 revert to previous code.
12698 WorkArea.[Ch]: (show, destroySplash): methods removed.
12700 WorkArea.C: rework code so that it's an amalgam of the codes before and
12701 after the splash screen was moved to WorkArea.
12703 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12706 * vspace.C (inPixels):
12709 * buffer.C (insertStringAsLines):
12710 (asciiParagraph): fix types to be large enough
12712 * lyxlex_pimpl.h: change member status from short to int
12714 * layout.h: fix type of endlabeltype
12717 * kbsequence.C (parse): change return type to string::size_type
12719 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12722 * Bullet.C (bulletSize):
12723 (bulletEntry): do not use short ints as parameters
12725 * BufferView2.C (insertLyXFile): change a char to an int.
12727 * WorkArea.C (WorkArea): remove unneeded floats in computation
12729 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12731 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12733 * paragraph.C (asString): Do not ignore newline/hfill chars when
12734 copying to the clipboard.
12736 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12738 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12739 after a multi-line inset.
12741 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12743 * paragraph.C (validate): Set NeedLyXFootnoteCode
12745 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12747 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12748 and decrease-error to decrease.
12750 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12752 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12753 it more readable (should be equivalent)
12755 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12757 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12759 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12762 of a cursor (row, etc.) after a character has been deleted
12763 (deleteEmptyParagraphMechanism): call the method above on _all_
12764 cursors held by the LyXText when a double space has been
12767 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12769 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12771 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12773 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12774 background. Use greyOut() and the new show() methods to toggle between
12775 the foreground and background. Add code to remove the splash after
12776 its initial showing.
12778 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12779 (create_forms): no longer call Dialogs::showSplash.
12781 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * .cvsignore: add version_info.h
12785 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12787 * version_info.h.in: new file
12789 * Makefile.am: add version_info.h.in
12791 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12792 version_info.h instead of VERSION_INFO
12794 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12796 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12797 The ERT inset now returns string().
12799 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12801 * lyxtext.h, text.C (selectNextWord): renamed as
12802 selectNextWordToSpellcheck.
12804 * text.C (selectNextWordToSpellcheck): Modified to not select
12805 words inside an ERT inset.
12807 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12809 * lyx_cb.C (MenuLayoutSave): change a bit the question
12811 * sp_base.h: include <sys/types.h>
12813 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12815 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12817 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12819 * several files: fix typos in user-visible strings
12821 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * text2.C (pasteSelection): do not set the selection, since it
12824 will be cleared later. Actually, the intent was to fix the way the
12825 selection was set, but I figured rmoving the code was just as good.
12827 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12829 * FontLoader.C (available): Check if font is available without
12832 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12834 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12836 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12838 * lyxrc.[Ch]: added display_graphics variable and associated code.
12840 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12842 * bufferparams.C (hasClassDefaults): new method. Returns true if
12843 the buffer parameters correspond to known class defaults
12845 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12847 * XFormsView.C (show): set minimum size to the main window.
12849 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * text2.C (copySelection):
12853 * lyxfind.C (LyXReplace):
12854 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12855 LyXText::selectionAsString.
12857 * paragraph.C (asString): add "label" argument to the second form
12859 * text2.C (selectionAsString): add "label" argument and pass it to
12860 Paragraph::asString.
12862 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12864 * lyx_main.C (commandLineHelp): remove version information
12866 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12868 * lyx_main.C: add -version commandline option
12870 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12872 * paragraph.h: make the optional constructor arg required instead.
12873 some modifications to other files because of this.
12875 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12877 * lyxserver.C (C_LyXComm_callback): make it static
12879 * lyx_main.C (error_handler): make it static
12881 * lyx_gui.C (LyX_XErrHandler): make it static
12883 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12885 * WorkArea.C: make the extern "C" methods static.
12887 * Makefile.am (lyx_LDADD): simplify
12889 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12891 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12892 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12894 * LyXAction.C (init):
12895 * lyxfunc.C (dispatch): associated code removal.
12897 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12899 * lyxfont.h (isSymbolFont): shut off warning
12901 * text.C (setHeightOfRow):
12902 (getVisibleRow): fix crash with empty paragraphs which have a
12905 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12907 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12910 2001-09-04 José Matos <jamatos@fep.up.pt>
12913 * tabular.C (docbook): rename docBook method to docbook.
12915 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12917 * Makefile.am: add dependencies to main.o.
12919 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12921 * FontLoader.C (available): Return false if !lyxrc.use_gui
12923 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12925 * FontInfo.C (query):
12926 * converter.C (view):
12927 * importer.C (Import):
12928 * exporter.C (Export): Can not -> cannot.
12930 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12932 * BufferView_pimpl.C: allow to create index inset even if
12935 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12937 * buffer.C (getLists): replace boost::tie code with an explicit pair
12938 as boost::tie can break some compilers.
12940 * iterators.h: Added a std:: declaration to the return type of
12943 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12945 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12948 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12950 * iterators.[Ch]: New files. Provide paragraph iterators.
12952 * buffer.C (changeLanguage): Use paragraph iterators.
12953 (isMultiLingual): ditto
12955 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12957 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12959 * FontLoader.C: Support for cmr font.
12961 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12963 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12964 (available): New method.
12966 * FontInfo.C (getFontname): Use scalable fonts even when
12967 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12970 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12972 * converter.C (Formats::view): reverted! Incorrect fix.
12974 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12976 * converter.C (Formats::view): only output the -paper option
12977 if the dvi viewer is xdvi, thereby fixing bug #233429.
12979 2001-08-23 Herbert Voss <voss@perce>
12981 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12983 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12985 * Spacing.h (Spacing): Set space to Default on in the default
12988 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12990 * vc-backend.h (RCS::versionString): add RCS to version
12991 (CVS::versionString): add CVS to version
12993 * vc-backend.C (scanMaster): do not add CVS to version.
12994 (scanMaster): do not add RCS to version
12996 * lyxvc.C (versionString): new method
12998 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13000 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * Spacing.C (set): initialize fval
13004 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13006 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13009 2001-08-16 Juergen Vigna <jug@sad.it>
13011 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13013 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13015 * BufferView_pimpl.C:
13018 * text2.C: setParagraph takes linespacing now
13020 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13022 * LyxAction.C: add internal LFUN_CITATION_INSERT
13024 * LyXView.C: actually apply fix
13026 * bufferlist.C: fix open non-existent file
13028 * lyxfind.C: fix indentation
13030 * lyxfunc.C: remove unneeded assert, fix typo
13032 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13034 * MenuBackend.C: use "Floatname List"
13036 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13038 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13039 when converting LaTeX layout to insetERT.
13040 Generate a non-collapsed float when reading old float
13042 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13044 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13047 2001-08-13 Juergen Vigna <jug@sad.it>
13049 * text.C (fill): return 0 instead of 20 as this seems to be the more
13052 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13054 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13057 2001-08-13 Juergen Vigna <jug@sad.it>
13059 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13061 (SearchBackward): comment out the unlocking of the inset_owner this
13062 should not be needed!
13064 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13066 * Many files: Remove inherit_language, and add latex_language
13068 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13069 collapsible insets.
13071 2001-08-10 Juergen Vigna <jug@sad.it>
13073 * text.C (prepareToPrint): fixed hfill-width in draw!
13075 * BufferView2.C (selectLastWord): save the selection cursor as this
13076 now is cleared in the function LyXText::clearSelection!
13078 2001-08-08 Juergen Vigna <jug@sad.it>
13080 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13081 BACKSPACE type functions.
13083 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13084 is only cutted from the document but not put in the cut-buffer, where
13085 still the old stuff should be.
13087 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13089 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13091 * tabular.C (SetWidthOfCell): fixed special case where the width
13093 (LeftLine): handle '|' in align_special.
13095 (LeftAlreadyDrawed): ditto
13096 (SetWidthOfCell): ditto
13098 2001-08-07 Juergen Vigna <jug@sad.it>
13100 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13102 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13105 * lyxlex.[hC]: ditto
13107 2001-08-06 Juergen Vigna <jug@sad.it>
13109 * text.C (getVisibleRow): fix up row clearing a bit.
13111 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13113 * minibuffer.C: make sure the X server sees the changes in the input.
13115 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13117 * paragraph.C (getFont): split into...
13118 (getLabelFont): this
13119 (getLayoutFont): and this
13120 * paragraph_pimpl.C (realizeFont): calling this
13122 * text2.C (getFont): split into...
13123 (getLayoutFont): this
13124 (getLabelFont): and this
13125 (realizeFont): all three calling this
13127 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13130 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13132 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13134 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13136 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13137 layouts from the Quote inset insertion.
13139 2001-08-03 Juergen Vigna <jug@sad.it>
13141 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13143 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13144 only if status not is already CHANGED_IN_DRAW (second level).
13146 * text.C (draw): don't set the need_break_row when inside an
13149 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * buffer.C (parseSingleLyXformat2Token): handle more latex
13154 * bufferview_funcs.[hC]: change function names to
13155 begin with small char, adjust other files.
13157 2001-08-02 André Pönitz <poenitz@gmx.net>
13160 BufferView_pimpl.C: remove broken special code for math-greek
13162 2001-08-02 Juergen Vigna <jug@sad.it>
13164 * BufferView_pimpl.C (update): redone this function so that we
13165 update the text again if there was a CHANGE_IN_DRAW.
13167 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13168 (drawFromTo): added a new internal bool which is used by draw() and
13170 (general): some cursor drawing problems fixed.
13172 2001-08-01 Juergen Vigna <jug@sad.it>
13174 * lyxfind.C (LyXFind): fixed
13175 (SearchForward): ditto
13176 (SearchBackward): ditto
13178 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13179 spurius drawing of the cursor in the main area.
13181 * text2.C (status): small fix which could lead to a segfault!
13182 (clearSelection): remove unneeded BufferView param.
13184 2001-08-01 André Pönitz <poenitz@gmx.net>
13186 * lyxfunc.C: small change due to changed mathed interface
13188 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13190 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13192 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13194 * lyxfunc.c: fail gracefully if file doesn't exist
13199 * BufferView_pimpl.C: IsDirWriteable() proto changed
13201 * LyXView.C: fix updateWindowTitle() to store the last title
13203 2001-07-31 Juergen Vigna <jug@sad.it>
13205 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13206 the font (wrong since using of Paragraph::highestFontInRange).
13208 * paragraph.C (highestFontInRange): added a default_size parameter.
13210 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13211 (setHeightOfRow): reformat
13213 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * converter.[hC] + affected files: move to (inital-char)lowercase
13218 * ParagraphParameters.C (ParagraphParameters): remove commented code
13220 * PainterBase.[Ch]: remove commented code
13222 * LaTeXFeatures.h: add "bool floats" for float.sty
13224 * LaTeXFeatures.C (LaTeXFeatures): init floats
13225 (require): handle float
13226 (getPackages): do it with floats
13228 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * BufferView_pimpl.C (Dispatch): improve handling of
13231 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13233 * commandtags.h: #include lyxfont.h here temporarily to avoid
13236 * bufferlist.h: include LString.h here.
13238 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13240 * text2.C (getStringToIndex): new method.
13242 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13244 * *: Reduced header file dependencies all over.
13246 2001-07-30 Baruch Even <baruch@lyx.org>
13248 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13250 2001-07-29 Baruch Even <baruch@lyx.org>
13252 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13254 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * ParameterStruct.h (endif): add a default constructor to make
13257 sure that all variables is initialized.
13259 * ParagraphParameters.C (ParagraphParameters): adjust
13261 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13263 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13264 index; also, check that there is something to index, and that it
13265 does not span over several paragraphs.
13266 (doubleClick): use WHOLE_WORD_STRICT for double click.
13268 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13270 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13273 2001-07-26 Baruch Even <baruch@lyx.org>
13275 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13276 an InsetFig figure, backwards compatible reading of old figure code.
13278 2001-07-27 Juergen Vigna <jug@sad.it>
13280 * text2.C: font.realize function adaption.
13282 * text.C (draw): add a warnings lyxerr text if needed.
13284 * layout.C: font.realize function adaption.
13286 * language.C: add inherit_language and implement it's handlings
13288 * bufferview_funcs.C (StyleReset): remove language parameter from
13289 font creation (should be language_inherit now).
13291 * bufferparams.C (writeFile): handle ignore_language.
13293 * paragraph.C (getFontSettings): the language has to be resolved
13294 otherwise we have problems in LyXFont!
13296 * lyxfont.C (lyxWriteChanges): added document_language parameter
13297 (update): removed unneeded language parameter
13299 * paragraph.C (validate): fixed wrong output of color-package when
13300 using interface colors for certain fonts in certain environments,
13301 which should not seen as that on the final output.
13303 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13305 * BufferView_pimpl.C:
13310 * LyXAction.C: add thesaurus support
13313 * lyxfind.C: add "once" parameter, for thesaurus, to not
13314 move to the next match
13316 2001-07-26 Juergen Vigna <jug@sad.it>
13318 * lyxfont.C (realize): honor ignore_language too!
13321 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13323 * text.C (draw): one place more for ignore_language to not draw
13326 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13328 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13330 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13333 the minipage conversion problem.
13335 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13340 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * BufferView.h: don't forward declare WorkArea
13344 * BufferView.C: don't include WorkArea.h
13346 2001-07-25 André Pönitz <poenitz@gmx.net>
13350 * lyxfunc.C: new LFUN 'math-space'
13352 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13354 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13356 * text2.C (toggleInset): call open/close
13358 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * lyxfunc.C (dispatch): add debug for the disabled case
13362 * font.C (buttonText): make similar to rectText
13364 * buffer.C (readInset): comment out parsing of insetlist and
13367 * PainterBase.C (rectText): small correction
13369 * BufferView_pimpl.C: comment out insettheorem and insetlist
13370 * LyXAction.C: ditto
13371 * commandtags.h: ditto
13373 2001-07-24 Juergen Vigna <jug@sad.it>
13375 * text.C (draw): honor the ignore_language.
13377 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13379 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13384 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13386 * lyxtext.h: remove unused (and unimplemented) methods
13388 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13390 * text.C (getVisibleRow): honor background color
13393 * Painter.h: remove default color argument for fillRectangle
13395 * text.C (backgroundColor): new method
13397 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13399 * text.C (getVisibleRow): adjust
13401 * font.[Ch] (rectText): new method, metrics
13402 (buttonText): new method, metrics
13404 * PainterBase.[hC]: make rectText and buttonText always draw and take
13407 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13409 * ToolbarDefaults.C (read):
13410 * MenuBackend.C (read): allow escaping in all strings
13412 * BufferView_pimpl.C (insertAndEditInset): new method.
13413 (Dispatch): use insertAndEditInset whenever appropriate.
13415 * BufferView_pimpl.C (insertNote): removed
13417 * BufferView_pimpl.C (smartQuote): new method, moved from
13418 BufferView; if an insetquote cannot be inserted, insert a '"'
13421 * BufferView2.C: remove insertCorrectQuote();
13423 * lyxfunc.C (getStatus): Add support for all remaingin
13424 inset-insert lfuns.
13426 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13428 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13429 command (necessary to pass " as parameter of self-insert.
13431 * text.C (selectWordWhenUnderCursor):
13432 (selectWord): add word_location parameter
13433 (selectWordWhenUnderCursor): same + remove special code for word
13435 (selectNextWord): use kind() to guess type of insetspecialchar,
13438 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13439 (insertErtContents): create ert insets as collapsed.
13440 (readInset): better compatibility code for Info inset.
13442 2001-07-20 Juergen Vigna <jug@sad.it>
13444 * lyxfunc.C (dispatch): use always LyXFind now!
13446 * text2.C (init): add a reinit flag so that the LyXText can be
13447 reinited instead of deleted and reallocated (used in InsetText).
13449 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13455 2001-07-18 Juergen Vigna <jug@sad.it>
13457 * text.C (selectNextWord): handle insets inside inset by calling
13458 always the bv->text functions so that we can go up the_locking_inset!
13460 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13461 in strange locations when inside an inset!
13463 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13464 handling to include insets.
13466 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13468 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13470 * LyXAction.C (init):
13472 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13473 LIGATURE_BREAK, since the name is so stupid.
13475 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13477 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13480 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13482 * sp_form.[Ch]: remove.
13484 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13486 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13489 * src/buffer.C (readInset): ditto.
13491 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13493 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13494 menuSeparator(), endOfSentenceDot(), ldots() and
13495 hyphenationPoint(), which are therefore removed.
13496 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13498 * LyXAction.C (init):
13499 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13501 * paragraph.C (getWord): removed.
13503 * BufferView_pimpl.C (Dispatch): use last word or selection for
13504 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13506 * lyx_main.C (queryUserLyXDir): do not ask before creating
13507 user_dir, except if it has been named explicitely.
13509 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13511 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13512 a document of zero size.
13514 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13516 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13517 approriately in the c-tor and in require().
13518 (getPackages): output the appropriate LaTeX for natbib support.
13520 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13521 variables "use_natbib" and "use_numerical_citations" when reading the
13523 (readInset): read the various natbib cite commands.
13524 (validate): white-space change.
13526 * bufferparams.[Ch]: new variables "bool use_natbib" and
13527 "bool use_numerical_citations".
13528 (writeFile): output them in the LyX file.
13530 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13532 * lyxfunc.C (getStatus): add support for all the inset insertion
13535 * text2.C (insertInset):
13536 * paragraph.C (insetAllowed):
13537 * BufferView_pimpl.C (insertInset): update to take in account the
13538 renaming of insertInsetAllowed
13540 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13542 * text2.C (getInset): new method. returns inset at cursor position.
13544 * BufferView_pimpl.C (Dispatch): changes because of this.
13546 * LyXAction.C (init): rename open-stuff to inset-toggle.
13548 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13550 * text2.C (toggleInset): renamed from openStuff; use
13553 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13555 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13557 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13559 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13561 * buffer.C (readLyXformat2): Add filename to the error dialog
13563 2001-07-18 Juergen Vigna <jug@sad.it>
13565 * tabular.C (GetCellNumber): put an assert here instead of the check!
13567 2001-07-17 Juergen Vigna <jug@sad.it>
13569 * BufferView_pimpl.C (toggleSelection): adapted too.
13571 * text.C (selectNextWord): adapted for use with insets.
13572 (selectSelectedWord): ditto
13574 2001-07-17 Juergen Vigna <jug@sad.it>
13576 * sp_spell.C (PSpell): fix initialitation order.
13578 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * paragraph.C: spacing
13582 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13584 * sp_spell.C: repair language selection for pspell
13586 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * lyxfunc.h: change more methods to begin with lower char.
13590 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13592 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13593 for unknown layouts.
13595 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13597 * buffer.C (readLyXformat2): Generate an error dialog if there are
13600 2001-07-16 Juergen Vigna <jug@sad.it>
13602 * sp_spell.C: always compile ISpell part.
13604 * lyxrc.C: added use_pspell entry and it's handling.
13606 2001-07-13 Juergen Vigna <jug@sad.it>
13608 * sp_spell.C: removed double includes.
13610 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13612 Consistent use of Lsstream.h:
13613 * Lsstream.h: added using std::stringstream for consistencies sake.
13615 * buffer.C: removed using std::stringstream
13617 * lyxfont.C (stateText):
13618 * paragraph.C (asString):
13619 * text.C (selectNextWord, selectSelectedWord):
13620 * text2.C (setCounter):
13621 * vspace.C (asString, asLatexString):
13622 std::ostringstream -> ostringstream.
13624 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13626 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13627 * commandtags.h: add LFUN_HELP_ABOUTLYX
13628 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13630 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13632 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13634 * lyx_gui_misc.C: remove spellchecker
13635 * lyxfunc.C: showSpellchecker
13637 * sp_ispell.h: added
13638 * sp_pspell.h: added
13639 * sp_spell.C: added
13640 * sp_form.[Ch]: removed
13641 * spellchecker.[Ch]: removed
13643 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13645 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13647 (simpleTeXSpecialChars): Simply print the input character without
13648 any special translation if pass_thru is set.
13650 * layout.h: Added bool pass_thru to layout class for being able to
13651 implement pass through of a paragraph for Literate Programming.
13653 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13654 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13655 * layout.C (Read): add "passthru" to list of layout tags and add
13656 code to set the pass_thru boolean when it is read.
13658 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * trans_decl.h: remove allowed from KmodInfo
13662 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13663 remove allowed code
13666 * paragraph_pimpl.C (erase): use boost::prior
13668 * Painter.C (text): use data() instead of c_str() when length is
13670 * WorkArea.C (putClipboard): ditto
13671 * font.h (width): ditto
13673 * BufferView2.C: use it-> instead of (*it). for iterators
13675 * paragraph_pimpl.C: ditto
13676 * paragraph.C: ditto
13677 * minibuffer.C: ditto
13678 * language.C: ditto
13680 * encoding.C: ditto
13681 * counters.C: ditto
13682 * converter.C: ditto
13684 * Variables.C: ditto
13685 * TextCache.C: ditto
13686 * MenuBackend.C: ditto
13687 * LyXAction.C: ditto
13689 * FloatList.C: ditto
13690 * DepTable.C: ditto
13691 * ColorHandler.C (LyXColorHandler): ditto
13693 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13697 * text2.C (openStuff): reintroduce this method (which had been
13698 nuked in NEW_INSETS frenzy).
13700 * lyxfunc.C (Dispatch): when an action has not been handled, use
13701 its name in the error message, not its number.
13703 * paragraph.C (inInset): change method name to begin with lowercase.
13706 * text2.C: updates because of this.
13708 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13710 * ToolbarDefaults.C (add): add spaces in error message
13712 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13714 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13715 (readLyXformat2): rename return_par to first_par, use lyxlex's
13716 pushToken and remove the manual push handling.
13717 (parseSingleLyXformat2Token): add another ert comp. variable:
13718 in_tabular, rename return_par to first_par. handle newlines better
13720 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13722 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13724 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * text2.C (getParFromID): removed
13728 * buffer.C (getParFromID): new method moved form lyxtext.
13729 * BufferView2.C (insertErrors): adjust
13730 (setCursorFromRow): adjust
13731 * BufferView_pimpl.C (restorePosition): adjust
13732 * lyxfunc.C (Dispatch): adjust
13733 * undo_funcs.C (textUndo): adjust
13735 (textHandleUndo): adjust
13736 (textHandleUndo): adjust
13738 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * buffer.C: up' the LYX_FORMAT
13742 * lyxfont.h: turn NO_LATEX on as default
13744 * buffer.C (insertErtContents): new methods of tex style compability.
13745 (parseSingleLyXformat2Token): use it several places.
13746 * tabular.C (OldFormatRead): and here
13748 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * text2.C: remove some commented code.
13753 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13754 * trans.C: changes because of the above.
13756 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13758 * text2.C (setCounter): Fix counters bug with bibliography layout.
13760 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13763 own member functions
13764 (simpleTeXSpecialChars): ditto
13766 2001-07-06 Juergen Vigna <jug@sad.it>
13768 * a lot of files: changed the access to LyXText::status and the
13769 call of undo-functions.
13771 * undo.[Ch]: added a inset_id to the undo informations.
13773 * undo_funcs.[Ch]: added and moved here all undo functions.
13775 * lyxtext.h: give the status enum a weight, made status_ a private
13776 variable and made accessor functions for it, removed the whole bunch
13777 of undo-functions as they are now in their own file, make some
13778 functions publically available. Added function ownerParagraph with
13781 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13782 made InInset() a const function, added getParFromID() function.
13784 * buffer.[Ch]: added const version for inset_iterator functions,
13785 added getInsetFromID() function.
13787 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13788 changed undo functions for new version.
13790 2001-07-05 Juergen Vigna <jug@sad.it>
13792 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13793 unknow mechanism does not call the proper constructor but only this
13794 one also if I request the other!?
13796 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13798 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13800 * text2.C (LyXText): use initialization lists.
13802 * lyxtext.h (Selection): initialize set_ and mark_
13803 (init): remove method
13805 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13807 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13809 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * screen.[Ch]: change method names to begin with lowercase
13813 * BufferView_pimpl.C (updateScrollbar): simplify further and
13814 hopefully make it a bit faster.
13816 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13819 calling directly xforms functions.
13821 * Painter.C (Painter):
13822 * lyx_cb.C (MenuWrite):
13823 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13826 * lyx_gui.C: remove bogus guiruntime extern declaration.
13828 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13830 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13832 (redoDrawingOfParagraph): ditto
13833 (redoParagraphs): ditto
13834 (cutSelection): don't create a object for CutAndPaste use the
13835 static method directly
13836 (pasteSelection): ditto
13838 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13841 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * modifications to some other files because of this.
13845 * Makefile.am (lyx_SOURCES): add XFormsView
13847 * XFormsView.[Ch]: new files
13849 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13850 the main window. Move the gui dependent stuff to XFormsView
13852 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13854 * tabular.C (GetCellInset): update cur_cell also in the row/col
13855 version of this function.
13857 * lyxfunc.C: no need to include figure_form.h here.
13863 * lyxvc.C: no need to include forms.h here.
13865 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13867 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13869 * lyxfunc.C (Dispatch):
13871 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13872 constructor argument.
13874 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * paragraph.C (Paragraph): dont't clear, and just set layout.
13877 (makeSameLayout): use params's copy contructor.
13879 * ParagraphParameters.[Ch] (makeSame): delete method
13881 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13883 * Variables.[Ch]: fix indentation, rename set to isSet
13885 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * lyxfunc.C (Dispatch): fix typo
13889 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13894 * bufferlist.C: include assert.h for emergencyWrite().
13896 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13898 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13899 give up at last (bug #425202) !
13901 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13907 * spellchecker.C: strip spellchecker options and bring up
13908 preferences tab instead
13910 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13912 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13913 the istringstream constructor
13915 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13917 * paragraph.C (getLayout): fix return value
13919 * paragraph.h: do not declare getLayout as inline.
13921 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13923 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * lyxcursor.h (operator<): new func
13926 (operator>): new func
13927 (operator>=): new func
13928 (operator<=): new func
13930 * text.C (changeCase): use selection.start and selection.end
13931 (changeRegionCase): require from to be <= to. Require par to be a
13934 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13936 2001-06-27 Juergen Vigna <jug@sad.it>
13938 * text.C (cursorLeftOneWord): changed to return the cursor and added
13939 overlay with BufferView * parameter which calls this one.
13941 (selectWord): use new getWord function.
13942 (changeCase): renamed from changeWordCase as and extended to work
13943 also on selections.
13945 * lyxtext.h: added enum word_location
13947 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13948 changeCase as this operates now also on selections.
13950 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13952 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13954 * many files: send debug output to Debug::INFO instead of
13957 * converter.C (View):
13959 (Move): send debug output to Debug::FILES instead of console.
13961 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13963 * lyxfunc.C (getStatus): use func_status
13965 * func_status.h: new header, describing the results of
13966 LyXFunc::getStatus;
13968 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13971 2001-06-25 The LyX Project <jug@sad.it>
13973 * buffer.C (sgmlOpenTag):
13975 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13977 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * text2.C: remove some dead code
13981 * tabular.C (GetCellInset): store the last cell checked (gotten)
13983 * tabular.h: add the helper for the speedup
13985 * lyxtext.h: remove some dead code
13987 2001-06-26 The LyX Project <Asger>
13989 * paragraph.C: Change export to LaTeX of alignment to
13990 \begin{center} and family for better roundtrip work with reLyX.
13992 * Tune the math drawing a bit.
13994 2001-06-25 The LyX Project <Asger>
13996 * LColor.C (LColor): New color for math background. New color
13999 2001-06-25 The LyX Project <jug@sad.it>
14001 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14003 * lyxfunc.C (Open):
14004 * bufferlist.C (newFile): do not restrict to files ending with
14007 * BufferView_pimpl.C (MenuInsertLyXFile):
14009 2001-06-24 The LyX Project <jug@sad.it>
14011 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14014 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * lyxtext.h: rename most methods to begin with a small char.
14017 Lots of changes because of this.
14019 * paragraph.C (Paragraph): do not call fitToSize
14020 (erase): call Pimpl::erase
14021 (insertChar): call Pimpl::insertChar
14022 (insertInset): call Pipl::insertInset
14023 (breakParagraph): do not call fitToSize
14024 (breakParagraphConservative): do not call fitToSize
14025 (fitToSize): remove method
14027 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14029 2001-06-24 The LyX Project <Asger>
14031 * Fix Qt compilation^2
14033 2001-06-24 The LyX Project <jug@sad.it>
14035 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14036 depthHook(getDepth()-1).
14039 * ParagraphParameters.h:
14040 * ParameterStruct.h: change type of depth to unsigned int ==
14041 depth_type. Many adaptations to other files before of that.
14043 2001-06-24 The LyX Project <Asger>
14045 * Fix Qt compilation.
14047 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14049 * paragraph.h: renamed several methods to begin with small letter.
14050 several changes to many parts of the code because of this.
14052 2001-06-23 The LyX Project <jug@sad.it>
14054 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14055 rewritten to discard all double spaces when KeepEmpty is off
14056 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14057 to only handle newlines but not fiddle with spaces and friends.
14059 * lyxfunc.C (MenuNew): when doing 'new from template', use
14060 template_path as default directory
14062 2001-06-23 The LyX Project <Asger>
14064 * Clean-up of header file includes all over
14065 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14067 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14069 * paragraph.h: renamed from lyxparagraph.h
14071 2001-06-23 Asger <lyx@violet.home.sad.it>
14073 * Buffer.h: Removed Buffer::resize
14074 * BufferList.h: Removed BufferList::resize
14075 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14076 the document lazily when we change the width, or the font settings.
14078 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14080 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14082 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14084 * buffer.h: remove out of date comment
14086 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14089 * screen.C: fix "theoretical" GC leak
14091 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * LaTeX.C (scanAuxFile):
14094 (deplog): remove trailing \r when reading stream (useful under
14097 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14099 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14100 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14101 and BufferView::theLockingInset(Inset*), so should use them and not
14102 access bv_->text->the_locking_inset directly.
14104 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14106 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14109 * tex-defs.h: remove old unused file
14111 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14113 * BufferView_pimpl.C: fix typo, remove minibuffer message
14114 when buffer has loaded
14116 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * lyxfunc.C (Dispatch): use stringstream
14119 (MenuNew): use stringstream
14120 (Open): use stringstream
14122 * importer.C (Import): use stringstream
14124 * bufferview_funcs.C (CurrentState): use stringstream
14126 * LaTeX.C (run): use stringstream
14128 * BufferView_pimpl.C (savePosition): use stringstream
14129 (restorePosition): use stringstream
14130 (MenuInsertLyXFile): use stringstream
14132 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14145 * vspace.C: removed // -*- C++ -*- as first line.
14148 * version.h: added // -*- C++ -*- as first line.
14150 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14152 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14154 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14157 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14159 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14162 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * gettext.C: include LString.h even when --disable-nls is on.
14166 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14168 * converter.h (Get): changed argument type from int to
14169 FormatList::size_type to avoid unnecessary conversion.
14171 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14174 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * gettext.h: include LString.h even when --disable-nls is on.
14178 2001-06-07 Juergen Vigna <jug@sad.it>
14180 * text.C (BreakAgain): subst spaces with tabs.
14182 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14183 (resizeInsetsLyXText): set force on resizeLyXText.
14185 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14187 * gettext.h (gettext_init):
14188 (locale_init): use a real definition instead of a macro
14190 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14192 * Bufferview_pimpl.C:
14194 * LColor.C: further lcolor tidies
14196 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * BufferView_pimpl.C (updateScrollbar): simplify.
14200 * BufferView2.C: don't include insets/insetinfo.h, change
14201 prototype for insertInset and call the Pimpl version. let
14202 updateInset call Pimpl version.
14204 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14205 gotoInset to BufferView::Pimpl
14207 2001-06-01 Juergen Vigna <jug@sad.it>
14209 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14210 inside a LockingInset (is the update needed at all?).
14212 2001-05-31 Juergen Vigna <jug@sad.it>
14214 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14215 here not the old one otherwise how should we compare it afterwards
14218 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * FontInfo.C: bring C functions into global namespace when
14226 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * LString.h: make sure config.h has been loaded before LString.h.
14230 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14231 (one for each char read by EatLine!).
14233 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14236 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14238 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14239 to the same as the par we break from
14241 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14243 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14245 * MenuBackend.C (expand): also create menu entries for wide
14246 versions of the floats.
14248 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14250 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14252 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14253 frontends/Makefile.am
14259 * tabular.C (getTokenValue): add std::
14261 * tabular-old.C (getTokenValue): add std::
14262 (getTokenValue): ditto
14263 (getTokenValue): ditto
14265 * screen.C (ToggleSelection): adjust
14267 * lyxtext.h: put selection cursors inside a Selection struct.
14269 * lyxfunc.C (moveCursorUpdate): adjust
14271 * lyxfont.C (latexWriteStartChanges): add std::
14273 * lyxfind.C: adjust
14275 * font.h: delete with(char const *, LyXFont const &)
14277 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14279 * FontInfo.C (getFontname): add std::
14281 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14282 (workAreaButtonPress): adjust
14283 (tripleClick): adjust
14285 (moveCursorUpdate): adjust
14288 * BufferView2.C (gotoInset): adjust
14290 2001-05-30 Juergen Vigna <jug@sad.it>
14292 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14293 to check pspell I add this as default as I now have new pspell
14294 libraries and they seem to use this.
14296 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14298 * text2.C (CutSelection): make the cursor valid before the call to
14301 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14304 relied on 0 terminated strings and other horrors. Bug found due to
14305 the new assert in lyxstring!
14307 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14310 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14315 * lyxfunc.C (processKeySym): change method of getting to the
14318 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14319 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14320 * BufferView_pimpl.[Ch]: here as private methods.
14322 2001-05-28 Juergen Vigna <jug@sad.it>
14324 * text.C (SetHeightOfRow): added the update() call again as it is
14325 needed to initialize inset dimensions!
14327 2001-05-16 Juergen Vigna <jug@sad.it>
14329 * text2.C (SetCharFont): Add new function with BufferView * and
14330 bool toggleall parameters for setting insets internal fonts.
14331 (SetFont): Freeze the undo as we may change fonts in Insets and
14332 all this change should be inside only one Undo!
14334 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14335 setting font's in insets as for them we have the SetFont function!
14337 2001-05-15 Juergen Vigna <jug@sad.it>
14339 * text2.C (ClearSelection): to be sure we REALLY don't have any
14342 * tabular.C (TeXCellPreamble): fixed the left border problem for
14345 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14347 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14350 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14353 LFUN_BREAKPARAGRAPH.
14355 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14356 help test to "internal only", similar for LFUN_INSERT_URL
14358 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14359 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14360 auto_region_delete and deadkeys.
14362 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14365 * LColor.C: remove some dead entries, tidy a little
14367 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14371 (Dispatch): implement LFUN_ESCAPE
14373 * commandtags.h: add LFUN_ESCAPE
14375 * LyXAction.C (init): add entry for LFUN_ESCAPE
14377 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14378 Remove commented code.
14379 (insertNote): moved here
14380 (open_new_inset): moved here
14382 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14385 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * kbmap.C (findbinding): clean it up and make it work correctly.
14389 * lyx_main.C (init): do not pass argc and argv as parameters
14391 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14393 * buffer.C: fix path for OS/2 & Win32
14397 * lyx_main.C: Added os:: class.
14399 * os2_defines.h: update
14401 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14404 better by trying again with reduced state.
14406 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * lyxrc.C (read): print error about invalid key sequence only when
14409 debugging (because not all latinX keysyms are known to some X
14412 * kbsequence.C (getiso): add a few std:: qualifiers
14413 (getiso): comment out extra return statement.
14415 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14419 (Dispatch): enhance the accent inset a bit. (not perfect)
14421 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14425 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14427 * bufferlist.C (emergencyWrite): fix assert() call
14429 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14431 * text.C (InsertChar): Added trivial patch to only send the "you
14432 can not do multiple spaces this way" message once during a
14435 2001-05-08 Baruch Even <baruch@lyx.org>
14437 * Makefile.am: Changed order of libraries to get LyX to link properly
14438 with the gnome frontend.
14440 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * LaTeXFeatures.h: add a std:: qualifier
14444 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14446 * paragraph.C (String): use stringstream
14448 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * paragraph.C (writeFile): remove footflag arg
14452 * buffer.C (makeLaTeXFile): use stringstream
14453 (latexParagraphs): remove footnot gurba
14455 * LaTeXFeatures.C (getPackages): use stringstream
14456 (getMacros): likewise
14457 (getTClassPreamble): likewise
14458 (getFloatDefinitions): new method
14460 * paragraph.C (writeFile): reindent
14463 * WorkArea.h: revert the xpos + etc changes.
14465 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14467 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14469 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14470 (pasteSelection): likewise
14471 * text2.C (CreateUndo): likewise
14473 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * minibuffer.C (peek_event): temporarily reduce the functionality
14476 of the minibuffer (to allow args on lfuns)
14478 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14479 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14481 * buffer.C (readInset): add compability reading of old float
14482 lists, add reading of new style float list.
14483 (readInset): avoid reevaluation of inscmd.getCmdName()
14484 (getLists): reindent
14486 * MenuBackend.C (MenuItem): implement parsing of
14487 md_floatlistinsert and md_floatinsert.
14488 (expand::LastFiles): move initalizaton of iterators out of loop,
14489 avoid reevaluation.
14490 (expand::Documents): introduce typdedef vector<string> Strings,
14492 (expand::ExportFormats): introduce typedef vector<Format const *>
14493 Formats, and use it.
14494 (expand): implement FloatListInsert and FloatInsert.
14496 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14497 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14498 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14500 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14502 (Dispatch::LFUN_FLOAT_LIST): implement
14504 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14506 * LaTeX.C (run): Fix problem with --export code.
14508 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14510 * BufferView.[Ch] (workarea): removed.
14511 (getClipboard) new method; wrapper for workarea()->getClipboard()
14513 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14516 * WorkArea.h (width, height, xpos, ypos): These methods all
14517 returned the dimensions of the work_area sub-area of WorkArea,
14518 resulting in a position error if the WorkArea were resized. Now
14519 return the dimensions of the entire WorkArea.
14521 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14523 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * LaTeX.C (deplog): correct the syntax of regex reg1
14527 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * undo.C: remove !NEW_INSETS cruft
14531 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * text2.C: remove !NEW_INSETS cruft
14535 * text.C: remove !NEW_INSETS cruft
14537 * tabular.C: remove !NEW_INSETS cruft
14539 * spellchecker.C: remove !NEW_INSETS cruft
14541 * lyxtext.h: remove !NEW_INSETS cruft
14543 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14545 * lyxfunc.C: remove !NEW_INSETS cruft
14547 * lyxfind.C: remove !NEW_INSETS cruft
14549 * lyx_cb.C: remove !NEW_INSETS cruft
14551 * figureForm.C: remove !NEW_INSETS cruft
14553 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14555 * buffer.[Ch]: remove !NEW_INSETS cruft
14557 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14559 * CutAndPaste.C: remove !NEW_INSETS cruft
14561 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14563 * BufferView2.C: remove !NEW_INSETS cruft
14565 * BufferView.h: remove !NEW_INSETS cruft
14567 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * Lsstream.h: include LString.h before the sstream headers to
14570 fix problem with gcc 2.95.3 and lyxstring
14572 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14574 * lyx_main.C: add using directives when needed for C functions
14575 declared in std:: namespace.
14577 2001-04-27 Juergen Vigna <jug@sad.it>
14579 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14580 (SetHeightOfRow): comment out the update call should not be needed!
14582 2001-04-13 Juergen Vigna <jug@sad.it>
14584 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14585 (LyXTabular): tried to minimize operator= operations (and realized
14586 hopfully Lars wish).
14588 2001-04-27 Juergen Vigna <jug@sad.it>
14590 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14592 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14596 * buffer.C (readInset): hack to make listof algorithm work
14598 * BufferView_pimpl.C: hack to make listof algorithm work
14600 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14602 * LyXAction.C: removed all !NEW_INSETS cruft
14603 (init): moved lfun_item in method
14605 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14607 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14609 * BufferView2.C (theLockingInset): white space.
14611 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14613 * minibuffer.C: include <iostream>
14615 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14617 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14619 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14621 * text.[Ch] (TransposeChars): new method
14623 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14625 * call message directly through LyXView instead of through LyXFunc
14626 * BufferView2.C: adjust
14627 * BufferView_pimpl.C: adjust
14628 * FontLoader.C: adjust
14630 * bufferview_funcs.C: adjust
14631 * converter.C: adjust
14632 * figureForm.C: adjust
14633 * importer.C: adjust
14635 * lyx_gui_misc.C: adjust
14636 * lyxfunc.C: adjust
14639 + more files in subdirs
14641 * lyxparagraph.h (size): move up int file
14644 * adjust all uses of Assert to lyx::Assert.
14646 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14647 lyxfunctional in namespace lyx
14648 * layout.C (hasLayout): ditto
14651 (delete_layout): ditto
14652 (NumberOfClass): ditto
14653 * converter.C (GetFormat): ditto
14658 * bufferlist.C (getFileNames): ditto
14659 (emergencyWriteAll): ditto
14662 * MenuBackend.C (hasSubmenu): ditto
14665 * BufferView_pimpl.C (getInsetByCode): ditto
14667 2001-04-18 Juergen Vigna <jug@sad.it>
14669 * vspace.C (asLatexString): fixed the 100% problem.
14671 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14673 * lyxfunc.C (Dispatch):
14675 * minibuffer.h: add a few std:: qualifiers
14677 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * minibuffer.[Ch]: reimplement so that commands is initiated and
14680 run from lyxfunc, simplified som handling, and made the completion
14681 and history code for complete. wip.
14683 * lyxfunc.C (processKeySym): call message
14684 (miniDispatch): new temporary method
14685 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14686 (LFUN_MESSAGE): implement
14687 (LFUN_MESSAGE_PUSH): implement
14688 (LFUN_MESSAGE_POP): implement
14689 (initMiniBuffer): the initial/defualt minibuffer message.
14691 * lyxfont.[Ch]: inline some more getters
14693 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14695 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14697 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14698 (AutoSave): use LFUN_MESSAGE
14699 (Reconfigure): ditto
14701 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14703 * figureForm.C: use LFUN_MESSAGE
14705 * converter.C (runLaTeX): use LFUN_MESSAGE
14707 * bufferview_funcs.C: use LFUN_MESSAGE
14709 (changeDepth): ditto
14711 * bufferparams.h: use boost::
14713 * bufferlist.h: inherit privately from noncopyable
14715 * bufferlist.C (loadLyXFile): remove some commented code.
14717 * buffer.C (runChktex): use LFUN_MESSAGE
14719 * ShareContainer.h: inherit privately from noncopyable
14721 * ParagraphParameters.[hC] (depth): inline it.
14723 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14725 (message): new method
14726 (messagePush): ditto
14727 (messagePop): ditto
14728 (show): init minibuffer
14729 (showState): direct call
14731 * LaTeX.[Ch]: inherit privately from noncopyable
14732 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14733 instead of WriteStatus.
14735 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14737 * BufferView_pimpl.C (buffer): don't init minibuffer
14738 (workAreaButtonPress): use LFUN_MESSAGE
14739 (workAreaButtonRelease): ditto
14740 (savePosition): ditto
14741 (restorePosition): ditto
14742 (MenuInsertLyXFile): ditto
14743 (workAreaExpose): don't init minibuffer
14744 (update): remove commented code, simplify
14746 * BufferView2.C (openStuff): use LFUN_MESSAGE
14747 (toggleFloat): ditto
14750 (copyEnvironment): ditto
14751 (pasteEnvironment): ditto
14756 (updateInset): remove some commented code
14758 * lastfiles.h: inherit privately from noncopyable
14761 * lyx_main.h: ditto
14763 * lyxlex_pimpl.h: ditto
14765 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14766 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14767 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14769 * LyXAction.h: inherit privately from noncopyable, add methods
14770 func_begin, func_end, returning iterators to the func map.
14772 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14773 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14774 (func_begin): new method
14775 (func_end): new method
14777 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14779 (copySelection): ditto
14780 (pasteSelection): ditto
14782 * BufferView.C: whitespace change
14783 * BufferView.h: inherit privately from noncopyable
14785 2001-04-16 Allan Rae <rae@lyx.org>
14787 * tabular-old.C (l_getline):
14788 * spellchecker.C (sc_check_word):
14789 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14790 an unrecognised preprocessor directive. So ensure they're wrapped.
14792 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14794 * src/exporter.C (Export): Give an error message when path to file
14797 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14799 * LaTeX.C (deplog): Always check that foundfile exists.
14801 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14806 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14808 * tabular.[Ch] (getLabelList): implement new method
14810 * minibuffer.h: comment ouf setTiimer
14812 * minibuffer.C (ExecutingCB): constify res
14813 (peek_event): constify s
14814 (Set): constify ntext
14815 (Init): constify nicename
14817 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14819 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14820 (savePosition): use two params to Minibuffer::Set
14821 (restorePosition): ditto
14823 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * lyx_main.C: include language.h
14827 * Makefile.am (lyx_main.o): add language.h
14829 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14835 * CutAndPaste.C: include gettext.h
14837 * lyxfont.h: remove old hack with ON and OFF.
14840 * lyxfont.h: do not include language.h...
14845 * bufferview_funcs.C:
14851 * paragraph.C: ... but do it here instead
14853 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14855 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14857 * tabular.C: small reformat
14859 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14862 (BreakParagraph): ditto
14863 (SetOnlyLayout): ditto
14866 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14869 * lastfiles.C: removed most using decl, add std:: where needed
14871 * buffer.C: ws changes
14873 * MenuBackend.C (class compare_format): put into anon namespace
14874 (expand): constify label, names, action, action2
14877 * text.C (SingleWidth): constify font
14878 (IsBoundary): constify rtl2
14879 (GetVisibleRow): constify ww
14881 * LaTeX.C (deplog): constify logfile
14883 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14885 (workAreaExpose): constify widthChange, heightChange
14887 * lyxrow.C (par): moved
14890 * lyxrow.h: as inlines here
14892 * lyxfont.h (shape): moved from lyxfont.C
14893 (emph): moved from lyxfont.C
14895 * lyxfont.C (LyXFont): use initialization list for all
14897 (shape): move to lyxfont.h as inline
14898 (emph): move to lyxfont.h as inline
14901 2001-04-04 Juergen Vigna <jug@sad.it>
14903 * vspace.C: had to include stdio.h for use of sscanf
14905 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14908 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14909 independent of xforms.
14911 2001-04-02 Juergen Vigna <jug@sad.it>
14913 * spellchecker.C: fixed namespace placing!
14915 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14917 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14918 the LyXParagraph * is 0.
14920 2001-03-29 Juergen Vigna <jug@sad.it>
14922 * vspace.C: added support for %, c%, p%, l%.
14923 (stringFromUnit): added helper function.
14924 (asLatexString): changed to give right results for the %-values.
14926 * buffer.C: convert the widthp in a width%.
14928 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14930 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14933 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14934 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14936 * lyx_cb.[Ch]: see above.
14938 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14942 * lyx.[Ch]: replaced by figure_form.[Ch].
14946 * lyxfunc.C: changed headers associated with above changes.
14948 2001-03-27 Juergen Vigna <jug@sad.it>
14950 * BufferView_pimpl.C: set the temporary cursor right!
14952 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14954 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14956 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14958 * LString.h: removed "using std::getline"!
14960 * BufferView_pimpl.C (Dispatch): changes due to changes in
14961 InsetInclude::Params.
14963 * buffer.C (tag_name): removed redundant break statements as they were
14964 producing lots of warnings with my compiler.
14966 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14968 * LString.h: add "using std::getline" when using the real <string>.
14970 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14972 * buffer.C: removed bitset usage.
14973 PAR_TAG moved to an anonymous name space.
14974 (tag_name): new funtion, also in the anonymous namespace.
14975 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14976 (makeDocBookFile): clean code. Completed transition from string arrays
14978 (SimpleDocBookOnePar): code clean.
14980 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14982 * tabular.C: add some comments.
14984 2001-03-22 Juergen Vigna <jug@sad.it>
14986 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14987 compatibility read a bit and fixed bug with minipage in different
14990 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14992 * buffer.C (pop_tag): removed.
14993 (push_tag): removed.
14994 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14995 array replaced with vector. Added support for CDATA sections.
14996 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14998 (makeDocBookFile): XML conformant declaration of CDATA section,
14999 fixed bug related to <emphasis> in the first paragraph char.
15000 (sgmlOpenTag): exclude empty tags.
15001 (sgmlCloseTag): ditto.
15003 * buffer.h (pop_tag): removed.
15004 (push_tag): removed.
15006 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15008 * language.h (Languages): added size_type and size().
15010 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15012 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15013 response on compability reading of minipages. One probliem is that
15014 the old usage of minipages was «flertydig»
15016 * several files here and in subdirs: don't use static at file
15017 scope use anon namespaces instead.
15019 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15021 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15022 LaTeX output. This is necessary for Literate document
15025 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15027 * buffer.C: insert hfill when needed.
15029 * tabular.C (l_getline): use string::erase, small whitespace change.
15031 * BufferView_pimpl.C: try the anon namespace.
15032 * WorkArea.C: ditto
15034 2001-03-16 Juergen Vigna <jug@sad.it>
15036 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15037 otherwise it won't open options-dialogs.
15039 * buffer.C: honor pextraWidth(p) on converting minipages.
15041 * tabular.C (l_getline): changed the functions to strip trailing \r.
15043 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15045 * BufferView_pimpl.C:
15046 * minibuffer..C: added "using SigC::slot" declaration.
15048 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15050 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15056 * paragraph.C: ditto
15058 * lyxtext.h: NO_PEXTRA
15060 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15062 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15063 * ParameterStruct.h: ditto
15064 * ParagraphParameters.h: ditto
15065 * lyxparagraph.h: ditto
15067 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15069 * buffer.C: add compability for minipage alignment.
15070 (latexParagraphs): remove unwanted pextra check.
15072 * several files: remove CXX_WORKING_NAMESPACES
15074 * buffer.C (pop_tag): tie is in namespace boost
15076 * BufferView.h: noncopyable is in namespace boost
15078 * lyx_main.h: ditto
15081 * lastfiles.h: ditto
15082 * bufferlist.h: ditto
15083 * ShareContainer.h: ditto
15085 * LyXAction.h: ditto
15088 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15090 * Merging changes from BRANCH_MVC back into HEAD.
15092 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15094 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15096 * BufferView_pimpl.C: change from intl.C
15100 * Makefile.am: move combox.*
15106 * intl.C: remove dialog (covered by prefs)
15108 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15110 * lyxfunc.C (Dispatch): removed redundant break statement.
15112 2001-03-14 Juergen Vigna <jug@sad.it>
15114 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15116 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15118 * buffer.C: add hack to fix compability reading of minipages.
15120 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15122 * buffer.C (getLists): Cleanup.
15124 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15126 * lyxfont.C (update): don't honor toggleall on font size.
15128 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15132 * Makefile.am: moved to frontends/xforms/
15136 * BufferView_pimpl.C: changes for moved mathpanel
15138 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15140 * gettext.h: fix gettext_init() in --disable-nls
15142 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15146 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15149 * lyx.h: strip external form
15151 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15153 * BufferView_pimpl.C: add comment, destroySplash()
15155 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15157 * BufferView_pimpl.C:
15161 * lyxfunc.C: use re-worked insetinclude
15163 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15165 * buffer.C: add using std::stringstream.
15167 * lyx_cb.C: readd using std::ios.
15169 * buffer.C: add using std::map.
15171 * BufferView_pimpl.C: add using std::vector.
15173 * ShareContainer.h: add std:: to swap.
15175 * buffer.h: add some typedefs
15176 * buffer.C (getLists): use them
15177 (getLists): renamed from getTocList.
15178 add a counter for the different float types and use it in the
15180 (getLists): use the same counter for the NEW_INSETS and the "non"
15183 * lyx_cb.h: remove unused items, includes, using etc.
15185 * ShareContainer.h: remove some commented code, add more comments
15186 and "documentation".
15188 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15190 * buffer.C (getTocList): make the list also when NEW_INSETS is
15193 * buffer.h: remove TocType
15195 * buffer.C (getTocList): change to return a map<string,
15196 vector<TocItem> >, implement for dynamic number of list.
15198 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15199 * text2.C (PasteSelection): adjust
15200 * CutAndPaste.C (pasteSelection): adjust
15202 * FloatList.C (FloatList): update from the new_insets branch.
15203 * Floating.[Ch]: ditto
15204 * LaTeXFeatures.C: ditto
15206 * lyxlex_pimpl.C: ditto
15208 * paragraph.C (Last): remove when NEW_INSETS is defined.
15210 * other file: changes because of the above.
15212 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15214 * lyxparagraph.h: rename next to next_, previous to previous_,
15215 make them private for NEW_INSETS. Rename Next() to next(),
15216 Previous() to previous().
15218 * other files: changes because of the above.
15220 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15223 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15226 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15228 * main.C (main): pass lyx_localedir to gettext_init().
15230 * gettext.h: remove locale_init and gettext_init macros
15232 * gettext.C (locale_init): new function
15233 (gettext_init): new function
15235 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15238 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15240 * Moved credits to frontends:
15241 * credits.[Ch]: removed
15242 * credits_form.[Ch]: removed
15243 * lyx_gui_misc.C: remove credits stuff
15246 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15248 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15250 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15251 unneeded destructor.
15253 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15254 a standalone pointer again.
15256 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15258 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15264 * ToolbarDefaults.C:
15273 * BufferView_pimpl.C: use new file dialog in GUII
15276 * lyx_cb.C: remove LayoutsCB to Toolbar
15278 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * ShareContainer.h (get): add std:: qualifier
15282 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15284 * ShareContainer.h: define a proper ShareContainer::value_type
15285 type (and use typename to please compaq cxx)
15287 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15289 * lyxparagraph.h: move serveral local vars to
15290 ParameterStruct/ParagraphParameters., use ShareContainer in
15291 FontTable., make vars in FontTable private and add getter and
15294 * paragraph.C: changes because of the above.
15296 * lyxfont.h: remove copy constructor and copy assignment. (the
15297 default ones is ok), move number inside FontBits. move inlines to
15300 * lyxfont.C: add number to initializaton of statics, move several
15301 inlines here. constify several local vars. some whitespace
15302 cleanup. Dont hide outerscope variables.
15304 * Spacing.h: add two new constructors to match the set methods.
15306 * ShareContainer.h: new file, will perhaps be moved to support
15308 * ParameterStruct.h: new file
15310 * ParagraphParameters.h: new file
15312 * ParagraphParameters.C: new file
15314 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15315 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15317 * BufferView_pimpl.C: ParagraphParameter changes.
15318 * buffer.C: Likewise.
15319 * bufferview_funcs.C: Likewise.
15320 * text.C: Likewise.
15321 * text2.C: Likewise.
15323 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15325 * lyxfind.C (LyXReplace): do not redefine default argument in
15327 (IsStringInText): ditto
15328 (SearchForward): ditto
15329 (SearchBackward): ditto
15331 2001-03-06 Juergen Vigna <jug@sad.it>
15333 * lyxfind.C (IsStringInText): put parentes around expressions.
15335 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15337 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15339 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15341 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15343 * stl_string_fwd.h: add comment
15345 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15348 * tabular.C: remove unused DocBook methods
15354 killed DO_USE_DEFAULT_LANGUAGE
15356 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * lyx_gui.C: do not include language.h.
15360 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15361 arguments in function implementation.
15363 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15365 * BufferView_pimpl.C: add <ctime>
15367 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15369 * BufferView_pimpl.C: add using std::find_if
15371 2001-02-27 José Matos <jamatos@fep.up.pt>
15373 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15376 2001-02-11 José Matos <jamatos@fep.up.pt>
15378 * buffer.C (makeDocBookFile): command styles now have a parameter as
15379 "title" by default.
15381 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15383 * layout_forms.[Ch]: removed
15384 * lyx_cb.[Ch]: out character
15385 * lyx_gui.C: out character
15386 * lyx_gui_misc.C: out character
15387 * bufferview_funcs.C: : out character,
15388 added toggleall as parameter in ToggleAndShow
15390 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15392 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15394 * text2.C (SetCurrentFont): Disable number property at boundary.
15396 2001-02-26 Juergen Vigna <jug@sad.it>
15398 * lyxfunc.C (getStatus): added a string argument override function so
15399 that this is correctly called from LyXFunc::Dispatch if it contains a
15400 do_not_use_argument which is used!
15401 (Dispatch): added check for "custom" export and call appropriate func.
15403 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15405 * lyxrc.C: Add language_command_local, language_use_babel and
15406 language_global_options.
15408 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15410 * buffer.C (makeLaTeXFile): Use language_use_babel and
15411 language_global_options.
15413 2001-02-23 Juergen Vigna <jug@sad.it>
15415 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15416 which works with LyXText and putted it inside BufferView. Here now we
15417 only call for that part the BufferView::Dispatch() function.
15419 * BufferView.C (Dispatch): added.
15421 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15422 functions which needs to use a LyXText over from LyXFunc.
15423 (MenuInsertLyXFile): added
15424 (getInsetByCode): added
15425 (moveCursorUpdate): added
15426 (static TEXT): added
15428 2001-02-22 Juergen Vigna <jug@sad.it>
15430 * BufferView_pimpl.C (update): call a status update to see if LyXText
15433 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15435 * vc-backend.C (revert): implement for CVS
15436 (getLog): implement for CVS
15438 2001-02-20 Juergen Vigna <jug@sad.it>
15440 * text2.C (ClearSelection): added BufferView param for inset_owner call
15442 * lyxfunc.C (TEXT): added this function and use it instead of
15443 directly owner->view()-text of getLyXText().
15445 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15447 * src/layout_forms.C: out preamble
15448 * src/layout_forms.h: out preamble
15449 * src/lyx_cb.C: out preamble
15450 * src/lyx_cb.h: out preamble
15451 * src/lyx_gui.C: out preamble
15452 * src/lyx_gui_misc.C: out preamble
15453 * src/lyxfunc.C: connect with guii preamble
15455 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15457 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15459 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15461 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15462 whether to run bibtex.
15464 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15466 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15468 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15470 * Makefile.am (lyx_SOURCES): removed bibforms.h
15472 * vspace.h: doxygen
15474 * text.C (GetVisibleRow): make several local vars const
15476 * tabular.C: small cleanup.
15478 * lyxserver.C (callback): use compare instead of strncmp
15480 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15481 inlines to after class or to paragraph.C
15483 * lyxfont.h: remove friend operator!=
15485 * converter.h: move friend bool operator< to non friend and after
15488 * combox.h: small cleanup
15490 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15491 to inlines after class def.
15493 * buffer.C (pop_tag): use string operations instead of strcmp
15495 * bmtable.c: doxygen, small cleanup
15497 * LaTeX.h: remove friend operator==
15499 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15511 * BufferView_pimpl.C:
15512 * BufferView.[Ch]: remove cruft
15514 2001-02-14 Juergen Vigna <jug@sad.it>
15516 * lyxfunc.C: removed #if 0 unused code
15518 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15520 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15522 * text2.C (SetSelection): added a BufferView * parameter
15524 2001-02-13 Juergen Vigna <jug@sad.it>
15526 * lyxfunc.C (Dispatch): fixed protected blank problem.
15527 * BufferView2.C (protectedBlank): added LyxText * parameter.
15529 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15530 (AppendColumn): same as above for column_info.
15532 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15533 (moveCursorUpdate): use a LyXText param for support of InsetText.
15535 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15536 (tripleClick): ditto
15538 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15540 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15542 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15544 * text2.C (SetSelection): set correct update status if inset_owner
15545 (ToggleFree): ditto
15547 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15549 * tabular.C: remove some commented code.
15551 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15553 * BufferView_pimpl.C: call hideSplash()
15555 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15558 * bibforms.h: remove
15561 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15562 add LFUN_CHILD_CREATE
15564 * counters.h: fix tiny typo
15569 * lyx.C: move splash to frontends/xforms/
15571 * lyx_gui_misc.C: move Include and Bibform to frontends
15573 * lyxvc.h: clarify comment
15575 * vspace.C: tiny housekeeping
15577 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15579 * text.C (PrepareToPrint): RTL Fix.
15581 * paragraph.C (GetUChar): New method.
15582 (String): Use GetUChar.
15584 * buffer.C (asciiParagraph): Use GetUChar.
15586 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15588 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15590 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15593 * buffer.C: rename to getLogName(), handle
15594 build log / latex log nicely
15596 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15599 * MenuBackend.h: remove support for reference menuitem type.
15601 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15603 * BufferView_pimpl.C: housekeeping
15604 * BufferView_pimpl.h:
15609 * minibuffer.h: move Timeout GUI-I
15611 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15613 * lyxrc.C (read): Update converters data-structures.
15615 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15617 * LaTeX.h (operator!=): add operator != for Aux_Info
15619 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15621 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15623 * LaTeXLog.C: deleted, useful code moved to Buffer
15626 * buffer.C: new function getLatexLogName()
15632 * lyxfunc.C: use frontends for LaTeX and VC logs
15634 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15636 * LaTeX.h: yet another std:: that Allan forgot.
15638 * Variables.C (set): renamed from isset(), because this clashes
15639 with some HP-UX macros (grr).
15641 2001-02-06 Allan Rae <rae@lyx.org>
15643 * LaTeX.h: Another bug fix. Missing std:: this time.
15645 2001-02-04 Allan Rae <rae@lyx.org>
15647 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15648 floats problem. I've left it commented out because it's not quite
15649 correct. It should also test that the current object is a table or
15650 figure inset. But I haven't gotten around to figuring out how to do
15651 that. I *think* it'll be something like: "table" == inset.type()
15653 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15656 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15658 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15659 all the citation/databases/styles in the auxilary file.
15660 (run): Rerun latex if there was a babel language error.
15662 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15664 * text.C (Backspace): Preserve the font when changing newline char
15666 (BreakParagraph): If the cursor is before a space, delete the space.
15668 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15670 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15672 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15673 new argument (code).
15674 (ChangeCitationsIfUnique): New method.
15676 * paragraph.C (GetPositionOfInset): Handle bibkey.
15678 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15680 * BufferView_pimpl.h: change type of Position::par_pos to
15681 LyXParagraph::size_type.
15683 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15685 * BufferView_pimpl.C (savePosition, restorePosition): Write
15686 messages to minibuffer.
15688 2001-01-28 José Matos <jamatos@fep.up.pt>
15690 * buffer.C (makeDocBookFile): adds support for document language.
15691 A silly restriction on the name of LatexCommand types where removed.
15692 Added support for CDATA sections, allows to chars unescaped, used
15693 among others in code, to avoid escape < and >.
15695 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15697 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15698 saved positions instrad of a stack. Furthermore, a position is
15699 stored using paragraph id/paragraph position.
15701 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15702 Remove LFUN_REF_BACK.
15704 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15706 * converter.C (dvipdfm_options): New method.
15708 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15710 * vspace.C (isValidLength): Fix for empty input string.
15712 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * LyXAction.C (init): change description of LFUN_FIGURE to
15717 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * LaTeX.C: add using directive
15721 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15723 * MenuBackend.C (expand): Fix the sorting of the formats.
15725 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15727 * lyx_main.C: tiny error message fix
15729 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15731 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15732 calling fl_initialize(). This fixes the problem with ',' as
15733 decimal separator in text files.
15735 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15737 * trans.C (process): Fix the keymap bug.
15739 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15741 * LaTeX.C (scanAuxFiles): New method. Provides support for
15742 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15743 (scanLogFile) Scan for "run BibTeX" messages.
15745 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15746 OT1 font encoding. Also, load the aecompl package if the ae
15749 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15751 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15753 * texrow.C (increasePos): turn two error messages into debug
15756 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15758 * LaTeX.C (scanAux): Handle the \@input macro.
15759 (runBibTeX): Use scanAux().
15761 * language.C (latex_options_): New field.
15763 * LaTeXFeatures.C (getMacros): Add language macros.
15765 * buffer.C (makeLaTeXFile): Small fix.
15767 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15769 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15771 * text2.C: add a using directive.
15773 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15778 * lyxfunc.C: kill LyXBell.
15780 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15782 * text.C (IsBoundary): Remove the error message
15784 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15786 * lyxrc.C (setDefaults): Correct initialization value for
15789 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15791 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15794 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15795 and GotoNextNote().
15797 * src/LyXAction.C: Added reference-next.
15799 * text.C (InsertChar): Use contains instead of strchr.
15801 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15803 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15805 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15806 alignment commands (when needed).
15808 * text.C (InsertChar): Add ':' to number separator chars.