1 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4 * text3.C (checkInsetHit): constify
6 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
11 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 Fix toggling of collapsable insets with the mouse (bug 1558)
15 * lyxfunc.C (dispatch): adapt to LCursor changes
17 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
18 make sure that dispatch is not invoked twice
20 * cursor.C (needsUpdate): new method
21 (dispatch): return void
22 (result): new method, to access the DispatchResult of the cursor.
24 2004-08-13 José Matos <jamatos@lyx.org>
26 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
28 2004-08-13 André Pönitz <poenitz@gmx.net>
30 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
32 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
35 2004-08-12 André Pönitz <poenitz@gmx.net>
37 * text3.C: take out the 'cursor right' form insertInset and only
38 do it in those places when it is really needed. Fixes crash on
41 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
45 * BufferView_pimpl.C (setBuffer): initialize the current font of
46 the underlying LyXText
48 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
50 * kbsequence.C (print): use UI native formatting for menu
53 * text.C (insertChar): call Paragraph::insertChar with a font
56 * paragraph.C (insertInset, insertChar): the version that takes a
57 LyXFont argument is now a wrapper around the other one (the
58 opposite used to be true).
60 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
61 argument. Font setting is done in Paragraph now.
63 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * outputparams.h: add new members intitle and lang.
67 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
68 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
70 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
72 * text3.C (dispatch): remove special handling of button 4 and 5,
73 it is now taken care of in the frontend code.
75 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
77 * Spacing.h: add <string> (STLPort compile fix)
79 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
81 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
83 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
85 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
88 * converter.C (showMessage): inherit from unary_function, make
91 * buffer.C (writeFile): initialize retval
93 * InsetList.h: rename private variable list to list_
94 * InsetList.[Ch]: adjust accordingly.
96 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
98 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
99 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
100 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
101 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
102 * ParagraphParameters.C, LaTeXFeatures.C: replace
103 "support/std_sstream.h" with <sstream>
105 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
107 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
108 * lyxsocket.C (LyXServerSocket): ditto
109 (serverCallback): ditto
111 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
113 * LaTeXFeatures.C: check release date when loading jurabib.
115 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
117 * lyxserver.C (startPipe): call register_socket_callback
118 (endPipe): call unregister_socket_callback
120 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
122 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
123 (LyXServerSocket): register the callback
124 (LyXServerSocket): unregister the callback
125 (fd): delete function
126 (serverCallback): improve error checking and setup the callbacks.
127 (dataCallback): change arg to fd.
128 (writeln): new func (copied fro the client socket) used for server
130 (LyXDataSocket): simplify
131 (~LyXDataSocket): close ann unregiser callback
132 (server): delete function
133 (fd): delete function
134 (readln): small changes, improve some std::string usage
135 (writeln): constify a bit
137 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
142 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * BufferView_pimpl.C (setBuffer): set the layout combox value only
145 after it has been populated
147 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * text2.C (insertInset): move cursor when inserting inset.
151 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * kbmap.C (findbindings): a couple of new methods. returns a
154 container of kb_sequence objects. The real work is done by the
155 private recursive version
156 (printbindings): uses findbindings to print out a bracketed list
157 of bindings (renamed from findbinding).
159 * MenuBackend.C (binding): use kb_keymap::findbindings
161 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
163 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
167 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * paragraph.C (isWord): return true on insets that report
172 * text.C (getWord): use Paragraph::isWord to decide what is in a
173 word and what is not; fix bug 1609.
175 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * tex-strings.C: add "none" to string_paperpackages[], fixes
178 off-by-one-error in the paperpackage selection.
181 * tex-strings.[Ch]: char const * string[n]
182 -> char const * const string[]
184 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
187 command, return early.
189 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
191 * debug.h: add DEBUG to enum and fix size of ANY.
193 * debug.C: add support for Debug::DEBUG
194 (showTags): cast errorTags.level to unsigned int
196 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
197 (redoCurrentBuffer): ditto
198 (updateScrollbar): ditto
199 * cursor.C (dispatch): ditto
200 * text2.C (setLayout): ditto
202 (updateCounters): ditto
204 (deleteEmptyParagraphMechanism): ditto
206 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
208 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
209 annotations to cleanup the Makefile slightly.
211 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * lyxrc.C: do not set user_email to a default value but use empty
214 instead. The entry used to be translated, which does not work
215 since at the point where lyxrc is constructed there is no
216 translation service available
218 * messages.C (getLocaleDir): remove and use directly
219 lyx_localedir() instead
221 2004-06-02 Angus Leeming <leeming@lyx.org>
223 Fix crash caused by dereferencing null pointer 'exportdata' in
224 OutputParams by creating a new ExportData variable on the heap,
225 storing it in a boost::shared_ptr.
226 The crash was triggered when generating an Instant Preview
227 of an external inset.
229 * Makefile.am: add outputparams.C
231 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
232 (c-tor): allocate memory to it.
234 * exporter.C (c-tor): associated changes.
236 2004-06-01 Angus Leeming <leeming@lyx.org>
238 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
239 contains data before calling isInset(0). (Bug 1513.)
241 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * exporter.C (checkOverwrite): new method
244 * exporter.C (copyFile): new method
245 * exporter.C (Export): copy referenced files to the document dir
246 * exporter.[Ch]: new class ExportedFile
247 * exporter.[Ch]: new class ExportData. Contains currently the
248 names of referenced external files
249 * outputparams.h: add exportdata member.
251 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
253 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
256 2004-05-19 Angus Leeming <leeming@lyx.org>
261 * lyxfunc.C: small changes due to the introduction of namespace
262 lyx::frontend and the moving of namespace biblio to lyx::biblio.
264 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
266 * text3.C (dispatch): supress update when only moving the cursor
267 * cursor.C (selHandle): remove commented code
269 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
271 * paragraph.C (startTeXParParams): correct column count
272 * CutAndPaste.C (pasteSelection): remove const_cast
273 * output_docbook.C (docbookParagraphs): remove const_cast
274 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
275 const_cast and return ParagraphList::const_iterator
276 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
277 * output_plaintext.C (writeFileAscii): remove const_cast
278 * paragraph.[Ch] (simpleTeXOnePar): make const
279 * paragraph_funcs.C (outerPar): use const iterators
280 * paragraph_pimpl.C (validate): use const iterators
281 * text.C (setHeightOfRow): use const iterators
283 2004-05-17 Angus Leeming <leeming@lyx.org>
286 * LyXAction.C (init): new LFUN_INSET_REFRESH.
288 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
289 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
290 if the citation engine has changed.
292 2004-05-14 José Matos <jamatos@lyx.org>
294 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
295 if the textclass does not provide it. Have it different for sgml and
297 support the language of document.
298 * output_docbook.C (docbookParagraphs):
299 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
300 first anchor as the id of the paragraph, remove special case code.
301 * sgml.C (escapeChar): escape only < & >.
303 2004-05-14 Angus Leeming <leeming@lyx.org>
305 * bufferparams.h: move biblio::CiteEngine enum here to minimize
306 dependencies on src/frontends/controllers/biblio.h. Define a
307 CiteEngine_enum wrapper class to enable the enum to be forward
310 2004-05-12 Angus Leeming <leeming@lyx.org>
312 * buffer.C: up LYX_FORMAT to 234.
313 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
314 use_numerical_citations with a single biblio::CiteEngine cite_engine
316 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
318 2004-05-13 José Matos <jamatos@lyx.org>
321 * converter.C (Converter, readFlags): add xml member.
322 * outputparams.h: add XML flavor.
323 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
325 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * lyxfunc.C (dispatch):
328 (getStatus): fix handling of LFUN_SEQUENCE
330 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * debug.C (showLevel): do not forget the end-of-line marker
334 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * kbmap.C (read): do not stop parsing a bind file when an error
339 2004-04-29 Angus Leeming <leeming@lyx.org>
344 * text2.C: wrap a bunch of #warning statements
345 inside #ifdef WITH_WARNINGS blocks.
347 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * buffer.C: increment format to 233.
351 2004-04-28 Angus Leeming <leeming@lyx.org>
353 * BufferView_pimpl.C:
356 s/updateToolbar()/updateToolbars()/
357 s/Toolbar.h/Toolbars.h/
359 2004-04-28 Angus Leeming <leeming@lyx.org>
361 * BufferView.[Ch] (c-tor):
362 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
363 No longer passes these data to the WorkArea generator.
365 2004-04-28 Angus Leeming <leeming@lyx.org>
367 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
369 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
371 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
373 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * output_latex.C (TeXEnvironment): make sure that there is a line
376 break before \end{foo} for the last paragraph of a document
377 (TeXOnePar): if the paragraph is at the end of the document (or
378 inset) and the language has to be reset, then make sure that the
379 line break is _before_ the language command, not after (fixes bug
380 1225); also make sure that the language reset command is the first
381 thing after the paragraph (to ensure proper nesting of
382 environments and thus fix bug 1404)
384 2004-04-21 John Levon <levon@movementarian.org>
387 * ToolbarBackend.C: make "name" be a programmatic name
388 and a gui_name field.
390 * lyxfunc.C: display the minibuffer on M-x
392 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
397 2004-04-19 Angus Leeming <leeming@lyx.org>
399 * BufferView_pimpl.C (setBuffer): changed preview interface.
401 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
404 2004-04-19 John Levon <levon@movementarian.org>
406 * BufferView_pimpl.C:
407 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
409 2004-04-05 Angus Leeming <leeming@lyx.org>
411 * text.C (redoParagraphs): add call to updateCounters(), thereby
412 fixing the missing "Figure #:" label from the caption of a
415 2004-04-13 Angus Leeming <leeming@lyx.org>
417 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
418 cursor is clicked out of an inset.
420 2004-04-13 Angus Leeming <leeming@lyx.org>
422 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
423 than an InsetOld one.
425 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
427 * format.[Ch]: add editor to Format
428 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
429 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
431 2004-04-08 André Pönitz <poenitz@gmx.net>
433 * metricsinfo.h: remove PainterInfo::width member
435 2004-04-08 Angus Leeming <leeming@lyx.org>
437 * lyx_sty.C (boldsymbol_def): modify so that it outputs
438 "\providecommand" rather than "\newcommand", thereby preventing
439 clashes with packages that define "\boldsymbol" themselves.
442 2004-04-08 Angus Leeming <leeming@lyx.org>
444 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
445 thereby squashing an unnecessary warning.
447 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
449 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
452 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
454 * BufferView.C (setCursor): call redoParagraph (some insets could
456 (putSelectionAt): remove the 'double update' trick
458 * BufferView_pimpl.C (fitCursor): call refreshPar
459 (workAreaDispatch): remove an uneeded update call
460 (dispatch): remove some manual update calls
462 * cursor.[Ch]: remove cached_y_, updatePos
463 (selHandle): set noUpdate when appropriate
465 * lyxfunc.C (dispatch): track if we need an update
467 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
469 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
470 (paintSelection): cheap optimization, do not call cursorX when not
472 (paintPars): change signature
475 (paintTextInset): adjust
479 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * lengthcommon.C: compilation fix: remove explicit array size from
482 unit_name[] and friends
484 2004-04-05 Angus Leeming <leeming@lyx.org>
486 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
488 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
489 present only for the preferences dialog.
490 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
492 2004-04-05 Angus Leeming <leeming@lyx.org>
494 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
495 to enable the frontends to export changes to lyxrc correctly.
497 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
499 2004-04-07 André Pönitz <poenitz@gmx.net>
501 * cursor.[Ch] (selClear, adjust): remove math
503 * cursor_slice.C: more agressive assert
506 * BufferView_pimpl.C: rework mouse event dispatch
513 2004-04-05 André Pönitz <poenitz@gmx.net>
515 * cursor.[Ch] (valign, halign...): remove unneeded functions
517 2004-04-05 Angus Leeming <leeming@lyx.org>
519 * lyxlength.[Ch] (unit_name et al.): const-correct.
521 2004-04-05 Angus Leeming <leeming@lyx.org>
523 * BufferView_pimpl.C:
532 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
534 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
536 * text3.C (getStatus): add LFUN_BEGINNINGBUF
538 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
540 * lyxfind.C: add a couple of inTexted() tests + other small fixes
541 * BufferView_pimpl.[Ch] (getStatus)
542 * BufferView.[Ch] (getStatus): add
543 * lyxfunc.C (getStatus): move lfuns handled in
544 BufferView::dispatch to te function above
545 * Cursor.C (setSelection): set selection() = true
547 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
549 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
551 2004-03-31 Angus Leeming <leeming@lyx.org>
553 * lyxfunc.C (dispatch): Fall through to the generic
554 Dialogs::show("preamble").
556 2004-03-31 Angus Leeming <leeming@lyx.org>
558 * lyxfunc.C (dispatch): Fall through to the generic
559 Dialogs::show("spellchecker").
561 2004-03-31 Angus Leeming <leeming@lyx.org>
563 * lyxfunc.C (getStatus, dispatch): changed invocation of the
566 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
571 * insetiterator.[Ch]:
576 * undo.[Ch]: s/DocumentIterator/DocIterator/g
578 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
580 * BufferView.C (setCursor, putSelectionAt): call edit to open the
581 insets where we are putting the cursor.
583 2004-03-31 Angus Leeming <leeming@lyx.org>
586 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
588 * lyxrc.[Ch] (read, write): overloaded member functions taking
589 a std::[io]stream arguments.
591 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
593 2004-03-31 Angus Leeming <leeming@lyx.org>
595 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
596 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
598 * lyxtextclass.C (load): if the text class couldn't be loaded, then
599 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
601 2004-03-31 Angus Leeming <leeming@lyx.org>
603 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
604 the LFUN_ALL_INSETS_TOGGLE code.
606 2004-03-30 Angus Leeming <leeming@lyx.org>
608 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
609 has died. Fall through to the generic Dialogs::show("document").
611 2004-03-30 Angus Leeming <leeming@lyx.org>
614 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
615 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
617 * lyxfunc.C (getStatus, dispatch): define the actions for these
618 lfuns. Little more than a cut and pste job from ControlDocument.C
620 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
622 2004-03-30 Angus Leeming <leeming@lyx.org>
625 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
626 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
628 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
629 open/closed state of ollapsable insets. Usage:
631 all-inset-toggle <state> <name>, where
632 <state> == "open" || "closed" || "toggle" and
633 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
635 * lyxtext.h, text2.C (toggleInset): removed.
637 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
638 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
639 now passes LFUN_INSET_TOGGLE to the found inset.
641 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
642 is now invoked as "all-insets-toggle toggle branch".
644 2004-03-30 Angus Leeming <leeming@lyx.org>
648 * pariterator.[Ch]: added/corrected header blurb.
650 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
652 * dociterator.[Ch]: add an inset_ member
653 (backwardPos): implemented
654 (backwardPos, forwardPos): use inset_ when the stack is empty.
655 (doc_iterator_begin, doc_iterator_end): implemented
656 * pariterator.[Ch]: adjust, add begin, end
657 * insetiterator.[Ch]: adjust, add begin, end
661 * BufferView_pimpl.C:
662 * CutAndPaste.C: adjust
664 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
666 * buffer.C: increment file format to 232.
667 * LaTeXFeatures.C: add bibtopic package.
668 * bufferparams.[Ch]: param \use_bibtopic.
670 * lyxrc.[Ch]: add lyxrc bibtex_command
671 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
673 * buffer.C: increment file format to 231.
675 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
677 * dociterator.C: implement forwardPar
678 * iterators.[Ch]: remove, replaced by
679 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
681 * BufferView_pimpl.C:
684 * bufferview_funcs.C:
690 * Makefile.am: adjust
692 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
694 * CutAndPaste.C (pasteSelection): fix 2 crashes
695 (eraseSelection): fix a crash
696 * paragraph_funcs.C: remove a warning
698 2004-03-28 Angus Leeming <leeming@lyx.org>
701 * LyXAction.C (init): new LFUN_PRINT.
703 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
705 2004-03-27 Angus Leeming <leeming@lyx.org>
708 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
710 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
712 2004-03-27 Angus Leeming <leeming@lyx.org>
714 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
715 insetlist always contains non-null pointers to insets.
717 2004-03-26 Angus Leeming <leeming@lyx.org>
719 * src/BufferView_pimpl.C:
723 * src/output_plaintext.C:
724 * src/outputparams.h:
725 * src/paragraph_funcs.C:
729 * src/frontends/controllers/ControlErrorList.C:
730 * src/frontends/gtk/FileDialogPrivate.C:
731 * src/frontends/gtk/GPainter.C:
732 * src/frontends/gtk/GToolbar.C:
733 * src/frontends/qt2/QRef.C:
734 * src/mathed/math_scriptinset.C: squash compiler warnings.
736 2004-03-26 Angus Leeming <leeming@lyx.org>
738 * ispell.C (LaunchIspell::start):
739 * lyx_cb.C (AutoSaveBuffer::start):
740 invoke run(DontWait) rather than runNonBlocking().
742 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
744 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
746 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * kbsequence.C (print): adjust
750 * kbmap.C (printKeySym): rename and change signature
751 (printKey): use LyXKeySym::print()
753 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
755 * undo.C: add using std::advance to compile for stlport
757 2004-03-24 Angus Leeming <leeming@lyx.org>
759 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
760 it leads to a crash when no buffer is present.
762 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 Martin Vermeer <martin.vermeer@hut.fi>
765 * lyxfunc.C (dispatch):
766 * bufferparams.C (readToken): use the new LColor::setColor
768 * LColor.[Ch] (setColor): new version that takes two strings as
769 argument and creates a new color entry if necessary
771 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
773 * buffer.C (makeLaTeXFile): if the main latex file that is
774 processed is usually a subdocument of some master, then pretend
775 for a while that it is actually the master
777 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
779 * buffer.C (getLabelList):
780 (getBibkeyList): use getMasterBuffer()
781 (getMasterBuffer): new method. Returns the main document in the
782 case where one is using included documents.
784 2004-03-25 André Pönitz <poenitz@gmx.net>
788 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
790 * ParagraphList_fwd.h: change ParagraphList to a std::vector
792 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
793 text*.C over here. Rename namespace CutAndPaste to lyx::cap
795 * ParameterStruct.h: merge with ParagraphParameters
797 * lyxtext.h: remove LyXText::parOffset() and getPar()
799 * text3.C: Remove all 'manual' update calls. We do now one per user
800 interaction which is completely sufficient.
804 * BufferView_pimpl.C:
807 * ParagraphParameters.[Ch]:
819 * output_docbook.[Ch]:
821 * output_linuxdoc.[Ch]:
822 * output_plaintext.[Ch]:
824 * paragraph_funcs.[Ch]:
825 * paragraph_pimpl.[Ch]:
833 * frontends/controllers/ControlDocument.C:
834 * frontends/controllers/ControlErrorList.C:
835 * frontends/controllers/ControlSpellchecker.C:
838 * insets/insetbase.h:
839 * insets/insetbibitem.C:
841 * insets/insetbranch.C:
842 * insets/insetcaption.C:
843 * insets/insetcharstyle.C:
844 * insets/insetcharstyle.h:
845 * insets/insetcollapsable.C:
846 * insets/insetcollapsable.h:
848 * insets/insetfloat.C:
849 * insets/insetfoot.C:
850 * insets/insetmarginal.C:
851 * insets/insetnote.C:
852 * insets/insetoptarg.C:
853 * insets/insettabular.C:
854 * insets/insettext.C:
855 * insets/insettext.h:
856 * insets/insetwrap.C:
857 * mathed/math_mboxinset.C:
858 * mathed/math_nestinset.C:
859 * mathed/math_scriptinset.C:
860 * mathed/math_scriptinset.h:
863 2004-03-24 Angus Leeming <leeming@lyx.org>
865 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
866 deal with any child processes that have finished but are waiting to
867 communicate this fact to the rest of LyX.
869 2004-03-24 Angus Leeming <leeming@lyx.org>
871 64-bit compile fixes.
873 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
874 (c-tor): pass lyx::pos_types rather than ints.
876 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
879 * text.C (Delete): compile fix.
880 (getPar): ensure that function declaration is the same as that in
883 2004-03-23 Angus Leeming <leeming@lyx.org>
885 * ispell.C (LaunchIspell):
886 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
887 a boost::shred_ptr rather than a std::auto_ptr.
889 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * lyxfunc.C (getStatus): handle read-only buffers correctly;
892 handle LFUN_FILE_INSERT_*
894 * lyxrc.C (setDefaults, getDescription, output, read):
895 * lyxrc.h: remove ps_command
897 2004-03-22 Angus Leeming <leeming@lyx.org>
899 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
900 Ensure that error_handler is processed once only and that all data
901 is saved before attempting to output any warning messages.
903 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
905 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
907 * tabular.C (TeXRow): crash fix (from Kayvan and André)
909 2004-03-19 André Pönitz <poenitz@gmx.net>
911 * cursor.[Ch] (reset): take main text inset as argument
914 * BufferView_pimpl.C: adjust
916 * paragraph.[Ch]: fix completely broken operator=()
918 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 * LColor.C (getFromLyXName): make sure that the color name is used
923 2004-03-17 Angus Leeming <leeming@lyx.org>
926 * LyXAction.C (init): remove LFUN_FORKS_KILL.
928 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
929 dialog and to kill a forked process.
931 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
933 * text2.C (setCursorFromCoordinates): fix font problem
935 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
937 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
938 bogus "rebuild cursor" code
940 2004-03-11 André Pönitz <poenitz@gmx.net>
942 * buffer.[Ch]: use InsetText instead of LyXText as container for
945 * dociterator.[Ch]: drop the BufferView * member which is not needed
946 anymore after the change to buffer.C
952 * BufferView_pimpl.[Ch]:
954 * cursor_slice.[Ch]: adjust
956 * text3.C: fix bug in mathDispatch
958 2004-03-08 André Pönitz <poenitz@gmx.net>
960 * undo.[Ch]: use 'StableDocumentIterator' as base for
963 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
966 * bufferparams.[Ch]: add jurabib support and param.
968 * LaTeX.C: add FIXME/comment.
970 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
972 * buffer.C: increment file format to 230.
974 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
976 * cursor.C (dispatch): avoid infinite loops
978 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
980 * rowpainter.C (paintSelection): fix x coordinates
982 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
984 * text.C (rowBreakPoint): fix breaking before displayed insets
986 2004-03-01 André Pönitz <poenitz@gmx.net>
988 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
990 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
994 * BufferView_pimpl.C:
1002 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1008 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1009 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1011 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1013 * Bidi.[Ch] (computeTables): const correctness
1014 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1015 fill_hfill, fill_label_hfill and x from Row
1016 * lyxtext.h: prepareToPrint returns a RowMetrics
1017 * rowPainter.C: adjust
1018 * text.C (prepareToPrint): use width, not textWidth. adjust
1019 (redoParagraphInternal, cursorX): adjust
1020 * text2.C (getColumnNearX): adjust
1021 (init): put a default value to the top LyXText::width
1023 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1025 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1027 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1029 * lyxtext.h: add FontIterator class
1031 * text.C (FontIterator, operator*, operator->, operator++): add
1032 (rowBreakPoint, setRowWidth): adjust (fixing a
1035 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1037 * BufferView_pimpl.C (workAreaDispatch): allow also
1038 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1040 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1042 * text.C (rowBreakPoint): fix a bug showing with very large insets
1044 2004-02-25 André Pönitz <poenitz@gmx.net>
1047 * cursor.[Ch]: move some mathed specific code to mathed
1049 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1051 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1052 use_tempdir in preferences
1053 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1055 * lyx_main.C: ensure that tempdir is valid
1056 * lyxlex.h: correct typo
1057 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1058 * paragraph.[Ch] (isMultiLingual): make const
1059 * cursor.[Ch] (openable): make const
1061 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1065 2004-02-20 André Pönitz <poenitz@gmx.net>
1067 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1069 * cursor.[Ch]: prepare for localized getStatus()
1075 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1077 2004-02-20 André Pönitz <poenitz@gmx.net>
1079 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1081 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1083 * text2.C (setCursorFromCoordinates): switch to absolute coords
1085 (cursorDown): adjust
1086 * text3.C (dispatch): adjust
1088 2004-02-16 André Pönitz <poenitz@gmx.net>
1090 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1093 * cursor_slice.[Ch]: remove unneeded acessor function
1095 * lyxtext.h: rename rtl() to isRTL()
1103 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1105 * rowpainter.C (paintSelection): coord fix
1107 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1109 * Spacing.C: compile fix
1111 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1113 * cursor.C (dispatch): restore current_ before returning
1115 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1117 * text2.C (cursorUp, cursorDown): fix coords
1120 2004-02-12 André Pönitz <poenitz@gmx.net>
1125 * text3.C: add LCursor & parameter to most cursor movement functions
1126 remove usage of LyXText::cursorRow() and cursorPar()
1128 * cursor.[Ch]: add textRow() needed members
1131 * BufferView_pimpl.C:
1134 * BufferView_pimpl.C: adjust
1136 2004-02-11 André Pönitz <poenitz@gmx.net>
1140 * BufferView_pimpl.C: shift undo/redo handling
1142 * cursor.[Ch]: fix mathed crash
1145 * lyxtext.h: move selectionAsText to LCursor
1153 * rowpainter.C: fix excessive drawing
1155 2004-02-06 André Pönitz <poenitz@gmx.net>
1158 * BufferView_pimpl.[Ch]:
1159 * text3.C: move some text specific LFUN handling
1161 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1163 * text3.C (checkInsetHit): adjust coords
1164 * text2.C (getColumnNearX): adjust coords
1165 (edit): adjust coords
1166 * text.C (getRowNearY): add two asserts
1168 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1171 * format.C: add using std::distance to compile on gcc 2.95/stlport
1173 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1175 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1177 2004-02-04 André Pönitz <poenitz@gmx.net>
1179 * BufferView.[Ch] (insertInset):
1180 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1185 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1187 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1188 on the default clause of the switch
1189 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1190 wasn't catched by LCursor::dispatch
1192 2004-02-03 André Pönitz <poenitz@gmx.net>
1195 * cursor.[Ch]: some additional asserts
1197 * undo.[Ch]: remove LyXText dependency in interface
1201 * lyxtext.h (firstPar, lastPar): remove dead functions
1206 * paragraph.[Ch]: adjust
1208 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1210 * lyxfind.C (find): fix argument order in call to ::find
1212 2004-02-02 André Pönitz <poenitz@gmx.net>
1214 * cursor.[Ch]: remove direct access to anchor
1216 * text.C: remove findText() hack
1218 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1220 * iterators.[Ch] (lockPath): remove in favour of...
1221 * BufferView.[Ch] (setCursor): this addition
1222 * BufferView.C (putSelectionAt): adjust
1223 * undo.C (performUndoOrRedo): adjust
1224 * lyxfunc.C (dispatch): adjust
1226 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1228 * iterators.C (lockPath): add a missing slice
1229 * undo.C (performUndoOrRedo): remove redundant positioning code
1231 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1233 * vc-backend.C (scanMaster): ";" -> ';'
1235 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1237 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1238 std::binary_function
1240 * lyxtextclass.C (compare_name): rename to...
1241 (LayoutNamesEqual): ...this
1243 * lyxlex_pimpl.C (compare_tags): inherit from
1244 std::binary_function, put back into anon namespace
1246 * lyxfind.C (MatchString): inherig from std::binary_function
1247 (findChange): use empty() istead of !size()
1249 * format.C (FormatNamesEqual): new functor
1256 * converter.C (compare_Converter): rename to...
1257 (ConverterEqual): ...this, and fixup a bit.
1258 (getConverter): use it, and make function const
1259 (getNumber): use it, and make function const
1263 * bufferlist.C: add using boost::bind
1265 * MenuBackend.C (MenuNamesEqual): new functor
1266 (hasMenu): use it, and make function const
1267 (hasSubmenu): use nested bind to get rid of compare_memfun.
1269 2004-01-30 André Pönitz <poenitz@gmx.net>
1271 * BufferView_pimpl.C:
1274 * cursor_slice.[Ch]:
1277 * paragraph_funcs.C:
1278 * paragraph_funcs.h:
1282 * text3.C: move some of the edit(x,y) handling to the insets
1283 some coordinate changes.
1285 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1287 * text.C: add using statements for std::advance and std::distance
1289 * paragraph.C: add using statement for std::distance
1291 * lyxfind.C: add using statement for std::advance
1293 * cursor.C (region): remove std:: from swap
1294 (openable): use nucleus in stead of operator->
1296 * BufferView.C: add using statements for std::distance and std::swap
1298 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1300 * iterators.C: Remove the pimple, move the needed structures to
1301 the header file. Create accessor for the positions stack.
1302 (asPosIterator): remove function
1304 * PosIterator.C (PosIterator): move constructors to top of file
1305 (PosIterator): reimplement the constructor taking a ParIterator in
1307 (setFrom): new function
1308 (operator!=): inline it
1310 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1312 * lyxfind.C (replaceAll): use std::advance
1314 * iterators.h: inherit from std::iterator.
1316 * PosIterator.C (advance, distance): remove
1317 * PosIterator.h: interit from std::iterator.
1319 2004-01-26 André Pönitz <poenitz@gmx.net>
1322 * BufferView_pimpl.[Ch]:
1326 * bufferview_funcs.C:
1336 * output_linuxdoc.C:
1337 * output_plaintext.C:
1339 * paragraph_funcs.[Ch]:
1340 * paragraph_pimpl.[Ch]:
1346 * text3.C: more IU: dumps most of the rest of the mathcursor
1347 implementation into cursor.[Ch]; "globalize" a bit of it.
1349 2004-01-25 Angus Leeming <leeming@lyx.org>
1351 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1353 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1355 * LaTeXFeatures.h: add nice_ and nice() const
1356 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1358 2004-01-20 André Pönitz <poenitz@gmx.net>
1361 * BufferView_pimpl.C:
1363 * bufferview_funcs.C:
1365 * cursor_slice.[Ch]:
1376 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1377 LCursor and mathcursor parts to LCursor and InsetBase.
1379 2004-01-15 André Pönitz <poenitz@gmx.net>
1381 * cursor_slice.[Ch]: add a few covienience functions
1383 * funcrequest.[Ch]: remove BufferView * member
1385 * BufferView_pimpl.C:
1392 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1394 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1396 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1397 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1399 2004-01-13 André Pönitz <poenitz@gmx.net>
1402 * lyxtext.h: hide cursor and selection anchor behind accessor function
1405 * BufferView_pimpl.[Ch]:
1407 * bufferview_funcs.C:
1417 * cursor_slice.[Ch]: some integer type changes for inset unification
1419 * lyxcursor.[hC]: remove, it's CursorSlice now.
1422 * BufferView_pimpl.[Ch]:
1423 * bufferview_funcs.C:
1429 * textcursor.[Ch]: adjust
1431 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1433 * text2.C (undoSpan): add and use
1434 * text.C (breakParagraph): use undoSpan (fix bug 578)
1437 2004-01-08 Angus Leeming <leeming@lyx.org>
1439 * BufferView_pimpl.C (MenuInsertLyXFile):
1440 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1441 * lyxfunc.C (menuNew, open, doImport):
1442 FileFilterList change to the FileDialog open and save functions.
1444 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1446 * ShareContainer.h: make isEqual and isUnique adaptable
1448 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1450 2004-01-07 Angus Leeming <leeming@lyx.org>
1453 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1455 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1457 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1458 functions replacing find, replace and replaceAll.
1460 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1461 LFUN_WORDFIND(FORWARD|BACKWARD).
1463 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1465 * text.C (breakParagraph): remove an outdated #warning
1467 2004-01-07 André Pönitz <poenitz@gmx.net>
1469 * lyxfind.C: somewhat clearer logic
1471 * text.C: prevent crash in cursorX on unitialized row cache
1473 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1475 * lyxcursor.[Ch] (operator>): add
1476 * textcursor.C (selStart, selEnd): use std::min and std::max
1478 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * Chktex.C: include boost/format.hpp
1482 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1484 * InsetList.C: replace functor MathcIt with adaptable functor
1486 (insetIterator): modify accordingly
1488 * BranchList.h: move the BranchNamesEqual functor here from...
1489 * BranchList.C: ... to here
1491 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1493 (add): replace a finding loop with std::find_if.
1495 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1497 * output_docbook.C: moving LatexParam functionality into
1500 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1502 * buffer.C: increment format to 229.
1504 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1507 * lyx_sty.[Ch]: remove minipageindent_def
1513 * text3.C: remove LFUN_INSET_MINIPAGE
1515 2003-12-28 Angus Leeming <leeming@lyx.org>
1517 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1519 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1521 * text2.C (setParagraph): fix off-by-one crash
1523 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1525 * output_docbook.C: header stuff for AGU
1527 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1529 * text2.C (redoCursor): remove
1532 * BufferView_pimpl.C: remove calls to redoCursor and
1533 setCursor(cursor.par(), cursor.pos()) all around
1535 2003-12-15 Angus Leeming <leeming@lyx.org>
1537 * buffer.C: up the format to 228.
1539 2003-12-15 André Pönitz <poenitz@gmx.net>
1541 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1546 * BufferView_pimpl.C:
1555 2003-12-15 Angus Leeming <leeming@lyx.org>
1557 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1558 than getFromGUIName to manipulate the color.
1560 2003-12-14 Angus Leeming <leeming@lyx.org>
1562 * BranchList.[Ch]: minimize the API.
1563 (Branch::getBranch, getColor): now return a 'const &'.
1564 (Branch::setSelected) now returns a bool set to true if the
1565 selection status changes.
1566 (BranchList::clear, size, getColor, setColor, setSelected,
1567 allBranches, allSelected, separator): removed.
1568 (BranchList::find): new functions, returning the Branch with
1570 (BranchList::add, remove): return a bool indicating that
1571 the operation was successful.
1573 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1574 new InsetBranch::isBranchSlected member function.
1576 * LColor.[Ch]: mimimize the API.
1577 (fill): renamed as addColor and made private.
1578 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1579 versions of these functions taking a string arg have been removed.
1581 * bufferparams.C (readToken):
1582 * lyxfunc.C (dispatch):
1583 * lyxrc.C (read): changes due to the altered BranchList and
1586 * factory.C (createInset, readInset): changes due to altered
1589 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1592 * lyxfunc.C: remove insetminipage. "minipage-insert"
1593 now produces a frameless minipage box inset.
1595 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1597 * textcursor.[Ch] (selStart,selEnd): add new methods
1598 remove selection::start, end, use LyXCursor::operator<
1599 * lyxcursor.[Ch] (operator<): add
1600 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1601 * BufferView.[Ch] (unsetXSel): add
1602 * text2.C (clearSelection): use unsetXSel,adjust
1605 * rowpainter.C: adjust
1606 * bufferview_funcs.C (put_selection_at): adjust
1608 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1610 * BufferView_pimpl.C: small coord. correction
1612 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1614 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1615 dragging over the splash screen.
1617 2003-12-11 Angus Leeming <leeming@lyx.org>
1619 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1620 as it is now handled in LyXText::dispatch.
1622 * text3.C (doInsertInset): remove a level of nesting.
1624 2003-12-11 Angus Leeming <leeming@lyx.org>
1626 * factory.C (createInset): changes due to the changed interface to
1627 InsetCommandMailer::string2params.
1629 2003-12-10 Angus Leeming <leeming@lyx.org>
1631 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1632 'dialog-show-new-inset <inset name>'
1634 2003-12-10 Angus Leeming <leeming@lyx.org>
1636 * buffer.C: up the format to 227.
1638 * factory.C: the box inset is now identified simply by 'Box'.
1640 2003-12-10 Angus Leeming <leeming@lyx.org>
1642 * buffer.C: up the format to 226.
1644 * factory.C: the note inset is now identified simply by 'Note'.
1646 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1648 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1649 when a pit is enough. Standarize a couple of loops.
1651 2003-12-05 Angus Leeming <leeming@lyx.org>
1653 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1654 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1655 data to the re-worked "log" dialog.
1657 2003-12-03 André Pönitz <poenitz@gmx.net>
1663 * paragraph_funcs.C:
1665 * text2.C: use Inset::getText instead of Inset::getParagraph
1667 2003-12-03 André Pönitz <poenitz@gmx.net>
1671 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1672 InsetText::read() as LyXText::read()
1674 2003-12-02 Angus Leeming <leeming@lyx.org>
1676 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1677 type. Add a comment in the implementation that the function uses
1678 the stream's bad() function rather than fail() as the std::streams
1681 2003-12-02 André Pönitz <poenitz@gmx.net>
1683 * lyxlex.[Ch]: make interface more similar to std::stream
1685 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1687 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1689 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1691 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1693 * vspace.[Ch]: remove VSpace::NONE
1695 2003-12-01 André Pönitz <poenitz@gmx.net>
1698 * lyxtext.h: move ParagraphList member to LyXText
1699 rename LyXText::ownerParagraphs to LyXText::paragraph
1702 * bufferview_funcs.C:
1712 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1714 * undo.C: fix cursor positioning
1716 2003-12-01 John Levon <levon@movementarian.org>
1718 * BufferView_pimpl.C: fix a crash on exit with
1721 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1723 * BranchList.C: fix setSelected() method.
1725 2003-11-28 André Pönitz <poenitz@gmx.net>
1727 * ParagraphParameters.[Ch]:
1728 * ParameterStruct.h: remove space above/below from Paragraph to
1731 * BufferView_pimpl.C:
1737 * paragraph_funcs.C:
1743 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1745 * factory.C: Syntax change for CharStyles
1747 2003-11-28 André Pönitz <poenitz@gmx.net>
1752 * buffer.[Ch]: move LyXText member
1754 2003-11-28 André Pönitz <poenitz@gmx.net>
1756 * BufferView.[Ch]: make LyXText * text a private member
1758 * BufferView_pimpl.C:
1769 * output_plaintext.C: cleanup
1771 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1774 * lyxtextclass.[Ch]: parametrize SGML document header
1776 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1779 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1782 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1784 * text2.C (setFont): rework using PosIterator (no more recursive)
1785 (setCharFont): no more needed
1786 (setLayout): no more selection cursors fiddling (done by redoCursor)
1787 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1788 destroy remaining ones)
1790 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1792 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1794 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1797 * text3.C: adjust + re-allow multi par depth changes
1798 * textcursor.C: simplify a bit
1800 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1806 * src/output_docbook.C:
1807 * src/output_latex.C:
1812 * src/text2.C: Introducing a number of tags parametrizing various
1813 XML formats that we may want to support
1815 2003-11-25 André Pönitz <poenitz@gmx.net>
1817 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1819 * lyxtext.h (leftMargin/rightMargin): simplify interface
1826 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1828 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1829 master file to any child files. Fixes bug 546.
1831 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1833 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1835 2003-11-24 André Pönitz <poenitz@gmx.net>
1837 * rowpainter.C: simplification
1839 * text2.C (updateCounters): remove call to redoParagraph on
1840 changed labels as this is far too expensive.
1842 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1844 * converter.C (convert): fix a crash: this function gets
1845 called with buffer == 0 from importer code.
1847 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1849 * text3.C (cursorPrevious): make sure that we do not compare
1850 iterators form different containers.
1853 * rowpainter.C (paintSelection): make sure that we do not compare
1854 iterators from different containers.
1856 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1857 iterators from different ParagraphList containers.
1860 * text2.C (LyXText): change order of initialization slightly
1861 (operator=): new function. copy all variables except cache_par_
1862 (moveUp): make sure that we do not compare iterators from
1863 different ParagraphList constainers.
1866 * text.C (firstPar): new function
1867 (lastPar): new function
1868 (endPar): new function
1870 * lyxtext.h: move things around and group public functions, public
1871 variables, private functions, private variables
1873 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1875 * factory.C: change call to InsetERT constructor to avoid
1876 additional invocation of method status
1877 * text2.C (toggleInset): remove redundant update() call
1878 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1879 instead of a Bufferview pointer
1881 2003-11-21 André Pönitz <poenitz@gmx.net>
1883 * rowpainter.C: simplification
1885 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1887 * text3.C (dispatch): make possible to extend a word/row selection
1890 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1892 * lyxtext.h: x0_,y0_ -> xo_,yo_
1893 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1894 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1895 * rowpainter.C (paintRows): paint full paragraphs
1897 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1899 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1902 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1904 * lyxtext.h: add x0_, y0_
1905 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1906 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1908 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1910 * text2.C (setCursorIntern): move the x_target update here *
1911 * text3.C: change some bv() to true/false in calls to
1912 cursorUp/Down/Right/Left
1913 * cursor.C: use helper function.
1915 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1917 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1918 * paragraph_funcs.[Ch]: correct comment
1919 * rowpainter.C: do not paint selections away from bv->cursor()
1920 Fix a long standing selection painting bug.
1921 * text3.C: generalize mouse-selection code to LyXTexts other that
1923 * textcursor.C: do not use y coords if we can use par offsets
1925 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1927 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1928 cursor position after e.g. inset insert)
1930 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1932 * lyxfind.C (replace): adjust to locking removal + some
1935 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1937 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1940 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1943 * output_docbook.C: XML sanitation: new layout
1944 parameters InnerTag and CommandDepth
1946 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1948 * BufferView_pimpl.C:
1950 * text3.C: Fix the insertion and modification of button-style
1953 2003-11-13 André Pönitz <poenitz@gmx.net>
1955 * InsetList.[Ch]: remove deleteLyXText
1957 * paragraph.[Ch]: cache beginOfBody position
1962 * text3.C: remove superfluous update() calls
1966 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1968 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1969 * BufferView.C (fitLockedInsetCursor): remove
1970 * cursor.[Ch] (getDim): add
1971 * text.C (getRowNearY): add faster version
1972 * text3.C: remove some update calls
1974 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1986 * text3.C: The Character Style /XML short element patch.
1988 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1991 * factory.C: Small step to solving 'unable to insert some insets'
1994 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1996 * cursor.[Ch] (updatePos): new function for updating the y
1997 position of the tip inset
1998 * bufferview_funcs.C (put_selection_at):
1999 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2001 2003-11-11 André Pönitz <poenitz@gmx.net>
2003 * text.C: remove big comment on invalid Paragraph pointers as it is
2006 2003-11-11 André Pönitz <poenitz@gmx.net>
2008 * text_funcs.[Ch]: merge with ...
2016 * Makefile.am: remove text_funcs.[Ch]
2018 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2020 * cursor.C (getPos): return absolute cached y coord
2022 * BufferView_pimpl.C (fitCursor): new simplistic code
2023 (workAreaDispatch): add a fitCursor call
2025 2003-11-10 André Pönitz <poenitz@gmx.net>
2028 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2030 2003-11-10 André Pönitz <poenitz@gmx.net>
2032 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2033 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2034 indicate that the cursor needs to leave an inset
2036 * lyxtext.h: remove inset locking
2038 * cursor.[Ch]: re-implement functionality provided by inset locking
2041 * BufferView_pimpl.[Ch]:
2043 * bufferview_funcs.[Ch]:
2055 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2057 * PosIterator.[Ch]: replace the stack with a vector, add inset
2059 * iterators.[C]: adjust
2061 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2063 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2065 * paragraph_funcs.C (readParToken): put the correct id in the
2066 error item, not the id of the top paragraph
2068 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2070 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2071 * bufferview_funcs.C (put_selection_at): use the above
2073 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2075 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2077 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2079 * output_linuxdoc.h:
2080 * output_plaintext.h:
2082 * output_docbook.h: add #include statements
2084 2003-11-05 José Matos <jamatos@lyx.org>
2086 * output_docbook.[Ch]:
2087 * output_latex.[Ch]:
2088 * output_linuxdoc.[Ch]:
2089 * output_plaintext.[Ch]: New files for output formats.
2090 * output.[Ch]: New file for helper functions.
2093 * paragraph_funcs.[Ch]: output functions moved to new files.
2095 * outputparams.h: rename of latexrunparams.h
2103 * paragraph_funcs.[Ch]:
2104 * paragraph_pimpl.[Ch]:
2105 * tabular.[Ch]: rename ascii to plaintext
2106 and LatexRunParams to OutputParams.
2108 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2110 * iterators.[Ch] (text): require bv argument
2111 * undo.C (recordUndo):
2112 * lyxfunc.C (dispatch):
2113 * bufferview_funcs.C (put_selection_at): adjust
2115 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2117 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2119 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2121 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2124 2003-11-04 André Pönitz <poenitz@gmx.net>
2126 * cursor.[Ch]: restructure
2129 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2131 * iterators.[Ch] (asCursor): remove
2133 * lfuns.h: remove LFUN_INSET_EDIT
2139 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2141 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2143 * lyxfind.[Ch]: complete overhaul
2144 * BufferView_pimpl.C:
2146 * paragraph.[Ch] (insert): add
2148 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2152 * text.C: remove dead spellcheck code
2154 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * dispatchresult.h: add a val setter
2158 * cursor.C (dispatch): use a tempvar for data_[i]
2160 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2162 * PosIterator.[Ch]: compile fix
2164 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2166 * text.C (cursorPar): deactivate the cursor cache
2168 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2170 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2172 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * text3.C (dispatch): adjust for new DisptchResult semantics.
2176 * lyxfunc.C (dispatch): handle update when return from
2177 Cursor::dispatch, adjust for new DispatchResult semantics.
2179 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2180 DispatchResult(true) mean to not update. Add class functions for
2181 setting dispatched and update, as well as reading.
2183 * cursor.C (dispatch): don't handle update here
2185 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2188 * trans_mgr.C: adjust
2190 * paragraph_funcs.C (readParToken): exception safety
2192 * lyxvc.h: store the vcs pointer in a scoped_ptr
2195 * lyxsocket.C (serverCallback): exception safety
2197 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2199 * ispell.C (clone): make it return a auto_ptr
2201 * factory.C (createInset): exception safety
2202 (readInset): exception safety
2204 * bufferlist.C (newBuffer): exception safety
2206 * Thesaurus.C (Thesaurus): use initialization for aik_
2208 * MenuBackend.C (expandToc): exception safety.
2210 2003-11-03 André Pönitz <poenitz@gmx.net>
2214 * bufferview_funcs.C: remove getInsetFromId()
2217 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2223 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2225 * PosIterator.C (distance, advance): new
2226 * bufferview_funcs.[Ch] (put_selection_at): new
2227 * iterators.[Ch] (lockPath): new
2229 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2231 * iterators.[Ch] (asPosIterator): added
2232 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2233 * PosIterator.[Ch]: added
2235 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * cursor.C (dispatch):
2240 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2242 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2243 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2244 contructor, add a class function dispatched. Remove operator>=
2246 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2248 * debug.C: only use the default constructor for debugstream
2251 * main.C (main): include debug.h and setup the lyxerr streambuf
2254 2003-10-31 José Matos <jamatos@lyx.org>
2256 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2258 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2259 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2260 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2261 * paragraph_pimpl.C (simpleTeXSpecialC):
2262 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2263 add LatexRunParams argument.
2265 * exporter.C (Export): change call accordingly.
2267 * latexrunparams.h: add new member to take care of the other backends.
2268 2003-10-30 José Matos <jamatos@lyx.org>
2270 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2271 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2272 factorise code for paragraph output.
2274 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2277 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * text3.C (dispatch):
2280 * lyxfunc.C (dispatch):
2281 * cursor.C (dispatch):
2282 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2284 * dispatchresult.h: make the dispatch_result_t ctor explicit
2286 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2289 * buffer.C: small refactoring of docbook stuff
2291 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2298 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2299 operator dispatch_result_t, and operators for == != and >=
2301 * cursor.C (dispatch): adjust for operator dispatch_result_t
2302 removal. comment out call to update
2304 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2306 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2317 * dispatchresult.h: new file, DispatchResult broken out of
2320 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2322 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2324 * text.C (rowBreakPoint): put a hack inside #if 0
2326 2003-10-28 André Pönitz <poenitz@gmx.net>
2330 * paragraph_funcs.C:
2333 * text2.C: general cleanup (lots of small stuff)
2335 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2337 * text2.C (cursorEnd): simple fix to the "end key goes to one
2338 before the end on last row" bug
2340 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2342 * text.C (backspace): fix the "zombie characters"
2344 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2346 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2348 2003-10-27 André Pönitz <poenitz@gmx.net>
2350 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2352 * factory.C: handle new InsetPagebreak, InsetLine
2354 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2355 and move handling into new InsetPagebreak, InsetLine
2357 * BufferView_pimpl.C:
2359 * ParagraphParameters.C:
2360 * ParameterStruct.h:
2365 * paragraph_funcs.C:
2366 * paragraph_pimpl.C:
2372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2375 * lyxrow_funcs.[Ch]:
2381 * text3.C: remove lastPos uses in favour of Row::endpos
2383 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2385 * undo.C (performUndoOrRedo): fix two crashes by setting a
2386 cursor by hand and reordering some calls. Use bv->lockInset instead
2387 of inset->edit because the latter loses cursor information
2389 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2391 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2393 (rowBreakPoint): fix width. change point to point + 1.
2394 Add a missing check.
2396 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2399 * lyxfunc.C: fix (at least partly) the problems
2400 with the Nav menu and headers inside branch insets
2403 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2405 * paragraph.C (getChar): add strong asserts
2407 * lyxrow_funcs.C (lastPos): remove hideous hack
2409 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2410 (fill): adjust to that (avoid an infinite loop)
2412 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2414 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2416 2003-10-23 André Pönitz <poenitz@gmx.net>
2418 * RowList_fwd.h: change list<> to vector<> to gain speed
2419 after suggestion from Alfredo
2421 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2423 * lyxtext.h: move the bidi stuff from here...
2426 * Bidi.[Ch]: ... to here
2428 2003-10-23 André Pönitz <poenitz@gmx.net>
2431 * text.C (isLastRow, isFirstRow): new functions
2433 * paragraph.h: new width cache member
2435 * rowpainter.C: replace RowList::iterator with Row & where possible
2437 * lyxfunc.C: replace several view()->text with a single call
2439 * toc.C: fix 'unused' warning
2441 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2444 when woring with stream::pos_type
2445 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2447 2003-10-22 André Pönitz <poenitz@gmx.net>
2450 * text.C: use Row & instead of RowList::iterator
2452 * lyxrow.h: rename end() to endpos()
2458 2003-10-22 Angus Leeming <leeming@lyx.org>
2460 * buffer.[Ch] (fully_loaded): new member function, returning true
2461 only when the file has been loaded fully.
2462 Used to prevent the premature generation of previews and by the
2463 citation inset to prevent computation of the natbib-style label.
2465 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2466 templates are all set up.
2468 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2470 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2472 * text.C: fixed an "oops" in the "is a bit silly"
2475 2003-10-21 André Pönitz <poenitz@gmx.net>
2477 * FuncStatus.[Ch]: small stuff, whitespace
2479 * lyxfont.[Ch]: operator<<() for debug reasons
2483 * lyxtext.h: whitespace, spelling
2485 * paragraph.C: naming of variables
2488 * text2.C: small stuff
2491 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2493 * text.C: (1) finish off the inset display() work;
2494 (2) fix the "is a bit silly" bug (accessing char
2497 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2499 * text.C: re-introduce display() for insets, fixing the
2500 various bugs (stretch of line above, math inset
2503 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2505 * text.C (rightMargin): remove spurious semicolon
2507 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2510 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2512 * text3.C: fix one crash due to wrong cursor def
2514 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * vc-backend.C (scanMaster): make the regex static
2518 * LaTeX.C (scanAuxFile): make the regexs static
2520 * text3.C (doInsertInset, dispatch, dispatch):
2521 * text2.C (cursorUp, cursorDown):
2522 * text.C (selectNextWordToSpellcheck):
2523 * BufferView_pimpl.C (dispatch):
2524 * lyxfunc.C (dispatch): localDispatch -> dispatch
2526 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2528 * lyxsocket.C: include <cerrno>
2530 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2532 * lyxfunc.C (dispatch): remove textcache stuff
2534 * bufferlist.C (release): remove textcache stuff
2537 * TextCache.C: delete file
2538 * TextCache.h: delete file
2540 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2542 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2543 delete of the bv_->text.
2544 (resizeCurrentBuffer): remove texcache stuff
2545 (workAreaResize): ditto
2547 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2552 2003-10-16 André Pönitz <poenitz@gmx.net>
2559 * text3.C: speed up by storing y positions per paragraph plus per-row
2560 offset instead of having a 'full' y position in the row.
2562 2003-10-15 André Pönitz <poenitz@gmx.net>
2566 * undo.[Ch]: make undo aware of inner insets
2568 2003-10-14 Angus Leeming <leeming@lyx.org>
2570 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2571 static member functions LyX::ref() and LyX::cref.
2572 (lastfiles): new accessor functions for the new lastfiles_ member var.
2573 (addLyXView, views_): add a new LyXView to the list of views_.
2574 (updateInset): loop over all LyXViews to call their own updateInset
2575 member function, returning a pointer to the Buffer owning the inset.
2577 * BufferView_pimpl.C (loadLyXFile):
2578 * MenuBackend.C (expandLastfiles):
2579 * bufferlist.C (MenuWrite, QuitLyX):
2580 lastfiles is no longer a global variable.
2581 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2583 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2584 static function. Access through LyX::cref().emergencyCleanup().
2586 2003-10-14 André Pönitz <poenitz@gmx.net>
2588 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2590 * undo.[Ch]: restoring part of 'undo in insets'
2593 * undo_funcs.[Ch]: merge with undo.[Ch]
2595 * tabular.C: small cleansing stuff
2597 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2599 * paragraph_funcs.C (readParToken): report unknown insets as error
2600 boxes. Use the outer paragraph as location (also for unknown
2603 * factory.C (readInset): do not abort on reading an unknown inset.
2604 Eat it and return 0.
2606 2003-10-13 Angus Leeming <leeming@lyx.org>
2608 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2610 * lyxrc.C: displayTranslator is now a function,
2611 declared in GraphicsTypes.h.
2613 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2615 * format.C: new placeholder $$a to pass the socket address.
2617 * bufferlist.[Ch]: new function getBufferFromTmp.
2619 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2620 files in the temporary dir.
2622 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2624 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2626 * Makefile.am: add lyxsocket.[Ch].
2628 * lyx_main.C (error_handler): handle SIGPIPE.
2630 2003-10-13 André Pönitz <poenitz@gmx.net>
2632 * BufferView_pimpl.C:
2637 * undo_funcs.[Ch]: use paroffset_type instead of
2638 ParagraphList::iterators to prevent multiple conversion
2639 (and get a more robust interface)
2641 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2645 * text3.C (dispatch): ditto
2647 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2649 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2650 move the onlyfile, use onlyfile instead of foundfile in a couple
2653 * DepTable.C (update): flush the error stream a bit more
2655 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2657 * lyxserver.C (callback): adjust
2659 * lyxfunc.C (getStatus): add a missing brace in commented code
2660 (ensureBufferClean): reindent
2661 (dispatch): delete version taking a string
2663 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2665 * LaTeX.C (deplog): move found file handlig from here...
2666 (handleFoundFile): .. to new function here.
2667 (deplog): make sure to discover several files mentioned on the
2670 2003-10-10 André Pönitz <poenitz@gmx.net>
2677 * text3.C: fix some of the tabular crashes
2679 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2681 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2683 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2685 2003-10-09 André Pönitz <poenitz@gmx.net>
2687 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2690 * BufferView_pimpl.C:
2691 * bufferview_funcs.C:
2702 * undo_funcs.C: adjust
2704 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * text2.C (incrementItemDepth): new function, use a backtracking
2707 algorithm to discover the correct item depth.
2708 (resetEnumCounterIfNeeded): new function, use a backtracking
2709 algorithm to discover if counter reset is needed.
2710 (setCounter): use them. Simplify a bit. Add different labels for
2711 different item depths for itemize.
2713 * paragraph.C (Paragraph): remove initialization of enumdepth
2716 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2717 enumerate and itemize. Change the type of itemdepth to signed char.
2719 2003-10-08 André Pönitz <poenitz@gmx.net>
2721 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2726 * tabular.[Ch]: fix crash after 'row-insert'
2728 2003-10-08 Angus Leeming <leeming@lyx.org>
2730 Fix doxygen warnings.
2732 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2733 Remove CutAndPaste:: prefix from header file declaration.
2735 * LColor.h (fill): remove LColor:: prefix from declaration.
2737 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2738 use lyx::depth_type rather than Paragraph::depth_type so that
2739 header file and .C file match.
2741 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2743 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2744 * aspell.C: \file aspell_local.C -> \file aspell.C
2745 * gettext.C: \file gettext.C -> \file src/gettext.C
2746 * gettext.h: \file gettext.h -> \file src/gettext.h
2747 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2748 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2749 * text.C: \file text.C -> \file src/text.C
2751 * toc.C: move comment so that doxygen is not confused.
2753 2003-10-07 Angus Leeming <leeming@lyx.org>
2755 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2757 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2760 * aspell_local.h: add forgotten std::string's.
2762 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2769 * text3.C: The Box patch. Fancybox support, minipage, parbox
2771 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2777 * ParagraphParameters.h:
2787 * lyxtextclasslist.h:
2790 * paragraph_pimpl.C:
2791 * textcursor.h: add <string> and other small fixes to make Lars'
2792 std::string patch compile with STLport.
2794 2003-10-06 Angus Leeming <leeming@lyx.org>
2796 * LColor.h: Add missing #include <string>.
2798 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * All most all file in all subdirs: Make <string> be the prefered
2801 way of getting to std::string, add using declarations.
2803 2003-10-06 André Pönitz <poenitz@gmx.net>
2805 * metricsinfo.C: initialize LyXFont before changing attribute.
2806 (fixes the 'math in \emph is upright' bug)
2808 2003-10-06 André Pönitz <poenitz@gmx.net>
2810 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2812 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2815 * paragraph_pimpl.C: Small fixes to build using STLport
2817 2003-10-02 André Pönitz <poenitz@gmx.net>
2820 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2822 2003-10-01 André Pönitz <poenitz@gmx.net>
2824 * factory.C: assert early
2826 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * lyx_main.C: remove the global debug object
2830 * debug.h: adjust for new debugstream
2832 * debug.C: adjust for new debugstream and keep the global debug
2835 2003-09-22 Angus Leeming <leeming@lyx.org>
2837 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2838 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2839 an incomplete class LyXFont.
2841 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2843 * factory.C: bug fix in branches
2845 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * lyxfunc.C (processKeySym): adjust
2849 (dispatch): change arg name from ev to func, adjust
2850 (sendDispatchMessage): ditto
2852 * lyx_main.C (defaultKeyBindings): adjust keybindings
2853 (deadKeyBindings): ditto
2855 * kbsequence.C (addkey): return a FuncRequest
2857 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2859 * kbmap.C (bind): take a FuncRequest as arg, adjust
2862 (defkey): change to take a FuncRequest as arg, adjust
2863 (findbinding): take a FuncRequest as arg, adjust.
2865 * funcrequest.h (operator=): added
2867 * funcrequest.C (FuncRequest): default kb_action changed from
2868 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2870 * buffer.C (dispatch): simplify
2871 (dispatch): adjust to take a FuncRequest as arg, adjust
2873 * boost.C (assertion_failed): change assertion message slightly
2875 * ToolbarBackend.C (read): simplify
2877 * MenuBackend.C (binding): adjust call to findbinding, add a
2878 message if no binding is found.
2880 (expandToc): correct by adding a empty FuncRequest
2882 * LyXAction.C: include <boost/assert.hpp>
2883 (isPseudoAction): delete function
2884 (LookupFunc): change name to...
2885 (lookupFunc): this. change return type to FuncRequest.
2886 (getActionName): take kb_action as arg, simplify
2887 (funcHasFlag): add an assert, simplify.
2889 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * toc.C (action): return a FuncRequest, simplify
2893 * lyxfunc.C (processKeySym): adjust
2894 (getStatus): delete version that takes an int.
2896 (dispatch): delete version that takes action as int
2898 (sendDispatchMessage): simplify and adjust
2900 * funcrequest.C (getArg): take unsigned int as arg
2902 * ToolbarBackend.C (read): adjust
2903 (add): delete version that takes func as a string.
2904 (getIton): take a FuncRequest as arg
2906 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2909 * MenuBackend.C (MenuItem): add a new construct that only takes a
2910 Kind, simplify the constructor use for submenus.
2912 (expandLastfiles): adjust
2913 (expandDocuments): adjust
2914 (expandFormats): adjust
2915 (expandFloatListInsert): adjust
2916 (expandFloatInsert): adjust
2917 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2919 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2920 Remove class variables lyx_pseudo_map and lyx_arg_map
2922 * LyXAction.C (searchActionArg): delete function
2923 (getPseudoAction): delete function
2924 (retrieveActionArg): delete function
2925 (LookupFunc): make it return kb_action, simplify.
2926 (getActionName): simplify
2928 * factory.C (createInset): fix new bug
2930 2003-09-19 Angus Leeming <leeming@lyx.org>
2932 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2933 masterFilename_ parameter in the include inset.
2935 * factory.C (createInset): changes due to the changes to InsetInclude.
2937 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2939 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2941 2003-09-18 Angus Leeming <leeming@lyx.org>
2944 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2945 Inset::fillWithBibKeys.
2946 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2948 2003-09-18 Angus Leeming <leeming@lyx.org>
2950 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2952 (ctor): pass and store a 'Buffer const &'
2953 (buffer): new member function.
2955 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2956 '*this' to the LaTeXFeatures ctor.
2958 2003-09-18 Angus Leeming <leeming@lyx.org>
2964 * text.C: rename EnumLColor as LColor_color.
2966 2003-09-18 Angus Leeming <leeming@lyx.org>
2968 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2969 remove #include "insets/insetbase.h" from cursor.h.
2971 2003-09-18 Angus Leeming <leeming@lyx.org>
2973 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2974 InsetOld_code to remove #include "inset.h".
2976 * iterators.C: add #include "insets/inset.h"
2978 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2980 * BufferView.C: remove more locking stuff that apparently doesn't
2981 do anything sensible.
2983 2003-09-16 André Pönitz <poenitz@gmx.net>
2986 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2989 2003-09-16 Angus Leeming <leeming@lyx.org>
2991 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2993 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2996 * paragraph.h: remove #include "lyxfont.h". Forward declare
2999 2003-09-16 Angus Leeming <leeming@lyx.org>
3001 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3002 of support/textutils.h.
3003 (isWord): move the contents of support/textutils.h's IsWordChar here.
3009 * text2.C: add #include "paragraph.h".
3012 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3014 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * LaTeX.C: use namespace alias for lyx::support::os
3022 2003-09-16 Angus Leeming <leeming@lyx.org>
3025 * bufferview_funcs.C:
3028 * paragraph_pimpl.C:
3030 * text.C: add #include "LColor.h".
3032 2003-09-16 Angus Leeming <leeming@lyx.org>
3034 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3035 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3037 Store the FontBits::color variable as an int rather than as an
3038 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3041 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3042 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3043 string calls together.
3045 * lyxrc.C: add #include "LColor.h".
3047 2003-09-15 Angus Leeming <leeming@lyx.org>
3049 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3052 2003-09-15 Angus Leeming <leeming@lyx.org>
3054 * LColor.h: add an EnumLColor wrapper for LColor::color.
3056 * lyxfont.[Ch] (color, setColor, realColor):
3057 * lyxtext.h, text.C (backgroundColor):
3058 pass EnumLColor args to/from the functions, rather than LColor::color
3062 * lyxtext.h: forward declare EnumLColor.
3064 * lyx_main.C: add #include "LColor.h".
3066 2003-09-15 Angus Leeming <leeming@lyx.org>
3068 * .cvsignore: add lyx-gtk.
3070 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * ParagraphParameters.C
3079 * bufferview_funcs.C
3089 * vc-backend.C: remove usage of STRCONV
3091 2003-09-15 Angus Leeming <leeming@lyx.org>
3093 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3094 explicitly define the color passed to the painter.
3096 2003-09-15 Angus Leeming <leeming@lyx.org>
3098 * bufferparams.C (BufferParams): reorder member initializers to avoid
3101 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3103 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3104 * text.C (updateRowPositions): remove an unusual nop
3106 2003-09-12 André Pönitz <poenitz@gmx.net>
3108 * BufferView_pimpl.C:
3117 * Counters.[Ch]: finish the 'automatic counters' job
3119 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3121 * aspell.C: include <boost/assert.cpp> (compile fix)
3123 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3125 * boost.C (assertion_failed): use lyx::support::abort instead of
3128 2003-09-10 Angus Leeming <leeming@lyx.org>
3130 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3131 with their _fwd progeny.
3133 2003-09-09 Angus Leeming <leeming@lyx.org>
3135 134 files throughtout the source tree: replace 'using namespace abc;'
3136 directives with the appropriate 'using abc::xyz;' declarations.
3138 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3140 * boost.C (emergencyCleanup): moved here from LAssert.c
3141 (assertion_failed): new function, called by BOOST_ASSERT
3143 * several files: change Assert to BOOST_ASSERT
3145 2003-09-09 Angus Leeming <leeming@lyx.org>
3147 * buffer.[Ch]: Add an Impl class and move Buffer's member
3148 variables into it. As a result move several header files out of
3151 Add header files to lots of .C files all over the tree as a result.
3153 2003-09-09 Angus Leeming <leeming@lyx.org>
3155 * buffer.[Ch]: make Buffer's member variables private. Add
3158 Lots of changes all over the tree as a result.
3160 2003-09-08 Angus Leeming <leeming@lyx.org>
3162 * graph.C: #include <config.h>.
3164 2003-09-08 Angus Leeming <leeming@lyx.org>
3168 * BufferView_pimpl.C:
3197 * toc.C: remove redundant using directives.
3199 2003-09-07 Angus Leeming <leeming@lyx.org>
3201 * LaTeXFeatures.h: remove #include "support/types.h".
3202 * ToolbarBackend.h: remove #include <algorithm>.
3203 * changes.h: remove #include <ctime>.
3204 * debug.h: remove #include <iosfwd>.
3205 * graph.h: remove #include "support/std_string.h".
3206 * lyx_main.h: remove #include <csignal>.
3207 * lyxlex_pimpl.h: remove #include <fstream>.
3208 * sgml.h: remove #include <algorithm>, <utility>.
3209 * toc.h: remove #include "support/std_ostream.h".
3210 Add #include <iosfwd>.
3212 2003-09-07 Angus Leeming <leeming@lyx.org>
3214 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3216 * converter.h: forward declare LatexRunParams.
3217 * encoding.h: remove #include "lyxrc.h".
3218 * lyxtext.h: remove #include "LColor.h".
3219 * lyxtextclass.h: remove #include "support/types.h".
3220 * trans.h: remove #include "tex-accent.h".
3221 * trans_mgr.h: remove #include "tex-accent.h".
3222 * insets/inset.h: remove #include "support/types.h", <vector>.
3223 * insets/insetcollapsable.h: remove #include "LColor.h".
3224 * insets/insetinclude.h: remove #include "dimension.h".
3225 * insets/insetlatexaccent.h: remove #include "dimension.h".
3226 * insets/insetoptarg.h:: remove #include "insettext.h".
3227 * insets/insettext.h: remove #include "dimension.h",
3228 <boost/shared_ptr.hpp>
3230 * insets/renderers.h: add #include "dimension.h".
3231 * insets/updatableinset.h: add #include "support/types.h".
3233 * many .C files: Associated changes.
3235 2003-09-06 Angus Leeming <leeming@lyx.org>
3237 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3238 one, inside testInvariant.
3240 * PrinterParams.C: new file.
3241 * PrinterParams.[Ch]: move the function bodies out of line.
3243 2003-09-06 Angus Leeming <leeming@lyx.org>
3245 * ParagraphParameters.h: forward declare ParameterStruct rather than
3246 including its header file.
3247 (depth): moved out-of-line.
3249 2003-09-06 Angus Leeming <leeming@lyx.org>
3251 * BufferView_pimpl.h:
3254 * lyxfunc.h: forward declare LyXKeySym rather than
3255 #include "frontends/LyXKeySym.h".
3257 * BufferView_pimpl.C:
3260 * lyxfunc.C: associated changes.
3262 2003-09-06 Angus Leeming <leeming@lyx.org>
3264 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3265 As a result, can remove the #include "insets/inset.h" from BufferView.h
3267 2003-09-06 Angus Leeming <leeming@lyx.org>
3269 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3270 As a result, can remove the #include "insets/inset.h" from BufferView.h
3272 2003-09-06 Angus Leeming <leeming@lyx.org>
3278 * bufferview_funcs.C:
3279 * BufferView_pimpl.C:
3284 * ParagraphParameters.C:
3289 * frontends/controllers/ControlDocument.C:
3290 * insets/insetcaption.C: rearrange the #includes into some sort of
3293 * buffer.h: remove #includes ErrorList.h, undo.h
3295 2003-09-06 Angus Leeming <leeming@lyx.org>
3297 * support/types.h: add a 'depth_type' typedef, used to store the
3298 nesting depth of a paragraph.
3301 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3302 defining explicitly.
3305 * paragraph_funcs.h:
3306 * ParagraphParameters.h:
3307 * sgml.h: use lyx::depth_type rather than Paragraph or
3308 ParameterStruct's depth_type.
3311 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3314 * BufferView_pimpl.C:
3316 * ParagraphParameters.C:
3319 * bufferview_funcs.C:
3326 * frontends/LyXView.C:
3327 * frontends/controllers/ControlDocument.C:
3328 * frontends/controllers/ControlErrorList.C:
3329 * insets/insetbibitem.C:
3330 * insets/insetbranch.C:
3331 * insets/insetcaption.C:
3332 * insets/insetcollapsable.C:
3333 * insets/insetenv.C:
3334 * insets/insetert.C:
3335 * insets/insetfloat.C:
3336 * insets/insetfoot.C:
3337 * insets/insetfootlike.C:
3338 * insets/insetnewline.C:
3339 * insets/insetquotes.C:
3340 * insets/insettabular.C:
3341 * insets/insettext.C:
3342 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3344 * frontends/controllers/ControlChanges.C: #include "changes.h".
3346 2003-09-06 Angus Leeming <leeming@lyx.org>
3348 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3349 than #including paragraph.h.
3352 * RowList.h: deleted. Superfluous.
3362 * insets/insettext.h: use ParagraphList_fwd.h rather than
3365 * paragraph.h: don't forward declare ParagraphList.
3368 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3369 rather than ParagraphList.h. paragraph.h is still needed for the
3370 Paragraph::depth_type parameters.
3372 * textcursor.h: enable it to compile stand-alone in light of the
3375 * bufferview_funcs.C:
3387 * frontends/controllers/ControlParagraph.C:
3388 * frontends/controllers/ControlTabular.C:
3389 * insets/insetmarginal.C:
3390 * insets/insetminipage.C:
3391 * insets/insetnote.C:
3392 * insets/insetoptarg.C: add header files needed to compile again.
3394 2003-09-06 Angus Leeming <leeming@lyx.org>
3396 * RowList_fwd.h: new file, forward-declaring Row rather than
3397 #including lyxrow.h.
3402 * insets/insettext.h: use it instead of RowList.h
3404 * bufferview_funcs.C:
3411 * text3.C: #include "RowList.h".
3413 2003-09-05 Angus Leeming <leeming@lyx.org>
3415 * factory.C (createInset):
3416 * vspace.C (c-tor): replace sscanf call with an istringstream.
3417 * ispell.C: re-add missing HP/UX headers.
3418 * lyxserver.C: re-add missing os2 headers.
3420 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3429 * text3.C: re-add missing system headers, needed for 2.95.2.
3431 2003-09-05 Angus Leeming <leeming@lyx.org>
3433 Changes most place everywhere due to the removal of using directives
3434 from support/std_sstream.h.
3436 2003-09-05 Angus Leeming <leeming@lyx.org>
3438 Replace LString.h with support/std_string.h,
3439 Lsstream.h with support/std_sstream.h,
3440 support/LIstream.h with support/std_istream.h,
3441 support/LOstream.h with support/std_ostream.h.
3443 Changes resulting throughout the tree.
3445 2003-09-05 Angus Leeming <leeming@lyx.org>
3447 * sgml.h: ensure that the header file can be compiled stand-alone.
3448 * *.C: strip out redundant #includes. (320 in total.)
3450 2003-09-04 Angus Leeming <leeming@lyx.org>
3452 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3453 here (from getPackages).
3455 * debug.[Ch]: add a new EXTERNAL tag.
3457 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3459 * text2.C (cursorEnd): simplify
3461 (getColumnNearX): adjust
3463 * text.C (computeBidiTables): adjust
3466 * rowpainter.C (paintChars): adjust
3467 (paintSelection): adjust
3468 (paintChangeBar): adjust
3471 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3473 (numberOfSeparators): adjust
3475 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3481 * text3.C: Restricts the mouse click functionality
3482 of insets like bibtex, include, toc and floatlist to the visible
3483 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3484 up the dialogs. Cursor has to be in front of the inset (i.e.
3485 start of row) for this to function.
3487 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3489 * bufferview_funcs.C (currentState): output row information
3491 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3493 * bufferview_funcs.C (currentState): output paragraph position
3495 2003-09-04 Angus Leeming <leeming@lyx.org>
3497 * FloatList.h: move out #include "Floating.h".
3498 * LaTeX.h: move out #include "DepTable.h".
3499 * LyXAction.h: move out #include "funcrequest.h".
3500 * buffer.h: move out #include "author.h", "iterators.h".
3501 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3502 * lyx_main.h: move out #include "errorlist.h".
3503 * lyxfunc.h: move out #include "FuncStatus.h".
3504 * lyxtext: move out #include "lyxcursor.h".
3505 * paragraph_pimpl.h: move out #include "counters.h".
3507 2003-09-03 Angus Leeming <leeming@lyx.org>
3509 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3510 preamble_snippets list, enabling us to add snippets to the preamble
3511 only if the snippet was not there already.
3513 2003-09-04 Angus Leeming <leeming@lyx.org>
3515 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3517 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3522 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3524 * BranchList.C: point fix, earlier forgotten
3526 2003-09-02 Angus Leeming <leeming@lyx.org>
3528 * box.C (contains): renamed from 'contained' after a fantastic
3531 2003-09-02 John Levon <levon@movementarian.org>
3537 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3539 2003-09-02 John Levon <levon@movementarian.org>
3541 * text2.C: simplification of cursorEnd(), including partial
3544 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * buffer.C (readFile): add a space
3548 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3550 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3552 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3554 * buffer.C (readFile): new function, take a filename and a
3555 ParagraphList::iterator
3557 (readFile): adjust, make it private. don't use setStream, make
3558 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3559 always contain the filename.
3561 * BufferView.C (insertLyXFile): simplify and make it work for
3564 2003-08-30 John Levon <levon@movementarian.org>
3566 * Makefile.am: fix dist (from Kayvan)
3568 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * most files: change to use const Buffer refs
3572 2003-08-27 André Pönitz <poenitz@gmx.net>
3574 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3575 on top of ownerPar().
3577 2003-08-27 John Levon <levon@movementarian.org>
3579 * funcrequest.C: properly initialise POD members
3581 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3583 * lyxtext.h (top_y): move top_y from here
3588 * BufferView_pimpl.[Ch]: to here
3589 * frontends/screen.C:
3590 * insets/insettabular.C:
3591 * insets/insettext.C: adjust
3592 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3594 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3597 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3599 2003-08-26 André Pönitz <poenitz@gmx.net>
3601 * paragraph_func.[Ch] (outerPar): new function
3604 * paragraph_funcs.C:
3605 * paragraph_funcs.h:
3606 * paragraph_pimpl.C:
3607 * text2.C: remove Inset::par_owner
3609 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3614 * text2.C: eliminates the needFullRow/display() stuff
3615 altogether, putting the logic in metrics/draw in the insets.
3617 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3619 * text2.C (redoParagraphInternal, redoParagraphs):
3620 * text.C (redoParagraph): add a call to updateRowPositions at the
3621 end of each 'metrics-like' call. Remove all others.
3622 (getRow): remove the 'y-computing' version.
3623 (getRowNearY): do not compute nor return the real y. Solve the
3624 'y < 0' problem and simplify.
3626 2003-08-22 Angus Leeming <leeming@lyx.org>
3628 * *.[Ch]: clean-up of licence and author blurbs.
3629 Also move config.h out of a few .h files and into a few .C files.
3631 2003-08-22 André Pönitz <poenitz@gmx.net>
3633 * lyxrow.[Ch]: add x_ and *fill_ members
3638 * text2.C: adjust/remove prepareToPrint() calls
3640 2003-08-22 André Pönitz <poenitz@gmx.net>
3642 * lyxrow.[Ch]: add end_ member
3644 * lyxrow_funcs.C: use LyXRow::end_
3646 * lyxtext.h (singleWidth): add LyXFont parameter
3649 * text2.C: adjust LyXText::singleWidth() calls
3651 * text.C (redoParagraph): simplify row breaking logic
3654 2003-08-19 André Pönitz <poenitz@gmx.net>
3656 * funcrequest.C: initialize button_ member
3659 * rowpainter.[Ch]: interface consolidation
3661 2003-08-18 André Pönitz <poenitz@gmx.net>
3664 * BufferView_pimpl.C:
3666 * paragraph_funcs.C:
3668 * text3.C: remove LyXScreen::draw() and fitCursor calls
3670 * BranchList.h: remove spurious semicolons
3672 * MenuBackend.C: fix branchlist related crash
3674 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3682 * bufferparams.[Ch]:
3686 * text3.C: implements the 'branch inset'
3687 idea. This allows the output of various versions of a document
3688 from a single source version, selectively outputing or suppressing
3689 output of parts of the text.
3690 This implementation contains a 'branch list editor' in a separate
3691 tab of the document settings dialog. Branches are user definable
3692 and have a "display colour" to distinguish them on-screen.
3694 ColorHandler was somewhat cleaned up.
3695 (1) make possible a dynamically growing LColor list by allowing
3696 the graphic context cache to grow along (vector);
3697 (2) eliminate an IMHO unnecessary step in colour allocation.
3699 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3701 * BufferView_pimpl.C: compile fix
3703 2003-08-15 André Pönitz <poenitz@gmx.net>
3705 * rowpainter.C: remove extra metrics calls
3707 * lyxtext.h: merge the two constructors into a single one,
3708 pass reference to owner's par list
3710 * BufferView_pimpl.C:
3714 2003-08-15 André Pönitz <poenitz@gmx.net>
3716 * lyxrow_funcs.[Ch]:
3719 * paragraph_funcs.C:
3724 * text_funcs.C: split LyXText::rowlist_ into individual
3725 Paragraph::rows_ chunks
3728 * BufferView_pimpl.[Ch]:
3731 * text3.C: remove toggleSelection()
3733 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3735 * bufferlist.C: beautify two alerts (shorter text of buttons)
3736 * buffer.C: Remove redundant ' ' from message
3738 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3739 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3740 rename VALIGN_CENTER to VALIGN_MIDDLE
3742 2003-08-11 André Pönitz <poenitz@gmx.net>
3744 * lyxtext.h (getPar):
3745 * text.C: new function
3747 2003-08-11 André Pönitz <poenitz@gmx.net>
3750 * tracer.[Ch]: remove unneeded files
3752 * InsetList.[Ch]: remove resizeInsetsLyXText()
3757 * text3.C: merge insertParagraphs() and appendParagraph()
3758 remove breakAgain(), update()
3760 * BufferView_pimpl.[Ch]:
3761 * bufferview_funcs.[Ch]:
3765 * tabular.C: adjust after text & InsetList changes.
3767 2003-08-08 André Pönitz <poenitz@gmx.net>
3769 * text.C (insertChar, backspace): replace rowlist fiddling
3770 with rebreak of full par
3773 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3774 checkParagraph, updateInset): removed
3776 2003-08-07 André Pönitz <poenitz@gmx.net>
3779 * text3.C: merge some LFUN handlers, remove dead code
3781 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3783 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3785 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3787 * text2.C (DEPM): fix part of bug 1255 and 1256
3789 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3791 * BufferView_pimpl.C (workAreaDispatch): change to use
3792 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3793 that are no mouse related.
3795 2003-08-05 André Pönitz <poenitz@gmx.net>
3798 * BufferView_pimpl.[Ch]:
3799 * bufferview_funcs.C:
3801 * text3.C: rip out "deep update"
3803 * textcursor.[Ch] (last_sel_cursor): remove unused member
3805 2003-08-04 André Pönitz <poenitz@gmx.net>
3808 * BufferView_pimpl.[Ch]:
3809 * ParagraphParameters.C:
3810 * bufferview_funcs.C:
3816 * text3.C: replace "complicated" BufferView::update(...) calls with
3819 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3821 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3823 * Makefile.am (lyx_SOURCES): add paper.h
3825 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3827 * Makefile.am: move things around so that both lyx-qt and
3828 lyx-xforms can be built (according to --with-frontend). Then lyx
3829 is a symbolic link to lyx-[firstfrontend]
3831 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3833 * Always use std::endl with lyxerr
3835 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3837 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3839 2003-08-01 André Pönitz <poenitz@gmx.net>
3842 * BufferView_pimpl.[Ch]:
3844 * text3.C: merge BufferView::repaint() and BufferView::update()
3846 2003-08-01 José Matos <jamatos@lyx.org>
3848 * buffer.[Ch]: file_format is no longer a buffer data element.
3850 2003-08-01 André Pönitz <poenitz@gmx.net>
3855 * text2.C: make redoParagraph more independent of current cursor
3857 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3859 * text2.C: remove unneeded members
3861 2003-07-30 André Pönitz <poenitz@gmx.net>
3863 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3865 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3866 create a single function...
3868 * paragraph_funcs.C (moveItem): ... here.
3871 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3873 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3875 * LColor.[Ch]: Add comment and greyedout logical colors.
3877 2003-07-30 André Pönitz <poenitz@gmx.net>
3879 * tabular.C: don't use Assert too heavily. This crashes where it
3882 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3884 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3885 is disabled (bug 1232)
3887 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3889 * factory.C: limited 'arg' scope
3891 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3893 * factory.C: fixed Note submenu issues
3895 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3897 * factory.C: submenu for Note/Comment/Greyedout
3899 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3902 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3904 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3907 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3908 greyedout. Patch provided by Jürgen Spitzmüller.
3910 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3912 * kbmap.C (read): fix error message when reading bind files
3914 2003-07-29 Angus Leeming <leeming@lyx.org>
3916 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3917 certainly does not do what it purports to do. I am doing it, and
3918 us, a favour by killing it.
3920 2003-07-28 José Matos <jamatos@lyx.org>
3922 * buffer.C (readBody, do_writeFile):
3923 * paragraph.C(readParagraph): \end_document replaces \the_end.
3925 2003-07-29 André Pönitz <poenitz@gmx.net>
3928 * BufferView_pimpl.[Ch]:
3932 * textcursor.[Ch]: remove toggleToggle & Co
3934 2003-07-28 José Matos <jamatos@fep.up.pt>
3936 * buffer.C (readParagraph):
3937 * params_func (readParToken, readParagraph):
3938 * paragraph.C (write): \layout -> \begin_layout.
3940 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3942 * lyxlex_pimpl.C (setFile): clean up slightly.
3944 * bufferparams.h: add compressed var
3946 * buffer_funcs.C (readFile): adjust for LyXLex change
3947 (newFile): ditto + simplify
3949 * buffer.C (writeFile): handle writing of compressed files
3951 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3952 Check if the file is compressed and set a bufferparm if so.
3954 * Makefile.am (lyx_LDADD): remove explicit -lz
3956 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3958 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3959 makeDocBookFile): put the real LyX version in the first line of
3963 * version.C.in: remove lyx_docversion
3965 * tabular.C (write_attribute): add a template-based version to
3966 write enums properly
3968 2003-07-28 André Pönitz <poenitz@gmx.net>
3973 * text3.C: use doubles again for x-coordinates. They are needed.
3975 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * messages.C (getLocaleDir): use lyx_localedir()
3979 * lyxlex_pimpl.C (setFile): compress stuff
3981 * buffer.C (writeFile): add some compression stuff
3982 (do_writeFile): new func, dont call expliti close... will this
3985 * Makefile.am (lyx_LDADD): add -lz
3987 2003-07-28 José Matos <jamatos@fep.up.pt>
3989 * buffer.C: increment file format.
3990 * paragraph_funcs (readParagraph, readParToken):
3991 * paragraph.C (readParagraph): add \end_layout.
3993 2003-07-27 Angus Leeming <leeming@lyx.org>
3995 * Makefile.am: remove special casing for configure-time setting of
3996 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3998 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3999 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4001 2003-07-26 André Pönitz <poenitz@gmx.net>
4003 * paragraph_func.[Ch]:
4004 * paragraph.C (realizeFont): inline it whereever it is used
4009 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4012 2003-07-26 André Pönitz <poenitz@gmx.net>
4016 * text2.C: get rid of LyXText::need_break_row
4018 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * toc.[Ch]: put namespace toc inside namespace lyx
4022 * MenuBackend.C (expandToc2): adjust for lyx::toc
4025 * lyxfunc.C (dispatch): adjust for lyx::find
4027 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4028 lyx::find instead. Reorganize a bit.
4029 (LyXReplace): rename to replace
4030 (LyXFind): rename to find
4032 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4035 2003-07-26 André Pönitz <poenitz@gmx.net>
4037 * text.C (setHeightOfRow): restrict scope of temporary variable
4039 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4040 code (never has been used?)
4042 2003-07-27 Asger Alstrup <alstrup@local>
4044 * text.C (fill): Optimise algorithm to exploit that we can reuse
4045 the LyXFont for many characters.
4046 (setHeightOfRow): Same thing.
4047 (rowBreakPoint): Same thing.
4049 2003-07-26 Asger Alstrup <alstrup@local>
4051 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4053 * text.C (singleWidth): Spurious font copying in hot-spot
4054 singleWidth avoided. Reorder tests for arabic for efficiency.
4056 * text.C (fill): handle empty paragraphs better.
4058 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4061 * encoding.h: add includes
4063 * lyxrc.C: remove reading of bind files
4065 * lyx_main.C (init): setup bindings and menus only if we have a
4068 * kbmap.C (read): new method. Do the actual reading of bind
4071 * converter.C (dvipdfm_options):
4074 (output): adapt PAPER_* enums.
4076 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4078 * bufferparams.h: remove paper-related enums from there
4080 * paper.h: New file. A trivial header file to hold paper-related
4081 enums. It should later expand to contain many paper-related
4084 * lyxrc.C: declare extern displayTranslator
4086 2003-07-27 José Matos <jamatos@fep.up.pt>
4088 * tabular.[Ch] (linuxdoc): add support for tables and figures
4091 2003-07-27 José Matos <jamatos@fep.up.pt>
4093 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4094 consistency in both functions.
4095 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4097 2003-07-26 Asger Alstrup <alstrup@local>
4099 * rowpainter.C (paintRows): Change algorithm to work directly on
4100 the insets rather than asking every character in the document
4101 whether its an inset.
4103 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4105 * buffer.C (openFileWrite): factorize some code
4107 2003-07-26 Angus Leeming <leeming@lyx.org>
4110 * lyx_main.[Ch]: replace occurances of system_tempdir with
4113 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * rename Inset to InsetOld
4117 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4119 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4120 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4121 which I think is a bit clearer. EDIT is gone, since it was
4122 premature optimisation, and broken for mathed anyway.
4123 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4124 with cursor positioning in insets as well (math insets still do not
4125 work, but that's a different story anyway.) It mysteriously
4126 crashes sometimes with undo in the first paragraph, but I'm fairly
4127 confident that this is a compiler bug.
4129 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * paragraph.C (Paragraph): adjust for new clone return type
4133 (copyIntoMinibuffer): ditto
4135 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4137 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4138 by not having a special case, and always doing a full rebreak of
4139 the document after undo.
4141 2003-07-23 Angus Leeming <leeming@lyx.org>
4143 * factory.C (createInset): InsetExternal::setParams now takes a
4146 2003-07-23 Angus Leeming <leeming@lyx.org>
4148 * factory.C (createInset): changed interface to the external and
4149 graphics mailers' string2params functions.
4151 2003-07-23 Angus Leeming <leeming@lyx.org>
4153 * factory.C (createInset): pass a
4154 Buffer const * parameter to InsetExternalMailer's string2params.
4156 2003-07-22 John Levon <levon@movementarian.org>
4158 * Thesaurus.h: include the right aiksaurus header
4160 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4162 * MenuBackend.C (expand): check menu shortcuts unconditionally
4164 2003-07-21 Angus Leeming <leeming@lyx.org>
4166 * factory.C (createInset): pass a
4167 buffer_path parameter to InsetGraphicsMailer's string2params.
4169 2003-07-21 Angus Leeming <leeming@lyx.org>
4171 * BufferView_pimpl.C (buffer):
4174 * lyxfunc.C (dispatch):
4175 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4176 rather than the grfx shortcut.
4178 2003-07-21 André Pönitz <poenitz@gmx.net>
4180 * rowpainter.C: remove unused variables
4183 * tabular_funcs.h: move to tabular.C
4184 * Makefile.am: adjust
4186 * tabular.[Ch]: basic optical cleaning
4188 * author.h: pass references, not values
4190 2003-07-18 André Pönitz <poenitz@gmx.net>
4198 * text3.C: two-phase drawing for InsetText and InsetTabular
4199 some float -> int changes.
4201 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4203 * lyx_main.C: fix the fix
4205 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4207 * lyx_main.C: fix a crash in batch mode if no files specified
4210 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4212 * format.[Ch] (papersize): moved to BufferParams
4213 * converter.[Ch] (dvips_options): moved to BufferParams
4214 (dvipdfm_options): moved to anon namespace
4215 * bufferparams.[Ch]: added above functions.
4217 2003-07-17 André Pönitz <poenitz@gmx.net>
4221 * text2.C: don't call inset->update() anymore
4223 * metricsinfo.[Ch]: add convenience constructor
4225 2003-07-16 André Pönitz <poenitz@gmx.net>
4230 * text2.C: replace the LyXCursor::irow_ member with
4231 on-demand computation of the value
4233 2003-07-16 John Levon <levon@movementarian.org>
4235 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4237 2003-07-15 André Pönitz <poenitz@gmx.net>
4240 * text2.C: remove no more needed refresh_row
4242 2003-07-15 André Pönitz <poenitz@gmx.net>
4247 * text3.C: refresh_status tristate -> need_update bool
4249 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4251 * lyxtext.h (init): remove reinit argument (act as if always true)
4252 * text2.C: adjust to that
4254 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4256 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4257 * text3.C: use it to delete selections in some cases
4258 (bugs 441, 673, 702, 954).
4260 2003-07-14 André Pönitz <poenitz@gmx.net>
4262 * rowpainter.[Ch]: reduce interface
4264 2003-07-14 André Pönitz <poenitz@gmx.net>
4266 * BufferView_pimpl.C:
4267 * text2.C: adjust after removing unused BufferView * argument
4269 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4271 * text2.C (init): fix a crash fired on resize
4273 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4275 * buffer.[Ch]: added new closing signal
4276 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4277 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4278 BufferView::Pimpl via the closing the signal
4280 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4282 * buffer.[Ch]: take out all bv-related from buffer
4284 * BufferView_pimpl.[Ch]: connect to new signals
4285 * CutAndPaste.C: removed useless asserts
4286 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4289 * lyxfunc.C: moved view-related funciontality from vc here
4290 * paragraph.C: removed outdated comments
4293 2003-07-10 André Pönitz <poenitz@gmx.net>
4295 * BufferView_pimpl.C:
4299 * text2.C: remove InsetText::InnerCache, clean up consequences
4301 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4303 * ispell.C: fix two typos in error messages
4305 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4307 * Extend Note inset to other forms of annotation like Comment
4308 and Greyedout. Right button click gives dialog.
4310 Files modified or added (+):
4314 * ControlNote.[Ch] +
4316 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4317 frontends/controllers
4321 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4323 * aspell.C: add missing namespace lyx::support
4325 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4327 * BufferView.[Ch] (newFile): Add
4328 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4329 * LaTeX.[Ch] (message): added this signal and use it
4330 * buffer.[Ch] (busy, message): added these signals and use them
4331 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4335 * importer.C: use buffer signals instead of direct bv calling
4336 * lyx_cb.[Ch] (ShowMessage): removed
4339 * paragraph_funcs.C:
4340 * text2.C: use buffer signals
4342 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * introduce namespace lyx::graphics
4346 2003-07-02 André Pönitz <poenitz@gmx.net>
4348 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4350 2003-07-01 André Pönitz <poenitz@gmx.net>
4357 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4358 text*.C to text_func.C
4360 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * introduce namespace lyx::support
4364 2003-06-30 André Pönitz <poenitz@gmx.net>
4369 * text.C: re-enable --with-included-string
4371 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * textcursor.C: add <config.h>
4375 * text.C (getWord): remove const from word_location arg
4377 * lyxvc.C (getLogFile): fix const type order
4379 * lyxtext.h: remove const from word_location arg, add arg name
4381 * lyxlayout.h: currect type on labeltype.
4383 * importer.C: correct \file
4385 * converter.C (intToFormat): use std:: on ret val, ws changes
4387 * bufferlist.h: correct \file
4389 * buffer.C (makeLinuxDocFile): fix const type order
4390 (makeDocBookFile): ditto
4391 (fillWithBibKeys): use std:: on stdlib args.
4393 * CutAndPaste.C: fix authors.
4394 (availableSelections): use std:: on return vector
4396 2003-06-27 André Pönitz <poenitz@gmx.net>
4398 * BufferView_pimpl.C:
4399 * bufferview_funcs.C:
4407 * text3.C: remove LyXCursor::row_ member
4410 * text.C: rename fullRebreak() to partialRebreak() and implement
4411 a fullRebreak() that really bereks fully
4413 * textcursor.h: new struct for cursor-related data
4415 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4417 * lyx_main.C (LyX): get full path of document loaded on the
4420 2003-06-26 André Pönitz <poenitz@gmx.net>
4422 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4423 remove unused/broken operator>,<,>=.
4425 * text.C: remove only use of broken operator<= in an Assert().
4427 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4429 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4430 moved errorlist_.clear to showErrorList
4432 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4434 * converter.C (scanLog, runLaTeX):
4435 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4436 move the bv->showErrorList call to the callers
4437 * lyxfunc.C: i.e. here...
4439 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4440 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4441 namespace, the second to...
4442 * buffer_funcs (BufferFormat, parseErrors): added
4443 * errorlist.C (ErrorList(TeXErrors const &)): removed
4445 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4447 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4449 2003-06-24 "Garst R. Reese" <reese@isn.net>
4453 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4455 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4457 * version.C.in: change docversion to 1.4
4459 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4461 * buffer.C: fix a bug just introduced
4463 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4465 * buffer.[Ch]: added the parseError signal and use it, removed
4467 * BufferView.[Ch] (addError): moved to ...
4468 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4469 to the Buffer::parseError signal to catch (guess what) parse errors
4470 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4472 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4474 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4475 ability to create a buffer and to return an existing one from
4476 the list. Moved these functions to...
4477 * buffer_funcs.[Ch]: added
4478 * BufferView.[Ch] (loadLyXFile): added
4479 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4480 job removed from bufferlist::loadLyXFile.
4481 * buffer.C (setReadOnly): make it work without view
4482 (i.e added an if (users))
4484 2003-06-19 Angus Leeming <leeming@lyx.org>
4487 * LyXAction.C (init):
4488 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4489 with LFUN_DIALOG_SHOW <name> <data>.
4491 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4493 * CutAndPaste.C (availableSelections): small compilation fix for
4494 ancient (gcc 2.9x) compilers
4496 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * text3.C (cursorNext): add tmp var
4500 * text2.C (updateCounters): for function calling out of for clause
4501 (replaceSelectionWithString): ditto
4502 (insertStringAsParagraphs): ditto
4503 (getColumnNearX): add tmp var
4504 (setCursorFromCoordinates): add tmp var
4505 (cursorDownParagraph): add tmp var
4506 (deleteEmptyParagraphMechanism): add tmp var
4508 * text.C (insertChar): add tmp var
4510 * rowpainter.C (paintDepthBar): add tmp var
4512 * CutAndPaste.C (availableSelections): potentially check all
4513 paragraphs in a cut to fill the shown strings.
4515 2003-06-18 André Pönitz <poenitz@gmx.net>
4517 * kbmap.[Ch]: use vector<> instead of list<>
4519 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4521 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4522 pasteSelection with index
4524 * text2.C (pasteSelection): modify, call pasteSelection with index
4526 * paragraph.C (asString): reimplement version with no interval to
4527 call the one with interval.
4529 * lyxtext.h: add index arg to pasteSelection
4531 * MenuBackend.C (MenuItem): handle PasteRecent
4532 (Menu::read::Menutags): add md_pasterecent
4534 (expandPasteRecent): new function
4537 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4539 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4541 (availableSelections): new function
4543 2003-06-17 Angus Leeming <leeming@lyx.org>
4545 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4547 2003-06-17 Angus Leeming <leeming@lyx.org>
4550 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4552 * lyxfunc.C (dispatch): invoke it.
4554 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4556 * iterators.C (operator++, ParPosition): reintroduce some
4557 const_cast for the benefit of older compilers.
4559 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4561 * text3.C (dispatch): do not modify clipboard when doing
4562 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4563 LFUN_DELETE_SKIP on a selection selection
4565 2003-06-16 André Pönitz <poenitz@gmx.net>
4571 * tabular.[Ch]: IU of clone() and getLabelList();
4573 2003-06-13 André Pönitz <poenitz@gmx.net>
4575 * tabular.h: compactification
4577 2003-06-12 André Pönitz <poenitz@gmx.net>
4581 * tabular_funcs.h: some renaming plus whitespace
4583 2003-06-12 André Pönitz <poenitz@gmx.net>
4586 * BufferView_pimpl.C:
4592 * toc.C: Return a Paragraph & for ParIterator::operator*()
4594 2003-06-11 John Levon <levon@movementarian.org>
4598 * ToolbarBackend.C: add "Toolbars" section and
4601 2003-06-10 Angus Leeming <leeming@lyx.org>
4604 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4606 * lyxfunc.C (dispatch): invoke it.
4608 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * main.C: protect <ios> with HAVE_IOS
4611 (main): protect sync_with_stdio with HAVE_IOS
4613 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4615 * text2.C (cutSelection): adjust
4616 (pasteSelection): adjust
4618 * messages.C: handle get of empty string
4620 * main.C (main): use sync_with_stdio(false)
4622 * lyxfunc.C (dispatch): adjust
4624 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4625 (WriteAs): remove unneeded BufferView arg.
4627 * bufferparams.h: use correct types on papersize, papersize2 and
4630 * bufferparams.C (readToken): adjust for type
4631 (writeLaTeX): add missing cases to switch.
4633 * bufferlist.C (quitWriteBuffer): adjust
4636 * buffer.C (asciiParagraph): remove some commented code.
4638 * CutAndPaste.C: remove current_view extern variable.
4639 (cutSelection): add BufferParams arg.
4640 (eraseSelection): add BufferParams arg.
4641 (pasteSelection): add Buffer const & arg
4643 2003-06-07 John Levon <levon@movementarian.org>
4646 * paragraph_funcs.C:
4647 * paragraph_pimpl.C:
4651 * paragraph.C: allow InsetERT to freely space lines,
4652 and some consolidation of code
4654 2003-06-06 José Matos <jamatos@fep.up.pt>
4656 * buffer.C (makeDocBookFile): fix bug #821
4658 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4660 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4662 2003-06-04 Angus Leeming <leeming@lyx.org>
4664 * buffer.C: bump format to 224.
4666 2003-06-05 André Pönitz <poenitz@gmx.net>
4668 * text2.C (redoParagraphs): remove two const_cast<>
4670 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4672 * ParagraphList.h: remove last remnants of NO_STD_LIST
4674 2003-06-03 Angus Leeming <leeming@lyx.org>
4676 * factory.C (createInset): small change to the way InsetExternal's params
4679 2003-06-04 André Pönitz <poenitz@gmx.net>
4681 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4683 * paragraph_pimpl.h:
4684 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4686 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4688 * undo_funcs.C: make some simple cases of undo work again
4690 2003-06-03 John Levon <levon@movementarian.org>
4692 * ispell.C: HPUX doesn't have sys/select.h
4695 2003-06-03 John Levon <levon@movementarian.org>
4697 * CutAndPaste.C: update tabular and include inset
4702 * paragraph.C: remove owningBuffer(), don't pass Buffer
4705 * factory.C: insetGraphicsParams changed
4707 2003-06-02 John Levon <levon@movementarian.org>
4713 * text3.C: remove insetparent
4715 2003-06-02 John Levon <levon@movementarian.org>
4718 * buffer.C: fix inset_iterator.end(), move out of line
4721 2003-06-01 John Levon <levon@movementarian.org>
4723 * text3.C: use a proper cut/paste when doing inset
4724 insert (from Jürgen Spitzmüller)
4726 2003-06-01 John Levon <levon@movementarian.org>
4728 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4730 2003-05-30 André Pönitz <poenitz@gmx.net>
4732 * rowpainter.C: unify second drawing phase
4734 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * trans_mgr.C: remove one case of current_view
4738 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4740 * paragraph_funcs.h: remove paragraph.h include
4742 * paragraph.h: delete NO_STD_LIST stuff
4744 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4746 * buffer.h: remove paragraph.h include
4748 * ParagraphList.C: delete file
4750 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4752 * toc.C (getTocList): adjust
4754 * paragraph_pimpl.C (validate): adjust
4756 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4758 * paragraph.C (Paragraph): adjust
4759 (getPositionOfInset): use const_iterator, adjust
4760 (bibitem): use const_iterator, adjust
4761 (setInsetOwner): adjust
4763 * iterators.C (operator++): adjust
4765 * InsetList.[Ch]: Replace selfmade iterator with standard
4766 vector::iterator also introduce const_iterator. Remove getPos,
4767 getInset and setInset from InsetTable. Adjust accordingly.
4769 * BufferView.C (lockInset): adjust
4770 (ChangeInsets): adjust
4772 * tabular.[Ch]: delete commented same_id functions
4774 2003-05-28 John Levon <levon@movementarian.org>
4776 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4778 2003-05-28 André Pönitz <poenitz@gmx.net>
4780 * metricsinfo.[Ch]: remove 'fullredraw' member
4782 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4784 * lyxtextclass.C (operator): remove caching.
4786 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * text2.C (cursorBottom): adjust
4791 (setCounter): use ParagraphList::find, adjust
4793 * text.C (workWidth): use ParagraphList::find, adjust
4795 * lyxcursor.C (LyXCursor): adjust
4797 * buffer.C (inset_iterator): adjust
4799 * ParagraphList.h: make iterator(value_type) private, make
4800 ParagraphList a friend of iterator.
4802 * ParagraphList.C (find): new function
4804 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4806 2003-05-27 André Pönitz <poenitz@gmx.net>
4808 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4810 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4812 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4814 2003-05-26 John Levon <levon@movementarian.org>
4816 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4818 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * remove same_id from function signatures, adjust.
4822 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4826 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4828 * paragraph.C (Paragraph): get rid of same_ids parameter
4830 * ParagraphList.C (insert): adjust
4833 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * paragraph_funcs.C (breakParagraph): adjust
4836 (breakParagraphConservative): adjust
4838 * buffer.C (readParagraph): adjust
4840 * ParagraphList.C (insert): take a reference instead of a pointer
4843 * paragraph.[Ch] (id): new function
4845 * bufferlist.C (newFile): adjust
4847 * ParagraphList.C (ParagraphList): adjust
4849 (push_back): take a reference instead of a pointer.
4851 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4853 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4856 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4857 set else use old code.
4859 * ParagraphList.C: remove all NO_NEXT code and only compile this
4860 code of NO_STD_LIST is set.
4862 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4864 * BufferView_pimpl.C:
4874 * graphics/GraphicsConverter.C:
4875 * graphics/PreviewLoader.C: header adjustment
4877 2003-05-23 Angus Leeming <leeming@lyx.org>
4879 * LaTeXFeatures.[Ch] (useBabel): new method.
4880 * bufferparams.C (writeLaTeX): use it.
4882 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * ParagraphList.h (set): remove unused function.
4886 2003-05-23 André Pönitz <poenitz@gmx.net>
4889 * BufferView_pimpl.C:
4893 * undo_funcs.C: setUndo reworked
4895 * iterators.[Ch]: add access to topmost ParagraphList
4897 * lyxtext.[Ch] (workWidth): add a const
4899 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4901 * texrow.[Ch] (increasePos): remove function
4902 * exporter.C (export): removed unused var and outdated comment
4904 2003-05-23 Angus Leeming <leeming@lyx.org>
4906 * latexrunparams.h: rename fragile as moving_arg.
4907 * paragraph.C (simpleTeXOnePar): ditto.
4908 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4910 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4914 (textUndoOrRedo): comment out a currently unused var.
4916 * paragraph.h (NO_NEXT): enable NO_NEXT
4918 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4920 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4922 * exporter.C (Export): adjust for removeAutoInsets removal.
4924 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4926 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4928 * BufferView.[Ch] (removeAutoInsets): delete function
4930 2003-05-22 Angus Leeming <leeming@lyx.org>
4932 * latexrunparams.h: add a free_spacing variable.
4934 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4935 to pass moving_arg, as the data is stored in runparams.fragile.
4937 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4938 to Inset::latexOptional or to simpleTeXOnePar.
4940 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4941 free_spacing arg to Inset::latexOptional.
4943 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4946 2003-05-22 Angus Leeming <leeming@lyx.org>
4948 * latexrunparams.h: add fragile and use_babel variables.
4950 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4951 * buffer.C (makeLaTeXFile): store this returned value in
4952 runparams.use_babel, thus passing it to the inset::latex methods.
4954 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4955 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4957 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4958 longer has a fragile arg, as it is stored in runparams.fragile.
4960 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4961 moving_arg parameter as the data is stored in runparams.fragile.
4963 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4964 a fragile parameter as the data is stored in runparams.fragile.
4966 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4970 2003-05-22 Angus Leeming <leeming@lyx.org>
4972 * latexrunparams.h: add a 'bool nice' which defaults to false.
4974 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4975 now encapsulated within runparams.
4977 * bufferlist.C (updateIncludedTeXfiles):
4978 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4980 2003-05-22 Angus Leeming <leeming@lyx.org>
4982 * latexrunparams.h: new file containing struct LatexRunParams.
4983 * Makefile.am: add new file.
4985 * LaTeX.[Ch] (c-tor, run):
4986 * buffer.[Ch] (makeLaTeXFile):
4987 * bufferlist.[Ch] (updateIncludedTeXfiles):
4988 * converter.C (convert, scanLog):
4989 * converter.[Ch] (runLaTeX):
4990 * exporter.C (Export):
4991 * paragraph.[Ch] (simpleTeXOnePar):
4992 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4993 * paragraph_funcs.[Ch] (latexParagraphs):
4994 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4995 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4996 pass around a LatexRunParams parameter.
4998 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * paragraph.[Ch]: remove unused constructor
5002 * ParagraphList.C (erase): new function, taking two iterators
5004 2003-05-22 André Pönitz <poenitz@gmx.net>
5006 * undo_funcs.C: remove duplicated code
5008 * iterator.[Ch]: operator=
5010 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * tabular.C (SetMultiColumn): ws changes
5014 * rowpainter.C (paintFirst): get rid of a ->previous
5016 * lyx_cb.C (getPossibleLabel): parlist simplification
5018 * BufferView.C (ChangeInsets): simplify slightly.
5020 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5022 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5023 * lfuns.h: new LFUN_SPACE
5024 * lyxfunc.C: protected space has a new lfun
5025 * paragraph_funcs.C: read new space insets
5027 * factory.C: handle new space insets
5029 2003-05-22 André Pönitz <poenitz@gmx.net>
5032 * BufferView_pimpl.C:
5035 * undo_funcs.C: return a ParIterator from getParFromID.
5037 * iterators.[Ch]: add two const's
5039 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * toc.C (getTocList): adjust
5043 * iterators.[Ch]: rework for parlist
5045 * buffer.C (par_iterator_begin): adjust
5046 (par_iterator_end): adjust
5048 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5050 * BufferView.C (removeAutoInsets): adjust
5051 (ChangeInsets): adjust
5053 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5055 * text.C (top_y): fix bug 1110
5057 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5059 * errorlist.[Ch]: added
5062 * BufferView_pimpl.C:
5063 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5066 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * Makefile.am: ensure that lyx is relinked upon changes to the
5069 various "convenience" libs.
5071 2003-05-20 Angus Leeming <leeming@lyx.org>
5073 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5074 files are compiled in alphabetical order again.
5076 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5078 2003-05-19 Angus Leeming <leeming@lyx.org>
5080 * gettext.[Ch]: remove "char const * _(char const *)".
5082 2003-05-19 André Pönitz <poenitz@gmx.net>
5084 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5093 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5095 2003-05-19 André Pönitz <poenitz@gmx.net>
5099 * lyxtextclass.[Ch]:
5101 * paragraph_funcs.[Ch]:
5103 * text3.C: more insetenv work
5105 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5107 * ParagraphParameters.C (params2string): small bug fixed
5109 2003-05-16 André Pönitz <poenitz@gmx.net>
5112 * bufferview_funcs.C: patch from Kornel Benko to prevent
5113 crash when _(...) is called twice in a statement
5115 2003-05-16 André Pönitz <poenitz@gmx.net>
5122 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5124 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5126 * lyx_main.C (init): remove spurious static_cast
5128 2003-05-14 André Pönitz <poenitz@gmx.net>
5130 * BufferView.C: fix format string
5132 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5134 * BufferView.[Ch] (insertErrors): removed
5135 * BufferView.[Ch] (showErrorList): added
5136 * buffer.C (runChkTeX):
5137 * converter.C (scanLog): call showErrorList instead of inserterrors
5139 2003-05-13 André Pönitz <poenitz@gmx.net>
5141 * BufferView_pimpl.C:
5143 * bufferview_func.C:
5150 * tabular_funcs.h: tostr() from its own header
5152 * ParagraphParameters.C:
5157 * text3.C: STRCONV()
5159 2003-05-12 André Pönitz <poenitz@gmx.net>
5162 * BufferView_pimpl.C:
5166 * ParagraphParameters.C:
5170 * bufferview_funcs.C:
5183 * paragraph_funcs.C:
5187 * text3.C: boost::format -> bformat all over the place
5190 2003-05-09 André Pönitz <poenitz@gmx.net>
5192 * LColor.[Ch]: Pimpl the #include <map> away
5194 2003-05-09 John Levon <levon@movementarian.org>
5196 * bufferlist.C: never remove emergency saves
5198 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * Makefile.am: better lib building
5202 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5206 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5207 (simpleTeXSpecialChars): adjust
5208 (simpleTeXSpecialChars): adjust
5209 * paragraph.C (simpleTeXOnePar): adjust
5210 * buffer.C (makeLaTeXFile): adjust
5212 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5214 * text2.C (changeDepth): parlist cleanup
5215 (getColumnNearX): ditto
5217 * rowpainter.C (getLabelFont): parlist cleanup
5219 * bufferlist.C (newFile): parlist cleanup
5221 * CutAndPaste.C (eraseSelection): parlist cleanup
5223 * BufferView_pimpl.C (trackChanges): parlist cleanup
5226 * BufferView.C (lockInset): parlist cleanup.
5227 (ChangeInsets): ditto
5229 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * CutAndPaste.h: Update file header.
5233 * CutAndPaste.C: Update file header.
5234 Store the parts cut out of the Document in a limited_stack.
5235 (copySelection): adjust
5236 (pasteSelection): new function, takes the index in the limited stack.
5237 (nrOfParagraphs): adjust
5238 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5239 simplify error inset insertion.
5240 (checkPastePossible): adjust
5242 2003-05-06 John Levon <levon@movementarian.org>
5244 * text2.C: don't cast wrap inset to float
5246 2003-05-05 André Pönitz <poenitz@gmx.net>
5249 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5251 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5252 few naked Paragraph *.
5254 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5256 * bufferparams.C: Output warning if a document with missing
5257 TeX document class is loaded
5258 * exporter.C: Disable TeX exports if the document class is missing
5261 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5262 isTeXClassAvailable()
5264 2003-05-03 John Levon <levon@movementarian.org>
5267 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5268 explicit cursor show/hide
5270 * BufferView_pimpl.h:
5271 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5272 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5274 * lyxfunc.C: hide cursor before dispatching.
5279 * text3.C: remove explicit cursor hides
5281 2003-05-02 André Pönitz <poenitz@gmx.net>
5283 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5286 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5289 * text2.C: tiny whitespace
5291 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * undo_funcs.C: almost only ws changes.
5295 * ParagraphList.C (splice): just return if pl is empty.
5297 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * ParagraphList.C (splice): new function.
5301 * CutAndPaste.C (pasteSelection): use it
5303 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * CutAndPaste.C (pasteSelection): remove the last next and
5306 previous from this file.
5308 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * CutAndPaste.C (pasteSelection): more clean up, user proper
5311 ParagraphList functions for pasteing.
5313 * ParagraphList.C (insert): new function, three arg insert
5315 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * ParagraphList.C (insert): new function, three arg insert
5319 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5322 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5326 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5328 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5330 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5332 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5333 (copySelection): clean up a bit.
5334 (pasteSelection): use make_pair
5336 * ParagraphList.C (ParagraphList): implement copy constructor
5337 (operator=): implement, base on copy constructor.
5340 * paragraph.C (erase): return a bool
5342 * paragraph_pimpl.C (erasePos): remove function, move contents...
5343 (erase): ... here. Return a bool.
5344 (erase): call erase instead of erasePos.
5346 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5348 * ParagraphList.h: define PitPosPair
5349 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5350 ParagraphList, fix a bug on pasting multiple pars
5351 * text2.C: change interface to C&P
5353 2003-04-30 André Pönitz <poenitz@gmx.net>
5355 * undo_func.C: revert part of yesterday's patch 2
5357 2003-04-30 John Levon <levon@movementarian.org>
5359 * LColor.C: s/tabular/table/
5361 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * text3.C (dispatch): do not convert iterator -> pointer
5364 * undo_funcs.C (setCursorParUndo): ditto
5365 * text_funcs.C (transposeChars): ditto
5367 * text2.C (setLayout): ws changes only
5369 * text.C (breakParagraph): do not convert iterator -> pointer
5371 (acceptChange): ditto
5372 (rejectChange): ditto
5377 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5380 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5382 * text3.C (gotoInset): YABG (yet another bad getChar)
5384 2003-04-29 André Pönitz <poenitz@gmx.net>
5386 * paragraph.h: make operator= private unimplemented as long as
5389 * ParagraphList.C: whitespace
5392 * paragraph_pimpl.[Ch]:
5393 * paragraph_funcs.C:
5395 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5398 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5400 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5402 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5403 * paragraph.[Ch] (erase):
5404 * paragraph_pimpl.[Ch] (erase): change return type and value
5405 * text2.C (cutSelection): some rework
5407 2003-04-28 John Levon <levon@movementarian.org>
5409 * bufferlist.C: changes for unsaved changes dialog
5411 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * bufferlist.C (newFile): set language (messages_) for new
5416 * buffer.C (readFile): ws changes only.
5418 2003-04-28 André Pönitz <poenitz@gmx.net>
5423 * BufferView_pimpl.C:
5424 * BufferView.C: getParFromID related ParagraphList::iterator changes
5426 2003-04-28 André Pönitz <poenitz@gmx.net>
5428 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5431 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * messages.C: remove one more localedir class variable.
5435 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * messages.C (getLocaleDir): singleton generation function
5439 (Messages): add a default constructor.
5441 * main.C (main): do not setup localedir here, do not call
5444 * gettext.C (_): use it.
5445 (gettext_init): delete funciton
5447 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * gettext.C (getLyXMessages): new singleton generating function.
5451 * buffer.C (updateDocLang): adjust
5453 * Makefile.am (messages.o): add target
5454 (main.o): remove target
5456 2003-04-27 John Levon <levon@movementarian.org>
5461 * lyxvc.C: specify cancel button in Alert::prompt
5463 2003-04-26 John Levon <levon@movementarian.org>
5468 * LyXAction.C: add LFUN_INSET_SETTINGS
5470 * lyxfunc.C: don't enable tabular-feature when there's
5471 just any locking inset
5473 2003-04-26 John Levon <levon@movementarian.org>
5475 * bufferlist.C: re-add Cancel to buffer close question
5477 * lyxfunc.C: fix import UI a bit
5479 2003-04-25 John Levon <levon@movementarian.org>
5481 * gettext.C: remove the broken asserts for now
5483 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * messages.C: make case where setlocale cannot comply work better.
5487 * buffer.C (updateDocLang): new function
5488 (changeLanguage): use it
5491 * text2.C (setCounter): use B_ a bit.
5493 * lyxlayout.C (Read): be sure to trim the label strings.
5495 * messages.C (Messages): fix typo in comment
5497 * buffer.C (readFile): set message_ after file is loaded.
5498 (makeDocBookFile): remove double return
5499 (changeLanguage): reset message_ upon language change.
5500 (B_): new func, use this to get translated buffer strings.
5502 * main.C: add myself and Jean Marc as authors.
5504 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * messages.[hC]: pimplify Messages, and three different pimpls to be
5507 used in different circumstances.
5509 * gettext.[Ch]: change for use with new message code.
5511 2003-04-24 André Pönitz <poenitz@gmx.net>
5513 * factory.C: support for eqref
5515 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * messages.[Ch]: add missing char
5519 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5521 * messages.[Ch]: New files
5523 2003-04-18 John Levon <levon@movementarian.org>
5527 * BufferView_pimpl.C:
5531 * text2.C: remove layout-copy/paste (bug 778)
5533 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5535 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5537 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5539 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5540 if they succeed. Act accordingly.
5542 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * text2.C (setCharFont): adjust
5545 (setCounter): adjust
5546 (insertStringAsLines): adjust
5548 * text.C (leftMargin): adjust
5549 (setHeightOfRow): adjust
5551 * rowpainter.C (paintFirst): adjust
5554 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5556 (isFirstInSequence): ditto
5557 (getEndLabel): ditto
5560 * paragraph.C (getParLanguage): comment out some hard stuff.
5562 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5564 (simpleDocBookOnePar): ditto
5565 (makeDocBookFile): use ParagraphList::iterator
5567 * CutAndPaste.C (pasteSelection): adjust
5569 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5571 * text2.C (getFont): adjust
5572 (getLayoutFont): adjust
5573 (getLabelFont): adjust
5575 * paragraph_funcs.C (TeXOnePar): adjust
5577 * buffer.C (simpleLinuxDocOnePar): adjust
5578 (simpleDocBookOnePar): adjust
5580 * CutAndPaste.C (pasteSelection): adjust
5582 * BufferView.C (getEncoding): adjust
5584 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5586 2003-04-16 John Levon <levon@movementarian.org>
5588 * lyxfind.C: use parlist stuff for search/changes
5590 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5594 * text2.C (deleteEmptyParagraphMechanism): adjust
5596 * text2.[Ch] (ownerParagraph): delete func (both of them
5598 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * ParagraphList.C: prepare for NO_NEXT
5606 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * text2.C (getFont): adjust
5609 (getLayoutFont): adjust
5610 (getLabelFont): adjust
5612 * paragraph.C (getFont): adjust
5613 (getLabelFont): adjust
5614 (getLayoutFont): adjust
5616 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5618 2003-04-15 John Levon <levon@movementarian.org>
5622 * lyx_main.C: handle Include in .ui files
5624 2003-04-15 John Levon <levon@movementarian.org>
5626 * MenuBackend.C: make the doc files length shorter
5629 * ToolbarBackend.C: handle toolbar placement flags,
5632 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5637 * paragraph_funcs.C (TeXOnePar): adjust
5639 * paragraph.C (getLabelFont): add outerfont arg, adjust
5640 (getLayoutFont): ditto
5641 (simpleTeXOnePar): adjust
5643 * paragraph_pimpl.C (realizeFont): delete func
5645 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5647 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5648 row argument, constify cur argument.
5650 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * text2.C (getFont): adjust
5653 (getLayoutFont): adjust
5654 (getLabelFont): adjust
5656 * paragraph_funcs.C (TeXOnePar): adjust
5657 (outerFont): new func...
5658 (realizeFont): ...moved out from here, changed this to facilitate
5661 * paragraph.C (getFont): take outerfont as arg, adjust
5662 (simpleTeXOnePar): add outerfont arg, adjust
5664 * buffer.C (simpleLinuxDocOnePar): adjust
5665 (simpleDocBookOnePar): adjust
5667 * CutAndPaste.C (pasteSelection): adjust
5669 * BufferView.C (getEncoding): adjust
5671 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * text2.C (setCharFont): adjust
5674 (setCounter): adjust
5676 * text.C (leftMargin): adjust
5677 (setHeightOfRow): adjust
5679 * rowpainter.C (paintFirst): adjust
5682 * paragraph_pimpl.C (realizeFont): adjust
5684 * paragraph.C (isFirstInSequence): move from here...
5685 * paragraph_funcs.C (isFirstInSequence): ...to here
5687 * paragraph.C (outerHook): move from here...
5688 * paragraph_funcs.C (outerHook): ...to here
5690 * paragraph.C (depthHook): move from here...
5691 * paragraph_funcs.C (depthHook): ...to here
5693 * paragraph.C (getEndLabel): move from here...
5694 * paragraph_funcs.C (getEndLabel): ...to here
5696 * text2.C (realizeFont): move from here...
5697 * paragraph_funcs.C (realizeFont): ...to here
5699 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5703 2003-04-14 Angus Leeming <leeming@lyx.org>
5705 * LColor.[Ch]: scrap LColor mathcursor.
5707 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5709 * lyxlex.[Ch] (text): delete function
5710 * trans.C (Load): adjust
5711 * paragraph_funcs.C (readParToken): adjust
5713 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5716 vector<char> instead of a char[].
5718 * lyxlex_pimpl.C (getString): adjust
5720 (lex): use getString
5724 * lyxlex.C (text): use pimpl_->getString()
5728 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5731 (makeFontEntriesLayoutSpecific): temp var for par.size()
5732 (setLayout): temp var for ownerParagraphs().end()
5733 (fullRebreak): temp var for rows().end()
5734 (selectionAsString): temp var for boost::next(startpit), realize
5735 that the while really is a regular for loop.
5736 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5737 setCursor in one place.
5738 (setParagraph): temp vr for ownerParagraphs().end()
5739 (updateCounters): make the while loop a for loop
5740 (cutSelection): temp var for ownerParagraphs().end()
5741 (updateInset): make the do {} while() a regular for loop
5742 (getCursorX): use temp vars
5743 (setCurrentFont): use temp vars
5744 (getColumnNearX): use temp vars
5746 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * text.C (transformChar): use temp var for getChar
5749 (computeBidiTables): use temp var for row->par()
5750 (fill): move temp vars for row->par() and pit->layout() earlier in
5752 (labelFill): use temp var for row->par()
5753 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5754 asc and desc, realize that pit never changes and that firstpit is
5755 just a duplicate and not needed. Exchange rit->par() with pit in a
5757 (breakAgain): use a temp var for boost::next(rit)
5758 (breakAgainOneRow): ditto
5759 (breakParagraph): use a temp var for rows().begin()
5760 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5761 (cursorRightOneWord): use temp var for cursor.par() and
5762 cursor.pos(), remove usage of tmpcursor.
5763 (cursorLeftOneWord): use temp var for cursor.par() and
5764 cursor.pos() only set cur at end of function.
5766 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * text.C, text2.C: exchange all usage of Paragraph::next with
5769 boost::next(ParagraphList::iterator)
5771 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5773 * text2.C (cursorTop): simplify implementation
5774 (cursorBottom): ditto
5775 (setParagraph): use ParagraphList::iterator
5776 (setCurrentFont): adjust
5777 (getColumnNearX): adjust
5778 (cursorRight): adjust
5779 (cursorLeft): remove usage of Paragraph::previous
5780 (cursorUpParagraph): ditto
5781 (deleteEmptyParagraphMechanism): slight cleanup
5783 * text.C (isBoundary): take a Paragraph const & instead of a
5785 (addressBreakPoint): ditto
5786 (leftMargin): remove usage of Paragraph::previous.
5787 (setHeightOfRow): ditto
5788 (cursorLeftOneWord): ditto
5789 (selectNextWordToSpellcheck): ditto
5792 (breakParagraph): remove one usage of Paragraph::next
5793 (redoParagraph): ditto
5794 (acceptChange): ditto
5795 (insertChar): adjust
5796 (rowBreakPoint): adjust
5798 * bufferview_funcs.C (toggleAndShow): adjust
5800 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5802 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5803 methods to access it.
5805 * text.C: Added updateRowPositions to compute all row positions.
5806 Make top_y and getRowNearY() to use the cached y position
5808 2003-04-11 John Levon <levon@movementarian.org>
5810 * text.C (rowBreakPoint): reintroduce the labelEnd
5811 checks, code copied from the row fill stuff. Deep voodoo.
5813 * text.C (fill): add a comment and debugging for the
5816 2003-04-11 John Levon <levon@movementarian.org>
5818 * text.C: make sure fullrow insets get wrapped to the next line,
5819 even when they're in a manual label
5821 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5823 * text2.C (insertParagraph): make it take ParagraphList::iterator
5825 (setLayout): make it return ParagraphList::iterator
5826 (redoParagraphs): ditto
5828 (checkParagraph): ditto
5830 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5832 * text2.C: adjust several funcs.
5833 (realizeFont): take a ParagraphList::iterator as arg.
5834 (getLayoutFont): ditto
5835 (getLabelFont): ditto
5836 (setCharFont): ditto
5838 * text.C: adjust several funcs.
5840 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5842 * text.C (selectNextWordToSpellcheck): don't accidentally
5845 2003-04-10 John Levon <levon@movementarian.org>
5847 * ToolbarBackend.C (getIcon): special handling for
5850 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5852 * text2.C (cursorRight): a getChar assert fixed
5854 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * text2.C (getFont): change to take a ParagraphList::iterator
5857 instead of Paragraph*
5858 Adjust several functions.
5860 * text.C (transformChar): change to take a ParagraphList::iterator
5861 instead of Paragraph*
5862 (singleWidth): ditto
5863 Adjust several functions.
5865 * rowpainter.C: adjust several functions
5866 * rowpainter.h:store a ParagraphList::iterator and not a
5870 2003-04-09 John Levon <levon@movementarian.org>
5875 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5876 and the "help" bits as well
5878 2003-04-09 John Levon <levon@movementarian.org>
5881 * ToolbarBackend.C: allow multiple toolbars
5883 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5885 * undo_funcs.C (setCursorParUndo): adjust
5887 * text_funcs.C (transposeChars): adjust
5889 * text3.C (gotoNextInset): adjust
5892 * text2.C (setLayout): adjust
5893 (changeDepth): adjust
5895 (redoParagraphs): adjust
5896 (selectionAsString): adjust
5897 (setParagraph): adjust
5898 (insertInset): adjust
5899 (cutSelection): adjust
5900 (copySelection): adjust
5901 (pasteSelection): adjust
5902 (insertStringAsLines): adjust
5903 (updateInset): adjust
5904 (setCursor): change to take a ParagraphList::iterator parameter
5905 (setCursorIntern): change to take a ParagraphList::iterator parameter
5906 (setCurrentFont): adjust
5907 (cursorLeft): adjust
5908 (cursorRight): adjust
5909 (deleteEmptyParagraphMechanism): adjust
5911 * text.C (breakParagraph): adjust
5912 (insertChar): adjust
5913 (acceptChange): adjust
5914 (rejectChange): adjust
5915 (selectNextWordToSpellcheck): adjust
5916 (changeCase): adjust
5920 * lyxfind.C (SearchForward): adjust
5921 (SearchBackward): adjust
5922 (nextChange): adjust
5924 * lyxcursor.C (par): adjust
5926 * lyxcursor.h: store a ParagraphList::iterator instead of a
5929 * lyx_cb.C (getPossibleLabel): adjust
5931 * bufferview_funcs.C (toggleAndShow): adjust
5933 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5936 * BufferView.C (removeAutoInsets): adjust
5937 (lockedInsetStoreUndo): adjust
5939 2003-04-09 John Levon <levon@movementarian.org>
5941 * ToolbarBackend.C: try icon without argument
5942 if with argument fails
5944 2003-04-08 John Levon <levon@movementarian.org>
5947 * ToolbarBackend.C: add getIcon(), handle tooltip,
5948 and change from "Icon" to "Item".
5950 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5952 * BufferView.C (lockInset): another bad getchar crunched
5954 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5956 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5959 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5961 * lyxfind.C (searchForward, searchBackwards): bug 782
5963 2003-04-07 John Levon <levon@movementarian.org>
5965 * paragraph.C: remove dead comment
5967 * text.C: remove troublesome depth-fiddling code
5968 in leftMargin() and rightMargin() (bug 1017)
5970 * text.C: fix breaking of rows in nested lists
5973 * text2.C (updateCounters): fix up depth values
5976 2003-04-07 John Levon <levon@movementarian.org>
5978 * BufferView_pimpl.C: clear message when doc finishes resizing,
5979 and after a mouse event
5981 * lyxfunc.C: clear message after exiting inset
5983 2003-04-07 John Levon <levon@movementarian.org>
5985 * bufferview_funcs.C: show math status not outside
5986 status in the statusbar
5988 2003-04-07 John Levon <levon@movementarian.org>
5990 * lyxfunc.C: note status changed after a depth change
5992 2003-04-04 Angus Leeming <leeming@lyx.org>
5994 * LaTeX.h: move AuxInfo operator==, != out of line.
5995 Remove LaTeX virtual destructor; nothing derives from it.
5996 Move operator()() out of public area and rename it startscript().
5997 Change protected for private.
5999 2003-04-04 Angus Leeming <leeming@lyx.org>
6002 * text2.C: remove unneeded #includes.
6004 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6006 * text2.C (dEPM): fix the heigth of the next row
6008 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6010 * text.C: squashed an invalid getChar requester + some ws changes
6012 2003-04-03 John Levon <levon@movementarian.org>
6014 * bufferview_funcs.h:
6015 * bufferview_funcs.C:
6018 * text2.C: make getStatus work for the env depth lfuns
6020 2003-04-03 John Levon <levon@movementarian.org>
6022 * bufferview_funcs.h:
6023 * bufferview_funcs.C:
6026 * text2.C: parlistize decDepth(), by merging it with incDepth()
6028 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * lyxrow.h: store a ParagraphList::iterator instead of a
6031 Paragraph* and adjust other class functions to suit.
6033 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6036 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6038 * text2.C (setCursor): do not anchor to cursor row for the time being
6040 2003-04-02 John Levon <levon@movementarian.org>
6047 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6049 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6051 * paragraph.h: make ParagraphList and ParagraphList::iterator
6052 friends of Paragraph.
6054 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6056 * ParagraphList.C: Use the private next_ and previous_ from
6059 2003-04-01 John Levon <levon@movementarian.org>
6063 * Makefile.am: rename, remove defaults gunk
6066 * MenuBackend.C: remove defaults gunk
6069 * Languages.C: remove defaults gunk
6072 * lyx_main.C: error out if files couldn't be found.
6074 2003-04-02 John Levon <levon@movementarian.org>
6076 * text2.C: make incDepth() use parlist
6078 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6080 * undo_funcs.C (firstUndoParagraph): adjust
6082 * text3.C (gotoInset): adjust
6083 (dispatch): adjust, and rewrite loop.
6085 * text2.C (init): adjust, and rewrite loop.
6086 (redoParagraphs): adjust
6087 (updateInset): adjust, and rewrite loop.
6088 (deleteEmptyParagraphMechanism): adjust
6090 * tabular.C (LyXTabular): adjust
6091 (SetMultiColumn): adjust
6094 * lyxtext.[Ch] (ownerParagraph): delete function
6095 (ownerParagraphs): new function returns a ParagraphList.
6097 * BufferView.C (removeAutoInsets): adjust
6098 (insertErrors): adjust
6099 (setCursorFromRow): adjust
6101 2003-04-01 Angus Leeming <leeming@lyx.org>
6103 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6106 2003-04-02 John Levon <levon@movementarian.org>
6112 * text_funcs.C: make transposeChars a free function
6114 * lyxrow_funcs.C: remove wrong comment
6116 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * rowpainter.C: adjust
6124 * lyxrow_funcs. [Ch]: new files
6126 * lyxrow.[Ch]: remove next and previous pointers
6127 (next,previous): remove accessor functions
6128 (isParEnd): move to lyxrow_funcs
6129 (lastPos): move to lyxrow_funcs
6130 (nextRowIsAllInset): move to lyxrow_funcs
6131 (lastPrintablePos): move to lyxrow_funcs
6132 (numberOfSeparators): move to lyxrow_funcs
6133 (numberOfHfills): move to lyxrow_funcs
6134 (numberOfLabelHfills): move to lyxrow_funcs
6135 (hfillExpansion): move to lyxrow_funcs
6139 * bufferview_funcs.C (toggleAndShow): adjust
6141 * RowList.h: Remove class RowList from file leave just a
6144 * RowList.C: delete file
6146 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6149 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * text3.C (cursorPrevious): adjust
6152 (cursorNext): adjust
6155 * text2.C (redoHeightOfParagraph): adjust
6156 (redoDrawingOfParagraph): adjust
6159 * text.C (breakParagraph): adjust
6160 (insertChar): adjust
6163 * rowpainter.C (RowPainter): adjust
6164 (leftMargin): simplify and adjust
6165 (most rowpainter functions): adjust.
6167 * rowpainter.h: store the row as RowList::iterator not as Row*
6169 * lyxcursor.C (row): taka RowList::iterator as arg
6172 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6175 2003-04-01 Angus Leeming <leeming@lyx.org>
6177 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6178 stuff like bool Bool.
6180 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6182 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6185 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6190 * lyxtext.h (rows): drop one version and leve a const variant that
6191 returns a RowList::iterator.
6193 2003-03-31 Angus Leeming <leeming@lyx.org>
6195 * text.C (fill): ensure that the signature is the same as that in the
6198 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * text2.C (redoParagraphs): adjust
6201 (updateCounters): adjust
6202 (checkParagraph): adjust
6203 (getColumnNearX): adjust and reformat a bit.
6205 * text.C (top_y): adjust
6207 (leftMargin): adjust
6208 (prepareToPrint): adjust
6210 (getRowNearY): adjust
6212 * lyxtext.h: make rowlist_ mutable.
6214 * RowList.h: add const_iterator
6215 * RowList.C: adjust for RowList::const_iterator.
6217 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6220 2003-03-31 John Levon <levon@movementarian.org>
6223 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6225 * lyx_main.C: set default fonts from using lyx_gui funcs
6227 * exporter.C: pdf_mode moved from lyxrc
6230 * lyxfunc.C: changes from above
6232 2003-03-31 John Levon <levon@movementarian.org>
6234 * lyx_main.C: fix to the last fix
6236 2003-03-31 John Levon <levon@movementarian.org>
6238 * bufferlist.C: "Load original" -> "Load Original"
6244 * format.C: more Alert cleanups
6246 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * text2.C (removeParagraph): make it take a RowList::iterator as
6250 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6251 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6253 * text.C (anchor_row): make it take a RowList::iterator as arg,
6255 (computeBidiTables): make it take a const reference to Row instead
6256 of Row pointer, adjust.
6257 (leftMargin): make it take a RowList::iterator as arg, adjust.
6258 (rowBreakPoint): adjust
6259 (breakAgainOneRow): make it take a RowList::iterator as arg,
6261 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6263 * bufferview_funcs.C (toggleAndShow): adjust
6265 2003-03-30 John Levon <levon@movementarian.org>
6269 * boost-inst.C: moved to support
6271 * several files: changes as a result
6273 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * text2.C (LyXText): adjust.
6277 (removeRow): make it take a RowList::iterator as arg, adjust.
6278 (fullRebreak): adjust
6279 (deleteEmptyParagraphMechanism): adjust
6280 (clearPaint): adjust
6283 * text.C (top_y): adjust
6284 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6285 (breakAgain): make it take a RowList::iterator as arg, adjust.
6286 (breakParagraph): adjust
6287 (insertChar): adjust
6290 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6291 need_break_row, and refresh_row.
6293 * text3.C (dispatch): adjust
6295 * text2.C (checkParagraph): adjust
6297 (setCursorFromCoordinates): adjust
6299 * text.C (top_y): adjust
6301 (getRow): make it return a RowList::iterator, adjust
6302 (getRowNearY): make it return a RowList::iterator, adjust
6304 * text2.C (init): adjust
6305 (insertRow): remove function
6306 (insertParagraph): adjust
6307 (redoParagraphs): adjust
6308 (fullRebreak): adjust
6309 (updateCounters): adjust
6311 * text.C (top_y): rewrite to use RowList iterators.
6313 (setHeightOfRow): rewrite to sue RowList iterators.
6314 (appendParagraph): adjust
6315 (breakAgain): adjust
6316 (breakAgainOneRow): adjust
6317 (breakParagraph): adjust
6319 (getRowNearY): adjust, and remove commented code.
6321 * lyxtext.h (firstRow): delete function
6322 (lastRow): delete function
6323 (rows): new function (const and non-const versions.)
6324 (insertRow): delete function
6326 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6328 2003-03-29 John Levon <levon@movementarian.org>
6330 * BufferView_pimpl.C: always update scrollbar top
6331 because pasting text when we're anchored could mean we
6332 miss an update altogether
6334 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6336 * text2.C (init): use rowlist_.end() and not 0.
6337 (insertRow): change to take a RowList::iterator as arg, adjust
6339 (insertParagraph): change to take a RowList::iterator as arg,
6341 (redoParagraphs): remove some debug msgs.
6343 * text.C (appendParagraph): change to take a RowList::iterator
6344 arg, adjust for this.
6345 (breakAgain): add an assert
6346 (breakAgainOneRow): ditto
6348 2003-03-29 John Levon <levon@movementarian.org>
6350 * text2.C: do not clear selection after inc/decDepth
6353 2003-03-29 John Levon <levon@movementarian.org>
6356 * buffer.C: fix broken strerrors according to Lars
6358 2003-03-29 John Levon <levon@movementarian.org>
6360 * converters.C: more Alert cleanups
6362 2003-03-29 John Levon <levon@movementarian.org>
6364 * bufferview_funcs.C: remove pointless Alert
6366 * buffer.C: fix confusing error message when
6367 a template is chmoded 000
6369 2003-03-29 John Levon <levon@movementarian.org>
6373 * BufferView_pimpl.C: Alert fixes
6377 * tabular-old.C: remove unused table compat reading
6379 2003-03-29 John Levon <levon@movementarian.org>
6384 * lyx_cb.C: more Alert cleanups
6386 * lyxfunc.C: don't allow chktex if not latex document
6388 2003-03-29 John Levon <levon@movementarian.org>
6392 * buffer.C: warnings pushed down from support/,
6395 2003-03-29 John Levon <levon@movementarian.org>
6397 * lyxfunc.C: safety check for C-r (revert)
6399 2003-03-29 John Levon <levon@movementarian.org>
6402 * bufferlist.C: several UI fixes using Alert::prompt.
6403 Fix the pointless looping quit code. Fix stupid revert
6408 * lyx_cb.C: use Alert::prompt
6410 * lyx_main.C: remove a silly question
6412 * lyxfunc.C: remove a couple of silly questions,
6415 2003-03-28 John Levon <levon@movementarian.org>
6417 * text2.C: fix bug 974 (End on empty par)
6419 2003-03-28 John Levon <levon@movementarian.org>
6421 * BufferView_pimpl.C:
6423 * lfuns.h: remove do-nothing math greek lfuns
6425 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * lyxgluelength.h (isValidGlueLength): add default arg on
6428 parameter 2. Remove default arg from friend in class.
6430 * lyxlength.h (isValidLength): add default arg on parameter 2.
6431 Remove default arg from friend in class.
6433 * text2.C (LyXText): adjust, initialize refresh_row.
6437 (insertParagraph): adjst
6438 (redoParagraphs): adjust
6439 (fullRebreak): adjust
6440 (updateCounters): adjust
6441 (deleteEmptyParagraphMechanism): first attempt at fixing a
6444 * text.C (top_y): adjust
6445 (setHeightOfRow): adjust
6447 (getRowNearY): adjust
6449 * lyxtext.h: include RowList.h
6450 (~LyXText): not needed anymore, deleted.
6451 (firstRow): modify for RowList
6452 (lastRow): new function
6453 Delete firstrow and lastrow class variables, add a Rowlist
6454 rowlist_ class variable.
6456 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6459 * RowList.C (insert): fix case where it == begin().
6461 2003-03-26 Angus Leeming <leeming@lyx.org>
6463 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6464 the thesaurus dialog.
6466 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6470 * RowList.[Ch]: new files
6472 * ParagraphList.C (erase): handle the case where it == begin
6475 2003-03-25 John Levon <levon@movementarian.org>
6479 * aspell.C: add new aspell support
6482 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6485 2003-03-25 Angus Leeming <leeming@lyx.org>
6488 * LyXAction.C (init): new LFUN_INSET_INSERT.
6490 * BufferView_pimpl.C (dispatch): split out part of the
6491 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6493 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6496 2003-03-25 Angus Leeming <leeming@lyx.org>
6498 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6500 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6503 * text3.C: remove useless row->height(0)
6505 2003-03-25 John Levon <levon@movementarian.org>
6509 * text3.C: rename the refreshing stuff to better names
6511 2003-03-24 John Levon <levon@movementarian.org>
6513 * BufferView_pimpl.h:
6514 * BufferView_pimpl.C: update layout choice on a mouse
6517 2003-03-23 John Levon <levon@movementarian.org>
6519 * Makefile.am: fix commandtags.h reference
6521 2003-03-22 John Levon <levon@movementarian.org>
6523 * BufferView_pimpl.C:
6528 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6530 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6533 * text.C: take the rtl methods out of line
6535 2003-03-21 André Pönitz <poenitz@gmx.net>
6537 * metricsinfo.[Ch]: new files containing structures to be passed around
6538 during the two-phase-drawing...
6540 2003-03-21 André Pönitz <poenitz@gmx.net>
6542 * lyxtextclass.C: read 'environment' tag.
6544 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6546 * text2.C (removeRow): fix bug 964
6548 2003-03-20 John Levon <levon@movementarian.org>
6552 * text2.C: paint cleanups. Inset::update() dropped font
6555 2003-03-19 John Levon <levon@movementarian.org>
6557 * lyxfunc.C: only fitcursor/markDirty if available()
6559 2003-03-19 John Levon <levon@movementarian.org>
6561 * commandtags.h: rename to ...
6563 * lfuns.h: ... this, and renumber / cleanup
6565 2003-03-19 John Levon <levon@movementarian.org>
6567 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6568 fit the cursor after an lfun
6572 * BufferView_pimpl.h:
6573 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6575 * LyXAction.C: layout-character should have ReadOnly
6577 * ParagraphParameters.C:
6579 * bufferview_funcs.C:
6586 * undo_funcs.C: changes from above
6588 2003-03-18 John Levon <levon@movementarian.org>
6590 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6591 remove it from update()
6593 * lyxfunc.C: update layout choice after an lfun
6595 * text3.C: remove extra updateLayoutChoice()s
6597 2003-03-18 John Levon <levon@movementarian.org>
6599 * text.C: top_y change means full repaint, fix
6600 a drawing bug with cursor movement
6602 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6606 * text2.C: anchor row on setCursor
6608 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6610 * lyxtext.h: remove almost all mutable keywords
6613 * text3.C: remove const keywords accordingly
6615 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6619 (TeXEnvironment): ditto
6622 2003-03-17 John Levon <levon@movementarian.org>
6624 * text.C (rowBreakPoint): remove attempt to fix displayed
6625 math insets inside a manual label
6627 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * lyxtext.h: remove BufferView* as first arg from almost all class
6631 * other files: adjust.
6633 2003-03-17 John Levon <levon@movementarian.org>
6637 * text2.C: more paint cleanups
6639 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6642 * rowpainter.C: remove "smart" background painting code
6644 2003-03-16 John Levon <levon@movementarian.org>
6649 * text3.C: add helper functions for setting refresh_row/y
6651 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6653 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6654 newline inset which *can* get inserted in the pass_thru layouts.
6655 This is primarily for literate documents.
6657 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6659 * buffer.C: increment LYX_FORMAT to 223
6661 2003-03-14 André Pönitz <poenitz@gmx.net>
6663 * textclass.h: prepare for environment handling, ws changes
6664 * lyxlayout.C: read latexheader and latexfooter tags
6666 2003-03-14 John Levon <levon@movementarian.org>
6668 * text2.C: rewrite ::status() a bit
6670 2003-03-13 John Levon <levon@movementarian.org>
6672 * lyxtext.h: add some docs
6674 2003-03-13 John Levon <levon@movementarian.org>
6679 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6681 2003-03-13 John Levon <levon@movementarian.org>
6683 * text3.C: fix appendix redrawing
6685 2003-03-13 John Levon <levon@movementarian.org>
6687 * text.C (setHeightOfRow):
6689 * rowpainter.C: make appendix mark have the text
6690 "Appendix" so the user knows what it is
6693 * LColor.C: s/appendixline/appendix/ from above
6695 2003-03-13 John Levon <levon@movementarian.org>
6697 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6699 * text.C: fix a getChar(pos) bug properly
6701 2003-03-13 Angus Leeming <leeming@lyx.org>
6704 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6705 Probably only temporary. Let's see how things pan out.
6707 * BufferView.C (unlockInset):
6708 * BufferView_pimpl.C (fitCursor):
6709 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6711 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6712 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6714 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6715 new functions that convert ParagraphParameters to and from a string.
6717 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6718 BufferView::Pimpl's dispatch.
6719 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6721 2003-03-13 André Pönitz <poenitz@gmx.net>
6725 * factory.C: make it aware of InsetEnv
6727 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * text2.C (setCursor): never ask for one past last
6730 (setCursor): add some debugging messages.
6732 * text.C (singleWidth): never ask for one past last
6733 (singleWidth): ditto
6735 (rightMargin): ditto
6736 (rowBreakPoint): ditto
6737 (setHeightOfRow): ditto
6738 (prepareToPrint): ditto
6740 * rowpainter.C (paintBackground): never ask for one past last
6741 (paintText): never ask for one past last
6743 * paragraph_pimpl.C (getChar): make the assert stricter, never
6744 allow the one past last pos to be taken
6746 * paragraph.C (getChar): ws changes only
6748 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6749 (numberOfSeparators): ditto
6750 (numberOfHfills): ditto
6752 2003-03-12 John Levon <levon@movementarian.org>
6758 * paragraph_funcs.C: fix per-buffer authorlists
6760 2003-03-12 John Levon <levon@movementarian.org>
6762 * text.C: fix newline in right address
6764 2003-03-12 Angus Leeming <leeming@lyx.org>
6766 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6767 duplicate those in LyXFunc::dispatch.
6771 * ToolbarDefaults.C:
6772 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6773 Add LFUN_FONTFREE_UPDATE.
6775 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6776 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6778 * bufferview_func.[Ch]: several new functions to facilliate
6779 transfer of data to and from the character dialog.
6781 2003-03-12 John Levon <levon@movementarian.org>
6786 * paragraph_funcs.C:
6787 * paragraph_pimpl.C:
6791 * text3.C: remove META_NEWLINE in favour of an inset
6794 * rowpainter.C: remove paintNewline (done by inset)
6796 2003-03-12 John Levon <levon@movementarian.org>
6798 * paragraph_pimpl.C: complain about bad getChar()s
6799 for a while at least
6801 2003-03-12 John Levon <levon@movementarian.org>
6804 * buffer.C: move paragraph read into a separate function,
6805 a little renaming to reflect that.
6808 * bufferparams.C: remove the author_ids map, not necessary now
6811 * factory.C: moved Buffer::readInset to here
6813 * paragraph_funcs.h:
6814 * paragraph_funcs.C: readParagraph free function moved from
6817 * tabular.C: name change
6819 2003-03-12 John Levon <levon@movementarian.org>
6822 * ParagraphParameters.C: move par params input to
6825 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6826 behave like a normal read from the stream wrt reading
6827 a line vs. a \\token
6829 2003-03-12 John Levon <levon@movementarian.org>
6832 * ParagraphParameters.h:
6833 * ParagraphParameters.C: move output code to a
6836 2003-03-12 John Levon <levon@movementarian.org>
6838 * BufferView.C (insertLyXFile):
6841 * tabular.C: use a parlist iterator for creating the
6844 2003-03-12 John Levon <levon@movementarian.org>
6846 * buffer.C: make current_change static local not
6849 2003-03-12 John Levon <levon@movementarian.org>
6851 * buffer.C: fix insertStringAsLines for change tracking
6853 2003-03-12 John Levon <levon@movementarian.org>
6860 * bufferparams.C: move author list into params. Rename some
6861 functions. Move the header reading into a separate token
6862 loop. Move the header token reading into BufferParams.
6864 2003-03-12 John Levon <levon@movementarian.org>
6866 * changes.C: put debug inside lyxerr.debugging() checks
6868 2003-03-11 André Pönitz <poenitz@gmx.net>
6870 * factory.C: make it aware of InsetHFill
6872 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6874 * buffer.C (latexParagraphs): move function from here...
6875 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6878 2003-03-10 Angus Leeming <leeming@lyx.org>
6880 * LyXAction.C (init): fix bug in poplating array with multiple entries
6881 with the same LFUN (spotted by JMarc).
6883 2003-03-10 John Levon <levon@movementarian.org>
6886 * text2.C: move getColumnNearX() near its
6889 2003-03-10 John Levon <levon@movementarian.org>
6891 * text.C: fix break before a minipage
6893 2003-03-10 John Levon <levon@movementarian.org>
6895 * text.C: fix the last commit
6897 2003-03-09 John Levon <levon@movementarian.org>
6901 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6902 bug 365 (don't break before insets unless needed). Don't
6903 return a value > last under any circumstances.
6905 2003-03-09 Angus Leeming <leeming@lyx.org>
6907 * BufferView_pimpl.C (trackChanges, dispatch): call
6908 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6910 2003-03-09 Angus Leeming <leeming@lyx.org>
6912 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6913 than Dialogs::showAboutlyx().
6915 2003-03-09 Angus Leeming <leeming@lyx.org>
6917 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6918 than Dialogs::showTabularCreate().
6920 2003-03-09 John Levon <levon@movementarian.org>
6924 * text2.C: 3rd arg to nextBreakPoint was always the same.
6927 2003-03-08 John Levon <levon@movementarian.org>
6934 * text2.C: Remove the "main" bit from the "main body"
6937 2003-03-08 John Levon <levon@movementarian.org>
6939 * text.C (leftMargin): The left margin of an empty
6940 manual label paragraph should not include the label width
6943 * text.C (prepareToPrint): don't attempt to measure hfills
6944 for empty manual label paragraphs - the answer should be 0
6946 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6948 * CutAndPaste.C: remove commented code and reindent.
6950 2003-03-08 John Levon <levon@movementarian.org>
6953 * lyxfunc.C: move reloadBuffer()
6956 * BufferView.C: to here
6958 * lyxvc.C: add comment
6961 * vc-backend.C: call bv->reload() to avoid
6962 getStatus() check on MENURELOAD
6964 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6966 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6967 to an old format .dep file.
6969 2003-03-07 Angus Leeming <leeming@lyx.org>
6971 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6972 when the LFUN_MOUSE_RELEASE should have been handled by
6973 inset->localDispatch.
6975 2003-03-07 Angus Leeming <leeming@lyx.org>
6977 * BufferView_pimpl.C (dispatch):
6978 * LyXAction.C (init):
6979 * ToolbarDefaults.C (init):
6981 * lyxfunc.C (getStatus):
6982 remove LFUN_INSET_GRAPHICS.
6984 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6986 2003-03-07 Angus Leeming <leeming@lyx.org>
6989 * LyXAction.C (init):
6990 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6992 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6995 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6997 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6998 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7000 2003-03-07 Angus Leeming <leeming@lyx.org>
7002 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7005 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * ParagraphList.C (front): new function
7010 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7012 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7013 and top_row_offset_. removed var first_y.
7015 * text2.C (LyXText, removeRow):
7017 * BufferView_pimpl.C:
7018 use these methods instead of using first_y
7020 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * text2.C (pasteSelection): adjust for checkPastePossible
7024 * CutAndPaste.C: remove Paragraph * buf and replace with
7025 ParagraphList paragraphs.
7026 (DeleteBuffer): delete
7027 (cutSelection): change the tc type to textclass_type
7028 (copySelection): change the tc type to textclass_type
7029 (copySelection): adjust for ParagraphList
7030 (pasteSelection): change the tc type to textclass_type
7031 (pasteSelection): adjust for Paragraphlist
7032 (nrOfParagraphs): simplify for ParagraphList
7033 (checkPastePossible): simplify for ParagraphList
7034 (checkPastePossible): remove unused arg
7036 * ParagraphList.C (insert): handle the case where there are no
7039 * CutAndPaste.h: make CutAndPaste a namespace.
7041 * text3.C (dispatch): adjust
7043 * text.C (breakParagraph): add a ParagraphList as arg
7045 * paragraph_funcs.C (breakParagraph): change to take a
7046 BufferParams and a ParagraphList as args.
7047 (breakParagraphConservative): ditto
7048 (mergeParagraph): ditto
7049 (TeXDeeper): add a ParagraphList arg
7050 (TeXEnvironment): ditto
7053 * buffer.C (readLyXformat2): adjust
7054 (insertStringAsLines): adjust
7055 (latexParagraphs): adjust
7057 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7058 (cutSelection): adjust
7059 (pasteSelection): adjust
7061 * BufferView_pimpl.C (insertInset): adjust
7063 2003-03-05 Angus Leeming <leeming@lyx.org>
7066 * LyXAction.C (init):
7067 * BufferView_pimpl.C (dispatch):
7068 * lyxfunc.C (getStatus):
7069 remove LFUN_CHILD_INSERT.
7071 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7073 2003-03-05 Angus Leeming <leeming@lyx.org>
7076 * LyXAction.C (init):
7077 * src/factory.C (createInset):
7078 * lyxfunc.C (getStatus):
7079 * text3.C (dispatch):
7080 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7082 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7084 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * ParagraphList.C (insert): handle insert right before end()
7087 (erase): fix cases where it can be first or last paragraph.
7089 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7092 Paragraph::next and Paragraph::previous
7095 * text.C (breakParagraph): adjust
7097 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7098 BufferParams& as arg.
7099 (breakParagraph): use ParagraphList::insert
7100 (breakParagraphConservative): take a Buffer* instead of a
7101 BufferParams& as arg.
7102 (breakParagraphConservative): use ParagraphList::insert.
7104 * buffer.C (insertStringAsLines): un-const it
7105 (insertStringAsLines): adjust
7107 * ParagraphList.C (insert): new function
7109 * CutAndPaste.C (pasteSelection): adjust
7111 * text.C (backspace): adjust
7113 * tabular.C (SetMultiColumn): adjust
7115 * CutAndPaste.C (cutSelection): adjust
7116 (pasteSelection): adjust
7118 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7119 Buffer const * as arg
7121 * ParagraphList.C (erase): new function
7122 * paragraph_funcs.C (mergeParagraph): use it
7123 (mergeParagraph): make it take a Buffer* instead of a
7124 BufferParams* as arg
7126 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7128 (breakParagraphConservative): ditto
7130 * paragraph.h: remove the breakParagraph friend
7132 * paragraph.C (eraseIntern): new function
7133 (setChange): new function
7135 * paragraph_funcs.C (mergeParagraph): make it take a
7136 ParagraphList::iterator instead of a Paragraph *, adjust
7139 * paragraph.h: move an #endif so that the change tracking stuff
7140 also works in the NO_NEXT case.
7142 2003-03-04 Angus Leeming <leeming@lyx.org>
7145 * LyXAction.C: new LFUN_INSET_MODIFY.
7147 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7148 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7150 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7152 * several files: ws changes only
7154 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7155 (TeXEnvironment): ditto
7158 * buffer.C (makeLaTeXFile): adjust
7159 (latexParagraphs): make it take ParagraphList::iterator as args
7161 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * buffer.C (latexParagraphs): adjust
7165 * paragraph.C (TeXOnePar): move function...
7166 (optArgInset): move function...
7167 (TeXEnvironment): move function...
7168 * paragraph_pimpl.C (TeXDeeper): move function...
7169 * paragraph_funcs.C: ...here
7171 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7173 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7175 * buffer.C (readInset): remove compability code for old Figure and
7178 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * buffer.C: ws changes
7183 * BufferView_pimpl.C: ditto
7186 * bufferlist.h: ditto
7190 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7192 * converter.[Ch]: split into itself +
7195 * Makefile.am: += graph.[Ch] + format.[Ch]
7202 * lyxrc.C: added #include "format.h"
7204 2003-02-27 Angus Leeming <leeming@lyx.org>
7206 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7209 * factory.C (createInset): add "label" to the factory.
7211 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7212 string and do no more.
7214 2003-02-27 Angus Leeming <leeming@lyx.org>
7217 * LyXAction.C (init):
7218 * factory.C (createInset):
7219 * BufferView_pimpl.C (dispatch):
7220 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7222 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7224 * lyxfunc.C (dispatch):
7225 * text3.C (dispatch): pass name to params2string.
7227 2003-02-26 Angus Leeming <leeming@lyx.org>
7229 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7231 Rearrange the ~includes. Strip out the unnecessary ones.
7233 * factory.C (createInset): reformat.
7234 create new insets for the various LFUN_XYZ_APPLY lfuns.
7236 2003-02-26 John Levon <levon@movementarian.org>
7239 * lyxrow.C: add isParStart,isParEnd helpers
7241 * paragraph.h: make isInserted/DeletedText take refs
7243 * paragraph_funcs.h:
7244 * paragraph_funcs.C: remove #if 0'd code
7249 * text.C: use lyxrow helpers above.
7250 Move draw and paint routines to RowPainter.
7251 Make several methods use refs not pointers.
7252 Make backgroundColor() const.
7253 Add markChangeInDraw(), isInInset().
7254 Merge changeRegionCase into changeCase.
7255 Make workWidth() shouldn't-happen code into an Assert.
7258 * rowpainter.C: new class for painting a row.
7261 * vspace.C: make inPixels take a ref
7263 2003-02-26 Angus Leeming <leeming@lyx.org>
7265 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7268 2003-02-25 John Levon <levon@movementarian.org>
7270 * ispell.C: give the forked command a more accurate name
7272 2003-02-22 John Levon <levon@movementarian.org>
7275 * toc.C: make TocItem store an id not a Paragraph *
7278 2003-02-21 Angus Leeming <leeming@lyx.org>
7280 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7281 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7282 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7283 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7284 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7285 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7287 * BufferView_pimpl.C (dispatch):
7288 * LyXAction.C (init):
7289 * factory.C (createInset):
7290 * lyxfunc.C (getStatus, dispatch):
7291 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7293 2003-02-21 Angus Leeming <leeming@lyx.org>
7295 * BufferView_pimpl.C (MenuInsertLyXFile):
7296 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7297 * lyxfunc.C (menuNew, open, doImport):
7298 no longer pass a LyXView & to fileDlg.
7300 2003-02-21 Angus Leeming <leeming@lyx.org>
7302 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7303 * LyXAction.C: change, BIBKEY to BIBITEM.
7304 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7305 Change InsetBibKey to InsetBibitem.
7306 Change BIBKEY_CODE to BIBITEM_CODE.
7307 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7308 * factory.C: replace insetbib.h with insetbibitem.h.
7309 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7310 * paragraph.C: replace insetbib.h with insetbibitem.h.
7311 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7312 Change bibkey() to bibitem().
7313 * text.C: remove insetbib.h.
7314 * text2.C: replace insetbib.h with insetbibitem.h.
7315 change bibkey() to bibitem().
7316 * text3.C: remove insetbib.h.
7317 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7319 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7321 * lyxrc.C (output): enclose user email in quotes (in case there are
7324 2003-02-18 John Levon <levon@movementarian.org>
7326 * buffer.h: add std::
7328 2003-02-17 John Levon <levon@movementarian.org>
7334 * pspell.C: reworking. Especially in ispell, a large
7335 number of clean ups and bug fixes.
7337 * lyxfunc.C: fix revert to behave sensibly
7339 2003-02-17 André Pönitz <poenitz@gmx.net>
7342 * commandtags.h: new LFUN_INSERT_BIBKEY
7352 * paragraph_func.C: remove special bibkey handling
7354 2003-02-17 John Levon <levon@movementarian.org>
7356 * text.C (Delete): fix case where delete at the end of
7357 the very first paragraph would not merge the pars
7359 2003-02-17 John Levon <levon@movementarian.org>
7361 * lyxrow.C: fix lastPrintablePos()
7363 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * bufferparams.C (writeLaTeX): add a std:here
7367 * buffer.C: and remove a using directive there
7369 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * buffer.C (makeLaTeXFile): move the code that generates the
7374 * bufferparams.C (writeLaTeX): ... in this new method
7376 * LaTeXFeatures.C (getEncodingSet): make const
7377 (getLanguages): make const
7379 * MenuBackend.C (binding): returns the binding associated to this
7381 (add): sets the status of each item by calling getStatus. Adds
7383 (read): add support for OptSubMenu
7384 (expand): remove extra separator at the end of expanded menu
7386 2003-02-15 John Levon <levon@movementarian.org>
7389 * BufferView_pimpl.C:
7391 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7392 inset code that had no actual effect. Remove unneeded status
7395 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7397 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7400 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7402 * text.C (drawLengthMarker): also draw an arrow marker for
7403 symbolic lengths (medskip...)
7405 2003-02-14 John Levon <levon@movementarian.org>
7408 * tabular.C: better method names
7410 2003-02-14 John Levon <levon@movementarian.org>
7412 * BufferView_pimpl.C:
7417 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7418 it's a more accurate name. Remove some pointless uses.
7420 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7422 * text2.C (LyXText): change order of initilizers to shut off
7425 2003-02-14 John Levon <levon@movementarian.org>
7427 * buffer.C: use ParIterator for getParFromID()
7431 * paragraph_pimpl.h:
7432 * paragraph_pimpl.C: remove unused getParFromID()
7434 2003-02-14 John Levon <levon@movementarian.org>
7436 * buffer.C: remove some very old #if 0'd parse code
7438 2003-02-13 John Levon <levon@movementarian.org>
7442 * text2.C: move hfillExpansion(), numberOfSeparators(),
7443 rowLast(), rowLastPrintable(), numberofHfills(),
7444 numberOfLabelHfills() ...
7447 * lyxrow.C: ... to member functions here.
7452 * text.C: remove LyXText::beginningOfMainBody(), and call
7453 p->beginningOfMainBody() directly. Move the check for
7454 LABEL_MANUAL into the latter.
7461 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7467 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7468 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7470 2003-02-13 John Levon <levon@movementarian.org>
7472 * CutAndPaste.C: remove debug
7474 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7476 * paragraph.C (asString): remove two unused variables
7478 * lyxtextclass.C (readTitleType):
7480 (LyXTextClass): handle new members titletype_ and titlename_
7482 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7484 2003-02-09 John Levon <levon@movementarian.org>
7487 * buffer.C: replace hand-coded list with a map for the dep clean
7489 2003-02-08 John Levon <levon@movementarian.org>
7491 * LaTeX.C: consolidate code into showRunMessage() helper
7493 2003-02-08 John Levon <levon@movementarian.org>
7498 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7499 and pass the size in explicitly
7501 * BufferView_pimpl.h:
7502 * BufferView_pimpl.C:
7504 * BufferView.C: add getCurrentChange()
7506 * BufferView_pimpl.h:
7507 * BufferView_pimpl.C: handle change lfuns
7509 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7510 for changes. Mark pasted paragraphs as new.
7512 * support/lyxtime.h:
7513 * support/lyxtime.C:
7514 * DepTable.C: abstract time_t as lyx::time_type
7517 * LColor.C: add colours for new text, deleted text, changebars
7519 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7520 package use "usenames" option.
7524 * LyXAction.C: add change lfuns
7528 * author.C: author handling
7531 * buffer.C: add a per-buffer author list, with first entry as
7532 current author. Handle new .lyx tokens for change tracking. Output
7533 author list to .lyx file. Output dvipost stuff to .tex preamble.
7534 Bump lyx format to 222.
7537 * bufferlist.C: add setCurrentAuthor() to reset current author details
7541 * bufferparams.C: add param for tracking
7543 * bufferview_funcs.C: output change info in minibuffer
7547 * changes.C: add change-tracking structure
7550 * debug.C: add CHANGES debug flag
7553 * lyxfind.C: add code for finding the next change piece
7556 * lyxrc.C: add user_name and user_email
7559 * lyxrow.C: add a metric for the top of the text line
7562 * text.C: implement accept/rejectChange()
7565 * text.C: paint changebars. Paint new/deleted text in the chosen
7566 colours. Strike through deleted text.
7570 * paragraph_pimpl.h:
7571 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7572 in the current change to the insert functions. Rework erase to
7573 mark text as deleted, adding an eraseIntern() and a range-based
7574 erase(). Implement per-paragraph change lookup and
7577 * paragraph_funcs.C: Fixup paste for change tracking.
7579 * tabular.C: mark added row/columns as new.
7581 * text.C: fix rowLast() to never return -1. Don't allow
7582 spellchecking of deleted text. Track transpose changes. Don't
7583 allow paragraph break or merge where appropriate.
7585 * text2.C: leave cursor at end of selection after a cut.
7587 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7589 * text.C (getLengthMarkerHeight):
7590 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7591 visible on screen too.
7593 2003-02-07 John Levon <levon@movementarian.org>
7595 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7597 2003-02-05 Angus Leeming <leeming@lyx.org>
7599 * lyxserver.C (read_ready): revert my patch of 11 September last year
7600 as it sends PC cpu through the roof. Presumably this means that
7601 the lyxserver will no longer run on an Alpha...
7603 2003-01-30 Angus Leeming <leeming@lyx.org>
7605 * factory.C (createInset): create an InsetCommandParam of type "index"
7606 and use it to 'do the right thing'.
7608 * text2.C (getStringToIndex): ensure that cursor position is always
7609 reset to the reset_cursor position.
7611 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7613 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7616 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7620 * lyxfunc.C: Output messages with identical spelling, punctuation,
7623 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7625 * MenuBackend.C (expandFormats): List only viewable export formats
7628 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7631 * lyxfunc.C (getStatus): Make sure that formats other than
7632 "fax" can also be disabled
7634 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7636 * text3.C (dispatch): put the lfuns that insert insets in 3
7637 groups, and call doInsertInset with appropriate arguments.
7638 (doInsertInset): new function, that creates an inset and inserts
7639 it according to some boolean parameters.
7641 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * buffer.C (readFile): remember to pass on 'par' when calling
7644 readFile recursively.
7646 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7648 * MenuBackend.C (expandFormats): add "..." to import formats.
7650 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7652 * paragraph.C (asString): Remove XForms RTL hacks.
7654 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7655 * buffer.C: fix typo
7657 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7659 * Makefile.am (LIBS): delete var
7660 (lyx_LDADD): add @LIBS@ here instead.
7662 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7664 * Clarify the meaning of "wheel mouse jump"
7666 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7668 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7671 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7673 * importer.C (Loaders): do not preallocate 3 elements in the
7674 vector, since one ends up with 6 elements otherwise
7676 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * DepTable.C (write): write the file name as last element of the
7679 .dep file (because it may contain spaces)
7680 (read): read info in the right order
7682 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7684 * paragraph_pimpl.C (simpleTeXBlanks):
7685 (simpleTeXSpecialChars):
7686 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7688 * tabular.C (latex): add some missing case statements. Reindent.
7690 * MenuBackend.C (expandToc): remove unused variable.
7692 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7701 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7704 2003-01-05 John Levon <levon@movementarian.org>
7707 * BufferView.C: add getEncoding()
7710 * kbsequence.C: do not store last keypress
7713 * lyxfunc.C: store last keypress here instead. Pass encoding
7716 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7718 * lyx_main.C (init): remove annoying error message when following
7719 symbolic links (bug #780)
7721 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7723 * text.C (insertChar):
7724 * lyxrc.C (getDescription): remove extra spaces
7726 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7728 * lyxrc.C (getDescription): remove extra spaces
7730 2002-12-20 John Levon <levon@movementarian.org>
7732 * text3.C: hack fix for page up/down across tall rows
7734 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7736 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7739 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7741 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7742 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7743 thesaurus is not compiled in
7745 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7747 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7749 2002-12-16 Angus Leeming <leeming@lyx.org>
7752 * lyx_main.C (init): remove override_x_deadkeys stuff.
7754 2002-12-12 John Levon <levon@movementarian.org>
7756 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7757 insert. Only remove shift modifier under strict
7760 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * MenuBackend.C (expandToc): fix crash.
7764 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * MenuBackend.C (expandToc): gettext on float names.
7768 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7770 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7771 implement bool empty() [bug 490]
7773 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7777 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * several files: ws changes
7781 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * text2.C (setCounter): clean up a bit, use boost.format.
7784 (updateCounters): initialize par upon declaration.
7786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7787 if the layout exists. We do not just store the layout any more.
7788 (SwitchLayoutsBetweenClasses): use boost.format
7790 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7792 * converter.C (convert): if from and to files are the same, use a
7793 temporary files as intermediary
7795 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7798 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7800 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7802 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7804 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * tabular.C (asciiPrintCell): use string(size, char) instead of
7809 * sgml.C (openTag): fix order of arguments to string constructor
7812 * lyxfunc.C (dispatch): use boost.format
7814 * lots of files: change "c" -> 'c'
7816 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7818 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7820 2002-11-25 Angus Leeming <leeming@lyx.org>
7822 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7824 * lyx_main.C (init): compile fix.
7826 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * lyx_cb.C (start): boost.formatify
7829 do not include <iostream>
7831 * lengthcommon.C: ws only
7833 * boost-inst.C,BoostFormat.h: add more explict instantations
7835 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7837 * lots of files: handle USE_BOOST_FORMAT
7839 2002-11-21 John Levon <levon@movementarian.org>
7841 * pspell.C: fix compile
7843 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7845 * lyxfunc.C (dispatch): use boost::format
7849 * lyxfont.C (stateText): use boost::format
7851 * lyx_main.C (LyX): use boost::format
7853 (queryUserLyXDir): ditto
7856 (typedef boost::function): use the recommened syntax.
7858 * importer.C (Import): use boost::format
7860 * debug.C (showLevel): use boost::format
7862 * converter.C (view): use boost::format
7867 * bufferview_funcs.C (currentState): use boost::format
7869 * bufferlist.C (emergencyWrite): use boost::format
7871 * buffer.C (readLyXformat2): use boost::format
7872 (parseSingleLyXformat2Token): ditto
7874 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7876 * LaTeX.C (run): use boost::format
7878 * Chktex.C (scanLogFile): use boost::format
7880 * BufferView_pimpl.C (savePosition): use boost::format
7881 (restorePosition): ditto
7882 (MenuInsertLyXFile): ditto
7884 * BoostFormat.h: help file for explicit instation.
7886 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7888 * tabular.C (latex): Support for block alignment in fixed width
7891 2002-11-17 John Levon <levon@movementarian.org>
7893 * BufferView_pimpl.C:
7895 * lyxfunc.C: split filedialog into open/save
7897 2002-11-08 Juergen Vigna <jug@sad.it>
7899 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7900 by my last patch (hopefully).
7902 2002-11-08 John Levon <levon@movementarian.org>
7911 * toc.C: ParConstIterator, and use it (from Lars)
7913 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7915 * lyxtextclass.[Ch]: revise and add doxygen comments
7917 2002-11-07 John Levon <levon@movementarian.org>
7919 * text.C: fix progress value for spellchecker
7921 * toc.C: fix navigate menu for insetwrap inside minipage
7923 * paragraph_funcs.C: added FIXME for suspect code
7925 2002-11-07 John Levon <levon@movementarian.org>
7927 * BufferView_pimpl.C: fix redrawing of insets
7930 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7932 * text2.C (updateCounters): fix bug 668
7934 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7936 * text3.C (dispatch): Do not make the buffer dirty when moving the
7939 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7941 * vc-backend.C: STRCONV
7944 * text2.C (setCounter): STRCONV
7946 * paragraph.C (asString): STRCONV
7948 * lyxlength.C (asString): STRCONV
7949 (asLatexString): ditto
7951 * lyxgluelength.C (asString): STRCONV
7952 (asLatexString): ditto
7954 * lyxfunc.C (dispatch): STRCONV
7957 * lyxfont.C (stateText): STRCONV
7959 * importer.C (Import): STRCONV
7961 * counters.C (labelItem): STRCONV
7962 (numberLabel): ditto
7963 (numberLabel): remove unused ostringstream o
7968 * bufferview_funcs.C (currentState): STRCONV
7970 * buffer.C (readFile): STRCONV
7971 (asciiParagraph): ditto
7972 (makeLaTeXFile): ditto
7974 * Spacing.C (writeEnvirBegin): STRCONV
7976 * LaTeXFeatures.C (getLanguages): STRCONV
7977 (getPackages): ditto
7979 (getBabelOptions): ditto
7980 (getTClassPreamble): ditto
7981 (getLyXSGMLEntities): ditto
7982 (getIncludedFiles): ditto
7986 (scanAuxFile): ditto
7989 * LString.h: add the STRCONV macros
7991 * BufferView_pimpl.C (savePosition): STRCONV
7992 (restorePosition): ditto
7993 (MenuInsertLyXFile): ditto
7995 * vc-backend.C (scanMaster): change from submatch[...] to
7998 * funcrequest.C: include config.h
8000 * factory.C: include config.h
8002 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8004 * box.C: include config.h
8006 * LaTeX.C (scanAuxFile): change from submatch[...] to
8010 2002-10-25 Angus Leeming <leeming@lyx.org>
8012 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8014 * ispell.[Ch] (setError): new method.
8015 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8016 Use setError() insetead of goto END.
8018 * lyx_cb.C (AutoSave): move out child process into new class
8021 2002-10-30 John Levon <levon@movementarian.org>
8023 * text3.C: make start appendix undoable
8025 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8027 * lyxlength.C (inPixels): Fix returned value.
8029 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8032 2002-10-24 Angus Leeming <leeming@lyx.org>
8034 * lyxgluelength.h: no need to forward declare BufferParams
8035 or BufferView, so don't.
8037 2002-10-21 John Levon <levon@movementarian.org>
8039 * BufferView.C: menuUndo ->undo, redo
8041 * BufferView.h: document, remove dead, make some methods private
8043 * paragraph_funcs.h:
8044 * paragraph_funcs.C:
8045 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8050 * sgml.C: move sgml open/close tag into sgml.C
8052 * bufferview_funcs.h: unused prototype
8055 * lyxfunc.C: remove unused
8058 * text.C: remove unused
8060 2002-10-21 John Levon <levon@movementarian.org>
8064 * BufferView_pimpl.h:
8065 * BufferView_pimpl.C: fix mouse wheel handling based on
8066 patch from Darren Freeman
8068 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8070 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8072 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8074 * lyxlength.C (inPixels): Fix hanfling of negative length.
8075 Fix LyXLength::MU case.
8077 2002-10-16 John Levon <levon@movementarian.org>
8079 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8081 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8083 * converter.C (view): add support for $$i (file name) and $$p
8084 (file path) for the viewer command. If $$i is not specified, then
8085 it is appended to the command (for compatibility with old syntax)
8087 2002-10-14 Juergen Vigna <jug@sad.it>
8089 * undo_funcs.C (textHandleUndo): alter the order in which the
8090 new undopar is added to the LyXText, as we have to set first
8091 the right prev/next and then add it as otherwise the rebuild of
8092 LyXText is not correct. Also reset the cursor to the right paragraph,
8093 with this IMO we could remove the hack in "redoParagraphs()".
8095 2002-10-09 Angus Leeming <leeming@lyx.org>
8097 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8098 to turn off an optimisation if a new inset is to be inserted.
8100 2002-10-11 André Pönitz <poenitz@gmx.net>
8102 * lyxtext.h: make some functions public to allow access
8103 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8105 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8107 * text3.C (dispatch): when changing layout, avoid an infinite loop
8110 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8112 * lyxrc.C (read): treat a viewer or converter command of "none" as
8115 * MenuBackend.C (expandFormats): for an update, also allow the
8116 formats that are not viewable
8118 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8119 script if it is newer than the lyxrc.defaults in user directory
8121 2002-10-07 André Pönitz <poenitz@gmx.net>
8123 * text.C: Vitaly Lipatov's small i18n fix
8125 2002-09-25 Angus Leeming <leeming@lyx.org>
8127 * ispell.h: doxygen fix.
8129 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8131 * buffer.h (readFile): Add a new argument to the method, to allow
8132 reading of old-format templates.
8134 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8136 * toc.C (getTocList): Get TOC from InsetWrap.
8138 2002-09-16 John Levon <levon@movementarian.org>
8140 * lyxfunc.C: check tabular for cut/copy too
8142 2002-09-12 John Levon <levon@movementarian.org>
8147 * factory.C: add header
8149 * paragraph_funcs.h:
8150 * paragraph_funcs.C: cleanup
8152 2002-09-11 John Levon <levon@movementarian.org>
8154 * PrinterParams.h: odd/even default to true
8156 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8158 * PrinterParams.h: update printer parameters for new xforms dialog
8160 2002-09-11 Angus Leeming <leeming@lyx.org>
8162 * lyxserver.C (read_ready): re-write to make it more transparent
8163 and to make it work in coherent fashion under Tru64 Unix.
8165 2002-09-11 André Pönitz <poenitz@gmx.net>
8169 * text3.C: implement LFUN_WORDSEL
8171 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8174 make floatlist_ a boost::shared_ptr<FloatList>
8176 * lyxtextclass.C: include FloatList.h
8177 (LyXTextClass): initialize floatlist_
8178 (TextClassTags): add TC_NOFLOAT
8179 (Read): match "nofloat" to TC_NOFLOAT and use it.
8180 (readFloat): modify call to floatlist_
8184 * FloatList.[Ch] (FloatList): remove commented out float
8186 (erase): new function
8188 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8190 * MenuBackend.C (expandToc): fix crash when there is no document
8193 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8195 * many files: Add insetwrap.
8197 2002-09-09 John Levon <levon@movementarian.org>
8199 * text2.C: remove confusing and awkward depth wraparound
8201 2002-09-09 John Levon <levon@movementarian.org>
8203 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8206 * buffer.C: remove getIncludeonlyList()
8209 * lyxfunc.C: remove headers
8211 2002-09-09 Juergen Vigna <jug@sad.it>
8213 * text.C (getColumnNearX): fix form Michael this is most
8214 probably a cut&paste bug.
8216 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8220 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8221 references, ws changes.
8223 * text2.C (init): update counters after init
8224 (insertParagraph): no need to set counter on idividual paragraphs.
8225 (setCounter): access the counters object in the textclass object
8226 on in the buffer object.
8227 (updateCounters): ditto
8229 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8230 shared_ptr<Counters> to avoid loading counters.h in all
8232 (LyXTextClass): initialize ctrs_
8233 (TextClassTags): add TC_COUNTER, and ...
8234 (Read): use it here.
8235 (CounterTags): new tags
8236 (readCounter): new function
8237 (counters): new funtion
8238 (defaultLayoutName): return a const reference
8240 * counters.C (Counters): remove contructor
8241 (newCounter): remove a couple of unneeded statements.
8242 (newCounter): simplify a bit.
8243 (numberLabel): some small formatting changes.
8245 * buffer.[Ch]: remove all traces of counters, move the Counters
8246 object to the LyXTextClass.
8248 2002-09-06 Alain Castera <castera@in2p3.fr>
8250 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8251 package to set the horizontal alignment on fixed width columns.
8254 * lyx_sty.h: added tabularnewline macro def.
8256 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8258 2002-09-06 John Levon <levon@movementarian.org>
8260 * LyXAction.C: tooltips for sub/superscript
8262 * MenuBackend.C: a bit more verbose
8264 * lyxfunc.C: tiny clean
8266 * undo_funcs.C: document undo_frozen
8268 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * counters.C (Counters): add missing algorithm counter.
8272 * text2.C (setCounter): lookup the counter with layouts latexname
8273 instead of by section number.
8274 (setCounter): use a hackish way to lookup the correct enum
8276 a float name->type change
8277 reset enum couners with counter name directly instead of depth value.
8279 * counters.C (Counters): remove the push_backs, change to use the
8280 float type not the float name.
8281 (labelItem): remove unused string, float name->type change
8283 * counters.h: don't include vector, loose the enums and sects vectors
8285 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8288 (Read): add float->TC_FLOAT to textclassTags
8289 (Read): and handle it in the switch
8290 (readFloat): new function
8292 * FloatList.C (FloatList): comment out the hardcoded float
8295 * lyxlayout.h: ws change.
8297 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8299 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8301 2002-09-03 Angus Leeming <leeming@lyx.org>
8303 * BufferView_pimpl.h: qualified name is not allowed in member
8304 declaration: WorkArea & Pimpl::workarea() const;
8306 * factory.C: added using std::endl directive.
8308 * text3.C: added using std::find and std::vector directives.
8310 2002-08-29 André Pönitz <poenitz@gmx.net>
8313 * text2.C: remove unused member number_of_rows
8316 * BufferView2.C: remove file, move contents to...
8317 * BufferView.C: ... here
8319 * BufferView_pimpl.C:
8320 * factory.C: move more inset creation to factory
8322 * vspace.C: avoid direct usage of LyXText, ws changes
8325 don't provide direct access to WorkArea, use two simple
8326 acessors haveSelction() and workHeight() instead
8329 2002-08-29 John Levon <levon@movementarian.org>
8331 * BufferView_pimpl.C (dispatch): do not continue when
8334 2002-08-28 André Pönitz <poenitz@gmx.net>
8336 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8339 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8341 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8343 * buffer.C: increment LYX_FORMAT to 221
8345 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8346 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8348 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8350 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8352 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8354 * factory.C (createInset): use LyXTextClass::floats
8356 * MenuBackend.C (expandFloatListInsert):
8357 (expandFloatInsert):
8360 * text2.C (setCounter):
8362 * LaTeXFeatures.C (useFloat):
8363 (getFloatDefinitions):
8365 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8367 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8368 floatlist_, with accessor floats().
8370 * FloatList.h: remove global FloatList
8372 2002-08-26 André Pönitz <poenitz@gmx.net>
8374 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8378 * BufferView_pimpl.C:
8379 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8381 2002-08-25 John Levon <levon@movementarian.org>
8383 * LyXAction.C: fix margin note description
8385 2002-08-24 John Levon <levon@movementarian.org>
8389 * bufferview_funcs.C:
8391 * undo_funcs.C: cleanups
8393 * lyxfunc.C: disable CUT/COPY when no selection
8395 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8397 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8398 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8400 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8401 Add backward compatibility to "mono", "gray" and "no".
8403 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8405 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8406 (and file_format >= 200).
8408 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8410 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8412 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8414 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8416 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8418 * BufferView_pimpl.C:
8425 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8426 inset and code to make it work with the paragraph code. The inset
8427 can be anywhere in the paragraph, but will only do the expected
8428 thing in LaTeX if the layout file contains the parameter line
8430 (or more generally, a nonzero value) for that layout.
8432 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * paragraph.h: remove the declaration of undefined counters class
8437 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8439 * text2.C (setCounter): fixed enumeration mis-count as reported by
8440 Dr. Richard Hawkins.
8442 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * paragraph_funcs.h: remove some unneeded includes
8446 * text.C (backspace): pasteParagraph now in global scipe
8448 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8449 (pasteSelection): ditto
8451 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8452 * paragraph_funcs.C (pasteParagraph): ... here
8454 2002-08-20 André Pönitz <poenitz@gmx.net>
8456 * commandtags.h: new LFUNs for swapping/copying table row/colums
8459 * lyxfunc.C: support for new lfuns
8461 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8464 * buffer.[Ch]: remove NO_COMPABILITY stuff
8466 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8468 * boost.C (throw_exception): new file, with helper function for
8469 boost compiled without exceptions.
8474 * ParameterStruct.h:
8475 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8477 * bufferlist.C (emergencyWriteAll): use boost bind
8479 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8481 * text.C: include paragraph_funcs.h
8482 (breakParagraph): breakParagraph is now in global scope
8484 * paragraph_funcs.[Ch]: new files
8486 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8489 * buffer.C: include paragraph_funcs.h
8490 (insertStringAsLines): breakParagraph is now in global scope
8492 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8495 * CutAndPaste.C: include paragraph_funcs.h
8496 (cutSelection): breakParagraphConservative is now in global scope
8497 (pasteSelection): ditto
8499 * buffer.h: declare oprator== and operator!= for
8500 Buffer::inset_iterator
8502 * bufferlist.C (emergencyWrite): don't use fmt(...)
8504 * text3.C: add using std::endl
8506 * BufferView.C (moveCursorUpdate): remove default arg
8508 2002-08-20 André Pönitz <poenitz@gmx.net>
8510 * buffer.[Ch]: move inline functions to .C
8513 * BufferView_pimpl.C:
8515 * buffer.[Ch]: use improved inset_iterator
8518 * paragraph.[Ch]: write one paragraph at a time
8520 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8522 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8523 style if style is not specified.
8525 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8527 * text2.C (setCounter): when searching for right label for a
8528 caption, make sure to recurse to parent insets (so that a caption
8529 in a minipage in a figure float works) (bug #568)
8531 2002-08-20 André Pönitz <poenitz@gmx.net>
8533 * text3.C: new file for LyXText::dispatch() and helpers
8535 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8537 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8539 2002-08-19 André Pönitz <poenitz@gmx.net>
8542 * text.C: new LyXText::dispatch()
8544 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8546 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8548 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8550 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8553 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * Makefile.am: use $(variables) instead of @substitutions@
8557 2002-08-15 André Pönitz <poenitz@gmx.net>
8560 * BufferView_pimpl.C: streamlining mathed <-> outer world
8564 * LyXAction.C: remove unused LFUN_MATH
8566 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8570 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8572 * paragraph.C (Paragraph): reformat a bit
8573 (cutIntoMinibuffer): use builtin InsetList function instad of
8577 * buffer.C: include boost/bind.hpp, add using std::for_each
8578 (writeFileAscii): use ParagraphList iterators
8579 (validate): use for_each for validate traversal of paragraphs
8580 (getBibkeyList): use ParagraphList iterators
8581 (resizeInsets): use for_each to resizeInsetsLyXText for all
8583 (getParFromID): use ParagraphList iterators
8585 * BufferView2.C (lockInset): use paragraph list and iterators
8587 2002-08-14 John Levon <levon@movementarian.org>
8589 * lyxserver.C: remove spurious xforms include
8591 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8593 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8595 2002-08-13 André Pönitz <poenitz@gmx.net>
8598 * lyxfunc.C: further cleaning
8600 2002-08-13 André Pönitz <poenitz@gmx.net>
8602 * funcrequest.h: new constructor
8604 * funcrequest.C: move stuff here from .h
8607 * BufferView_pimpl.C:
8610 * lyxfunc.C: subsequent changes
8612 * lyxfunc.h: new view() member function
8614 * lyxfunc.C: subsequent changes
8616 2002-08-13 Angus Leeming <leeming@lyx.org>
8619 * BufferView_pimpl.C:
8627 changes due to the changed LyXView interface that now returns references
8628 to member variables not pointers.
8630 2002-08-13 Angus Leeming <leeming@lyx.org>
8632 * WordLangTuple (word, lang_code): return references to strings,
8637 * lyxtext.h: forward-declare WordLangTuple.
8642 * text.C: #include "WordLangTuple.h".
8645 * text.C: (selectNextWordToSpellcheck): constify return type.
8647 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8653 * paragraph_pimpl.h:
8656 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8658 Made updateCounter always count from start of buffer, and removed
8659 second argument (par).
8660 Reverted floats number display to '#'. Perhaps I'll try again when the
8661 code base is sanitized a bit.
8663 2002-08-12 Angus Leeming <leeming@lyx.org>
8665 * buffer.[Ch] (getLabelList): constify.
8667 2002-08-07 André Pönitz <poenitz@gmx.net>
8669 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8671 * funcrequest.h: extension to keep mouse (x,y) position
8673 2002-08-12 Juergen Vigna <jug@sad.it>
8675 * BufferView2.C (insertErrors): forbid undo when inserting error
8678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8680 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * ParagraphList.[Ch]: new files
8684 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8686 * BufferView2.C (lockInset): ParagraphList changes
8689 * bufferlist.C: ditto
8693 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8695 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8696 unused class variable counter_,
8698 * paragraph.[Ch] (getFirstCounter): delete unused function
8700 * counters.C: include LAssert.h
8701 (reset): add a new function with no arg, change other version to
8702 not have def. arg and to not allow empty arg.
8704 * text2.C (setCounter): remove empty arg from call to Counters::reset
8706 2002-08-11 John Levon <levon@movementarian.org>
8708 * Makefile.am: add WordLangTuple.h
8710 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8713 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8715 * insets/insettext.C: InsetList changes
8717 * graphics/GraphicsSupport.C (operator()): InsetList changes
8719 * toc.C (getTocList): InsetList changes
8721 * paragraph_pimpl.[Ch]: InsetList changes
8723 * paragraph.[Ch]: InsetList changes
8725 * buffer.C (inset_iterator): InsetList changes
8726 (setParagraph): ditto
8727 * buffer.h (inset_iterator): ditto
8728 * iterators.C (operator++): ditto
8729 * iterators.h: ditto
8731 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8733 * InsetList.[Ch]: new files, most InsetList handling moved out of
8736 * BufferView2.C (removeAutoInsets): InsetList changes
8738 (ChangeInsets): ditto
8740 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8742 * paragraph_pimpl.h (empty): new function
8744 * paragraph.[Ch] (empty): new function
8746 * other files: use the new Paragraph::empty function
8748 2002-08-09 John Levon <levon@movementarian.org>
8750 * lyxtext.h: remove unused refresh_height
8752 2002-08-09 John Levon <levon@movementarian.org>
8759 * paragraph.C: move sgml char escaping out of paragraph
8762 * paragraph.C: remove id setter
8766 * paragraph_pimpl.C: remove dead tex_code_break_column
8768 * bufferview_funcs.C: small cleanup
8770 * lyxfunc.C: remove dead proto
8772 * lyxtext.h: make some stuff private. Remove some dead stuff.
8774 * lyxgluelength.C: make as[LyX]String() readable
8776 2002-08-08 John Levon <levon@movementarian.org>
8781 * ToolbarDefaults.C:
8784 * toc.C: lyxaction cleanup
8786 2002-08-08 John Levon <levon@movementarian.org>
8788 * BufferView2.C: small cleanup
8791 * lyxfind.C: move unnecessary header into the .C
8793 2002-08-08 John Levon <levon@movementarian.org>
8795 * funcrequest.h: just tedious nonsense
8798 * lyx_main.C: cleanups
8801 * vspace.C: remove dead header lyx_main.h
8803 2002-08-07 Angus Leeming <leeming@lyx.org>
8806 * paragraph_pimpl.h:
8807 Forward declare class Counters in paragraph.h by moving the ctrs member
8808 variable into Paragraph::Pimpl.
8809 (counters): new method, returning a reference to pimpl_->ctrs.
8811 * text2.C: ensuing changes.
8813 2002-08-07 John Levon <levon@movementarian.org>
8815 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8817 * BufferView_pimpl.C: announce X selection on double/triple
8820 * lyx_main.C: use correct bool in batch dispatch
8822 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8824 2002-08-07 André Pönitz <poenitz@gmx.net>
8826 * funcrequest.h: new class to wrap a kb_action and its argument
8829 * BufferView_pimpl[Ch]:
8833 * lyxrc.C: subsequent changes
8836 2002-08-07 John Levon <levon@movementarian.org>
8838 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8839 document options change.
8841 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8846 * makefile.am: move counters functionality over from
8847 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8849 2002-08-06 John Levon <levon@movementarian.org>
8851 * WordLangTuple.h: new file for word + language code tuple
8862 * BufferView2.C: use WordLangTuple
8865 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8867 2002-08-06 John Levon <levon@movementarian.org>
8869 * lyx_main.C: fix cmdline batch handling
8871 2002-08-06 André Pönitz <poenitz@gmx.net>
8873 * lyxrc.C: set default for show_banner to true
8875 2002-08-06 John Levon <levon@movementarian.org>
8877 * pspell.C: fix a crash, and allow new aspell to work
8879 2002-08-06 John Levon <levon@movementarian.org>
8882 * kbmap.C: small cleanup
8885 * vspace.C: add const
8887 2002-08-05 John Levon <levon@movementarian.org>
8889 * LyXAction.C: back to tabular-insert
8891 2002-08-04 John Levon <levon@movementarian.org>
8894 * BufferView.C: cosmetic change
8896 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8906 * BufferView2.C: purge all "Lyx" not "LyX" strings
8909 * lyxcursor.C: attempt to add some documentation
8914 * ToolbarDefaults.C:
8915 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8916 merge with LFUN_TABULAR_INSERT
8923 * pspell.C: split up i/pspell implementations into separate
8924 files, many cleanups
8926 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8928 * text2.C: some cleanup
8930 * lyxfunc.C: don't check for isp_command == "none" any more, it
8931 didn't make any sense
8933 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8938 * makefile.am: move counters functionality over
8939 from text2.C/paragraph.[Ch] to counters.[Ch], and
8941 2002-08-02 John Levon <levon@movementarian.org>
8943 * buffer.C: s/lyxconvert/lyx2lyx/
8945 2002-08-02 Angus Leeming <leeming@lyx.org>
8947 * lyxlex.C: revert John's change as it breaks reading of the user
8950 2002-08-02 Angus Leeming <leeming@lyx.org>
8952 * importer.C (Import):
8953 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8954 changes due to LyXView::view() now returning a boost::shared_ptr.
8956 2002-08-02 John Levon <levon@movementarian.org>
8958 * lyxlex.C: small cleanup
8960 2002-08-02 John Levon <levon@movementarian.org>
8962 * text2.C (status): small cleanup, no logic change
8964 2002-08-01 John Levon <levon@movementarian.org>
8967 * buffer.C (writeFile): don't output alerts, caller
8971 * lyx_cb.C: from above
8973 * lyxfunc.C: allow to open non-existent files
8975 2002-07-31 John Levon <levon@movementarian.org>
8977 * lyxserver.C: don't let incidental errors get
8980 2002-07-30 John Levon <levon@movementarian.org>
8982 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8984 2002-07-30 John Levon <levon@movementarian.org>
8987 * lyxserver.C: remove I/O callback too
8989 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8991 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8994 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8996 * many files: strip,frontStrip -> trim,ltrim,rtrim
8998 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9000 * PrinterParams.h: remove extern containsOnly, and include
9001 support/lstrings.h instead.
9003 * LaTeX.C (scanAuxFile): modify because of strip changes
9005 * buffer.C (makeLaTeXFile): ditto
9006 * bufferparams.C (writeFile): ditt
9007 * lyxfont.C (stateText): ditto
9008 * lyxserver.C (read_ready): ditto
9009 * vc-backend.C (scanMaster): ditto
9011 * BufferView_pimpl.h: ws changes
9013 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9015 2002-07-26 André Pönitz <poenitz@gmx.net>
9017 * kb_sequence.C: remove unnedred usings
9019 2002-07-26 Juergen Vigna <jug@sad.it>
9021 * lyxfind.C (LyXReplace): we have to check better if the returned
9022 text is not of theLockingInset()->getLockingInset().
9024 2002-07-25 Juergen Vigna <jug@sad.it>
9026 * lyxfind.C (LyXReplace): don't replace if we don't get the
9029 * undo_funcs.C (createUndo): remove debugging code.
9031 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9033 * buffer.C (parseSingleLyXformat2Token): Use default placement
9034 when reading old floats.
9036 * FloatList.C (FloatList): Change the default placement of figure
9037 and tables to "tbp".
9039 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9041 * MenuBackend.C: using std::max
9043 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9045 * MenuBackend.C (expandToc):
9046 (expandToc2): code moved from xforms menu frontend. It is now
9047 generic and TOCs are transparent to menu frontends.
9049 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9051 * toc.C (getTocList): protect against buf=0
9053 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9054 Menu as first parameter. Now, this calls itself recursively to
9055 expand a whole tree (this will be useful for TOC handling)
9056 (expandFloatInsert): remove 'wide' version of floats
9058 * MenuBackend.h (submenuname): returns the name of the submenu.
9059 (submenu): returns the submenu itself, provided it has been
9060 created by MenuBackend::expand
9062 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9065 insets which have noFontChange == true. (bug #172)
9067 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * BufferView_pimpl.C: add connection objects and use them...
9072 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9074 * MenuBackend.C (expandLastfiles):
9077 (expandFloatListInsert):
9078 (expandFloatInsert):
9079 (expand): split expand in parts
9081 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9083 * lyx_gui.C: use lyx_gui::exit()
9085 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9087 * LyXAction.C: show the failing pseudo action
9089 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9091 * buffer.C (readFile): Run the lyxconvert script in order to read
9094 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9098 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9104 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9106 2002-07-22 Herbert Voss <voss@lyx.org>
9109 * lyxlength.[Ch]: add support for the vertical lengths
9111 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9113 * toc.[Ch]: std:: fixes
9115 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9117 * lyxrc.C: do not include lyx_main.h
9119 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9125 * BufferView2.C: include "lyxlex.h"
9128 * bufferparams.h: do not #include "lyxlex.h"
9130 * lyxtextclasslist.C (Add): remove method
9131 (classlist): renamed to classlist_
9133 * paragraph_pimpl.C:
9137 * bufferview_funcs.C:
9142 * toc.C (getTocList): use BufferParams::getLyXTextClass
9144 * toc.C (getTocList): use InsetFloat::addToToc
9146 * toc.[Ch]: new files, containing helper functions to handle table
9149 * lyxfunc.C (dispatch): no need to remove spaces around command
9151 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9152 first command of the sequence; it is not very clever, but I do not
9153 have a better idea, actually
9155 * LyXAction.C (LookupFunc): make sure to remove space at the
9156 beginning and end of the command
9158 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * MenuBackend.C (getMenubar): new method: return the menubar of
9162 (read): treat differently reading of menu and menubar (in
9163 particular, the menubar has no name now)
9164 (Menu::menubar): remove
9166 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9169 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9171 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9172 a bibitem inset in a RTL paragraph.
9174 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9176 * paragraph_pimpl.C: constify
9178 * BufferView_pimpl.C:
9180 * lyxfunc.C: fix dispatch in a nicer way
9182 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9184 * lyxfunc.C (dispatch):
9185 * BufferView_pimpl.C:
9186 * BufferView_pimpl.h:
9188 * BufferView.h: rename Dispatch() to dispatch()
9190 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9192 * lyxlayout.C (Read): honor DependsOn tag
9194 * lyxlayout.[Ch] (depends_on): new method
9196 * version.C.in: update lyx_docversion
9198 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9200 * paragraph.C (validate): remove from here...
9201 * paragraph_pimpl.C (validate): ... and move here
9202 (isTextAt): make it const
9204 * buffer.C (getLists): ws cleanup
9206 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9208 * language.C (read): Use iso8859-1 encoding in latex_lang
9209 (this prevents LyX from crashing when using iso10646-1 encoding).
9211 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9213 * text2.C (toggleInset): if cursor is inside an inset, close the
9214 inset and leave cursor _after_ it
9216 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9218 * lyxfunc.C: move minibuffer completion handling out of here
9220 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9222 * BufferView_pimpl.C:
9223 * LaTeX.C: fix dispatch calls
9225 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9227 * text.C (drawChars): Fix Arabic text rendering.
9229 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9233 * lyxfunc.C: remove message-push/pop
9237 * lyxfunc.C: rationalise some code by removing verboseDispatch
9238 in favour of a bool argument to dispatch()
9240 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9242 * lyx_main.C (init): make sure to read symlinks as absolute paths
9244 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9247 * lyxfunc.C: no need for commandshortcut to be a member
9249 2002-07-15 André Pönitz <poenitz@gmx.net>
9251 * converter.C: add support for $$s (scripts from lib/scripts dir)
9252 * lyx_main.C: white space
9254 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9258 * lyxrc.C: remove second exit confirmation
9260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9265 * BufferView_pimpl.h:
9266 * BufferView_pimpl.C:
9267 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9269 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * MenuBackend.C (expand): add numeric shortcuts to document menu
9273 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9275 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9277 * lyxfont.C (setLyXFamily):
9284 * buffer.C (asciiParagraph): use ascii_lowercase
9286 2002-07-15 Mike Fabian <mfabian@suse.de>
9288 * lyxlex_pimpl.C (search_kw):
9289 * lyxlex.C (getLongString):
9290 * converter.h (operator<):
9291 * converter.C (operator<):
9292 * buffer.C (parseSingleLyXformat2Token):
9294 * ToolbarDefaults.C (read):
9295 * MenuBackend.C (checkShortcuts):
9297 * LColor.C (getFromGUIName):
9298 (getFromLyXName): use the compare_ascii_no_case instead of
9299 compare_no_case, because in turkish, 'i' is not the lowercase
9300 version of 'I', and thus turkish locale breaks parsing of tags.
9302 2002-07-16 Angus Leeming <leeming@lyx.org>
9304 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9305 now takes a Buffer const & argument.
9307 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9309 * BufferView.C (resize): check there's a buffer to resize
9311 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9313 * lyxfunc.C: remove dead code
9316 * lyxserver.C: use lyx_guii::set_read_callback
9318 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9320 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9321 an inset in a RTL paragraph.
9323 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9325 * lyxfunc.C: repaint after a font size update
9327 2002-07-15 André Pönitz <poenitz@gmx.net>
9329 * lyxlength.C: inBP should be able to return negative values
9331 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9333 * lyxfunc.C: use lyx_gui::update_fonts()
9335 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9337 * lyxfunc.C: use lyx_gui::update_color()
9339 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9345 * lyxrc.C: remove file->new asks for name option, and let
9346 buffer-new take an argument
9348 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9350 * BufferView_pimpl.C: remove unneeded extra repaint()
9352 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9354 * LyXAction.C: allow command-sequence with NoBuffer
9356 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9358 2002-07-10 Angus Leeming <leeming@lyx.org>
9360 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9362 2002-07-09 Angus Leeming <leeming@lyx.org>
9364 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9366 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9368 * lengthcommon.h: whitespace
9370 * lyxfunc.C: update scrollbar after goto paragraph
9372 * lyxtext.h: factor out page break drawing, and fix it so
9373 page break/added space paints as selected nicely
9375 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9377 * BufferView_pimpl.C: add FIXMEs, clean up a little
9379 2002-07-09 André Pönitz <poenitz@gmx.net>
9381 * lyxfont.[Ch]: support for wasy symbols
9383 2002-07-08 André Pönitz <poenitz@gmx.net>
9385 * BufferView_pimpl.C: apply John's patch for #93.
9387 2002-07-05 Angus Leeming <leeming@lyx.org>
9389 * BufferView_pimpl.C (buffer): generate previews if desired.
9391 * LColor.h: add "preview" to the color enum.
9393 * LColor.C (LColor): add a corresponding entry to the items array.
9395 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9398 2002-07-05 Angus Leeming <leeming@lyx.org>
9400 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9401 The body of the code is now in the method that is passed an ostream &
9402 rather than a file name.
9403 Pass an additional only_preamble parameter, useful for the forthcoming
9406 2002-07-03 André Pönitz <poenitz@gmx.net>
9408 * lyxfunc.C: simplify getStatus() a bit for math stuff
9410 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9412 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9414 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9416 * text.C (changeRegionCase): do not change case of all the
9417 document when region ends at paragraph end (bug #461)
9419 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * paragraph.C (startTeXParParams):
9422 (endTeXParParams): add \protect when necessary
9424 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * BufferView_pimpl.C (workAreaExpose): remove warning
9428 2002-06-27 Angus Leeming <leeming@lyx.org>
9430 * Makefile.am: add lyxlayout_ptr_fwd.h.
9432 2002-06-26 André Pönitz <poenitz@gmx.net>
9434 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9436 2002-06-25 Angus Leeming <leeming@lyx.org>
9438 * lyxfunc.C (dispatch): Comment out the call to
9439 grfx::GCache::changeDisplay. The method no longer exists now that the
9440 pixmap generation part of the graphics loader has been moved into
9443 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9445 * text2.C: layout as layout
9447 * text.C: layout as layout
9449 * tabular.C (OldFormatRead): layout as layout
9451 * paragraph_pimpl.C (TeXDeeper): layout as layout
9452 (realizeFont): layout as layout
9454 * paragraph.C (writeFile): layout as layout
9455 (validate): layout as layout
9456 (getFont): layout as layout
9457 (getLabelFont): layout as layout
9458 (getLayoutFont): layout as layout
9459 (breakParagraph): layout as layout
9460 (stripLeadingSpaces): layout as layout
9461 (getEndLabel): layout as layout
9462 (getMaxDepthAfter): layout as layout
9463 (applyLayout): layout as layout
9464 (TeXOnePar): layout as layout
9465 (simpleTeXOnePar): layout as layout
9466 (TeXEnvironment): layout as layout
9467 (layout): layout as layout
9468 (layout): layout as layout
9470 * lyxtextclass.C (compare_name): new functor to work with
9471 shared_ptr, layout as layout
9472 (Read): layout as layout
9473 (hasLayout): layout as layout
9474 (operator): layout as layout
9475 (delete_layout): layout as layout
9476 (defaultLayout): layout as layout
9478 * lyxlayout_ptr_fwd.h: new file
9480 * lyxlayout.C (Read): layout as layout
9482 * lyx_cb.C (MenuInsertLabel): layout as layout
9484 * bufferlist.C (newFile): layout as layout
9486 * buffer.C (readLyXformat2): layout as layout
9487 (parseSingleLyXformat2Token): layout as layout
9488 (insertStringAsLines): layout as layout
9489 (asciiParagraph): layout as layout
9490 (latexParagraphs): layout as layout
9491 (makeLinuxDocFile): layout as layout
9492 (simpleLinuxDocOnePar): layout as layout
9493 (makeDocBookFile): layout as layout
9494 (simpleDocBookOnePar): layout as layout
9495 (getLists): layout as layout
9497 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9499 * CutAndPaste.C (cutSelection): layout as layout
9500 (pasteSelection): layout as layout
9501 (SwitchLayoutsBetweenClasses): layout as layout
9503 * BufferView_pimpl.C (Dispatch): layout as layout
9504 (smartQuote): layout as layout
9506 * BufferView2.C (unlockInset): layout as layout
9508 2002-06-24 André Pönitz <poenitz@gmx.net>
9510 * lyxfunc.C: fix #487
9512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9516 * lyxfunc.C: remove display_shortcuts, show_banner
9518 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9520 * Buffer_pimpl.C: oops, update on resize
9522 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9529 * BufferView.C: use repaint()
9531 * BufferView_pimpl.h:
9532 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9533 as it's a clearer description. Remove superfluous
9536 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9538 * text.C: fix bug 488. Not ideal, but getting
9539 getWord() to work properly for the insets that
9540 matter is more difficult ...
9542 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9544 * BufferView_pimpl.C:
9547 * lyxfunc.C: remove the six million index lyxfuncs to just
9548 one, and DTRT (bug 458)
9550 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9554 * BufferView_pimpl.h:
9555 * BufferView_pimpl.C: clean up resize() stuff,
9556 and unnecessary updateScreen()s
9558 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9562 * BufferView_pimpl.h:
9563 * BufferView_pimpl.C:
9566 * minibuffer.C: remove focus management of workarea,
9567 not needed. Use screen's greyOut()
9569 2002-06-17 Herbert Voss <voss@lyx.org>
9571 * converter.C: (convert) do not post a message, when converting
9572 fails, let the calling function decide what to do in this case
9574 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9576 * lyxfunc.C: tidy up a little
9578 2002-06-16 <alstrup@diku.dk>
9580 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9581 Got rid of FORMS_H_LOCATION include. Now we are
9584 2002-06-15 LyX Development team <lyx@rilke>
9586 * buffer.[Ch] (sgmlOpenTag):
9587 (sgmlCloseTag): Added support for avoiding pernicious mixed
9588 content. Return number of lines written.
9591 (makeDocBookFile): Fixed calls to sgml*Tag.
9592 Simple white space clean.
9594 (simpleDocBookOnePar): Simple white space clean.
9596 * tabular.[Ch] (docBook): Renamed to docbook and got another
9597 argument to related with the pernicious mixed content.
9599 (docbookRow): Fixed calls for docbook inset method.
9601 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9603 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9604 so it's X11 independent.
9608 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9610 2002-06-15 Lyx Development team <lyx@electronia>
9612 * intl.h: Renamed getTrans to getTransManager.
9614 2002-06-14 Angus Leeming <leeming@lyx.org>
9616 * Makefile.am: nuke forgotten stl_string_fwd.h.
9618 2002-06-12 Angus Leeming <leeming@lyx.org>
9620 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9622 2002-06-13 Angus Leeming <leeming@lyx.org>
9625 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9627 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9629 * kbmap.C (getiso): add support for cyrillic and greek
9631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9635 * BufferView_pimpl.h:
9636 * BufferView_pimpl.C: move bogus scrolling logic
9639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9642 * BufferView_pimpl.C: view->resize() change
9644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9646 * BufferView_pimpl.C: topCursorVisible
9649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9653 * lyx_gui.C: move to frontends/
9657 * lyx_main.C: changes from above
9659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9666 * lyx_main.C: minor tidy
9668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9670 * BufferView_pimpl.h:
9671 * BufferView_pimpl.C:
9673 * BufferView.C: make painter() const,
9676 * BufferView2.C: use screen() accessor
9679 * lyx_main.C: some minor cleanup
9681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9683 * BufferView_pimpl.h:
9684 * BufferView_pimpl.C: remove enter/leaveView,
9687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9692 * BufferView_pimpl.h:
9693 * BufferView_pimpl.C: only construct screen once,
9696 * lyxrc.C: remove pointless comment
9698 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9701 * BufferView.C: remove active() and belowMouse()
9703 * BufferView_pimpl.h:
9704 * BufferView_pimpl.C: use workarea() not workarea_,
9705 and make it use a scoped_ptr instead
9707 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9709 * lyx_gui.C: add debug message on BadWindow
9711 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * sp_spell.C: fdopen is not part of the C++ standard.
9715 * paragraph.C (InsetIterator): use >= instead of ==
9717 2002-06-07 Angus Leeming <leeming@lyx.org>
9719 Fixes needed to compile with Compaq cxx 6.5.
9720 * BufferView_pimpl.C:
9727 * lyxtextclasslist.C:
9732 all c-library variables have been moved into namespace std. Wrap
9733 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9738 Add a using std::abs declaration.
9740 * kbmap.h (modifier_pair):
9741 * paragraph.h (InsetTable, InsetList):
9742 * lyxfont.h (FontBits):
9743 type definition made public.
9745 * bufferlist.C (emergencyWriteAll): the compiler complains that
9746 there is more than one possible lyx::class_fun template to choose from.
9747 I re-named the void specialisation as lyx::void_class_fun.
9749 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9751 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9752 the compiler is is unable to find tostr in write_attribute.
9754 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * buffer.C (sgmlError): hide #warning
9758 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9760 * xtl/*: get rid of xtl, which is not in use anyway
9762 * LyXAction.C (init):
9763 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9764 were unimplemented xtl experimentation
9766 2002-06-04 André Pönitz <poenitz@gmx.net>
9768 * lyxfunc.C: disable array operation on simple formulae
9770 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9772 * converter.C: constify a bit
9774 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9776 * lyx_gui.C: check xforms version correctly
9778 2002-04-30 Herbert Voss <voss@lyx.org>
9780 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9783 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9785 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9786 attempt to register it with a VCS)
9788 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9790 * lyx_main.C (init): honor variables LYX_DIR_13x and
9793 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9797 * lyx_main.C: fix a crash on bad command line,
9798 and give a useful exit status on error
9800 * lyxfunc.C (doImport): allow -i lyx to work
9802 2002-03-30 André Pönitz <poenitz@gmx.net>
9804 * lyxfunc.C: mathed font changes
9806 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9821 * trans_mgr.h: srcdocs, and some minor cleanups
9823 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9826 call getFont all the time)
9828 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9830 * switch from SigC signals to boost::signals
9832 2002-05-29 André Pönitz <poenitz@gmx.net>
9834 * paragraph_pimpl.C (getChar): don't call size() too often...
9836 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9838 * paragraph_pimpl.C (insertChar): do not try to update tables when
9839 appending (pos == size())
9841 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9842 in order to reduce drastically the number of comparisons needed to
9843 parse a large document
9845 2002-05-29 André Pönitz <poenitz@gmx.net>
9851 * textclasslist.[Ch]:
9852 * sp_ispell.h: whitespace change
9854 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9857 lyxaction directly now.
9859 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9863 * lyxvc.C: remove unused headers
9865 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9872 * undo_funcs.C: some cleanups. Use shared_ptr
9873 and a template for the undo stacks.
9875 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9877 * BufferView_pimpl.h:
9878 * BufferView_pimpl.C:
9885 * text2.C: use key_state/mouse_state
9887 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9892 * chset.C: change include order
9893 (loadFile): use boost regex and get rid of LRegex and LSubstring
9895 * Makefile.am (BOOST_LIBS): new variable
9898 * LaTeX.C: change include order.
9899 (scanAuxFile): use boost regex and get rid of LRegex and
9903 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9908 * FontInfo.C: moved to frontends/xforms/
9911 * FontLoader.C: moved into frontends for GUIIzation
9916 * lyxfunc.C: changes from above
9918 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9920 * LColor.C: remove spurious X include
9922 * BufferView_pimpl.C:
9927 * text2.C: move font metrics to frontends/
9929 2002-05-24 Juergen Vigna <jug@sad.it>
9931 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9932 setting the undo_cursor.
9934 * ParagraphParameters.h: include local includes first.
9936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9938 * BufferView_pimpl.C:
9939 * BufferView_pimpl.h:
9943 * screen.C: move WorkArea into frontends/
9949 * BufferView2.C: move LyXScreen into frontends/
9953 * lyx_gui.C: move lyxlookup into frontends/xforms/
9955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9958 * BufferView_pimpl.C:
9968 * bufferview_funcs.C:
9981 * vc-backend.C: move LyX/XFormsView into frontends/
9983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9995 * text2.C: move Painter to frontends/
9997 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9999 * buffer.C: comment out some some code that depend upon lyx_format
10002 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10003 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10005 * buffer.h (NO_COMPABILITY): turn off compability
10007 * ColorHandler.C: include scoped_array.hpp
10009 * font.C: Use more specific smart_ptr header.
10012 * ShareContainer.h: ditto
10013 * lyx_main.h: ditto
10015 * FontInfo.h: ditto
10016 * BufferView_pimpl.h: ditto
10017 * ColorHandler.h: ditto
10019 * kbmap.C (defkey): change call to shared_ptr::reset
10021 2002-05-21 Juergen Vigna <jug@sad.it>
10023 * buffer.C (insertErtContents): fix to insert ert asis if it is
10024 non empty. Skip it completely if it contains only whitespaces.
10026 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10028 * BufferView_pimpl.C:
10029 * BufferView2.C: clear selection on paste (bug 393)
10031 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10033 * DepTable.C: include ctime
10035 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10037 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10039 2002-05-14 Juergen Vigna <jug@sad.it>
10041 * text.C (breakParagraph): fixed function to honor the keepempty
10042 layout in the right maner and also to permit the right breaking
10043 algorithm on empty or non empyt keepempty paragraphs.
10045 * paragraph.C (breakParagraph): we have to check also if the par
10046 is really empty (!size()) for isempty otherwise we do the wrong
10049 2002-05-10 Juergen Vigna <jug@sad.it>
10051 * buffer.[Ch] : The following are only changes to the ert
10052 compatibility read reading old LaTeX layout and font stuff and
10053 convert it to ERTInsets.
10055 * buffer.h: added isErtInset().
10057 * buffer.C (struct ErtComp): add a fromlayout bool to check
10058 if we're inside a LaTeX layout.
10059 (isErtInset): new helper function.
10060 (insertErtContents): look for other ert insets before this one
10061 and insert the contents there, so that we don't have subsequent
10062 ERT insets with nothing between them. This way we create only one
10063 inset with multiple paragraphs. Also check if we don't insert only
10064 spaces ' ' as they are ignored anyway afterwards in the .tex file
10065 so if we have only spaces we will ignore this latex part in the
10067 (parseSingleLyXformat2Token \\layout): better compatibility when
10068 reading layout-latex stuff.
10069 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10071 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10072 stuff after reading the inset only get the information back from
10075 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10077 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10079 * LaTeXFeatures.C (getBabelOptions): New method.
10081 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * BufferView_pimpl.C (Dispatch): work around missing argument for
10086 2002-05-08 Juergen Vigna <jug@sad.it>
10088 * text.C (leftMargin): handle paragraph leftindent.
10090 * paragraph.C (writeFile): write the new \\leftindent tag.
10091 (validate): handle leftindent code.
10092 (TeXEnvironment): handle paragraphleftindent code again.
10094 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10096 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10097 for paragrap_extra indent code and new token \\leftindent.
10098 (latexParagraphs): handle the leftindent as environment.
10100 * ParameterStruct.h: added leftindent support.
10102 * ParagraphParameters.C (leftIndent): added support functions for
10103 the paragraph left indent.
10105 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10108 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10110 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10113 * text.C (computeBidiTables): No bidi in insetERT.
10115 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10118 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10120 * version.C.in: pre 5
10122 2002-05-02 José Matos <jamatos@fep.up.pt>
10123 * buffer.C (makeDocBookFile): white space changes, add newline to
10125 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10127 * tabular.C (docBook): fix typo.
10129 2002-05-03 Juergen Vigna <jug@sad.it>
10131 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10132 change in LyXText as we can not be sure it was not freed.
10133 (drawOneRow): remove unused code.
10135 * text.C (drawInset): redo the calculation of the need_break_row as
10136 it could have a row which was already freed.
10137 (draw): look at the return value of drawInset and return false if
10138 it also returned false.
10139 (paintRowText): look at the return value of draw and return false if
10140 it also returned false.
10142 * lyxtext.h: added bool return type to drawInset() and draw() so that
10143 if we have a change in the row so that the rowbreak has to be redone
10144 we abort drawing as it will be called again.
10146 2002-05-02 Juergen Vigna <jug@sad.it>
10148 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10149 a change in the maintext also if we're inside an inset.
10150 (Dispatch): set the cursor again after a break line and after the
10151 screen has been updated as it could be we're in a different row.
10153 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10154 to set the cursor behind the pargraph with > size().
10155 (setCursor): check also for the same paragraph when checking where
10156 to put the cursor if we have a NFR inset.
10158 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10159 parts of layout read further up as it still was in the wrong
10162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10164 * screen.C (drawFromTo): change sine fullRebreak always return
10167 * buffer.C (parseSingleLyXformat2Token): reindent some
10169 * BufferView_pimpl.C (update): change since fullRebreak always
10171 (Dispatch): git rid of the last hardcoded "Standard"s.
10173 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * text2.[Ch] (fullRebreak): make it return void now that we always
10178 2002-04-30 Juergen Vigna <jug@sad.it>
10180 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10181 ert compatibility check for "latex" layout.
10183 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10185 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10186 minipages: use col% instead of p%, and also use the current font.
10187 (makeLaTeXFile): Fix use babel condition.
10188 (parseSingleLyXformat2Token): Correct font when reading old floats.
10190 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10192 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10193 inserting list of floats.
10195 2002-04-25 Herbert Voss <voss@lyx.org>
10197 * MenuBackend.C (expand): don't add the graphics extensions to the
10200 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10203 non-existing layout, do not complain if it was the default layout
10204 of the original class (bug #342)
10206 2002-04-24 Juergen Vigna <jug@sad.it>
10208 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10209 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10211 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10213 * buffer.C (getBibkeyList): If using \bibliography, return the
10214 option field with the reference itself. Enables us to provide natbib
10215 support when using \bibliography.
10217 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10219 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10221 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10222 natbib is provided by the LaTeX class.
10224 2002-04-23 Juergen Vigna <jug@sad.it>
10226 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10229 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10231 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10233 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10235 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10236 ensuremath around textordmasculine, textordfeminine and
10239 2002-04-19 Juergen Vigna <jug@sad.it>
10241 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10242 reinitializing the buffer otherwise row-dimensions may be wrong.
10243 (update): reset also the selection cursors if they do exits otherwise
10244 their x/y positions may be wrong.
10246 * text2.C (cursorDown): don't enter the inset if we came from a row
10247 above and are one row over the inset.
10249 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10250 really leaving an inset.
10252 2002-04-18 Juergen Vigna <jug@sad.it>
10254 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10255 of the selected paragraph does not have the selected layout also if
10258 * text2.C (setLayout): fixed bug which did not change last selected
10261 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10262 changed the read and substituted \\end_float with \\end_inset!
10264 * BufferView_pimpl.C (cursorPrevious):
10265 (cursorNext): fixed to make it work with rows heigher than the work
10266 area without moving the cursor only the draw of the row.
10267 (workAreaMotionNotify): fix jumping over high rows.
10269 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10271 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10274 2002-04-16 Juergen Vigna <jug@sad.it>
10276 * text2.C (setCursor): set also the irow().
10277 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10279 (cursorDown): support for locking an inset if the x_fix value goes
10280 inside it. That way I can transverse insets too with cursor up/down.
10282 * lyxrow.h: added irow helper function same as other (i) functions.
10284 * BufferView_pimpl.C (cursorPrevious):
10285 (cursorNext): fixed for insets!
10287 2002-04-15 Juergen Vigna <jug@sad.it>
10289 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10290 position otherwise it is wrong in some cases.
10292 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10293 inside the inset before the call.
10295 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10297 * buffer.[Ch] (getBibkeyList): make it const.
10299 2002-04-12 Juergen Vigna <jug@sad.it>
10301 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10303 * text2.C (getCursorX): new helper function
10304 (setCursor): compute also ix_
10305 (setCursorFromCoordinates): set also ix.
10307 * lyxcursor.h: added ix_ and helper functions.
10309 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10311 * buffer.C (insertStringAsLines): dont break paragraph if the this
10312 paragraph is inside an inset which does not permit it!
10314 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10315 also with no chars on this paragraph.
10316 (paintRowText): only paint stuff if it's inside the workarea!
10318 * paragraph.C (breakParagraph): honor keepempty flag and break the
10319 paragraph always below not above.
10321 * BufferView2.C (unlockInset): update the paragraph layout on inset
10322 unlock as we changed paragraph in such a case.
10324 * lyxfind.C (LyXFind): clear the former selection if not found!
10326 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10327 again called in insertChar().
10329 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10330 an inset which uses the whole row!
10331 (rightMargin): ditto.
10332 (insertChar): force a rebreak if we inserted an inset!
10334 2002-03-28 Herbert Voss <voss@lyx.org>
10336 * lyxlength.[Ch]: add inBP() to get the right PS-point
10337 units (BigPoint). With inPixels we have rounding errors
10339 2002-04-11 Juergen Vigna <jug@sad.it>
10341 * text2.C (setCursorFromCoordinates): set iy to the right value.
10342 (setCursor): add check if row->previous exists!
10344 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10345 an old float_type as this was the case in the old code!
10347 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10349 * BufferView2.C (showLockedInsetCursor): use iy
10350 (fitLockedInsetCursor): ditto
10352 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10353 locked insets as there we have the right value now.
10355 * lyxcursor.C: added iy_ variable and iy functions to set to the
10356 baseline of cursor-y of the locked inset.
10358 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10359 (setCursor): fixed for insets which need a full row.
10361 * text.C (rowLastPrintable): don't ignore the last space when before
10362 an inset which needs a full row.
10363 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10364 as last character of a row when before a inset which needs a full row.
10366 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * version.C.in: update date
10370 * text2.C (fullRebreak): try to always return true and see what
10373 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10375 * MenuBackend.C (expand): use Floating::listName
10377 * FloatList.C (FloatList): add listName argument to the built-in
10380 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10381 text associated with the float.
10383 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10387 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10389 * ShareContainer.h: add a couple of missing typenames.
10391 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10393 * lyxrc.C (getDescription): use _() correctly rather than N_().
10395 2002-03-28 Herbert Voss <voss@lyx.org>
10397 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10398 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10400 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10403 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10405 2002-03-29 Juergen Vigna <jug@sad.it>
10407 * lyxfunc.C (dispatch): add a missing fitCursor call.
10409 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10410 it was scrolled by a cursor move, so return the bool status.
10412 * BufferView.C (fitCursor): return the bool flag also to the outside
10413 world as this is needed.
10415 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10417 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10418 call the edit() as it is not needed (and wrong) IMO.
10419 (workAreaButtonPress): set the screen_first variable before evt.
10420 unlock the inset as this may change screen_first and then we have
10421 a wrong y position for the click!
10423 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * MenuBackend.C (expand): another translation that I missed
10427 2002-03-28 Juergen Vigna <jug@sad.it>
10429 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10431 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10433 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10437 * MenuBackend.C (expand): fix export/view/update when there is no
10440 2002-03-27 Herbert Voss <voss@lyx.org>
10442 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10445 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * bufferview_funcs.C (currentState): only show paragraph number
10448 for is DEVEL_VERSION is set.
10450 * lyxfunc.C (dispatch): put warning in INFO channel
10452 * MenuBackend.C (expand): translate the name of floats
10454 * FloatList.C (FloatList): mark the float names for translation
10456 * converter.C (convert): use LibScriptSearch
10458 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10460 * MenuBackend.C (defaults): fix default menu (we might as well get
10463 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10468 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * lyxvc.C: reorder includes.
10472 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10474 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10477 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10479 * CutAndPaste.C: change layouts earlier on paste
10480 to avoid crashing when calling getFont()
10482 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10484 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10487 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10489 * WorkArea.C: remove 'Pending' debug message.
10491 * most files: ws cleanup
10493 * buffer.[Ch]: ws changes
10495 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10497 2002-03-21 Juergen Vigna <jug@sad.it>
10499 * tabular.C (SetMultiColumn): collapse also the contents of the
10500 cells and set the last border right. Added a Buffer const * param.
10502 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10504 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10507 2002-03-19 Juergen Vigna <jug@sad.it>
10509 * text2.C (clearSelection): reset also xsel_cache.
10511 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10512 where it needs to be called (John tells us to do so too :)
10513 (selectionLost): reset sel_cache.
10515 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10517 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10519 * text2.C (setCursorIntern): put debuging code in INSETS channel
10521 2002-03-19 André Pönitz <poenitz@gmx.net>
10523 * lyxfunc.C: tiny whitespace change
10525 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * ToolbarDefaults.C (init):
10528 * LyXAction.C (init):
10530 * BufferView_pimpl.C (Dispatch):
10531 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10533 2002-03-19 Allan Rae <rae@lyx.org>
10535 * exporter.C (Export): removeAutoInsets before doing anything else.
10536 While I've just introduced a dependency on BufferView this really is
10537 the best place to clean the buffer otherwise you need to cleanup in
10538 a dozen places before calling export or cleanup in a dozen functions
10541 * converter.C (runLaTeX):
10542 (scanLog): Better handling of removeAutoInsets and screen updates.
10544 * lyxfunc.C (dispatch): small whitespace changes
10546 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * WorkArea.C (C_WorkAreaEvent): return a value.
10549 (event_cb): return 1 if we handled the event, 0 otherwise.
10551 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10553 2002-03-18 Juergen Vigna <jug@sad.it>
10555 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10556 (GetAdditionalWidth): ditto.
10557 (RightLine): ditto.
10560 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10561 inset if we're there actually (probably not used right now but this
10562 is the direction to go for unifying code).
10563 (paste): disable code to clear the selection.
10565 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10566 inside an InsetText and move the check further up as it is in the
10569 * text2.C (pasteSelection): set a selection over the pasted text.
10571 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10573 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10574 and libgraphics to build on Cygwin.
10576 2002-03-15 Juergen Vigna <jug@sad.it>
10578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10579 inserting an Inset into the paragraph. I know this is not the best
10580 fix but we already use current_view in CutAndPaste so we will remove
10581 all of it's using at the same time.
10583 * buffer.C (sgmlError): deactivated function till it is rewritten in
10584 the right mode, now it can create problems.
10586 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10587 before accessing it.
10589 2002-03-14 Juergen Vigna <jug@sad.it>
10591 * undo_funcs.C (textHandleUndo): do the right thing when updating
10592 the inset after the undo/redo.
10594 * text2.C (setCursor): just some testcode for #44 not ready yet.
10596 * undo_funcs.C (textHandleUndo): set the next() and previous()
10597 pointers of the paragraph to 0 before deleting otherwise we have
10598 problems with the Paragraph::[destructor].
10600 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10601 on a paragraph insertion.
10603 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * buffer.C (asciiParagraph): use += operator for char append to
10608 * paragraph.C (getFontSettings): compare >= not just >
10609 (highestFontInRange): ditto
10612 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10614 * paragraph.C: change several algorithm to be more appripriate for
10615 the problem domain. This is lookip in FontList and in the InsetList.
10617 2002-03-13 André Pönitz <poenitz@gmx.net>
10620 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10622 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10627 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10629 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10631 * Painter.C (display): anon helper function, adjust code for this
10633 (pixmap): remove function.
10635 * Painter.h: remove private display variable.
10637 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10639 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10641 * WorkArea.[Ch]: remove figinset_canvas cruft.
10643 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10645 * lyxtextclass.C (operator): add one item cache optimization.
10647 * bufferlist.h: doxy changes
10649 * bufferlist.C: ws changes
10651 * DepTable.[Ch] (ext_exist): place const in the right spot.
10653 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10655 (workAreaExpose): call resizeInsets when the with BufferView changes.
10656 (Dispatch): adjust for protectedBlank removal
10657 (specialChar): call updateInset if the insert went ok.
10659 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10660 specialChar instead.
10662 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10664 * BufferView.h: doxy change
10666 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10668 * lyxtextclass.C (operator[]): remove non-const version
10669 (defaultLayout): remove non-const version
10671 2002-03-12 Juergen Vigna <jug@sad.it>
10673 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10674 did resize the LyXText too.
10676 * buffer.C (readLyXformat2): set layout information on newly allocated
10679 * tabular.C (OldFormatRead): set layout information on the paragraph.
10681 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10683 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10685 2002-03-11 Juergen Vigna <jug@sad.it>
10687 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10689 (resizeCurrentBuffer): force also the insets to resize themselfes.
10690 (moveCursorUpdate): fixed up for InsetText.
10692 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10695 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10696 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10697 value of Dialogs::tooltipsEnabled().
10698 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10700 2002-03-08 Juergen Vigna <jug@sad.it>
10702 * BufferView_pimpl.C (updateInset): update inset inside inset also
10703 if it isn't inside theLockingInset().
10705 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * buffer.C (asciiParagraph): redo some of the word and line length
10709 (getLists): look for Caption instead of caption.
10711 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10713 * buffer.C (Buffer): initialize niceFile to true
10715 (makeLinuxDocFile):
10716 (makeDocBookFile): make sure niceFile is true on exit
10718 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10722 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10724 * LyXSendto.C: remove.
10725 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10726 * lyx_gui.C: remove now-redundant comment.
10727 * ColorHandler.h: remove forward declaration of class WorkArea.
10728 * lyxfunc.C: remove #include "WorkArea.h".
10730 2002-03-07 Juergen Vigna <jug@sad.it>
10732 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10733 got moved away with the DEPM and also set the inset_owner always
10734 right which before could have been omitted.
10736 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10739 wanted layout is not found.
10741 2002-03-07 Juergen Vigna <jug@sad.it>
10743 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10745 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10747 * paragraph.C (breakParagraph): use default layout not layout of
10749 (Paragraph): clear ParagraphParameters.
10751 2002-03-06 Juergen Vigna <jug@sad.it>
10753 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10754 otherwise it would not be a valid lenght. Fixed a special case in
10755 the minipage compatibility read where we end the document with a
10758 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10759 was set as it could be 0 for InsetTexts first entry.
10761 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10763 * paragraph.C (writeFile): if layout is empty write out
10764 defaultLayoutName().
10766 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10767 file without named layout we set layout to defaultLayoutName().
10769 2002-03-06 Juergen Vigna <jug@sad.it>
10771 * CutAndPaste.C (copySelection): set layout for new paragraph.
10773 * text.C (prepareToPrint): leave ERT inset left aligned
10774 (leftMargin): don't indent paragraphs inside ERT insets
10776 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10778 * paragraph.C (breakParagraph): dont call clear do the work manually
10780 * paragraph.[Ch] (clear): remove function
10782 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * paragraph.C (Paragraph): dont call clear, the work has already
10787 * lyxtextclass.C (operator): assert if n is empty
10789 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10790 work manually instead.
10792 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10794 * BufferView_pimpl.C: protect selectionLost against text == 0
10796 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10798 * text.C (breakParagraph): fix a setting layout to '0' problem.
10800 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10802 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10803 final location of file, for the included files, and graphics.
10805 2002-03-05 Juergen Vigna <jug@sad.it>
10807 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10809 2002-03-04 Juergen Vigna <jug@sad.it>
10811 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10813 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10814 last column of multicolumn cells.
10815 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10817 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10819 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10820 file if it doesn't go to a temporary file.
10822 * buffer.C (sgmlOpenTag):
10823 (sgmlCloseTag): remove extra newline insertion.
10825 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * text.C (getRowNearY): comment out debug msg
10829 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10831 * text2.C: first -> first_y
10833 * text.C (getRowNearY): add some attemts at a possible
10834 optimization, not working.
10836 * tabular.[Ch]: add BufferParams to several function so that newly
10837 created paragraph can be initialized to he default layotu for the
10840 * tabular-old.C (ReadOld): add buf->params to call of Init
10842 * screen.C: rename text->first to text->first_y
10844 * paragraph.C (breakParagraph): always set layout in the broken
10847 * lyxtextclass.C (Read): remove lowercase
10850 (delete_layout): ditto
10852 * lyxtext.h: rename first -> first_y
10854 * lyxlayout.C (Read): remove lowercase
10857 (obsoleted_by): ditto
10859 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10861 * buffer.C (insertErtContents): add params are to InsetERT
10862 (parseSingleLyXformat2Token): add code to check if a paragraphs
10863 layout really exist.
10864 (parseSingleLyXformat2Token): add params to several inset
10866 (asciiParagraph): remove lowercase, do the layout comparisons with
10869 * BufferView_pimpl.C (cursorNext): first -> first_y
10870 (resizeCurrentBuffer): first -> first_y
10871 (updateScrollbar): first -> first_y
10872 (scrollCB): first -> first_y
10873 (workAreaMotionNotify): first -> first_y
10874 (workAreaButtonPress): first -> first_y
10875 (checkInsetHit): first -> first_y
10876 (cursorPrevious): first -> first_y
10877 (cursorNext): first -> first_y
10878 (Dispatch): add buffer_->params to severl inset contructors
10880 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10882 * lyxlayout.C (Read): remove some debug info that I forgot.
10884 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10885 clean up the code slightly.
10886 (makeLinuxDocFile): ditto
10887 (makeDocBookFile): ditto
10889 * text2.C: layout as string
10891 * text.C: layout as string
10893 * paragraph_pimpl.C: layout as string
10895 * paragraph.[Ch]: layout as string
10897 * lyxtextclasslist.[Ch]: layout as string
10899 * lyxtextclass.[Ch]: layout as string
10901 * lyxtext.h: layout as string
10903 * lyxlayout.[Ch]: layout as string
10905 * lyx_cb.C: layout as string
10907 * bufferview_funcs.C: layout as string
10909 * bufferparams.C: layout as string
10911 * buffer.C: layout as string
10913 * LyXView.[Ch]: layout as string
10915 * LaTeXFeatures.[Ch]: layout as string
10917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10919 * BufferView_pimpl.C: change current_layout to string, remove
10924 (workAreaButtonRelease): layout as string
10926 * BufferView2.C (unlockInset): adjust
10928 * vspace.C (asLatexCommand): use an explict temp variable.
10930 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10932 * Makefile.am: use FRONTEND_*
10934 2002-03-01 Juergen Vigna <jug@sad.it>
10936 * tabular.C (SetWidthOfMulticolCell): changed to something better
10937 I hope but still work in progress.
10938 (recalculateMulticolumnsOfColumn): renamed function from
10939 recalculateMulticolCells as it is more appropriate now.
10940 (SetWidthOfCell): calculate multicols better.
10942 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10944 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10946 * lyxfunc.C (processKeySym): print sequence also if it is
10947 `deleted' (complete)
10949 * kbsequence.C (print): print sequence even if it is deleted
10950 (complete would be a better word, actually).
10952 * lyxfunc.C (dispatch): print complete options after a prefix key
10954 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10956 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10958 * text2.C (setCharFont): eliminate setCharFont code duplication.
10960 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10963 LFUN_TABULAR_FEATURE (bug #177)
10965 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10967 * Makefile.am: remove figure.h
10969 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10971 * Bufferview_pimpl.C:
10983 * text2.C: remove #include "lyx_gui_misc.h".
10985 * LaTeX.C: added #include <cstdio>
10987 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10989 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10990 that the paragraph following this one can have.
10992 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10994 * vspace.C (asLatexCommand): fix bogus gcc warning
10996 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10998 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11000 * text2.C (setLayout): get rid of redundant code
11002 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11004 * text2.C (incDepth): make sure depth cannot be increased beyond
11007 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11009 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11010 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11012 * PainterBase.h (image):
11013 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11014 a LyXImage const *.
11016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11020 * BufferView_pimpl.C:
11021 * BufferView_pimpl.h:
11041 * sp_spell.C: remove fig inset, and the crap house of
11042 cards that follows it
11044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11049 * os2_errortable.h:
11050 * nt_defines.h: move .h into support/
11052 * vms_defines.h: remove
11054 * WorkArea.C: add space in debug output
11058 * buffer.C: add WITH_WARNINGS
11062 * bufferlist.C: s/retrive/retrieve/, add docs
11071 * chset.C: add docs
11073 * lyxgui.C: add ID to X error handler
11075 * lyxtestclass.c: fix typo
11077 2002-02-26 Juergen Vigna <jug@sad.it>
11079 * tabular_funcs.C (write_attribute): changed so that some default
11080 attributes are not written at all.
11081 (getTokenValue): set default values before trying to read the
11082 value so we have the return value always set as default if we don't
11083 find the token we search for.
11085 * tabular.C (Write): write bools as bools not as strings!
11087 2002-02-22 Juergen Vigna <jug@sad.it>
11089 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11090 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11092 * text.C (leftMargin): don't add an indent for paragraphs inside
11093 tabular cells (fix #208).
11095 2002-02-21 José Matos <jamatos@fep.up.pt>
11097 * tabular.C (docBook): fixed support for long tables.
11099 2002-02-20 Juergen Vigna <jug@sad.it>
11101 * text2.C (getFont): get the drawing font of the Inset if this
11102 paragraph is inside an inset (only important for InsetERT for now).
11104 * buffer.C (insertErtContents): use new lanugage params in ERT
11107 * CutAndPaste.C: commenting out seemingly uneeded code.
11109 2002-02-19 Allan Rae <rae@lyx.org>
11111 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11112 Iterators might be simple to use but they also get invalidated.
11113 (removeAutoInsets): renamed saved cursor tracking variables and added
11114 some comments to clarify what everything does.
11116 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11123 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11124 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11127 * vc-backend.h: remove #include "support/syscall.h"
11131 * converter.C: rearrange #includes in Lars' approved fashion.
11133 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11134 forward declare class Timeout in the header file.
11136 * XFormsView.C: changes due to the above.
11138 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11139 similar to LyXView.
11141 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11142 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11144 2002-02-18 José Matos <jamatos@fep.up.pt>
11146 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11149 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11151 * a lot of small ws changes
11152 * add a lot of using std::XXX
11153 * use std construcs some places where approp.
11154 * use some exisint stuff from lyxfunctional where approp.
11155 * Make file changes to use partial linking (lets test this now...)
11157 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11161 remove #include "support/syscontr.h" as it's redundant. Always has been.
11169 change Systemcalls::System to Systemcalls::Wait and
11170 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11171 No change of functionality, just reflects the stripped down Systemcalls
11174 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11176 * debug.[Ch]: add a GRAPHICS type to the enum.
11178 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11180 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11182 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11185 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11188 match the changes below.
11190 * text2.C (toggleInset): if there is not editable inset at cursor
11191 position, try to see if cursor is _inside_ a collapsable inset
11194 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11196 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11197 document menu has a nice checkbox
11199 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11201 * lyxlength.C (asLatexString): change PW to output as percent of
11204 * lengthcommon.C: change '%' to 't%'
11206 * lyxfunc.C (dispatch): a few comments from Martin
11208 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11212 * BufferView_pimpl.h:
11213 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11216 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * vspace.C (inPixels): fix compiler warning
11220 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11222 * lyxfunc.C (getStatus): fix status message for disabled commands.
11224 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11226 * BufferView_pimpl.C: fix crash on close buffer
11227 during selection (#227)
11229 2002-01-27 Herbert Voss <voss@lyx.org>
11231 * buffer.C: link old Figure to new graphic inset
11233 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11235 * FontLoader.C (getFontinfo): Change the latex font names in order
11236 to match the names of type1inst.
11238 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11240 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11242 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11243 (extchanged): ditto
11245 (remove_files_with_extension): ditto
11246 (remove_file): ditto
11249 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11250 document is smaller than the work area height. Do not initialize
11251 static variables to 0.
11253 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11255 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11257 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11258 LFUN_LAYOUT_PARAGRAPHS.
11260 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11261 tabular. It is possible to provide a possible cell, which will
11262 typically be the actcell from the corresponding insettabular
11264 * lyxfunc.C (getStatus): small cleanup; disable
11265 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11268 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11272 * paragraph.C (startTeXParParams):
11273 (endTeXParParams): new methods. The LaTeX code to
11274 start/end paragraph formatting
11275 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11276 empty (fixes bug #200)
11278 * vspace.C (inPixels): adapt to the change below
11279 (inPixels): [later] more cleanups (remove unused variables)
11281 * lyxlength.C (inPixels): change to use a width and a height as
11284 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11287 Replaced with \paperwidth
11289 * DepTable.C (insert): add std:: qualifier
11291 2002-01-18 Allan Rae <rae@lyx.org>
11293 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11296 * text.C (drawInset): Turned out I didn't know enough about how
11297 rebreaking worked. This fixes most of the redraw problems. I see
11298 an occasional cursor trail when a line is broken now and the cursor
11299 placement can seem out by a few pixels also after a rebreak.
11301 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * buffer.C (parseSingleLyXformat2Token): update because minipage
11304 width is now a LyXLength
11306 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11308 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11311 2002-01-17 Juergen Vigna <jug@sad.it>
11313 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11315 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11316 is set correctly and the inset is updated correctly.
11318 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11320 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11321 the beginning of the loop.
11323 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11325 * lyxrc.C: improve help for use_scalable_fonts
11327 2002-01-17 Allan Rae <rae@lyx.org>
11329 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11331 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11334 make sure to set their inset_owner to the right value (bug #171)
11336 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11339 * DepTable.C: Implement mtime checking to reduce time spent doing
11342 2002-01-16 Juergen Vigna <jug@sad.it>
11344 * tabular.C (GetAdditionalHeight): one of error fixed.
11346 * lyxrc.C (output): small fix in writing use_pspell.
11348 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11350 * sp_base.h: #include LString.h
11352 2002-01-16 Allan Rae <rae@lyx.org>
11354 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11355 Can someone check this please?
11357 * text.C (drawInset): It was possible that p.row would be removed by
11358 breakAgainOneRow upsetting a few other settings. There may be another
11359 small tweak possible by setting need_break_row = 0 when p.row has been
11360 removed but I don't know enough about the logic here.
11362 2002-01-15 Allan Rae <rae@lyx.org>
11364 * text.C (insertChar): removed conditional truism.
11366 * BufferView2.C (removeAutoInsets): More tweaks.
11367 cur_par_prev could be a stray pointer. Check for trailing empty line
11368 in case last line was cur_par and only had an error inset on it.
11370 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11372 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11375 * vc-backend.C (most methods):
11376 * exporter.C (Export):
11377 * converter.C (convert):
11379 * LyXSendto.C (SendtoApplyCB):
11380 * lyxfunc.C (dispatch):
11384 * lyx_cb.C (AutoSave):
11386 * BufferView_pimpl.C (MenuInsertLyXFile):
11387 * buffer.C (runChktex): use Buffer::filePath().
11389 * buffer.h: rename filename to filename_; rename filepath to
11390 filepath_ and make it private
11391 (filePath): new method
11393 * buffer.C (writeFile): use fileName()
11396 * lyx_main.C (init): fix starting of LyX when the binary is a
11397 link from so,ewhere else.
11399 * minibuffer.C: include <cctype> for isprint
11401 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11403 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11404 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11405 name clash with InsetCollapsable's width function.
11407 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * lastfiles.C: include <iterator>
11411 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11413 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11416 * buffer.C (makeLaTeXFile): ditto.
11417 Also make loop operation more transparent.
11419 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11421 * ToolbarDefaults.C: remove trailing comma closing namespace.
11423 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11425 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11428 * trans.C (Load): comment out unused variable, allowed.
11430 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11432 * minibuffer.[Ch] (append_char): new method to recieve input from the
11433 drop-down completion browser. If a key was pressed, then recieve this
11434 char and append it to the existing string.
11435 (peek_event): modify the positioning data passed to the completion
11436 browser so that it can be placed above the minibuffer rather than below.
11437 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11439 * LyXAction.C (init): alloe error-next for readonly documents.
11441 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11444 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11446 * bufferlist.C (readFile): create the buffer _after_ checking that
11449 * lyxfunc.C (verboseDispatch): fix handling of arguments
11451 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11453 * lyxrc.C: use string::erase() instead of initializing to "".
11456 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11458 * BufferView_pimpl.h:
11459 * BufferView_pimpl.C:
11462 * text2.C: tell X when we have made a selection for copying
11464 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11466 * BufferView_pimpl.C (MenuInsertLyXFile):
11467 * lyxfunc.C (menuNew):
11469 (doImport): add shortcuts to directory buttons
11471 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11474 * lyxfunc.C (setStatusMessage):
11475 (getStatusMessage): new methods
11476 (getStatus):use setStatusMessage instead of setErrorMessage
11477 (dispatch): when function is disabled, set error message here
11478 [instead of in getStatus previously]
11480 * BufferView_pimpl.C (workAreaButtonRelease): update
11481 toolbar/menubar here too.
11483 2002-01-13 Allan Rae <rae@lyx.org>
11485 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11486 Now seems indestructible. Remaining task is to audit all other
11487 code affected by deleteEmptyParagraphMechanism. One small quirk
11488 left is that an empty document with an error in the preamble can
11489 be made to report an error but no error box appears. I don't know
11491 (removeAutoInsets): Improved comments.
11493 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11496 * Thesaurus.C: update for Aiksaurus 0.14
11498 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11500 * text2.C (firstParagraph): removed member function, all uses
11501 replaces with ownerParagraph
11502 (redoParagraphs): here
11503 (updateInset): here
11504 (toggleAppendix): here
11505 * BufferView2.C (insertErrors): here
11506 (setCursorFromRow): here
11508 2002-01-13 Allan Rae <rae@lyx.org>
11510 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11511 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11512 There is still a way to segfault this although you may have to do this
11513 multiple times: Have an InsetERT with an unknown command in it.
11514 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11515 <down-arrow>, <Enter> again, View->DVI, BANG!
11517 * text2.C (setCursor):
11518 (deleteEmptyParagraphMechanism):
11519 * lyxtext.h (setCursor):
11520 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11521 Making use of the return value may help fix other bugs.
11523 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11525 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11527 * LyXView.C (updateMenubar): call MenuBar::update here
11528 (updateToolbar): but not here
11529 (showState): do not update toolbar/menubar
11531 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11532 should need to care about that.
11534 * lyxfunc.C (verboseDispatch): simplify a bit
11535 (getStatus): have a version which takes a pseudoaction, and
11536 another which requires a (kb_action,string).
11538 * LyXAction.C (retrieveActionArg): make it work also when action
11539 is not a pseudo-action.
11540 (getActionName): simplify a bit
11543 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11545 * lyxfunc.C (verboseDispatch): new families of methods with
11546 several ways to specify a command and a bool to indicate whether
11547 the command name and shortcut should be displayed in minibuffer
11548 (eventually, we could extend that to a finer bitmask like
11549 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11550 (dispatch): the pristine dispatch command which just, well,
11551 dispatchs! Note it still sets its result to minibuffer; I'm not
11554 * lyxfunc.h: remove setHintMessage
11556 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11558 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11560 * BufferView_pimpl.C (specialChar): delete new inset if we have
11561 not been able to insert it.
11563 * kbmap.C: revert to using int instead of kb_action, since all we
11564 are dealing with is pseudo-actions.
11566 * LyXAction.C (searchActionArg): change to return int instead of
11567 kb_action, since the result is a pseudoaction.
11569 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11571 * buffer.C (insertErtContents): Fix (partially) the font bug.
11573 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11575 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11576 as the other one is broken on my machine!
11578 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11581 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11583 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11585 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11586 reflect their actual use. Provide compatibility code for older lyxrc
11589 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11591 change names of popup font variables in line with the changes to lyxrc.C
11593 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * buffer.C (asciiParagraph): avoid outputing a word twice after
11598 * lyxrc.C (getDescription): document that document_path and
11599 template_path can be empty.
11601 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * LaTeXFeatures.C (getMacros):
11604 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11606 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11608 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11610 (getPackages): rename feature "floats" to "float". Use an array to
11611 iterate over 'simple' features (i.e. just a \usepackage). Add
11612 handling of "amsmath" (renamed from "amsstyle").
11614 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11616 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11619 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11621 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11622 FuncStaus::FuncStatus & FuncStaus::some_method().
11624 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11626 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11627 of the func_satus stuff. Edited and massaged in various ways by
11630 * lyxfunc.C (getStatus): use FuncStatus
11632 2002-01-08 Juergen Vigna <jug@sad.it>
11634 * text.C (nextBreakPoint): use function Inset::isChar().
11636 * paragraph.C (TeXOnePar): use function
11637 Inset::forceDefaultParagraphs.
11639 * buffer.C (latexParagraphs): use function
11640 Inset::forceDefaultParagraphs.
11642 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11644 * lyx_gui.C (init): set the style of the menu popups to
11645 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11647 2002-01-07 Juergen Vigna <jug@sad.it>
11649 * text.C (setHeightOfRow): small fix
11650 (prepareToPrint): don't look at alignment if we don't have the place
11653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11655 * box.C: New file. Move the Box methods and functions out of box.h,
11656 following Lars' suggestion.
11658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11660 * box.h: #include "support/LOstream.h", needed for inlined function.
11663 * lyxtextclasslist.C: added some using std declarations.
11665 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11667 * box.h: make signed dimensions to allow insets wider than
11668 the screen (bug #162)
11670 * BufferView_pimpl.C: add some insetHit debug
11672 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11674 * vc-backend.C: add FIXME
11676 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11678 * lyxfunc.C (getStatus): enable code for showing math font status
11681 2002-01-07 Juergen Vigna <jug@sad.it>
11683 * text.C (nextBreakPoint): removed debug output not needed anymore.
11685 2002-01-06 Juergen Vigna <jug@sad.it>
11687 * text.C (nextBreakPoint): fixed up this function we had this bug
11688 since ever but now hopefully we break row better.
11689 (insertChar): we have to check if an inset is the next char as it
11690 could now happen that a large inset is causing a break.
11692 2002-01-05 Juergen Vigna <jug@sad.it>
11694 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11695 if it doesn't like to be drawed.
11697 2002-01-04 Juergen Vigna <jug@sad.it>
11699 * BufferView2.C (lockInset): forgot to set a cursor.
11701 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11703 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11705 * FormMathsPanel.C:
11708 * form_maths_panel.C:
11709 * form_maths_panel.h:
11710 * form_maths_panel.fd: implemented sub- and super- buttons in math
11713 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11714 (or ^ space) to be used as in TeX (req'd by André).
11716 * lyxfunc.C: Allow ^ and _ again to be used both as
11717 super/subscript (mathed) and as themselves (in text).
11719 2002-01-03 Allan Rae <rae@lyx.org>
11721 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11722 "LyX" or the filename of the current buffer if it has one. This is a
11723 modified form of John Levon's patch.
11725 * XFormsView.C (setWindowTitle): also set icon title.
11727 * LyXView.h (setWindowTitle): signature changed.
11728 * XFormsView.h (setWindowTitle): ditto.
11730 2002-01-02 Juergen Vigna <jug@sad.it>
11732 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11734 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * screen.C (topCursorVisible): introduce a temp var for
11737 text->cursor.row(), handle the case where this row is null. (kindo
11740 * text2.C (setCursor): add a couple of asserts.
11742 * paragraph.h (inset_iterator): add -> operator
11744 * paragraph.[Ch] (autoDeleteInsets): remove member function
11746 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11747 cursor pos correctly and handle inset deletion by itself.
11748 (insertErrors): move iterator declaration out of for expression
11750 * lyxtextclass.C: add <algorithm>
11752 * Makefile.am: added the new files to sources, removed layout.C
11754 * layout.C: removed file
11756 * layout.h: remove LYX_DUMMY_LAYOUT
11758 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11762 * lyxtextclass.[Ch]:
11763 * lyxtextclasslist.[Ch]: new files
11765 * include order changes to a lot of files, also changes because of
11768 2001-12-27 Juergen Vigna <jug@sad.it>
11770 * buffer.C (asciiParagraph): more fixes.
11772 * tabular.C (ascii): make ascii export support export of only the
11773 data separated by a column-delimiter.
11774 (ascii): better support for ascii export.
11776 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11778 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11780 * tabular_funcs.C: use a "using std::getline" instead of the
11781 previous fix from Angus (necessary for cxx + lyxstring)
11783 2001-12-24 Juergen Vigna <jug@sad.it>
11785 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11787 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11788 problems. First check a minipage also if we have some ert-contents
11789 (not only on par->size(), second set the right depth of the paragraph
11790 on the relink to the root-paragraph-list!
11792 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11793 which then did not anymore update the main paragraphs on undo/redo!
11795 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11798 code. Support all font-changing funcs (even those which are not in
11799 menu currently). Support for reporting font settings in
11800 mathed (disabled until Andre provides a function on mathed's side).
11802 * func_status.h (toggle): small helper function to set toggle
11805 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11807 * tabular_funcs.C: getline -> std::getline
11809 2001-12-21 Juergen Vigna <jug@sad.it>
11811 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11812 accessed and could be 0 (I couldn't generate this but it seems
11815 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11818 * tabular_funcs.h: here and include iosfwd
11820 2001-12-20 Juergen Vigna <jug@sad.it>
11822 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11823 inside inset but undo_par was.
11825 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11827 * Thesaurus.C: always include <config.h> in sources.
11831 * box.h: do not include <config.h> in header files
11833 * text.C (paintLastRow): remove unused variable
11835 * text.C (transformChar):
11837 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11839 * Painter.C (text):
11840 * font.C (width): rewrite to use uppercase() instead of
11843 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11845 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11847 * lyxfind.C: clean up of find failure position change
11849 2001-12-20 Juergen Vigna <jug@sad.it>
11851 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11853 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11854 (TeXRow): added to LaTeX a single tabular row.
11855 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11856 (Latex): simplified and finally good LT-h/f support.
11857 (various_functions): just small adaptions for LT-h/f support.
11859 * tabular_funcs.[hC]: added and moved here all not classfunctions
11862 2001-12-19 Juergen Vigna <jug@sad.it>
11864 * tabular.[Ch]: better support for longtabular options (not finished
11867 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11869 * text.C (paintLastRow): use the label font instead of the font of
11870 the last character to compute the size of *_BOX. This makes more
11871 sense and avoids a crash with empty paragraphs.
11872 Use Painter::rectangle to draw EMPTY_BOX.
11874 2001-12-19 Juergen Vigna <jug@sad.it>
11876 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11877 the paragraphs if the replaced paragraph is not the first one!
11878 Tried to delete not used paragraphs but does not work yet so for
11879 now it's inside #ifdef's and by default off!
11881 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * MenuBackend.C: include "lyx_main.h" instead of declaring
11884 lastfiles (actually was declared as LastFiles* instead of a
11887 2001-12-17 Juergen Vigna <jug@sad.it>
11889 * tabular.C (AppendColumn): applied John's fix
11891 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11895 * BufferView_pimpl.h:
11896 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11899 * box.h: new start of class for above
11901 * lyxfunc.C: ignore space-only minibuffer dispatches.
11902 Show the command name when it doesn't exist
11904 * minibuffer.C: don't add empty lines to the history
11906 * minibuffer.C: add a space on dropdown completion
11908 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11910 * text.C: fix line above/below drawing in insets
11912 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * lyxlength.C (LyXLength): Initialize private variables.
11916 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11919 when inserting error insets.
11921 2001-12-13 Juergen Vigna <jug@sad.it>
11923 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11924 actually sometimes the before-paragraph.
11925 (setUndo): don't clear the redostack if we're not actually undoing!
11927 2001-12-06 Juergen Vigna <jug@sad.it>
11929 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11930 and fixed redoing of main paragraph, so we can use it now ;)
11932 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11934 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11939 2001-12-13 André Pönitz <poenitz@gmx.net>
11942 * undo_func.C: minor cleanup
11944 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11947 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11948 font in urw-fonts package which is marked as -urw-fontspecific and
11949 does not work (incidentally, changing the encoding in the
11950 fonts.dir of this package to -adobe-fontspecific fixes the
11953 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11954 is a crash when undoing first paragraph (Juergen, please take a
11955 look). THis does not mean the undo fix is wrong, just that it
11958 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11959 the (Paragraph*) version when needed instead of duplicating the
11962 * text.C (workWidth): use Inset::parOwner to find out where the
11963 inset has been inserted. This is a huge performance gain for large
11964 documents with lots of insets. If Inset::parOwner is not set, fall
11965 back on the brute force method
11967 * paragraph_pimpl.C (insertInset):
11968 * paragraph.C (Paragraph):
11969 (cutIntoMinibuffer): set parOwner of insets when
11970 inserting/removing them
11972 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11974 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11980 * mathed/formulabase.C:
11981 * mathed/math_cursor.[Ch]:
11982 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11985 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * lyxlength.[Ch] (operator!=): new function
11989 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11991 * text.C (workWidth): use Inset::parOwner to find out where the
11992 inset has been inserted. This is a huge performance gain for large
11993 documents with lots of insets. If Inset::parOwner is not set, fall
11994 back on the brute force method
11996 * paragraph_pimpl.C (insertInset):
11997 * paragraph.C (Paragraph):
11998 (cutIntoMinibuffer): set parOwner of insets when
11999 inserting/removing them
12001 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12003 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * tabular-old.C (getTokenValue):
12006 * tabular.C (getTokenValue):
12007 (write_attribute): new versions for LyXLength
12008 (everywhere): adjust the use of widths
12010 * tabular.h: change the type of widths from string to LyXLength
12012 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12014 * paragraph.C: fixed missing line number count when exporting
12015 Environments to LaTeX file
12017 * buffer.C: added informational message for checking line numbers.
12019 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12021 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12022 paragraph, do the 'double space' part, but not the 'empty
12025 * text.C (workWidth): small optimization
12026 (getLengthMarkerHeight): use minimal size for negative lengths.
12028 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12030 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12032 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12034 2001-12-11 André Pönitz <poenitz@gmx.net>
12037 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12039 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12041 * text2.C: keep selection on a setFont()
12043 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12045 * lyx_cb.C: another bv->text misuse, from insert label
12047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12050 * kbsequence.C: re-instate nmodifier mask
12052 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12054 * lyx_main.h: make lyxGUI private.
12056 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12058 * lyxfind.C: place the cursor correctly on failed search
12060 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12062 * text.C (getLengthMarkerHeight): for small heights, the arrows
12063 are not always on top/bottom of the text
12064 (drawLengthMarker): smaller arrows; take the left margin in
12065 account; draw also vfills.
12067 (paintLastRow): remove special code for vfill and standard spaces,
12068 since everything is handled in drawLengthMarker now.
12070 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12072 * buffer.C (insertErtContents): try to handle font and language
12073 interaction a bit better.g
12075 * ColorHandler.C (updateColor): change the hash to cover the whole
12076 LColor enum, ws cleanup
12077 (getGCLinepars): ditto
12078 (getGCLinepars): only lookup in the linecache once.
12080 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12082 * iterators.C (operator++): Make the iterator more robust
12084 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12091 * text.C: better added space drawing
12093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView2.C: fix layout combo update on inset unlock
12098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12100 * Makefile.am: don't compile unused files
12102 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12106 * LyXAction.C: remove old LFUN_LAYOUTNO
12108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12110 * paragraph_pimpl.h:
12111 * paragraph_pimpl.C: isTextAt() doesn't need font param
12113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12116 * lyxlex.C: little cleanup
12118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12120 * BufferView_pimpl.C: fix insertAscii for insets
12122 2001-12-05 Juergen Vigna <jug@sad.it>
12124 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12125 set the right font on the "multi" paragraph paste!
12127 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * lyxlength.C: remove out-commented code.
12135 * BufferView_pimpl:
12149 * vc-backend.C: change "while(" to "while ("
12151 * lyxlength.[Ch]: add zero function to check if length is zero or
12153 * lyxgluelength.C: use it
12155 2001-12-05 Allan Rae <rae@lyx.org>
12157 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12158 Works for 2.95.3, from what I understand of Garst's reports this should
12159 work for other g++ versions. We're screwed if the abs(int) definition
12160 changed between bugfix releases of gcc.
12162 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12164 * text.C: fix chapter label offset !
12166 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12169 * text.C: fix hfill at end of line, clean up
12171 2001-12-04 Juergen Vigna <jug@sad.it>
12173 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12174 that we force an update of the inset and it's owners if neccessary.
12176 2001-12-03 Juergen Vigna <jug@sad.it>
12178 * text.C (rowLast): simplified code
12180 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12182 * lyxfunc.C: fix show options on timeout
12184 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * screen.C (topCursorVisible): scroll half a page when the cursor
12187 reached top of bottom of screen
12189 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12191 * minibuffer.C: deactivate on loss of focus
12193 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * vspace.[Ch] (operator!=): add operator.
12197 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12199 * BufferView_pimpl.C: refuse to open an inset when
12200 there's a selection.
12202 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12204 * BufferView_pimpl.C: allow to click on RHS of full row insets
12206 2001-11-30 Juergen Vigna <jug@sad.it>
12208 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12209 insets for undo reasons.
12211 2001-11-28 André Pönitz <poenitz@gmx.net>
12213 * vspace.[Ch]: cosmetical changes
12215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12225 * kbsequence.C: part re-write of old kb code
12228 * WorkArea.C: remove Lgb_bug_find_hack
12230 2001-11-30 José Matos <jamatos@fep.up.pt>
12232 * buffer.C (makeDocBookFile): add a comment to point a hack.
12233 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12234 Fixed a double write of labels.
12236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12239 * LaTeX.h Fixed bug in LaTeX class where it would not
12240 re-run latex if no depfiles were changed, but the .dvi was removed.
12242 2001-11-28 André Pönitz <poenitz@gmx.net>
12244 * all the files from the change on 2001/11/26:
12245 use lyx::layout_type instead of LyXTextClass::size_type
12246 use lyx::textclass_type instead of LyXTextClassList::size_type
12248 2001-11-29 Juergen Vigna <jug@sad.it>
12250 * text.C: added support for paragraph::isFreeSpacing()
12252 * buffer.C: same as above
12254 * paragraph.h: inserted isFreeSpacing() function to enable
12255 FreeSpacing inside InsetERT.
12257 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12258 of the paragraph's in the cut/copy buffer to 0!
12260 * text2.C (removeRow): remove the assert as it can!
12262 * lyxtext.h: added helper function firstRow returning firstrow and
12263 made firstrow private again.
12265 * BufferView2.C (lockInset): don't relock if we're already locked!
12267 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12268 the only paragraph.
12269 (removeRow): added Assert::(firstrow)
12271 * debug.C: forgot to add INSETTEXT here.
12273 2001-11-28 Juergen Vigna <jug@sad.it>
12275 * sp_spell.C (initialize): changed error text to more general
12276 spellchecker command use (not only ispell!)
12278 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12280 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12284 * vspace.C: initialise lyxgluelength on failure
12286 2001-11-28 Allan Rae <rae@lyx.org>
12288 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12289 declaration & definition that looks like a function declaration.
12291 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * BufferView2.C (copy):
12294 (copyEnvironment): do not clear the selection when doing a copy.
12296 * text.C (paintFirstRow): compilation fix
12298 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12300 * tabular.C (Latex): correct line count when writing latex.
12302 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12304 * paragraph_pimpl.h:
12305 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12312 * LColor.C: change vfillline->added_space
12314 * text.C: add markers and text for added space
12316 * vspace.C: fix comment
12318 2001-11-28 André Pönitz <poenitz@gmx.net>
12320 * paragraph.C: whitespace changes
12321 * all the other files from the change on 2001/11/26:
12322 change *::pos_type into lyx::pos_type
12324 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12326 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12327 language of the document when inserting error insets.
12329 2001-11-26 André Pönitz <poenitz@gmx.net>
12331 * BufferView_pimpl.[Ch]:
12339 * paragraph_pimpl.[Ch]:
12342 * text2.C: reduce header dependencies, introduce type for positions
12344 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12346 * <various>: change to use Alert.h
12348 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12350 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12351 when encountering an unknown token.
12352 (readLyXformat2): Show an error message if there were unknown tokens.
12354 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12357 * BufferView_pimpl.C:
12361 * text2.C: use par->isInset()
12363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12365 * paragraph_pimpl.h:
12366 * paragraph_pimpl.C: cleanup
12368 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12370 * text2.C (removeRow):
12371 * text.C (setHeightOfRow): remove useless (and costly) call to
12374 2001-11-20 Allan Rae <rae@lyx.org>
12376 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12377 Now need Inset*::checkInsertChar() to return true for appropriate
12378 cases so that the characters in the minibuffer will actually be
12381 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * text.C: change the order of the includes.
12384 (workWidth): initialize it at once.
12385 (workWidth): make maxw unsigned
12386 (setHeightOfRow): remove unused variable (inset)
12387 (selectSelectedWord): remove unused variable (inset)
12388 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12390 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12392 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12393 server is not running.
12395 (closeConnection): add debug info when server is disabled.
12397 * ColorHandler.C (getGCForeground): send debug message to GUI
12400 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12402 * kbmap.C (bind): modify because return conventions of
12403 kb_sequence::parse have changed.
12405 * kbsequence.C (parse): only ignore spaces and not any stupid
12406 control character. This avoids tests like s[i] <= ' ', which are
12407 guaranteed to fail with 8bit characters and signed chars.
12408 Change return code to string::npos when there have been no error
12409 (0 was a bad idea when error is at first character)
12411 2001-11-14 José Matos <jamatos@fep.up.pt>
12414 * buffer.C (simpleDocBookOnePar): removed unused argument.
12416 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12419 insets which are part of a word. Paragraph::isLetter takes care of
12420 that now. Use Paragraph::isInset to identify insets.
12421 (selectSelectedWord): do not test for hyphenation break.
12423 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12424 that protected spaces are considered as spaces.
12426 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12429 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12432 * lyxserver.C: fix it. and small cleanup.
12434 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12436 * BufferView_pimpl.C: use inline helpers
12439 * LaTeXFeatures.C: fix typos
12442 * Spacing.C: move spacing_string into class
12444 * ToolbarDefaults.C: move stuff into namespace anon
12446 * layout.h: update enum
12448 * lyxfunc.C: use better debug
12450 * minibuffer.h: fix typo
12454 * WorkArea.C: add and use Debug::WORKAREA
12458 * text2.C: code re-organisation, inline helpers
12460 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12462 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12463 std::vector.empty().
12465 2001-11-09 Allan Rae <rae@lyx.org>
12467 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12468 '\n's after tables. Tabular and ERT inset work now makes this no
12471 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12474 * minibuffer.C: fix crash, improve drop-down completion
12476 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12479 * lyxserver.C: invalidate fd's when doing endPipe()
12481 2001-11-08 José Matos <jamatos@fep.up.pt>
12483 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12484 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12487 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12489 2001-11-07 José Matos <jamatos@fep.up.pt>
12492 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12495 * buffer.C (sgmlOpenTag):
12496 * buffer.C (sgmlCloseTag): removed debug info.
12498 * buffer.h (sgmlOpenTag):
12499 * buffer.h (sgmlCloseTag): made public.
12501 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * buffer.C (saveParamsAsDefaults):
12504 * lyx_cb.C (MenuLayoutSave): remove
12506 * LyXAction.C (init):
12508 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12510 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12512 * buffer.C (setPaperStuff): removed from here...
12514 * bufferparams.C (setPaperStuff): ... and moved there.
12516 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12520 * XFormsView.C: add support for drop-down completion
12522 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12524 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12527 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12532 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12534 * lyx_main.C: change ref to known bugs
12536 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12538 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12539 to work around older babel problems.
12541 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12543 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12545 2001-10-24 Juergen Vigna <jug@sad.it>
12547 * tabular-old.C (ReadOld): below variable changes reflected.
12549 * tabular.[Ch]: added ltType struct for longtable header/footer
12550 defines and changed all instances where they are used. Added
12551 future support for double top/bottom rows.
12553 2001-10-24 José Matos <jamatos@fep.up.pt>
12555 * buffer.h (docbookHandleCaption):
12556 * buffer.C (docbookHandleCaption): removed unused function.
12557 (makeDocBookFile): moved docbook supported version to v4.1.
12559 2001-10-24 José Matos <jamatos@fep.up.pt>
12562 * tabular.C (docbookRow): new function to export docbook code of a row.
12563 (DocBook): now honors the longtable flags.
12565 2001-10-23 José Matos <jamatos@fep.up.pt>
12568 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12569 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12571 * buffer.C (makeLinuxDocFile):
12572 (makeDocBookFile): reworked the preamble, more clean, and with
12573 support for lyx defined entities. Changed the document declaration
12574 to be more XML friendly.
12576 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12577 if we need to output XML that should be done with a filter.
12579 2001-10-22 Juergen Vigna <jug@sad.it>
12581 * sp_pspell.h (class PSpell): add alive function needed in the
12582 controller to see if the spellchecker could be started.
12584 2001-10-22 Juergen Vigna <jug@sad.it>
12586 * buffer.C (insertStringAsLines): modify the font for inserting
12587 chars in certain conditions by calling checkInsertChar(font).
12589 2001-10-19 Juergen Vigna <jug@sad.it>
12591 * text.C (workWidth): use getRow instead of wrong algorithm.
12592 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12594 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12599 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12601 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * text.C (workWidth): do not search for the exact row when
12604 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12605 optimization for big documents.
12607 2001-10-18 Juergen Vigna <jug@sad.it>
12609 * text.C (workWidth): new function with added Inset * parameter.
12611 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12615 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12616 change return type of getColumnNearX.
12619 * text.C (changeRegionCase): use uppercase/lowercase instead of
12622 (rightMargin): simplify code by factoring out the uses of
12627 (appendParagraph): use Paragraph::size_type
12629 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12631 * vspace.C (asLatexString): add a missing break
12633 2001-10-15 Herbert Voss <voss@perce.de>
12635 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12637 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12639 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12642 2001-10-10 André Pönitz <poenitz@gmx.net>
12644 * lyxfunc.C: removed greek_kb_flag.
12646 2001-10-10 Herbert Voss <voss@perce.de>
12648 * lyx_main.C: delete global string help_lyxdir.
12650 2001-10-09 Herbert Voss <voss@perce.de>
12652 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12654 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12656 * lyx_main.C: added global string help_lyxdir.
12658 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12660 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12662 * lyxrc.C (set_font_norm_type): support iso8859-4
12664 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12666 * LaTeX.C (deplog): add another regex for MikTeX
12668 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12670 * lyxrc.C (set_font_norm_type): support iso8859-3
12672 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12674 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12676 * LaTeXFeatures.C: remove special case of french and index
12678 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12679 before \begin{document}). This solves several incompatibilities.
12681 2001-10-03 Garst Reese <reese@isn.net>
12683 * lyx_cb.C: change CheckTex error msg.
12685 2001-10-03 José Matos <jamatos@fep.up.pt>
12687 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12689 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12691 * .cvsignore: update
12693 * lyx_main.C (commandLineVersionInfo): use new style version info.
12695 * buffer.C (writeFile):
12697 (makeLinuxDocFile):
12698 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12700 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12702 * version.h: update to use stuff in version.C
12704 * version.C.in: new file. Contains version information determined
12705 at compile time. This is a merging of version.h and
12708 2001-10-03 Juergen Vigna <jug@sad.it>
12710 * BufferView_pimpl.C (update): don't change "dirty" status in
12713 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12715 * WorkArea.C (c-tor): re-position version string slightly.
12717 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12719 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12720 revert to previous code.
12722 WorkArea.[Ch]: (show, destroySplash): methods removed.
12724 WorkArea.C: rework code so that it's an amalgam of the codes before and
12725 after the splash screen was moved to WorkArea.
12727 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12730 * vspace.C (inPixels):
12733 * buffer.C (insertStringAsLines):
12734 (asciiParagraph): fix types to be large enough
12736 * lyxlex_pimpl.h: change member status from short to int
12738 * layout.h: fix type of endlabeltype
12741 * kbsequence.C (parse): change return type to string::size_type
12743 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12746 * Bullet.C (bulletSize):
12747 (bulletEntry): do not use short ints as parameters
12749 * BufferView2.C (insertLyXFile): change a char to an int.
12751 * WorkArea.C (WorkArea): remove unneeded floats in computation
12753 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12755 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12757 * paragraph.C (asString): Do not ignore newline/hfill chars when
12758 copying to the clipboard.
12760 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12762 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12763 after a multi-line inset.
12765 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12767 * paragraph.C (validate): Set NeedLyXFootnoteCode
12769 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12771 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12772 and decrease-error to decrease.
12774 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12776 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12777 it more readable (should be equivalent)
12779 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12781 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12783 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12786 of a cursor (row, etc.) after a character has been deleted
12787 (deleteEmptyParagraphMechanism): call the method above on _all_
12788 cursors held by the LyXText when a double space has been
12791 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12793 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12795 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12797 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12798 background. Use greyOut() and the new show() methods to toggle between
12799 the foreground and background. Add code to remove the splash after
12800 its initial showing.
12802 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12803 (create_forms): no longer call Dialogs::showSplash.
12805 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12807 * .cvsignore: add version_info.h
12809 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12811 * version_info.h.in: new file
12813 * Makefile.am: add version_info.h.in
12815 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12816 version_info.h instead of VERSION_INFO
12818 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12820 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12821 The ERT inset now returns string().
12823 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12825 * lyxtext.h, text.C (selectNextWord): renamed as
12826 selectNextWordToSpellcheck.
12828 * text.C (selectNextWordToSpellcheck): Modified to not select
12829 words inside an ERT inset.
12831 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * lyx_cb.C (MenuLayoutSave): change a bit the question
12835 * sp_base.h: include <sys/types.h>
12837 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12839 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12841 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12843 * several files: fix typos in user-visible strings
12845 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12847 * text2.C (pasteSelection): do not set the selection, since it
12848 will be cleared later. Actually, the intent was to fix the way the
12849 selection was set, but I figured rmoving the code was just as good.
12851 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12853 * FontLoader.C (available): Check if font is available without
12856 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12858 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12860 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12862 * lyxrc.[Ch]: added display_graphics variable and associated code.
12864 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12866 * bufferparams.C (hasClassDefaults): new method. Returns true if
12867 the buffer parameters correspond to known class defaults
12869 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12871 * XFormsView.C (show): set minimum size to the main window.
12873 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12875 * text2.C (copySelection):
12877 * lyxfind.C (LyXReplace):
12878 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12879 LyXText::selectionAsString.
12881 * paragraph.C (asString): add "label" argument to the second form
12883 * text2.C (selectionAsString): add "label" argument and pass it to
12884 Paragraph::asString.
12886 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12888 * lyx_main.C (commandLineHelp): remove version information
12890 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12892 * lyx_main.C: add -version commandline option
12894 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * paragraph.h: make the optional constructor arg required instead.
12897 some modifications to other files because of this.
12899 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12901 * lyxserver.C (C_LyXComm_callback): make it static
12903 * lyx_main.C (error_handler): make it static
12905 * lyx_gui.C (LyX_XErrHandler): make it static
12907 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12909 * WorkArea.C: make the extern "C" methods static.
12911 * Makefile.am (lyx_LDADD): simplify
12913 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12915 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12916 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12918 * LyXAction.C (init):
12919 * lyxfunc.C (dispatch): associated code removal.
12921 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12923 * lyxfont.h (isSymbolFont): shut off warning
12925 * text.C (setHeightOfRow):
12926 (getVisibleRow): fix crash with empty paragraphs which have a
12929 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12931 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12934 2001-09-04 José Matos <jamatos@fep.up.pt>
12937 * tabular.C (docbook): rename docBook method to docbook.
12939 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12941 * Makefile.am: add dependencies to main.o.
12943 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12945 * FontLoader.C (available): Return false if !lyxrc.use_gui
12947 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12949 * FontInfo.C (query):
12950 * converter.C (view):
12951 * importer.C (Import):
12952 * exporter.C (Export): Can not -> cannot.
12954 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12956 * BufferView_pimpl.C: allow to create index inset even if
12959 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12961 * buffer.C (getLists): replace boost::tie code with an explicit pair
12962 as boost::tie can break some compilers.
12964 * iterators.h: Added a std:: declaration to the return type of
12967 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12969 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12972 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12974 * iterators.[Ch]: New files. Provide paragraph iterators.
12976 * buffer.C (changeLanguage): Use paragraph iterators.
12977 (isMultiLingual): ditto
12979 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12981 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12983 * FontLoader.C: Support for cmr font.
12985 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12987 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12988 (available): New method.
12990 * FontInfo.C (getFontname): Use scalable fonts even when
12991 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12994 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12996 * converter.C (Formats::view): reverted! Incorrect fix.
12998 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13000 * converter.C (Formats::view): only output the -paper option
13001 if the dvi viewer is xdvi, thereby fixing bug #233429.
13003 2001-08-23 Herbert Voss <voss@perce>
13005 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13007 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13009 * Spacing.h (Spacing): Set space to Default on in the default
13012 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * vc-backend.h (RCS::versionString): add RCS to version
13015 (CVS::versionString): add CVS to version
13017 * vc-backend.C (scanMaster): do not add CVS to version.
13018 (scanMaster): do not add RCS to version
13020 * lyxvc.C (versionString): new method
13022 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13024 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * Spacing.C (set): initialize fval
13028 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13030 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13033 2001-08-16 Juergen Vigna <jug@sad.it>
13035 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13037 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13039 * BufferView_pimpl.C:
13042 * text2.C: setParagraph takes linespacing now
13044 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13046 * LyxAction.C: add internal LFUN_CITATION_INSERT
13048 * LyXView.C: actually apply fix
13050 * bufferlist.C: fix open non-existent file
13052 * lyxfind.C: fix indentation
13054 * lyxfunc.C: remove unneeded assert, fix typo
13056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13058 * MenuBackend.C: use "Floatname List"
13060 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13062 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13063 when converting LaTeX layout to insetERT.
13064 Generate a non-collapsed float when reading old float
13066 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13068 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13071 2001-08-13 Juergen Vigna <jug@sad.it>
13073 * text.C (fill): return 0 instead of 20 as this seems to be the more
13076 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13078 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13081 2001-08-13 Juergen Vigna <jug@sad.it>
13083 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13085 (SearchBackward): comment out the unlocking of the inset_owner this
13086 should not be needed!
13088 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13090 * Many files: Remove inherit_language, and add latex_language
13092 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13093 collapsible insets.
13095 2001-08-10 Juergen Vigna <jug@sad.it>
13097 * text.C (prepareToPrint): fixed hfill-width in draw!
13099 * BufferView2.C (selectLastWord): save the selection cursor as this
13100 now is cleared in the function LyXText::clearSelection!
13102 2001-08-08 Juergen Vigna <jug@sad.it>
13104 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13105 BACKSPACE type functions.
13107 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13108 is only cutted from the document but not put in the cut-buffer, where
13109 still the old stuff should be.
13111 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13113 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13115 * tabular.C (SetWidthOfCell): fixed special case where the width
13117 (LeftLine): handle '|' in align_special.
13119 (LeftAlreadyDrawed): ditto
13120 (SetWidthOfCell): ditto
13122 2001-08-07 Juergen Vigna <jug@sad.it>
13124 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13126 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13129 * lyxlex.[hC]: ditto
13131 2001-08-06 Juergen Vigna <jug@sad.it>
13133 * text.C (getVisibleRow): fix up row clearing a bit.
13135 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13137 * minibuffer.C: make sure the X server sees the changes in the input.
13139 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * paragraph.C (getFont): split into...
13142 (getLabelFont): this
13143 (getLayoutFont): and this
13144 * paragraph_pimpl.C (realizeFont): calling this
13146 * text2.C (getFont): split into...
13147 (getLayoutFont): this
13148 (getLabelFont): and this
13149 (realizeFont): all three calling this
13151 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13154 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13158 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13160 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13161 layouts from the Quote inset insertion.
13163 2001-08-03 Juergen Vigna <jug@sad.it>
13165 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13167 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13168 only if status not is already CHANGED_IN_DRAW (second level).
13170 * text.C (draw): don't set the need_break_row when inside an
13173 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * buffer.C (parseSingleLyXformat2Token): handle more latex
13178 * bufferview_funcs.[hC]: change function names to
13179 begin with small char, adjust other files.
13181 2001-08-02 André Pönitz <poenitz@gmx.net>
13184 BufferView_pimpl.C: remove broken special code for math-greek
13186 2001-08-02 Juergen Vigna <jug@sad.it>
13188 * BufferView_pimpl.C (update): redone this function so that we
13189 update the text again if there was a CHANGE_IN_DRAW.
13191 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13192 (drawFromTo): added a new internal bool which is used by draw() and
13194 (general): some cursor drawing problems fixed.
13196 2001-08-01 Juergen Vigna <jug@sad.it>
13198 * lyxfind.C (LyXFind): fixed
13199 (SearchForward): ditto
13200 (SearchBackward): ditto
13202 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13203 spurius drawing of the cursor in the main area.
13205 * text2.C (status): small fix which could lead to a segfault!
13206 (clearSelection): remove unneeded BufferView param.
13208 2001-08-01 André Pönitz <poenitz@gmx.net>
13210 * lyxfunc.C: small change due to changed mathed interface
13212 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13216 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13218 * lyxfunc.c: fail gracefully if file doesn't exist
13223 * BufferView_pimpl.C: IsDirWriteable() proto changed
13225 * LyXView.C: fix updateWindowTitle() to store the last title
13227 2001-07-31 Juergen Vigna <jug@sad.it>
13229 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13230 the font (wrong since using of Paragraph::highestFontInRange).
13232 * paragraph.C (highestFontInRange): added a default_size parameter.
13234 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13235 (setHeightOfRow): reformat
13237 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * converter.[hC] + affected files: move to (inital-char)lowercase
13242 * ParagraphParameters.C (ParagraphParameters): remove commented code
13244 * PainterBase.[Ch]: remove commented code
13246 * LaTeXFeatures.h: add "bool floats" for float.sty
13248 * LaTeXFeatures.C (LaTeXFeatures): init floats
13249 (require): handle float
13250 (getPackages): do it with floats
13252 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * BufferView_pimpl.C (Dispatch): improve handling of
13255 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13257 * commandtags.h: #include lyxfont.h here temporarily to avoid
13260 * bufferlist.h: include LString.h here.
13262 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * text2.C (getStringToIndex): new method.
13266 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13268 * *: Reduced header file dependencies all over.
13270 2001-07-30 Baruch Even <baruch@lyx.org>
13272 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13274 2001-07-29 Baruch Even <baruch@lyx.org>
13276 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13278 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * ParameterStruct.h (endif): add a default constructor to make
13281 sure that all variables is initialized.
13283 * ParagraphParameters.C (ParagraphParameters): adjust
13285 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13287 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13288 index; also, check that there is something to index, and that it
13289 does not span over several paragraphs.
13290 (doubleClick): use WHOLE_WORD_STRICT for double click.
13292 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13294 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13297 2001-07-26 Baruch Even <baruch@lyx.org>
13299 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13300 an InsetFig figure, backwards compatible reading of old figure code.
13302 2001-07-27 Juergen Vigna <jug@sad.it>
13304 * text2.C: font.realize function adaption.
13306 * text.C (draw): add a warnings lyxerr text if needed.
13308 * layout.C: font.realize function adaption.
13310 * language.C: add inherit_language and implement it's handlings
13312 * bufferview_funcs.C (StyleReset): remove language parameter from
13313 font creation (should be language_inherit now).
13315 * bufferparams.C (writeFile): handle ignore_language.
13317 * paragraph.C (getFontSettings): the language has to be resolved
13318 otherwise we have problems in LyXFont!
13320 * lyxfont.C (lyxWriteChanges): added document_language parameter
13321 (update): removed unneeded language parameter
13323 * paragraph.C (validate): fixed wrong output of color-package when
13324 using interface colors for certain fonts in certain environments,
13325 which should not seen as that on the final output.
13327 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13329 * BufferView_pimpl.C:
13334 * LyXAction.C: add thesaurus support
13337 * lyxfind.C: add "once" parameter, for thesaurus, to not
13338 move to the next match
13340 2001-07-26 Juergen Vigna <jug@sad.it>
13342 * lyxfont.C (realize): honor ignore_language too!
13345 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13347 * text.C (draw): one place more for ignore_language to not draw
13350 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13352 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13354 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13356 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13357 the minipage conversion problem.
13359 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13364 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13366 * BufferView.h: don't forward declare WorkArea
13368 * BufferView.C: don't include WorkArea.h
13370 2001-07-25 André Pönitz <poenitz@gmx.net>
13374 * lyxfunc.C: new LFUN 'math-space'
13376 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13378 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * text2.C (toggleInset): call open/close
13382 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * lyxfunc.C (dispatch): add debug for the disabled case
13386 * font.C (buttonText): make similar to rectText
13388 * buffer.C (readInset): comment out parsing of insetlist and
13391 * PainterBase.C (rectText): small correction
13393 * BufferView_pimpl.C: comment out insettheorem and insetlist
13394 * LyXAction.C: ditto
13395 * commandtags.h: ditto
13397 2001-07-24 Juergen Vigna <jug@sad.it>
13399 * text.C (draw): honor the ignore_language.
13401 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13403 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13408 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13410 * lyxtext.h: remove unused (and unimplemented) methods
13412 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13414 * text.C (getVisibleRow): honor background color
13417 * Painter.h: remove default color argument for fillRectangle
13419 * text.C (backgroundColor): new method
13421 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13423 * text.C (getVisibleRow): adjust
13425 * font.[Ch] (rectText): new method, metrics
13426 (buttonText): new method, metrics
13428 * PainterBase.[hC]: make rectText and buttonText always draw and take
13431 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13433 * ToolbarDefaults.C (read):
13434 * MenuBackend.C (read): allow escaping in all strings
13436 * BufferView_pimpl.C (insertAndEditInset): new method.
13437 (Dispatch): use insertAndEditInset whenever appropriate.
13439 * BufferView_pimpl.C (insertNote): removed
13441 * BufferView_pimpl.C (smartQuote): new method, moved from
13442 BufferView; if an insetquote cannot be inserted, insert a '"'
13445 * BufferView2.C: remove insertCorrectQuote();
13447 * lyxfunc.C (getStatus): Add support for all remaingin
13448 inset-insert lfuns.
13450 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13452 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13453 command (necessary to pass " as parameter of self-insert.
13455 * text.C (selectWordWhenUnderCursor):
13456 (selectWord): add word_location parameter
13457 (selectWordWhenUnderCursor): same + remove special code for word
13459 (selectNextWord): use kind() to guess type of insetspecialchar,
13462 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13463 (insertErtContents): create ert insets as collapsed.
13464 (readInset): better compatibility code for Info inset.
13466 2001-07-20 Juergen Vigna <jug@sad.it>
13468 * lyxfunc.C (dispatch): use always LyXFind now!
13470 * text2.C (init): add a reinit flag so that the LyXText can be
13471 reinited instead of deleted and reallocated (used in InsetText).
13473 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13479 2001-07-18 Juergen Vigna <jug@sad.it>
13481 * text.C (selectNextWord): handle insets inside inset by calling
13482 always the bv->text functions so that we can go up the_locking_inset!
13484 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13485 in strange locations when inside an inset!
13487 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13488 handling to include insets.
13490 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13492 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13494 * LyXAction.C (init):
13496 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13497 LIGATURE_BREAK, since the name is so stupid.
13499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13501 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13504 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13506 * sp_form.[Ch]: remove.
13508 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13510 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13513 * src/buffer.C (readInset): ditto.
13515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13517 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13518 menuSeparator(), endOfSentenceDot(), ldots() and
13519 hyphenationPoint(), which are therefore removed.
13520 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13522 * LyXAction.C (init):
13523 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13525 * paragraph.C (getWord): removed.
13527 * BufferView_pimpl.C (Dispatch): use last word or selection for
13528 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13530 * lyx_main.C (queryUserLyXDir): do not ask before creating
13531 user_dir, except if it has been named explicitely.
13533 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13535 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13536 a document of zero size.
13538 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13540 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13541 approriately in the c-tor and in require().
13542 (getPackages): output the appropriate LaTeX for natbib support.
13544 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13545 variables "use_natbib" and "use_numerical_citations" when reading the
13547 (readInset): read the various natbib cite commands.
13548 (validate): white-space change.
13550 * bufferparams.[Ch]: new variables "bool use_natbib" and
13551 "bool use_numerical_citations".
13552 (writeFile): output them in the LyX file.
13554 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13556 * lyxfunc.C (getStatus): add support for all the inset insertion
13559 * text2.C (insertInset):
13560 * paragraph.C (insetAllowed):
13561 * BufferView_pimpl.C (insertInset): update to take in account the
13562 renaming of insertInsetAllowed
13564 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13566 * text2.C (getInset): new method. returns inset at cursor position.
13568 * BufferView_pimpl.C (Dispatch): changes because of this.
13570 * LyXAction.C (init): rename open-stuff to inset-toggle.
13572 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13574 * text2.C (toggleInset): renamed from openStuff; use
13577 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13579 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13581 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13583 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13585 * buffer.C (readLyXformat2): Add filename to the error dialog
13587 2001-07-18 Juergen Vigna <jug@sad.it>
13589 * tabular.C (GetCellNumber): put an assert here instead of the check!
13591 2001-07-17 Juergen Vigna <jug@sad.it>
13593 * BufferView_pimpl.C (toggleSelection): adapted too.
13595 * text.C (selectNextWord): adapted for use with insets.
13596 (selectSelectedWord): ditto
13598 2001-07-17 Juergen Vigna <jug@sad.it>
13600 * sp_spell.C (PSpell): fix initialitation order.
13602 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13604 * paragraph.C: spacing
13606 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13608 * sp_spell.C: repair language selection for pspell
13610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * lyxfunc.h: change more methods to begin with lower char.
13614 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13616 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13617 for unknown layouts.
13619 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13621 * buffer.C (readLyXformat2): Generate an error dialog if there are
13624 2001-07-16 Juergen Vigna <jug@sad.it>
13626 * sp_spell.C: always compile ISpell part.
13628 * lyxrc.C: added use_pspell entry and it's handling.
13630 2001-07-13 Juergen Vigna <jug@sad.it>
13632 * sp_spell.C: removed double includes.
13634 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13636 Consistent use of Lsstream.h:
13637 * Lsstream.h: added using std::stringstream for consistencies sake.
13639 * buffer.C: removed using std::stringstream
13641 * lyxfont.C (stateText):
13642 * paragraph.C (asString):
13643 * text.C (selectNextWord, selectSelectedWord):
13644 * text2.C (setCounter):
13645 * vspace.C (asString, asLatexString):
13646 std::ostringstream -> ostringstream.
13648 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13650 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13651 * commandtags.h: add LFUN_HELP_ABOUTLYX
13652 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13654 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13656 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13658 * lyx_gui_misc.C: remove spellchecker
13659 * lyxfunc.C: showSpellchecker
13661 * sp_ispell.h: added
13662 * sp_pspell.h: added
13663 * sp_spell.C: added
13664 * sp_form.[Ch]: removed
13665 * spellchecker.[Ch]: removed
13667 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13669 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13671 (simpleTeXSpecialChars): Simply print the input character without
13672 any special translation if pass_thru is set.
13674 * layout.h: Added bool pass_thru to layout class for being able to
13675 implement pass through of a paragraph for Literate Programming.
13677 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13678 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13679 * layout.C (Read): add "passthru" to list of layout tags and add
13680 code to set the pass_thru boolean when it is read.
13682 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13684 * trans_decl.h: remove allowed from KmodInfo
13686 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13687 remove allowed code
13690 * paragraph_pimpl.C (erase): use boost::prior
13692 * Painter.C (text): use data() instead of c_str() when length is
13694 * WorkArea.C (putClipboard): ditto
13695 * font.h (width): ditto
13697 * BufferView2.C: use it-> instead of (*it). for iterators
13699 * paragraph_pimpl.C: ditto
13700 * paragraph.C: ditto
13701 * minibuffer.C: ditto
13702 * language.C: ditto
13704 * encoding.C: ditto
13705 * counters.C: ditto
13706 * converter.C: ditto
13708 * Variables.C: ditto
13709 * TextCache.C: ditto
13710 * MenuBackend.C: ditto
13711 * LyXAction.C: ditto
13713 * FloatList.C: ditto
13714 * DepTable.C: ditto
13715 * ColorHandler.C (LyXColorHandler): ditto
13717 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13721 * text2.C (openStuff): reintroduce this method (which had been
13722 nuked in NEW_INSETS frenzy).
13724 * lyxfunc.C (Dispatch): when an action has not been handled, use
13725 its name in the error message, not its number.
13727 * paragraph.C (inInset): change method name to begin with lowercase.
13730 * text2.C: updates because of this.
13732 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13734 * ToolbarDefaults.C (add): add spaces in error message
13736 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13738 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13739 (readLyXformat2): rename return_par to first_par, use lyxlex's
13740 pushToken and remove the manual push handling.
13741 (parseSingleLyXformat2Token): add another ert comp. variable:
13742 in_tabular, rename return_par to first_par. handle newlines better
13744 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13746 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13748 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * text2.C (getParFromID): removed
13752 * buffer.C (getParFromID): new method moved form lyxtext.
13753 * BufferView2.C (insertErrors): adjust
13754 (setCursorFromRow): adjust
13755 * BufferView_pimpl.C (restorePosition): adjust
13756 * lyxfunc.C (Dispatch): adjust
13757 * undo_funcs.C (textUndo): adjust
13759 (textHandleUndo): adjust
13760 (textHandleUndo): adjust
13762 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * buffer.C: up' the LYX_FORMAT
13766 * lyxfont.h: turn NO_LATEX on as default
13768 * buffer.C (insertErtContents): new methods of tex style compability.
13769 (parseSingleLyXformat2Token): use it several places.
13770 * tabular.C (OldFormatRead): and here
13772 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * text2.C: remove some commented code.
13777 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13778 * trans.C: changes because of the above.
13780 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13782 * text2.C (setCounter): Fix counters bug with bibliography layout.
13784 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13787 own member functions
13788 (simpleTeXSpecialChars): ditto
13790 2001-07-06 Juergen Vigna <jug@sad.it>
13792 * a lot of files: changed the access to LyXText::status and the
13793 call of undo-functions.
13795 * undo.[Ch]: added a inset_id to the undo informations.
13797 * undo_funcs.[Ch]: added and moved here all undo functions.
13799 * lyxtext.h: give the status enum a weight, made status_ a private
13800 variable and made accessor functions for it, removed the whole bunch
13801 of undo-functions as they are now in their own file, make some
13802 functions publically available. Added function ownerParagraph with
13805 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13806 made InInset() a const function, added getParFromID() function.
13808 * buffer.[Ch]: added const version for inset_iterator functions,
13809 added getInsetFromID() function.
13811 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13812 changed undo functions for new version.
13814 2001-07-05 Juergen Vigna <jug@sad.it>
13816 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13817 unknow mechanism does not call the proper constructor but only this
13818 one also if I request the other!?
13820 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13822 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13824 * text2.C (LyXText): use initialization lists.
13826 * lyxtext.h (Selection): initialize set_ and mark_
13827 (init): remove method
13829 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13831 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13833 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13835 * screen.[Ch]: change method names to begin with lowercase
13837 * BufferView_pimpl.C (updateScrollbar): simplify further and
13838 hopefully make it a bit faster.
13840 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13842 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13843 calling directly xforms functions.
13845 * Painter.C (Painter):
13846 * lyx_cb.C (MenuWrite):
13847 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13850 * lyx_gui.C: remove bogus guiruntime extern declaration.
13852 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13856 (redoDrawingOfParagraph): ditto
13857 (redoParagraphs): ditto
13858 (cutSelection): don't create a object for CutAndPaste use the
13859 static method directly
13860 (pasteSelection): ditto
13862 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13865 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * modifications to some other files because of this.
13869 * Makefile.am (lyx_SOURCES): add XFormsView
13871 * XFormsView.[Ch]: new files
13873 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13874 the main window. Move the gui dependent stuff to XFormsView
13876 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * tabular.C (GetCellInset): update cur_cell also in the row/col
13879 version of this function.
13881 * lyxfunc.C: no need to include figure_form.h here.
13887 * lyxvc.C: no need to include forms.h here.
13889 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13893 * lyxfunc.C (Dispatch):
13895 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13896 constructor argument.
13898 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * paragraph.C (Paragraph): dont't clear, and just set layout.
13901 (makeSameLayout): use params's copy contructor.
13903 * ParagraphParameters.[Ch] (makeSame): delete method
13905 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13907 * Variables.[Ch]: fix indentation, rename set to isSet
13909 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * lyxfunc.C (Dispatch): fix typo
13913 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13918 * bufferlist.C: include assert.h for emergencyWrite().
13920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13922 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13923 give up at last (bug #425202) !
13925 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13931 * spellchecker.C: strip spellchecker options and bring up
13932 preferences tab instead
13934 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13936 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13937 the istringstream constructor
13939 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * paragraph.C (getLayout): fix return value
13943 * paragraph.h: do not declare getLayout as inline.
13945 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13947 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13949 * lyxcursor.h (operator<): new func
13950 (operator>): new func
13951 (operator>=): new func
13952 (operator<=): new func
13954 * text.C (changeCase): use selection.start and selection.end
13955 (changeRegionCase): require from to be <= to. Require par to be a
13958 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13960 2001-06-27 Juergen Vigna <jug@sad.it>
13962 * text.C (cursorLeftOneWord): changed to return the cursor and added
13963 overlay with BufferView * parameter which calls this one.
13965 (selectWord): use new getWord function.
13966 (changeCase): renamed from changeWordCase as and extended to work
13967 also on selections.
13969 * lyxtext.h: added enum word_location
13971 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13972 changeCase as this operates now also on selections.
13974 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13976 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13978 * many files: send debug output to Debug::INFO instead of
13981 * converter.C (View):
13983 (Move): send debug output to Debug::FILES instead of console.
13985 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13987 * lyxfunc.C (getStatus): use func_status
13989 * func_status.h: new header, describing the results of
13990 LyXFunc::getStatus;
13992 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13995 2001-06-25 The LyX Project <jug@sad.it>
13997 * buffer.C (sgmlOpenTag):
13999 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14001 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14003 * text2.C: remove some dead code
14005 * tabular.C (GetCellInset): store the last cell checked (gotten)
14007 * tabular.h: add the helper for the speedup
14009 * lyxtext.h: remove some dead code
14011 2001-06-26 The LyX Project <Asger>
14013 * paragraph.C: Change export to LaTeX of alignment to
14014 \begin{center} and family for better roundtrip work with reLyX.
14016 * Tune the math drawing a bit.
14018 2001-06-25 The LyX Project <Asger>
14020 * LColor.C (LColor): New color for math background. New color
14023 2001-06-25 The LyX Project <jug@sad.it>
14025 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14027 * lyxfunc.C (Open):
14028 * bufferlist.C (newFile): do not restrict to files ending with
14031 * BufferView_pimpl.C (MenuInsertLyXFile):
14033 2001-06-24 The LyX Project <jug@sad.it>
14035 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14038 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14040 * lyxtext.h: rename most methods to begin with a small char.
14041 Lots of changes because of this.
14043 * paragraph.C (Paragraph): do not call fitToSize
14044 (erase): call Pimpl::erase
14045 (insertChar): call Pimpl::insertChar
14046 (insertInset): call Pipl::insertInset
14047 (breakParagraph): do not call fitToSize
14048 (breakParagraphConservative): do not call fitToSize
14049 (fitToSize): remove method
14051 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14053 2001-06-24 The LyX Project <Asger>
14055 * Fix Qt compilation^2
14057 2001-06-24 The LyX Project <jug@sad.it>
14059 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14060 depthHook(getDepth()-1).
14063 * ParagraphParameters.h:
14064 * ParameterStruct.h: change type of depth to unsigned int ==
14065 depth_type. Many adaptations to other files before of that.
14067 2001-06-24 The LyX Project <Asger>
14069 * Fix Qt compilation.
14071 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14073 * paragraph.h: renamed several methods to begin with small letter.
14074 several changes to many parts of the code because of this.
14076 2001-06-23 The LyX Project <jug@sad.it>
14078 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14079 rewritten to discard all double spaces when KeepEmpty is off
14080 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14081 to only handle newlines but not fiddle with spaces and friends.
14083 * lyxfunc.C (MenuNew): when doing 'new from template', use
14084 template_path as default directory
14086 2001-06-23 The LyX Project <Asger>
14088 * Clean-up of header file includes all over
14089 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14091 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * paragraph.h: renamed from lyxparagraph.h
14095 2001-06-23 Asger <lyx@violet.home.sad.it>
14097 * Buffer.h: Removed Buffer::resize
14098 * BufferList.h: Removed BufferList::resize
14099 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14100 the document lazily when we change the width, or the font settings.
14102 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14104 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14106 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14108 * buffer.h: remove out of date comment
14110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14113 * screen.C: fix "theoretical" GC leak
14115 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * LaTeX.C (scanAuxFile):
14118 (deplog): remove trailing \r when reading stream (useful under
14121 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14123 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14124 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14125 and BufferView::theLockingInset(Inset*), so should use them and not
14126 access bv_->text->the_locking_inset directly.
14128 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14130 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14133 * tex-defs.h: remove old unused file
14135 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14137 * BufferView_pimpl.C: fix typo, remove minibuffer message
14138 when buffer has loaded
14140 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14142 * lyxfunc.C (Dispatch): use stringstream
14143 (MenuNew): use stringstream
14144 (Open): use stringstream
14146 * importer.C (Import): use stringstream
14148 * bufferview_funcs.C (CurrentState): use stringstream
14150 * LaTeX.C (run): use stringstream
14152 * BufferView_pimpl.C (savePosition): use stringstream
14153 (restorePosition): use stringstream
14154 (MenuInsertLyXFile): use stringstream
14156 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14169 * vspace.C: removed // -*- C++ -*- as first line.
14172 * version.h: added // -*- C++ -*- as first line.
14174 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14178 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14181 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14186 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14188 * gettext.C: include LString.h even when --disable-nls is on.
14190 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14192 * converter.h (Get): changed argument type from int to
14193 FormatList::size_type to avoid unnecessary conversion.
14195 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14198 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14200 * gettext.h: include LString.h even when --disable-nls is on.
14202 2001-06-07 Juergen Vigna <jug@sad.it>
14204 * text.C (BreakAgain): subst spaces with tabs.
14206 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14207 (resizeInsetsLyXText): set force on resizeLyXText.
14209 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * gettext.h (gettext_init):
14212 (locale_init): use a real definition instead of a macro
14214 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14216 * Bufferview_pimpl.C:
14218 * LColor.C: further lcolor tidies
14220 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * BufferView_pimpl.C (updateScrollbar): simplify.
14224 * BufferView2.C: don't include insets/insetinfo.h, change
14225 prototype for insertInset and call the Pimpl version. let
14226 updateInset call Pimpl version.
14228 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14229 gotoInset to BufferView::Pimpl
14231 2001-06-01 Juergen Vigna <jug@sad.it>
14233 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14234 inside a LockingInset (is the update needed at all?).
14236 2001-05-31 Juergen Vigna <jug@sad.it>
14238 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14239 here not the old one otherwise how should we compare it afterwards
14242 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14247 * FontInfo.C: bring C functions into global namespace when
14250 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * LString.h: make sure config.h has been loaded before LString.h.
14254 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14255 (one for each char read by EatLine!).
14257 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14260 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14262 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14263 to the same as the par we break from
14265 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14269 * MenuBackend.C (expand): also create menu entries for wide
14270 versions of the floats.
14272 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14274 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14276 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14277 frontends/Makefile.am
14283 * tabular.C (getTokenValue): add std::
14285 * tabular-old.C (getTokenValue): add std::
14286 (getTokenValue): ditto
14287 (getTokenValue): ditto
14289 * screen.C (ToggleSelection): adjust
14291 * lyxtext.h: put selection cursors inside a Selection struct.
14293 * lyxfunc.C (moveCursorUpdate): adjust
14295 * lyxfont.C (latexWriteStartChanges): add std::
14297 * lyxfind.C: adjust
14299 * font.h: delete with(char const *, LyXFont const &)
14301 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14303 * FontInfo.C (getFontname): add std::
14305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14306 (workAreaButtonPress): adjust
14307 (tripleClick): adjust
14309 (moveCursorUpdate): adjust
14312 * BufferView2.C (gotoInset): adjust
14314 2001-05-30 Juergen Vigna <jug@sad.it>
14316 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14317 to check pspell I add this as default as I now have new pspell
14318 libraries and they seem to use this.
14320 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14322 * text2.C (CutSelection): make the cursor valid before the call to
14325 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14328 relied on 0 terminated strings and other horrors. Bug found due to
14329 the new assert in lyxstring!
14331 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14334 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14339 * lyxfunc.C (processKeySym): change method of getting to the
14342 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14343 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14344 * BufferView_pimpl.[Ch]: here as private methods.
14346 2001-05-28 Juergen Vigna <jug@sad.it>
14348 * text.C (SetHeightOfRow): added the update() call again as it is
14349 needed to initialize inset dimensions!
14351 2001-05-16 Juergen Vigna <jug@sad.it>
14353 * text2.C (SetCharFont): Add new function with BufferView * and
14354 bool toggleall parameters for setting insets internal fonts.
14355 (SetFont): Freeze the undo as we may change fonts in Insets and
14356 all this change should be inside only one Undo!
14358 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14359 setting font's in insets as for them we have the SetFont function!
14361 2001-05-15 Juergen Vigna <jug@sad.it>
14363 * text2.C (ClearSelection): to be sure we REALLY don't have any
14366 * tabular.C (TeXCellPreamble): fixed the left border problem for
14369 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14371 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14374 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14376 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14377 LFUN_BREAKPARAGRAPH.
14379 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14380 help test to "internal only", similar for LFUN_INSERT_URL
14382 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14383 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14384 auto_region_delete and deadkeys.
14386 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14389 * LColor.C: remove some dead entries, tidy a little
14391 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14395 (Dispatch): implement LFUN_ESCAPE
14397 * commandtags.h: add LFUN_ESCAPE
14399 * LyXAction.C (init): add entry for LFUN_ESCAPE
14401 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14402 Remove commented code.
14403 (insertNote): moved here
14404 (open_new_inset): moved here
14406 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14409 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14411 * kbmap.C (findbinding): clean it up and make it work correctly.
14413 * lyx_main.C (init): do not pass argc and argv as parameters
14415 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14417 * buffer.C: fix path for OS/2 & Win32
14421 * lyx_main.C: Added os:: class.
14423 * os2_defines.h: update
14425 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14427 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14428 better by trying again with reduced state.
14430 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * lyxrc.C (read): print error about invalid key sequence only when
14433 debugging (because not all latinX keysyms are known to some X
14436 * kbsequence.C (getiso): add a few std:: qualifiers
14437 (getiso): comment out extra return statement.
14439 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14443 (Dispatch): enhance the accent inset a bit. (not perfect)
14445 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14449 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * bufferlist.C (emergencyWrite): fix assert() call
14453 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14455 * text.C (InsertChar): Added trivial patch to only send the "you
14456 can not do multiple spaces this way" message once during a
14459 2001-05-08 Baruch Even <baruch@lyx.org>
14461 * Makefile.am: Changed order of libraries to get LyX to link properly
14462 with the gnome frontend.
14464 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14466 * LaTeXFeatures.h: add a std:: qualifier
14468 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14470 * paragraph.C (String): use stringstream
14472 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * paragraph.C (writeFile): remove footflag arg
14476 * buffer.C (makeLaTeXFile): use stringstream
14477 (latexParagraphs): remove footnot gurba
14479 * LaTeXFeatures.C (getPackages): use stringstream
14480 (getMacros): likewise
14481 (getTClassPreamble): likewise
14482 (getFloatDefinitions): new method
14484 * paragraph.C (writeFile): reindent
14487 * WorkArea.h: revert the xpos + etc changes.
14489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14491 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14493 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14494 (pasteSelection): likewise
14495 * text2.C (CreateUndo): likewise
14497 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14499 * minibuffer.C (peek_event): temporarily reduce the functionality
14500 of the minibuffer (to allow args on lfuns)
14502 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14503 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14505 * buffer.C (readInset): add compability reading of old float
14506 lists, add reading of new style float list.
14507 (readInset): avoid reevaluation of inscmd.getCmdName()
14508 (getLists): reindent
14510 * MenuBackend.C (MenuItem): implement parsing of
14511 md_floatlistinsert and md_floatinsert.
14512 (expand::LastFiles): move initalizaton of iterators out of loop,
14513 avoid reevaluation.
14514 (expand::Documents): introduce typdedef vector<string> Strings,
14516 (expand::ExportFormats): introduce typedef vector<Format const *>
14517 Formats, and use it.
14518 (expand): implement FloatListInsert and FloatInsert.
14520 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14521 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14522 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14524 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14526 (Dispatch::LFUN_FLOAT_LIST): implement
14528 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14530 * LaTeX.C (run): Fix problem with --export code.
14532 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14534 * BufferView.[Ch] (workarea): removed.
14535 (getClipboard) new method; wrapper for workarea()->getClipboard()
14537 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14540 * WorkArea.h (width, height, xpos, ypos): These methods all
14541 returned the dimensions of the work_area sub-area of WorkArea,
14542 resulting in a position error if the WorkArea were resized. Now
14543 return the dimensions of the entire WorkArea.
14545 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14547 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14549 * LaTeX.C (deplog): correct the syntax of regex reg1
14551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * undo.C: remove !NEW_INSETS cruft
14555 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14557 * text2.C: remove !NEW_INSETS cruft
14559 * text.C: remove !NEW_INSETS cruft
14561 * tabular.C: remove !NEW_INSETS cruft
14563 * spellchecker.C: remove !NEW_INSETS cruft
14565 * lyxtext.h: remove !NEW_INSETS cruft
14567 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14569 * lyxfunc.C: remove !NEW_INSETS cruft
14571 * lyxfind.C: remove !NEW_INSETS cruft
14573 * lyx_cb.C: remove !NEW_INSETS cruft
14575 * figureForm.C: remove !NEW_INSETS cruft
14577 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14579 * buffer.[Ch]: remove !NEW_INSETS cruft
14581 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14583 * CutAndPaste.C: remove !NEW_INSETS cruft
14585 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14587 * BufferView2.C: remove !NEW_INSETS cruft
14589 * BufferView.h: remove !NEW_INSETS cruft
14591 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14593 * Lsstream.h: include LString.h before the sstream headers to
14594 fix problem with gcc 2.95.3 and lyxstring
14596 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14598 * lyx_main.C: add using directives when needed for C functions
14599 declared in std:: namespace.
14601 2001-04-27 Juergen Vigna <jug@sad.it>
14603 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14604 (SetHeightOfRow): comment out the update call should not be needed!
14606 2001-04-13 Juergen Vigna <jug@sad.it>
14608 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14609 (LyXTabular): tried to minimize operator= operations (and realized
14610 hopfully Lars wish).
14612 2001-04-27 Juergen Vigna <jug@sad.it>
14614 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14616 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14620 * buffer.C (readInset): hack to make listof algorithm work
14622 * BufferView_pimpl.C: hack to make listof algorithm work
14624 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14626 * LyXAction.C: removed all !NEW_INSETS cruft
14627 (init): moved lfun_item in method
14629 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14631 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14633 * BufferView2.C (theLockingInset): white space.
14635 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * minibuffer.C: include <iostream>
14639 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14641 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14643 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14645 * text.[Ch] (TransposeChars): new method
14647 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * call message directly through LyXView instead of through LyXFunc
14650 * BufferView2.C: adjust
14651 * BufferView_pimpl.C: adjust
14652 * FontLoader.C: adjust
14654 * bufferview_funcs.C: adjust
14655 * converter.C: adjust
14656 * figureForm.C: adjust
14657 * importer.C: adjust
14659 * lyx_gui_misc.C: adjust
14660 * lyxfunc.C: adjust
14663 + more files in subdirs
14665 * lyxparagraph.h (size): move up int file
14668 * adjust all uses of Assert to lyx::Assert.
14670 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14671 lyxfunctional in namespace lyx
14672 * layout.C (hasLayout): ditto
14675 (delete_layout): ditto
14676 (NumberOfClass): ditto
14677 * converter.C (GetFormat): ditto
14682 * bufferlist.C (getFileNames): ditto
14683 (emergencyWriteAll): ditto
14686 * MenuBackend.C (hasSubmenu): ditto
14689 * BufferView_pimpl.C (getInsetByCode): ditto
14691 2001-04-18 Juergen Vigna <jug@sad.it>
14693 * vspace.C (asLatexString): fixed the 100% problem.
14695 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14697 * lyxfunc.C (Dispatch):
14699 * minibuffer.h: add a few std:: qualifiers
14701 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14703 * minibuffer.[Ch]: reimplement so that commands is initiated and
14704 run from lyxfunc, simplified som handling, and made the completion
14705 and history code for complete. wip.
14707 * lyxfunc.C (processKeySym): call message
14708 (miniDispatch): new temporary method
14709 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14710 (LFUN_MESSAGE): implement
14711 (LFUN_MESSAGE_PUSH): implement
14712 (LFUN_MESSAGE_POP): implement
14713 (initMiniBuffer): the initial/defualt minibuffer message.
14715 * lyxfont.[Ch]: inline some more getters
14717 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14719 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14721 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14722 (AutoSave): use LFUN_MESSAGE
14723 (Reconfigure): ditto
14725 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14727 * figureForm.C: use LFUN_MESSAGE
14729 * converter.C (runLaTeX): use LFUN_MESSAGE
14731 * bufferview_funcs.C: use LFUN_MESSAGE
14733 (changeDepth): ditto
14735 * bufferparams.h: use boost::
14737 * bufferlist.h: inherit privately from noncopyable
14739 * bufferlist.C (loadLyXFile): remove some commented code.
14741 * buffer.C (runChktex): use LFUN_MESSAGE
14743 * ShareContainer.h: inherit privately from noncopyable
14745 * ParagraphParameters.[hC] (depth): inline it.
14747 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14749 (message): new method
14750 (messagePush): ditto
14751 (messagePop): ditto
14752 (show): init minibuffer
14753 (showState): direct call
14755 * LaTeX.[Ch]: inherit privately from noncopyable
14756 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14757 instead of WriteStatus.
14759 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14761 * BufferView_pimpl.C (buffer): don't init minibuffer
14762 (workAreaButtonPress): use LFUN_MESSAGE
14763 (workAreaButtonRelease): ditto
14764 (savePosition): ditto
14765 (restorePosition): ditto
14766 (MenuInsertLyXFile): ditto
14767 (workAreaExpose): don't init minibuffer
14768 (update): remove commented code, simplify
14770 * BufferView2.C (openStuff): use LFUN_MESSAGE
14771 (toggleFloat): ditto
14774 (copyEnvironment): ditto
14775 (pasteEnvironment): ditto
14780 (updateInset): remove some commented code
14782 * lastfiles.h: inherit privately from noncopyable
14785 * lyx_main.h: ditto
14787 * lyxlex_pimpl.h: ditto
14789 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14790 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14791 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14793 * LyXAction.h: inherit privately from noncopyable, add methods
14794 func_begin, func_end, returning iterators to the func map.
14796 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14797 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14798 (func_begin): new method
14799 (func_end): new method
14801 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14803 (copySelection): ditto
14804 (pasteSelection): ditto
14806 * BufferView.C: whitespace change
14807 * BufferView.h: inherit privately from noncopyable
14809 2001-04-16 Allan Rae <rae@lyx.org>
14811 * tabular-old.C (l_getline):
14812 * spellchecker.C (sc_check_word):
14813 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14814 an unrecognised preprocessor directive. So ensure they're wrapped.
14816 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14818 * src/exporter.C (Export): Give an error message when path to file
14821 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14823 * LaTeX.C (deplog): Always check that foundfile exists.
14825 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14828 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14830 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * tabular.[Ch] (getLabelList): implement new method
14834 * minibuffer.h: comment ouf setTiimer
14836 * minibuffer.C (ExecutingCB): constify res
14837 (peek_event): constify s
14838 (Set): constify ntext
14839 (Init): constify nicename
14841 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14843 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14844 (savePosition): use two params to Minibuffer::Set
14845 (restorePosition): ditto
14847 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * lyx_main.C: include language.h
14851 * Makefile.am (lyx_main.o): add language.h
14853 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14859 * CutAndPaste.C: include gettext.h
14861 * lyxfont.h: remove old hack with ON and OFF.
14864 * lyxfont.h: do not include language.h...
14869 * bufferview_funcs.C:
14875 * paragraph.C: ... but do it here instead
14877 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14879 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14881 * tabular.C: small reformat
14883 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14886 (BreakParagraph): ditto
14887 (SetOnlyLayout): ditto
14890 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14893 * lastfiles.C: removed most using decl, add std:: where needed
14895 * buffer.C: ws changes
14897 * MenuBackend.C (class compare_format): put into anon namespace
14898 (expand): constify label, names, action, action2
14901 * text.C (SingleWidth): constify font
14902 (IsBoundary): constify rtl2
14903 (GetVisibleRow): constify ww
14905 * LaTeX.C (deplog): constify logfile
14907 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14909 (workAreaExpose): constify widthChange, heightChange
14911 * lyxrow.C (par): moved
14914 * lyxrow.h: as inlines here
14916 * lyxfont.h (shape): moved from lyxfont.C
14917 (emph): moved from lyxfont.C
14919 * lyxfont.C (LyXFont): use initialization list for all
14921 (shape): move to lyxfont.h as inline
14922 (emph): move to lyxfont.h as inline
14925 2001-04-04 Juergen Vigna <jug@sad.it>
14927 * vspace.C: had to include stdio.h for use of sscanf
14929 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14932 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14933 independent of xforms.
14935 2001-04-02 Juergen Vigna <jug@sad.it>
14937 * spellchecker.C: fixed namespace placing!
14939 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14941 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14942 the LyXParagraph * is 0.
14944 2001-03-29 Juergen Vigna <jug@sad.it>
14946 * vspace.C: added support for %, c%, p%, l%.
14947 (stringFromUnit): added helper function.
14948 (asLatexString): changed to give right results for the %-values.
14950 * buffer.C: convert the widthp in a width%.
14952 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14954 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14957 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14958 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14960 * lyx_cb.[Ch]: see above.
14962 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14966 * lyx.[Ch]: replaced by figure_form.[Ch].
14970 * lyxfunc.C: changed headers associated with above changes.
14972 2001-03-27 Juergen Vigna <jug@sad.it>
14974 * BufferView_pimpl.C: set the temporary cursor right!
14976 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14978 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14980 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14982 * LString.h: removed "using std::getline"!
14984 * BufferView_pimpl.C (Dispatch): changes due to changes in
14985 InsetInclude::Params.
14987 * buffer.C (tag_name): removed redundant break statements as they were
14988 producing lots of warnings with my compiler.
14990 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14992 * LString.h: add "using std::getline" when using the real <string>.
14994 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14996 * buffer.C: removed bitset usage.
14997 PAR_TAG moved to an anonymous name space.
14998 (tag_name): new funtion, also in the anonymous namespace.
14999 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15000 (makeDocBookFile): clean code. Completed transition from string arrays
15002 (SimpleDocBookOnePar): code clean.
15004 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15006 * tabular.C: add some comments.
15008 2001-03-22 Juergen Vigna <jug@sad.it>
15010 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15011 compatibility read a bit and fixed bug with minipage in different
15014 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15016 * buffer.C (pop_tag): removed.
15017 (push_tag): removed.
15018 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15019 array replaced with vector. Added support for CDATA sections.
15020 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15022 (makeDocBookFile): XML conformant declaration of CDATA section,
15023 fixed bug related to <emphasis> in the first paragraph char.
15024 (sgmlOpenTag): exclude empty tags.
15025 (sgmlCloseTag): ditto.
15027 * buffer.h (pop_tag): removed.
15028 (push_tag): removed.
15030 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15032 * language.h (Languages): added size_type and size().
15034 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15036 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15037 response on compability reading of minipages. One probliem is that
15038 the old usage of minipages was «flertydig»
15040 * several files here and in subdirs: don't use static at file
15041 scope use anon namespaces instead.
15043 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15045 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15046 LaTeX output. This is necessary for Literate document
15049 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15051 * buffer.C: insert hfill when needed.
15053 * tabular.C (l_getline): use string::erase, small whitespace change.
15055 * BufferView_pimpl.C: try the anon namespace.
15056 * WorkArea.C: ditto
15058 2001-03-16 Juergen Vigna <jug@sad.it>
15060 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15061 otherwise it won't open options-dialogs.
15063 * buffer.C: honor pextraWidth(p) on converting minipages.
15065 * tabular.C (l_getline): changed the functions to strip trailing \r.
15067 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15069 * BufferView_pimpl.C:
15070 * minibuffer..C: added "using SigC::slot" declaration.
15072 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15074 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15080 * paragraph.C: ditto
15082 * lyxtext.h: NO_PEXTRA
15084 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15086 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15087 * ParameterStruct.h: ditto
15088 * ParagraphParameters.h: ditto
15089 * lyxparagraph.h: ditto
15091 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15093 * buffer.C: add compability for minipage alignment.
15094 (latexParagraphs): remove unwanted pextra check.
15096 * several files: remove CXX_WORKING_NAMESPACES
15098 * buffer.C (pop_tag): tie is in namespace boost
15100 * BufferView.h: noncopyable is in namespace boost
15102 * lyx_main.h: ditto
15105 * lastfiles.h: ditto
15106 * bufferlist.h: ditto
15107 * ShareContainer.h: ditto
15109 * LyXAction.h: ditto
15112 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15114 * Merging changes from BRANCH_MVC back into HEAD.
15116 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15118 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15120 * BufferView_pimpl.C: change from intl.C
15124 * Makefile.am: move combox.*
15130 * intl.C: remove dialog (covered by prefs)
15132 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15134 * lyxfunc.C (Dispatch): removed redundant break statement.
15136 2001-03-14 Juergen Vigna <jug@sad.it>
15138 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15140 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15142 * buffer.C: add hack to fix compability reading of minipages.
15144 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15146 * buffer.C (getLists): Cleanup.
15148 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * lyxfont.C (update): don't honor toggleall on font size.
15152 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15156 * Makefile.am: moved to frontends/xforms/
15160 * BufferView_pimpl.C: changes for moved mathpanel
15162 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15164 * gettext.h: fix gettext_init() in --disable-nls
15166 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15170 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15173 * lyx.h: strip external form
15175 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15177 * BufferView_pimpl.C: add comment, destroySplash()
15179 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15181 * BufferView_pimpl.C:
15185 * lyxfunc.C: use re-worked insetinclude
15187 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15189 * buffer.C: add using std::stringstream.
15191 * lyx_cb.C: readd using std::ios.
15193 * buffer.C: add using std::map.
15195 * BufferView_pimpl.C: add using std::vector.
15197 * ShareContainer.h: add std:: to swap.
15199 * buffer.h: add some typedefs
15200 * buffer.C (getLists): use them
15201 (getLists): renamed from getTocList.
15202 add a counter for the different float types and use it in the
15204 (getLists): use the same counter for the NEW_INSETS and the "non"
15207 * lyx_cb.h: remove unused items, includes, using etc.
15209 * ShareContainer.h: remove some commented code, add more comments
15210 and "documentation".
15212 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15214 * buffer.C (getTocList): make the list also when NEW_INSETS is
15217 * buffer.h: remove TocType
15219 * buffer.C (getTocList): change to return a map<string,
15220 vector<TocItem> >, implement for dynamic number of list.
15222 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15223 * text2.C (PasteSelection): adjust
15224 * CutAndPaste.C (pasteSelection): adjust
15226 * FloatList.C (FloatList): update from the new_insets branch.
15227 * Floating.[Ch]: ditto
15228 * LaTeXFeatures.C: ditto
15230 * lyxlex_pimpl.C: ditto
15232 * paragraph.C (Last): remove when NEW_INSETS is defined.
15234 * other file: changes because of the above.
15236 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15238 * lyxparagraph.h: rename next to next_, previous to previous_,
15239 make them private for NEW_INSETS. Rename Next() to next(),
15240 Previous() to previous().
15242 * other files: changes because of the above.
15244 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15247 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15250 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * main.C (main): pass lyx_localedir to gettext_init().
15254 * gettext.h: remove locale_init and gettext_init macros
15256 * gettext.C (locale_init): new function
15257 (gettext_init): new function
15259 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15262 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15264 * Moved credits to frontends:
15265 * credits.[Ch]: removed
15266 * credits_form.[Ch]: removed
15267 * lyx_gui_misc.C: remove credits stuff
15270 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15272 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15274 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15275 unneeded destructor.
15277 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15278 a standalone pointer again.
15280 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15282 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15288 * ToolbarDefaults.C:
15297 * BufferView_pimpl.C: use new file dialog in GUII
15300 * lyx_cb.C: remove LayoutsCB to Toolbar
15302 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * ShareContainer.h (get): add std:: qualifier
15306 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15308 * ShareContainer.h: define a proper ShareContainer::value_type
15309 type (and use typename to please compaq cxx)
15311 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15313 * lyxparagraph.h: move serveral local vars to
15314 ParameterStruct/ParagraphParameters., use ShareContainer in
15315 FontTable., make vars in FontTable private and add getter and
15318 * paragraph.C: changes because of the above.
15320 * lyxfont.h: remove copy constructor and copy assignment. (the
15321 default ones is ok), move number inside FontBits. move inlines to
15324 * lyxfont.C: add number to initializaton of statics, move several
15325 inlines here. constify several local vars. some whitespace
15326 cleanup. Dont hide outerscope variables.
15328 * Spacing.h: add two new constructors to match the set methods.
15330 * ShareContainer.h: new file, will perhaps be moved to support
15332 * ParameterStruct.h: new file
15334 * ParagraphParameters.h: new file
15336 * ParagraphParameters.C: new file
15338 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15339 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15341 * BufferView_pimpl.C: ParagraphParameter changes.
15342 * buffer.C: Likewise.
15343 * bufferview_funcs.C: Likewise.
15344 * text.C: Likewise.
15345 * text2.C: Likewise.
15347 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15349 * lyxfind.C (LyXReplace): do not redefine default argument in
15351 (IsStringInText): ditto
15352 (SearchForward): ditto
15353 (SearchBackward): ditto
15355 2001-03-06 Juergen Vigna <jug@sad.it>
15357 * lyxfind.C (IsStringInText): put parentes around expressions.
15359 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15361 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15363 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15365 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15367 * stl_string_fwd.h: add comment
15369 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15372 * tabular.C: remove unused DocBook methods
15378 killed DO_USE_DEFAULT_LANGUAGE
15380 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15382 * lyx_gui.C: do not include language.h.
15384 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15385 arguments in function implementation.
15387 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15389 * BufferView_pimpl.C: add <ctime>
15391 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15393 * BufferView_pimpl.C: add using std::find_if
15395 2001-02-27 José Matos <jamatos@fep.up.pt>
15397 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15400 2001-02-11 José Matos <jamatos@fep.up.pt>
15402 * buffer.C (makeDocBookFile): command styles now have a parameter as
15403 "title" by default.
15405 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15407 * layout_forms.[Ch]: removed
15408 * lyx_cb.[Ch]: out character
15409 * lyx_gui.C: out character
15410 * lyx_gui_misc.C: out character
15411 * bufferview_funcs.C: : out character,
15412 added toggleall as parameter in ToggleAndShow
15414 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15416 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15418 * text2.C (SetCurrentFont): Disable number property at boundary.
15420 2001-02-26 Juergen Vigna <jug@sad.it>
15422 * lyxfunc.C (getStatus): added a string argument override function so
15423 that this is correctly called from LyXFunc::Dispatch if it contains a
15424 do_not_use_argument which is used!
15425 (Dispatch): added check for "custom" export and call appropriate func.
15427 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15429 * lyxrc.C: Add language_command_local, language_use_babel and
15430 language_global_options.
15432 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15434 * buffer.C (makeLaTeXFile): Use language_use_babel and
15435 language_global_options.
15437 2001-02-23 Juergen Vigna <jug@sad.it>
15439 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15440 which works with LyXText and putted it inside BufferView. Here now we
15441 only call for that part the BufferView::Dispatch() function.
15443 * BufferView.C (Dispatch): added.
15445 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15446 functions which needs to use a LyXText over from LyXFunc.
15447 (MenuInsertLyXFile): added
15448 (getInsetByCode): added
15449 (moveCursorUpdate): added
15450 (static TEXT): added
15452 2001-02-22 Juergen Vigna <jug@sad.it>
15454 * BufferView_pimpl.C (update): call a status update to see if LyXText
15457 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15459 * vc-backend.C (revert): implement for CVS
15460 (getLog): implement for CVS
15462 2001-02-20 Juergen Vigna <jug@sad.it>
15464 * text2.C (ClearSelection): added BufferView param for inset_owner call
15466 * lyxfunc.C (TEXT): added this function and use it instead of
15467 directly owner->view()-text of getLyXText().
15469 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15471 * src/layout_forms.C: out preamble
15472 * src/layout_forms.h: out preamble
15473 * src/lyx_cb.C: out preamble
15474 * src/lyx_cb.h: out preamble
15475 * src/lyx_gui.C: out preamble
15476 * src/lyx_gui_misc.C: out preamble
15477 * src/lyxfunc.C: connect with guii preamble
15479 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15481 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15483 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15485 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15486 whether to run bibtex.
15488 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15490 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15492 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15494 * Makefile.am (lyx_SOURCES): removed bibforms.h
15496 * vspace.h: doxygen
15498 * text.C (GetVisibleRow): make several local vars const
15500 * tabular.C: small cleanup.
15502 * lyxserver.C (callback): use compare instead of strncmp
15504 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15505 inlines to after class or to paragraph.C
15507 * lyxfont.h: remove friend operator!=
15509 * converter.h: move friend bool operator< to non friend and after
15512 * combox.h: small cleanup
15514 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15515 to inlines after class def.
15517 * buffer.C (pop_tag): use string operations instead of strcmp
15519 * bmtable.c: doxygen, small cleanup
15521 * LaTeX.h: remove friend operator==
15523 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15535 * BufferView_pimpl.C:
15536 * BufferView.[Ch]: remove cruft
15538 2001-02-14 Juergen Vigna <jug@sad.it>
15540 * lyxfunc.C: removed #if 0 unused code
15542 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15544 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15546 * text2.C (SetSelection): added a BufferView * parameter
15548 2001-02-13 Juergen Vigna <jug@sad.it>
15550 * lyxfunc.C (Dispatch): fixed protected blank problem.
15551 * BufferView2.C (protectedBlank): added LyxText * parameter.
15553 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15554 (AppendColumn): same as above for column_info.
15556 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15557 (moveCursorUpdate): use a LyXText param for support of InsetText.
15559 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15560 (tripleClick): ditto
15562 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15564 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15566 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15568 * text2.C (SetSelection): set correct update status if inset_owner
15569 (ToggleFree): ditto
15571 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15573 * tabular.C: remove some commented code.
15575 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15577 * BufferView_pimpl.C: call hideSplash()
15579 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15582 * bibforms.h: remove
15585 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15586 add LFUN_CHILD_CREATE
15588 * counters.h: fix tiny typo
15593 * lyx.C: move splash to frontends/xforms/
15595 * lyx_gui_misc.C: move Include and Bibform to frontends
15597 * lyxvc.h: clarify comment
15599 * vspace.C: tiny housekeeping
15601 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15603 * text.C (PrepareToPrint): RTL Fix.
15605 * paragraph.C (GetUChar): New method.
15606 (String): Use GetUChar.
15608 * buffer.C (asciiParagraph): Use GetUChar.
15610 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15612 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15614 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15617 * buffer.C: rename to getLogName(), handle
15618 build log / latex log nicely
15620 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15623 * MenuBackend.h: remove support for reference menuitem type.
15625 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15627 * BufferView_pimpl.C: housekeeping
15628 * BufferView_pimpl.h:
15633 * minibuffer.h: move Timeout GUI-I
15635 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15637 * lyxrc.C (read): Update converters data-structures.
15639 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15641 * LaTeX.h (operator!=): add operator != for Aux_Info
15643 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15645 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15647 * LaTeXLog.C: deleted, useful code moved to Buffer
15650 * buffer.C: new function getLatexLogName()
15656 * lyxfunc.C: use frontends for LaTeX and VC logs
15658 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15660 * LaTeX.h: yet another std:: that Allan forgot.
15662 * Variables.C (set): renamed from isset(), because this clashes
15663 with some HP-UX macros (grr).
15665 2001-02-06 Allan Rae <rae@lyx.org>
15667 * LaTeX.h: Another bug fix. Missing std:: this time.
15669 2001-02-04 Allan Rae <rae@lyx.org>
15671 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15672 floats problem. I've left it commented out because it's not quite
15673 correct. It should also test that the current object is a table or
15674 figure inset. But I haven't gotten around to figuring out how to do
15675 that. I *think* it'll be something like: "table" == inset.type()
15677 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15680 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15682 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15683 all the citation/databases/styles in the auxilary file.
15684 (run): Rerun latex if there was a babel language error.
15686 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15688 * text.C (Backspace): Preserve the font when changing newline char
15690 (BreakParagraph): If the cursor is before a space, delete the space.
15692 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15694 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15696 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15697 new argument (code).
15698 (ChangeCitationsIfUnique): New method.
15700 * paragraph.C (GetPositionOfInset): Handle bibkey.
15702 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * BufferView_pimpl.h: change type of Position::par_pos to
15705 LyXParagraph::size_type.
15707 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15709 * BufferView_pimpl.C (savePosition, restorePosition): Write
15710 messages to minibuffer.
15712 2001-01-28 José Matos <jamatos@fep.up.pt>
15714 * buffer.C (makeDocBookFile): adds support for document language.
15715 A silly restriction on the name of LatexCommand types where removed.
15716 Added support for CDATA sections, allows to chars unescaped, used
15717 among others in code, to avoid escape < and >.
15719 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15721 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15722 saved positions instrad of a stack. Furthermore, a position is
15723 stored using paragraph id/paragraph position.
15725 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15726 Remove LFUN_REF_BACK.
15728 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15730 * converter.C (dvipdfm_options): New method.
15732 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15734 * vspace.C (isValidLength): Fix for empty input string.
15736 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * LyXAction.C (init): change description of LFUN_FIGURE to
15741 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * LaTeX.C: add using directive
15745 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15747 * MenuBackend.C (expand): Fix the sorting of the formats.
15749 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15751 * lyx_main.C: tiny error message fix
15753 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15756 calling fl_initialize(). This fixes the problem with ',' as
15757 decimal separator in text files.
15759 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15761 * trans.C (process): Fix the keymap bug.
15763 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15765 * LaTeX.C (scanAuxFiles): New method. Provides support for
15766 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15767 (scanLogFile) Scan for "run BibTeX" messages.
15769 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15770 OT1 font encoding. Also, load the aecompl package if the ae
15773 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15775 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * texrow.C (increasePos): turn two error messages into debug
15780 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15782 * LaTeX.C (scanAux): Handle the \@input macro.
15783 (runBibTeX): Use scanAux().
15785 * language.C (latex_options_): New field.
15787 * LaTeXFeatures.C (getMacros): Add language macros.
15789 * buffer.C (makeLaTeXFile): Small fix.
15791 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15793 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15795 * text2.C: add a using directive.
15797 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15802 * lyxfunc.C: kill LyXBell.
15804 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15806 * text.C (IsBoundary): Remove the error message
15808 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15810 * lyxrc.C (setDefaults): Correct initialization value for
15813 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15815 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15818 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15819 and GotoNextNote().
15821 * src/LyXAction.C: Added reference-next.
15823 * text.C (InsertChar): Use contains instead of strchr.
15825 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15827 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15829 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15830 alignment commands (when needed).
15832 * text.C (InsertChar): Add ':' to number separator chars.