2 2004-08-12 André Pönitz <poenitz@gmx.net>
4 * text3.C: take out the 'cursor right' form insertInset and only
5 do it in those places when it is really needed. Fixes crash on C-m...
7 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
11 * BufferView_pimpl.C (setBuffer): initialize the current font of
12 the underlying LyXText
14 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * kbsequence.C (print): use UI native formatting for menu
19 * text.C (insertChar): call Paragraph::insertChar with a font
22 * paragraph.C (insertInset, insertChar): the version that takes a
23 LyXFont argument is now a wrapper around the other one (the
24 opposite used to be true).
26 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
27 argument. Font setting is done in Paragraph now.
29 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * outputparams.h: add new members intitle and lang.
33 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
34 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
36 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
38 * text3.C (dispatch): remove special handling of button 4 and 5,
39 it is now taken care of in the frontend code.
41 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * Spacing.h: add <string> (STLPort compile fix)
45 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
47 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
49 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
51 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
54 * converter.C (showMessage): inherit from unary_function, make
57 * buffer.C (writeFile): initialize retval
59 * InsetList.h: rename private variable list to list_
60 * InsetList.[Ch]: adjust accordingly.
62 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
64 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
65 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
66 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
67 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
68 * ParagraphParameters.C, LaTeXFeatures.C: replace
69 "support/std_sstream.h" with <sstream>
71 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
73 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
74 * lyxsocket.C (LyXServerSocket): ditto
75 (serverCallback): ditto
77 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
79 * LaTeXFeatures.C: check release date when loading jurabib.
81 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
83 * lyxserver.C (startPipe): call register_socket_callback
84 (endPipe): call unregister_socket_callback
86 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
88 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
89 (LyXServerSocket): register the callback
90 (LyXServerSocket): unregister the callback
92 (serverCallback): improve error checking and setup the callbacks.
93 (dataCallback): change arg to fd.
94 (writeln): new func (copied fro the client socket) used for server
96 (LyXDataSocket): simplify
97 (~LyXDataSocket): close ann unregiser callback
98 (server): delete function
100 (readln): small changes, improve some std::string usage
101 (writeln): constify a bit
103 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
108 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * BufferView_pimpl.C (setBuffer): set the layout combox value only
111 after it has been populated
113 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * text2.C (insertInset): move cursor when inserting inset.
117 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * kbmap.C (findbindings): a couple of new methods. returns a
120 container of kb_sequence objects. The real work is done by the
121 private recursive version
122 (printbindings): uses findbindings to print out a bracketed list
123 of bindings (renamed from findbinding).
125 * MenuBackend.C (binding): use kb_keymap::findbindings
127 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
129 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
133 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * paragraph.C (isWord): return true on insets that report
138 * text.C (getWord): use Paragraph::isWord to decide what is in a
139 word and what is not; fix bug 1609.
141 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
143 * tex-strings.C: add "none" to string_paperpackages[], fixes
144 off-by-one-error in the paperpackage selection.
147 * tex-strings.[Ch]: char const * string[n]
148 -> char const * const string[]
150 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
153 command, return early.
155 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
157 * debug.h: add DEBUG to enum and fix size of ANY.
159 * debug.C: add support for Debug::DEBUG
160 (showTags): cast errorTags.level to unsigned int
162 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
163 (redoCurrentBuffer): ditto
164 (updateScrollbar): ditto
165 * cursor.C (dispatch): ditto
166 * text2.C (setLayout): ditto
168 (updateCounters): ditto
170 (deleteEmptyParagraphMechanism): ditto
172 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
174 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
175 annotations to cleanup the Makefile slightly.
177 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * lyxrc.C: do not set user_email to a default value but use empty
180 instead. The entry used to be translated, which does not work
181 since at the point where lyxrc is constructed there is no
182 translation service available
184 * messages.C (getLocaleDir): remove and use directly
185 lyx_localedir() instead
187 2004-06-02 Angus Leeming <leeming@lyx.org>
189 Fix crash caused by dereferencing null pointer 'exportdata' in
190 OutputParams by creating a new ExportData variable on the heap,
191 storing it in a boost::shared_ptr.
192 The crash was triggered when generating an Instant Preview
193 of an external inset.
195 * Makefile.am: add outputparams.C
197 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
198 (c-tor): allocate memory to it.
200 * exporter.C (c-tor): associated changes.
202 2004-06-01 Angus Leeming <leeming@lyx.org>
204 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
205 contains data before calling isInset(0). (Bug 1513.)
207 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
209 * exporter.C (checkOverwrite): new method
210 * exporter.C (copyFile): new method
211 * exporter.C (Export): copy referenced files to the document dir
212 * exporter.[Ch]: new class ExportedFile
213 * exporter.[Ch]: new class ExportData. Contains currently the
214 names of referenced external files
215 * outputparams.h: add exportdata member.
217 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
219 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
222 2004-05-19 Angus Leeming <leeming@lyx.org>
227 * lyxfunc.C: small changes due to the introduction of namespace
228 lyx::frontend and the moving of namespace biblio to lyx::biblio.
230 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
232 * text3.C (dispatch): supress update when only moving the cursor
233 * cursor.C (selHandle): remove commented code
235 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * paragraph.C (startTeXParParams): correct column count
238 * CutAndPaste.C (pasteSelection): remove const_cast
239 * output_docbook.C (docbookParagraphs): remove const_cast
240 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
241 const_cast and return ParagraphList::const_iterator
242 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
243 * output_plaintext.C (writeFileAscii): remove const_cast
244 * paragraph.[Ch] (simpleTeXOnePar): make const
245 * paragraph_funcs.C (outerPar): use const iterators
246 * paragraph_pimpl.C (validate): use const iterators
247 * text.C (setHeightOfRow): use const iterators
249 2004-05-17 Angus Leeming <leeming@lyx.org>
252 * LyXAction.C (init): new LFUN_INSET_REFRESH.
254 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
255 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
256 if the citation engine has changed.
258 2004-05-14 José Matos <jamatos@lyx.org>
260 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
261 if the textclass does not provide it. Have it different for sgml and
263 support the language of document.
264 * output_docbook.C (docbookParagraphs):
265 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
266 first anchor as the id of the paragraph, remove special case code.
267 * sgml.C (escapeChar): escape only < & >.
269 2004-05-14 Angus Leeming <leeming@lyx.org>
271 * bufferparams.h: move biblio::CiteEngine enum here to minimize
272 dependencies on src/frontends/controllers/biblio.h. Define a
273 CiteEngine_enum wrapper class to enable the enum to be forward
276 2004-05-12 Angus Leeming <leeming@lyx.org>
278 * buffer.C: up LYX_FORMAT to 234.
279 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
280 use_numerical_citations with a single biblio::CiteEngine cite_engine
282 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
284 2004-05-13 José Matos <jamatos@lyx.org>
287 * converter.C (Converter, readFlags): add xml member.
288 * outputparams.h: add XML flavor.
289 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
291 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * lyxfunc.C (dispatch):
294 (getStatus): fix handling of LFUN_SEQUENCE
296 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * debug.C (showLevel): do not forget the end-of-line marker
300 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * kbmap.C (read): do not stop parsing a bind file when an error
305 2004-04-29 Angus Leeming <leeming@lyx.org>
310 * text2.C: wrap a bunch of #warning statements
311 inside #ifdef WITH_WARNINGS blocks.
313 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
315 * buffer.C: increment format to 233.
317 2004-04-28 Angus Leeming <leeming@lyx.org>
319 * BufferView_pimpl.C:
322 s/updateToolbar()/updateToolbars()/
323 s/Toolbar.h/Toolbars.h/
325 2004-04-28 Angus Leeming <leeming@lyx.org>
327 * BufferView.[Ch] (c-tor):
328 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
329 No longer passes these data to the WorkArea generator.
331 2004-04-28 Angus Leeming <leeming@lyx.org>
333 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
335 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
337 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
339 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * output_latex.C (TeXEnvironment): make sure that there is a line
342 break before \end{foo} for the last paragraph of a document
343 (TeXOnePar): if the paragraph is at the end of the document (or
344 inset) and the language has to be reset, then make sure that the
345 line break is _before_ the language command, not after (fixes bug
346 1225); also make sure that the language reset command is the first
347 thing after the paragraph (to ensure proper nesting of
348 environments and thus fix bug 1404)
350 2004-04-21 John Levon <levon@movementarian.org>
353 * ToolbarBackend.C: make "name" be a programmatic name
354 and a gui_name field.
356 * lyxfunc.C: display the minibuffer on M-x
358 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
363 2004-04-19 Angus Leeming <leeming@lyx.org>
365 * BufferView_pimpl.C (setBuffer): changed preview interface.
367 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
370 2004-04-19 John Levon <levon@movementarian.org>
372 * BufferView_pimpl.C:
373 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
375 2004-04-05 Angus Leeming <leeming@lyx.org>
377 * text.C (redoParagraphs): add call to updateCounters(), thereby
378 fixing the missing "Figure #:" label from the caption of a
381 2004-04-13 Angus Leeming <leeming@lyx.org>
383 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
384 cursor is clicked out of an inset.
386 2004-04-13 Angus Leeming <leeming@lyx.org>
388 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
389 than an InsetOld one.
391 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * format.[Ch]: add editor to Format
394 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
395 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
397 2004-04-08 André Pönitz <poenitz@gmx.net>
399 * metricsinfo.h: remove PainterInfo::width member
401 2004-04-08 Angus Leeming <leeming@lyx.org>
403 * lyx_sty.C (boldsymbol_def): modify so that it outputs
404 "\providecommand" rather than "\newcommand", thereby preventing
405 clashes with packages that define "\boldsymbol" themselves.
408 2004-04-08 Angus Leeming <leeming@lyx.org>
410 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
411 thereby squashing an unnecessary warning.
413 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
415 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
418 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
420 * BufferView.C (setCursor): call redoParagraph (some insets could
422 (putSelectionAt): remove the 'double update' trick
424 * BufferView_pimpl.C (fitCursor): call refreshPar
425 (workAreaDispatch): remove an uneeded update call
426 (dispatch): remove some manual update calls
428 * cursor.[Ch]: remove cached_y_, updatePos
429 (selHandle): set noUpdate when appropriate
431 * lyxfunc.C (dispatch): track if we need an update
433 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
435 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
436 (paintSelection): cheap optimization, do not call cursorX when not
438 (paintPars): change signature
441 (paintTextInset): adjust
445 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * lengthcommon.C: compilation fix: remove explicit array size from
448 unit_name[] and friends
450 2004-04-05 Angus Leeming <leeming@lyx.org>
452 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
454 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
455 present only for the preferences dialog.
456 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
458 2004-04-05 Angus Leeming <leeming@lyx.org>
460 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
461 to enable the frontends to export changes to lyxrc correctly.
463 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
465 2004-04-07 André Pönitz <poenitz@gmx.net>
467 * cursor.[Ch] (selClear, adjust): remove math
469 * cursor_slice.C: more agressive assert
472 * BufferView_pimpl.C: rework mouse event dispatch
479 2004-04-05 André Pönitz <poenitz@gmx.net>
481 * cursor.[Ch] (valign, halign...): remove unneeded functions
483 2004-04-05 Angus Leeming <leeming@lyx.org>
485 * lyxlength.[Ch] (unit_name et al.): const-correct.
487 2004-04-05 Angus Leeming <leeming@lyx.org>
489 * BufferView_pimpl.C:
498 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
500 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
502 * text3.C (getStatus): add LFUN_BEGINNINGBUF
504 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
506 * lyxfind.C: add a couple of inTexted() tests + other small fixes
507 * BufferView_pimpl.[Ch] (getStatus)
508 * BufferView.[Ch] (getStatus): add
509 * lyxfunc.C (getStatus): move lfuns handled in
510 BufferView::dispatch to te function above
511 * Cursor.C (setSelection): set selection() = true
513 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
515 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
517 2004-03-31 Angus Leeming <leeming@lyx.org>
519 * lyxfunc.C (dispatch): Fall through to the generic
520 Dialogs::show("preamble").
522 2004-03-31 Angus Leeming <leeming@lyx.org>
524 * lyxfunc.C (dispatch): Fall through to the generic
525 Dialogs::show("spellchecker").
527 2004-03-31 Angus Leeming <leeming@lyx.org>
529 * lyxfunc.C (getStatus, dispatch): changed invocation of the
532 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
537 * insetiterator.[Ch]:
542 * undo.[Ch]: s/DocumentIterator/DocIterator/g
544 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
546 * BufferView.C (setCursor, putSelectionAt): call edit to open the
547 insets where we are putting the cursor.
549 2004-03-31 Angus Leeming <leeming@lyx.org>
552 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
554 * lyxrc.[Ch] (read, write): overloaded member functions taking
555 a std::[io]stream arguments.
557 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
559 2004-03-31 Angus Leeming <leeming@lyx.org>
561 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
562 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
564 * lyxtextclass.C (load): if the text class couldn't be loaded, then
565 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
567 2004-03-31 Angus Leeming <leeming@lyx.org>
569 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
570 the LFUN_ALL_INSETS_TOGGLE code.
572 2004-03-30 Angus Leeming <leeming@lyx.org>
574 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
575 has died. Fall through to the generic Dialogs::show("document").
577 2004-03-30 Angus Leeming <leeming@lyx.org>
580 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
581 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
583 * lyxfunc.C (getStatus, dispatch): define the actions for these
584 lfuns. Little more than a cut and pste job from ControlDocument.C
586 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
588 2004-03-30 Angus Leeming <leeming@lyx.org>
591 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
592 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
594 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
595 open/closed state of ollapsable insets. Usage:
597 all-inset-toggle <state> <name>, where
598 <state> == "open" || "closed" || "toggle" and
599 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
601 * lyxtext.h, text2.C (toggleInset): removed.
603 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
604 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
605 now passes LFUN_INSET_TOGGLE to the found inset.
607 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
608 is now invoked as "all-insets-toggle toggle branch".
610 2004-03-30 Angus Leeming <leeming@lyx.org>
614 * pariterator.[Ch]: added/corrected header blurb.
616 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
618 * dociterator.[Ch]: add an inset_ member
619 (backwardPos): implemented
620 (backwardPos, forwardPos): use inset_ when the stack is empty.
621 (doc_iterator_begin, doc_iterator_end): implemented
622 * pariterator.[Ch]: adjust, add begin, end
623 * insetiterator.[Ch]: adjust, add begin, end
627 * BufferView_pimpl.C:
628 * CutAndPaste.C: adjust
630 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
632 * buffer.C: increment file format to 232.
633 * LaTeXFeatures.C: add bibtopic package.
634 * bufferparams.[Ch]: param \use_bibtopic.
636 * lyxrc.[Ch]: add lyxrc bibtex_command
637 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
639 * buffer.C: increment file format to 231.
641 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
643 * dociterator.C: implement forwardPar
644 * iterators.[Ch]: remove, replaced by
645 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
647 * BufferView_pimpl.C:
650 * bufferview_funcs.C:
656 * Makefile.am: adjust
658 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
660 * CutAndPaste.C (pasteSelection): fix 2 crashes
661 (eraseSelection): fix a crash
662 * paragraph_funcs.C: remove a warning
664 2004-03-28 Angus Leeming <leeming@lyx.org>
667 * LyXAction.C (init): new LFUN_PRINT.
669 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
671 2004-03-27 Angus Leeming <leeming@lyx.org>
674 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
676 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
678 2004-03-27 Angus Leeming <leeming@lyx.org>
680 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
681 insetlist always contains non-null pointers to insets.
683 2004-03-26 Angus Leeming <leeming@lyx.org>
685 * src/BufferView_pimpl.C:
689 * src/output_plaintext.C:
690 * src/outputparams.h:
691 * src/paragraph_funcs.C:
695 * src/frontends/controllers/ControlErrorList.C:
696 * src/frontends/gtk/FileDialogPrivate.C:
697 * src/frontends/gtk/GPainter.C:
698 * src/frontends/gtk/GToolbar.C:
699 * src/frontends/qt2/QRef.C:
700 * src/mathed/math_scriptinset.C: squash compiler warnings.
702 2004-03-26 Angus Leeming <leeming@lyx.org>
704 * ispell.C (LaunchIspell::start):
705 * lyx_cb.C (AutoSaveBuffer::start):
706 invoke run(DontWait) rather than runNonBlocking().
708 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
710 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
712 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * kbsequence.C (print): adjust
716 * kbmap.C (printKeySym): rename and change signature
717 (printKey): use LyXKeySym::print()
719 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
721 * undo.C: add using std::advance to compile for stlport
723 2004-03-24 Angus Leeming <leeming@lyx.org>
725 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
726 it leads to a crash when no buffer is present.
728 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
729 Martin Vermeer <martin.vermeer@hut.fi>
731 * lyxfunc.C (dispatch):
732 * bufferparams.C (readToken): use the new LColor::setColor
734 * LColor.[Ch] (setColor): new version that takes two strings as
735 argument and creates a new color entry if necessary
737 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
739 * buffer.C (makeLaTeXFile): if the main latex file that is
740 processed is usually a subdocument of some master, then pretend
741 for a while that it is actually the master
743 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
745 * buffer.C (getLabelList):
746 (getBibkeyList): use getMasterBuffer()
747 (getMasterBuffer): new method. Returns the main document in the
748 case where one is using included documents.
750 2004-03-25 André Pönitz <poenitz@gmx.net>
754 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
756 * ParagraphList_fwd.h: change ParagraphList to a std::vector
758 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
759 text*.C over here. Rename namespace CutAndPaste to lyx::cap
761 * ParameterStruct.h: merge with ParagraphParameters
763 * lyxtext.h: remove LyXText::parOffset() and getPar()
765 * text3.C: Remove all 'manual' update calls. We do now one per user
766 interaction which is completely sufficient.
770 * BufferView_pimpl.C:
773 * ParagraphParameters.[Ch]:
785 * output_docbook.[Ch]:
787 * output_linuxdoc.[Ch]:
788 * output_plaintext.[Ch]:
790 * paragraph_funcs.[Ch]:
791 * paragraph_pimpl.[Ch]:
799 * frontends/controllers/ControlDocument.C:
800 * frontends/controllers/ControlErrorList.C:
801 * frontends/controllers/ControlSpellchecker.C:
804 * insets/insetbase.h:
805 * insets/insetbibitem.C:
807 * insets/insetbranch.C:
808 * insets/insetcaption.C:
809 * insets/insetcharstyle.C:
810 * insets/insetcharstyle.h:
811 * insets/insetcollapsable.C:
812 * insets/insetcollapsable.h:
814 * insets/insetfloat.C:
815 * insets/insetfoot.C:
816 * insets/insetmarginal.C:
817 * insets/insetnote.C:
818 * insets/insetoptarg.C:
819 * insets/insettabular.C:
820 * insets/insettext.C:
821 * insets/insettext.h:
822 * insets/insetwrap.C:
823 * mathed/math_mboxinset.C:
824 * mathed/math_nestinset.C:
825 * mathed/math_scriptinset.C:
826 * mathed/math_scriptinset.h:
829 2004-03-24 Angus Leeming <leeming@lyx.org>
831 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
832 deal with any child processes that have finished but are waiting to
833 communicate this fact to the rest of LyX.
835 2004-03-24 Angus Leeming <leeming@lyx.org>
837 64-bit compile fixes.
839 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
840 (c-tor): pass lyx::pos_types rather than ints.
842 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
845 * text.C (Delete): compile fix.
846 (getPar): ensure that function declaration is the same as that in
849 2004-03-23 Angus Leeming <leeming@lyx.org>
851 * ispell.C (LaunchIspell):
852 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
853 a boost::shred_ptr rather than a std::auto_ptr.
855 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * lyxfunc.C (getStatus): handle read-only buffers correctly;
858 handle LFUN_FILE_INSERT_*
860 * lyxrc.C (setDefaults, getDescription, output, read):
861 * lyxrc.h: remove ps_command
863 2004-03-22 Angus Leeming <leeming@lyx.org>
865 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
866 Ensure that error_handler is processed once only and that all data
867 is saved before attempting to output any warning messages.
869 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
871 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
873 * tabular.C (TeXRow): crash fix (from Kayvan and André)
875 2004-03-19 André Pönitz <poenitz@gmx.net>
877 * cursor.[Ch] (reset): take main text inset as argument
880 * BufferView_pimpl.C: adjust
882 * paragraph.[Ch]: fix completely broken operator=()
884 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
886 * LColor.C (getFromLyXName): make sure that the color name is used
889 2004-03-17 Angus Leeming <leeming@lyx.org>
892 * LyXAction.C (init): remove LFUN_FORKS_KILL.
894 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
895 dialog and to kill a forked process.
897 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
899 * text2.C (setCursorFromCoordinates): fix font problem
901 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
903 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
904 bogus "rebuild cursor" code
906 2004-03-11 André Pönitz <poenitz@gmx.net>
908 * buffer.[Ch]: use InsetText instead of LyXText as container for
911 * dociterator.[Ch]: drop the BufferView * member which is not needed
912 anymore after the change to buffer.C
918 * BufferView_pimpl.[Ch]:
920 * cursor_slice.[Ch]: adjust
922 * text3.C: fix bug in mathDispatch
924 2004-03-08 André Pönitz <poenitz@gmx.net>
926 * undo.[Ch]: use 'StableDocumentIterator' as base for
929 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
932 * bufferparams.[Ch]: add jurabib support and param.
934 * LaTeX.C: add FIXME/comment.
936 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
938 * buffer.C: increment file format to 230.
940 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
942 * cursor.C (dispatch): avoid infinite loops
944 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
946 * rowpainter.C (paintSelection): fix x coordinates
948 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
950 * text.C (rowBreakPoint): fix breaking before displayed insets
952 2004-03-01 André Pönitz <poenitz@gmx.net>
954 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
956 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
960 * BufferView_pimpl.C:
968 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
974 * BufferView_pimpl.C: rename textwidth -> maxwidth,
975 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
977 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
979 * Bidi.[Ch] (computeTables): const correctness
980 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
981 fill_hfill, fill_label_hfill and x from Row
982 * lyxtext.h: prepareToPrint returns a RowMetrics
983 * rowPainter.C: adjust
984 * text.C (prepareToPrint): use width, not textWidth. adjust
985 (redoParagraphInternal, cursorX): adjust
986 * text2.C (getColumnNearX): adjust
987 (init): put a default value to the top LyXText::width
989 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
991 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
993 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
995 * lyxtext.h: add FontIterator class
997 * text.C (FontIterator, operator*, operator->, operator++): add
998 (rowBreakPoint, setRowWidth): adjust (fixing a
1001 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * BufferView_pimpl.C (workAreaDispatch): allow also
1004 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1006 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1008 * text.C (rowBreakPoint): fix a bug showing with very large insets
1010 2004-02-25 André Pönitz <poenitz@gmx.net>
1013 * cursor.[Ch]: move some mathed specific code to mathed
1015 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1017 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1018 use_tempdir in preferences
1019 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1021 * lyx_main.C: ensure that tempdir is valid
1022 * lyxlex.h: correct typo
1023 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1024 * paragraph.[Ch] (isMultiLingual): make const
1025 * cursor.[Ch] (openable): make const
1027 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1029 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1031 2004-02-20 André Pönitz <poenitz@gmx.net>
1033 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1035 * cursor.[Ch]: prepare for localized getStatus()
1041 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1043 2004-02-20 André Pönitz <poenitz@gmx.net>
1045 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1047 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1049 * text2.C (setCursorFromCoordinates): switch to absolute coords
1051 (cursorDown): adjust
1052 * text3.C (dispatch): adjust
1054 2004-02-16 André Pönitz <poenitz@gmx.net>
1056 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1059 * cursor_slice.[Ch]: remove unneeded acessor function
1061 * lyxtext.h: rename rtl() to isRTL()
1069 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1071 * rowpainter.C (paintSelection): coord fix
1073 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1075 * Spacing.C: compile fix
1077 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1079 * cursor.C (dispatch): restore current_ before returning
1081 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1083 * text2.C (cursorUp, cursorDown): fix coords
1086 2004-02-12 André Pönitz <poenitz@gmx.net>
1091 * text3.C: add LCursor & parameter to most cursor movement functions
1092 remove usage of LyXText::cursorRow() and cursorPar()
1094 * cursor.[Ch]: add textRow() needed members
1097 * BufferView_pimpl.C:
1100 * BufferView_pimpl.C: adjust
1102 2004-02-11 André Pönitz <poenitz@gmx.net>
1106 * BufferView_pimpl.C: shift undo/redo handling
1108 * cursor.[Ch]: fix mathed crash
1111 * lyxtext.h: move selectionAsText to LCursor
1119 * rowpainter.C: fix excessive drawing
1121 2004-02-06 André Pönitz <poenitz@gmx.net>
1124 * BufferView_pimpl.[Ch]:
1125 * text3.C: move some text specific LFUN handling
1127 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1129 * text3.C (checkInsetHit): adjust coords
1130 * text2.C (getColumnNearX): adjust coords
1131 (edit): adjust coords
1132 * text.C (getRowNearY): add two asserts
1134 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1137 * format.C: add using std::distance to compile on gcc 2.95/stlport
1139 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1141 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1143 2004-02-04 André Pönitz <poenitz@gmx.net>
1145 * BufferView.[Ch] (insertInset):
1146 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1151 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1153 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1154 on the default clause of the switch
1155 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1156 wasn't catched by LCursor::dispatch
1158 2004-02-03 André Pönitz <poenitz@gmx.net>
1161 * cursor.[Ch]: some additional asserts
1163 * undo.[Ch]: remove LyXText dependency in interface
1167 * lyxtext.h (firstPar, lastPar): remove dead functions
1172 * paragraph.[Ch]: adjust
1174 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1176 * lyxfind.C (find): fix argument order in call to ::find
1178 2004-02-02 André Pönitz <poenitz@gmx.net>
1180 * cursor.[Ch]: remove direct access to anchor
1182 * text.C: remove findText() hack
1184 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1186 * iterators.[Ch] (lockPath): remove in favour of...
1187 * BufferView.[Ch] (setCursor): this addition
1188 * BufferView.C (putSelectionAt): adjust
1189 * undo.C (performUndoOrRedo): adjust
1190 * lyxfunc.C (dispatch): adjust
1192 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1194 * iterators.C (lockPath): add a missing slice
1195 * undo.C (performUndoOrRedo): remove redundant positioning code
1197 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1199 * vc-backend.C (scanMaster): ";" -> ';'
1201 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1203 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1204 std::binary_function
1206 * lyxtextclass.C (compare_name): rename to...
1207 (LayoutNamesEqual): ...this
1209 * lyxlex_pimpl.C (compare_tags): inherit from
1210 std::binary_function, put back into anon namespace
1212 * lyxfind.C (MatchString): inherig from std::binary_function
1213 (findChange): use empty() istead of !size()
1215 * format.C (FormatNamesEqual): new functor
1222 * converter.C (compare_Converter): rename to...
1223 (ConverterEqual): ...this, and fixup a bit.
1224 (getConverter): use it, and make function const
1225 (getNumber): use it, and make function const
1229 * bufferlist.C: add using boost::bind
1231 * MenuBackend.C (MenuNamesEqual): new functor
1232 (hasMenu): use it, and make function const
1233 (hasSubmenu): use nested bind to get rid of compare_memfun.
1235 2004-01-30 André Pönitz <poenitz@gmx.net>
1237 * BufferView_pimpl.C:
1240 * cursor_slice.[Ch]:
1243 * paragraph_funcs.C:
1244 * paragraph_funcs.h:
1248 * text3.C: move some of the edit(x,y) handling to the insets
1249 some coordinate changes.
1251 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1253 * text.C: add using statements for std::advance and std::distance
1255 * paragraph.C: add using statement for std::distance
1257 * lyxfind.C: add using statement for std::advance
1259 * cursor.C (region): remove std:: from swap
1260 (openable): use nucleus in stead of operator->
1262 * BufferView.C: add using statements for std::distance and std::swap
1264 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1266 * iterators.C: Remove the pimple, move the needed structures to
1267 the header file. Create accessor for the positions stack.
1268 (asPosIterator): remove function
1270 * PosIterator.C (PosIterator): move constructors to top of file
1271 (PosIterator): reimplement the constructor taking a ParIterator in
1273 (setFrom): new function
1274 (operator!=): inline it
1276 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1278 * lyxfind.C (replaceAll): use std::advance
1280 * iterators.h: inherit from std::iterator.
1282 * PosIterator.C (advance, distance): remove
1283 * PosIterator.h: interit from std::iterator.
1285 2004-01-26 André Pönitz <poenitz@gmx.net>
1288 * BufferView_pimpl.[Ch]:
1292 * bufferview_funcs.C:
1302 * output_linuxdoc.C:
1303 * output_plaintext.C:
1305 * paragraph_funcs.[Ch]:
1306 * paragraph_pimpl.[Ch]:
1312 * text3.C: more IU: dumps most of the rest of the mathcursor
1313 implementation into cursor.[Ch]; "globalize" a bit of it.
1315 2004-01-25 Angus Leeming <leeming@lyx.org>
1317 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1319 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1321 * LaTeXFeatures.h: add nice_ and nice() const
1322 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1324 2004-01-20 André Pönitz <poenitz@gmx.net>
1327 * BufferView_pimpl.C:
1329 * bufferview_funcs.C:
1331 * cursor_slice.[Ch]:
1342 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1343 LCursor and mathcursor parts to LCursor and InsetBase.
1345 2004-01-15 André Pönitz <poenitz@gmx.net>
1347 * cursor_slice.[Ch]: add a few covienience functions
1349 * funcrequest.[Ch]: remove BufferView * member
1351 * BufferView_pimpl.C:
1358 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1360 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1362 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1363 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1365 2004-01-13 André Pönitz <poenitz@gmx.net>
1368 * lyxtext.h: hide cursor and selection anchor behind accessor function
1371 * BufferView_pimpl.[Ch]:
1373 * bufferview_funcs.C:
1383 * cursor_slice.[Ch]: some integer type changes for inset unification
1385 * lyxcursor.[hC]: remove, it's CursorSlice now.
1388 * BufferView_pimpl.[Ch]:
1389 * bufferview_funcs.C:
1395 * textcursor.[Ch]: adjust
1397 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1399 * text2.C (undoSpan): add and use
1400 * text.C (breakParagraph): use undoSpan (fix bug 578)
1403 2004-01-08 Angus Leeming <leeming@lyx.org>
1405 * BufferView_pimpl.C (MenuInsertLyXFile):
1406 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1407 * lyxfunc.C (menuNew, open, doImport):
1408 FileFilterList change to the FileDialog open and save functions.
1410 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1412 * ShareContainer.h: make isEqual and isUnique adaptable
1414 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1416 2004-01-07 Angus Leeming <leeming@lyx.org>
1419 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1421 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1423 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1424 functions replacing find, replace and replaceAll.
1426 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1427 LFUN_WORDFIND(FORWARD|BACKWARD).
1429 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1431 * text.C (breakParagraph): remove an outdated #warning
1433 2004-01-07 André Pönitz <poenitz@gmx.net>
1435 * lyxfind.C: somewhat clearer logic
1437 * text.C: prevent crash in cursorX on unitialized row cache
1439 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1441 * lyxcursor.[Ch] (operator>): add
1442 * textcursor.C (selStart, selEnd): use std::min and std::max
1444 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1446 * Chktex.C: include boost/format.hpp
1448 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1450 * InsetList.C: replace functor MathcIt with adaptable functor
1452 (insetIterator): modify accordingly
1454 * BranchList.h: move the BranchNamesEqual functor here from...
1455 * BranchList.C: ... to here
1457 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1459 (add): replace a finding loop with std::find_if.
1461 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1463 * output_docbook.C: moving LatexParam functionality into
1466 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1468 * buffer.C: increment format to 229.
1470 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1473 * lyx_sty.[Ch]: remove minipageindent_def
1479 * text3.C: remove LFUN_INSET_MINIPAGE
1481 2003-12-28 Angus Leeming <leeming@lyx.org>
1483 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1485 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1487 * text2.C (setParagraph): fix off-by-one crash
1489 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1491 * output_docbook.C: header stuff for AGU
1493 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1495 * text2.C (redoCursor): remove
1498 * BufferView_pimpl.C: remove calls to redoCursor and
1499 setCursor(cursor.par(), cursor.pos()) all around
1501 2003-12-15 Angus Leeming <leeming@lyx.org>
1503 * buffer.C: up the format to 228.
1505 2003-12-15 André Pönitz <poenitz@gmx.net>
1507 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1512 * BufferView_pimpl.C:
1521 2003-12-15 Angus Leeming <leeming@lyx.org>
1523 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1524 than getFromGUIName to manipulate the color.
1526 2003-12-14 Angus Leeming <leeming@lyx.org>
1528 * BranchList.[Ch]: minimize the API.
1529 (Branch::getBranch, getColor): now return a 'const &'.
1530 (Branch::setSelected) now returns a bool set to true if the
1531 selection status changes.
1532 (BranchList::clear, size, getColor, setColor, setSelected,
1533 allBranches, allSelected, separator): removed.
1534 (BranchList::find): new functions, returning the Branch with
1536 (BranchList::add, remove): return a bool indicating that
1537 the operation was successful.
1539 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1540 new InsetBranch::isBranchSlected member function.
1542 * LColor.[Ch]: mimimize the API.
1543 (fill): renamed as addColor and made private.
1544 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1545 versions of these functions taking a string arg have been removed.
1547 * bufferparams.C (readToken):
1548 * lyxfunc.C (dispatch):
1549 * lyxrc.C (read): changes due to the altered BranchList and
1552 * factory.C (createInset, readInset): changes due to altered
1555 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1558 * lyxfunc.C: remove insetminipage. "minipage-insert"
1559 now produces a frameless minipage box inset.
1561 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1563 * textcursor.[Ch] (selStart,selEnd): add new methods
1564 remove selection::start, end, use LyXCursor::operator<
1565 * lyxcursor.[Ch] (operator<): add
1566 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1567 * BufferView.[Ch] (unsetXSel): add
1568 * text2.C (clearSelection): use unsetXSel,adjust
1571 * rowpainter.C: adjust
1572 * bufferview_funcs.C (put_selection_at): adjust
1574 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1576 * BufferView_pimpl.C: small coord. correction
1578 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1580 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1581 dragging over the splash screen.
1583 2003-12-11 Angus Leeming <leeming@lyx.org>
1585 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1586 as it is now handled in LyXText::dispatch.
1588 * text3.C (doInsertInset): remove a level of nesting.
1590 2003-12-11 Angus Leeming <leeming@lyx.org>
1592 * factory.C (createInset): changes due to the changed interface to
1593 InsetCommandMailer::string2params.
1595 2003-12-10 Angus Leeming <leeming@lyx.org>
1597 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1598 'dialog-show-new-inset <inset name>'
1600 2003-12-10 Angus Leeming <leeming@lyx.org>
1602 * buffer.C: up the format to 227.
1604 * factory.C: the box inset is now identified simply by 'Box'.
1606 2003-12-10 Angus Leeming <leeming@lyx.org>
1608 * buffer.C: up the format to 226.
1610 * factory.C: the note inset is now identified simply by 'Note'.
1612 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1614 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1615 when a pit is enough. Standarize a couple of loops.
1617 2003-12-05 Angus Leeming <leeming@lyx.org>
1619 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1620 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1621 data to the re-worked "log" dialog.
1623 2003-12-03 André Pönitz <poenitz@gmx.net>
1629 * paragraph_funcs.C:
1631 * text2.C: use Inset::getText instead of Inset::getParagraph
1633 2003-12-03 André Pönitz <poenitz@gmx.net>
1637 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1638 InsetText::read() as LyXText::read()
1640 2003-12-02 Angus Leeming <leeming@lyx.org>
1642 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1643 type. Add a comment in the implementation that the function uses
1644 the stream's bad() function rather than fail() as the std::streams
1647 2003-12-02 André Pönitz <poenitz@gmx.net>
1649 * lyxlex.[Ch]: make interface more similar to std::stream
1651 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1653 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1655 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1657 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1659 * vspace.[Ch]: remove VSpace::NONE
1661 2003-12-01 André Pönitz <poenitz@gmx.net>
1664 * lyxtext.h: move ParagraphList member to LyXText
1665 rename LyXText::ownerParagraphs to LyXText::paragraph
1668 * bufferview_funcs.C:
1678 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1680 * undo.C: fix cursor positioning
1682 2003-12-01 John Levon <levon@movementarian.org>
1684 * BufferView_pimpl.C: fix a crash on exit with
1687 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1689 * BranchList.C: fix setSelected() method.
1691 2003-11-28 André Pönitz <poenitz@gmx.net>
1693 * ParagraphParameters.[Ch]:
1694 * ParameterStruct.h: remove space above/below from Paragraph to
1697 * BufferView_pimpl.C:
1703 * paragraph_funcs.C:
1709 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1711 * factory.C: Syntax change for CharStyles
1713 2003-11-28 André Pönitz <poenitz@gmx.net>
1718 * buffer.[Ch]: move LyXText member
1720 2003-11-28 André Pönitz <poenitz@gmx.net>
1722 * BufferView.[Ch]: make LyXText * text a private member
1724 * BufferView_pimpl.C:
1735 * output_plaintext.C: cleanup
1737 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1740 * lyxtextclass.[Ch]: parametrize SGML document header
1742 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1745 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1748 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1750 * text2.C (setFont): rework using PosIterator (no more recursive)
1751 (setCharFont): no more needed
1752 (setLayout): no more selection cursors fiddling (done by redoCursor)
1753 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1754 destroy remaining ones)
1756 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1758 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1760 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1763 * text3.C: adjust + re-allow multi par depth changes
1764 * textcursor.C: simplify a bit
1766 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1772 * src/output_docbook.C:
1773 * src/output_latex.C:
1778 * src/text2.C: Introducing a number of tags parametrizing various
1779 XML formats that we may want to support
1781 2003-11-25 André Pönitz <poenitz@gmx.net>
1783 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1785 * lyxtext.h (leftMargin/rightMargin): simplify interface
1792 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1794 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1795 master file to any child files. Fixes bug 546.
1797 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1799 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1801 2003-11-24 André Pönitz <poenitz@gmx.net>
1803 * rowpainter.C: simplification
1805 * text2.C (updateCounters): remove call to redoParagraph on
1806 changed labels as this is far too expensive.
1808 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1810 * converter.C (convert): fix a crash: this function gets
1811 called with buffer == 0 from importer code.
1813 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1815 * text3.C (cursorPrevious): make sure that we do not compare
1816 iterators form different containers.
1819 * rowpainter.C (paintSelection): make sure that we do not compare
1820 iterators from different containers.
1822 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1823 iterators from different ParagraphList containers.
1826 * text2.C (LyXText): change order of initialization slightly
1827 (operator=): new function. copy all variables except cache_par_
1828 (moveUp): make sure that we do not compare iterators from
1829 different ParagraphList constainers.
1832 * text.C (firstPar): new function
1833 (lastPar): new function
1834 (endPar): new function
1836 * lyxtext.h: move things around and group public functions, public
1837 variables, private functions, private variables
1839 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1841 * factory.C: change call to InsetERT constructor to avoid
1842 additional invocation of method status
1843 * text2.C (toggleInset): remove redundant update() call
1844 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1845 instead of a Bufferview pointer
1847 2003-11-21 André Pönitz <poenitz@gmx.net>
1849 * rowpainter.C: simplification
1851 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1853 * text3.C (dispatch): make possible to extend a word/row selection
1856 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1858 * lyxtext.h: x0_,y0_ -> xo_,yo_
1859 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1860 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1861 * rowpainter.C (paintRows): paint full paragraphs
1863 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1865 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1868 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1870 * lyxtext.h: add x0_, y0_
1871 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1872 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1874 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1876 * text2.C (setCursorIntern): move the x_target update here *
1877 * text3.C: change some bv() to true/false in calls to
1878 cursorUp/Down/Right/Left
1879 * cursor.C: use helper function.
1881 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1883 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1884 * paragraph_funcs.[Ch]: correct comment
1885 * rowpainter.C: do not paint selections away from bv->cursor()
1886 Fix a long standing selection painting bug.
1887 * text3.C: generalize mouse-selection code to LyXTexts other that
1889 * textcursor.C: do not use y coords if we can use par offsets
1891 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1893 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1894 cursor position after e.g. inset insert)
1896 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1898 * lyxfind.C (replace): adjust to locking removal + some
1901 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1903 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1906 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1909 * output_docbook.C: XML sanitation: new layout
1910 parameters InnerTag and CommandDepth
1912 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1914 * BufferView_pimpl.C:
1916 * text3.C: Fix the insertion and modification of button-style
1919 2003-11-13 André Pönitz <poenitz@gmx.net>
1921 * InsetList.[Ch]: remove deleteLyXText
1923 * paragraph.[Ch]: cache beginOfBody position
1928 * text3.C: remove superfluous update() calls
1932 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1934 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1935 * BufferView.C (fitLockedInsetCursor): remove
1936 * cursor.[Ch] (getDim): add
1937 * text.C (getRowNearY): add faster version
1938 * text3.C: remove some update calls
1940 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1952 * text3.C: The Character Style /XML short element patch.
1954 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1957 * factory.C: Small step to solving 'unable to insert some insets'
1960 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1962 * cursor.[Ch] (updatePos): new function for updating the y
1963 position of the tip inset
1964 * bufferview_funcs.C (put_selection_at):
1965 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1967 2003-11-11 André Pönitz <poenitz@gmx.net>
1969 * text.C: remove big comment on invalid Paragraph pointers as it is
1972 2003-11-11 André Pönitz <poenitz@gmx.net>
1974 * text_funcs.[Ch]: merge with ...
1982 * Makefile.am: remove text_funcs.[Ch]
1984 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1986 * cursor.C (getPos): return absolute cached y coord
1988 * BufferView_pimpl.C (fitCursor): new simplistic code
1989 (workAreaDispatch): add a fitCursor call
1991 2003-11-10 André Pönitz <poenitz@gmx.net>
1994 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1996 2003-11-10 André Pönitz <poenitz@gmx.net>
1998 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1999 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2000 indicate that the cursor needs to leave an inset
2002 * lyxtext.h: remove inset locking
2004 * cursor.[Ch]: re-implement functionality provided by inset locking
2007 * BufferView_pimpl.[Ch]:
2009 * bufferview_funcs.[Ch]:
2021 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2023 * PosIterator.[Ch]: replace the stack with a vector, add inset
2025 * iterators.[C]: adjust
2027 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2029 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2031 * paragraph_funcs.C (readParToken): put the correct id in the
2032 error item, not the id of the top paragraph
2034 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2036 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2037 * bufferview_funcs.C (put_selection_at): use the above
2039 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2041 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2043 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * output_linuxdoc.h:
2046 * output_plaintext.h:
2048 * output_docbook.h: add #include statements
2050 2003-11-05 José Matos <jamatos@lyx.org>
2052 * output_docbook.[Ch]:
2053 * output_latex.[Ch]:
2054 * output_linuxdoc.[Ch]:
2055 * output_plaintext.[Ch]: New files for output formats.
2056 * output.[Ch]: New file for helper functions.
2059 * paragraph_funcs.[Ch]: output functions moved to new files.
2061 * outputparams.h: rename of latexrunparams.h
2069 * paragraph_funcs.[Ch]:
2070 * paragraph_pimpl.[Ch]:
2071 * tabular.[Ch]: rename ascii to plaintext
2072 and LatexRunParams to OutputParams.
2074 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2076 * iterators.[Ch] (text): require bv argument
2077 * undo.C (recordUndo):
2078 * lyxfunc.C (dispatch):
2079 * bufferview_funcs.C (put_selection_at): adjust
2081 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2083 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2085 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2087 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2090 2003-11-04 André Pönitz <poenitz@gmx.net>
2092 * cursor.[Ch]: restructure
2095 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2097 * iterators.[Ch] (asCursor): remove
2099 * lfuns.h: remove LFUN_INSET_EDIT
2105 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2107 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2109 * lyxfind.[Ch]: complete overhaul
2110 * BufferView_pimpl.C:
2112 * paragraph.[Ch] (insert): add
2114 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2118 * text.C: remove dead spellcheck code
2120 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * dispatchresult.h: add a val setter
2124 * cursor.C (dispatch): use a tempvar for data_[i]
2126 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2128 * PosIterator.[Ch]: compile fix
2130 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2132 * text.C (cursorPar): deactivate the cursor cache
2134 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2136 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2138 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * text3.C (dispatch): adjust for new DisptchResult semantics.
2142 * lyxfunc.C (dispatch): handle update when return from
2143 Cursor::dispatch, adjust for new DispatchResult semantics.
2145 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2146 DispatchResult(true) mean to not update. Add class functions for
2147 setting dispatched and update, as well as reading.
2149 * cursor.C (dispatch): don't handle update here
2151 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2154 * trans_mgr.C: adjust
2156 * paragraph_funcs.C (readParToken): exception safety
2158 * lyxvc.h: store the vcs pointer in a scoped_ptr
2161 * lyxsocket.C (serverCallback): exception safety
2163 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2165 * ispell.C (clone): make it return a auto_ptr
2167 * factory.C (createInset): exception safety
2168 (readInset): exception safety
2170 * bufferlist.C (newBuffer): exception safety
2172 * Thesaurus.C (Thesaurus): use initialization for aik_
2174 * MenuBackend.C (expandToc): exception safety.
2176 2003-11-03 André Pönitz <poenitz@gmx.net>
2180 * bufferview_funcs.C: remove getInsetFromId()
2183 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2189 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2191 * PosIterator.C (distance, advance): new
2192 * bufferview_funcs.[Ch] (put_selection_at): new
2193 * iterators.[Ch] (lockPath): new
2195 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2197 * iterators.[Ch] (asPosIterator): added
2198 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2199 * PosIterator.[Ch]: added
2201 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * cursor.C (dispatch):
2206 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2208 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2209 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2210 contructor, add a class function dispatched. Remove operator>=
2212 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2214 * debug.C: only use the default constructor for debugstream
2217 * main.C (main): include debug.h and setup the lyxerr streambuf
2220 2003-10-31 José Matos <jamatos@lyx.org>
2222 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2224 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2225 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2226 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2227 * paragraph_pimpl.C (simpleTeXSpecialC):
2228 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2229 add LatexRunParams argument.
2231 * exporter.C (Export): change call accordingly.
2233 * latexrunparams.h: add new member to take care of the other backends.
2234 2003-10-30 José Matos <jamatos@lyx.org>
2236 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2237 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2238 factorise code for paragraph output.
2240 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2243 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2245 * text3.C (dispatch):
2246 * lyxfunc.C (dispatch):
2247 * cursor.C (dispatch):
2248 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2250 * dispatchresult.h: make the dispatch_result_t ctor explicit
2252 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2255 * buffer.C: small refactoring of docbook stuff
2257 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2259 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2262 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2264 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2265 operator dispatch_result_t, and operators for == != and >=
2267 * cursor.C (dispatch): adjust for operator dispatch_result_t
2268 removal. comment out call to update
2270 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2272 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2283 * dispatchresult.h: new file, DispatchResult broken out of
2286 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2288 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2290 * text.C (rowBreakPoint): put a hack inside #if 0
2292 2003-10-28 André Pönitz <poenitz@gmx.net>
2296 * paragraph_funcs.C:
2299 * text2.C: general cleanup (lots of small stuff)
2301 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2303 * text2.C (cursorEnd): simple fix to the "end key goes to one
2304 before the end on last row" bug
2306 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2308 * text.C (backspace): fix the "zombie characters"
2310 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2312 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2314 2003-10-27 André Pönitz <poenitz@gmx.net>
2316 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2318 * factory.C: handle new InsetPagebreak, InsetLine
2320 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2321 and move handling into new InsetPagebreak, InsetLine
2323 * BufferView_pimpl.C:
2325 * ParagraphParameters.C:
2326 * ParameterStruct.h:
2331 * paragraph_funcs.C:
2332 * paragraph_pimpl.C:
2338 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2341 * lyxrow_funcs.[Ch]:
2347 * text3.C: remove lastPos uses in favour of Row::endpos
2349 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2351 * undo.C (performUndoOrRedo): fix two crashes by setting a
2352 cursor by hand and reordering some calls. Use bv->lockInset instead
2353 of inset->edit because the latter loses cursor information
2355 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2357 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2359 (rowBreakPoint): fix width. change point to point + 1.
2360 Add a missing check.
2362 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2365 * lyxfunc.C: fix (at least partly) the problems
2366 with the Nav menu and headers inside branch insets
2369 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2371 * paragraph.C (getChar): add strong asserts
2373 * lyxrow_funcs.C (lastPos): remove hideous hack
2375 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2376 (fill): adjust to that (avoid an infinite loop)
2378 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2380 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2382 2003-10-23 André Pönitz <poenitz@gmx.net>
2384 * RowList_fwd.h: change list<> to vector<> to gain speed
2385 after suggestion from Alfredo
2387 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2389 * lyxtext.h: move the bidi stuff from here...
2392 * Bidi.[Ch]: ... to here
2394 2003-10-23 André Pönitz <poenitz@gmx.net>
2397 * text.C (isLastRow, isFirstRow): new functions
2399 * paragraph.h: new width cache member
2401 * rowpainter.C: replace RowList::iterator with Row & where possible
2403 * lyxfunc.C: replace several view()->text with a single call
2405 * toc.C: fix 'unused' warning
2407 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2410 when woring with stream::pos_type
2411 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2413 2003-10-22 André Pönitz <poenitz@gmx.net>
2416 * text.C: use Row & instead of RowList::iterator
2418 * lyxrow.h: rename end() to endpos()
2424 2003-10-22 Angus Leeming <leeming@lyx.org>
2426 * buffer.[Ch] (fully_loaded): new member function, returning true
2427 only when the file has been loaded fully.
2428 Used to prevent the premature generation of previews and by the
2429 citation inset to prevent computation of the natbib-style label.
2431 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2432 templates are all set up.
2434 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2436 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2438 * text.C: fixed an "oops" in the "is a bit silly"
2441 2003-10-21 André Pönitz <poenitz@gmx.net>
2443 * FuncStatus.[Ch]: small stuff, whitespace
2445 * lyxfont.[Ch]: operator<<() for debug reasons
2449 * lyxtext.h: whitespace, spelling
2451 * paragraph.C: naming of variables
2454 * text2.C: small stuff
2457 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2459 * text.C: (1) finish off the inset display() work;
2460 (2) fix the "is a bit silly" bug (accessing char
2463 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2465 * text.C: re-introduce display() for insets, fixing the
2466 various bugs (stretch of line above, math inset
2469 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2471 * text.C (rightMargin): remove spurious semicolon
2473 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2476 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2478 * text3.C: fix one crash due to wrong cursor def
2480 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * vc-backend.C (scanMaster): make the regex static
2484 * LaTeX.C (scanAuxFile): make the regexs static
2486 * text3.C (doInsertInset, dispatch, dispatch):
2487 * text2.C (cursorUp, cursorDown):
2488 * text.C (selectNextWordToSpellcheck):
2489 * BufferView_pimpl.C (dispatch):
2490 * lyxfunc.C (dispatch): localDispatch -> dispatch
2492 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * lyxsocket.C: include <cerrno>
2496 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * lyxfunc.C (dispatch): remove textcache stuff
2500 * bufferlist.C (release): remove textcache stuff
2503 * TextCache.C: delete file
2504 * TextCache.h: delete file
2506 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2508 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2509 delete of the bv_->text.
2510 (resizeCurrentBuffer): remove texcache stuff
2511 (workAreaResize): ditto
2513 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2518 2003-10-16 André Pönitz <poenitz@gmx.net>
2525 * text3.C: speed up by storing y positions per paragraph plus per-row
2526 offset instead of having a 'full' y position in the row.
2528 2003-10-15 André Pönitz <poenitz@gmx.net>
2532 * undo.[Ch]: make undo aware of inner insets
2534 2003-10-14 Angus Leeming <leeming@lyx.org>
2536 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2537 static member functions LyX::ref() and LyX::cref.
2538 (lastfiles): new accessor functions for the new lastfiles_ member var.
2539 (addLyXView, views_): add a new LyXView to the list of views_.
2540 (updateInset): loop over all LyXViews to call their own updateInset
2541 member function, returning a pointer to the Buffer owning the inset.
2543 * BufferView_pimpl.C (loadLyXFile):
2544 * MenuBackend.C (expandLastfiles):
2545 * bufferlist.C (MenuWrite, QuitLyX):
2546 lastfiles is no longer a global variable.
2547 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2549 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2550 static function. Access through LyX::cref().emergencyCleanup().
2552 2003-10-14 André Pönitz <poenitz@gmx.net>
2554 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2556 * undo.[Ch]: restoring part of 'undo in insets'
2559 * undo_funcs.[Ch]: merge with undo.[Ch]
2561 * tabular.C: small cleansing stuff
2563 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2565 * paragraph_funcs.C (readParToken): report unknown insets as error
2566 boxes. Use the outer paragraph as location (also for unknown
2569 * factory.C (readInset): do not abort on reading an unknown inset.
2570 Eat it and return 0.
2572 2003-10-13 Angus Leeming <leeming@lyx.org>
2574 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2576 * lyxrc.C: displayTranslator is now a function,
2577 declared in GraphicsTypes.h.
2579 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2581 * format.C: new placeholder $$a to pass the socket address.
2583 * bufferlist.[Ch]: new function getBufferFromTmp.
2585 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2586 files in the temporary dir.
2588 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2590 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2592 * Makefile.am: add lyxsocket.[Ch].
2594 * lyx_main.C (error_handler): handle SIGPIPE.
2596 2003-10-13 André Pönitz <poenitz@gmx.net>
2598 * BufferView_pimpl.C:
2603 * undo_funcs.[Ch]: use paroffset_type instead of
2604 ParagraphList::iterators to prevent multiple conversion
2605 (and get a more robust interface)
2607 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2609 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2611 * text3.C (dispatch): ditto
2613 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2616 move the onlyfile, use onlyfile instead of foundfile in a couple
2619 * DepTable.C (update): flush the error stream a bit more
2621 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * lyxserver.C (callback): adjust
2625 * lyxfunc.C (getStatus): add a missing brace in commented code
2626 (ensureBufferClean): reindent
2627 (dispatch): delete version taking a string
2629 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2631 * LaTeX.C (deplog): move found file handlig from here...
2632 (handleFoundFile): .. to new function here.
2633 (deplog): make sure to discover several files mentioned on the
2636 2003-10-10 André Pönitz <poenitz@gmx.net>
2643 * text3.C: fix some of the tabular crashes
2645 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2647 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2649 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2651 2003-10-09 André Pönitz <poenitz@gmx.net>
2653 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2656 * BufferView_pimpl.C:
2657 * bufferview_funcs.C:
2668 * undo_funcs.C: adjust
2670 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * text2.C (incrementItemDepth): new function, use a backtracking
2673 algorithm to discover the correct item depth.
2674 (resetEnumCounterIfNeeded): new function, use a backtracking
2675 algorithm to discover if counter reset is needed.
2676 (setCounter): use them. Simplify a bit. Add different labels for
2677 different item depths for itemize.
2679 * paragraph.C (Paragraph): remove initialization of enumdepth
2682 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2683 enumerate and itemize. Change the type of itemdepth to signed char.
2685 2003-10-08 André Pönitz <poenitz@gmx.net>
2687 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2692 * tabular.[Ch]: fix crash after 'row-insert'
2694 2003-10-08 Angus Leeming <leeming@lyx.org>
2696 Fix doxygen warnings.
2698 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2699 Remove CutAndPaste:: prefix from header file declaration.
2701 * LColor.h (fill): remove LColor:: prefix from declaration.
2703 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2704 use lyx::depth_type rather than Paragraph::depth_type so that
2705 header file and .C file match.
2707 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2709 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2710 * aspell.C: \file aspell_local.C -> \file aspell.C
2711 * gettext.C: \file gettext.C -> \file src/gettext.C
2712 * gettext.h: \file gettext.h -> \file src/gettext.h
2713 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2714 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2715 * text.C: \file text.C -> \file src/text.C
2717 * toc.C: move comment so that doxygen is not confused.
2719 2003-10-07 Angus Leeming <leeming@lyx.org>
2721 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2723 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2726 * aspell_local.h: add forgotten std::string's.
2728 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2735 * text3.C: The Box patch. Fancybox support, minipage, parbox
2737 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2743 * ParagraphParameters.h:
2753 * lyxtextclasslist.h:
2756 * paragraph_pimpl.C:
2757 * textcursor.h: add <string> and other small fixes to make Lars'
2758 std::string patch compile with STLport.
2760 2003-10-06 Angus Leeming <leeming@lyx.org>
2762 * LColor.h: Add missing #include <string>.
2764 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * All most all file in all subdirs: Make <string> be the prefered
2767 way of getting to std::string, add using declarations.
2769 2003-10-06 André Pönitz <poenitz@gmx.net>
2771 * metricsinfo.C: initialize LyXFont before changing attribute.
2772 (fixes the 'math in \emph is upright' bug)
2774 2003-10-06 André Pönitz <poenitz@gmx.net>
2776 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2778 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2781 * paragraph_pimpl.C: Small fixes to build using STLport
2783 2003-10-02 André Pönitz <poenitz@gmx.net>
2786 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2788 2003-10-01 André Pönitz <poenitz@gmx.net>
2790 * factory.C: assert early
2792 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * lyx_main.C: remove the global debug object
2796 * debug.h: adjust for new debugstream
2798 * debug.C: adjust for new debugstream and keep the global debug
2801 2003-09-22 Angus Leeming <leeming@lyx.org>
2803 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2804 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2805 an incomplete class LyXFont.
2807 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2809 * factory.C: bug fix in branches
2811 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * lyxfunc.C (processKeySym): adjust
2815 (dispatch): change arg name from ev to func, adjust
2816 (sendDispatchMessage): ditto
2818 * lyx_main.C (defaultKeyBindings): adjust keybindings
2819 (deadKeyBindings): ditto
2821 * kbsequence.C (addkey): return a FuncRequest
2823 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2825 * kbmap.C (bind): take a FuncRequest as arg, adjust
2828 (defkey): change to take a FuncRequest as arg, adjust
2829 (findbinding): take a FuncRequest as arg, adjust.
2831 * funcrequest.h (operator=): added
2833 * funcrequest.C (FuncRequest): default kb_action changed from
2834 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2836 * buffer.C (dispatch): simplify
2837 (dispatch): adjust to take a FuncRequest as arg, adjust
2839 * boost.C (assertion_failed): change assertion message slightly
2841 * ToolbarBackend.C (read): simplify
2843 * MenuBackend.C (binding): adjust call to findbinding, add a
2844 message if no binding is found.
2846 (expandToc): correct by adding a empty FuncRequest
2848 * LyXAction.C: include <boost/assert.hpp>
2849 (isPseudoAction): delete function
2850 (LookupFunc): change name to...
2851 (lookupFunc): this. change return type to FuncRequest.
2852 (getActionName): take kb_action as arg, simplify
2853 (funcHasFlag): add an assert, simplify.
2855 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * toc.C (action): return a FuncRequest, simplify
2859 * lyxfunc.C (processKeySym): adjust
2860 (getStatus): delete version that takes an int.
2862 (dispatch): delete version that takes action as int
2864 (sendDispatchMessage): simplify and adjust
2866 * funcrequest.C (getArg): take unsigned int as arg
2868 * ToolbarBackend.C (read): adjust
2869 (add): delete version that takes func as a string.
2870 (getIton): take a FuncRequest as arg
2872 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2875 * MenuBackend.C (MenuItem): add a new construct that only takes a
2876 Kind, simplify the constructor use for submenus.
2878 (expandLastfiles): adjust
2879 (expandDocuments): adjust
2880 (expandFormats): adjust
2881 (expandFloatListInsert): adjust
2882 (expandFloatInsert): adjust
2883 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2885 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2886 Remove class variables lyx_pseudo_map and lyx_arg_map
2888 * LyXAction.C (searchActionArg): delete function
2889 (getPseudoAction): delete function
2890 (retrieveActionArg): delete function
2891 (LookupFunc): make it return kb_action, simplify.
2892 (getActionName): simplify
2894 * factory.C (createInset): fix new bug
2896 2003-09-19 Angus Leeming <leeming@lyx.org>
2898 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2899 masterFilename_ parameter in the include inset.
2901 * factory.C (createInset): changes due to the changes to InsetInclude.
2903 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2905 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2907 2003-09-18 Angus Leeming <leeming@lyx.org>
2910 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2911 Inset::fillWithBibKeys.
2912 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2914 2003-09-18 Angus Leeming <leeming@lyx.org>
2916 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2918 (ctor): pass and store a 'Buffer const &'
2919 (buffer): new member function.
2921 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2922 '*this' to the LaTeXFeatures ctor.
2924 2003-09-18 Angus Leeming <leeming@lyx.org>
2930 * text.C: rename EnumLColor as LColor_color.
2932 2003-09-18 Angus Leeming <leeming@lyx.org>
2934 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2935 remove #include "insets/insetbase.h" from cursor.h.
2937 2003-09-18 Angus Leeming <leeming@lyx.org>
2939 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2940 InsetOld_code to remove #include "inset.h".
2942 * iterators.C: add #include "insets/inset.h"
2944 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2946 * BufferView.C: remove more locking stuff that apparently doesn't
2947 do anything sensible.
2949 2003-09-16 André Pönitz <poenitz@gmx.net>
2952 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2955 2003-09-16 Angus Leeming <leeming@lyx.org>
2957 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2959 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2962 * paragraph.h: remove #include "lyxfont.h". Forward declare
2965 2003-09-16 Angus Leeming <leeming@lyx.org>
2967 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2968 of support/textutils.h.
2969 (isWord): move the contents of support/textutils.h's IsWordChar here.
2975 * text2.C: add #include "paragraph.h".
2978 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2980 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * LaTeX.C: use namespace alias for lyx::support::os
2988 2003-09-16 Angus Leeming <leeming@lyx.org>
2991 * bufferview_funcs.C:
2994 * paragraph_pimpl.C:
2996 * text.C: add #include "LColor.h".
2998 2003-09-16 Angus Leeming <leeming@lyx.org>
3000 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3001 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3003 Store the FontBits::color variable as an int rather than as an
3004 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3007 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3008 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3009 string calls together.
3011 * lyxrc.C: add #include "LColor.h".
3013 2003-09-15 Angus Leeming <leeming@lyx.org>
3015 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3018 2003-09-15 Angus Leeming <leeming@lyx.org>
3020 * LColor.h: add an EnumLColor wrapper for LColor::color.
3022 * lyxfont.[Ch] (color, setColor, realColor):
3023 * lyxtext.h, text.C (backgroundColor):
3024 pass EnumLColor args to/from the functions, rather than LColor::color
3028 * lyxtext.h: forward declare EnumLColor.
3030 * lyx_main.C: add #include "LColor.h".
3032 2003-09-15 Angus Leeming <leeming@lyx.org>
3034 * .cvsignore: add lyx-gtk.
3036 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * ParagraphParameters.C
3045 * bufferview_funcs.C
3055 * vc-backend.C: remove usage of STRCONV
3057 2003-09-15 Angus Leeming <leeming@lyx.org>
3059 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3060 explicitly define the color passed to the painter.
3062 2003-09-15 Angus Leeming <leeming@lyx.org>
3064 * bufferparams.C (BufferParams): reorder member initializers to avoid
3067 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3069 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3070 * text.C (updateRowPositions): remove an unusual nop
3072 2003-09-12 André Pönitz <poenitz@gmx.net>
3074 * BufferView_pimpl.C:
3083 * Counters.[Ch]: finish the 'automatic counters' job
3085 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3087 * aspell.C: include <boost/assert.cpp> (compile fix)
3089 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3091 * boost.C (assertion_failed): use lyx::support::abort instead of
3094 2003-09-10 Angus Leeming <leeming@lyx.org>
3096 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3097 with their _fwd progeny.
3099 2003-09-09 Angus Leeming <leeming@lyx.org>
3101 134 files throughtout the source tree: replace 'using namespace abc;'
3102 directives with the appropriate 'using abc::xyz;' declarations.
3104 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3106 * boost.C (emergencyCleanup): moved here from LAssert.c
3107 (assertion_failed): new function, called by BOOST_ASSERT
3109 * several files: change Assert to BOOST_ASSERT
3111 2003-09-09 Angus Leeming <leeming@lyx.org>
3113 * buffer.[Ch]: Add an Impl class and move Buffer's member
3114 variables into it. As a result move several header files out of
3117 Add header files to lots of .C files all over the tree as a result.
3119 2003-09-09 Angus Leeming <leeming@lyx.org>
3121 * buffer.[Ch]: make Buffer's member variables private. Add
3124 Lots of changes all over the tree as a result.
3126 2003-09-08 Angus Leeming <leeming@lyx.org>
3128 * graph.C: #include <config.h>.
3130 2003-09-08 Angus Leeming <leeming@lyx.org>
3134 * BufferView_pimpl.C:
3163 * toc.C: remove redundant using directives.
3165 2003-09-07 Angus Leeming <leeming@lyx.org>
3167 * LaTeXFeatures.h: remove #include "support/types.h".
3168 * ToolbarBackend.h: remove #include <algorithm>.
3169 * changes.h: remove #include <ctime>.
3170 * debug.h: remove #include <iosfwd>.
3171 * graph.h: remove #include "support/std_string.h".
3172 * lyx_main.h: remove #include <csignal>.
3173 * lyxlex_pimpl.h: remove #include <fstream>.
3174 * sgml.h: remove #include <algorithm>, <utility>.
3175 * toc.h: remove #include "support/std_ostream.h".
3176 Add #include <iosfwd>.
3178 2003-09-07 Angus Leeming <leeming@lyx.org>
3180 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3182 * converter.h: forward declare LatexRunParams.
3183 * encoding.h: remove #include "lyxrc.h".
3184 * lyxtext.h: remove #include "LColor.h".
3185 * lyxtextclass.h: remove #include "support/types.h".
3186 * trans.h: remove #include "tex-accent.h".
3187 * trans_mgr.h: remove #include "tex-accent.h".
3188 * insets/inset.h: remove #include "support/types.h", <vector>.
3189 * insets/insetcollapsable.h: remove #include "LColor.h".
3190 * insets/insetinclude.h: remove #include "dimension.h".
3191 * insets/insetlatexaccent.h: remove #include "dimension.h".
3192 * insets/insetoptarg.h:: remove #include "insettext.h".
3193 * insets/insettext.h: remove #include "dimension.h",
3194 <boost/shared_ptr.hpp>
3196 * insets/renderers.h: add #include "dimension.h".
3197 * insets/updatableinset.h: add #include "support/types.h".
3199 * many .C files: Associated changes.
3201 2003-09-06 Angus Leeming <leeming@lyx.org>
3203 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3204 one, inside testInvariant.
3206 * PrinterParams.C: new file.
3207 * PrinterParams.[Ch]: move the function bodies out of line.
3209 2003-09-06 Angus Leeming <leeming@lyx.org>
3211 * ParagraphParameters.h: forward declare ParameterStruct rather than
3212 including its header file.
3213 (depth): moved out-of-line.
3215 2003-09-06 Angus Leeming <leeming@lyx.org>
3217 * BufferView_pimpl.h:
3220 * lyxfunc.h: forward declare LyXKeySym rather than
3221 #include "frontends/LyXKeySym.h".
3223 * BufferView_pimpl.C:
3226 * lyxfunc.C: associated changes.
3228 2003-09-06 Angus Leeming <leeming@lyx.org>
3230 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3231 As a result, can remove the #include "insets/inset.h" from BufferView.h
3233 2003-09-06 Angus Leeming <leeming@lyx.org>
3235 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3236 As a result, can remove the #include "insets/inset.h" from BufferView.h
3238 2003-09-06 Angus Leeming <leeming@lyx.org>
3244 * bufferview_funcs.C:
3245 * BufferView_pimpl.C:
3250 * ParagraphParameters.C:
3255 * frontends/controllers/ControlDocument.C:
3256 * insets/insetcaption.C: rearrange the #includes into some sort of
3259 * buffer.h: remove #includes ErrorList.h, undo.h
3261 2003-09-06 Angus Leeming <leeming@lyx.org>
3263 * support/types.h: add a 'depth_type' typedef, used to store the
3264 nesting depth of a paragraph.
3267 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3268 defining explicitly.
3271 * paragraph_funcs.h:
3272 * ParagraphParameters.h:
3273 * sgml.h: use lyx::depth_type rather than Paragraph or
3274 ParameterStruct's depth_type.
3277 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3280 * BufferView_pimpl.C:
3282 * ParagraphParameters.C:
3285 * bufferview_funcs.C:
3292 * frontends/LyXView.C:
3293 * frontends/controllers/ControlDocument.C:
3294 * frontends/controllers/ControlErrorList.C:
3295 * insets/insetbibitem.C:
3296 * insets/insetbranch.C:
3297 * insets/insetcaption.C:
3298 * insets/insetcollapsable.C:
3299 * insets/insetenv.C:
3300 * insets/insetert.C:
3301 * insets/insetfloat.C:
3302 * insets/insetfoot.C:
3303 * insets/insetfootlike.C:
3304 * insets/insetnewline.C:
3305 * insets/insetquotes.C:
3306 * insets/insettabular.C:
3307 * insets/insettext.C:
3308 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3310 * frontends/controllers/ControlChanges.C: #include "changes.h".
3312 2003-09-06 Angus Leeming <leeming@lyx.org>
3314 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3315 than #including paragraph.h.
3318 * RowList.h: deleted. Superfluous.
3328 * insets/insettext.h: use ParagraphList_fwd.h rather than
3331 * paragraph.h: don't forward declare ParagraphList.
3334 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3335 rather than ParagraphList.h. paragraph.h is still needed for the
3336 Paragraph::depth_type parameters.
3338 * textcursor.h: enable it to compile stand-alone in light of the
3341 * bufferview_funcs.C:
3353 * frontends/controllers/ControlParagraph.C:
3354 * frontends/controllers/ControlTabular.C:
3355 * insets/insetmarginal.C:
3356 * insets/insetminipage.C:
3357 * insets/insetnote.C:
3358 * insets/insetoptarg.C: add header files needed to compile again.
3360 2003-09-06 Angus Leeming <leeming@lyx.org>
3362 * RowList_fwd.h: new file, forward-declaring Row rather than
3363 #including lyxrow.h.
3368 * insets/insettext.h: use it instead of RowList.h
3370 * bufferview_funcs.C:
3377 * text3.C: #include "RowList.h".
3379 2003-09-05 Angus Leeming <leeming@lyx.org>
3381 * factory.C (createInset):
3382 * vspace.C (c-tor): replace sscanf call with an istringstream.
3383 * ispell.C: re-add missing HP/UX headers.
3384 * lyxserver.C: re-add missing os2 headers.
3386 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3395 * text3.C: re-add missing system headers, needed for 2.95.2.
3397 2003-09-05 Angus Leeming <leeming@lyx.org>
3399 Changes most place everywhere due to the removal of using directives
3400 from support/std_sstream.h.
3402 2003-09-05 Angus Leeming <leeming@lyx.org>
3404 Replace LString.h with support/std_string.h,
3405 Lsstream.h with support/std_sstream.h,
3406 support/LIstream.h with support/std_istream.h,
3407 support/LOstream.h with support/std_ostream.h.
3409 Changes resulting throughout the tree.
3411 2003-09-05 Angus Leeming <leeming@lyx.org>
3413 * sgml.h: ensure that the header file can be compiled stand-alone.
3414 * *.C: strip out redundant #includes. (320 in total.)
3416 2003-09-04 Angus Leeming <leeming@lyx.org>
3418 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3419 here (from getPackages).
3421 * debug.[Ch]: add a new EXTERNAL tag.
3423 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3425 * text2.C (cursorEnd): simplify
3427 (getColumnNearX): adjust
3429 * text.C (computeBidiTables): adjust
3432 * rowpainter.C (paintChars): adjust
3433 (paintSelection): adjust
3434 (paintChangeBar): adjust
3437 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3439 (numberOfSeparators): adjust
3441 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3447 * text3.C: Restricts the mouse click functionality
3448 of insets like bibtex, include, toc and floatlist to the visible
3449 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3450 up the dialogs. Cursor has to be in front of the inset (i.e.
3451 start of row) for this to function.
3453 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3455 * bufferview_funcs.C (currentState): output row information
3457 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3459 * bufferview_funcs.C (currentState): output paragraph position
3461 2003-09-04 Angus Leeming <leeming@lyx.org>
3463 * FloatList.h: move out #include "Floating.h".
3464 * LaTeX.h: move out #include "DepTable.h".
3465 * LyXAction.h: move out #include "funcrequest.h".
3466 * buffer.h: move out #include "author.h", "iterators.h".
3467 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3468 * lyx_main.h: move out #include "errorlist.h".
3469 * lyxfunc.h: move out #include "FuncStatus.h".
3470 * lyxtext: move out #include "lyxcursor.h".
3471 * paragraph_pimpl.h: move out #include "counters.h".
3473 2003-09-03 Angus Leeming <leeming@lyx.org>
3475 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3476 preamble_snippets list, enabling us to add snippets to the preamble
3477 only if the snippet was not there already.
3479 2003-09-04 Angus Leeming <leeming@lyx.org>
3481 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3483 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3488 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3490 * BranchList.C: point fix, earlier forgotten
3492 2003-09-02 Angus Leeming <leeming@lyx.org>
3494 * box.C (contains): renamed from 'contained' after a fantastic
3497 2003-09-02 John Levon <levon@movementarian.org>
3503 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3505 2003-09-02 John Levon <levon@movementarian.org>
3507 * text2.C: simplification of cursorEnd(), including partial
3510 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3512 * buffer.C (readFile): add a space
3514 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3516 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3518 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * buffer.C (readFile): new function, take a filename and a
3521 ParagraphList::iterator
3523 (readFile): adjust, make it private. don't use setStream, make
3524 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3525 always contain the filename.
3527 * BufferView.C (insertLyXFile): simplify and make it work for
3530 2003-08-30 John Levon <levon@movementarian.org>
3532 * Makefile.am: fix dist (from Kayvan)
3534 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * most files: change to use const Buffer refs
3538 2003-08-27 André Pönitz <poenitz@gmx.net>
3540 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3541 on top of ownerPar().
3543 2003-08-27 John Levon <levon@movementarian.org>
3545 * funcrequest.C: properly initialise POD members
3547 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3549 * lyxtext.h (top_y): move top_y from here
3554 * BufferView_pimpl.[Ch]: to here
3555 * frontends/screen.C:
3556 * insets/insettabular.C:
3557 * insets/insettext.C: adjust
3558 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3560 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3563 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3565 2003-08-26 André Pönitz <poenitz@gmx.net>
3567 * paragraph_func.[Ch] (outerPar): new function
3570 * paragraph_funcs.C:
3571 * paragraph_funcs.h:
3572 * paragraph_pimpl.C:
3573 * text2.C: remove Inset::par_owner
3575 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3580 * text2.C: eliminates the needFullRow/display() stuff
3581 altogether, putting the logic in metrics/draw in the insets.
3583 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3585 * text2.C (redoParagraphInternal, redoParagraphs):
3586 * text.C (redoParagraph): add a call to updateRowPositions at the
3587 end of each 'metrics-like' call. Remove all others.
3588 (getRow): remove the 'y-computing' version.
3589 (getRowNearY): do not compute nor return the real y. Solve the
3590 'y < 0' problem and simplify.
3592 2003-08-22 Angus Leeming <leeming@lyx.org>
3594 * *.[Ch]: clean-up of licence and author blurbs.
3595 Also move config.h out of a few .h files and into a few .C files.
3597 2003-08-22 André Pönitz <poenitz@gmx.net>
3599 * lyxrow.[Ch]: add x_ and *fill_ members
3604 * text2.C: adjust/remove prepareToPrint() calls
3606 2003-08-22 André Pönitz <poenitz@gmx.net>
3608 * lyxrow.[Ch]: add end_ member
3610 * lyxrow_funcs.C: use LyXRow::end_
3612 * lyxtext.h (singleWidth): add LyXFont parameter
3615 * text2.C: adjust LyXText::singleWidth() calls
3617 * text.C (redoParagraph): simplify row breaking logic
3620 2003-08-19 André Pönitz <poenitz@gmx.net>
3622 * funcrequest.C: initialize button_ member
3625 * rowpainter.[Ch]: interface consolidation
3627 2003-08-18 André Pönitz <poenitz@gmx.net>
3630 * BufferView_pimpl.C:
3632 * paragraph_funcs.C:
3634 * text3.C: remove LyXScreen::draw() and fitCursor calls
3636 * BranchList.h: remove spurious semicolons
3638 * MenuBackend.C: fix branchlist related crash
3640 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3648 * bufferparams.[Ch]:
3652 * text3.C: implements the 'branch inset'
3653 idea. This allows the output of various versions of a document
3654 from a single source version, selectively outputing or suppressing
3655 output of parts of the text.
3656 This implementation contains a 'branch list editor' in a separate
3657 tab of the document settings dialog. Branches are user definable
3658 and have a "display colour" to distinguish them on-screen.
3660 ColorHandler was somewhat cleaned up.
3661 (1) make possible a dynamically growing LColor list by allowing
3662 the graphic context cache to grow along (vector);
3663 (2) eliminate an IMHO unnecessary step in colour allocation.
3665 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3667 * BufferView_pimpl.C: compile fix
3669 2003-08-15 André Pönitz <poenitz@gmx.net>
3671 * rowpainter.C: remove extra metrics calls
3673 * lyxtext.h: merge the two constructors into a single one,
3674 pass reference to owner's par list
3676 * BufferView_pimpl.C:
3680 2003-08-15 André Pönitz <poenitz@gmx.net>
3682 * lyxrow_funcs.[Ch]:
3685 * paragraph_funcs.C:
3690 * text_funcs.C: split LyXText::rowlist_ into individual
3691 Paragraph::rows_ chunks
3694 * BufferView_pimpl.[Ch]:
3697 * text3.C: remove toggleSelection()
3699 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3701 * bufferlist.C: beautify two alerts (shorter text of buttons)
3702 * buffer.C: Remove redundant ' ' from message
3704 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3705 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3706 rename VALIGN_CENTER to VALIGN_MIDDLE
3708 2003-08-11 André Pönitz <poenitz@gmx.net>
3710 * lyxtext.h (getPar):
3711 * text.C: new function
3713 2003-08-11 André Pönitz <poenitz@gmx.net>
3716 * tracer.[Ch]: remove unneeded files
3718 * InsetList.[Ch]: remove resizeInsetsLyXText()
3723 * text3.C: merge insertParagraphs() and appendParagraph()
3724 remove breakAgain(), update()
3726 * BufferView_pimpl.[Ch]:
3727 * bufferview_funcs.[Ch]:
3731 * tabular.C: adjust after text & InsetList changes.
3733 2003-08-08 André Pönitz <poenitz@gmx.net>
3735 * text.C (insertChar, backspace): replace rowlist fiddling
3736 with rebreak of full par
3739 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3740 checkParagraph, updateInset): removed
3742 2003-08-07 André Pönitz <poenitz@gmx.net>
3745 * text3.C: merge some LFUN handlers, remove dead code
3747 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3749 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3751 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3753 * text2.C (DEPM): fix part of bug 1255 and 1256
3755 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3757 * BufferView_pimpl.C (workAreaDispatch): change to use
3758 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3759 that are no mouse related.
3761 2003-08-05 André Pönitz <poenitz@gmx.net>
3764 * BufferView_pimpl.[Ch]:
3765 * bufferview_funcs.C:
3767 * text3.C: rip out "deep update"
3769 * textcursor.[Ch] (last_sel_cursor): remove unused member
3771 2003-08-04 André Pönitz <poenitz@gmx.net>
3774 * BufferView_pimpl.[Ch]:
3775 * ParagraphParameters.C:
3776 * bufferview_funcs.C:
3782 * text3.C: replace "complicated" BufferView::update(...) calls with
3785 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3787 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3789 * Makefile.am (lyx_SOURCES): add paper.h
3791 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3793 * Makefile.am: move things around so that both lyx-qt and
3794 lyx-xforms can be built (according to --with-frontend). Then lyx
3795 is a symbolic link to lyx-[firstfrontend]
3797 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3799 * Always use std::endl with lyxerr
3801 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3803 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3805 2003-08-01 André Pönitz <poenitz@gmx.net>
3808 * BufferView_pimpl.[Ch]:
3810 * text3.C: merge BufferView::repaint() and BufferView::update()
3812 2003-08-01 José Matos <jamatos@lyx.org>
3814 * buffer.[Ch]: file_format is no longer a buffer data element.
3816 2003-08-01 André Pönitz <poenitz@gmx.net>
3821 * text2.C: make redoParagraph more independent of current cursor
3823 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3825 * text2.C: remove unneeded members
3827 2003-07-30 André Pönitz <poenitz@gmx.net>
3829 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3831 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3832 create a single function...
3834 * paragraph_funcs.C (moveItem): ... here.
3837 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3839 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3841 * LColor.[Ch]: Add comment and greyedout logical colors.
3843 2003-07-30 André Pönitz <poenitz@gmx.net>
3845 * tabular.C: don't use Assert too heavily. This crashes where it
3848 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3850 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3851 is disabled (bug 1232)
3853 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3855 * factory.C: limited 'arg' scope
3857 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3859 * factory.C: fixed Note submenu issues
3861 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3863 * factory.C: submenu for Note/Comment/Greyedout
3865 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3868 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3870 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3873 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3874 greyedout. Patch provided by Jürgen Spitzmüller.
3876 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3878 * kbmap.C (read): fix error message when reading bind files
3880 2003-07-29 Angus Leeming <leeming@lyx.org>
3882 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3883 certainly does not do what it purports to do. I am doing it, and
3884 us, a favour by killing it.
3886 2003-07-28 José Matos <jamatos@lyx.org>
3888 * buffer.C (readBody, do_writeFile):
3889 * paragraph.C(readParagraph): \end_document replaces \the_end.
3891 2003-07-29 André Pönitz <poenitz@gmx.net>
3894 * BufferView_pimpl.[Ch]:
3898 * textcursor.[Ch]: remove toggleToggle & Co
3900 2003-07-28 José Matos <jamatos@fep.up.pt>
3902 * buffer.C (readParagraph):
3903 * params_func (readParToken, readParagraph):
3904 * paragraph.C (write): \layout -> \begin_layout.
3906 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * lyxlex_pimpl.C (setFile): clean up slightly.
3910 * bufferparams.h: add compressed var
3912 * buffer_funcs.C (readFile): adjust for LyXLex change
3913 (newFile): ditto + simplify
3915 * buffer.C (writeFile): handle writing of compressed files
3917 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3918 Check if the file is compressed and set a bufferparm if so.
3920 * Makefile.am (lyx_LDADD): remove explicit -lz
3922 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3924 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3925 makeDocBookFile): put the real LyX version in the first line of
3929 * version.C.in: remove lyx_docversion
3931 * tabular.C (write_attribute): add a template-based version to
3932 write enums properly
3934 2003-07-28 André Pönitz <poenitz@gmx.net>
3939 * text3.C: use doubles again for x-coordinates. They are needed.
3941 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * messages.C (getLocaleDir): use lyx_localedir()
3945 * lyxlex_pimpl.C (setFile): compress stuff
3947 * buffer.C (writeFile): add some compression stuff
3948 (do_writeFile): new func, dont call expliti close... will this
3951 * Makefile.am (lyx_LDADD): add -lz
3953 2003-07-28 José Matos <jamatos@fep.up.pt>
3955 * buffer.C: increment file format.
3956 * paragraph_funcs (readParagraph, readParToken):
3957 * paragraph.C (readParagraph): add \end_layout.
3959 2003-07-27 Angus Leeming <leeming@lyx.org>
3961 * Makefile.am: remove special casing for configure-time setting of
3962 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3964 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3965 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3967 2003-07-26 André Pönitz <poenitz@gmx.net>
3969 * paragraph_func.[Ch]:
3970 * paragraph.C (realizeFont): inline it whereever it is used
3975 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3978 2003-07-26 André Pönitz <poenitz@gmx.net>
3982 * text2.C: get rid of LyXText::need_break_row
3984 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * toc.[Ch]: put namespace toc inside namespace lyx
3988 * MenuBackend.C (expandToc2): adjust for lyx::toc
3991 * lyxfunc.C (dispatch): adjust for lyx::find
3993 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3994 lyx::find instead. Reorganize a bit.
3995 (LyXReplace): rename to replace
3996 (LyXFind): rename to find
3998 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4001 2003-07-26 André Pönitz <poenitz@gmx.net>
4003 * text.C (setHeightOfRow): restrict scope of temporary variable
4005 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4006 code (never has been used?)
4008 2003-07-27 Asger Alstrup <alstrup@local>
4010 * text.C (fill): Optimise algorithm to exploit that we can reuse
4011 the LyXFont for many characters.
4012 (setHeightOfRow): Same thing.
4013 (rowBreakPoint): Same thing.
4015 2003-07-26 Asger Alstrup <alstrup@local>
4017 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4019 * text.C (singleWidth): Spurious font copying in hot-spot
4020 singleWidth avoided. Reorder tests for arabic for efficiency.
4022 * text.C (fill): handle empty paragraphs better.
4024 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4027 * encoding.h: add includes
4029 * lyxrc.C: remove reading of bind files
4031 * lyx_main.C (init): setup bindings and menus only if we have a
4034 * kbmap.C (read): new method. Do the actual reading of bind
4037 * converter.C (dvipdfm_options):
4040 (output): adapt PAPER_* enums.
4042 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4044 * bufferparams.h: remove paper-related enums from there
4046 * paper.h: New file. A trivial header file to hold paper-related
4047 enums. It should later expand to contain many paper-related
4050 * lyxrc.C: declare extern displayTranslator
4052 2003-07-27 José Matos <jamatos@fep.up.pt>
4054 * tabular.[Ch] (linuxdoc): add support for tables and figures
4057 2003-07-27 José Matos <jamatos@fep.up.pt>
4059 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4060 consistency in both functions.
4061 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4063 2003-07-26 Asger Alstrup <alstrup@local>
4065 * rowpainter.C (paintRows): Change algorithm to work directly on
4066 the insets rather than asking every character in the document
4067 whether its an inset.
4069 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4071 * buffer.C (openFileWrite): factorize some code
4073 2003-07-26 Angus Leeming <leeming@lyx.org>
4076 * lyx_main.[Ch]: replace occurances of system_tempdir with
4079 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * rename Inset to InsetOld
4083 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4085 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4086 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4087 which I think is a bit clearer. EDIT is gone, since it was
4088 premature optimisation, and broken for mathed anyway.
4089 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4090 with cursor positioning in insets as well (math insets still do not
4091 work, but that's a different story anyway.) It mysteriously
4092 crashes sometimes with undo in the first paragraph, but I'm fairly
4093 confident that this is a compiler bug.
4095 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * paragraph.C (Paragraph): adjust for new clone return type
4099 (copyIntoMinibuffer): ditto
4101 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4103 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4104 by not having a special case, and always doing a full rebreak of
4105 the document after undo.
4107 2003-07-23 Angus Leeming <leeming@lyx.org>
4109 * factory.C (createInset): InsetExternal::setParams now takes a
4112 2003-07-23 Angus Leeming <leeming@lyx.org>
4114 * factory.C (createInset): changed interface to the external and
4115 graphics mailers' string2params functions.
4117 2003-07-23 Angus Leeming <leeming@lyx.org>
4119 * factory.C (createInset): pass a
4120 Buffer const * parameter to InsetExternalMailer's string2params.
4122 2003-07-22 John Levon <levon@movementarian.org>
4124 * Thesaurus.h: include the right aiksaurus header
4126 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4128 * MenuBackend.C (expand): check menu shortcuts unconditionally
4130 2003-07-21 Angus Leeming <leeming@lyx.org>
4132 * factory.C (createInset): pass a
4133 buffer_path parameter to InsetGraphicsMailer's string2params.
4135 2003-07-21 Angus Leeming <leeming@lyx.org>
4137 * BufferView_pimpl.C (buffer):
4140 * lyxfunc.C (dispatch):
4141 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4142 rather than the grfx shortcut.
4144 2003-07-21 André Pönitz <poenitz@gmx.net>
4146 * rowpainter.C: remove unused variables
4149 * tabular_funcs.h: move to tabular.C
4150 * Makefile.am: adjust
4152 * tabular.[Ch]: basic optical cleaning
4154 * author.h: pass references, not values
4156 2003-07-18 André Pönitz <poenitz@gmx.net>
4164 * text3.C: two-phase drawing for InsetText and InsetTabular
4165 some float -> int changes.
4167 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4169 * lyx_main.C: fix the fix
4171 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4173 * lyx_main.C: fix a crash in batch mode if no files specified
4176 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4178 * format.[Ch] (papersize): moved to BufferParams
4179 * converter.[Ch] (dvips_options): moved to BufferParams
4180 (dvipdfm_options): moved to anon namespace
4181 * bufferparams.[Ch]: added above functions.
4183 2003-07-17 André Pönitz <poenitz@gmx.net>
4187 * text2.C: don't call inset->update() anymore
4189 * metricsinfo.[Ch]: add convenience constructor
4191 2003-07-16 André Pönitz <poenitz@gmx.net>
4196 * text2.C: replace the LyXCursor::irow_ member with
4197 on-demand computation of the value
4199 2003-07-16 John Levon <levon@movementarian.org>
4201 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4203 2003-07-15 André Pönitz <poenitz@gmx.net>
4206 * text2.C: remove no more needed refresh_row
4208 2003-07-15 André Pönitz <poenitz@gmx.net>
4213 * text3.C: refresh_status tristate -> need_update bool
4215 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4217 * lyxtext.h (init): remove reinit argument (act as if always true)
4218 * text2.C: adjust to that
4220 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4222 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4223 * text3.C: use it to delete selections in some cases
4224 (bugs 441, 673, 702, 954).
4226 2003-07-14 André Pönitz <poenitz@gmx.net>
4228 * rowpainter.[Ch]: reduce interface
4230 2003-07-14 André Pönitz <poenitz@gmx.net>
4232 * BufferView_pimpl.C:
4233 * text2.C: adjust after removing unused BufferView * argument
4235 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4237 * text2.C (init): fix a crash fired on resize
4239 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4241 * buffer.[Ch]: added new closing signal
4242 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4243 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4244 BufferView::Pimpl via the closing the signal
4246 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4248 * buffer.[Ch]: take out all bv-related from buffer
4250 * BufferView_pimpl.[Ch]: connect to new signals
4251 * CutAndPaste.C: removed useless asserts
4252 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4255 * lyxfunc.C: moved view-related funciontality from vc here
4256 * paragraph.C: removed outdated comments
4259 2003-07-10 André Pönitz <poenitz@gmx.net>
4261 * BufferView_pimpl.C:
4265 * text2.C: remove InsetText::InnerCache, clean up consequences
4267 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4269 * ispell.C: fix two typos in error messages
4271 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4273 * Extend Note inset to other forms of annotation like Comment
4274 and Greyedout. Right button click gives dialog.
4276 Files modified or added (+):
4280 * ControlNote.[Ch] +
4282 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4283 frontends/controllers
4287 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4289 * aspell.C: add missing namespace lyx::support
4291 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4293 * BufferView.[Ch] (newFile): Add
4294 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4295 * LaTeX.[Ch] (message): added this signal and use it
4296 * buffer.[Ch] (busy, message): added these signals and use them
4297 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4301 * importer.C: use buffer signals instead of direct bv calling
4302 * lyx_cb.[Ch] (ShowMessage): removed
4305 * paragraph_funcs.C:
4306 * text2.C: use buffer signals
4308 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * introduce namespace lyx::graphics
4312 2003-07-02 André Pönitz <poenitz@gmx.net>
4314 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4316 2003-07-01 André Pönitz <poenitz@gmx.net>
4323 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4324 text*.C to text_func.C
4326 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * introduce namespace lyx::support
4330 2003-06-30 André Pönitz <poenitz@gmx.net>
4335 * text.C: re-enable --with-included-string
4337 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * textcursor.C: add <config.h>
4341 * text.C (getWord): remove const from word_location arg
4343 * lyxvc.C (getLogFile): fix const type order
4345 * lyxtext.h: remove const from word_location arg, add arg name
4347 * lyxlayout.h: currect type on labeltype.
4349 * importer.C: correct \file
4351 * converter.C (intToFormat): use std:: on ret val, ws changes
4353 * bufferlist.h: correct \file
4355 * buffer.C (makeLinuxDocFile): fix const type order
4356 (makeDocBookFile): ditto
4357 (fillWithBibKeys): use std:: on stdlib args.
4359 * CutAndPaste.C: fix authors.
4360 (availableSelections): use std:: on return vector
4362 2003-06-27 André Pönitz <poenitz@gmx.net>
4364 * BufferView_pimpl.C:
4365 * bufferview_funcs.C:
4373 * text3.C: remove LyXCursor::row_ member
4376 * text.C: rename fullRebreak() to partialRebreak() and implement
4377 a fullRebreak() that really bereks fully
4379 * textcursor.h: new struct for cursor-related data
4381 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4383 * lyx_main.C (LyX): get full path of document loaded on the
4386 2003-06-26 André Pönitz <poenitz@gmx.net>
4388 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4389 remove unused/broken operator>,<,>=.
4391 * text.C: remove only use of broken operator<= in an Assert().
4393 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4395 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4396 moved errorlist_.clear to showErrorList
4398 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4400 * converter.C (scanLog, runLaTeX):
4401 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4402 move the bv->showErrorList call to the callers
4403 * lyxfunc.C: i.e. here...
4405 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4406 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4407 namespace, the second to...
4408 * buffer_funcs (BufferFormat, parseErrors): added
4409 * errorlist.C (ErrorList(TeXErrors const &)): removed
4411 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4413 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4415 2003-06-24 "Garst R. Reese" <reese@isn.net>
4419 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4421 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4423 * version.C.in: change docversion to 1.4
4425 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4427 * buffer.C: fix a bug just introduced
4429 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4431 * buffer.[Ch]: added the parseError signal and use it, removed
4433 * BufferView.[Ch] (addError): moved to ...
4434 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4435 to the Buffer::parseError signal to catch (guess what) parse errors
4436 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4438 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4440 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4441 ability to create a buffer and to return an existing one from
4442 the list. Moved these functions to...
4443 * buffer_funcs.[Ch]: added
4444 * BufferView.[Ch] (loadLyXFile): added
4445 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4446 job removed from bufferlist::loadLyXFile.
4447 * buffer.C (setReadOnly): make it work without view
4448 (i.e added an if (users))
4450 2003-06-19 Angus Leeming <leeming@lyx.org>
4453 * LyXAction.C (init):
4454 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4455 with LFUN_DIALOG_SHOW <name> <data>.
4457 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4459 * CutAndPaste.C (availableSelections): small compilation fix for
4460 ancient (gcc 2.9x) compilers
4462 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * text3.C (cursorNext): add tmp var
4466 * text2.C (updateCounters): for function calling out of for clause
4467 (replaceSelectionWithString): ditto
4468 (insertStringAsParagraphs): ditto
4469 (getColumnNearX): add tmp var
4470 (setCursorFromCoordinates): add tmp var
4471 (cursorDownParagraph): add tmp var
4472 (deleteEmptyParagraphMechanism): add tmp var
4474 * text.C (insertChar): add tmp var
4476 * rowpainter.C (paintDepthBar): add tmp var
4478 * CutAndPaste.C (availableSelections): potentially check all
4479 paragraphs in a cut to fill the shown strings.
4481 2003-06-18 André Pönitz <poenitz@gmx.net>
4483 * kbmap.[Ch]: use vector<> instead of list<>
4485 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4487 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4488 pasteSelection with index
4490 * text2.C (pasteSelection): modify, call pasteSelection with index
4492 * paragraph.C (asString): reimplement version with no interval to
4493 call the one with interval.
4495 * lyxtext.h: add index arg to pasteSelection
4497 * MenuBackend.C (MenuItem): handle PasteRecent
4498 (Menu::read::Menutags): add md_pasterecent
4500 (expandPasteRecent): new function
4503 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4505 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4507 (availableSelections): new function
4509 2003-06-17 Angus Leeming <leeming@lyx.org>
4511 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4513 2003-06-17 Angus Leeming <leeming@lyx.org>
4516 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4518 * lyxfunc.C (dispatch): invoke it.
4520 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4522 * iterators.C (operator++, ParPosition): reintroduce some
4523 const_cast for the benefit of older compilers.
4525 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4527 * text3.C (dispatch): do not modify clipboard when doing
4528 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4529 LFUN_DELETE_SKIP on a selection selection
4531 2003-06-16 André Pönitz <poenitz@gmx.net>
4537 * tabular.[Ch]: IU of clone() and getLabelList();
4539 2003-06-13 André Pönitz <poenitz@gmx.net>
4541 * tabular.h: compactification
4543 2003-06-12 André Pönitz <poenitz@gmx.net>
4547 * tabular_funcs.h: some renaming plus whitespace
4549 2003-06-12 André Pönitz <poenitz@gmx.net>
4552 * BufferView_pimpl.C:
4558 * toc.C: Return a Paragraph & for ParIterator::operator*()
4560 2003-06-11 John Levon <levon@movementarian.org>
4564 * ToolbarBackend.C: add "Toolbars" section and
4567 2003-06-10 Angus Leeming <leeming@lyx.org>
4570 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4572 * lyxfunc.C (dispatch): invoke it.
4574 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * main.C: protect <ios> with HAVE_IOS
4577 (main): protect sync_with_stdio with HAVE_IOS
4579 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4581 * text2.C (cutSelection): adjust
4582 (pasteSelection): adjust
4584 * messages.C: handle get of empty string
4586 * main.C (main): use sync_with_stdio(false)
4588 * lyxfunc.C (dispatch): adjust
4590 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4591 (WriteAs): remove unneeded BufferView arg.
4593 * bufferparams.h: use correct types on papersize, papersize2 and
4596 * bufferparams.C (readToken): adjust for type
4597 (writeLaTeX): add missing cases to switch.
4599 * bufferlist.C (quitWriteBuffer): adjust
4602 * buffer.C (asciiParagraph): remove some commented code.
4604 * CutAndPaste.C: remove current_view extern variable.
4605 (cutSelection): add BufferParams arg.
4606 (eraseSelection): add BufferParams arg.
4607 (pasteSelection): add Buffer const & arg
4609 2003-06-07 John Levon <levon@movementarian.org>
4612 * paragraph_funcs.C:
4613 * paragraph_pimpl.C:
4617 * paragraph.C: allow InsetERT to freely space lines,
4618 and some consolidation of code
4620 2003-06-06 José Matos <jamatos@fep.up.pt>
4622 * buffer.C (makeDocBookFile): fix bug #821
4624 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4626 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4628 2003-06-04 Angus Leeming <leeming@lyx.org>
4630 * buffer.C: bump format to 224.
4632 2003-06-05 André Pönitz <poenitz@gmx.net>
4634 * text2.C (redoParagraphs): remove two const_cast<>
4636 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4638 * ParagraphList.h: remove last remnants of NO_STD_LIST
4640 2003-06-03 Angus Leeming <leeming@lyx.org>
4642 * factory.C (createInset): small change to the way InsetExternal's params
4645 2003-06-04 André Pönitz <poenitz@gmx.net>
4647 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4649 * paragraph_pimpl.h:
4650 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4652 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4654 * undo_funcs.C: make some simple cases of undo work again
4656 2003-06-03 John Levon <levon@movementarian.org>
4658 * ispell.C: HPUX doesn't have sys/select.h
4661 2003-06-03 John Levon <levon@movementarian.org>
4663 * CutAndPaste.C: update tabular and include inset
4668 * paragraph.C: remove owningBuffer(), don't pass Buffer
4671 * factory.C: insetGraphicsParams changed
4673 2003-06-02 John Levon <levon@movementarian.org>
4679 * text3.C: remove insetparent
4681 2003-06-02 John Levon <levon@movementarian.org>
4684 * buffer.C: fix inset_iterator.end(), move out of line
4687 2003-06-01 John Levon <levon@movementarian.org>
4689 * text3.C: use a proper cut/paste when doing inset
4690 insert (from Jürgen Spitzmüller)
4692 2003-06-01 John Levon <levon@movementarian.org>
4694 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4696 2003-05-30 André Pönitz <poenitz@gmx.net>
4698 * rowpainter.C: unify second drawing phase
4700 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * trans_mgr.C: remove one case of current_view
4704 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4706 * paragraph_funcs.h: remove paragraph.h include
4708 * paragraph.h: delete NO_STD_LIST stuff
4710 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4712 * buffer.h: remove paragraph.h include
4714 * ParagraphList.C: delete file
4716 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4718 * toc.C (getTocList): adjust
4720 * paragraph_pimpl.C (validate): adjust
4722 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4724 * paragraph.C (Paragraph): adjust
4725 (getPositionOfInset): use const_iterator, adjust
4726 (bibitem): use const_iterator, adjust
4727 (setInsetOwner): adjust
4729 * iterators.C (operator++): adjust
4731 * InsetList.[Ch]: Replace selfmade iterator with standard
4732 vector::iterator also introduce const_iterator. Remove getPos,
4733 getInset and setInset from InsetTable. Adjust accordingly.
4735 * BufferView.C (lockInset): adjust
4736 (ChangeInsets): adjust
4738 * tabular.[Ch]: delete commented same_id functions
4740 2003-05-28 John Levon <levon@movementarian.org>
4742 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4744 2003-05-28 André Pönitz <poenitz@gmx.net>
4746 * metricsinfo.[Ch]: remove 'fullredraw' member
4748 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4750 * lyxtextclass.C (operator): remove caching.
4752 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * text2.C (cursorBottom): adjust
4757 (setCounter): use ParagraphList::find, adjust
4759 * text.C (workWidth): use ParagraphList::find, adjust
4761 * lyxcursor.C (LyXCursor): adjust
4763 * buffer.C (inset_iterator): adjust
4765 * ParagraphList.h: make iterator(value_type) private, make
4766 ParagraphList a friend of iterator.
4768 * ParagraphList.C (find): new function
4770 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4772 2003-05-27 André Pönitz <poenitz@gmx.net>
4774 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4776 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4778 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4780 2003-05-26 John Levon <levon@movementarian.org>
4782 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4784 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * remove same_id from function signatures, adjust.
4788 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4792 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4794 * paragraph.C (Paragraph): get rid of same_ids parameter
4796 * ParagraphList.C (insert): adjust
4799 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * paragraph_funcs.C (breakParagraph): adjust
4802 (breakParagraphConservative): adjust
4804 * buffer.C (readParagraph): adjust
4806 * ParagraphList.C (insert): take a reference instead of a pointer
4809 * paragraph.[Ch] (id): new function
4811 * bufferlist.C (newFile): adjust
4813 * ParagraphList.C (ParagraphList): adjust
4815 (push_back): take a reference instead of a pointer.
4817 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4819 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4822 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4823 set else use old code.
4825 * ParagraphList.C: remove all NO_NEXT code and only compile this
4826 code of NO_STD_LIST is set.
4828 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4830 * BufferView_pimpl.C:
4840 * graphics/GraphicsConverter.C:
4841 * graphics/PreviewLoader.C: header adjustment
4843 2003-05-23 Angus Leeming <leeming@lyx.org>
4845 * LaTeXFeatures.[Ch] (useBabel): new method.
4846 * bufferparams.C (writeLaTeX): use it.
4848 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * ParagraphList.h (set): remove unused function.
4852 2003-05-23 André Pönitz <poenitz@gmx.net>
4855 * BufferView_pimpl.C:
4859 * undo_funcs.C: setUndo reworked
4861 * iterators.[Ch]: add access to topmost ParagraphList
4863 * lyxtext.[Ch] (workWidth): add a const
4865 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4867 * texrow.[Ch] (increasePos): remove function
4868 * exporter.C (export): removed unused var and outdated comment
4870 2003-05-23 Angus Leeming <leeming@lyx.org>
4872 * latexrunparams.h: rename fragile as moving_arg.
4873 * paragraph.C (simpleTeXOnePar): ditto.
4874 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4876 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4878 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4880 (textUndoOrRedo): comment out a currently unused var.
4882 * paragraph.h (NO_NEXT): enable NO_NEXT
4884 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4886 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4888 * exporter.C (Export): adjust for removeAutoInsets removal.
4890 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4892 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4894 * BufferView.[Ch] (removeAutoInsets): delete function
4896 2003-05-22 Angus Leeming <leeming@lyx.org>
4898 * latexrunparams.h: add a free_spacing variable.
4900 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4901 to pass moving_arg, as the data is stored in runparams.fragile.
4903 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4904 to Inset::latexOptional or to simpleTeXOnePar.
4906 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4907 free_spacing arg to Inset::latexOptional.
4909 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4912 2003-05-22 Angus Leeming <leeming@lyx.org>
4914 * latexrunparams.h: add fragile and use_babel variables.
4916 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4917 * buffer.C (makeLaTeXFile): store this returned value in
4918 runparams.use_babel, thus passing it to the inset::latex methods.
4920 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4921 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4923 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4924 longer has a fragile arg, as it is stored in runparams.fragile.
4926 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4927 moving_arg parameter as the data is stored in runparams.fragile.
4929 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4930 a fragile parameter as the data is stored in runparams.fragile.
4932 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4936 2003-05-22 Angus Leeming <leeming@lyx.org>
4938 * latexrunparams.h: add a 'bool nice' which defaults to false.
4940 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4941 now encapsulated within runparams.
4943 * bufferlist.C (updateIncludedTeXfiles):
4944 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4946 2003-05-22 Angus Leeming <leeming@lyx.org>
4948 * latexrunparams.h: new file containing struct LatexRunParams.
4949 * Makefile.am: add new file.
4951 * LaTeX.[Ch] (c-tor, run):
4952 * buffer.[Ch] (makeLaTeXFile):
4953 * bufferlist.[Ch] (updateIncludedTeXfiles):
4954 * converter.C (convert, scanLog):
4955 * converter.[Ch] (runLaTeX):
4956 * exporter.C (Export):
4957 * paragraph.[Ch] (simpleTeXOnePar):
4958 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4959 * paragraph_funcs.[Ch] (latexParagraphs):
4960 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4961 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4962 pass around a LatexRunParams parameter.
4964 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4966 * paragraph.[Ch]: remove unused constructor
4968 * ParagraphList.C (erase): new function, taking two iterators
4970 2003-05-22 André Pönitz <poenitz@gmx.net>
4972 * undo_funcs.C: remove duplicated code
4974 * iterator.[Ch]: operator=
4976 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * tabular.C (SetMultiColumn): ws changes
4980 * rowpainter.C (paintFirst): get rid of a ->previous
4982 * lyx_cb.C (getPossibleLabel): parlist simplification
4984 * BufferView.C (ChangeInsets): simplify slightly.
4986 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4988 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4989 * lfuns.h: new LFUN_SPACE
4990 * lyxfunc.C: protected space has a new lfun
4991 * paragraph_funcs.C: read new space insets
4993 * factory.C: handle new space insets
4995 2003-05-22 André Pönitz <poenitz@gmx.net>
4998 * BufferView_pimpl.C:
5001 * undo_funcs.C: return a ParIterator from getParFromID.
5003 * iterators.[Ch]: add two const's
5005 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5007 * toc.C (getTocList): adjust
5009 * iterators.[Ch]: rework for parlist
5011 * buffer.C (par_iterator_begin): adjust
5012 (par_iterator_end): adjust
5014 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5016 * BufferView.C (removeAutoInsets): adjust
5017 (ChangeInsets): adjust
5019 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5021 * text.C (top_y): fix bug 1110
5023 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5025 * errorlist.[Ch]: added
5028 * BufferView_pimpl.C:
5029 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5032 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * Makefile.am: ensure that lyx is relinked upon changes to the
5035 various "convenience" libs.
5037 2003-05-20 Angus Leeming <leeming@lyx.org>
5039 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5040 files are compiled in alphabetical order again.
5042 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5044 2003-05-19 Angus Leeming <leeming@lyx.org>
5046 * gettext.[Ch]: remove "char const * _(char const *)".
5048 2003-05-19 André Pönitz <poenitz@gmx.net>
5050 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5059 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5061 2003-05-19 André Pönitz <poenitz@gmx.net>
5065 * lyxtextclass.[Ch]:
5067 * paragraph_funcs.[Ch]:
5069 * text3.C: more insetenv work
5071 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5073 * ParagraphParameters.C (params2string): small bug fixed
5075 2003-05-16 André Pönitz <poenitz@gmx.net>
5078 * bufferview_funcs.C: patch from Kornel Benko to prevent
5079 crash when _(...) is called twice in a statement
5081 2003-05-16 André Pönitz <poenitz@gmx.net>
5088 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5090 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5092 * lyx_main.C (init): remove spurious static_cast
5094 2003-05-14 André Pönitz <poenitz@gmx.net>
5096 * BufferView.C: fix format string
5098 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5100 * BufferView.[Ch] (insertErrors): removed
5101 * BufferView.[Ch] (showErrorList): added
5102 * buffer.C (runChkTeX):
5103 * converter.C (scanLog): call showErrorList instead of inserterrors
5105 2003-05-13 André Pönitz <poenitz@gmx.net>
5107 * BufferView_pimpl.C:
5109 * bufferview_func.C:
5116 * tabular_funcs.h: tostr() from its own header
5118 * ParagraphParameters.C:
5123 * text3.C: STRCONV()
5125 2003-05-12 André Pönitz <poenitz@gmx.net>
5128 * BufferView_pimpl.C:
5132 * ParagraphParameters.C:
5136 * bufferview_funcs.C:
5149 * paragraph_funcs.C:
5153 * text3.C: boost::format -> bformat all over the place
5156 2003-05-09 André Pönitz <poenitz@gmx.net>
5158 * LColor.[Ch]: Pimpl the #include <map> away
5160 2003-05-09 John Levon <levon@movementarian.org>
5162 * bufferlist.C: never remove emergency saves
5164 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * Makefile.am: better lib building
5168 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5172 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5173 (simpleTeXSpecialChars): adjust
5174 (simpleTeXSpecialChars): adjust
5175 * paragraph.C (simpleTeXOnePar): adjust
5176 * buffer.C (makeLaTeXFile): adjust
5178 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5180 * text2.C (changeDepth): parlist cleanup
5181 (getColumnNearX): ditto
5183 * rowpainter.C (getLabelFont): parlist cleanup
5185 * bufferlist.C (newFile): parlist cleanup
5187 * CutAndPaste.C (eraseSelection): parlist cleanup
5189 * BufferView_pimpl.C (trackChanges): parlist cleanup
5192 * BufferView.C (lockInset): parlist cleanup.
5193 (ChangeInsets): ditto
5195 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * CutAndPaste.h: Update file header.
5199 * CutAndPaste.C: Update file header.
5200 Store the parts cut out of the Document in a limited_stack.
5201 (copySelection): adjust
5202 (pasteSelection): new function, takes the index in the limited stack.
5203 (nrOfParagraphs): adjust
5204 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5205 simplify error inset insertion.
5206 (checkPastePossible): adjust
5208 2003-05-06 John Levon <levon@movementarian.org>
5210 * text2.C: don't cast wrap inset to float
5212 2003-05-05 André Pönitz <poenitz@gmx.net>
5215 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5217 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5218 few naked Paragraph *.
5220 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5222 * bufferparams.C: Output warning if a document with missing
5223 TeX document class is loaded
5224 * exporter.C: Disable TeX exports if the document class is missing
5227 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5228 isTeXClassAvailable()
5230 2003-05-03 John Levon <levon@movementarian.org>
5233 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5234 explicit cursor show/hide
5236 * BufferView_pimpl.h:
5237 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5238 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5240 * lyxfunc.C: hide cursor before dispatching.
5245 * text3.C: remove explicit cursor hides
5247 2003-05-02 André Pönitz <poenitz@gmx.net>
5249 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5252 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5255 * text2.C: tiny whitespace
5257 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * undo_funcs.C: almost only ws changes.
5261 * ParagraphList.C (splice): just return if pl is empty.
5263 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * ParagraphList.C (splice): new function.
5267 * CutAndPaste.C (pasteSelection): use it
5269 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * CutAndPaste.C (pasteSelection): remove the last next and
5272 previous from this file.
5274 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * CutAndPaste.C (pasteSelection): more clean up, user proper
5277 ParagraphList functions for pasteing.
5279 * ParagraphList.C (insert): new function, three arg insert
5281 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * ParagraphList.C (insert): new function, three arg insert
5285 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5288 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5292 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5296 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5299 (copySelection): clean up a bit.
5300 (pasteSelection): use make_pair
5302 * ParagraphList.C (ParagraphList): implement copy constructor
5303 (operator=): implement, base on copy constructor.
5306 * paragraph.C (erase): return a bool
5308 * paragraph_pimpl.C (erasePos): remove function, move contents...
5309 (erase): ... here. Return a bool.
5310 (erase): call erase instead of erasePos.
5312 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5314 * ParagraphList.h: define PitPosPair
5315 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5316 ParagraphList, fix a bug on pasting multiple pars
5317 * text2.C: change interface to C&P
5319 2003-04-30 André Pönitz <poenitz@gmx.net>
5321 * undo_func.C: revert part of yesterday's patch 2
5323 2003-04-30 John Levon <levon@movementarian.org>
5325 * LColor.C: s/tabular/table/
5327 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * text3.C (dispatch): do not convert iterator -> pointer
5330 * undo_funcs.C (setCursorParUndo): ditto
5331 * text_funcs.C (transposeChars): ditto
5333 * text2.C (setLayout): ws changes only
5335 * text.C (breakParagraph): do not convert iterator -> pointer
5337 (acceptChange): ditto
5338 (rejectChange): ditto
5343 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5346 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5348 * text3.C (gotoInset): YABG (yet another bad getChar)
5350 2003-04-29 André Pönitz <poenitz@gmx.net>
5352 * paragraph.h: make operator= private unimplemented as long as
5355 * ParagraphList.C: whitespace
5358 * paragraph_pimpl.[Ch]:
5359 * paragraph_funcs.C:
5361 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5364 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5366 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5368 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5369 * paragraph.[Ch] (erase):
5370 * paragraph_pimpl.[Ch] (erase): change return type and value
5371 * text2.C (cutSelection): some rework
5373 2003-04-28 John Levon <levon@movementarian.org>
5375 * bufferlist.C: changes for unsaved changes dialog
5377 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * bufferlist.C (newFile): set language (messages_) for new
5382 * buffer.C (readFile): ws changes only.
5384 2003-04-28 André Pönitz <poenitz@gmx.net>
5389 * BufferView_pimpl.C:
5390 * BufferView.C: getParFromID related ParagraphList::iterator changes
5392 2003-04-28 André Pönitz <poenitz@gmx.net>
5394 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5397 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * messages.C: remove one more localedir class variable.
5401 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * messages.C (getLocaleDir): singleton generation function
5405 (Messages): add a default constructor.
5407 * main.C (main): do not setup localedir here, do not call
5410 * gettext.C (_): use it.
5411 (gettext_init): delete funciton
5413 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * gettext.C (getLyXMessages): new singleton generating function.
5417 * buffer.C (updateDocLang): adjust
5419 * Makefile.am (messages.o): add target
5420 (main.o): remove target
5422 2003-04-27 John Levon <levon@movementarian.org>
5427 * lyxvc.C: specify cancel button in Alert::prompt
5429 2003-04-26 John Levon <levon@movementarian.org>
5434 * LyXAction.C: add LFUN_INSET_SETTINGS
5436 * lyxfunc.C: don't enable tabular-feature when there's
5437 just any locking inset
5439 2003-04-26 John Levon <levon@movementarian.org>
5441 * bufferlist.C: re-add Cancel to buffer close question
5443 * lyxfunc.C: fix import UI a bit
5445 2003-04-25 John Levon <levon@movementarian.org>
5447 * gettext.C: remove the broken asserts for now
5449 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * messages.C: make case where setlocale cannot comply work better.
5453 * buffer.C (updateDocLang): new function
5454 (changeLanguage): use it
5457 * text2.C (setCounter): use B_ a bit.
5459 * lyxlayout.C (Read): be sure to trim the label strings.
5461 * messages.C (Messages): fix typo in comment
5463 * buffer.C (readFile): set message_ after file is loaded.
5464 (makeDocBookFile): remove double return
5465 (changeLanguage): reset message_ upon language change.
5466 (B_): new func, use this to get translated buffer strings.
5468 * main.C: add myself and Jean Marc as authors.
5470 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * messages.[hC]: pimplify Messages, and three different pimpls to be
5473 used in different circumstances.
5475 * gettext.[Ch]: change for use with new message code.
5477 2003-04-24 André Pönitz <poenitz@gmx.net>
5479 * factory.C: support for eqref
5481 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5483 * messages.[Ch]: add missing char
5485 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5487 * messages.[Ch]: New files
5489 2003-04-18 John Levon <levon@movementarian.org>
5493 * BufferView_pimpl.C:
5497 * text2.C: remove layout-copy/paste (bug 778)
5499 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5501 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5503 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5505 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5506 if they succeed. Act accordingly.
5508 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * text2.C (setCharFont): adjust
5511 (setCounter): adjust
5512 (insertStringAsLines): adjust
5514 * text.C (leftMargin): adjust
5515 (setHeightOfRow): adjust
5517 * rowpainter.C (paintFirst): adjust
5520 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5522 (isFirstInSequence): ditto
5523 (getEndLabel): ditto
5526 * paragraph.C (getParLanguage): comment out some hard stuff.
5528 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5530 (simpleDocBookOnePar): ditto
5531 (makeDocBookFile): use ParagraphList::iterator
5533 * CutAndPaste.C (pasteSelection): adjust
5535 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * text2.C (getFont): adjust
5538 (getLayoutFont): adjust
5539 (getLabelFont): adjust
5541 * paragraph_funcs.C (TeXOnePar): adjust
5543 * buffer.C (simpleLinuxDocOnePar): adjust
5544 (simpleDocBookOnePar): adjust
5546 * CutAndPaste.C (pasteSelection): adjust
5548 * BufferView.C (getEncoding): adjust
5550 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5552 2003-04-16 John Levon <levon@movementarian.org>
5554 * lyxfind.C: use parlist stuff for search/changes
5556 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5560 * text2.C (deleteEmptyParagraphMechanism): adjust
5562 * text2.[Ch] (ownerParagraph): delete func (both of them
5564 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5568 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * ParagraphList.C: prepare for NO_NEXT
5572 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5574 * text2.C (getFont): adjust
5575 (getLayoutFont): adjust
5576 (getLabelFont): adjust
5578 * paragraph.C (getFont): adjust
5579 (getLabelFont): adjust
5580 (getLayoutFont): adjust
5582 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5584 2003-04-15 John Levon <levon@movementarian.org>
5588 * lyx_main.C: handle Include in .ui files
5590 2003-04-15 John Levon <levon@movementarian.org>
5592 * MenuBackend.C: make the doc files length shorter
5595 * ToolbarBackend.C: handle toolbar placement flags,
5598 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5603 * paragraph_funcs.C (TeXOnePar): adjust
5605 * paragraph.C (getLabelFont): add outerfont arg, adjust
5606 (getLayoutFont): ditto
5607 (simpleTeXOnePar): adjust
5609 * paragraph_pimpl.C (realizeFont): delete func
5611 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5613 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5614 row argument, constify cur argument.
5616 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * text2.C (getFont): adjust
5619 (getLayoutFont): adjust
5620 (getLabelFont): adjust
5622 * paragraph_funcs.C (TeXOnePar): adjust
5623 (outerFont): new func...
5624 (realizeFont): ...moved out from here, changed this to facilitate
5627 * paragraph.C (getFont): take outerfont as arg, adjust
5628 (simpleTeXOnePar): add outerfont arg, adjust
5630 * buffer.C (simpleLinuxDocOnePar): adjust
5631 (simpleDocBookOnePar): adjust
5633 * CutAndPaste.C (pasteSelection): adjust
5635 * BufferView.C (getEncoding): adjust
5637 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * text2.C (setCharFont): adjust
5640 (setCounter): adjust
5642 * text.C (leftMargin): adjust
5643 (setHeightOfRow): adjust
5645 * rowpainter.C (paintFirst): adjust
5648 * paragraph_pimpl.C (realizeFont): adjust
5650 * paragraph.C (isFirstInSequence): move from here...
5651 * paragraph_funcs.C (isFirstInSequence): ...to here
5653 * paragraph.C (outerHook): move from here...
5654 * paragraph_funcs.C (outerHook): ...to here
5656 * paragraph.C (depthHook): move from here...
5657 * paragraph_funcs.C (depthHook): ...to here
5659 * paragraph.C (getEndLabel): move from here...
5660 * paragraph_funcs.C (getEndLabel): ...to here
5662 * text2.C (realizeFont): move from here...
5663 * paragraph_funcs.C (realizeFont): ...to here
5665 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5669 2003-04-14 Angus Leeming <leeming@lyx.org>
5671 * LColor.[Ch]: scrap LColor mathcursor.
5673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * lyxlex.[Ch] (text): delete function
5676 * trans.C (Load): adjust
5677 * paragraph_funcs.C (readParToken): adjust
5679 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5682 vector<char> instead of a char[].
5684 * lyxlex_pimpl.C (getString): adjust
5686 (lex): use getString
5690 * lyxlex.C (text): use pimpl_->getString()
5694 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5697 (makeFontEntriesLayoutSpecific): temp var for par.size()
5698 (setLayout): temp var for ownerParagraphs().end()
5699 (fullRebreak): temp var for rows().end()
5700 (selectionAsString): temp var for boost::next(startpit), realize
5701 that the while really is a regular for loop.
5702 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5703 setCursor in one place.
5704 (setParagraph): temp vr for ownerParagraphs().end()
5705 (updateCounters): make the while loop a for loop
5706 (cutSelection): temp var for ownerParagraphs().end()
5707 (updateInset): make the do {} while() a regular for loop
5708 (getCursorX): use temp vars
5709 (setCurrentFont): use temp vars
5710 (getColumnNearX): use temp vars
5712 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * text.C (transformChar): use temp var for getChar
5715 (computeBidiTables): use temp var for row->par()
5716 (fill): move temp vars for row->par() and pit->layout() earlier in
5718 (labelFill): use temp var for row->par()
5719 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5720 asc and desc, realize that pit never changes and that firstpit is
5721 just a duplicate and not needed. Exchange rit->par() with pit in a
5723 (breakAgain): use a temp var for boost::next(rit)
5724 (breakAgainOneRow): ditto
5725 (breakParagraph): use a temp var for rows().begin()
5726 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5727 (cursorRightOneWord): use temp var for cursor.par() and
5728 cursor.pos(), remove usage of tmpcursor.
5729 (cursorLeftOneWord): use temp var for cursor.par() and
5730 cursor.pos() only set cur at end of function.
5732 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * text.C, text2.C: exchange all usage of Paragraph::next with
5735 boost::next(ParagraphList::iterator)
5737 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5739 * text2.C (cursorTop): simplify implementation
5740 (cursorBottom): ditto
5741 (setParagraph): use ParagraphList::iterator
5742 (setCurrentFont): adjust
5743 (getColumnNearX): adjust
5744 (cursorRight): adjust
5745 (cursorLeft): remove usage of Paragraph::previous
5746 (cursorUpParagraph): ditto
5747 (deleteEmptyParagraphMechanism): slight cleanup
5749 * text.C (isBoundary): take a Paragraph const & instead of a
5751 (addressBreakPoint): ditto
5752 (leftMargin): remove usage of Paragraph::previous.
5753 (setHeightOfRow): ditto
5754 (cursorLeftOneWord): ditto
5755 (selectNextWordToSpellcheck): ditto
5758 (breakParagraph): remove one usage of Paragraph::next
5759 (redoParagraph): ditto
5760 (acceptChange): ditto
5761 (insertChar): adjust
5762 (rowBreakPoint): adjust
5764 * bufferview_funcs.C (toggleAndShow): adjust
5766 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5768 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5769 methods to access it.
5771 * text.C: Added updateRowPositions to compute all row positions.
5772 Make top_y and getRowNearY() to use the cached y position
5774 2003-04-11 John Levon <levon@movementarian.org>
5776 * text.C (rowBreakPoint): reintroduce the labelEnd
5777 checks, code copied from the row fill stuff. Deep voodoo.
5779 * text.C (fill): add a comment and debugging for the
5782 2003-04-11 John Levon <levon@movementarian.org>
5784 * text.C: make sure fullrow insets get wrapped to the next line,
5785 even when they're in a manual label
5787 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * text2.C (insertParagraph): make it take ParagraphList::iterator
5791 (setLayout): make it return ParagraphList::iterator
5792 (redoParagraphs): ditto
5794 (checkParagraph): ditto
5796 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5798 * text2.C: adjust several funcs.
5799 (realizeFont): take a ParagraphList::iterator as arg.
5800 (getLayoutFont): ditto
5801 (getLabelFont): ditto
5802 (setCharFont): ditto
5804 * text.C: adjust several funcs.
5806 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5808 * text.C (selectNextWordToSpellcheck): don't accidentally
5811 2003-04-10 John Levon <levon@movementarian.org>
5813 * ToolbarBackend.C (getIcon): special handling for
5816 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5818 * text2.C (cursorRight): a getChar assert fixed
5820 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * text2.C (getFont): change to take a ParagraphList::iterator
5823 instead of Paragraph*
5824 Adjust several functions.
5826 * text.C (transformChar): change to take a ParagraphList::iterator
5827 instead of Paragraph*
5828 (singleWidth): ditto
5829 Adjust several functions.
5831 * rowpainter.C: adjust several functions
5832 * rowpainter.h:store a ParagraphList::iterator and not a
5836 2003-04-09 John Levon <levon@movementarian.org>
5841 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5842 and the "help" bits as well
5844 2003-04-09 John Levon <levon@movementarian.org>
5847 * ToolbarBackend.C: allow multiple toolbars
5849 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * undo_funcs.C (setCursorParUndo): adjust
5853 * text_funcs.C (transposeChars): adjust
5855 * text3.C (gotoNextInset): adjust
5858 * text2.C (setLayout): adjust
5859 (changeDepth): adjust
5861 (redoParagraphs): adjust
5862 (selectionAsString): adjust
5863 (setParagraph): adjust
5864 (insertInset): adjust
5865 (cutSelection): adjust
5866 (copySelection): adjust
5867 (pasteSelection): adjust
5868 (insertStringAsLines): adjust
5869 (updateInset): adjust
5870 (setCursor): change to take a ParagraphList::iterator parameter
5871 (setCursorIntern): change to take a ParagraphList::iterator parameter
5872 (setCurrentFont): adjust
5873 (cursorLeft): adjust
5874 (cursorRight): adjust
5875 (deleteEmptyParagraphMechanism): adjust
5877 * text.C (breakParagraph): adjust
5878 (insertChar): adjust
5879 (acceptChange): adjust
5880 (rejectChange): adjust
5881 (selectNextWordToSpellcheck): adjust
5882 (changeCase): adjust
5886 * lyxfind.C (SearchForward): adjust
5887 (SearchBackward): adjust
5888 (nextChange): adjust
5890 * lyxcursor.C (par): adjust
5892 * lyxcursor.h: store a ParagraphList::iterator instead of a
5895 * lyx_cb.C (getPossibleLabel): adjust
5897 * bufferview_funcs.C (toggleAndShow): adjust
5899 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5902 * BufferView.C (removeAutoInsets): adjust
5903 (lockedInsetStoreUndo): adjust
5905 2003-04-09 John Levon <levon@movementarian.org>
5907 * ToolbarBackend.C: try icon without argument
5908 if with argument fails
5910 2003-04-08 John Levon <levon@movementarian.org>
5913 * ToolbarBackend.C: add getIcon(), handle tooltip,
5914 and change from "Icon" to "Item".
5916 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5918 * BufferView.C (lockInset): another bad getchar crunched
5920 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5922 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5925 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5927 * lyxfind.C (searchForward, searchBackwards): bug 782
5929 2003-04-07 John Levon <levon@movementarian.org>
5931 * paragraph.C: remove dead comment
5933 * text.C: remove troublesome depth-fiddling code
5934 in leftMargin() and rightMargin() (bug 1017)
5936 * text.C: fix breaking of rows in nested lists
5939 * text2.C (updateCounters): fix up depth values
5942 2003-04-07 John Levon <levon@movementarian.org>
5944 * BufferView_pimpl.C: clear message when doc finishes resizing,
5945 and after a mouse event
5947 * lyxfunc.C: clear message after exiting inset
5949 2003-04-07 John Levon <levon@movementarian.org>
5951 * bufferview_funcs.C: show math status not outside
5952 status in the statusbar
5954 2003-04-07 John Levon <levon@movementarian.org>
5956 * lyxfunc.C: note status changed after a depth change
5958 2003-04-04 Angus Leeming <leeming@lyx.org>
5960 * LaTeX.h: move AuxInfo operator==, != out of line.
5961 Remove LaTeX virtual destructor; nothing derives from it.
5962 Move operator()() out of public area and rename it startscript().
5963 Change protected for private.
5965 2003-04-04 Angus Leeming <leeming@lyx.org>
5968 * text2.C: remove unneeded #includes.
5970 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5972 * text2.C (dEPM): fix the heigth of the next row
5974 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5976 * text.C: squashed an invalid getChar requester + some ws changes
5978 2003-04-03 John Levon <levon@movementarian.org>
5980 * bufferview_funcs.h:
5981 * bufferview_funcs.C:
5984 * text2.C: make getStatus work for the env depth lfuns
5986 2003-04-03 John Levon <levon@movementarian.org>
5988 * bufferview_funcs.h:
5989 * bufferview_funcs.C:
5992 * text2.C: parlistize decDepth(), by merging it with incDepth()
5994 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5996 * lyxrow.h: store a ParagraphList::iterator instead of a
5997 Paragraph* and adjust other class functions to suit.
5999 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6002 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6004 * text2.C (setCursor): do not anchor to cursor row for the time being
6006 2003-04-02 John Levon <levon@movementarian.org>
6013 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6015 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * paragraph.h: make ParagraphList and ParagraphList::iterator
6018 friends of Paragraph.
6020 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6022 * ParagraphList.C: Use the private next_ and previous_ from
6025 2003-04-01 John Levon <levon@movementarian.org>
6029 * Makefile.am: rename, remove defaults gunk
6032 * MenuBackend.C: remove defaults gunk
6035 * Languages.C: remove defaults gunk
6038 * lyx_main.C: error out if files couldn't be found.
6040 2003-04-02 John Levon <levon@movementarian.org>
6042 * text2.C: make incDepth() use parlist
6044 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * undo_funcs.C (firstUndoParagraph): adjust
6048 * text3.C (gotoInset): adjust
6049 (dispatch): adjust, and rewrite loop.
6051 * text2.C (init): adjust, and rewrite loop.
6052 (redoParagraphs): adjust
6053 (updateInset): adjust, and rewrite loop.
6054 (deleteEmptyParagraphMechanism): adjust
6056 * tabular.C (LyXTabular): adjust
6057 (SetMultiColumn): adjust
6060 * lyxtext.[Ch] (ownerParagraph): delete function
6061 (ownerParagraphs): new function returns a ParagraphList.
6063 * BufferView.C (removeAutoInsets): adjust
6064 (insertErrors): adjust
6065 (setCursorFromRow): adjust
6067 2003-04-01 Angus Leeming <leeming@lyx.org>
6069 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6072 2003-04-02 John Levon <levon@movementarian.org>
6078 * text_funcs.C: make transposeChars a free function
6080 * lyxrow_funcs.C: remove wrong comment
6082 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * rowpainter.C: adjust
6090 * lyxrow_funcs. [Ch]: new files
6092 * lyxrow.[Ch]: remove next and previous pointers
6093 (next,previous): remove accessor functions
6094 (isParEnd): move to lyxrow_funcs
6095 (lastPos): move to lyxrow_funcs
6096 (nextRowIsAllInset): move to lyxrow_funcs
6097 (lastPrintablePos): move to lyxrow_funcs
6098 (numberOfSeparators): move to lyxrow_funcs
6099 (numberOfHfills): move to lyxrow_funcs
6100 (numberOfLabelHfills): move to lyxrow_funcs
6101 (hfillExpansion): move to lyxrow_funcs
6105 * bufferview_funcs.C (toggleAndShow): adjust
6107 * RowList.h: Remove class RowList from file leave just a
6110 * RowList.C: delete file
6112 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6115 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * text3.C (cursorPrevious): adjust
6118 (cursorNext): adjust
6121 * text2.C (redoHeightOfParagraph): adjust
6122 (redoDrawingOfParagraph): adjust
6125 * text.C (breakParagraph): adjust
6126 (insertChar): adjust
6129 * rowpainter.C (RowPainter): adjust
6130 (leftMargin): simplify and adjust
6131 (most rowpainter functions): adjust.
6133 * rowpainter.h: store the row as RowList::iterator not as Row*
6135 * lyxcursor.C (row): taka RowList::iterator as arg
6138 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6141 2003-04-01 Angus Leeming <leeming@lyx.org>
6143 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6144 stuff like bool Bool.
6146 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6148 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6151 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6156 * lyxtext.h (rows): drop one version and leve a const variant that
6157 returns a RowList::iterator.
6159 2003-03-31 Angus Leeming <leeming@lyx.org>
6161 * text.C (fill): ensure that the signature is the same as that in the
6164 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * text2.C (redoParagraphs): adjust
6167 (updateCounters): adjust
6168 (checkParagraph): adjust
6169 (getColumnNearX): adjust and reformat a bit.
6171 * text.C (top_y): adjust
6173 (leftMargin): adjust
6174 (prepareToPrint): adjust
6176 (getRowNearY): adjust
6178 * lyxtext.h: make rowlist_ mutable.
6180 * RowList.h: add const_iterator
6181 * RowList.C: adjust for RowList::const_iterator.
6183 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6186 2003-03-31 John Levon <levon@movementarian.org>
6189 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6191 * lyx_main.C: set default fonts from using lyx_gui funcs
6193 * exporter.C: pdf_mode moved from lyxrc
6196 * lyxfunc.C: changes from above
6198 2003-03-31 John Levon <levon@movementarian.org>
6200 * lyx_main.C: fix to the last fix
6202 2003-03-31 John Levon <levon@movementarian.org>
6204 * bufferlist.C: "Load original" -> "Load Original"
6210 * format.C: more Alert cleanups
6212 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * text2.C (removeParagraph): make it take a RowList::iterator as
6216 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6217 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6219 * text.C (anchor_row): make it take a RowList::iterator as arg,
6221 (computeBidiTables): make it take a const reference to Row instead
6222 of Row pointer, adjust.
6223 (leftMargin): make it take a RowList::iterator as arg, adjust.
6224 (rowBreakPoint): adjust
6225 (breakAgainOneRow): make it take a RowList::iterator as arg,
6227 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6229 * bufferview_funcs.C (toggleAndShow): adjust
6231 2003-03-30 John Levon <levon@movementarian.org>
6235 * boost-inst.C: moved to support
6237 * several files: changes as a result
6239 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * text2.C (LyXText): adjust.
6243 (removeRow): make it take a RowList::iterator as arg, adjust.
6244 (fullRebreak): adjust
6245 (deleteEmptyParagraphMechanism): adjust
6246 (clearPaint): adjust
6249 * text.C (top_y): adjust
6250 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6251 (breakAgain): make it take a RowList::iterator as arg, adjust.
6252 (breakParagraph): adjust
6253 (insertChar): adjust
6256 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6257 need_break_row, and refresh_row.
6259 * text3.C (dispatch): adjust
6261 * text2.C (checkParagraph): adjust
6263 (setCursorFromCoordinates): adjust
6265 * text.C (top_y): adjust
6267 (getRow): make it return a RowList::iterator, adjust
6268 (getRowNearY): make it return a RowList::iterator, adjust
6270 * text2.C (init): adjust
6271 (insertRow): remove function
6272 (insertParagraph): adjust
6273 (redoParagraphs): adjust
6274 (fullRebreak): adjust
6275 (updateCounters): adjust
6277 * text.C (top_y): rewrite to use RowList iterators.
6279 (setHeightOfRow): rewrite to sue RowList iterators.
6280 (appendParagraph): adjust
6281 (breakAgain): adjust
6282 (breakAgainOneRow): adjust
6283 (breakParagraph): adjust
6285 (getRowNearY): adjust, and remove commented code.
6287 * lyxtext.h (firstRow): delete function
6288 (lastRow): delete function
6289 (rows): new function (const and non-const versions.)
6290 (insertRow): delete function
6292 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6294 2003-03-29 John Levon <levon@movementarian.org>
6296 * BufferView_pimpl.C: always update scrollbar top
6297 because pasting text when we're anchored could mean we
6298 miss an update altogether
6300 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * text2.C (init): use rowlist_.end() and not 0.
6303 (insertRow): change to take a RowList::iterator as arg, adjust
6305 (insertParagraph): change to take a RowList::iterator as arg,
6307 (redoParagraphs): remove some debug msgs.
6309 * text.C (appendParagraph): change to take a RowList::iterator
6310 arg, adjust for this.
6311 (breakAgain): add an assert
6312 (breakAgainOneRow): ditto
6314 2003-03-29 John Levon <levon@movementarian.org>
6316 * text2.C: do not clear selection after inc/decDepth
6319 2003-03-29 John Levon <levon@movementarian.org>
6322 * buffer.C: fix broken strerrors according to Lars
6324 2003-03-29 John Levon <levon@movementarian.org>
6326 * converters.C: more Alert cleanups
6328 2003-03-29 John Levon <levon@movementarian.org>
6330 * bufferview_funcs.C: remove pointless Alert
6332 * buffer.C: fix confusing error message when
6333 a template is chmoded 000
6335 2003-03-29 John Levon <levon@movementarian.org>
6339 * BufferView_pimpl.C: Alert fixes
6343 * tabular-old.C: remove unused table compat reading
6345 2003-03-29 John Levon <levon@movementarian.org>
6350 * lyx_cb.C: more Alert cleanups
6352 * lyxfunc.C: don't allow chktex if not latex document
6354 2003-03-29 John Levon <levon@movementarian.org>
6358 * buffer.C: warnings pushed down from support/,
6361 2003-03-29 John Levon <levon@movementarian.org>
6363 * lyxfunc.C: safety check for C-r (revert)
6365 2003-03-29 John Levon <levon@movementarian.org>
6368 * bufferlist.C: several UI fixes using Alert::prompt.
6369 Fix the pointless looping quit code. Fix stupid revert
6374 * lyx_cb.C: use Alert::prompt
6376 * lyx_main.C: remove a silly question
6378 * lyxfunc.C: remove a couple of silly questions,
6381 2003-03-28 John Levon <levon@movementarian.org>
6383 * text2.C: fix bug 974 (End on empty par)
6385 2003-03-28 John Levon <levon@movementarian.org>
6387 * BufferView_pimpl.C:
6389 * lfuns.h: remove do-nothing math greek lfuns
6391 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * lyxgluelength.h (isValidGlueLength): add default arg on
6394 parameter 2. Remove default arg from friend in class.
6396 * lyxlength.h (isValidLength): add default arg on parameter 2.
6397 Remove default arg from friend in class.
6399 * text2.C (LyXText): adjust, initialize refresh_row.
6403 (insertParagraph): adjst
6404 (redoParagraphs): adjust
6405 (fullRebreak): adjust
6406 (updateCounters): adjust
6407 (deleteEmptyParagraphMechanism): first attempt at fixing a
6410 * text.C (top_y): adjust
6411 (setHeightOfRow): adjust
6413 (getRowNearY): adjust
6415 * lyxtext.h: include RowList.h
6416 (~LyXText): not needed anymore, deleted.
6417 (firstRow): modify for RowList
6418 (lastRow): new function
6419 Delete firstrow and lastrow class variables, add a Rowlist
6420 rowlist_ class variable.
6422 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6425 * RowList.C (insert): fix case where it == begin().
6427 2003-03-26 Angus Leeming <leeming@lyx.org>
6429 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6430 the thesaurus dialog.
6432 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6436 * RowList.[Ch]: new files
6438 * ParagraphList.C (erase): handle the case where it == begin
6441 2003-03-25 John Levon <levon@movementarian.org>
6445 * aspell.C: add new aspell support
6448 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6451 2003-03-25 Angus Leeming <leeming@lyx.org>
6454 * LyXAction.C (init): new LFUN_INSET_INSERT.
6456 * BufferView_pimpl.C (dispatch): split out part of the
6457 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6459 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6462 2003-03-25 Angus Leeming <leeming@lyx.org>
6464 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6466 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6469 * text3.C: remove useless row->height(0)
6471 2003-03-25 John Levon <levon@movementarian.org>
6475 * text3.C: rename the refreshing stuff to better names
6477 2003-03-24 John Levon <levon@movementarian.org>
6479 * BufferView_pimpl.h:
6480 * BufferView_pimpl.C: update layout choice on a mouse
6483 2003-03-23 John Levon <levon@movementarian.org>
6485 * Makefile.am: fix commandtags.h reference
6487 2003-03-22 John Levon <levon@movementarian.org>
6489 * BufferView_pimpl.C:
6494 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6496 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6499 * text.C: take the rtl methods out of line
6501 2003-03-21 André Pönitz <poenitz@gmx.net>
6503 * metricsinfo.[Ch]: new files containing structures to be passed around
6504 during the two-phase-drawing...
6506 2003-03-21 André Pönitz <poenitz@gmx.net>
6508 * lyxtextclass.C: read 'environment' tag.
6510 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6512 * text2.C (removeRow): fix bug 964
6514 2003-03-20 John Levon <levon@movementarian.org>
6518 * text2.C: paint cleanups. Inset::update() dropped font
6521 2003-03-19 John Levon <levon@movementarian.org>
6523 * lyxfunc.C: only fitcursor/markDirty if available()
6525 2003-03-19 John Levon <levon@movementarian.org>
6527 * commandtags.h: rename to ...
6529 * lfuns.h: ... this, and renumber / cleanup
6531 2003-03-19 John Levon <levon@movementarian.org>
6533 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6534 fit the cursor after an lfun
6538 * BufferView_pimpl.h:
6539 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6541 * LyXAction.C: layout-character should have ReadOnly
6543 * ParagraphParameters.C:
6545 * bufferview_funcs.C:
6552 * undo_funcs.C: changes from above
6554 2003-03-18 John Levon <levon@movementarian.org>
6556 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6557 remove it from update()
6559 * lyxfunc.C: update layout choice after an lfun
6561 * text3.C: remove extra updateLayoutChoice()s
6563 2003-03-18 John Levon <levon@movementarian.org>
6565 * text.C: top_y change means full repaint, fix
6566 a drawing bug with cursor movement
6568 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6572 * text2.C: anchor row on setCursor
6574 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6576 * lyxtext.h: remove almost all mutable keywords
6579 * text3.C: remove const keywords accordingly
6581 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6585 (TeXEnvironment): ditto
6588 2003-03-17 John Levon <levon@movementarian.org>
6590 * text.C (rowBreakPoint): remove attempt to fix displayed
6591 math insets inside a manual label
6593 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * lyxtext.h: remove BufferView* as first arg from almost all class
6597 * other files: adjust.
6599 2003-03-17 John Levon <levon@movementarian.org>
6603 * text2.C: more paint cleanups
6605 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6608 * rowpainter.C: remove "smart" background painting code
6610 2003-03-16 John Levon <levon@movementarian.org>
6615 * text3.C: add helper functions for setting refresh_row/y
6617 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6619 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6620 newline inset which *can* get inserted in the pass_thru layouts.
6621 This is primarily for literate documents.
6623 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6625 * buffer.C: increment LYX_FORMAT to 223
6627 2003-03-14 André Pönitz <poenitz@gmx.net>
6629 * textclass.h: prepare for environment handling, ws changes
6630 * lyxlayout.C: read latexheader and latexfooter tags
6632 2003-03-14 John Levon <levon@movementarian.org>
6634 * text2.C: rewrite ::status() a bit
6636 2003-03-13 John Levon <levon@movementarian.org>
6638 * lyxtext.h: add some docs
6640 2003-03-13 John Levon <levon@movementarian.org>
6645 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6647 2003-03-13 John Levon <levon@movementarian.org>
6649 * text3.C: fix appendix redrawing
6651 2003-03-13 John Levon <levon@movementarian.org>
6653 * text.C (setHeightOfRow):
6655 * rowpainter.C: make appendix mark have the text
6656 "Appendix" so the user knows what it is
6659 * LColor.C: s/appendixline/appendix/ from above
6661 2003-03-13 John Levon <levon@movementarian.org>
6663 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6665 * text.C: fix a getChar(pos) bug properly
6667 2003-03-13 Angus Leeming <leeming@lyx.org>
6670 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6671 Probably only temporary. Let's see how things pan out.
6673 * BufferView.C (unlockInset):
6674 * BufferView_pimpl.C (fitCursor):
6675 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6677 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6678 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6680 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6681 new functions that convert ParagraphParameters to and from a string.
6683 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6684 BufferView::Pimpl's dispatch.
6685 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6687 2003-03-13 André Pönitz <poenitz@gmx.net>
6691 * factory.C: make it aware of InsetEnv
6693 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * text2.C (setCursor): never ask for one past last
6696 (setCursor): add some debugging messages.
6698 * text.C (singleWidth): never ask for one past last
6699 (singleWidth): ditto
6701 (rightMargin): ditto
6702 (rowBreakPoint): ditto
6703 (setHeightOfRow): ditto
6704 (prepareToPrint): ditto
6706 * rowpainter.C (paintBackground): never ask for one past last
6707 (paintText): never ask for one past last
6709 * paragraph_pimpl.C (getChar): make the assert stricter, never
6710 allow the one past last pos to be taken
6712 * paragraph.C (getChar): ws changes only
6714 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6715 (numberOfSeparators): ditto
6716 (numberOfHfills): ditto
6718 2003-03-12 John Levon <levon@movementarian.org>
6724 * paragraph_funcs.C: fix per-buffer authorlists
6726 2003-03-12 John Levon <levon@movementarian.org>
6728 * text.C: fix newline in right address
6730 2003-03-12 Angus Leeming <leeming@lyx.org>
6732 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6733 duplicate those in LyXFunc::dispatch.
6737 * ToolbarDefaults.C:
6738 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6739 Add LFUN_FONTFREE_UPDATE.
6741 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6742 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6744 * bufferview_func.[Ch]: several new functions to facilliate
6745 transfer of data to and from the character dialog.
6747 2003-03-12 John Levon <levon@movementarian.org>
6752 * paragraph_funcs.C:
6753 * paragraph_pimpl.C:
6757 * text3.C: remove META_NEWLINE in favour of an inset
6760 * rowpainter.C: remove paintNewline (done by inset)
6762 2003-03-12 John Levon <levon@movementarian.org>
6764 * paragraph_pimpl.C: complain about bad getChar()s
6765 for a while at least
6767 2003-03-12 John Levon <levon@movementarian.org>
6770 * buffer.C: move paragraph read into a separate function,
6771 a little renaming to reflect that.
6774 * bufferparams.C: remove the author_ids map, not necessary now
6777 * factory.C: moved Buffer::readInset to here
6779 * paragraph_funcs.h:
6780 * paragraph_funcs.C: readParagraph free function moved from
6783 * tabular.C: name change
6785 2003-03-12 John Levon <levon@movementarian.org>
6788 * ParagraphParameters.C: move par params input to
6791 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6792 behave like a normal read from the stream wrt reading
6793 a line vs. a \\token
6795 2003-03-12 John Levon <levon@movementarian.org>
6798 * ParagraphParameters.h:
6799 * ParagraphParameters.C: move output code to a
6802 2003-03-12 John Levon <levon@movementarian.org>
6804 * BufferView.C (insertLyXFile):
6807 * tabular.C: use a parlist iterator for creating the
6810 2003-03-12 John Levon <levon@movementarian.org>
6812 * buffer.C: make current_change static local not
6815 2003-03-12 John Levon <levon@movementarian.org>
6817 * buffer.C: fix insertStringAsLines for change tracking
6819 2003-03-12 John Levon <levon@movementarian.org>
6826 * bufferparams.C: move author list into params. Rename some
6827 functions. Move the header reading into a separate token
6828 loop. Move the header token reading into BufferParams.
6830 2003-03-12 John Levon <levon@movementarian.org>
6832 * changes.C: put debug inside lyxerr.debugging() checks
6834 2003-03-11 André Pönitz <poenitz@gmx.net>
6836 * factory.C: make it aware of InsetHFill
6838 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6840 * buffer.C (latexParagraphs): move function from here...
6841 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6844 2003-03-10 Angus Leeming <leeming@lyx.org>
6846 * LyXAction.C (init): fix bug in poplating array with multiple entries
6847 with the same LFUN (spotted by JMarc).
6849 2003-03-10 John Levon <levon@movementarian.org>
6852 * text2.C: move getColumnNearX() near its
6855 2003-03-10 John Levon <levon@movementarian.org>
6857 * text.C: fix break before a minipage
6859 2003-03-10 John Levon <levon@movementarian.org>
6861 * text.C: fix the last commit
6863 2003-03-09 John Levon <levon@movementarian.org>
6867 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6868 bug 365 (don't break before insets unless needed). Don't
6869 return a value > last under any circumstances.
6871 2003-03-09 Angus Leeming <leeming@lyx.org>
6873 * BufferView_pimpl.C (trackChanges, dispatch): call
6874 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6876 2003-03-09 Angus Leeming <leeming@lyx.org>
6878 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6879 than Dialogs::showAboutlyx().
6881 2003-03-09 Angus Leeming <leeming@lyx.org>
6883 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6884 than Dialogs::showTabularCreate().
6886 2003-03-09 John Levon <levon@movementarian.org>
6890 * text2.C: 3rd arg to nextBreakPoint was always the same.
6893 2003-03-08 John Levon <levon@movementarian.org>
6900 * text2.C: Remove the "main" bit from the "main body"
6903 2003-03-08 John Levon <levon@movementarian.org>
6905 * text.C (leftMargin): The left margin of an empty
6906 manual label paragraph should not include the label width
6909 * text.C (prepareToPrint): don't attempt to measure hfills
6910 for empty manual label paragraphs - the answer should be 0
6912 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * CutAndPaste.C: remove commented code and reindent.
6916 2003-03-08 John Levon <levon@movementarian.org>
6919 * lyxfunc.C: move reloadBuffer()
6922 * BufferView.C: to here
6924 * lyxvc.C: add comment
6927 * vc-backend.C: call bv->reload() to avoid
6928 getStatus() check on MENURELOAD
6930 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6932 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6933 to an old format .dep file.
6935 2003-03-07 Angus Leeming <leeming@lyx.org>
6937 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6938 when the LFUN_MOUSE_RELEASE should have been handled by
6939 inset->localDispatch.
6941 2003-03-07 Angus Leeming <leeming@lyx.org>
6943 * BufferView_pimpl.C (dispatch):
6944 * LyXAction.C (init):
6945 * ToolbarDefaults.C (init):
6947 * lyxfunc.C (getStatus):
6948 remove LFUN_INSET_GRAPHICS.
6950 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6952 2003-03-07 Angus Leeming <leeming@lyx.org>
6955 * LyXAction.C (init):
6956 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6958 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6961 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6963 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6964 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6966 2003-03-07 Angus Leeming <leeming@lyx.org>
6968 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6971 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * ParagraphList.C (front): new function
6976 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6978 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6979 and top_row_offset_. removed var first_y.
6981 * text2.C (LyXText, removeRow):
6983 * BufferView_pimpl.C:
6984 use these methods instead of using first_y
6986 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * text2.C (pasteSelection): adjust for checkPastePossible
6990 * CutAndPaste.C: remove Paragraph * buf and replace with
6991 ParagraphList paragraphs.
6992 (DeleteBuffer): delete
6993 (cutSelection): change the tc type to textclass_type
6994 (copySelection): change the tc type to textclass_type
6995 (copySelection): adjust for ParagraphList
6996 (pasteSelection): change the tc type to textclass_type
6997 (pasteSelection): adjust for Paragraphlist
6998 (nrOfParagraphs): simplify for ParagraphList
6999 (checkPastePossible): simplify for ParagraphList
7000 (checkPastePossible): remove unused arg
7002 * ParagraphList.C (insert): handle the case where there are no
7005 * CutAndPaste.h: make CutAndPaste a namespace.
7007 * text3.C (dispatch): adjust
7009 * text.C (breakParagraph): add a ParagraphList as arg
7011 * paragraph_funcs.C (breakParagraph): change to take a
7012 BufferParams and a ParagraphList as args.
7013 (breakParagraphConservative): ditto
7014 (mergeParagraph): ditto
7015 (TeXDeeper): add a ParagraphList arg
7016 (TeXEnvironment): ditto
7019 * buffer.C (readLyXformat2): adjust
7020 (insertStringAsLines): adjust
7021 (latexParagraphs): adjust
7023 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7024 (cutSelection): adjust
7025 (pasteSelection): adjust
7027 * BufferView_pimpl.C (insertInset): adjust
7029 2003-03-05 Angus Leeming <leeming@lyx.org>
7032 * LyXAction.C (init):
7033 * BufferView_pimpl.C (dispatch):
7034 * lyxfunc.C (getStatus):
7035 remove LFUN_CHILD_INSERT.
7037 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7039 2003-03-05 Angus Leeming <leeming@lyx.org>
7042 * LyXAction.C (init):
7043 * src/factory.C (createInset):
7044 * lyxfunc.C (getStatus):
7045 * text3.C (dispatch):
7046 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7048 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7050 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * ParagraphList.C (insert): handle insert right before end()
7053 (erase): fix cases where it can be first or last paragraph.
7055 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7058 Paragraph::next and Paragraph::previous
7061 * text.C (breakParagraph): adjust
7063 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7064 BufferParams& as arg.
7065 (breakParagraph): use ParagraphList::insert
7066 (breakParagraphConservative): take a Buffer* instead of a
7067 BufferParams& as arg.
7068 (breakParagraphConservative): use ParagraphList::insert.
7070 * buffer.C (insertStringAsLines): un-const it
7071 (insertStringAsLines): adjust
7073 * ParagraphList.C (insert): new function
7075 * CutAndPaste.C (pasteSelection): adjust
7077 * text.C (backspace): adjust
7079 * tabular.C (SetMultiColumn): adjust
7081 * CutAndPaste.C (cutSelection): adjust
7082 (pasteSelection): adjust
7084 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7085 Buffer const * as arg
7087 * ParagraphList.C (erase): new function
7088 * paragraph_funcs.C (mergeParagraph): use it
7089 (mergeParagraph): make it take a Buffer* instead of a
7090 BufferParams* as arg
7092 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7094 (breakParagraphConservative): ditto
7096 * paragraph.h: remove the breakParagraph friend
7098 * paragraph.C (eraseIntern): new function
7099 (setChange): new function
7101 * paragraph_funcs.C (mergeParagraph): make it take a
7102 ParagraphList::iterator instead of a Paragraph *, adjust
7105 * paragraph.h: move an #endif so that the change tracking stuff
7106 also works in the NO_NEXT case.
7108 2003-03-04 Angus Leeming <leeming@lyx.org>
7111 * LyXAction.C: new LFUN_INSET_MODIFY.
7113 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7114 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7116 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * several files: ws changes only
7120 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7121 (TeXEnvironment): ditto
7124 * buffer.C (makeLaTeXFile): adjust
7125 (latexParagraphs): make it take ParagraphList::iterator as args
7127 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * buffer.C (latexParagraphs): adjust
7131 * paragraph.C (TeXOnePar): move function...
7132 (optArgInset): move function...
7133 (TeXEnvironment): move function...
7134 * paragraph_pimpl.C (TeXDeeper): move function...
7135 * paragraph_funcs.C: ...here
7137 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7139 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7141 * buffer.C (readInset): remove compability code for old Figure and
7144 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * buffer.C: ws changes
7149 * BufferView_pimpl.C: ditto
7152 * bufferlist.h: ditto
7156 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7158 * converter.[Ch]: split into itself +
7161 * Makefile.am: += graph.[Ch] + format.[Ch]
7168 * lyxrc.C: added #include "format.h"
7170 2003-02-27 Angus Leeming <leeming@lyx.org>
7172 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7175 * factory.C (createInset): add "label" to the factory.
7177 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7178 string and do no more.
7180 2003-02-27 Angus Leeming <leeming@lyx.org>
7183 * LyXAction.C (init):
7184 * factory.C (createInset):
7185 * BufferView_pimpl.C (dispatch):
7186 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7188 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7190 * lyxfunc.C (dispatch):
7191 * text3.C (dispatch): pass name to params2string.
7193 2003-02-26 Angus Leeming <leeming@lyx.org>
7195 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7197 Rearrange the ~includes. Strip out the unnecessary ones.
7199 * factory.C (createInset): reformat.
7200 create new insets for the various LFUN_XYZ_APPLY lfuns.
7202 2003-02-26 John Levon <levon@movementarian.org>
7205 * lyxrow.C: add isParStart,isParEnd helpers
7207 * paragraph.h: make isInserted/DeletedText take refs
7209 * paragraph_funcs.h:
7210 * paragraph_funcs.C: remove #if 0'd code
7215 * text.C: use lyxrow helpers above.
7216 Move draw and paint routines to RowPainter.
7217 Make several methods use refs not pointers.
7218 Make backgroundColor() const.
7219 Add markChangeInDraw(), isInInset().
7220 Merge changeRegionCase into changeCase.
7221 Make workWidth() shouldn't-happen code into an Assert.
7224 * rowpainter.C: new class for painting a row.
7227 * vspace.C: make inPixels take a ref
7229 2003-02-26 Angus Leeming <leeming@lyx.org>
7231 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7234 2003-02-25 John Levon <levon@movementarian.org>
7236 * ispell.C: give the forked command a more accurate name
7238 2003-02-22 John Levon <levon@movementarian.org>
7241 * toc.C: make TocItem store an id not a Paragraph *
7244 2003-02-21 Angus Leeming <leeming@lyx.org>
7246 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7247 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7248 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7249 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7250 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7251 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7253 * BufferView_pimpl.C (dispatch):
7254 * LyXAction.C (init):
7255 * factory.C (createInset):
7256 * lyxfunc.C (getStatus, dispatch):
7257 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7259 2003-02-21 Angus Leeming <leeming@lyx.org>
7261 * BufferView_pimpl.C (MenuInsertLyXFile):
7262 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7263 * lyxfunc.C (menuNew, open, doImport):
7264 no longer pass a LyXView & to fileDlg.
7266 2003-02-21 Angus Leeming <leeming@lyx.org>
7268 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7269 * LyXAction.C: change, BIBKEY to BIBITEM.
7270 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7271 Change InsetBibKey to InsetBibitem.
7272 Change BIBKEY_CODE to BIBITEM_CODE.
7273 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7274 * factory.C: replace insetbib.h with insetbibitem.h.
7275 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7276 * paragraph.C: replace insetbib.h with insetbibitem.h.
7277 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7278 Change bibkey() to bibitem().
7279 * text.C: remove insetbib.h.
7280 * text2.C: replace insetbib.h with insetbibitem.h.
7281 change bibkey() to bibitem().
7282 * text3.C: remove insetbib.h.
7283 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7285 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7287 * lyxrc.C (output): enclose user email in quotes (in case there are
7290 2003-02-18 John Levon <levon@movementarian.org>
7292 * buffer.h: add std::
7294 2003-02-17 John Levon <levon@movementarian.org>
7300 * pspell.C: reworking. Especially in ispell, a large
7301 number of clean ups and bug fixes.
7303 * lyxfunc.C: fix revert to behave sensibly
7305 2003-02-17 André Pönitz <poenitz@gmx.net>
7308 * commandtags.h: new LFUN_INSERT_BIBKEY
7318 * paragraph_func.C: remove special bibkey handling
7320 2003-02-17 John Levon <levon@movementarian.org>
7322 * text.C (Delete): fix case where delete at the end of
7323 the very first paragraph would not merge the pars
7325 2003-02-17 John Levon <levon@movementarian.org>
7327 * lyxrow.C: fix lastPrintablePos()
7329 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7331 * bufferparams.C (writeLaTeX): add a std:here
7333 * buffer.C: and remove a using directive there
7335 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * buffer.C (makeLaTeXFile): move the code that generates the
7340 * bufferparams.C (writeLaTeX): ... in this new method
7342 * LaTeXFeatures.C (getEncodingSet): make const
7343 (getLanguages): make const
7345 * MenuBackend.C (binding): returns the binding associated to this
7347 (add): sets the status of each item by calling getStatus. Adds
7349 (read): add support for OptSubMenu
7350 (expand): remove extra separator at the end of expanded menu
7352 2003-02-15 John Levon <levon@movementarian.org>
7355 * BufferView_pimpl.C:
7357 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7358 inset code that had no actual effect. Remove unneeded status
7361 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7363 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7366 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7368 * text.C (drawLengthMarker): also draw an arrow marker for
7369 symbolic lengths (medskip...)
7371 2003-02-14 John Levon <levon@movementarian.org>
7374 * tabular.C: better method names
7376 2003-02-14 John Levon <levon@movementarian.org>
7378 * BufferView_pimpl.C:
7383 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7384 it's a more accurate name. Remove some pointless uses.
7386 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7388 * text2.C (LyXText): change order of initilizers to shut off
7391 2003-02-14 John Levon <levon@movementarian.org>
7393 * buffer.C: use ParIterator for getParFromID()
7397 * paragraph_pimpl.h:
7398 * paragraph_pimpl.C: remove unused getParFromID()
7400 2003-02-14 John Levon <levon@movementarian.org>
7402 * buffer.C: remove some very old #if 0'd parse code
7404 2003-02-13 John Levon <levon@movementarian.org>
7408 * text2.C: move hfillExpansion(), numberOfSeparators(),
7409 rowLast(), rowLastPrintable(), numberofHfills(),
7410 numberOfLabelHfills() ...
7413 * lyxrow.C: ... to member functions here.
7418 * text.C: remove LyXText::beginningOfMainBody(), and call
7419 p->beginningOfMainBody() directly. Move the check for
7420 LABEL_MANUAL into the latter.
7427 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7433 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7434 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7436 2003-02-13 John Levon <levon@movementarian.org>
7438 * CutAndPaste.C: remove debug
7440 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7442 * paragraph.C (asString): remove two unused variables
7444 * lyxtextclass.C (readTitleType):
7446 (LyXTextClass): handle new members titletype_ and titlename_
7448 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7450 2003-02-09 John Levon <levon@movementarian.org>
7453 * buffer.C: replace hand-coded list with a map for the dep clean
7455 2003-02-08 John Levon <levon@movementarian.org>
7457 * LaTeX.C: consolidate code into showRunMessage() helper
7459 2003-02-08 John Levon <levon@movementarian.org>
7464 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7465 and pass the size in explicitly
7467 * BufferView_pimpl.h:
7468 * BufferView_pimpl.C:
7470 * BufferView.C: add getCurrentChange()
7472 * BufferView_pimpl.h:
7473 * BufferView_pimpl.C: handle change lfuns
7475 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7476 for changes. Mark pasted paragraphs as new.
7478 * support/lyxtime.h:
7479 * support/lyxtime.C:
7480 * DepTable.C: abstract time_t as lyx::time_type
7483 * LColor.C: add colours for new text, deleted text, changebars
7485 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7486 package use "usenames" option.
7490 * LyXAction.C: add change lfuns
7494 * author.C: author handling
7497 * buffer.C: add a per-buffer author list, with first entry as
7498 current author. Handle new .lyx tokens for change tracking. Output
7499 author list to .lyx file. Output dvipost stuff to .tex preamble.
7500 Bump lyx format to 222.
7503 * bufferlist.C: add setCurrentAuthor() to reset current author details
7507 * bufferparams.C: add param for tracking
7509 * bufferview_funcs.C: output change info in minibuffer
7513 * changes.C: add change-tracking structure
7516 * debug.C: add CHANGES debug flag
7519 * lyxfind.C: add code for finding the next change piece
7522 * lyxrc.C: add user_name and user_email
7525 * lyxrow.C: add a metric for the top of the text line
7528 * text.C: implement accept/rejectChange()
7531 * text.C: paint changebars. Paint new/deleted text in the chosen
7532 colours. Strike through deleted text.
7536 * paragraph_pimpl.h:
7537 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7538 in the current change to the insert functions. Rework erase to
7539 mark text as deleted, adding an eraseIntern() and a range-based
7540 erase(). Implement per-paragraph change lookup and
7543 * paragraph_funcs.C: Fixup paste for change tracking.
7545 * tabular.C: mark added row/columns as new.
7547 * text.C: fix rowLast() to never return -1. Don't allow
7548 spellchecking of deleted text. Track transpose changes. Don't
7549 allow paragraph break or merge where appropriate.
7551 * text2.C: leave cursor at end of selection after a cut.
7553 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7555 * text.C (getLengthMarkerHeight):
7556 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7557 visible on screen too.
7559 2003-02-07 John Levon <levon@movementarian.org>
7561 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7563 2003-02-05 Angus Leeming <leeming@lyx.org>
7565 * lyxserver.C (read_ready): revert my patch of 11 September last year
7566 as it sends PC cpu through the roof. Presumably this means that
7567 the lyxserver will no longer run on an Alpha...
7569 2003-01-30 Angus Leeming <leeming@lyx.org>
7571 * factory.C (createInset): create an InsetCommandParam of type "index"
7572 and use it to 'do the right thing'.
7574 * text2.C (getStringToIndex): ensure that cursor position is always
7575 reset to the reset_cursor position.
7577 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7579 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7582 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7586 * lyxfunc.C: Output messages with identical spelling, punctuation,
7589 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7591 * MenuBackend.C (expandFormats): List only viewable export formats
7594 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7597 * lyxfunc.C (getStatus): Make sure that formats other than
7598 "fax" can also be disabled
7600 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * text3.C (dispatch): put the lfuns that insert insets in 3
7603 groups, and call doInsertInset with appropriate arguments.
7604 (doInsertInset): new function, that creates an inset and inserts
7605 it according to some boolean parameters.
7607 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * buffer.C (readFile): remember to pass on 'par' when calling
7610 readFile recursively.
7612 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7614 * MenuBackend.C (expandFormats): add "..." to import formats.
7616 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7618 * paragraph.C (asString): Remove XForms RTL hacks.
7620 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7621 * buffer.C: fix typo
7623 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * Makefile.am (LIBS): delete var
7626 (lyx_LDADD): add @LIBS@ here instead.
7628 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7630 * Clarify the meaning of "wheel mouse jump"
7632 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7634 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7637 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7639 * importer.C (Loaders): do not preallocate 3 elements in the
7640 vector, since one ends up with 6 elements otherwise
7642 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7644 * DepTable.C (write): write the file name as last element of the
7645 .dep file (because it may contain spaces)
7646 (read): read info in the right order
7648 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7650 * paragraph_pimpl.C (simpleTeXBlanks):
7651 (simpleTeXSpecialChars):
7652 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7654 * tabular.C (latex): add some missing case statements. Reindent.
7656 * MenuBackend.C (expandToc): remove unused variable.
7658 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7667 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7670 2003-01-05 John Levon <levon@movementarian.org>
7673 * BufferView.C: add getEncoding()
7676 * kbsequence.C: do not store last keypress
7679 * lyxfunc.C: store last keypress here instead. Pass encoding
7682 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7684 * lyx_main.C (init): remove annoying error message when following
7685 symbolic links (bug #780)
7687 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7689 * text.C (insertChar):
7690 * lyxrc.C (getDescription): remove extra spaces
7692 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7694 * lyxrc.C (getDescription): remove extra spaces
7696 2002-12-20 John Levon <levon@movementarian.org>
7698 * text3.C: hack fix for page up/down across tall rows
7700 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7702 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7705 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7707 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7708 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7709 thesaurus is not compiled in
7711 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7713 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7715 2002-12-16 Angus Leeming <leeming@lyx.org>
7718 * lyx_main.C (init): remove override_x_deadkeys stuff.
7720 2002-12-12 John Levon <levon@movementarian.org>
7722 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7723 insert. Only remove shift modifier under strict
7726 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * MenuBackend.C (expandToc): fix crash.
7730 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * MenuBackend.C (expandToc): gettext on float names.
7734 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7736 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7737 implement bool empty() [bug 490]
7739 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7743 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7745 * several files: ws changes
7747 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7749 * text2.C (setCounter): clean up a bit, use boost.format.
7750 (updateCounters): initialize par upon declaration.
7752 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7753 if the layout exists. We do not just store the layout any more.
7754 (SwitchLayoutsBetweenClasses): use boost.format
7756 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7758 * converter.C (convert): if from and to files are the same, use a
7759 temporary files as intermediary
7761 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7764 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7766 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7768 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7770 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * tabular.C (asciiPrintCell): use string(size, char) instead of
7775 * sgml.C (openTag): fix order of arguments to string constructor
7778 * lyxfunc.C (dispatch): use boost.format
7780 * lots of files: change "c" -> 'c'
7782 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7784 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7786 2002-11-25 Angus Leeming <leeming@lyx.org>
7788 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7790 * lyx_main.C (init): compile fix.
7792 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * lyx_cb.C (start): boost.formatify
7795 do not include <iostream>
7797 * lengthcommon.C: ws only
7799 * boost-inst.C,BoostFormat.h: add more explict instantations
7801 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * lots of files: handle USE_BOOST_FORMAT
7805 2002-11-21 John Levon <levon@movementarian.org>
7807 * pspell.C: fix compile
7809 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7811 * lyxfunc.C (dispatch): use boost::format
7815 * lyxfont.C (stateText): use boost::format
7817 * lyx_main.C (LyX): use boost::format
7819 (queryUserLyXDir): ditto
7822 (typedef boost::function): use the recommened syntax.
7824 * importer.C (Import): use boost::format
7826 * debug.C (showLevel): use boost::format
7828 * converter.C (view): use boost::format
7833 * bufferview_funcs.C (currentState): use boost::format
7835 * bufferlist.C (emergencyWrite): use boost::format
7837 * buffer.C (readLyXformat2): use boost::format
7838 (parseSingleLyXformat2Token): ditto
7840 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7842 * LaTeX.C (run): use boost::format
7844 * Chktex.C (scanLogFile): use boost::format
7846 * BufferView_pimpl.C (savePosition): use boost::format
7847 (restorePosition): ditto
7848 (MenuInsertLyXFile): ditto
7850 * BoostFormat.h: help file for explicit instation.
7852 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7854 * tabular.C (latex): Support for block alignment in fixed width
7857 2002-11-17 John Levon <levon@movementarian.org>
7859 * BufferView_pimpl.C:
7861 * lyxfunc.C: split filedialog into open/save
7863 2002-11-08 Juergen Vigna <jug@sad.it>
7865 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7866 by my last patch (hopefully).
7868 2002-11-08 John Levon <levon@movementarian.org>
7877 * toc.C: ParConstIterator, and use it (from Lars)
7879 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7881 * lyxtextclass.[Ch]: revise and add doxygen comments
7883 2002-11-07 John Levon <levon@movementarian.org>
7885 * text.C: fix progress value for spellchecker
7887 * toc.C: fix navigate menu for insetwrap inside minipage
7889 * paragraph_funcs.C: added FIXME for suspect code
7891 2002-11-07 John Levon <levon@movementarian.org>
7893 * BufferView_pimpl.C: fix redrawing of insets
7896 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7898 * text2.C (updateCounters): fix bug 668
7900 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7902 * text3.C (dispatch): Do not make the buffer dirty when moving the
7905 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7907 * vc-backend.C: STRCONV
7910 * text2.C (setCounter): STRCONV
7912 * paragraph.C (asString): STRCONV
7914 * lyxlength.C (asString): STRCONV
7915 (asLatexString): ditto
7917 * lyxgluelength.C (asString): STRCONV
7918 (asLatexString): ditto
7920 * lyxfunc.C (dispatch): STRCONV
7923 * lyxfont.C (stateText): STRCONV
7925 * importer.C (Import): STRCONV
7927 * counters.C (labelItem): STRCONV
7928 (numberLabel): ditto
7929 (numberLabel): remove unused ostringstream o
7934 * bufferview_funcs.C (currentState): STRCONV
7936 * buffer.C (readFile): STRCONV
7937 (asciiParagraph): ditto
7938 (makeLaTeXFile): ditto
7940 * Spacing.C (writeEnvirBegin): STRCONV
7942 * LaTeXFeatures.C (getLanguages): STRCONV
7943 (getPackages): ditto
7945 (getBabelOptions): ditto
7946 (getTClassPreamble): ditto
7947 (getLyXSGMLEntities): ditto
7948 (getIncludedFiles): ditto
7952 (scanAuxFile): ditto
7955 * LString.h: add the STRCONV macros
7957 * BufferView_pimpl.C (savePosition): STRCONV
7958 (restorePosition): ditto
7959 (MenuInsertLyXFile): ditto
7961 * vc-backend.C (scanMaster): change from submatch[...] to
7964 * funcrequest.C: include config.h
7966 * factory.C: include config.h
7968 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7970 * box.C: include config.h
7972 * LaTeX.C (scanAuxFile): change from submatch[...] to
7976 2002-10-25 Angus Leeming <leeming@lyx.org>
7978 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7980 * ispell.[Ch] (setError): new method.
7981 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7982 Use setError() insetead of goto END.
7984 * lyx_cb.C (AutoSave): move out child process into new class
7987 2002-10-30 John Levon <levon@movementarian.org>
7989 * text3.C: make start appendix undoable
7991 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7993 * lyxlength.C (inPixels): Fix returned value.
7995 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7998 2002-10-24 Angus Leeming <leeming@lyx.org>
8000 * lyxgluelength.h: no need to forward declare BufferParams
8001 or BufferView, so don't.
8003 2002-10-21 John Levon <levon@movementarian.org>
8005 * BufferView.C: menuUndo ->undo, redo
8007 * BufferView.h: document, remove dead, make some methods private
8009 * paragraph_funcs.h:
8010 * paragraph_funcs.C:
8011 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8016 * sgml.C: move sgml open/close tag into sgml.C
8018 * bufferview_funcs.h: unused prototype
8021 * lyxfunc.C: remove unused
8024 * text.C: remove unused
8026 2002-10-21 John Levon <levon@movementarian.org>
8030 * BufferView_pimpl.h:
8031 * BufferView_pimpl.C: fix mouse wheel handling based on
8032 patch from Darren Freeman
8034 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8036 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8038 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8040 * lyxlength.C (inPixels): Fix hanfling of negative length.
8041 Fix LyXLength::MU case.
8043 2002-10-16 John Levon <levon@movementarian.org>
8045 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8047 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8049 * converter.C (view): add support for $$i (file name) and $$p
8050 (file path) for the viewer command. If $$i is not specified, then
8051 it is appended to the command (for compatibility with old syntax)
8053 2002-10-14 Juergen Vigna <jug@sad.it>
8055 * undo_funcs.C (textHandleUndo): alter the order in which the
8056 new undopar is added to the LyXText, as we have to set first
8057 the right prev/next and then add it as otherwise the rebuild of
8058 LyXText is not correct. Also reset the cursor to the right paragraph,
8059 with this IMO we could remove the hack in "redoParagraphs()".
8061 2002-10-09 Angus Leeming <leeming@lyx.org>
8063 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8064 to turn off an optimisation if a new inset is to be inserted.
8066 2002-10-11 André Pönitz <poenitz@gmx.net>
8068 * lyxtext.h: make some functions public to allow access
8069 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8071 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8073 * text3.C (dispatch): when changing layout, avoid an infinite loop
8076 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8078 * lyxrc.C (read): treat a viewer or converter command of "none" as
8081 * MenuBackend.C (expandFormats): for an update, also allow the
8082 formats that are not viewable
8084 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8085 script if it is newer than the lyxrc.defaults in user directory
8087 2002-10-07 André Pönitz <poenitz@gmx.net>
8089 * text.C: Vitaly Lipatov's small i18n fix
8091 2002-09-25 Angus Leeming <leeming@lyx.org>
8093 * ispell.h: doxygen fix.
8095 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8097 * buffer.h (readFile): Add a new argument to the method, to allow
8098 reading of old-format templates.
8100 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8102 * toc.C (getTocList): Get TOC from InsetWrap.
8104 2002-09-16 John Levon <levon@movementarian.org>
8106 * lyxfunc.C: check tabular for cut/copy too
8108 2002-09-12 John Levon <levon@movementarian.org>
8113 * factory.C: add header
8115 * paragraph_funcs.h:
8116 * paragraph_funcs.C: cleanup
8118 2002-09-11 John Levon <levon@movementarian.org>
8120 * PrinterParams.h: odd/even default to true
8122 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8124 * PrinterParams.h: update printer parameters for new xforms dialog
8126 2002-09-11 Angus Leeming <leeming@lyx.org>
8128 * lyxserver.C (read_ready): re-write to make it more transparent
8129 and to make it work in coherent fashion under Tru64 Unix.
8131 2002-09-11 André Pönitz <poenitz@gmx.net>
8135 * text3.C: implement LFUN_WORDSEL
8137 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8140 make floatlist_ a boost::shared_ptr<FloatList>
8142 * lyxtextclass.C: include FloatList.h
8143 (LyXTextClass): initialize floatlist_
8144 (TextClassTags): add TC_NOFLOAT
8145 (Read): match "nofloat" to TC_NOFLOAT and use it.
8146 (readFloat): modify call to floatlist_
8150 * FloatList.[Ch] (FloatList): remove commented out float
8152 (erase): new function
8154 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * MenuBackend.C (expandToc): fix crash when there is no document
8159 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8161 * many files: Add insetwrap.
8163 2002-09-09 John Levon <levon@movementarian.org>
8165 * text2.C: remove confusing and awkward depth wraparound
8167 2002-09-09 John Levon <levon@movementarian.org>
8169 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8172 * buffer.C: remove getIncludeonlyList()
8175 * lyxfunc.C: remove headers
8177 2002-09-09 Juergen Vigna <jug@sad.it>
8179 * text.C (getColumnNearX): fix form Michael this is most
8180 probably a cut&paste bug.
8182 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8184 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8186 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8187 references, ws changes.
8189 * text2.C (init): update counters after init
8190 (insertParagraph): no need to set counter on idividual paragraphs.
8191 (setCounter): access the counters object in the textclass object
8192 on in the buffer object.
8193 (updateCounters): ditto
8195 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8196 shared_ptr<Counters> to avoid loading counters.h in all
8198 (LyXTextClass): initialize ctrs_
8199 (TextClassTags): add TC_COUNTER, and ...
8200 (Read): use it here.
8201 (CounterTags): new tags
8202 (readCounter): new function
8203 (counters): new funtion
8204 (defaultLayoutName): return a const reference
8206 * counters.C (Counters): remove contructor
8207 (newCounter): remove a couple of unneeded statements.
8208 (newCounter): simplify a bit.
8209 (numberLabel): some small formatting changes.
8211 * buffer.[Ch]: remove all traces of counters, move the Counters
8212 object to the LyXTextClass.
8214 2002-09-06 Alain Castera <castera@in2p3.fr>
8216 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8217 package to set the horizontal alignment on fixed width columns.
8220 * lyx_sty.h: added tabularnewline macro def.
8222 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8224 2002-09-06 John Levon <levon@movementarian.org>
8226 * LyXAction.C: tooltips for sub/superscript
8228 * MenuBackend.C: a bit more verbose
8230 * lyxfunc.C: tiny clean
8232 * undo_funcs.C: document undo_frozen
8234 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * counters.C (Counters): add missing algorithm counter.
8238 * text2.C (setCounter): lookup the counter with layouts latexname
8239 instead of by section number.
8240 (setCounter): use a hackish way to lookup the correct enum
8242 a float name->type change
8243 reset enum couners with counter name directly instead of depth value.
8245 * counters.C (Counters): remove the push_backs, change to use the
8246 float type not the float name.
8247 (labelItem): remove unused string, float name->type change
8249 * counters.h: don't include vector, loose the enums and sects vectors
8251 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8254 (Read): add float->TC_FLOAT to textclassTags
8255 (Read): and handle it in the switch
8256 (readFloat): new function
8258 * FloatList.C (FloatList): comment out the hardcoded float
8261 * lyxlayout.h: ws change.
8263 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8265 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8267 2002-09-03 Angus Leeming <leeming@lyx.org>
8269 * BufferView_pimpl.h: qualified name is not allowed in member
8270 declaration: WorkArea & Pimpl::workarea() const;
8272 * factory.C: added using std::endl directive.
8274 * text3.C: added using std::find and std::vector directives.
8276 2002-08-29 André Pönitz <poenitz@gmx.net>
8279 * text2.C: remove unused member number_of_rows
8282 * BufferView2.C: remove file, move contents to...
8283 * BufferView.C: ... here
8285 * BufferView_pimpl.C:
8286 * factory.C: move more inset creation to factory
8288 * vspace.C: avoid direct usage of LyXText, ws changes
8291 don't provide direct access to WorkArea, use two simple
8292 acessors haveSelction() and workHeight() instead
8295 2002-08-29 John Levon <levon@movementarian.org>
8297 * BufferView_pimpl.C (dispatch): do not continue when
8300 2002-08-28 André Pönitz <poenitz@gmx.net>
8302 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8305 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8307 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8309 * buffer.C: increment LYX_FORMAT to 221
8311 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8312 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8314 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8316 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8318 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8320 * factory.C (createInset): use LyXTextClass::floats
8322 * MenuBackend.C (expandFloatListInsert):
8323 (expandFloatInsert):
8326 * text2.C (setCounter):
8328 * LaTeXFeatures.C (useFloat):
8329 (getFloatDefinitions):
8331 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8333 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8334 floatlist_, with accessor floats().
8336 * FloatList.h: remove global FloatList
8338 2002-08-26 André Pönitz <poenitz@gmx.net>
8340 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8344 * BufferView_pimpl.C:
8345 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8347 2002-08-25 John Levon <levon@movementarian.org>
8349 * LyXAction.C: fix margin note description
8351 2002-08-24 John Levon <levon@movementarian.org>
8355 * bufferview_funcs.C:
8357 * undo_funcs.C: cleanups
8359 * lyxfunc.C: disable CUT/COPY when no selection
8361 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8363 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8364 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8366 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8367 Add backward compatibility to "mono", "gray" and "no".
8369 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8371 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8372 (and file_format >= 200).
8374 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8376 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8378 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8380 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8382 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8384 * BufferView_pimpl.C:
8391 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8392 inset and code to make it work with the paragraph code. The inset
8393 can be anywhere in the paragraph, but will only do the expected
8394 thing in LaTeX if the layout file contains the parameter line
8396 (or more generally, a nonzero value) for that layout.
8398 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8400 * paragraph.h: remove the declaration of undefined counters class
8403 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8405 * text2.C (setCounter): fixed enumeration mis-count as reported by
8406 Dr. Richard Hawkins.
8408 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * paragraph_funcs.h: remove some unneeded includes
8412 * text.C (backspace): pasteParagraph now in global scipe
8414 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8415 (pasteSelection): ditto
8417 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8418 * paragraph_funcs.C (pasteParagraph): ... here
8420 2002-08-20 André Pönitz <poenitz@gmx.net>
8422 * commandtags.h: new LFUNs for swapping/copying table row/colums
8425 * lyxfunc.C: support for new lfuns
8427 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8430 * buffer.[Ch]: remove NO_COMPABILITY stuff
8432 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * boost.C (throw_exception): new file, with helper function for
8435 boost compiled without exceptions.
8440 * ParameterStruct.h:
8441 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8443 * bufferlist.C (emergencyWriteAll): use boost bind
8445 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8447 * text.C: include paragraph_funcs.h
8448 (breakParagraph): breakParagraph is now in global scope
8450 * paragraph_funcs.[Ch]: new files
8452 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8455 * buffer.C: include paragraph_funcs.h
8456 (insertStringAsLines): breakParagraph is now in global scope
8458 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8461 * CutAndPaste.C: include paragraph_funcs.h
8462 (cutSelection): breakParagraphConservative is now in global scope
8463 (pasteSelection): ditto
8465 * buffer.h: declare oprator== and operator!= for
8466 Buffer::inset_iterator
8468 * bufferlist.C (emergencyWrite): don't use fmt(...)
8470 * text3.C: add using std::endl
8472 * BufferView.C (moveCursorUpdate): remove default arg
8474 2002-08-20 André Pönitz <poenitz@gmx.net>
8476 * buffer.[Ch]: move inline functions to .C
8479 * BufferView_pimpl.C:
8481 * buffer.[Ch]: use improved inset_iterator
8484 * paragraph.[Ch]: write one paragraph at a time
8486 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8488 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8489 style if style is not specified.
8491 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * text2.C (setCounter): when searching for right label for a
8494 caption, make sure to recurse to parent insets (so that a caption
8495 in a minipage in a figure float works) (bug #568)
8497 2002-08-20 André Pönitz <poenitz@gmx.net>
8499 * text3.C: new file for LyXText::dispatch() and helpers
8501 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8503 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8505 2002-08-19 André Pönitz <poenitz@gmx.net>
8508 * text.C: new LyXText::dispatch()
8510 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8512 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8514 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8516 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8519 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8521 * Makefile.am: use $(variables) instead of @substitutions@
8523 2002-08-15 André Pönitz <poenitz@gmx.net>
8526 * BufferView_pimpl.C: streamlining mathed <-> outer world
8530 * LyXAction.C: remove unused LFUN_MATH
8532 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8536 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * paragraph.C (Paragraph): reformat a bit
8539 (cutIntoMinibuffer): use builtin InsetList function instad of
8543 * buffer.C: include boost/bind.hpp, add using std::for_each
8544 (writeFileAscii): use ParagraphList iterators
8545 (validate): use for_each for validate traversal of paragraphs
8546 (getBibkeyList): use ParagraphList iterators
8547 (resizeInsets): use for_each to resizeInsetsLyXText for all
8549 (getParFromID): use ParagraphList iterators
8551 * BufferView2.C (lockInset): use paragraph list and iterators
8553 2002-08-14 John Levon <levon@movementarian.org>
8555 * lyxserver.C: remove spurious xforms include
8557 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8559 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8561 2002-08-13 André Pönitz <poenitz@gmx.net>
8564 * lyxfunc.C: further cleaning
8566 2002-08-13 André Pönitz <poenitz@gmx.net>
8568 * funcrequest.h: new constructor
8570 * funcrequest.C: move stuff here from .h
8573 * BufferView_pimpl.C:
8576 * lyxfunc.C: subsequent changes
8578 * lyxfunc.h: new view() member function
8580 * lyxfunc.C: subsequent changes
8582 2002-08-13 Angus Leeming <leeming@lyx.org>
8585 * BufferView_pimpl.C:
8593 changes due to the changed LyXView interface that now returns references
8594 to member variables not pointers.
8596 2002-08-13 Angus Leeming <leeming@lyx.org>
8598 * WordLangTuple (word, lang_code): return references to strings,
8603 * lyxtext.h: forward-declare WordLangTuple.
8608 * text.C: #include "WordLangTuple.h".
8611 * text.C: (selectNextWordToSpellcheck): constify return type.
8613 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8619 * paragraph_pimpl.h:
8622 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8624 Made updateCounter always count from start of buffer, and removed
8625 second argument (par).
8626 Reverted floats number display to '#'. Perhaps I'll try again when the
8627 code base is sanitized a bit.
8629 2002-08-12 Angus Leeming <leeming@lyx.org>
8631 * buffer.[Ch] (getLabelList): constify.
8633 2002-08-07 André Pönitz <poenitz@gmx.net>
8635 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8637 * funcrequest.h: extension to keep mouse (x,y) position
8639 2002-08-12 Juergen Vigna <jug@sad.it>
8641 * BufferView2.C (insertErrors): forbid undo when inserting error
8644 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8646 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * ParagraphList.[Ch]: new files
8650 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8652 * BufferView2.C (lockInset): ParagraphList changes
8655 * bufferlist.C: ditto
8659 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8662 unused class variable counter_,
8664 * paragraph.[Ch] (getFirstCounter): delete unused function
8666 * counters.C: include LAssert.h
8667 (reset): add a new function with no arg, change other version to
8668 not have def. arg and to not allow empty arg.
8670 * text2.C (setCounter): remove empty arg from call to Counters::reset
8672 2002-08-11 John Levon <levon@movementarian.org>
8674 * Makefile.am: add WordLangTuple.h
8676 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8678 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8679 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8681 * insets/insettext.C: InsetList changes
8683 * graphics/GraphicsSupport.C (operator()): InsetList changes
8685 * toc.C (getTocList): InsetList changes
8687 * paragraph_pimpl.[Ch]: InsetList changes
8689 * paragraph.[Ch]: InsetList changes
8691 * buffer.C (inset_iterator): InsetList changes
8692 (setParagraph): ditto
8693 * buffer.h (inset_iterator): ditto
8694 * iterators.C (operator++): ditto
8695 * iterators.h: ditto
8697 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8699 * InsetList.[Ch]: new files, most InsetList handling moved out of
8702 * BufferView2.C (removeAutoInsets): InsetList changes
8704 (ChangeInsets): ditto
8706 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * paragraph_pimpl.h (empty): new function
8710 * paragraph.[Ch] (empty): new function
8712 * other files: use the new Paragraph::empty function
8714 2002-08-09 John Levon <levon@movementarian.org>
8716 * lyxtext.h: remove unused refresh_height
8718 2002-08-09 John Levon <levon@movementarian.org>
8725 * paragraph.C: move sgml char escaping out of paragraph
8728 * paragraph.C: remove id setter
8732 * paragraph_pimpl.C: remove dead tex_code_break_column
8734 * bufferview_funcs.C: small cleanup
8736 * lyxfunc.C: remove dead proto
8738 * lyxtext.h: make some stuff private. Remove some dead stuff.
8740 * lyxgluelength.C: make as[LyX]String() readable
8742 2002-08-08 John Levon <levon@movementarian.org>
8747 * ToolbarDefaults.C:
8750 * toc.C: lyxaction cleanup
8752 2002-08-08 John Levon <levon@movementarian.org>
8754 * BufferView2.C: small cleanup
8757 * lyxfind.C: move unnecessary header into the .C
8759 2002-08-08 John Levon <levon@movementarian.org>
8761 * funcrequest.h: just tedious nonsense
8764 * lyx_main.C: cleanups
8767 * vspace.C: remove dead header lyx_main.h
8769 2002-08-07 Angus Leeming <leeming@lyx.org>
8772 * paragraph_pimpl.h:
8773 Forward declare class Counters in paragraph.h by moving the ctrs member
8774 variable into Paragraph::Pimpl.
8775 (counters): new method, returning a reference to pimpl_->ctrs.
8777 * text2.C: ensuing changes.
8779 2002-08-07 John Levon <levon@movementarian.org>
8781 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8783 * BufferView_pimpl.C: announce X selection on double/triple
8786 * lyx_main.C: use correct bool in batch dispatch
8788 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8790 2002-08-07 André Pönitz <poenitz@gmx.net>
8792 * funcrequest.h: new class to wrap a kb_action and its argument
8795 * BufferView_pimpl[Ch]:
8799 * lyxrc.C: subsequent changes
8802 2002-08-07 John Levon <levon@movementarian.org>
8804 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8805 document options change.
8807 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8812 * makefile.am: move counters functionality over from
8813 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8815 2002-08-06 John Levon <levon@movementarian.org>
8817 * WordLangTuple.h: new file for word + language code tuple
8828 * BufferView2.C: use WordLangTuple
8831 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8833 2002-08-06 John Levon <levon@movementarian.org>
8835 * lyx_main.C: fix cmdline batch handling
8837 2002-08-06 André Pönitz <poenitz@gmx.net>
8839 * lyxrc.C: set default for show_banner to true
8841 2002-08-06 John Levon <levon@movementarian.org>
8843 * pspell.C: fix a crash, and allow new aspell to work
8845 2002-08-06 John Levon <levon@movementarian.org>
8848 * kbmap.C: small cleanup
8851 * vspace.C: add const
8853 2002-08-05 John Levon <levon@movementarian.org>
8855 * LyXAction.C: back to tabular-insert
8857 2002-08-04 John Levon <levon@movementarian.org>
8860 * BufferView.C: cosmetic change
8862 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8872 * BufferView2.C: purge all "Lyx" not "LyX" strings
8875 * lyxcursor.C: attempt to add some documentation
8880 * ToolbarDefaults.C:
8881 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8882 merge with LFUN_TABULAR_INSERT
8889 * pspell.C: split up i/pspell implementations into separate
8890 files, many cleanups
8892 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8894 * text2.C: some cleanup
8896 * lyxfunc.C: don't check for isp_command == "none" any more, it
8897 didn't make any sense
8899 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8904 * makefile.am: move counters functionality over
8905 from text2.C/paragraph.[Ch] to counters.[Ch], and
8907 2002-08-02 John Levon <levon@movementarian.org>
8909 * buffer.C: s/lyxconvert/lyx2lyx/
8911 2002-08-02 Angus Leeming <leeming@lyx.org>
8913 * lyxlex.C: revert John's change as it breaks reading of the user
8916 2002-08-02 Angus Leeming <leeming@lyx.org>
8918 * importer.C (Import):
8919 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8920 changes due to LyXView::view() now returning a boost::shared_ptr.
8922 2002-08-02 John Levon <levon@movementarian.org>
8924 * lyxlex.C: small cleanup
8926 2002-08-02 John Levon <levon@movementarian.org>
8928 * text2.C (status): small cleanup, no logic change
8930 2002-08-01 John Levon <levon@movementarian.org>
8933 * buffer.C (writeFile): don't output alerts, caller
8937 * lyx_cb.C: from above
8939 * lyxfunc.C: allow to open non-existent files
8941 2002-07-31 John Levon <levon@movementarian.org>
8943 * lyxserver.C: don't let incidental errors get
8946 2002-07-30 John Levon <levon@movementarian.org>
8948 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8950 2002-07-30 John Levon <levon@movementarian.org>
8953 * lyxserver.C: remove I/O callback too
8955 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8957 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8960 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * many files: strip,frontStrip -> trim,ltrim,rtrim
8964 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * PrinterParams.h: remove extern containsOnly, and include
8967 support/lstrings.h instead.
8969 * LaTeX.C (scanAuxFile): modify because of strip changes
8971 * buffer.C (makeLaTeXFile): ditto
8972 * bufferparams.C (writeFile): ditt
8973 * lyxfont.C (stateText): ditto
8974 * lyxserver.C (read_ready): ditto
8975 * vc-backend.C (scanMaster): ditto
8977 * BufferView_pimpl.h: ws changes
8979 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8981 2002-07-26 André Pönitz <poenitz@gmx.net>
8983 * kb_sequence.C: remove unnedred usings
8985 2002-07-26 Juergen Vigna <jug@sad.it>
8987 * lyxfind.C (LyXReplace): we have to check better if the returned
8988 text is not of theLockingInset()->getLockingInset().
8990 2002-07-25 Juergen Vigna <jug@sad.it>
8992 * lyxfind.C (LyXReplace): don't replace if we don't get the
8995 * undo_funcs.C (createUndo): remove debugging code.
8997 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8999 * buffer.C (parseSingleLyXformat2Token): Use default placement
9000 when reading old floats.
9002 * FloatList.C (FloatList): Change the default placement of figure
9003 and tables to "tbp".
9005 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9007 * MenuBackend.C: using std::max
9009 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9011 * MenuBackend.C (expandToc):
9012 (expandToc2): code moved from xforms menu frontend. It is now
9013 generic and TOCs are transparent to menu frontends.
9015 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9017 * toc.C (getTocList): protect against buf=0
9019 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9020 Menu as first parameter. Now, this calls itself recursively to
9021 expand a whole tree (this will be useful for TOC handling)
9022 (expandFloatInsert): remove 'wide' version of floats
9024 * MenuBackend.h (submenuname): returns the name of the submenu.
9025 (submenu): returns the submenu itself, provided it has been
9026 created by MenuBackend::expand
9028 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9031 insets which have noFontChange == true. (bug #172)
9033 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * BufferView_pimpl.C: add connection objects and use them...
9038 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9040 * MenuBackend.C (expandLastfiles):
9043 (expandFloatListInsert):
9044 (expandFloatInsert):
9045 (expand): split expand in parts
9047 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9049 * lyx_gui.C: use lyx_gui::exit()
9051 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9053 * LyXAction.C: show the failing pseudo action
9055 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9057 * buffer.C (readFile): Run the lyxconvert script in order to read
9060 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9064 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9066 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9070 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9072 2002-07-22 Herbert Voss <voss@lyx.org>
9075 * lyxlength.[Ch]: add support for the vertical lengths
9077 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9079 * toc.[Ch]: std:: fixes
9081 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * lyxrc.C: do not include lyx_main.h
9085 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9091 * BufferView2.C: include "lyxlex.h"
9094 * bufferparams.h: do not #include "lyxlex.h"
9096 * lyxtextclasslist.C (Add): remove method
9097 (classlist): renamed to classlist_
9099 * paragraph_pimpl.C:
9103 * bufferview_funcs.C:
9108 * toc.C (getTocList): use BufferParams::getLyXTextClass
9110 * toc.C (getTocList): use InsetFloat::addToToc
9112 * toc.[Ch]: new files, containing helper functions to handle table
9115 * lyxfunc.C (dispatch): no need to remove spaces around command
9117 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9118 first command of the sequence; it is not very clever, but I do not
9119 have a better idea, actually
9121 * LyXAction.C (LookupFunc): make sure to remove space at the
9122 beginning and end of the command
9124 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * MenuBackend.C (getMenubar): new method: return the menubar of
9128 (read): treat differently reading of menu and menubar (in
9129 particular, the menubar has no name now)
9130 (Menu::menubar): remove
9132 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9135 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9137 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9138 a bibitem inset in a RTL paragraph.
9140 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9142 * paragraph_pimpl.C: constify
9144 * BufferView_pimpl.C:
9146 * lyxfunc.C: fix dispatch in a nicer way
9148 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * lyxfunc.C (dispatch):
9151 * BufferView_pimpl.C:
9152 * BufferView_pimpl.h:
9154 * BufferView.h: rename Dispatch() to dispatch()
9156 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9158 * lyxlayout.C (Read): honor DependsOn tag
9160 * lyxlayout.[Ch] (depends_on): new method
9162 * version.C.in: update lyx_docversion
9164 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9166 * paragraph.C (validate): remove from here...
9167 * paragraph_pimpl.C (validate): ... and move here
9168 (isTextAt): make it const
9170 * buffer.C (getLists): ws cleanup
9172 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9174 * language.C (read): Use iso8859-1 encoding in latex_lang
9175 (this prevents LyX from crashing when using iso10646-1 encoding).
9177 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9179 * text2.C (toggleInset): if cursor is inside an inset, close the
9180 inset and leave cursor _after_ it
9182 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9184 * lyxfunc.C: move minibuffer completion handling out of here
9186 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9188 * BufferView_pimpl.C:
9189 * LaTeX.C: fix dispatch calls
9191 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9193 * text.C (drawChars): Fix Arabic text rendering.
9195 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9199 * lyxfunc.C: remove message-push/pop
9203 * lyxfunc.C: rationalise some code by removing verboseDispatch
9204 in favour of a bool argument to dispatch()
9206 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * lyx_main.C (init): make sure to read symlinks as absolute paths
9210 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9213 * lyxfunc.C: no need for commandshortcut to be a member
9215 2002-07-15 André Pönitz <poenitz@gmx.net>
9217 * converter.C: add support for $$s (scripts from lib/scripts dir)
9218 * lyx_main.C: white space
9220 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9224 * lyxrc.C: remove second exit confirmation
9226 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9231 * BufferView_pimpl.h:
9232 * BufferView_pimpl.C:
9233 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9235 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9237 * MenuBackend.C (expand): add numeric shortcuts to document menu
9239 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9241 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9243 * lyxfont.C (setLyXFamily):
9250 * buffer.C (asciiParagraph): use ascii_lowercase
9252 2002-07-15 Mike Fabian <mfabian@suse.de>
9254 * lyxlex_pimpl.C (search_kw):
9255 * lyxlex.C (getLongString):
9256 * converter.h (operator<):
9257 * converter.C (operator<):
9258 * buffer.C (parseSingleLyXformat2Token):
9260 * ToolbarDefaults.C (read):
9261 * MenuBackend.C (checkShortcuts):
9263 * LColor.C (getFromGUIName):
9264 (getFromLyXName): use the compare_ascii_no_case instead of
9265 compare_no_case, because in turkish, 'i' is not the lowercase
9266 version of 'I', and thus turkish locale breaks parsing of tags.
9268 2002-07-16 Angus Leeming <leeming@lyx.org>
9270 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9271 now takes a Buffer const & argument.
9273 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9275 * BufferView.C (resize): check there's a buffer to resize
9277 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9279 * lyxfunc.C: remove dead code
9282 * lyxserver.C: use lyx_guii::set_read_callback
9284 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9286 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9287 an inset in a RTL paragraph.
9289 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9291 * lyxfunc.C: repaint after a font size update
9293 2002-07-15 André Pönitz <poenitz@gmx.net>
9295 * lyxlength.C: inBP should be able to return negative values
9297 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9299 * lyxfunc.C: use lyx_gui::update_fonts()
9301 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9303 * lyxfunc.C: use lyx_gui::update_color()
9305 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9311 * lyxrc.C: remove file->new asks for name option, and let
9312 buffer-new take an argument
9314 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9316 * BufferView_pimpl.C: remove unneeded extra repaint()
9318 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9320 * LyXAction.C: allow command-sequence with NoBuffer
9322 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9324 2002-07-10 Angus Leeming <leeming@lyx.org>
9326 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9328 2002-07-09 Angus Leeming <leeming@lyx.org>
9330 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9332 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9334 * lengthcommon.h: whitespace
9336 * lyxfunc.C: update scrollbar after goto paragraph
9338 * lyxtext.h: factor out page break drawing, and fix it so
9339 page break/added space paints as selected nicely
9341 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9343 * BufferView_pimpl.C: add FIXMEs, clean up a little
9345 2002-07-09 André Pönitz <poenitz@gmx.net>
9347 * lyxfont.[Ch]: support for wasy symbols
9349 2002-07-08 André Pönitz <poenitz@gmx.net>
9351 * BufferView_pimpl.C: apply John's patch for #93.
9353 2002-07-05 Angus Leeming <leeming@lyx.org>
9355 * BufferView_pimpl.C (buffer): generate previews if desired.
9357 * LColor.h: add "preview" to the color enum.
9359 * LColor.C (LColor): add a corresponding entry to the items array.
9361 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9364 2002-07-05 Angus Leeming <leeming@lyx.org>
9366 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9367 The body of the code is now in the method that is passed an ostream &
9368 rather than a file name.
9369 Pass an additional only_preamble parameter, useful for the forthcoming
9372 2002-07-03 André Pönitz <poenitz@gmx.net>
9374 * lyxfunc.C: simplify getStatus() a bit for math stuff
9376 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9378 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9380 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9382 * text.C (changeRegionCase): do not change case of all the
9383 document when region ends at paragraph end (bug #461)
9385 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9387 * paragraph.C (startTeXParParams):
9388 (endTeXParParams): add \protect when necessary
9390 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * BufferView_pimpl.C (workAreaExpose): remove warning
9394 2002-06-27 Angus Leeming <leeming@lyx.org>
9396 * Makefile.am: add lyxlayout_ptr_fwd.h.
9398 2002-06-26 André Pönitz <poenitz@gmx.net>
9400 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9402 2002-06-25 Angus Leeming <leeming@lyx.org>
9404 * lyxfunc.C (dispatch): Comment out the call to
9405 grfx::GCache::changeDisplay. The method no longer exists now that the
9406 pixmap generation part of the graphics loader has been moved into
9409 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9411 * text2.C: layout as layout
9413 * text.C: layout as layout
9415 * tabular.C (OldFormatRead): layout as layout
9417 * paragraph_pimpl.C (TeXDeeper): layout as layout
9418 (realizeFont): layout as layout
9420 * paragraph.C (writeFile): layout as layout
9421 (validate): layout as layout
9422 (getFont): layout as layout
9423 (getLabelFont): layout as layout
9424 (getLayoutFont): layout as layout
9425 (breakParagraph): layout as layout
9426 (stripLeadingSpaces): layout as layout
9427 (getEndLabel): layout as layout
9428 (getMaxDepthAfter): layout as layout
9429 (applyLayout): layout as layout
9430 (TeXOnePar): layout as layout
9431 (simpleTeXOnePar): layout as layout
9432 (TeXEnvironment): layout as layout
9433 (layout): layout as layout
9434 (layout): layout as layout
9436 * lyxtextclass.C (compare_name): new functor to work with
9437 shared_ptr, layout as layout
9438 (Read): layout as layout
9439 (hasLayout): layout as layout
9440 (operator): layout as layout
9441 (delete_layout): layout as layout
9442 (defaultLayout): layout as layout
9444 * lyxlayout_ptr_fwd.h: new file
9446 * lyxlayout.C (Read): layout as layout
9448 * lyx_cb.C (MenuInsertLabel): layout as layout
9450 * bufferlist.C (newFile): layout as layout
9452 * buffer.C (readLyXformat2): layout as layout
9453 (parseSingleLyXformat2Token): layout as layout
9454 (insertStringAsLines): layout as layout
9455 (asciiParagraph): layout as layout
9456 (latexParagraphs): layout as layout
9457 (makeLinuxDocFile): layout as layout
9458 (simpleLinuxDocOnePar): layout as layout
9459 (makeDocBookFile): layout as layout
9460 (simpleDocBookOnePar): layout as layout
9461 (getLists): layout as layout
9463 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9465 * CutAndPaste.C (cutSelection): layout as layout
9466 (pasteSelection): layout as layout
9467 (SwitchLayoutsBetweenClasses): layout as layout
9469 * BufferView_pimpl.C (Dispatch): layout as layout
9470 (smartQuote): layout as layout
9472 * BufferView2.C (unlockInset): layout as layout
9474 2002-06-24 André Pönitz <poenitz@gmx.net>
9476 * lyxfunc.C: fix #487
9478 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9482 * lyxfunc.C: remove display_shortcuts, show_banner
9484 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9486 * Buffer_pimpl.C: oops, update on resize
9488 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9495 * BufferView.C: use repaint()
9497 * BufferView_pimpl.h:
9498 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9499 as it's a clearer description. Remove superfluous
9502 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9504 * text.C: fix bug 488. Not ideal, but getting
9505 getWord() to work properly for the insets that
9506 matter is more difficult ...
9508 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9510 * BufferView_pimpl.C:
9513 * lyxfunc.C: remove the six million index lyxfuncs to just
9514 one, and DTRT (bug 458)
9516 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9520 * BufferView_pimpl.h:
9521 * BufferView_pimpl.C: clean up resize() stuff,
9522 and unnecessary updateScreen()s
9524 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9528 * BufferView_pimpl.h:
9529 * BufferView_pimpl.C:
9532 * minibuffer.C: remove focus management of workarea,
9533 not needed. Use screen's greyOut()
9535 2002-06-17 Herbert Voss <voss@lyx.org>
9537 * converter.C: (convert) do not post a message, when converting
9538 fails, let the calling function decide what to do in this case
9540 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9542 * lyxfunc.C: tidy up a little
9544 2002-06-16 <alstrup@diku.dk>
9546 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9547 Got rid of FORMS_H_LOCATION include. Now we are
9550 2002-06-15 LyX Development team <lyx@rilke>
9552 * buffer.[Ch] (sgmlOpenTag):
9553 (sgmlCloseTag): Added support for avoiding pernicious mixed
9554 content. Return number of lines written.
9557 (makeDocBookFile): Fixed calls to sgml*Tag.
9558 Simple white space clean.
9560 (simpleDocBookOnePar): Simple white space clean.
9562 * tabular.[Ch] (docBook): Renamed to docbook and got another
9563 argument to related with the pernicious mixed content.
9565 (docbookRow): Fixed calls for docbook inset method.
9567 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9569 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9570 so it's X11 independent.
9574 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9576 2002-06-15 Lyx Development team <lyx@electronia>
9578 * intl.h: Renamed getTrans to getTransManager.
9580 2002-06-14 Angus Leeming <leeming@lyx.org>
9582 * Makefile.am: nuke forgotten stl_string_fwd.h.
9584 2002-06-12 Angus Leeming <leeming@lyx.org>
9586 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9588 2002-06-13 Angus Leeming <leeming@lyx.org>
9591 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9593 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9595 * kbmap.C (getiso): add support for cyrillic and greek
9597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9601 * BufferView_pimpl.h:
9602 * BufferView_pimpl.C: move bogus scrolling logic
9605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9608 * BufferView_pimpl.C: view->resize() change
9610 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9612 * BufferView_pimpl.C: topCursorVisible
9615 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9619 * lyx_gui.C: move to frontends/
9623 * lyx_main.C: changes from above
9625 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9632 * lyx_main.C: minor tidy
9634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9636 * BufferView_pimpl.h:
9637 * BufferView_pimpl.C:
9639 * BufferView.C: make painter() const,
9642 * BufferView2.C: use screen() accessor
9645 * lyx_main.C: some minor cleanup
9647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9649 * BufferView_pimpl.h:
9650 * BufferView_pimpl.C: remove enter/leaveView,
9653 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9658 * BufferView_pimpl.h:
9659 * BufferView_pimpl.C: only construct screen once,
9662 * lyxrc.C: remove pointless comment
9664 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9667 * BufferView.C: remove active() and belowMouse()
9669 * BufferView_pimpl.h:
9670 * BufferView_pimpl.C: use workarea() not workarea_,
9671 and make it use a scoped_ptr instead
9673 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9675 * lyx_gui.C: add debug message on BadWindow
9677 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9679 * sp_spell.C: fdopen is not part of the C++ standard.
9681 * paragraph.C (InsetIterator): use >= instead of ==
9683 2002-06-07 Angus Leeming <leeming@lyx.org>
9685 Fixes needed to compile with Compaq cxx 6.5.
9686 * BufferView_pimpl.C:
9693 * lyxtextclasslist.C:
9698 all c-library variables have been moved into namespace std. Wrap
9699 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9704 Add a using std::abs declaration.
9706 * kbmap.h (modifier_pair):
9707 * paragraph.h (InsetTable, InsetList):
9708 * lyxfont.h (FontBits):
9709 type definition made public.
9711 * bufferlist.C (emergencyWriteAll): the compiler complains that
9712 there is more than one possible lyx::class_fun template to choose from.
9713 I re-named the void specialisation as lyx::void_class_fun.
9715 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9717 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9718 the compiler is is unable to find tostr in write_attribute.
9720 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9722 * buffer.C (sgmlError): hide #warning
9724 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9726 * xtl/*: get rid of xtl, which is not in use anyway
9728 * LyXAction.C (init):
9729 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9730 were unimplemented xtl experimentation
9732 2002-06-04 André Pönitz <poenitz@gmx.net>
9734 * lyxfunc.C: disable array operation on simple formulae
9736 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9738 * converter.C: constify a bit
9740 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9742 * lyx_gui.C: check xforms version correctly
9744 2002-04-30 Herbert Voss <voss@lyx.org>
9746 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9749 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9751 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9752 attempt to register it with a VCS)
9754 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * lyx_main.C (init): honor variables LYX_DIR_13x and
9759 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9763 * lyx_main.C: fix a crash on bad command line,
9764 and give a useful exit status on error
9766 * lyxfunc.C (doImport): allow -i lyx to work
9768 2002-03-30 André Pönitz <poenitz@gmx.net>
9770 * lyxfunc.C: mathed font changes
9772 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9787 * trans_mgr.h: srcdocs, and some minor cleanups
9789 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9791 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9792 call getFont all the time)
9794 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9796 * switch from SigC signals to boost::signals
9798 2002-05-29 André Pönitz <poenitz@gmx.net>
9800 * paragraph_pimpl.C (getChar): don't call size() too often...
9802 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * paragraph_pimpl.C (insertChar): do not try to update tables when
9805 appending (pos == size())
9807 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9808 in order to reduce drastically the number of comparisons needed to
9809 parse a large document
9811 2002-05-29 André Pönitz <poenitz@gmx.net>
9817 * textclasslist.[Ch]:
9818 * sp_ispell.h: whitespace change
9820 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9823 lyxaction directly now.
9825 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9829 * lyxvc.C: remove unused headers
9831 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9838 * undo_funcs.C: some cleanups. Use shared_ptr
9839 and a template for the undo stacks.
9841 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9843 * BufferView_pimpl.h:
9844 * BufferView_pimpl.C:
9851 * text2.C: use key_state/mouse_state
9853 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9855 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9858 * chset.C: change include order
9859 (loadFile): use boost regex and get rid of LRegex and LSubstring
9861 * Makefile.am (BOOST_LIBS): new variable
9864 * LaTeX.C: change include order.
9865 (scanAuxFile): use boost regex and get rid of LRegex and
9869 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9874 * FontInfo.C: moved to frontends/xforms/
9877 * FontLoader.C: moved into frontends for GUIIzation
9882 * lyxfunc.C: changes from above
9884 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9886 * LColor.C: remove spurious X include
9888 * BufferView_pimpl.C:
9893 * text2.C: move font metrics to frontends/
9895 2002-05-24 Juergen Vigna <jug@sad.it>
9897 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9898 setting the undo_cursor.
9900 * ParagraphParameters.h: include local includes first.
9902 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9904 * BufferView_pimpl.C:
9905 * BufferView_pimpl.h:
9909 * screen.C: move WorkArea into frontends/
9915 * BufferView2.C: move LyXScreen into frontends/
9919 * lyx_gui.C: move lyxlookup into frontends/xforms/
9921 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9924 * BufferView_pimpl.C:
9934 * bufferview_funcs.C:
9947 * vc-backend.C: move LyX/XFormsView into frontends/
9949 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9961 * text2.C: move Painter to frontends/
9963 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * buffer.C: comment out some some code that depend upon lyx_format
9968 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9969 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9971 * buffer.h (NO_COMPABILITY): turn off compability
9973 * ColorHandler.C: include scoped_array.hpp
9975 * font.C: Use more specific smart_ptr header.
9978 * ShareContainer.h: ditto
9982 * BufferView_pimpl.h: ditto
9983 * ColorHandler.h: ditto
9985 * kbmap.C (defkey): change call to shared_ptr::reset
9987 2002-05-21 Juergen Vigna <jug@sad.it>
9989 * buffer.C (insertErtContents): fix to insert ert asis if it is
9990 non empty. Skip it completely if it contains only whitespaces.
9992 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9994 * BufferView_pimpl.C:
9995 * BufferView2.C: clear selection on paste (bug 393)
9997 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9999 * DepTable.C: include ctime
10001 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10003 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10005 2002-05-14 Juergen Vigna <jug@sad.it>
10007 * text.C (breakParagraph): fixed function to honor the keepempty
10008 layout in the right maner and also to permit the right breaking
10009 algorithm on empty or non empyt keepempty paragraphs.
10011 * paragraph.C (breakParagraph): we have to check also if the par
10012 is really empty (!size()) for isempty otherwise we do the wrong
10015 2002-05-10 Juergen Vigna <jug@sad.it>
10017 * buffer.[Ch] : The following are only changes to the ert
10018 compatibility read reading old LaTeX layout and font stuff and
10019 convert it to ERTInsets.
10021 * buffer.h: added isErtInset().
10023 * buffer.C (struct ErtComp): add a fromlayout bool to check
10024 if we're inside a LaTeX layout.
10025 (isErtInset): new helper function.
10026 (insertErtContents): look for other ert insets before this one
10027 and insert the contents there, so that we don't have subsequent
10028 ERT insets with nothing between them. This way we create only one
10029 inset with multiple paragraphs. Also check if we don't insert only
10030 spaces ' ' as they are ignored anyway afterwards in the .tex file
10031 so if we have only spaces we will ignore this latex part in the
10033 (parseSingleLyXformat2Token \\layout): better compatibility when
10034 reading layout-latex stuff.
10035 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10037 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10038 stuff after reading the inset only get the information back from
10041 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10043 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10045 * LaTeXFeatures.C (getBabelOptions): New method.
10047 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * BufferView_pimpl.C (Dispatch): work around missing argument for
10052 2002-05-08 Juergen Vigna <jug@sad.it>
10054 * text.C (leftMargin): handle paragraph leftindent.
10056 * paragraph.C (writeFile): write the new \\leftindent tag.
10057 (validate): handle leftindent code.
10058 (TeXEnvironment): handle paragraphleftindent code again.
10060 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10062 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10063 for paragrap_extra indent code and new token \\leftindent.
10064 (latexParagraphs): handle the leftindent as environment.
10066 * ParameterStruct.h: added leftindent support.
10068 * ParagraphParameters.C (leftIndent): added support functions for
10069 the paragraph left indent.
10071 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10074 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10076 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10079 * text.C (computeBidiTables): No bidi in insetERT.
10081 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10084 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10086 * version.C.in: pre 5
10088 2002-05-02 José Matos <jamatos@fep.up.pt>
10089 * buffer.C (makeDocBookFile): white space changes, add newline to
10091 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10093 * tabular.C (docBook): fix typo.
10095 2002-05-03 Juergen Vigna <jug@sad.it>
10097 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10098 change in LyXText as we can not be sure it was not freed.
10099 (drawOneRow): remove unused code.
10101 * text.C (drawInset): redo the calculation of the need_break_row as
10102 it could have a row which was already freed.
10103 (draw): look at the return value of drawInset and return false if
10104 it also returned false.
10105 (paintRowText): look at the return value of draw and return false if
10106 it also returned false.
10108 * lyxtext.h: added bool return type to drawInset() and draw() so that
10109 if we have a change in the row so that the rowbreak has to be redone
10110 we abort drawing as it will be called again.
10112 2002-05-02 Juergen Vigna <jug@sad.it>
10114 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10115 a change in the maintext also if we're inside an inset.
10116 (Dispatch): set the cursor again after a break line and after the
10117 screen has been updated as it could be we're in a different row.
10119 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10120 to set the cursor behind the pargraph with > size().
10121 (setCursor): check also for the same paragraph when checking where
10122 to put the cursor if we have a NFR inset.
10124 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10125 parts of layout read further up as it still was in the wrong
10128 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10130 * screen.C (drawFromTo): change sine fullRebreak always return
10133 * buffer.C (parseSingleLyXformat2Token): reindent some
10135 * BufferView_pimpl.C (update): change since fullRebreak always
10137 (Dispatch): git rid of the last hardcoded "Standard"s.
10139 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * text2.[Ch] (fullRebreak): make it return void now that we always
10144 2002-04-30 Juergen Vigna <jug@sad.it>
10146 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10147 ert compatibility check for "latex" layout.
10149 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10151 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10152 minipages: use col% instead of p%, and also use the current font.
10153 (makeLaTeXFile): Fix use babel condition.
10154 (parseSingleLyXformat2Token): Correct font when reading old floats.
10156 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10158 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10159 inserting list of floats.
10161 2002-04-25 Herbert Voss <voss@lyx.org>
10163 * MenuBackend.C (expand): don't add the graphics extensions to the
10166 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10169 non-existing layout, do not complain if it was the default layout
10170 of the original class (bug #342)
10172 2002-04-24 Juergen Vigna <jug@sad.it>
10174 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10175 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10177 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10179 * buffer.C (getBibkeyList): If using \bibliography, return the
10180 option field with the reference itself. Enables us to provide natbib
10181 support when using \bibliography.
10183 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10185 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10187 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10188 natbib is provided by the LaTeX class.
10190 2002-04-23 Juergen Vigna <jug@sad.it>
10192 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10195 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10197 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10201 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10202 ensuremath around textordmasculine, textordfeminine and
10205 2002-04-19 Juergen Vigna <jug@sad.it>
10207 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10208 reinitializing the buffer otherwise row-dimensions may be wrong.
10209 (update): reset also the selection cursors if they do exits otherwise
10210 their x/y positions may be wrong.
10212 * text2.C (cursorDown): don't enter the inset if we came from a row
10213 above and are one row over the inset.
10215 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10216 really leaving an inset.
10218 2002-04-18 Juergen Vigna <jug@sad.it>
10220 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10221 of the selected paragraph does not have the selected layout also if
10224 * text2.C (setLayout): fixed bug which did not change last selected
10227 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10228 changed the read and substituted \\end_float with \\end_inset!
10230 * BufferView_pimpl.C (cursorPrevious):
10231 (cursorNext): fixed to make it work with rows heigher than the work
10232 area without moving the cursor only the draw of the row.
10233 (workAreaMotionNotify): fix jumping over high rows.
10235 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10237 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10240 2002-04-16 Juergen Vigna <jug@sad.it>
10242 * text2.C (setCursor): set also the irow().
10243 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10245 (cursorDown): support for locking an inset if the x_fix value goes
10246 inside it. That way I can transverse insets too with cursor up/down.
10248 * lyxrow.h: added irow helper function same as other (i) functions.
10250 * BufferView_pimpl.C (cursorPrevious):
10251 (cursorNext): fixed for insets!
10253 2002-04-15 Juergen Vigna <jug@sad.it>
10255 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10256 position otherwise it is wrong in some cases.
10258 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10259 inside the inset before the call.
10261 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10263 * buffer.[Ch] (getBibkeyList): make it const.
10265 2002-04-12 Juergen Vigna <jug@sad.it>
10267 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10269 * text2.C (getCursorX): new helper function
10270 (setCursor): compute also ix_
10271 (setCursorFromCoordinates): set also ix.
10273 * lyxcursor.h: added ix_ and helper functions.
10275 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10277 * buffer.C (insertStringAsLines): dont break paragraph if the this
10278 paragraph is inside an inset which does not permit it!
10280 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10281 also with no chars on this paragraph.
10282 (paintRowText): only paint stuff if it's inside the workarea!
10284 * paragraph.C (breakParagraph): honor keepempty flag and break the
10285 paragraph always below not above.
10287 * BufferView2.C (unlockInset): update the paragraph layout on inset
10288 unlock as we changed paragraph in such a case.
10290 * lyxfind.C (LyXFind): clear the former selection if not found!
10292 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10293 again called in insertChar().
10295 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10296 an inset which uses the whole row!
10297 (rightMargin): ditto.
10298 (insertChar): force a rebreak if we inserted an inset!
10300 2002-03-28 Herbert Voss <voss@lyx.org>
10302 * lyxlength.[Ch]: add inBP() to get the right PS-point
10303 units (BigPoint). With inPixels we have rounding errors
10305 2002-04-11 Juergen Vigna <jug@sad.it>
10307 * text2.C (setCursorFromCoordinates): set iy to the right value.
10308 (setCursor): add check if row->previous exists!
10310 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10311 an old float_type as this was the case in the old code!
10313 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10315 * BufferView2.C (showLockedInsetCursor): use iy
10316 (fitLockedInsetCursor): ditto
10318 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10319 locked insets as there we have the right value now.
10321 * lyxcursor.C: added iy_ variable and iy functions to set to the
10322 baseline of cursor-y of the locked inset.
10324 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10325 (setCursor): fixed for insets which need a full row.
10327 * text.C (rowLastPrintable): don't ignore the last space when before
10328 an inset which needs a full row.
10329 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10330 as last character of a row when before a inset which needs a full row.
10332 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10334 * version.C.in: update date
10336 * text2.C (fullRebreak): try to always return true and see what
10339 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * MenuBackend.C (expand): use Floating::listName
10343 * FloatList.C (FloatList): add listName argument to the built-in
10346 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10347 text associated with the float.
10349 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10351 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10353 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * ShareContainer.h: add a couple of missing typenames.
10357 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10359 * lyxrc.C (getDescription): use _() correctly rather than N_().
10361 2002-03-28 Herbert Voss <voss@lyx.org>
10363 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10364 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10366 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10368 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10369 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10371 2002-03-29 Juergen Vigna <jug@sad.it>
10373 * lyxfunc.C (dispatch): add a missing fitCursor call.
10375 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10376 it was scrolled by a cursor move, so return the bool status.
10378 * BufferView.C (fitCursor): return the bool flag also to the outside
10379 world as this is needed.
10381 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10383 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10384 call the edit() as it is not needed (and wrong) IMO.
10385 (workAreaButtonPress): set the screen_first variable before evt.
10386 unlock the inset as this may change screen_first and then we have
10387 a wrong y position for the click!
10389 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10391 * MenuBackend.C (expand): another translation that I missed
10393 2002-03-28 Juergen Vigna <jug@sad.it>
10395 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10397 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10399 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10401 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10403 * MenuBackend.C (expand): fix export/view/update when there is no
10406 2002-03-27 Herbert Voss <voss@lyx.org>
10408 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10411 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10413 * bufferview_funcs.C (currentState): only show paragraph number
10414 for is DEVEL_VERSION is set.
10416 * lyxfunc.C (dispatch): put warning in INFO channel
10418 * MenuBackend.C (expand): translate the name of floats
10420 * FloatList.C (FloatList): mark the float names for translation
10422 * converter.C (convert): use LibScriptSearch
10424 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * MenuBackend.C (defaults): fix default menu (we might as well get
10429 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10434 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10436 * lyxvc.C: reorder includes.
10438 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10440 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10443 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10445 * CutAndPaste.C: change layouts earlier on paste
10446 to avoid crashing when calling getFont()
10448 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10450 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10453 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * WorkArea.C: remove 'Pending' debug message.
10457 * most files: ws cleanup
10459 * buffer.[Ch]: ws changes
10461 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10463 2002-03-21 Juergen Vigna <jug@sad.it>
10465 * tabular.C (SetMultiColumn): collapse also the contents of the
10466 cells and set the last border right. Added a Buffer const * param.
10468 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10473 2002-03-19 Juergen Vigna <jug@sad.it>
10475 * text2.C (clearSelection): reset also xsel_cache.
10477 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10478 where it needs to be called (John tells us to do so too :)
10479 (selectionLost): reset sel_cache.
10481 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10483 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * text2.C (setCursorIntern): put debuging code in INSETS channel
10487 2002-03-19 André Pönitz <poenitz@gmx.net>
10489 * lyxfunc.C: tiny whitespace change
10491 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10493 * ToolbarDefaults.C (init):
10494 * LyXAction.C (init):
10496 * BufferView_pimpl.C (Dispatch):
10497 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10499 2002-03-19 Allan Rae <rae@lyx.org>
10501 * exporter.C (Export): removeAutoInsets before doing anything else.
10502 While I've just introduced a dependency on BufferView this really is
10503 the best place to clean the buffer otherwise you need to cleanup in
10504 a dozen places before calling export or cleanup in a dozen functions
10507 * converter.C (runLaTeX):
10508 (scanLog): Better handling of removeAutoInsets and screen updates.
10510 * lyxfunc.C (dispatch): small whitespace changes
10512 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * WorkArea.C (C_WorkAreaEvent): return a value.
10515 (event_cb): return 1 if we handled the event, 0 otherwise.
10517 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10519 2002-03-18 Juergen Vigna <jug@sad.it>
10521 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10522 (GetAdditionalWidth): ditto.
10523 (RightLine): ditto.
10526 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10527 inset if we're there actually (probably not used right now but this
10528 is the direction to go for unifying code).
10529 (paste): disable code to clear the selection.
10531 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10532 inside an InsetText and move the check further up as it is in the
10535 * text2.C (pasteSelection): set a selection over the pasted text.
10537 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10539 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10540 and libgraphics to build on Cygwin.
10542 2002-03-15 Juergen Vigna <jug@sad.it>
10544 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10545 inserting an Inset into the paragraph. I know this is not the best
10546 fix but we already use current_view in CutAndPaste so we will remove
10547 all of it's using at the same time.
10549 * buffer.C (sgmlError): deactivated function till it is rewritten in
10550 the right mode, now it can create problems.
10552 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10553 before accessing it.
10555 2002-03-14 Juergen Vigna <jug@sad.it>
10557 * undo_funcs.C (textHandleUndo): do the right thing when updating
10558 the inset after the undo/redo.
10560 * text2.C (setCursor): just some testcode for #44 not ready yet.
10562 * undo_funcs.C (textHandleUndo): set the next() and previous()
10563 pointers of the paragraph to 0 before deleting otherwise we have
10564 problems with the Paragraph::[destructor].
10566 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10567 on a paragraph insertion.
10569 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10571 * buffer.C (asciiParagraph): use += operator for char append to
10574 * paragraph.C (getFontSettings): compare >= not just >
10575 (highestFontInRange): ditto
10578 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10580 * paragraph.C: change several algorithm to be more appripriate for
10581 the problem domain. This is lookip in FontList and in the InsetList.
10583 2002-03-13 André Pönitz <poenitz@gmx.net>
10586 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10588 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10593 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10595 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10597 * Painter.C (display): anon helper function, adjust code for this
10599 (pixmap): remove function.
10601 * Painter.h: remove private display variable.
10603 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10605 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10607 * WorkArea.[Ch]: remove figinset_canvas cruft.
10609 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * lyxtextclass.C (operator): add one item cache optimization.
10613 * bufferlist.h: doxy changes
10615 * bufferlist.C: ws changes
10617 * DepTable.[Ch] (ext_exist): place const in the right spot.
10619 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10621 (workAreaExpose): call resizeInsets when the with BufferView changes.
10622 (Dispatch): adjust for protectedBlank removal
10623 (specialChar): call updateInset if the insert went ok.
10625 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10626 specialChar instead.
10628 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10630 * BufferView.h: doxy change
10632 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10634 * lyxtextclass.C (operator[]): remove non-const version
10635 (defaultLayout): remove non-const version
10637 2002-03-12 Juergen Vigna <jug@sad.it>
10639 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10640 did resize the LyXText too.
10642 * buffer.C (readLyXformat2): set layout information on newly allocated
10645 * tabular.C (OldFormatRead): set layout information on the paragraph.
10647 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10649 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10651 2002-03-11 Juergen Vigna <jug@sad.it>
10653 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10655 (resizeCurrentBuffer): force also the insets to resize themselfes.
10656 (moveCursorUpdate): fixed up for InsetText.
10658 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10661 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10662 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10663 value of Dialogs::tooltipsEnabled().
10664 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10666 2002-03-08 Juergen Vigna <jug@sad.it>
10668 * BufferView_pimpl.C (updateInset): update inset inside inset also
10669 if it isn't inside theLockingInset().
10671 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10673 * buffer.C (asciiParagraph): redo some of the word and line length
10675 (getLists): look for Caption instead of caption.
10677 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10679 * buffer.C (Buffer): initialize niceFile to true
10681 (makeLinuxDocFile):
10682 (makeDocBookFile): make sure niceFile is true on exit
10684 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10688 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10690 * LyXSendto.C: remove.
10691 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10692 * lyx_gui.C: remove now-redundant comment.
10693 * ColorHandler.h: remove forward declaration of class WorkArea.
10694 * lyxfunc.C: remove #include "WorkArea.h".
10696 2002-03-07 Juergen Vigna <jug@sad.it>
10698 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10699 got moved away with the DEPM and also set the inset_owner always
10700 right which before could have been omitted.
10702 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10705 wanted layout is not found.
10707 2002-03-07 Juergen Vigna <jug@sad.it>
10709 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10711 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10713 * paragraph.C (breakParagraph): use default layout not layout of
10715 (Paragraph): clear ParagraphParameters.
10717 2002-03-06 Juergen Vigna <jug@sad.it>
10719 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10720 otherwise it would not be a valid lenght. Fixed a special case in
10721 the minipage compatibility read where we end the document with a
10724 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10725 was set as it could be 0 for InsetTexts first entry.
10727 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * paragraph.C (writeFile): if layout is empty write out
10730 defaultLayoutName().
10732 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10733 file without named layout we set layout to defaultLayoutName().
10735 2002-03-06 Juergen Vigna <jug@sad.it>
10737 * CutAndPaste.C (copySelection): set layout for new paragraph.
10739 * text.C (prepareToPrint): leave ERT inset left aligned
10740 (leftMargin): don't indent paragraphs inside ERT insets
10742 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10744 * paragraph.C (breakParagraph): dont call clear do the work manually
10746 * paragraph.[Ch] (clear): remove function
10748 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10750 * paragraph.C (Paragraph): dont call clear, the work has already
10753 * lyxtextclass.C (operator): assert if n is empty
10755 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10756 work manually instead.
10758 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10760 * BufferView_pimpl.C: protect selectionLost against text == 0
10762 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10764 * text.C (breakParagraph): fix a setting layout to '0' problem.
10766 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10768 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10769 final location of file, for the included files, and graphics.
10771 2002-03-05 Juergen Vigna <jug@sad.it>
10773 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10775 2002-03-04 Juergen Vigna <jug@sad.it>
10777 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10779 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10780 last column of multicolumn cells.
10781 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10783 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10785 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10786 file if it doesn't go to a temporary file.
10788 * buffer.C (sgmlOpenTag):
10789 (sgmlCloseTag): remove extra newline insertion.
10791 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * text.C (getRowNearY): comment out debug msg
10795 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * text2.C: first -> first_y
10799 * text.C (getRowNearY): add some attemts at a possible
10800 optimization, not working.
10802 * tabular.[Ch]: add BufferParams to several function so that newly
10803 created paragraph can be initialized to he default layotu for the
10806 * tabular-old.C (ReadOld): add buf->params to call of Init
10808 * screen.C: rename text->first to text->first_y
10810 * paragraph.C (breakParagraph): always set layout in the broken
10813 * lyxtextclass.C (Read): remove lowercase
10816 (delete_layout): ditto
10818 * lyxtext.h: rename first -> first_y
10820 * lyxlayout.C (Read): remove lowercase
10823 (obsoleted_by): ditto
10825 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10827 * buffer.C (insertErtContents): add params are to InsetERT
10828 (parseSingleLyXformat2Token): add code to check if a paragraphs
10829 layout really exist.
10830 (parseSingleLyXformat2Token): add params to several inset
10832 (asciiParagraph): remove lowercase, do the layout comparisons with
10835 * BufferView_pimpl.C (cursorNext): first -> first_y
10836 (resizeCurrentBuffer): first -> first_y
10837 (updateScrollbar): first -> first_y
10838 (scrollCB): first -> first_y
10839 (workAreaMotionNotify): first -> first_y
10840 (workAreaButtonPress): first -> first_y
10841 (checkInsetHit): first -> first_y
10842 (cursorPrevious): first -> first_y
10843 (cursorNext): first -> first_y
10844 (Dispatch): add buffer_->params to severl inset contructors
10846 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10848 * lyxlayout.C (Read): remove some debug info that I forgot.
10850 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10851 clean up the code slightly.
10852 (makeLinuxDocFile): ditto
10853 (makeDocBookFile): ditto
10855 * text2.C: layout as string
10857 * text.C: layout as string
10859 * paragraph_pimpl.C: layout as string
10861 * paragraph.[Ch]: layout as string
10863 * lyxtextclasslist.[Ch]: layout as string
10865 * lyxtextclass.[Ch]: layout as string
10867 * lyxtext.h: layout as string
10869 * lyxlayout.[Ch]: layout as string
10871 * lyx_cb.C: layout as string
10873 * bufferview_funcs.C: layout as string
10875 * bufferparams.C: layout as string
10877 * buffer.C: layout as string
10879 * LyXView.[Ch]: layout as string
10881 * LaTeXFeatures.[Ch]: layout as string
10883 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10885 * BufferView_pimpl.C: change current_layout to string, remove
10890 (workAreaButtonRelease): layout as string
10892 * BufferView2.C (unlockInset): adjust
10894 * vspace.C (asLatexCommand): use an explict temp variable.
10896 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10898 * Makefile.am: use FRONTEND_*
10900 2002-03-01 Juergen Vigna <jug@sad.it>
10902 * tabular.C (SetWidthOfMulticolCell): changed to something better
10903 I hope but still work in progress.
10904 (recalculateMulticolumnsOfColumn): renamed function from
10905 recalculateMulticolCells as it is more appropriate now.
10906 (SetWidthOfCell): calculate multicols better.
10908 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10912 * lyxfunc.C (processKeySym): print sequence also if it is
10913 `deleted' (complete)
10915 * kbsequence.C (print): print sequence even if it is deleted
10916 (complete would be a better word, actually).
10918 * lyxfunc.C (dispatch): print complete options after a prefix key
10920 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10922 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10924 * text2.C (setCharFont): eliminate setCharFont code duplication.
10926 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10928 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10929 LFUN_TABULAR_FEATURE (bug #177)
10931 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10933 * Makefile.am: remove figure.h
10935 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10937 * Bufferview_pimpl.C:
10949 * text2.C: remove #include "lyx_gui_misc.h".
10951 * LaTeX.C: added #include <cstdio>
10953 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10955 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10956 that the paragraph following this one can have.
10958 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10960 * vspace.C (asLatexCommand): fix bogus gcc warning
10962 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10964 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10966 * text2.C (setLayout): get rid of redundant code
10968 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10970 * text2.C (incDepth): make sure depth cannot be increased beyond
10973 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10975 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10976 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10978 * PainterBase.h (image):
10979 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10980 a LyXImage const *.
10982 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10986 * BufferView_pimpl.C:
10987 * BufferView_pimpl.h:
11007 * sp_spell.C: remove fig inset, and the crap house of
11008 cards that follows it
11010 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11015 * os2_errortable.h:
11016 * nt_defines.h: move .h into support/
11018 * vms_defines.h: remove
11020 * WorkArea.C: add space in debug output
11024 * buffer.C: add WITH_WARNINGS
11028 * bufferlist.C: s/retrive/retrieve/, add docs
11037 * chset.C: add docs
11039 * lyxgui.C: add ID to X error handler
11041 * lyxtestclass.c: fix typo
11043 2002-02-26 Juergen Vigna <jug@sad.it>
11045 * tabular_funcs.C (write_attribute): changed so that some default
11046 attributes are not written at all.
11047 (getTokenValue): set default values before trying to read the
11048 value so we have the return value always set as default if we don't
11049 find the token we search for.
11051 * tabular.C (Write): write bools as bools not as strings!
11053 2002-02-22 Juergen Vigna <jug@sad.it>
11055 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11056 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11058 * text.C (leftMargin): don't add an indent for paragraphs inside
11059 tabular cells (fix #208).
11061 2002-02-21 José Matos <jamatos@fep.up.pt>
11063 * tabular.C (docBook): fixed support for long tables.
11065 2002-02-20 Juergen Vigna <jug@sad.it>
11067 * text2.C (getFont): get the drawing font of the Inset if this
11068 paragraph is inside an inset (only important for InsetERT for now).
11070 * buffer.C (insertErtContents): use new lanugage params in ERT
11073 * CutAndPaste.C: commenting out seemingly uneeded code.
11075 2002-02-19 Allan Rae <rae@lyx.org>
11077 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11078 Iterators might be simple to use but they also get invalidated.
11079 (removeAutoInsets): renamed saved cursor tracking variables and added
11080 some comments to clarify what everything does.
11082 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11089 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11090 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11093 * vc-backend.h: remove #include "support/syscall.h"
11097 * converter.C: rearrange #includes in Lars' approved fashion.
11099 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11100 forward declare class Timeout in the header file.
11102 * XFormsView.C: changes due to the above.
11104 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11105 similar to LyXView.
11107 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11108 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11110 2002-02-18 José Matos <jamatos@fep.up.pt>
11112 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11115 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11117 * a lot of small ws changes
11118 * add a lot of using std::XXX
11119 * use std construcs some places where approp.
11120 * use some exisint stuff from lyxfunctional where approp.
11121 * Make file changes to use partial linking (lets test this now...)
11123 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11127 remove #include "support/syscontr.h" as it's redundant. Always has been.
11135 change Systemcalls::System to Systemcalls::Wait and
11136 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11137 No change of functionality, just reflects the stripped down Systemcalls
11140 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11142 * debug.[Ch]: add a GRAPHICS type to the enum.
11144 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11146 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11148 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11151 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11154 match the changes below.
11156 * text2.C (toggleInset): if there is not editable inset at cursor
11157 position, try to see if cursor is _inside_ a collapsable inset
11160 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11162 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11163 document menu has a nice checkbox
11165 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11167 * lyxlength.C (asLatexString): change PW to output as percent of
11170 * lengthcommon.C: change '%' to 't%'
11172 * lyxfunc.C (dispatch): a few comments from Martin
11174 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11178 * BufferView_pimpl.h:
11179 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11182 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * vspace.C (inPixels): fix compiler warning
11186 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11188 * lyxfunc.C (getStatus): fix status message for disabled commands.
11190 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11192 * BufferView_pimpl.C: fix crash on close buffer
11193 during selection (#227)
11195 2002-01-27 Herbert Voss <voss@lyx.org>
11197 * buffer.C: link old Figure to new graphic inset
11199 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11201 * FontLoader.C (getFontinfo): Change the latex font names in order
11202 to match the names of type1inst.
11204 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11208 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11209 (extchanged): ditto
11211 (remove_files_with_extension): ditto
11212 (remove_file): ditto
11215 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11216 document is smaller than the work area height. Do not initialize
11217 static variables to 0.
11219 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11221 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11223 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11224 LFUN_LAYOUT_PARAGRAPHS.
11226 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11227 tabular. It is possible to provide a possible cell, which will
11228 typically be the actcell from the corresponding insettabular
11230 * lyxfunc.C (getStatus): small cleanup; disable
11231 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11234 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11236 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11238 * paragraph.C (startTeXParParams):
11239 (endTeXParParams): new methods. The LaTeX code to
11240 start/end paragraph formatting
11241 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11242 empty (fixes bug #200)
11244 * vspace.C (inPixels): adapt to the change below
11245 (inPixels): [later] more cleanups (remove unused variables)
11247 * lyxlength.C (inPixels): change to use a width and a height as
11250 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11252 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11253 Replaced with \paperwidth
11255 * DepTable.C (insert): add std:: qualifier
11257 2002-01-18 Allan Rae <rae@lyx.org>
11259 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11262 * text.C (drawInset): Turned out I didn't know enough about how
11263 rebreaking worked. This fixes most of the redraw problems. I see
11264 an occasional cursor trail when a line is broken now and the cursor
11265 placement can seem out by a few pixels also after a rebreak.
11267 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11269 * buffer.C (parseSingleLyXformat2Token): update because minipage
11270 width is now a LyXLength
11272 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11274 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11277 2002-01-17 Juergen Vigna <jug@sad.it>
11279 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11281 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11282 is set correctly and the inset is updated correctly.
11284 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11287 the beginning of the loop.
11289 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11291 * lyxrc.C: improve help for use_scalable_fonts
11293 2002-01-17 Allan Rae <rae@lyx.org>
11295 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11297 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11300 make sure to set their inset_owner to the right value (bug #171)
11302 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11305 * DepTable.C: Implement mtime checking to reduce time spent doing
11308 2002-01-16 Juergen Vigna <jug@sad.it>
11310 * tabular.C (GetAdditionalHeight): one of error fixed.
11312 * lyxrc.C (output): small fix in writing use_pspell.
11314 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11316 * sp_base.h: #include LString.h
11318 2002-01-16 Allan Rae <rae@lyx.org>
11320 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11321 Can someone check this please?
11323 * text.C (drawInset): It was possible that p.row would be removed by
11324 breakAgainOneRow upsetting a few other settings. There may be another
11325 small tweak possible by setting need_break_row = 0 when p.row has been
11326 removed but I don't know enough about the logic here.
11328 2002-01-15 Allan Rae <rae@lyx.org>
11330 * text.C (insertChar): removed conditional truism.
11332 * BufferView2.C (removeAutoInsets): More tweaks.
11333 cur_par_prev could be a stray pointer. Check for trailing empty line
11334 in case last line was cur_par and only had an error inset on it.
11336 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11338 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11341 * vc-backend.C (most methods):
11342 * exporter.C (Export):
11343 * converter.C (convert):
11345 * LyXSendto.C (SendtoApplyCB):
11346 * lyxfunc.C (dispatch):
11350 * lyx_cb.C (AutoSave):
11352 * BufferView_pimpl.C (MenuInsertLyXFile):
11353 * buffer.C (runChktex): use Buffer::filePath().
11355 * buffer.h: rename filename to filename_; rename filepath to
11356 filepath_ and make it private
11357 (filePath): new method
11359 * buffer.C (writeFile): use fileName()
11362 * lyx_main.C (init): fix starting of LyX when the binary is a
11363 link from so,ewhere else.
11365 * minibuffer.C: include <cctype> for isprint
11367 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11369 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11370 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11371 name clash with InsetCollapsable's width function.
11373 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * lastfiles.C: include <iterator>
11377 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11379 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11382 * buffer.C (makeLaTeXFile): ditto.
11383 Also make loop operation more transparent.
11385 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11387 * ToolbarDefaults.C: remove trailing comma closing namespace.
11389 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11391 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11394 * trans.C (Load): comment out unused variable, allowed.
11396 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11398 * minibuffer.[Ch] (append_char): new method to recieve input from the
11399 drop-down completion browser. If a key was pressed, then recieve this
11400 char and append it to the existing string.
11401 (peek_event): modify the positioning data passed to the completion
11402 browser so that it can be placed above the minibuffer rather than below.
11403 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11405 * LyXAction.C (init): alloe error-next for readonly documents.
11407 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11410 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * bufferlist.C (readFile): create the buffer _after_ checking that
11415 * lyxfunc.C (verboseDispatch): fix handling of arguments
11417 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11419 * lyxrc.C: use string::erase() instead of initializing to "".
11422 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11424 * BufferView_pimpl.h:
11425 * BufferView_pimpl.C:
11428 * text2.C: tell X when we have made a selection for copying
11430 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11432 * BufferView_pimpl.C (MenuInsertLyXFile):
11433 * lyxfunc.C (menuNew):
11435 (doImport): add shortcuts to directory buttons
11437 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11440 * lyxfunc.C (setStatusMessage):
11441 (getStatusMessage): new methods
11442 (getStatus):use setStatusMessage instead of setErrorMessage
11443 (dispatch): when function is disabled, set error message here
11444 [instead of in getStatus previously]
11446 * BufferView_pimpl.C (workAreaButtonRelease): update
11447 toolbar/menubar here too.
11449 2002-01-13 Allan Rae <rae@lyx.org>
11451 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11452 Now seems indestructible. Remaining task is to audit all other
11453 code affected by deleteEmptyParagraphMechanism. One small quirk
11454 left is that an empty document with an error in the preamble can
11455 be made to report an error but no error box appears. I don't know
11457 (removeAutoInsets): Improved comments.
11459 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11462 * Thesaurus.C: update for Aiksaurus 0.14
11464 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11466 * text2.C (firstParagraph): removed member function, all uses
11467 replaces with ownerParagraph
11468 (redoParagraphs): here
11469 (updateInset): here
11470 (toggleAppendix): here
11471 * BufferView2.C (insertErrors): here
11472 (setCursorFromRow): here
11474 2002-01-13 Allan Rae <rae@lyx.org>
11476 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11477 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11478 There is still a way to segfault this although you may have to do this
11479 multiple times: Have an InsetERT with an unknown command in it.
11480 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11481 <down-arrow>, <Enter> again, View->DVI, BANG!
11483 * text2.C (setCursor):
11484 (deleteEmptyParagraphMechanism):
11485 * lyxtext.h (setCursor):
11486 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11487 Making use of the return value may help fix other bugs.
11489 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11493 * LyXView.C (updateMenubar): call MenuBar::update here
11494 (updateToolbar): but not here
11495 (showState): do not update toolbar/menubar
11497 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11498 should need to care about that.
11500 * lyxfunc.C (verboseDispatch): simplify a bit
11501 (getStatus): have a version which takes a pseudoaction, and
11502 another which requires a (kb_action,string).
11504 * LyXAction.C (retrieveActionArg): make it work also when action
11505 is not a pseudo-action.
11506 (getActionName): simplify a bit
11509 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11511 * lyxfunc.C (verboseDispatch): new families of methods with
11512 several ways to specify a command and a bool to indicate whether
11513 the command name and shortcut should be displayed in minibuffer
11514 (eventually, we could extend that to a finer bitmask like
11515 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11516 (dispatch): the pristine dispatch command which just, well,
11517 dispatchs! Note it still sets its result to minibuffer; I'm not
11520 * lyxfunc.h: remove setHintMessage
11522 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11524 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * BufferView_pimpl.C (specialChar): delete new inset if we have
11527 not been able to insert it.
11529 * kbmap.C: revert to using int instead of kb_action, since all we
11530 are dealing with is pseudo-actions.
11532 * LyXAction.C (searchActionArg): change to return int instead of
11533 kb_action, since the result is a pseudoaction.
11535 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11537 * buffer.C (insertErtContents): Fix (partially) the font bug.
11539 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11541 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11542 as the other one is broken on my machine!
11544 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11547 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11549 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11551 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11552 reflect their actual use. Provide compatibility code for older lyxrc
11555 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11557 change names of popup font variables in line with the changes to lyxrc.C
11559 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * buffer.C (asciiParagraph): avoid outputing a word twice after
11564 * lyxrc.C (getDescription): document that document_path and
11565 template_path can be empty.
11567 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11569 * LaTeXFeatures.C (getMacros):
11570 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11572 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11574 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11576 (getPackages): rename feature "floats" to "float". Use an array to
11577 iterate over 'simple' features (i.e. just a \usepackage). Add
11578 handling of "amsmath" (renamed from "amsstyle").
11580 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11582 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11585 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11587 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11588 FuncStaus::FuncStatus & FuncStaus::some_method().
11590 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11592 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11593 of the func_satus stuff. Edited and massaged in various ways by
11596 * lyxfunc.C (getStatus): use FuncStatus
11598 2002-01-08 Juergen Vigna <jug@sad.it>
11600 * text.C (nextBreakPoint): use function Inset::isChar().
11602 * paragraph.C (TeXOnePar): use function
11603 Inset::forceDefaultParagraphs.
11605 * buffer.C (latexParagraphs): use function
11606 Inset::forceDefaultParagraphs.
11608 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11610 * lyx_gui.C (init): set the style of the menu popups to
11611 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11613 2002-01-07 Juergen Vigna <jug@sad.it>
11615 * text.C (setHeightOfRow): small fix
11616 (prepareToPrint): don't look at alignment if we don't have the place
11619 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11621 * box.C: New file. Move the Box methods and functions out of box.h,
11622 following Lars' suggestion.
11624 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11626 * box.h: #include "support/LOstream.h", needed for inlined function.
11629 * lyxtextclasslist.C: added some using std declarations.
11631 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11633 * box.h: make signed dimensions to allow insets wider than
11634 the screen (bug #162)
11636 * BufferView_pimpl.C: add some insetHit debug
11638 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11640 * vc-backend.C: add FIXME
11642 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * lyxfunc.C (getStatus): enable code for showing math font status
11647 2002-01-07 Juergen Vigna <jug@sad.it>
11649 * text.C (nextBreakPoint): removed debug output not needed anymore.
11651 2002-01-06 Juergen Vigna <jug@sad.it>
11653 * text.C (nextBreakPoint): fixed up this function we had this bug
11654 since ever but now hopefully we break row better.
11655 (insertChar): we have to check if an inset is the next char as it
11656 could now happen that a large inset is causing a break.
11658 2002-01-05 Juergen Vigna <jug@sad.it>
11660 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11661 if it doesn't like to be drawed.
11663 2002-01-04 Juergen Vigna <jug@sad.it>
11665 * BufferView2.C (lockInset): forgot to set a cursor.
11667 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11669 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11671 * FormMathsPanel.C:
11674 * form_maths_panel.C:
11675 * form_maths_panel.h:
11676 * form_maths_panel.fd: implemented sub- and super- buttons in math
11679 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11680 (or ^ space) to be used as in TeX (req'd by André).
11682 * lyxfunc.C: Allow ^ and _ again to be used both as
11683 super/subscript (mathed) and as themselves (in text).
11685 2002-01-03 Allan Rae <rae@lyx.org>
11687 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11688 "LyX" or the filename of the current buffer if it has one. This is a
11689 modified form of John Levon's patch.
11691 * XFormsView.C (setWindowTitle): also set icon title.
11693 * LyXView.h (setWindowTitle): signature changed.
11694 * XFormsView.h (setWindowTitle): ditto.
11696 2002-01-02 Juergen Vigna <jug@sad.it>
11698 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11700 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * screen.C (topCursorVisible): introduce a temp var for
11703 text->cursor.row(), handle the case where this row is null. (kindo
11706 * text2.C (setCursor): add a couple of asserts.
11708 * paragraph.h (inset_iterator): add -> operator
11710 * paragraph.[Ch] (autoDeleteInsets): remove member function
11712 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11713 cursor pos correctly and handle inset deletion by itself.
11714 (insertErrors): move iterator declaration out of for expression
11716 * lyxtextclass.C: add <algorithm>
11718 * Makefile.am: added the new files to sources, removed layout.C
11720 * layout.C: removed file
11722 * layout.h: remove LYX_DUMMY_LAYOUT
11724 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11728 * lyxtextclass.[Ch]:
11729 * lyxtextclasslist.[Ch]: new files
11731 * include order changes to a lot of files, also changes because of
11734 2001-12-27 Juergen Vigna <jug@sad.it>
11736 * buffer.C (asciiParagraph): more fixes.
11738 * tabular.C (ascii): make ascii export support export of only the
11739 data separated by a column-delimiter.
11740 (ascii): better support for ascii export.
11742 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11744 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11746 * tabular_funcs.C: use a "using std::getline" instead of the
11747 previous fix from Angus (necessary for cxx + lyxstring)
11749 2001-12-24 Juergen Vigna <jug@sad.it>
11751 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11753 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11754 problems. First check a minipage also if we have some ert-contents
11755 (not only on par->size(), second set the right depth of the paragraph
11756 on the relink to the root-paragraph-list!
11758 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11759 which then did not anymore update the main paragraphs on undo/redo!
11761 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11764 code. Support all font-changing funcs (even those which are not in
11765 menu currently). Support for reporting font settings in
11766 mathed (disabled until Andre provides a function on mathed's side).
11768 * func_status.h (toggle): small helper function to set toggle
11771 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11773 * tabular_funcs.C: getline -> std::getline
11775 2001-12-21 Juergen Vigna <jug@sad.it>
11777 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11778 accessed and could be 0 (I couldn't generate this but it seems
11781 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11783 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11784 * tabular_funcs.h: here and include iosfwd
11786 2001-12-20 Juergen Vigna <jug@sad.it>
11788 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11789 inside inset but undo_par was.
11791 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * Thesaurus.C: always include <config.h> in sources.
11797 * box.h: do not include <config.h> in header files
11799 * text.C (paintLastRow): remove unused variable
11801 * text.C (transformChar):
11803 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11805 * Painter.C (text):
11806 * font.C (width): rewrite to use uppercase() instead of
11809 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11811 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11813 * lyxfind.C: clean up of find failure position change
11815 2001-12-20 Juergen Vigna <jug@sad.it>
11817 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11819 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11820 (TeXRow): added to LaTeX a single tabular row.
11821 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11822 (Latex): simplified and finally good LT-h/f support.
11823 (various_functions): just small adaptions for LT-h/f support.
11825 * tabular_funcs.[hC]: added and moved here all not classfunctions
11828 2001-12-19 Juergen Vigna <jug@sad.it>
11830 * tabular.[Ch]: better support for longtabular options (not finished
11833 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * text.C (paintLastRow): use the label font instead of the font of
11836 the last character to compute the size of *_BOX. This makes more
11837 sense and avoids a crash with empty paragraphs.
11838 Use Painter::rectangle to draw EMPTY_BOX.
11840 2001-12-19 Juergen Vigna <jug@sad.it>
11842 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11843 the paragraphs if the replaced paragraph is not the first one!
11844 Tried to delete not used paragraphs but does not work yet so for
11845 now it's inside #ifdef's and by default off!
11847 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11849 * MenuBackend.C: include "lyx_main.h" instead of declaring
11850 lastfiles (actually was declared as LastFiles* instead of a
11853 2001-12-17 Juergen Vigna <jug@sad.it>
11855 * tabular.C (AppendColumn): applied John's fix
11857 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11861 * BufferView_pimpl.h:
11862 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11865 * box.h: new start of class for above
11867 * lyxfunc.C: ignore space-only minibuffer dispatches.
11868 Show the command name when it doesn't exist
11870 * minibuffer.C: don't add empty lines to the history
11872 * minibuffer.C: add a space on dropdown completion
11874 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11876 * text.C: fix line above/below drawing in insets
11878 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * lyxlength.C (LyXLength): Initialize private variables.
11882 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11884 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11885 when inserting error insets.
11887 2001-12-13 Juergen Vigna <jug@sad.it>
11889 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11890 actually sometimes the before-paragraph.
11891 (setUndo): don't clear the redostack if we're not actually undoing!
11893 2001-12-06 Juergen Vigna <jug@sad.it>
11895 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11896 and fixed redoing of main paragraph, so we can use it now ;)
11898 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11900 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11905 2001-12-13 André Pönitz <poenitz@gmx.net>
11908 * undo_func.C: minor cleanup
11910 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11913 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11914 font in urw-fonts package which is marked as -urw-fontspecific and
11915 does not work (incidentally, changing the encoding in the
11916 fonts.dir of this package to -adobe-fontspecific fixes the
11919 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11920 is a crash when undoing first paragraph (Juergen, please take a
11921 look). THis does not mean the undo fix is wrong, just that it
11924 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11925 the (Paragraph*) version when needed instead of duplicating the
11928 * text.C (workWidth): use Inset::parOwner to find out where the
11929 inset has been inserted. This is a huge performance gain for large
11930 documents with lots of insets. If Inset::parOwner is not set, fall
11931 back on the brute force method
11933 * paragraph_pimpl.C (insertInset):
11934 * paragraph.C (Paragraph):
11935 (cutIntoMinibuffer): set parOwner of insets when
11936 inserting/removing them
11938 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11940 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11946 * mathed/formulabase.C:
11947 * mathed/math_cursor.[Ch]:
11948 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11951 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * lyxlength.[Ch] (operator!=): new function
11955 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11957 * text.C (workWidth): use Inset::parOwner to find out where the
11958 inset has been inserted. This is a huge performance gain for large
11959 documents with lots of insets. If Inset::parOwner is not set, fall
11960 back on the brute force method
11962 * paragraph_pimpl.C (insertInset):
11963 * paragraph.C (Paragraph):
11964 (cutIntoMinibuffer): set parOwner of insets when
11965 inserting/removing them
11967 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11969 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * tabular-old.C (getTokenValue):
11972 * tabular.C (getTokenValue):
11973 (write_attribute): new versions for LyXLength
11974 (everywhere): adjust the use of widths
11976 * tabular.h: change the type of widths from string to LyXLength
11978 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11980 * paragraph.C: fixed missing line number count when exporting
11981 Environments to LaTeX file
11983 * buffer.C: added informational message for checking line numbers.
11985 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11987 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11988 paragraph, do the 'double space' part, but not the 'empty
11991 * text.C (workWidth): small optimization
11992 (getLengthMarkerHeight): use minimal size for negative lengths.
11994 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11996 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11998 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12000 2001-12-11 André Pönitz <poenitz@gmx.net>
12003 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12005 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12007 * text2.C: keep selection on a setFont()
12009 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12011 * lyx_cb.C: another bv->text misuse, from insert label
12013 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12016 * kbsequence.C: re-instate nmodifier mask
12018 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12020 * lyx_main.h: make lyxGUI private.
12022 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12024 * lyxfind.C: place the cursor correctly on failed search
12026 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * text.C (getLengthMarkerHeight): for small heights, the arrows
12029 are not always on top/bottom of the text
12030 (drawLengthMarker): smaller arrows; take the left margin in
12031 account; draw also vfills.
12033 (paintLastRow): remove special code for vfill and standard spaces,
12034 since everything is handled in drawLengthMarker now.
12036 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * buffer.C (insertErtContents): try to handle font and language
12039 interaction a bit better.g
12041 * ColorHandler.C (updateColor): change the hash to cover the whole
12042 LColor enum, ws cleanup
12043 (getGCLinepars): ditto
12044 (getGCLinepars): only lookup in the linecache once.
12046 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12048 * iterators.C (operator++): Make the iterator more robust
12050 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12052 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12054 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12057 * text.C: better added space drawing
12059 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12062 * BufferView2.C: fix layout combo update on inset unlock
12064 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12066 * Makefile.am: don't compile unused files
12068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12072 * LyXAction.C: remove old LFUN_LAYOUTNO
12074 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12076 * paragraph_pimpl.h:
12077 * paragraph_pimpl.C: isTextAt() doesn't need font param
12079 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12082 * lyxlex.C: little cleanup
12084 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12086 * BufferView_pimpl.C: fix insertAscii for insets
12088 2001-12-05 Juergen Vigna <jug@sad.it>
12090 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12091 set the right font on the "multi" paragraph paste!
12093 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * lyxlength.C: remove out-commented code.
12101 * BufferView_pimpl:
12115 * vc-backend.C: change "while(" to "while ("
12117 * lyxlength.[Ch]: add zero function to check if length is zero or
12119 * lyxgluelength.C: use it
12121 2001-12-05 Allan Rae <rae@lyx.org>
12123 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12124 Works for 2.95.3, from what I understand of Garst's reports this should
12125 work for other g++ versions. We're screwed if the abs(int) definition
12126 changed between bugfix releases of gcc.
12128 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12130 * text.C: fix chapter label offset !
12132 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12135 * text.C: fix hfill at end of line, clean up
12137 2001-12-04 Juergen Vigna <jug@sad.it>
12139 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12140 that we force an update of the inset and it's owners if neccessary.
12142 2001-12-03 Juergen Vigna <jug@sad.it>
12144 * text.C (rowLast): simplified code
12146 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12148 * lyxfunc.C: fix show options on timeout
12150 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * screen.C (topCursorVisible): scroll half a page when the cursor
12153 reached top of bottom of screen
12155 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12157 * minibuffer.C: deactivate on loss of focus
12159 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12161 * vspace.[Ch] (operator!=): add operator.
12163 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12165 * BufferView_pimpl.C: refuse to open an inset when
12166 there's a selection.
12168 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12170 * BufferView_pimpl.C: allow to click on RHS of full row insets
12172 2001-11-30 Juergen Vigna <jug@sad.it>
12174 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12175 insets for undo reasons.
12177 2001-11-28 André Pönitz <poenitz@gmx.net>
12179 * vspace.[Ch]: cosmetical changes
12181 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12191 * kbsequence.C: part re-write of old kb code
12194 * WorkArea.C: remove Lgb_bug_find_hack
12196 2001-11-30 José Matos <jamatos@fep.up.pt>
12198 * buffer.C (makeDocBookFile): add a comment to point a hack.
12199 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12200 Fixed a double write of labels.
12202 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12205 * LaTeX.h Fixed bug in LaTeX class where it would not
12206 re-run latex if no depfiles were changed, but the .dvi was removed.
12208 2001-11-28 André Pönitz <poenitz@gmx.net>
12210 * all the files from the change on 2001/11/26:
12211 use lyx::layout_type instead of LyXTextClass::size_type
12212 use lyx::textclass_type instead of LyXTextClassList::size_type
12214 2001-11-29 Juergen Vigna <jug@sad.it>
12216 * text.C: added support for paragraph::isFreeSpacing()
12218 * buffer.C: same as above
12220 * paragraph.h: inserted isFreeSpacing() function to enable
12221 FreeSpacing inside InsetERT.
12223 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12224 of the paragraph's in the cut/copy buffer to 0!
12226 * text2.C (removeRow): remove the assert as it can!
12228 * lyxtext.h: added helper function firstRow returning firstrow and
12229 made firstrow private again.
12231 * BufferView2.C (lockInset): don't relock if we're already locked!
12233 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12234 the only paragraph.
12235 (removeRow): added Assert::(firstrow)
12237 * debug.C: forgot to add INSETTEXT here.
12239 2001-11-28 Juergen Vigna <jug@sad.it>
12241 * sp_spell.C (initialize): changed error text to more general
12242 spellchecker command use (not only ispell!)
12244 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12246 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12248 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12250 * vspace.C: initialise lyxgluelength on failure
12252 2001-11-28 Allan Rae <rae@lyx.org>
12254 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12255 declaration & definition that looks like a function declaration.
12257 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12259 * BufferView2.C (copy):
12260 (copyEnvironment): do not clear the selection when doing a copy.
12262 * text.C (paintFirstRow): compilation fix
12264 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12266 * tabular.C (Latex): correct line count when writing latex.
12268 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12270 * paragraph_pimpl.h:
12271 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12274 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12278 * LColor.C: change vfillline->added_space
12280 * text.C: add markers and text for added space
12282 * vspace.C: fix comment
12284 2001-11-28 André Pönitz <poenitz@gmx.net>
12286 * paragraph.C: whitespace changes
12287 * all the other files from the change on 2001/11/26:
12288 change *::pos_type into lyx::pos_type
12290 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12292 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12293 language of the document when inserting error insets.
12295 2001-11-26 André Pönitz <poenitz@gmx.net>
12297 * BufferView_pimpl.[Ch]:
12305 * paragraph_pimpl.[Ch]:
12308 * text2.C: reduce header dependencies, introduce type for positions
12310 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12312 * <various>: change to use Alert.h
12314 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12316 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12317 when encountering an unknown token.
12318 (readLyXformat2): Show an error message if there were unknown tokens.
12320 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12323 * BufferView_pimpl.C:
12327 * text2.C: use par->isInset()
12329 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12331 * paragraph_pimpl.h:
12332 * paragraph_pimpl.C: cleanup
12334 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12336 * text2.C (removeRow):
12337 * text.C (setHeightOfRow): remove useless (and costly) call to
12340 2001-11-20 Allan Rae <rae@lyx.org>
12342 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12343 Now need Inset*::checkInsertChar() to return true for appropriate
12344 cases so that the characters in the minibuffer will actually be
12347 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12349 * text.C: change the order of the includes.
12350 (workWidth): initialize it at once.
12351 (workWidth): make maxw unsigned
12352 (setHeightOfRow): remove unused variable (inset)
12353 (selectSelectedWord): remove unused variable (inset)
12354 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12356 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12359 server is not running.
12361 (closeConnection): add debug info when server is disabled.
12363 * ColorHandler.C (getGCForeground): send debug message to GUI
12366 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12368 * kbmap.C (bind): modify because return conventions of
12369 kb_sequence::parse have changed.
12371 * kbsequence.C (parse): only ignore spaces and not any stupid
12372 control character. This avoids tests like s[i] <= ' ', which are
12373 guaranteed to fail with 8bit characters and signed chars.
12374 Change return code to string::npos when there have been no error
12375 (0 was a bad idea when error is at first character)
12377 2001-11-14 José Matos <jamatos@fep.up.pt>
12380 * buffer.C (simpleDocBookOnePar): removed unused argument.
12382 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12384 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12385 insets which are part of a word. Paragraph::isLetter takes care of
12386 that now. Use Paragraph::isInset to identify insets.
12387 (selectSelectedWord): do not test for hyphenation break.
12389 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12390 that protected spaces are considered as spaces.
12392 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12395 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12398 * lyxserver.C: fix it. and small cleanup.
12400 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12402 * BufferView_pimpl.C: use inline helpers
12405 * LaTeXFeatures.C: fix typos
12408 * Spacing.C: move spacing_string into class
12410 * ToolbarDefaults.C: move stuff into namespace anon
12412 * layout.h: update enum
12414 * lyxfunc.C: use better debug
12416 * minibuffer.h: fix typo
12420 * WorkArea.C: add and use Debug::WORKAREA
12424 * text2.C: code re-organisation, inline helpers
12426 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12428 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12429 std::vector.empty().
12431 2001-11-09 Allan Rae <rae@lyx.org>
12433 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12434 '\n's after tables. Tabular and ERT inset work now makes this no
12437 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12440 * minibuffer.C: fix crash, improve drop-down completion
12442 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12445 * lyxserver.C: invalidate fd's when doing endPipe()
12447 2001-11-08 José Matos <jamatos@fep.up.pt>
12449 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12450 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12453 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12455 2001-11-07 José Matos <jamatos@fep.up.pt>
12458 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12461 * buffer.C (sgmlOpenTag):
12462 * buffer.C (sgmlCloseTag): removed debug info.
12464 * buffer.h (sgmlOpenTag):
12465 * buffer.h (sgmlCloseTag): made public.
12467 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12469 * buffer.C (saveParamsAsDefaults):
12470 * lyx_cb.C (MenuLayoutSave): remove
12472 * LyXAction.C (init):
12474 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12476 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12478 * buffer.C (setPaperStuff): removed from here...
12480 * bufferparams.C (setPaperStuff): ... and moved there.
12482 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12486 * XFormsView.C: add support for drop-down completion
12488 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12490 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12493 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12495 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12498 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12500 * lyx_main.C: change ref to known bugs
12502 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12504 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12505 to work around older babel problems.
12507 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12509 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12511 2001-10-24 Juergen Vigna <jug@sad.it>
12513 * tabular-old.C (ReadOld): below variable changes reflected.
12515 * tabular.[Ch]: added ltType struct for longtable header/footer
12516 defines and changed all instances where they are used. Added
12517 future support for double top/bottom rows.
12519 2001-10-24 José Matos <jamatos@fep.up.pt>
12521 * buffer.h (docbookHandleCaption):
12522 * buffer.C (docbookHandleCaption): removed unused function.
12523 (makeDocBookFile): moved docbook supported version to v4.1.
12525 2001-10-24 José Matos <jamatos@fep.up.pt>
12528 * tabular.C (docbookRow): new function to export docbook code of a row.
12529 (DocBook): now honors the longtable flags.
12531 2001-10-23 José Matos <jamatos@fep.up.pt>
12534 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12535 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12537 * buffer.C (makeLinuxDocFile):
12538 (makeDocBookFile): reworked the preamble, more clean, and with
12539 support for lyx defined entities. Changed the document declaration
12540 to be more XML friendly.
12542 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12543 if we need to output XML that should be done with a filter.
12545 2001-10-22 Juergen Vigna <jug@sad.it>
12547 * sp_pspell.h (class PSpell): add alive function needed in the
12548 controller to see if the spellchecker could be started.
12550 2001-10-22 Juergen Vigna <jug@sad.it>
12552 * buffer.C (insertStringAsLines): modify the font for inserting
12553 chars in certain conditions by calling checkInsertChar(font).
12555 2001-10-19 Juergen Vigna <jug@sad.it>
12557 * text.C (workWidth): use getRow instead of wrong algorithm.
12558 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12560 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12565 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12567 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12569 * text.C (workWidth): do not search for the exact row when
12570 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12571 optimization for big documents.
12573 2001-10-18 Juergen Vigna <jug@sad.it>
12575 * text.C (workWidth): new function with added Inset * parameter.
12577 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12581 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12582 change return type of getColumnNearX.
12585 * text.C (changeRegionCase): use uppercase/lowercase instead of
12588 (rightMargin): simplify code by factoring out the uses of
12593 (appendParagraph): use Paragraph::size_type
12595 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * vspace.C (asLatexString): add a missing break
12599 2001-10-15 Herbert Voss <voss@perce.de>
12601 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12603 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12605 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12608 2001-10-10 André Pönitz <poenitz@gmx.net>
12610 * lyxfunc.C: removed greek_kb_flag.
12612 2001-10-10 Herbert Voss <voss@perce.de>
12614 * lyx_main.C: delete global string help_lyxdir.
12616 2001-10-09 Herbert Voss <voss@perce.de>
12618 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12620 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12622 * lyx_main.C: added global string help_lyxdir.
12624 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12626 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12628 * lyxrc.C (set_font_norm_type): support iso8859-4
12630 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12632 * LaTeX.C (deplog): add another regex for MikTeX
12634 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12636 * lyxrc.C (set_font_norm_type): support iso8859-3
12638 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12642 * LaTeXFeatures.C: remove special case of french and index
12644 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12645 before \begin{document}). This solves several incompatibilities.
12647 2001-10-03 Garst Reese <reese@isn.net>
12649 * lyx_cb.C: change CheckTex error msg.
12651 2001-10-03 José Matos <jamatos@fep.up.pt>
12653 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12655 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12657 * .cvsignore: update
12659 * lyx_main.C (commandLineVersionInfo): use new style version info.
12661 * buffer.C (writeFile):
12663 (makeLinuxDocFile):
12664 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12666 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12668 * version.h: update to use stuff in version.C
12670 * version.C.in: new file. Contains version information determined
12671 at compile time. This is a merging of version.h and
12674 2001-10-03 Juergen Vigna <jug@sad.it>
12676 * BufferView_pimpl.C (update): don't change "dirty" status in
12679 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12681 * WorkArea.C (c-tor): re-position version string slightly.
12683 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12685 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12686 revert to previous code.
12688 WorkArea.[Ch]: (show, destroySplash): methods removed.
12690 WorkArea.C: rework code so that it's an amalgam of the codes before and
12691 after the splash screen was moved to WorkArea.
12693 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * vspace.C (inPixels):
12699 * buffer.C (insertStringAsLines):
12700 (asciiParagraph): fix types to be large enough
12702 * lyxlex_pimpl.h: change member status from short to int
12704 * layout.h: fix type of endlabeltype
12707 * kbsequence.C (parse): change return type to string::size_type
12709 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12712 * Bullet.C (bulletSize):
12713 (bulletEntry): do not use short ints as parameters
12715 * BufferView2.C (insertLyXFile): change a char to an int.
12717 * WorkArea.C (WorkArea): remove unneeded floats in computation
12719 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12721 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12723 * paragraph.C (asString): Do not ignore newline/hfill chars when
12724 copying to the clipboard.
12726 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12728 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12729 after a multi-line inset.
12731 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12733 * paragraph.C (validate): Set NeedLyXFootnoteCode
12735 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12737 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12738 and decrease-error to decrease.
12740 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12743 it more readable (should be equivalent)
12745 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12747 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12749 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12752 of a cursor (row, etc.) after a character has been deleted
12753 (deleteEmptyParagraphMechanism): call the method above on _all_
12754 cursors held by the LyXText when a double space has been
12757 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12759 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12761 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12763 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12764 background. Use greyOut() and the new show() methods to toggle between
12765 the foreground and background. Add code to remove the splash after
12766 its initial showing.
12768 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12769 (create_forms): no longer call Dialogs::showSplash.
12771 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * .cvsignore: add version_info.h
12775 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12777 * version_info.h.in: new file
12779 * Makefile.am: add version_info.h.in
12781 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12782 version_info.h instead of VERSION_INFO
12784 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12786 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12787 The ERT inset now returns string().
12789 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12791 * lyxtext.h, text.C (selectNextWord): renamed as
12792 selectNextWordToSpellcheck.
12794 * text.C (selectNextWordToSpellcheck): Modified to not select
12795 words inside an ERT inset.
12797 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * lyx_cb.C (MenuLayoutSave): change a bit the question
12801 * sp_base.h: include <sys/types.h>
12803 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12805 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12807 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12809 * several files: fix typos in user-visible strings
12811 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12813 * text2.C (pasteSelection): do not set the selection, since it
12814 will be cleared later. Actually, the intent was to fix the way the
12815 selection was set, but I figured rmoving the code was just as good.
12817 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12819 * FontLoader.C (available): Check if font is available without
12822 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12824 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12826 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12828 * lyxrc.[Ch]: added display_graphics variable and associated code.
12830 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12832 * bufferparams.C (hasClassDefaults): new method. Returns true if
12833 the buffer parameters correspond to known class defaults
12835 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12837 * XFormsView.C (show): set minimum size to the main window.
12839 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * text2.C (copySelection):
12843 * lyxfind.C (LyXReplace):
12844 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12845 LyXText::selectionAsString.
12847 * paragraph.C (asString): add "label" argument to the second form
12849 * text2.C (selectionAsString): add "label" argument and pass it to
12850 Paragraph::asString.
12852 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12854 * lyx_main.C (commandLineHelp): remove version information
12856 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12858 * lyx_main.C: add -version commandline option
12860 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * paragraph.h: make the optional constructor arg required instead.
12863 some modifications to other files because of this.
12865 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12867 * lyxserver.C (C_LyXComm_callback): make it static
12869 * lyx_main.C (error_handler): make it static
12871 * lyx_gui.C (LyX_XErrHandler): make it static
12873 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12875 * WorkArea.C: make the extern "C" methods static.
12877 * Makefile.am (lyx_LDADD): simplify
12879 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12881 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12882 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12884 * LyXAction.C (init):
12885 * lyxfunc.C (dispatch): associated code removal.
12887 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12889 * lyxfont.h (isSymbolFont): shut off warning
12891 * text.C (setHeightOfRow):
12892 (getVisibleRow): fix crash with empty paragraphs which have a
12895 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12897 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12900 2001-09-04 José Matos <jamatos@fep.up.pt>
12903 * tabular.C (docbook): rename docBook method to docbook.
12905 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12907 * Makefile.am: add dependencies to main.o.
12909 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12911 * FontLoader.C (available): Return false if !lyxrc.use_gui
12913 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12915 * FontInfo.C (query):
12916 * converter.C (view):
12917 * importer.C (Import):
12918 * exporter.C (Export): Can not -> cannot.
12920 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12922 * BufferView_pimpl.C: allow to create index inset even if
12925 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12927 * buffer.C (getLists): replace boost::tie code with an explicit pair
12928 as boost::tie can break some compilers.
12930 * iterators.h: Added a std:: declaration to the return type of
12933 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12935 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12938 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12940 * iterators.[Ch]: New files. Provide paragraph iterators.
12942 * buffer.C (changeLanguage): Use paragraph iterators.
12943 (isMultiLingual): ditto
12945 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12947 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12949 * FontLoader.C: Support for cmr font.
12951 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12953 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12954 (available): New method.
12956 * FontInfo.C (getFontname): Use scalable fonts even when
12957 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12960 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12962 * converter.C (Formats::view): reverted! Incorrect fix.
12964 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12966 * converter.C (Formats::view): only output the -paper option
12967 if the dvi viewer is xdvi, thereby fixing bug #233429.
12969 2001-08-23 Herbert Voss <voss@perce>
12971 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12973 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12975 * Spacing.h (Spacing): Set space to Default on in the default
12978 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * vc-backend.h (RCS::versionString): add RCS to version
12981 (CVS::versionString): add CVS to version
12983 * vc-backend.C (scanMaster): do not add CVS to version.
12984 (scanMaster): do not add RCS to version
12986 * lyxvc.C (versionString): new method
12988 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12990 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * Spacing.C (set): initialize fval
12994 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12996 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12999 2001-08-16 Juergen Vigna <jug@sad.it>
13001 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13003 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13005 * BufferView_pimpl.C:
13008 * text2.C: setParagraph takes linespacing now
13010 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13012 * LyxAction.C: add internal LFUN_CITATION_INSERT
13014 * LyXView.C: actually apply fix
13016 * bufferlist.C: fix open non-existent file
13018 * lyxfind.C: fix indentation
13020 * lyxfunc.C: remove unneeded assert, fix typo
13022 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13024 * MenuBackend.C: use "Floatname List"
13026 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13028 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13029 when converting LaTeX layout to insetERT.
13030 Generate a non-collapsed float when reading old float
13032 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13034 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13037 2001-08-13 Juergen Vigna <jug@sad.it>
13039 * text.C (fill): return 0 instead of 20 as this seems to be the more
13042 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13044 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13047 2001-08-13 Juergen Vigna <jug@sad.it>
13049 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13051 (SearchBackward): comment out the unlocking of the inset_owner this
13052 should not be needed!
13054 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13056 * Many files: Remove inherit_language, and add latex_language
13058 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13059 collapsible insets.
13061 2001-08-10 Juergen Vigna <jug@sad.it>
13063 * text.C (prepareToPrint): fixed hfill-width in draw!
13065 * BufferView2.C (selectLastWord): save the selection cursor as this
13066 now is cleared in the function LyXText::clearSelection!
13068 2001-08-08 Juergen Vigna <jug@sad.it>
13070 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13071 BACKSPACE type functions.
13073 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13074 is only cutted from the document but not put in the cut-buffer, where
13075 still the old stuff should be.
13077 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13079 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13081 * tabular.C (SetWidthOfCell): fixed special case where the width
13083 (LeftLine): handle '|' in align_special.
13085 (LeftAlreadyDrawed): ditto
13086 (SetWidthOfCell): ditto
13088 2001-08-07 Juergen Vigna <jug@sad.it>
13090 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13092 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13094 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13095 * lyxlex.[hC]: ditto
13097 2001-08-06 Juergen Vigna <jug@sad.it>
13099 * text.C (getVisibleRow): fix up row clearing a bit.
13101 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13103 * minibuffer.C: make sure the X server sees the changes in the input.
13105 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * paragraph.C (getFont): split into...
13108 (getLabelFont): this
13109 (getLayoutFont): and this
13110 * paragraph_pimpl.C (realizeFont): calling this
13112 * text2.C (getFont): split into...
13113 (getLayoutFont): this
13114 (getLabelFont): and this
13115 (realizeFont): all three calling this
13117 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13120 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13122 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13124 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13126 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13127 layouts from the Quote inset insertion.
13129 2001-08-03 Juergen Vigna <jug@sad.it>
13131 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13133 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13134 only if status not is already CHANGED_IN_DRAW (second level).
13136 * text.C (draw): don't set the need_break_row when inside an
13139 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * buffer.C (parseSingleLyXformat2Token): handle more latex
13144 * bufferview_funcs.[hC]: change function names to
13145 begin with small char, adjust other files.
13147 2001-08-02 André Pönitz <poenitz@gmx.net>
13150 BufferView_pimpl.C: remove broken special code for math-greek
13152 2001-08-02 Juergen Vigna <jug@sad.it>
13154 * BufferView_pimpl.C (update): redone this function so that we
13155 update the text again if there was a CHANGE_IN_DRAW.
13157 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13158 (drawFromTo): added a new internal bool which is used by draw() and
13160 (general): some cursor drawing problems fixed.
13162 2001-08-01 Juergen Vigna <jug@sad.it>
13164 * lyxfind.C (LyXFind): fixed
13165 (SearchForward): ditto
13166 (SearchBackward): ditto
13168 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13169 spurius drawing of the cursor in the main area.
13171 * text2.C (status): small fix which could lead to a segfault!
13172 (clearSelection): remove unneeded BufferView param.
13174 2001-08-01 André Pönitz <poenitz@gmx.net>
13176 * lyxfunc.C: small change due to changed mathed interface
13178 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13180 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13182 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13184 * lyxfunc.c: fail gracefully if file doesn't exist
13189 * BufferView_pimpl.C: IsDirWriteable() proto changed
13191 * LyXView.C: fix updateWindowTitle() to store the last title
13193 2001-07-31 Juergen Vigna <jug@sad.it>
13195 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13196 the font (wrong since using of Paragraph::highestFontInRange).
13198 * paragraph.C (highestFontInRange): added a default_size parameter.
13200 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13201 (setHeightOfRow): reformat
13203 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13205 * converter.[hC] + affected files: move to (inital-char)lowercase
13208 * ParagraphParameters.C (ParagraphParameters): remove commented code
13210 * PainterBase.[Ch]: remove commented code
13212 * LaTeXFeatures.h: add "bool floats" for float.sty
13214 * LaTeXFeatures.C (LaTeXFeatures): init floats
13215 (require): handle float
13216 (getPackages): do it with floats
13218 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * BufferView_pimpl.C (Dispatch): improve handling of
13221 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13223 * commandtags.h: #include lyxfont.h here temporarily to avoid
13226 * bufferlist.h: include LString.h here.
13228 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * text2.C (getStringToIndex): new method.
13232 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13234 * *: Reduced header file dependencies all over.
13236 2001-07-30 Baruch Even <baruch@lyx.org>
13238 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13240 2001-07-29 Baruch Even <baruch@lyx.org>
13242 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13244 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * ParameterStruct.h (endif): add a default constructor to make
13247 sure that all variables is initialized.
13249 * ParagraphParameters.C (ParagraphParameters): adjust
13251 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13254 index; also, check that there is something to index, and that it
13255 does not span over several paragraphs.
13256 (doubleClick): use WHOLE_WORD_STRICT for double click.
13258 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13260 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13263 2001-07-26 Baruch Even <baruch@lyx.org>
13265 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13266 an InsetFig figure, backwards compatible reading of old figure code.
13268 2001-07-27 Juergen Vigna <jug@sad.it>
13270 * text2.C: font.realize function adaption.
13272 * text.C (draw): add a warnings lyxerr text if needed.
13274 * layout.C: font.realize function adaption.
13276 * language.C: add inherit_language and implement it's handlings
13278 * bufferview_funcs.C (StyleReset): remove language parameter from
13279 font creation (should be language_inherit now).
13281 * bufferparams.C (writeFile): handle ignore_language.
13283 * paragraph.C (getFontSettings): the language has to be resolved
13284 otherwise we have problems in LyXFont!
13286 * lyxfont.C (lyxWriteChanges): added document_language parameter
13287 (update): removed unneeded language parameter
13289 * paragraph.C (validate): fixed wrong output of color-package when
13290 using interface colors for certain fonts in certain environments,
13291 which should not seen as that on the final output.
13293 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13295 * BufferView_pimpl.C:
13300 * LyXAction.C: add thesaurus support
13303 * lyxfind.C: add "once" parameter, for thesaurus, to not
13304 move to the next match
13306 2001-07-26 Juergen Vigna <jug@sad.it>
13308 * lyxfont.C (realize): honor ignore_language too!
13311 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13313 * text.C (draw): one place more for ignore_language to not draw
13316 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13318 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13320 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13323 the minipage conversion problem.
13325 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13330 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * BufferView.h: don't forward declare WorkArea
13334 * BufferView.C: don't include WorkArea.h
13336 2001-07-25 André Pönitz <poenitz@gmx.net>
13340 * lyxfunc.C: new LFUN 'math-space'
13342 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13344 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13346 * text2.C (toggleInset): call open/close
13348 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * lyxfunc.C (dispatch): add debug for the disabled case
13352 * font.C (buttonText): make similar to rectText
13354 * buffer.C (readInset): comment out parsing of insetlist and
13357 * PainterBase.C (rectText): small correction
13359 * BufferView_pimpl.C: comment out insettheorem and insetlist
13360 * LyXAction.C: ditto
13361 * commandtags.h: ditto
13363 2001-07-24 Juergen Vigna <jug@sad.it>
13365 * text.C (draw): honor the ignore_language.
13367 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13369 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13371 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13374 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13376 * lyxtext.h: remove unused (and unimplemented) methods
13378 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13380 * text.C (getVisibleRow): honor background color
13383 * Painter.h: remove default color argument for fillRectangle
13385 * text.C (backgroundColor): new method
13387 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * text.C (getVisibleRow): adjust
13391 * font.[Ch] (rectText): new method, metrics
13392 (buttonText): new method, metrics
13394 * PainterBase.[hC]: make rectText and buttonText always draw and take
13397 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13399 * ToolbarDefaults.C (read):
13400 * MenuBackend.C (read): allow escaping in all strings
13402 * BufferView_pimpl.C (insertAndEditInset): new method.
13403 (Dispatch): use insertAndEditInset whenever appropriate.
13405 * BufferView_pimpl.C (insertNote): removed
13407 * BufferView_pimpl.C (smartQuote): new method, moved from
13408 BufferView; if an insetquote cannot be inserted, insert a '"'
13411 * BufferView2.C: remove insertCorrectQuote();
13413 * lyxfunc.C (getStatus): Add support for all remaingin
13414 inset-insert lfuns.
13416 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13418 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13419 command (necessary to pass " as parameter of self-insert.
13421 * text.C (selectWordWhenUnderCursor):
13422 (selectWord): add word_location parameter
13423 (selectWordWhenUnderCursor): same + remove special code for word
13425 (selectNextWord): use kind() to guess type of insetspecialchar,
13428 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13429 (insertErtContents): create ert insets as collapsed.
13430 (readInset): better compatibility code for Info inset.
13432 2001-07-20 Juergen Vigna <jug@sad.it>
13434 * lyxfunc.C (dispatch): use always LyXFind now!
13436 * text2.C (init): add a reinit flag so that the LyXText can be
13437 reinited instead of deleted and reallocated (used in InsetText).
13439 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13445 2001-07-18 Juergen Vigna <jug@sad.it>
13447 * text.C (selectNextWord): handle insets inside inset by calling
13448 always the bv->text functions so that we can go up the_locking_inset!
13450 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13451 in strange locations when inside an inset!
13453 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13454 handling to include insets.
13456 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13458 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13460 * LyXAction.C (init):
13462 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13463 LIGATURE_BREAK, since the name is so stupid.
13465 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13467 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13470 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13472 * sp_form.[Ch]: remove.
13474 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13476 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13479 * src/buffer.C (readInset): ditto.
13481 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13483 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13484 menuSeparator(), endOfSentenceDot(), ldots() and
13485 hyphenationPoint(), which are therefore removed.
13486 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13488 * LyXAction.C (init):
13489 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13491 * paragraph.C (getWord): removed.
13493 * BufferView_pimpl.C (Dispatch): use last word or selection for
13494 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13496 * lyx_main.C (queryUserLyXDir): do not ask before creating
13497 user_dir, except if it has been named explicitely.
13499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13501 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13502 a document of zero size.
13504 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13506 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13507 approriately in the c-tor and in require().
13508 (getPackages): output the appropriate LaTeX for natbib support.
13510 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13511 variables "use_natbib" and "use_numerical_citations" when reading the
13513 (readInset): read the various natbib cite commands.
13514 (validate): white-space change.
13516 * bufferparams.[Ch]: new variables "bool use_natbib" and
13517 "bool use_numerical_citations".
13518 (writeFile): output them in the LyX file.
13520 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13522 * lyxfunc.C (getStatus): add support for all the inset insertion
13525 * text2.C (insertInset):
13526 * paragraph.C (insetAllowed):
13527 * BufferView_pimpl.C (insertInset): update to take in account the
13528 renaming of insertInsetAllowed
13530 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13532 * text2.C (getInset): new method. returns inset at cursor position.
13534 * BufferView_pimpl.C (Dispatch): changes because of this.
13536 * LyXAction.C (init): rename open-stuff to inset-toggle.
13538 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13540 * text2.C (toggleInset): renamed from openStuff; use
13543 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13545 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13547 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13549 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13551 * buffer.C (readLyXformat2): Add filename to the error dialog
13553 2001-07-18 Juergen Vigna <jug@sad.it>
13555 * tabular.C (GetCellNumber): put an assert here instead of the check!
13557 2001-07-17 Juergen Vigna <jug@sad.it>
13559 * BufferView_pimpl.C (toggleSelection): adapted too.
13561 * text.C (selectNextWord): adapted for use with insets.
13562 (selectSelectedWord): ditto
13564 2001-07-17 Juergen Vigna <jug@sad.it>
13566 * sp_spell.C (PSpell): fix initialitation order.
13568 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * paragraph.C: spacing
13572 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13574 * sp_spell.C: repair language selection for pspell
13576 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * lyxfunc.h: change more methods to begin with lower char.
13580 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13582 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13583 for unknown layouts.
13585 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13587 * buffer.C (readLyXformat2): Generate an error dialog if there are
13590 2001-07-16 Juergen Vigna <jug@sad.it>
13592 * sp_spell.C: always compile ISpell part.
13594 * lyxrc.C: added use_pspell entry and it's handling.
13596 2001-07-13 Juergen Vigna <jug@sad.it>
13598 * sp_spell.C: removed double includes.
13600 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13602 Consistent use of Lsstream.h:
13603 * Lsstream.h: added using std::stringstream for consistencies sake.
13605 * buffer.C: removed using std::stringstream
13607 * lyxfont.C (stateText):
13608 * paragraph.C (asString):
13609 * text.C (selectNextWord, selectSelectedWord):
13610 * text2.C (setCounter):
13611 * vspace.C (asString, asLatexString):
13612 std::ostringstream -> ostringstream.
13614 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13616 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13617 * commandtags.h: add LFUN_HELP_ABOUTLYX
13618 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13620 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13622 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13624 * lyx_gui_misc.C: remove spellchecker
13625 * lyxfunc.C: showSpellchecker
13627 * sp_ispell.h: added
13628 * sp_pspell.h: added
13629 * sp_spell.C: added
13630 * sp_form.[Ch]: removed
13631 * spellchecker.[Ch]: removed
13633 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13635 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13637 (simpleTeXSpecialChars): Simply print the input character without
13638 any special translation if pass_thru is set.
13640 * layout.h: Added bool pass_thru to layout class for being able to
13641 implement pass through of a paragraph for Literate Programming.
13643 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13644 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13645 * layout.C (Read): add "passthru" to list of layout tags and add
13646 code to set the pass_thru boolean when it is read.
13648 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13650 * trans_decl.h: remove allowed from KmodInfo
13652 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13653 remove allowed code
13656 * paragraph_pimpl.C (erase): use boost::prior
13658 * Painter.C (text): use data() instead of c_str() when length is
13660 * WorkArea.C (putClipboard): ditto
13661 * font.h (width): ditto
13663 * BufferView2.C: use it-> instead of (*it). for iterators
13665 * paragraph_pimpl.C: ditto
13666 * paragraph.C: ditto
13667 * minibuffer.C: ditto
13668 * language.C: ditto
13670 * encoding.C: ditto
13671 * counters.C: ditto
13672 * converter.C: ditto
13674 * Variables.C: ditto
13675 * TextCache.C: ditto
13676 * MenuBackend.C: ditto
13677 * LyXAction.C: ditto
13679 * FloatList.C: ditto
13680 * DepTable.C: ditto
13681 * ColorHandler.C (LyXColorHandler): ditto
13683 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13685 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13687 * text2.C (openStuff): reintroduce this method (which had been
13688 nuked in NEW_INSETS frenzy).
13690 * lyxfunc.C (Dispatch): when an action has not been handled, use
13691 its name in the error message, not its number.
13693 * paragraph.C (inInset): change method name to begin with lowercase.
13696 * text2.C: updates because of this.
13698 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * ToolbarDefaults.C (add): add spaces in error message
13702 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13705 (readLyXformat2): rename return_par to first_par, use lyxlex's
13706 pushToken and remove the manual push handling.
13707 (parseSingleLyXformat2Token): add another ert comp. variable:
13708 in_tabular, rename return_par to first_par. handle newlines better
13710 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13712 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13714 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * text2.C (getParFromID): removed
13718 * buffer.C (getParFromID): new method moved form lyxtext.
13719 * BufferView2.C (insertErrors): adjust
13720 (setCursorFromRow): adjust
13721 * BufferView_pimpl.C (restorePosition): adjust
13722 * lyxfunc.C (Dispatch): adjust
13723 * undo_funcs.C (textUndo): adjust
13725 (textHandleUndo): adjust
13726 (textHandleUndo): adjust
13728 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * buffer.C: up' the LYX_FORMAT
13732 * lyxfont.h: turn NO_LATEX on as default
13734 * buffer.C (insertErtContents): new methods of tex style compability.
13735 (parseSingleLyXformat2Token): use it several places.
13736 * tabular.C (OldFormatRead): and here
13738 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * text2.C: remove some commented code.
13743 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13744 * trans.C: changes because of the above.
13746 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13748 * text2.C (setCounter): Fix counters bug with bibliography layout.
13750 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13752 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13753 own member functions
13754 (simpleTeXSpecialChars): ditto
13756 2001-07-06 Juergen Vigna <jug@sad.it>
13758 * a lot of files: changed the access to LyXText::status and the
13759 call of undo-functions.
13761 * undo.[Ch]: added a inset_id to the undo informations.
13763 * undo_funcs.[Ch]: added and moved here all undo functions.
13765 * lyxtext.h: give the status enum a weight, made status_ a private
13766 variable and made accessor functions for it, removed the whole bunch
13767 of undo-functions as they are now in their own file, make some
13768 functions publically available. Added function ownerParagraph with
13771 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13772 made InInset() a const function, added getParFromID() function.
13774 * buffer.[Ch]: added const version for inset_iterator functions,
13775 added getInsetFromID() function.
13777 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13778 changed undo functions for new version.
13780 2001-07-05 Juergen Vigna <jug@sad.it>
13782 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13783 unknow mechanism does not call the proper constructor but only this
13784 one also if I request the other!?
13786 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13790 * text2.C (LyXText): use initialization lists.
13792 * lyxtext.h (Selection): initialize set_ and mark_
13793 (init): remove method
13795 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13797 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13799 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13801 * screen.[Ch]: change method names to begin with lowercase
13803 * BufferView_pimpl.C (updateScrollbar): simplify further and
13804 hopefully make it a bit faster.
13806 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13808 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13809 calling directly xforms functions.
13811 * Painter.C (Painter):
13812 * lyx_cb.C (MenuWrite):
13813 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13816 * lyx_gui.C: remove bogus guiruntime extern declaration.
13818 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13822 (redoDrawingOfParagraph): ditto
13823 (redoParagraphs): ditto
13824 (cutSelection): don't create a object for CutAndPaste use the
13825 static method directly
13826 (pasteSelection): ditto
13828 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13831 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * modifications to some other files because of this.
13835 * Makefile.am (lyx_SOURCES): add XFormsView
13837 * XFormsView.[Ch]: new files
13839 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13840 the main window. Move the gui dependent stuff to XFormsView
13842 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13844 * tabular.C (GetCellInset): update cur_cell also in the row/col
13845 version of this function.
13847 * lyxfunc.C: no need to include figure_form.h here.
13853 * lyxvc.C: no need to include forms.h here.
13855 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13857 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13859 * lyxfunc.C (Dispatch):
13861 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13862 constructor argument.
13864 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13866 * paragraph.C (Paragraph): dont't clear, and just set layout.
13867 (makeSameLayout): use params's copy contructor.
13869 * ParagraphParameters.[Ch] (makeSame): delete method
13871 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13873 * Variables.[Ch]: fix indentation, rename set to isSet
13875 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13877 * lyxfunc.C (Dispatch): fix typo
13879 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13881 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13884 * bufferlist.C: include assert.h for emergencyWrite().
13886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13888 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13889 give up at last (bug #425202) !
13891 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13897 * spellchecker.C: strip spellchecker options and bring up
13898 preferences tab instead
13900 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13903 the istringstream constructor
13905 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13907 * paragraph.C (getLayout): fix return value
13909 * paragraph.h: do not declare getLayout as inline.
13911 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13913 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * lyxcursor.h (operator<): new func
13916 (operator>): new func
13917 (operator>=): new func
13918 (operator<=): new func
13920 * text.C (changeCase): use selection.start and selection.end
13921 (changeRegionCase): require from to be <= to. Require par to be a
13924 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13926 2001-06-27 Juergen Vigna <jug@sad.it>
13928 * text.C (cursorLeftOneWord): changed to return the cursor and added
13929 overlay with BufferView * parameter which calls this one.
13931 (selectWord): use new getWord function.
13932 (changeCase): renamed from changeWordCase as and extended to work
13933 also on selections.
13935 * lyxtext.h: added enum word_location
13937 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13938 changeCase as this operates now also on selections.
13940 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13942 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13944 * many files: send debug output to Debug::INFO instead of
13947 * converter.C (View):
13949 (Move): send debug output to Debug::FILES instead of console.
13951 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13953 * lyxfunc.C (getStatus): use func_status
13955 * func_status.h: new header, describing the results of
13956 LyXFunc::getStatus;
13958 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13961 2001-06-25 The LyX Project <jug@sad.it>
13963 * buffer.C (sgmlOpenTag):
13965 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13967 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13969 * text2.C: remove some dead code
13971 * tabular.C (GetCellInset): store the last cell checked (gotten)
13973 * tabular.h: add the helper for the speedup
13975 * lyxtext.h: remove some dead code
13977 2001-06-26 The LyX Project <Asger>
13979 * paragraph.C: Change export to LaTeX of alignment to
13980 \begin{center} and family for better roundtrip work with reLyX.
13982 * Tune the math drawing a bit.
13984 2001-06-25 The LyX Project <Asger>
13986 * LColor.C (LColor): New color for math background. New color
13989 2001-06-25 The LyX Project <jug@sad.it>
13991 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13993 * lyxfunc.C (Open):
13994 * bufferlist.C (newFile): do not restrict to files ending with
13997 * BufferView_pimpl.C (MenuInsertLyXFile):
13999 2001-06-24 The LyX Project <jug@sad.it>
14001 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14004 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * lyxtext.h: rename most methods to begin with a small char.
14007 Lots of changes because of this.
14009 * paragraph.C (Paragraph): do not call fitToSize
14010 (erase): call Pimpl::erase
14011 (insertChar): call Pimpl::insertChar
14012 (insertInset): call Pipl::insertInset
14013 (breakParagraph): do not call fitToSize
14014 (breakParagraphConservative): do not call fitToSize
14015 (fitToSize): remove method
14017 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14019 2001-06-24 The LyX Project <Asger>
14021 * Fix Qt compilation^2
14023 2001-06-24 The LyX Project <jug@sad.it>
14025 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14026 depthHook(getDepth()-1).
14029 * ParagraphParameters.h:
14030 * ParameterStruct.h: change type of depth to unsigned int ==
14031 depth_type. Many adaptations to other files before of that.
14033 2001-06-24 The LyX Project <Asger>
14035 * Fix Qt compilation.
14037 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14039 * paragraph.h: renamed several methods to begin with small letter.
14040 several changes to many parts of the code because of this.
14042 2001-06-23 The LyX Project <jug@sad.it>
14044 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14045 rewritten to discard all double spaces when KeepEmpty is off
14046 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14047 to only handle newlines but not fiddle with spaces and friends.
14049 * lyxfunc.C (MenuNew): when doing 'new from template', use
14050 template_path as default directory
14052 2001-06-23 The LyX Project <Asger>
14054 * Clean-up of header file includes all over
14055 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14057 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14059 * paragraph.h: renamed from lyxparagraph.h
14061 2001-06-23 Asger <lyx@violet.home.sad.it>
14063 * Buffer.h: Removed Buffer::resize
14064 * BufferList.h: Removed BufferList::resize
14065 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14066 the document lazily when we change the width, or the font settings.
14068 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14070 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14072 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14074 * buffer.h: remove out of date comment
14076 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14079 * screen.C: fix "theoretical" GC leak
14081 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14083 * LaTeX.C (scanAuxFile):
14084 (deplog): remove trailing \r when reading stream (useful under
14087 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14089 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14090 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14091 and BufferView::theLockingInset(Inset*), so should use them and not
14092 access bv_->text->the_locking_inset directly.
14094 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14096 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14099 * tex-defs.h: remove old unused file
14101 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14103 * BufferView_pimpl.C: fix typo, remove minibuffer message
14104 when buffer has loaded
14106 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14108 * lyxfunc.C (Dispatch): use stringstream
14109 (MenuNew): use stringstream
14110 (Open): use stringstream
14112 * importer.C (Import): use stringstream
14114 * bufferview_funcs.C (CurrentState): use stringstream
14116 * LaTeX.C (run): use stringstream
14118 * BufferView_pimpl.C (savePosition): use stringstream
14119 (restorePosition): use stringstream
14120 (MenuInsertLyXFile): use stringstream
14122 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14135 * vspace.C: removed // -*- C++ -*- as first line.
14138 * version.h: added // -*- C++ -*- as first line.
14140 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14142 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14144 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14147 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14149 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14152 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14154 * gettext.C: include LString.h even when --disable-nls is on.
14156 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14158 * converter.h (Get): changed argument type from int to
14159 FormatList::size_type to avoid unnecessary conversion.
14161 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14164 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * gettext.h: include LString.h even when --disable-nls is on.
14168 2001-06-07 Juergen Vigna <jug@sad.it>
14170 * text.C (BreakAgain): subst spaces with tabs.
14172 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14173 (resizeInsetsLyXText): set force on resizeLyXText.
14175 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * gettext.h (gettext_init):
14178 (locale_init): use a real definition instead of a macro
14180 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14182 * Bufferview_pimpl.C:
14184 * LColor.C: further lcolor tidies
14186 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14188 * BufferView_pimpl.C (updateScrollbar): simplify.
14190 * BufferView2.C: don't include insets/insetinfo.h, change
14191 prototype for insertInset and call the Pimpl version. let
14192 updateInset call Pimpl version.
14194 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14195 gotoInset to BufferView::Pimpl
14197 2001-06-01 Juergen Vigna <jug@sad.it>
14199 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14200 inside a LockingInset (is the update needed at all?).
14202 2001-05-31 Juergen Vigna <jug@sad.it>
14204 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14205 here not the old one otherwise how should we compare it afterwards
14208 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14213 * FontInfo.C: bring C functions into global namespace when
14216 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * LString.h: make sure config.h has been loaded before LString.h.
14220 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14221 (one for each char read by EatLine!).
14223 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14226 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14228 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14229 to the same as the par we break from
14231 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14233 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14235 * MenuBackend.C (expand): also create menu entries for wide
14236 versions of the floats.
14238 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14240 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14242 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14243 frontends/Makefile.am
14249 * tabular.C (getTokenValue): add std::
14251 * tabular-old.C (getTokenValue): add std::
14252 (getTokenValue): ditto
14253 (getTokenValue): ditto
14255 * screen.C (ToggleSelection): adjust
14257 * lyxtext.h: put selection cursors inside a Selection struct.
14259 * lyxfunc.C (moveCursorUpdate): adjust
14261 * lyxfont.C (latexWriteStartChanges): add std::
14263 * lyxfind.C: adjust
14265 * font.h: delete with(char const *, LyXFont const &)
14267 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14269 * FontInfo.C (getFontname): add std::
14271 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14272 (workAreaButtonPress): adjust
14273 (tripleClick): adjust
14275 (moveCursorUpdate): adjust
14278 * BufferView2.C (gotoInset): adjust
14280 2001-05-30 Juergen Vigna <jug@sad.it>
14282 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14283 to check pspell I add this as default as I now have new pspell
14284 libraries and they seem to use this.
14286 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * text2.C (CutSelection): make the cursor valid before the call to
14291 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14294 relied on 0 terminated strings and other horrors. Bug found due to
14295 the new assert in lyxstring!
14297 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14300 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14302 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14305 * lyxfunc.C (processKeySym): change method of getting to the
14308 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14309 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14310 * BufferView_pimpl.[Ch]: here as private methods.
14312 2001-05-28 Juergen Vigna <jug@sad.it>
14314 * text.C (SetHeightOfRow): added the update() call again as it is
14315 needed to initialize inset dimensions!
14317 2001-05-16 Juergen Vigna <jug@sad.it>
14319 * text2.C (SetCharFont): Add new function with BufferView * and
14320 bool toggleall parameters for setting insets internal fonts.
14321 (SetFont): Freeze the undo as we may change fonts in Insets and
14322 all this change should be inside only one Undo!
14324 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14325 setting font's in insets as for them we have the SetFont function!
14327 2001-05-15 Juergen Vigna <jug@sad.it>
14329 * text2.C (ClearSelection): to be sure we REALLY don't have any
14332 * tabular.C (TeXCellPreamble): fixed the left border problem for
14335 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14337 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14340 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14343 LFUN_BREAKPARAGRAPH.
14345 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14346 help test to "internal only", similar for LFUN_INSERT_URL
14348 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14349 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14350 auto_region_delete and deadkeys.
14352 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14355 * LColor.C: remove some dead entries, tidy a little
14357 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14359 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14361 (Dispatch): implement LFUN_ESCAPE
14363 * commandtags.h: add LFUN_ESCAPE
14365 * LyXAction.C (init): add entry for LFUN_ESCAPE
14367 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14368 Remove commented code.
14369 (insertNote): moved here
14370 (open_new_inset): moved here
14372 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14375 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14377 * kbmap.C (findbinding): clean it up and make it work correctly.
14379 * lyx_main.C (init): do not pass argc and argv as parameters
14381 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14383 * buffer.C: fix path for OS/2 & Win32
14387 * lyx_main.C: Added os:: class.
14389 * os2_defines.h: update
14391 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14394 better by trying again with reduced state.
14396 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * lyxrc.C (read): print error about invalid key sequence only when
14399 debugging (because not all latinX keysyms are known to some X
14402 * kbsequence.C (getiso): add a few std:: qualifiers
14403 (getiso): comment out extra return statement.
14405 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14407 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14409 (Dispatch): enhance the accent inset a bit. (not perfect)
14411 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14413 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14415 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14417 * bufferlist.C (emergencyWrite): fix assert() call
14419 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14421 * text.C (InsertChar): Added trivial patch to only send the "you
14422 can not do multiple spaces this way" message once during a
14425 2001-05-08 Baruch Even <baruch@lyx.org>
14427 * Makefile.am: Changed order of libraries to get LyX to link properly
14428 with the gnome frontend.
14430 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * LaTeXFeatures.h: add a std:: qualifier
14434 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14436 * paragraph.C (String): use stringstream
14438 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14440 * paragraph.C (writeFile): remove footflag arg
14442 * buffer.C (makeLaTeXFile): use stringstream
14443 (latexParagraphs): remove footnot gurba
14445 * LaTeXFeatures.C (getPackages): use stringstream
14446 (getMacros): likewise
14447 (getTClassPreamble): likewise
14448 (getFloatDefinitions): new method
14450 * paragraph.C (writeFile): reindent
14453 * WorkArea.h: revert the xpos + etc changes.
14455 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14457 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14459 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14460 (pasteSelection): likewise
14461 * text2.C (CreateUndo): likewise
14463 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14465 * minibuffer.C (peek_event): temporarily reduce the functionality
14466 of the minibuffer (to allow args on lfuns)
14468 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14469 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14471 * buffer.C (readInset): add compability reading of old float
14472 lists, add reading of new style float list.
14473 (readInset): avoid reevaluation of inscmd.getCmdName()
14474 (getLists): reindent
14476 * MenuBackend.C (MenuItem): implement parsing of
14477 md_floatlistinsert and md_floatinsert.
14478 (expand::LastFiles): move initalizaton of iterators out of loop,
14479 avoid reevaluation.
14480 (expand::Documents): introduce typdedef vector<string> Strings,
14482 (expand::ExportFormats): introduce typedef vector<Format const *>
14483 Formats, and use it.
14484 (expand): implement FloatListInsert and FloatInsert.
14486 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14487 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14488 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14490 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14492 (Dispatch::LFUN_FLOAT_LIST): implement
14494 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14496 * LaTeX.C (run): Fix problem with --export code.
14498 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14500 * BufferView.[Ch] (workarea): removed.
14501 (getClipboard) new method; wrapper for workarea()->getClipboard()
14503 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14506 * WorkArea.h (width, height, xpos, ypos): These methods all
14507 returned the dimensions of the work_area sub-area of WorkArea,
14508 resulting in a position error if the WorkArea were resized. Now
14509 return the dimensions of the entire WorkArea.
14511 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14513 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * LaTeX.C (deplog): correct the syntax of regex reg1
14517 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14519 * undo.C: remove !NEW_INSETS cruft
14521 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * text2.C: remove !NEW_INSETS cruft
14525 * text.C: remove !NEW_INSETS cruft
14527 * tabular.C: remove !NEW_INSETS cruft
14529 * spellchecker.C: remove !NEW_INSETS cruft
14531 * lyxtext.h: remove !NEW_INSETS cruft
14533 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14535 * lyxfunc.C: remove !NEW_INSETS cruft
14537 * lyxfind.C: remove !NEW_INSETS cruft
14539 * lyx_cb.C: remove !NEW_INSETS cruft
14541 * figureForm.C: remove !NEW_INSETS cruft
14543 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14545 * buffer.[Ch]: remove !NEW_INSETS cruft
14547 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14549 * CutAndPaste.C: remove !NEW_INSETS cruft
14551 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14553 * BufferView2.C: remove !NEW_INSETS cruft
14555 * BufferView.h: remove !NEW_INSETS cruft
14557 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14559 * Lsstream.h: include LString.h before the sstream headers to
14560 fix problem with gcc 2.95.3 and lyxstring
14562 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14564 * lyx_main.C: add using directives when needed for C functions
14565 declared in std:: namespace.
14567 2001-04-27 Juergen Vigna <jug@sad.it>
14569 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14570 (SetHeightOfRow): comment out the update call should not be needed!
14572 2001-04-13 Juergen Vigna <jug@sad.it>
14574 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14575 (LyXTabular): tried to minimize operator= operations (and realized
14576 hopfully Lars wish).
14578 2001-04-27 Juergen Vigna <jug@sad.it>
14580 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14582 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14584 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14586 * buffer.C (readInset): hack to make listof algorithm work
14588 * BufferView_pimpl.C: hack to make listof algorithm work
14590 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * LyXAction.C: removed all !NEW_INSETS cruft
14593 (init): moved lfun_item in method
14595 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14597 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14599 * BufferView2.C (theLockingInset): white space.
14601 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14603 * minibuffer.C: include <iostream>
14605 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14607 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14609 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14611 * text.[Ch] (TransposeChars): new method
14613 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14615 * call message directly through LyXView instead of through LyXFunc
14616 * BufferView2.C: adjust
14617 * BufferView_pimpl.C: adjust
14618 * FontLoader.C: adjust
14620 * bufferview_funcs.C: adjust
14621 * converter.C: adjust
14622 * figureForm.C: adjust
14623 * importer.C: adjust
14625 * lyx_gui_misc.C: adjust
14626 * lyxfunc.C: adjust
14629 + more files in subdirs
14631 * lyxparagraph.h (size): move up int file
14634 * adjust all uses of Assert to lyx::Assert.
14636 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14637 lyxfunctional in namespace lyx
14638 * layout.C (hasLayout): ditto
14641 (delete_layout): ditto
14642 (NumberOfClass): ditto
14643 * converter.C (GetFormat): ditto
14648 * bufferlist.C (getFileNames): ditto
14649 (emergencyWriteAll): ditto
14652 * MenuBackend.C (hasSubmenu): ditto
14655 * BufferView_pimpl.C (getInsetByCode): ditto
14657 2001-04-18 Juergen Vigna <jug@sad.it>
14659 * vspace.C (asLatexString): fixed the 100% problem.
14661 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * lyxfunc.C (Dispatch):
14665 * minibuffer.h: add a few std:: qualifiers
14667 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14669 * minibuffer.[Ch]: reimplement so that commands is initiated and
14670 run from lyxfunc, simplified som handling, and made the completion
14671 and history code for complete. wip.
14673 * lyxfunc.C (processKeySym): call message
14674 (miniDispatch): new temporary method
14675 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14676 (LFUN_MESSAGE): implement
14677 (LFUN_MESSAGE_PUSH): implement
14678 (LFUN_MESSAGE_POP): implement
14679 (initMiniBuffer): the initial/defualt minibuffer message.
14681 * lyxfont.[Ch]: inline some more getters
14683 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14685 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14687 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14688 (AutoSave): use LFUN_MESSAGE
14689 (Reconfigure): ditto
14691 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14693 * figureForm.C: use LFUN_MESSAGE
14695 * converter.C (runLaTeX): use LFUN_MESSAGE
14697 * bufferview_funcs.C: use LFUN_MESSAGE
14699 (changeDepth): ditto
14701 * bufferparams.h: use boost::
14703 * bufferlist.h: inherit privately from noncopyable
14705 * bufferlist.C (loadLyXFile): remove some commented code.
14707 * buffer.C (runChktex): use LFUN_MESSAGE
14709 * ShareContainer.h: inherit privately from noncopyable
14711 * ParagraphParameters.[hC] (depth): inline it.
14713 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14715 (message): new method
14716 (messagePush): ditto
14717 (messagePop): ditto
14718 (show): init minibuffer
14719 (showState): direct call
14721 * LaTeX.[Ch]: inherit privately from noncopyable
14722 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14723 instead of WriteStatus.
14725 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14727 * BufferView_pimpl.C (buffer): don't init minibuffer
14728 (workAreaButtonPress): use LFUN_MESSAGE
14729 (workAreaButtonRelease): ditto
14730 (savePosition): ditto
14731 (restorePosition): ditto
14732 (MenuInsertLyXFile): ditto
14733 (workAreaExpose): don't init minibuffer
14734 (update): remove commented code, simplify
14736 * BufferView2.C (openStuff): use LFUN_MESSAGE
14737 (toggleFloat): ditto
14740 (copyEnvironment): ditto
14741 (pasteEnvironment): ditto
14746 (updateInset): remove some commented code
14748 * lastfiles.h: inherit privately from noncopyable
14751 * lyx_main.h: ditto
14753 * lyxlex_pimpl.h: ditto
14755 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14756 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14757 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14759 * LyXAction.h: inherit privately from noncopyable, add methods
14760 func_begin, func_end, returning iterators to the func map.
14762 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14763 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14764 (func_begin): new method
14765 (func_end): new method
14767 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14769 (copySelection): ditto
14770 (pasteSelection): ditto
14772 * BufferView.C: whitespace change
14773 * BufferView.h: inherit privately from noncopyable
14775 2001-04-16 Allan Rae <rae@lyx.org>
14777 * tabular-old.C (l_getline):
14778 * spellchecker.C (sc_check_word):
14779 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14780 an unrecognised preprocessor directive. So ensure they're wrapped.
14782 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14784 * src/exporter.C (Export): Give an error message when path to file
14787 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14789 * LaTeX.C (deplog): Always check that foundfile exists.
14791 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14794 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14796 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14798 * tabular.[Ch] (getLabelList): implement new method
14800 * minibuffer.h: comment ouf setTiimer
14802 * minibuffer.C (ExecutingCB): constify res
14803 (peek_event): constify s
14804 (Set): constify ntext
14805 (Init): constify nicename
14807 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14809 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14810 (savePosition): use two params to Minibuffer::Set
14811 (restorePosition): ditto
14813 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * lyx_main.C: include language.h
14817 * Makefile.am (lyx_main.o): add language.h
14819 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * CutAndPaste.C: include gettext.h
14827 * lyxfont.h: remove old hack with ON and OFF.
14830 * lyxfont.h: do not include language.h...
14835 * bufferview_funcs.C:
14841 * paragraph.C: ... but do it here instead
14843 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14845 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14847 * tabular.C: small reformat
14849 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14852 (BreakParagraph): ditto
14853 (SetOnlyLayout): ditto
14856 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14859 * lastfiles.C: removed most using decl, add std:: where needed
14861 * buffer.C: ws changes
14863 * MenuBackend.C (class compare_format): put into anon namespace
14864 (expand): constify label, names, action, action2
14867 * text.C (SingleWidth): constify font
14868 (IsBoundary): constify rtl2
14869 (GetVisibleRow): constify ww
14871 * LaTeX.C (deplog): constify logfile
14873 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14875 (workAreaExpose): constify widthChange, heightChange
14877 * lyxrow.C (par): moved
14880 * lyxrow.h: as inlines here
14882 * lyxfont.h (shape): moved from lyxfont.C
14883 (emph): moved from lyxfont.C
14885 * lyxfont.C (LyXFont): use initialization list for all
14887 (shape): move to lyxfont.h as inline
14888 (emph): move to lyxfont.h as inline
14891 2001-04-04 Juergen Vigna <jug@sad.it>
14893 * vspace.C: had to include stdio.h for use of sscanf
14895 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14898 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14899 independent of xforms.
14901 2001-04-02 Juergen Vigna <jug@sad.it>
14903 * spellchecker.C: fixed namespace placing!
14905 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14907 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14908 the LyXParagraph * is 0.
14910 2001-03-29 Juergen Vigna <jug@sad.it>
14912 * vspace.C: added support for %, c%, p%, l%.
14913 (stringFromUnit): added helper function.
14914 (asLatexString): changed to give right results for the %-values.
14916 * buffer.C: convert the widthp in a width%.
14918 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14920 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14923 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14924 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14926 * lyx_cb.[Ch]: see above.
14928 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14932 * lyx.[Ch]: replaced by figure_form.[Ch].
14936 * lyxfunc.C: changed headers associated with above changes.
14938 2001-03-27 Juergen Vigna <jug@sad.it>
14940 * BufferView_pimpl.C: set the temporary cursor right!
14942 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14944 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14946 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14948 * LString.h: removed "using std::getline"!
14950 * BufferView_pimpl.C (Dispatch): changes due to changes in
14951 InsetInclude::Params.
14953 * buffer.C (tag_name): removed redundant break statements as they were
14954 producing lots of warnings with my compiler.
14956 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * LString.h: add "using std::getline" when using the real <string>.
14960 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14962 * buffer.C: removed bitset usage.
14963 PAR_TAG moved to an anonymous name space.
14964 (tag_name): new funtion, also in the anonymous namespace.
14965 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14966 (makeDocBookFile): clean code. Completed transition from string arrays
14968 (SimpleDocBookOnePar): code clean.
14970 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14972 * tabular.C: add some comments.
14974 2001-03-22 Juergen Vigna <jug@sad.it>
14976 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14977 compatibility read a bit and fixed bug with minipage in different
14980 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14982 * buffer.C (pop_tag): removed.
14983 (push_tag): removed.
14984 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14985 array replaced with vector. Added support for CDATA sections.
14986 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14988 (makeDocBookFile): XML conformant declaration of CDATA section,
14989 fixed bug related to <emphasis> in the first paragraph char.
14990 (sgmlOpenTag): exclude empty tags.
14991 (sgmlCloseTag): ditto.
14993 * buffer.h (pop_tag): removed.
14994 (push_tag): removed.
14996 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14998 * language.h (Languages): added size_type and size().
15000 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15002 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15003 response on compability reading of minipages. One probliem is that
15004 the old usage of minipages was «flertydig»
15006 * several files here and in subdirs: don't use static at file
15007 scope use anon namespaces instead.
15009 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15011 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15012 LaTeX output. This is necessary for Literate document
15015 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15017 * buffer.C: insert hfill when needed.
15019 * tabular.C (l_getline): use string::erase, small whitespace change.
15021 * BufferView_pimpl.C: try the anon namespace.
15022 * WorkArea.C: ditto
15024 2001-03-16 Juergen Vigna <jug@sad.it>
15026 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15027 otherwise it won't open options-dialogs.
15029 * buffer.C: honor pextraWidth(p) on converting minipages.
15031 * tabular.C (l_getline): changed the functions to strip trailing \r.
15033 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15035 * BufferView_pimpl.C:
15036 * minibuffer..C: added "using SigC::slot" declaration.
15038 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15040 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15046 * paragraph.C: ditto
15048 * lyxtext.h: NO_PEXTRA
15050 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15052 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15053 * ParameterStruct.h: ditto
15054 * ParagraphParameters.h: ditto
15055 * lyxparagraph.h: ditto
15057 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15059 * buffer.C: add compability for minipage alignment.
15060 (latexParagraphs): remove unwanted pextra check.
15062 * several files: remove CXX_WORKING_NAMESPACES
15064 * buffer.C (pop_tag): tie is in namespace boost
15066 * BufferView.h: noncopyable is in namespace boost
15068 * lyx_main.h: ditto
15071 * lastfiles.h: ditto
15072 * bufferlist.h: ditto
15073 * ShareContainer.h: ditto
15075 * LyXAction.h: ditto
15078 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15080 * Merging changes from BRANCH_MVC back into HEAD.
15082 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15084 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15086 * BufferView_pimpl.C: change from intl.C
15090 * Makefile.am: move combox.*
15096 * intl.C: remove dialog (covered by prefs)
15098 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15100 * lyxfunc.C (Dispatch): removed redundant break statement.
15102 2001-03-14 Juergen Vigna <jug@sad.it>
15104 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15106 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15108 * buffer.C: add hack to fix compability reading of minipages.
15110 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15112 * buffer.C (getLists): Cleanup.
15114 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * lyxfont.C (update): don't honor toggleall on font size.
15118 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15122 * Makefile.am: moved to frontends/xforms/
15126 * BufferView_pimpl.C: changes for moved mathpanel
15128 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15130 * gettext.h: fix gettext_init() in --disable-nls
15132 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15134 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15136 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15139 * lyx.h: strip external form
15141 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15143 * BufferView_pimpl.C: add comment, destroySplash()
15145 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15147 * BufferView_pimpl.C:
15151 * lyxfunc.C: use re-worked insetinclude
15153 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15155 * buffer.C: add using std::stringstream.
15157 * lyx_cb.C: readd using std::ios.
15159 * buffer.C: add using std::map.
15161 * BufferView_pimpl.C: add using std::vector.
15163 * ShareContainer.h: add std:: to swap.
15165 * buffer.h: add some typedefs
15166 * buffer.C (getLists): use them
15167 (getLists): renamed from getTocList.
15168 add a counter for the different float types and use it in the
15170 (getLists): use the same counter for the NEW_INSETS and the "non"
15173 * lyx_cb.h: remove unused items, includes, using etc.
15175 * ShareContainer.h: remove some commented code, add more comments
15176 and "documentation".
15178 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15180 * buffer.C (getTocList): make the list also when NEW_INSETS is
15183 * buffer.h: remove TocType
15185 * buffer.C (getTocList): change to return a map<string,
15186 vector<TocItem> >, implement for dynamic number of list.
15188 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15189 * text2.C (PasteSelection): adjust
15190 * CutAndPaste.C (pasteSelection): adjust
15192 * FloatList.C (FloatList): update from the new_insets branch.
15193 * Floating.[Ch]: ditto
15194 * LaTeXFeatures.C: ditto
15196 * lyxlex_pimpl.C: ditto
15198 * paragraph.C (Last): remove when NEW_INSETS is defined.
15200 * other file: changes because of the above.
15202 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15204 * lyxparagraph.h: rename next to next_, previous to previous_,
15205 make them private for NEW_INSETS. Rename Next() to next(),
15206 Previous() to previous().
15208 * other files: changes because of the above.
15210 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15213 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15216 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15218 * main.C (main): pass lyx_localedir to gettext_init().
15220 * gettext.h: remove locale_init and gettext_init macros
15222 * gettext.C (locale_init): new function
15223 (gettext_init): new function
15225 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15228 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15230 * Moved credits to frontends:
15231 * credits.[Ch]: removed
15232 * credits_form.[Ch]: removed
15233 * lyx_gui_misc.C: remove credits stuff
15236 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15238 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15240 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15241 unneeded destructor.
15243 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15244 a standalone pointer again.
15246 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15248 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15254 * ToolbarDefaults.C:
15263 * BufferView_pimpl.C: use new file dialog in GUII
15266 * lyx_cb.C: remove LayoutsCB to Toolbar
15268 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15270 * ShareContainer.h (get): add std:: qualifier
15272 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * ShareContainer.h: define a proper ShareContainer::value_type
15275 type (and use typename to please compaq cxx)
15277 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15279 * lyxparagraph.h: move serveral local vars to
15280 ParameterStruct/ParagraphParameters., use ShareContainer in
15281 FontTable., make vars in FontTable private and add getter and
15284 * paragraph.C: changes because of the above.
15286 * lyxfont.h: remove copy constructor and copy assignment. (the
15287 default ones is ok), move number inside FontBits. move inlines to
15290 * lyxfont.C: add number to initializaton of statics, move several
15291 inlines here. constify several local vars. some whitespace
15292 cleanup. Dont hide outerscope variables.
15294 * Spacing.h: add two new constructors to match the set methods.
15296 * ShareContainer.h: new file, will perhaps be moved to support
15298 * ParameterStruct.h: new file
15300 * ParagraphParameters.h: new file
15302 * ParagraphParameters.C: new file
15304 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15305 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15307 * BufferView_pimpl.C: ParagraphParameter changes.
15308 * buffer.C: Likewise.
15309 * bufferview_funcs.C: Likewise.
15310 * text.C: Likewise.
15311 * text2.C: Likewise.
15313 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15315 * lyxfind.C (LyXReplace): do not redefine default argument in
15317 (IsStringInText): ditto
15318 (SearchForward): ditto
15319 (SearchBackward): ditto
15321 2001-03-06 Juergen Vigna <jug@sad.it>
15323 * lyxfind.C (IsStringInText): put parentes around expressions.
15325 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15327 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15329 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15331 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15333 * stl_string_fwd.h: add comment
15335 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15338 * tabular.C: remove unused DocBook methods
15344 killed DO_USE_DEFAULT_LANGUAGE
15346 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * lyx_gui.C: do not include language.h.
15350 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15351 arguments in function implementation.
15353 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15355 * BufferView_pimpl.C: add <ctime>
15357 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15359 * BufferView_pimpl.C: add using std::find_if
15361 2001-02-27 José Matos <jamatos@fep.up.pt>
15363 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15366 2001-02-11 José Matos <jamatos@fep.up.pt>
15368 * buffer.C (makeDocBookFile): command styles now have a parameter as
15369 "title" by default.
15371 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15373 * layout_forms.[Ch]: removed
15374 * lyx_cb.[Ch]: out character
15375 * lyx_gui.C: out character
15376 * lyx_gui_misc.C: out character
15377 * bufferview_funcs.C: : out character,
15378 added toggleall as parameter in ToggleAndShow
15380 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15382 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15384 * text2.C (SetCurrentFont): Disable number property at boundary.
15386 2001-02-26 Juergen Vigna <jug@sad.it>
15388 * lyxfunc.C (getStatus): added a string argument override function so
15389 that this is correctly called from LyXFunc::Dispatch if it contains a
15390 do_not_use_argument which is used!
15391 (Dispatch): added check for "custom" export and call appropriate func.
15393 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15395 * lyxrc.C: Add language_command_local, language_use_babel and
15396 language_global_options.
15398 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15400 * buffer.C (makeLaTeXFile): Use language_use_babel and
15401 language_global_options.
15403 2001-02-23 Juergen Vigna <jug@sad.it>
15405 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15406 which works with LyXText and putted it inside BufferView. Here now we
15407 only call for that part the BufferView::Dispatch() function.
15409 * BufferView.C (Dispatch): added.
15411 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15412 functions which needs to use a LyXText over from LyXFunc.
15413 (MenuInsertLyXFile): added
15414 (getInsetByCode): added
15415 (moveCursorUpdate): added
15416 (static TEXT): added
15418 2001-02-22 Juergen Vigna <jug@sad.it>
15420 * BufferView_pimpl.C (update): call a status update to see if LyXText
15423 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15425 * vc-backend.C (revert): implement for CVS
15426 (getLog): implement for CVS
15428 2001-02-20 Juergen Vigna <jug@sad.it>
15430 * text2.C (ClearSelection): added BufferView param for inset_owner call
15432 * lyxfunc.C (TEXT): added this function and use it instead of
15433 directly owner->view()-text of getLyXText().
15435 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15437 * src/layout_forms.C: out preamble
15438 * src/layout_forms.h: out preamble
15439 * src/lyx_cb.C: out preamble
15440 * src/lyx_cb.h: out preamble
15441 * src/lyx_gui.C: out preamble
15442 * src/lyx_gui_misc.C: out preamble
15443 * src/lyxfunc.C: connect with guii preamble
15445 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15447 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15449 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15451 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15452 whether to run bibtex.
15454 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15456 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15458 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15460 * Makefile.am (lyx_SOURCES): removed bibforms.h
15462 * vspace.h: doxygen
15464 * text.C (GetVisibleRow): make several local vars const
15466 * tabular.C: small cleanup.
15468 * lyxserver.C (callback): use compare instead of strncmp
15470 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15471 inlines to after class or to paragraph.C
15473 * lyxfont.h: remove friend operator!=
15475 * converter.h: move friend bool operator< to non friend and after
15478 * combox.h: small cleanup
15480 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15481 to inlines after class def.
15483 * buffer.C (pop_tag): use string operations instead of strcmp
15485 * bmtable.c: doxygen, small cleanup
15487 * LaTeX.h: remove friend operator==
15489 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15501 * BufferView_pimpl.C:
15502 * BufferView.[Ch]: remove cruft
15504 2001-02-14 Juergen Vigna <jug@sad.it>
15506 * lyxfunc.C: removed #if 0 unused code
15508 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15510 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15512 * text2.C (SetSelection): added a BufferView * parameter
15514 2001-02-13 Juergen Vigna <jug@sad.it>
15516 * lyxfunc.C (Dispatch): fixed protected blank problem.
15517 * BufferView2.C (protectedBlank): added LyxText * parameter.
15519 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15520 (AppendColumn): same as above for column_info.
15522 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15523 (moveCursorUpdate): use a LyXText param for support of InsetText.
15525 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15526 (tripleClick): ditto
15528 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15530 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15532 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15534 * text2.C (SetSelection): set correct update status if inset_owner
15535 (ToggleFree): ditto
15537 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15539 * tabular.C: remove some commented code.
15541 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15543 * BufferView_pimpl.C: call hideSplash()
15545 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15548 * bibforms.h: remove
15551 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15552 add LFUN_CHILD_CREATE
15554 * counters.h: fix tiny typo
15559 * lyx.C: move splash to frontends/xforms/
15561 * lyx_gui_misc.C: move Include and Bibform to frontends
15563 * lyxvc.h: clarify comment
15565 * vspace.C: tiny housekeeping
15567 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15569 * text.C (PrepareToPrint): RTL Fix.
15571 * paragraph.C (GetUChar): New method.
15572 (String): Use GetUChar.
15574 * buffer.C (asciiParagraph): Use GetUChar.
15576 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15578 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15580 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15583 * buffer.C: rename to getLogName(), handle
15584 build log / latex log nicely
15586 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * MenuBackend.h: remove support for reference menuitem type.
15591 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15593 * BufferView_pimpl.C: housekeeping
15594 * BufferView_pimpl.h:
15599 * minibuffer.h: move Timeout GUI-I
15601 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15603 * lyxrc.C (read): Update converters data-structures.
15605 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15607 * LaTeX.h (operator!=): add operator != for Aux_Info
15609 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15611 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15613 * LaTeXLog.C: deleted, useful code moved to Buffer
15616 * buffer.C: new function getLatexLogName()
15622 * lyxfunc.C: use frontends for LaTeX and VC logs
15624 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15626 * LaTeX.h: yet another std:: that Allan forgot.
15628 * Variables.C (set): renamed from isset(), because this clashes
15629 with some HP-UX macros (grr).
15631 2001-02-06 Allan Rae <rae@lyx.org>
15633 * LaTeX.h: Another bug fix. Missing std:: this time.
15635 2001-02-04 Allan Rae <rae@lyx.org>
15637 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15638 floats problem. I've left it commented out because it's not quite
15639 correct. It should also test that the current object is a table or
15640 figure inset. But I haven't gotten around to figuring out how to do
15641 that. I *think* it'll be something like: "table" == inset.type()
15643 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15646 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15648 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15649 all the citation/databases/styles in the auxilary file.
15650 (run): Rerun latex if there was a babel language error.
15652 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15654 * text.C (Backspace): Preserve the font when changing newline char
15656 (BreakParagraph): If the cursor is before a space, delete the space.
15658 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15660 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15662 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15663 new argument (code).
15664 (ChangeCitationsIfUnique): New method.
15666 * paragraph.C (GetPositionOfInset): Handle bibkey.
15668 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15670 * BufferView_pimpl.h: change type of Position::par_pos to
15671 LyXParagraph::size_type.
15673 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15675 * BufferView_pimpl.C (savePosition, restorePosition): Write
15676 messages to minibuffer.
15678 2001-01-28 José Matos <jamatos@fep.up.pt>
15680 * buffer.C (makeDocBookFile): adds support for document language.
15681 A silly restriction on the name of LatexCommand types where removed.
15682 Added support for CDATA sections, allows to chars unescaped, used
15683 among others in code, to avoid escape < and >.
15685 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15687 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15688 saved positions instrad of a stack. Furthermore, a position is
15689 stored using paragraph id/paragraph position.
15691 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15692 Remove LFUN_REF_BACK.
15694 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15696 * converter.C (dvipdfm_options): New method.
15698 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15700 * vspace.C (isValidLength): Fix for empty input string.
15702 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * LyXAction.C (init): change description of LFUN_FIGURE to
15707 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15709 * LaTeX.C: add using directive
15711 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15713 * MenuBackend.C (expand): Fix the sorting of the formats.
15715 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15717 * lyx_main.C: tiny error message fix
15719 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15722 calling fl_initialize(). This fixes the problem with ',' as
15723 decimal separator in text files.
15725 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15727 * trans.C (process): Fix the keymap bug.
15729 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15731 * LaTeX.C (scanAuxFiles): New method. Provides support for
15732 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15733 (scanLogFile) Scan for "run BibTeX" messages.
15735 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15736 OT1 font encoding. Also, load the aecompl package if the ae
15739 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15741 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * texrow.C (increasePos): turn two error messages into debug
15746 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15748 * LaTeX.C (scanAux): Handle the \@input macro.
15749 (runBibTeX): Use scanAux().
15751 * language.C (latex_options_): New field.
15753 * LaTeXFeatures.C (getMacros): Add language macros.
15755 * buffer.C (makeLaTeXFile): Small fix.
15757 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15761 * text2.C: add a using directive.
15763 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15768 * lyxfunc.C: kill LyXBell.
15770 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15772 * text.C (IsBoundary): Remove the error message
15774 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15776 * lyxrc.C (setDefaults): Correct initialization value for
15779 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15781 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15784 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15785 and GotoNextNote().
15787 * src/LyXAction.C: Added reference-next.
15789 * text.C (InsertChar): Use contains instead of strchr.
15791 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15793 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15795 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15796 alignment commands (when needed).
15798 * text.C (InsertChar): Add ':' to number separator chars.