1 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 Fix toggling of collapsable insets with the mouse (bug 1558)
5 * lyxfunc.C (dispatch): adapt to LCursor changes
7 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
8 make sure that dispatch is not invoked twice
10 * cursor.C (needsUpdate): new method
11 (dispatch): return void
12 (result): new method, to access the DispatchResult of the cursor.
14 2004-08-13 José Matos <jamatos@lyx.org>
16 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
18 2004-08-13 André Pönitz <poenitz@gmx.net>
20 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
22 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
25 2004-08-12 André Pönitz <poenitz@gmx.net>
27 * text3.C: take out the 'cursor right' form insertInset and only
28 do it in those places when it is really needed. Fixes crash on
31 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
35 * BufferView_pimpl.C (setBuffer): initialize the current font of
36 the underlying LyXText
38 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * kbsequence.C (print): use UI native formatting for menu
43 * text.C (insertChar): call Paragraph::insertChar with a font
46 * paragraph.C (insertInset, insertChar): the version that takes a
47 LyXFont argument is now a wrapper around the other one (the
48 opposite used to be true).
50 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
51 argument. Font setting is done in Paragraph now.
53 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * outputparams.h: add new members intitle and lang.
57 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
58 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
60 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * text3.C (dispatch): remove special handling of button 4 and 5,
63 it is now taken care of in the frontend code.
65 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
67 * Spacing.h: add <string> (STLPort compile fix)
69 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
71 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
73 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
75 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
78 * converter.C (showMessage): inherit from unary_function, make
81 * buffer.C (writeFile): initialize retval
83 * InsetList.h: rename private variable list to list_
84 * InsetList.[Ch]: adjust accordingly.
86 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
88 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
89 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
90 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
91 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
92 * ParagraphParameters.C, LaTeXFeatures.C: replace
93 "support/std_sstream.h" with <sstream>
95 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
97 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
98 * lyxsocket.C (LyXServerSocket): ditto
99 (serverCallback): ditto
101 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
103 * LaTeXFeatures.C: check release date when loading jurabib.
105 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
107 * lyxserver.C (startPipe): call register_socket_callback
108 (endPipe): call unregister_socket_callback
110 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
112 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
113 (LyXServerSocket): register the callback
114 (LyXServerSocket): unregister the callback
115 (fd): delete function
116 (serverCallback): improve error checking and setup the callbacks.
117 (dataCallback): change arg to fd.
118 (writeln): new func (copied fro the client socket) used for server
120 (LyXDataSocket): simplify
121 (~LyXDataSocket): close ann unregiser callback
122 (server): delete function
123 (fd): delete function
124 (readln): small changes, improve some std::string usage
125 (writeln): constify a bit
127 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
132 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * BufferView_pimpl.C (setBuffer): set the layout combox value only
135 after it has been populated
137 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * text2.C (insertInset): move cursor when inserting inset.
141 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * kbmap.C (findbindings): a couple of new methods. returns a
144 container of kb_sequence objects. The real work is done by the
145 private recursive version
146 (printbindings): uses findbindings to print out a bracketed list
147 of bindings (renamed from findbinding).
149 * MenuBackend.C (binding): use kb_keymap::findbindings
151 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
153 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
157 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * paragraph.C (isWord): return true on insets that report
162 * text.C (getWord): use Paragraph::isWord to decide what is in a
163 word and what is not; fix bug 1609.
165 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
167 * tex-strings.C: add "none" to string_paperpackages[], fixes
168 off-by-one-error in the paperpackage selection.
171 * tex-strings.[Ch]: char const * string[n]
172 -> char const * const string[]
174 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
177 command, return early.
179 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * debug.h: add DEBUG to enum and fix size of ANY.
183 * debug.C: add support for Debug::DEBUG
184 (showTags): cast errorTags.level to unsigned int
186 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
187 (redoCurrentBuffer): ditto
188 (updateScrollbar): ditto
189 * cursor.C (dispatch): ditto
190 * text2.C (setLayout): ditto
192 (updateCounters): ditto
194 (deleteEmptyParagraphMechanism): ditto
196 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
198 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
199 annotations to cleanup the Makefile slightly.
201 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * lyxrc.C: do not set user_email to a default value but use empty
204 instead. The entry used to be translated, which does not work
205 since at the point where lyxrc is constructed there is no
206 translation service available
208 * messages.C (getLocaleDir): remove and use directly
209 lyx_localedir() instead
211 2004-06-02 Angus Leeming <leeming@lyx.org>
213 Fix crash caused by dereferencing null pointer 'exportdata' in
214 OutputParams by creating a new ExportData variable on the heap,
215 storing it in a boost::shared_ptr.
216 The crash was triggered when generating an Instant Preview
217 of an external inset.
219 * Makefile.am: add outputparams.C
221 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
222 (c-tor): allocate memory to it.
224 * exporter.C (c-tor): associated changes.
226 2004-06-01 Angus Leeming <leeming@lyx.org>
228 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
229 contains data before calling isInset(0). (Bug 1513.)
231 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * exporter.C (checkOverwrite): new method
234 * exporter.C (copyFile): new method
235 * exporter.C (Export): copy referenced files to the document dir
236 * exporter.[Ch]: new class ExportedFile
237 * exporter.[Ch]: new class ExportData. Contains currently the
238 names of referenced external files
239 * outputparams.h: add exportdata member.
241 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
243 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
246 2004-05-19 Angus Leeming <leeming@lyx.org>
251 * lyxfunc.C: small changes due to the introduction of namespace
252 lyx::frontend and the moving of namespace biblio to lyx::biblio.
254 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
256 * text3.C (dispatch): supress update when only moving the cursor
257 * cursor.C (selHandle): remove commented code
259 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * paragraph.C (startTeXParParams): correct column count
262 * CutAndPaste.C (pasteSelection): remove const_cast
263 * output_docbook.C (docbookParagraphs): remove const_cast
264 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
265 const_cast and return ParagraphList::const_iterator
266 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
267 * output_plaintext.C (writeFileAscii): remove const_cast
268 * paragraph.[Ch] (simpleTeXOnePar): make const
269 * paragraph_funcs.C (outerPar): use const iterators
270 * paragraph_pimpl.C (validate): use const iterators
271 * text.C (setHeightOfRow): use const iterators
273 2004-05-17 Angus Leeming <leeming@lyx.org>
276 * LyXAction.C (init): new LFUN_INSET_REFRESH.
278 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
279 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
280 if the citation engine has changed.
282 2004-05-14 José Matos <jamatos@lyx.org>
284 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
285 if the textclass does not provide it. Have it different for sgml and
287 support the language of document.
288 * output_docbook.C (docbookParagraphs):
289 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
290 first anchor as the id of the paragraph, remove special case code.
291 * sgml.C (escapeChar): escape only < & >.
293 2004-05-14 Angus Leeming <leeming@lyx.org>
295 * bufferparams.h: move biblio::CiteEngine enum here to minimize
296 dependencies on src/frontends/controllers/biblio.h. Define a
297 CiteEngine_enum wrapper class to enable the enum to be forward
300 2004-05-12 Angus Leeming <leeming@lyx.org>
302 * buffer.C: up LYX_FORMAT to 234.
303 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
304 use_numerical_citations with a single biblio::CiteEngine cite_engine
306 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
308 2004-05-13 José Matos <jamatos@lyx.org>
311 * converter.C (Converter, readFlags): add xml member.
312 * outputparams.h: add XML flavor.
313 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
315 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * lyxfunc.C (dispatch):
318 (getStatus): fix handling of LFUN_SEQUENCE
320 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * debug.C (showLevel): do not forget the end-of-line marker
324 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * kbmap.C (read): do not stop parsing a bind file when an error
329 2004-04-29 Angus Leeming <leeming@lyx.org>
334 * text2.C: wrap a bunch of #warning statements
335 inside #ifdef WITH_WARNINGS blocks.
337 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * buffer.C: increment format to 233.
341 2004-04-28 Angus Leeming <leeming@lyx.org>
343 * BufferView_pimpl.C:
346 s/updateToolbar()/updateToolbars()/
347 s/Toolbar.h/Toolbars.h/
349 2004-04-28 Angus Leeming <leeming@lyx.org>
351 * BufferView.[Ch] (c-tor):
352 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
353 No longer passes these data to the WorkArea generator.
355 2004-04-28 Angus Leeming <leeming@lyx.org>
357 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
359 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
361 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
363 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * output_latex.C (TeXEnvironment): make sure that there is a line
366 break before \end{foo} for the last paragraph of a document
367 (TeXOnePar): if the paragraph is at the end of the document (or
368 inset) and the language has to be reset, then make sure that the
369 line break is _before_ the language command, not after (fixes bug
370 1225); also make sure that the language reset command is the first
371 thing after the paragraph (to ensure proper nesting of
372 environments and thus fix bug 1404)
374 2004-04-21 John Levon <levon@movementarian.org>
377 * ToolbarBackend.C: make "name" be a programmatic name
378 and a gui_name field.
380 * lyxfunc.C: display the minibuffer on M-x
382 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
387 2004-04-19 Angus Leeming <leeming@lyx.org>
389 * BufferView_pimpl.C (setBuffer): changed preview interface.
391 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
394 2004-04-19 John Levon <levon@movementarian.org>
396 * BufferView_pimpl.C:
397 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
399 2004-04-05 Angus Leeming <leeming@lyx.org>
401 * text.C (redoParagraphs): add call to updateCounters(), thereby
402 fixing the missing "Figure #:" label from the caption of a
405 2004-04-13 Angus Leeming <leeming@lyx.org>
407 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
408 cursor is clicked out of an inset.
410 2004-04-13 Angus Leeming <leeming@lyx.org>
412 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
413 than an InsetOld one.
415 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
417 * format.[Ch]: add editor to Format
418 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
419 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
421 2004-04-08 André Pönitz <poenitz@gmx.net>
423 * metricsinfo.h: remove PainterInfo::width member
425 2004-04-08 Angus Leeming <leeming@lyx.org>
427 * lyx_sty.C (boldsymbol_def): modify so that it outputs
428 "\providecommand" rather than "\newcommand", thereby preventing
429 clashes with packages that define "\boldsymbol" themselves.
432 2004-04-08 Angus Leeming <leeming@lyx.org>
434 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
435 thereby squashing an unnecessary warning.
437 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
439 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
442 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
444 * BufferView.C (setCursor): call redoParagraph (some insets could
446 (putSelectionAt): remove the 'double update' trick
448 * BufferView_pimpl.C (fitCursor): call refreshPar
449 (workAreaDispatch): remove an uneeded update call
450 (dispatch): remove some manual update calls
452 * cursor.[Ch]: remove cached_y_, updatePos
453 (selHandle): set noUpdate when appropriate
455 * lyxfunc.C (dispatch): track if we need an update
457 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
459 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
460 (paintSelection): cheap optimization, do not call cursorX when not
462 (paintPars): change signature
465 (paintTextInset): adjust
469 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lengthcommon.C: compilation fix: remove explicit array size from
472 unit_name[] and friends
474 2004-04-05 Angus Leeming <leeming@lyx.org>
476 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
478 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
479 present only for the preferences dialog.
480 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
482 2004-04-05 Angus Leeming <leeming@lyx.org>
484 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
485 to enable the frontends to export changes to lyxrc correctly.
487 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
489 2004-04-07 André Pönitz <poenitz@gmx.net>
491 * cursor.[Ch] (selClear, adjust): remove math
493 * cursor_slice.C: more agressive assert
496 * BufferView_pimpl.C: rework mouse event dispatch
503 2004-04-05 André Pönitz <poenitz@gmx.net>
505 * cursor.[Ch] (valign, halign...): remove unneeded functions
507 2004-04-05 Angus Leeming <leeming@lyx.org>
509 * lyxlength.[Ch] (unit_name et al.): const-correct.
511 2004-04-05 Angus Leeming <leeming@lyx.org>
513 * BufferView_pimpl.C:
522 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
524 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
526 * text3.C (getStatus): add LFUN_BEGINNINGBUF
528 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
530 * lyxfind.C: add a couple of inTexted() tests + other small fixes
531 * BufferView_pimpl.[Ch] (getStatus)
532 * BufferView.[Ch] (getStatus): add
533 * lyxfunc.C (getStatus): move lfuns handled in
534 BufferView::dispatch to te function above
535 * Cursor.C (setSelection): set selection() = true
537 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
539 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
541 2004-03-31 Angus Leeming <leeming@lyx.org>
543 * lyxfunc.C (dispatch): Fall through to the generic
544 Dialogs::show("preamble").
546 2004-03-31 Angus Leeming <leeming@lyx.org>
548 * lyxfunc.C (dispatch): Fall through to the generic
549 Dialogs::show("spellchecker").
551 2004-03-31 Angus Leeming <leeming@lyx.org>
553 * lyxfunc.C (getStatus, dispatch): changed invocation of the
556 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
561 * insetiterator.[Ch]:
566 * undo.[Ch]: s/DocumentIterator/DocIterator/g
568 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
570 * BufferView.C (setCursor, putSelectionAt): call edit to open the
571 insets where we are putting the cursor.
573 2004-03-31 Angus Leeming <leeming@lyx.org>
576 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
578 * lyxrc.[Ch] (read, write): overloaded member functions taking
579 a std::[io]stream arguments.
581 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
583 2004-03-31 Angus Leeming <leeming@lyx.org>
585 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
586 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
588 * lyxtextclass.C (load): if the text class couldn't be loaded, then
589 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
591 2004-03-31 Angus Leeming <leeming@lyx.org>
593 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
594 the LFUN_ALL_INSETS_TOGGLE code.
596 2004-03-30 Angus Leeming <leeming@lyx.org>
598 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
599 has died. Fall through to the generic Dialogs::show("document").
601 2004-03-30 Angus Leeming <leeming@lyx.org>
604 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
605 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
607 * lyxfunc.C (getStatus, dispatch): define the actions for these
608 lfuns. Little more than a cut and pste job from ControlDocument.C
610 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
612 2004-03-30 Angus Leeming <leeming@lyx.org>
615 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
616 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
618 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
619 open/closed state of ollapsable insets. Usage:
621 all-inset-toggle <state> <name>, where
622 <state> == "open" || "closed" || "toggle" and
623 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
625 * lyxtext.h, text2.C (toggleInset): removed.
627 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
628 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
629 now passes LFUN_INSET_TOGGLE to the found inset.
631 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
632 is now invoked as "all-insets-toggle toggle branch".
634 2004-03-30 Angus Leeming <leeming@lyx.org>
638 * pariterator.[Ch]: added/corrected header blurb.
640 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
642 * dociterator.[Ch]: add an inset_ member
643 (backwardPos): implemented
644 (backwardPos, forwardPos): use inset_ when the stack is empty.
645 (doc_iterator_begin, doc_iterator_end): implemented
646 * pariterator.[Ch]: adjust, add begin, end
647 * insetiterator.[Ch]: adjust, add begin, end
651 * BufferView_pimpl.C:
652 * CutAndPaste.C: adjust
654 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
656 * buffer.C: increment file format to 232.
657 * LaTeXFeatures.C: add bibtopic package.
658 * bufferparams.[Ch]: param \use_bibtopic.
660 * lyxrc.[Ch]: add lyxrc bibtex_command
661 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
663 * buffer.C: increment file format to 231.
665 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
667 * dociterator.C: implement forwardPar
668 * iterators.[Ch]: remove, replaced by
669 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
671 * BufferView_pimpl.C:
674 * bufferview_funcs.C:
680 * Makefile.am: adjust
682 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
684 * CutAndPaste.C (pasteSelection): fix 2 crashes
685 (eraseSelection): fix a crash
686 * paragraph_funcs.C: remove a warning
688 2004-03-28 Angus Leeming <leeming@lyx.org>
691 * LyXAction.C (init): new LFUN_PRINT.
693 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
695 2004-03-27 Angus Leeming <leeming@lyx.org>
698 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
700 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
702 2004-03-27 Angus Leeming <leeming@lyx.org>
704 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
705 insetlist always contains non-null pointers to insets.
707 2004-03-26 Angus Leeming <leeming@lyx.org>
709 * src/BufferView_pimpl.C:
713 * src/output_plaintext.C:
714 * src/outputparams.h:
715 * src/paragraph_funcs.C:
719 * src/frontends/controllers/ControlErrorList.C:
720 * src/frontends/gtk/FileDialogPrivate.C:
721 * src/frontends/gtk/GPainter.C:
722 * src/frontends/gtk/GToolbar.C:
723 * src/frontends/qt2/QRef.C:
724 * src/mathed/math_scriptinset.C: squash compiler warnings.
726 2004-03-26 Angus Leeming <leeming@lyx.org>
728 * ispell.C (LaunchIspell::start):
729 * lyx_cb.C (AutoSaveBuffer::start):
730 invoke run(DontWait) rather than runNonBlocking().
732 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
734 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
736 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
738 * kbsequence.C (print): adjust
740 * kbmap.C (printKeySym): rename and change signature
741 (printKey): use LyXKeySym::print()
743 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
745 * undo.C: add using std::advance to compile for stlport
747 2004-03-24 Angus Leeming <leeming@lyx.org>
749 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
750 it leads to a crash when no buffer is present.
752 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 Martin Vermeer <martin.vermeer@hut.fi>
755 * lyxfunc.C (dispatch):
756 * bufferparams.C (readToken): use the new LColor::setColor
758 * LColor.[Ch] (setColor): new version that takes two strings as
759 argument and creates a new color entry if necessary
761 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
763 * buffer.C (makeLaTeXFile): if the main latex file that is
764 processed is usually a subdocument of some master, then pretend
765 for a while that it is actually the master
767 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
769 * buffer.C (getLabelList):
770 (getBibkeyList): use getMasterBuffer()
771 (getMasterBuffer): new method. Returns the main document in the
772 case where one is using included documents.
774 2004-03-25 André Pönitz <poenitz@gmx.net>
778 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
780 * ParagraphList_fwd.h: change ParagraphList to a std::vector
782 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
783 text*.C over here. Rename namespace CutAndPaste to lyx::cap
785 * ParameterStruct.h: merge with ParagraphParameters
787 * lyxtext.h: remove LyXText::parOffset() and getPar()
789 * text3.C: Remove all 'manual' update calls. We do now one per user
790 interaction which is completely sufficient.
794 * BufferView_pimpl.C:
797 * ParagraphParameters.[Ch]:
809 * output_docbook.[Ch]:
811 * output_linuxdoc.[Ch]:
812 * output_plaintext.[Ch]:
814 * paragraph_funcs.[Ch]:
815 * paragraph_pimpl.[Ch]:
823 * frontends/controllers/ControlDocument.C:
824 * frontends/controllers/ControlErrorList.C:
825 * frontends/controllers/ControlSpellchecker.C:
828 * insets/insetbase.h:
829 * insets/insetbibitem.C:
831 * insets/insetbranch.C:
832 * insets/insetcaption.C:
833 * insets/insetcharstyle.C:
834 * insets/insetcharstyle.h:
835 * insets/insetcollapsable.C:
836 * insets/insetcollapsable.h:
838 * insets/insetfloat.C:
839 * insets/insetfoot.C:
840 * insets/insetmarginal.C:
841 * insets/insetnote.C:
842 * insets/insetoptarg.C:
843 * insets/insettabular.C:
844 * insets/insettext.C:
845 * insets/insettext.h:
846 * insets/insetwrap.C:
847 * mathed/math_mboxinset.C:
848 * mathed/math_nestinset.C:
849 * mathed/math_scriptinset.C:
850 * mathed/math_scriptinset.h:
853 2004-03-24 Angus Leeming <leeming@lyx.org>
855 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
856 deal with any child processes that have finished but are waiting to
857 communicate this fact to the rest of LyX.
859 2004-03-24 Angus Leeming <leeming@lyx.org>
861 64-bit compile fixes.
863 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
864 (c-tor): pass lyx::pos_types rather than ints.
866 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
869 * text.C (Delete): compile fix.
870 (getPar): ensure that function declaration is the same as that in
873 2004-03-23 Angus Leeming <leeming@lyx.org>
875 * ispell.C (LaunchIspell):
876 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
877 a boost::shred_ptr rather than a std::auto_ptr.
879 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * lyxfunc.C (getStatus): handle read-only buffers correctly;
882 handle LFUN_FILE_INSERT_*
884 * lyxrc.C (setDefaults, getDescription, output, read):
885 * lyxrc.h: remove ps_command
887 2004-03-22 Angus Leeming <leeming@lyx.org>
889 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
890 Ensure that error_handler is processed once only and that all data
891 is saved before attempting to output any warning messages.
893 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
895 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
897 * tabular.C (TeXRow): crash fix (from Kayvan and André)
899 2004-03-19 André Pönitz <poenitz@gmx.net>
901 * cursor.[Ch] (reset): take main text inset as argument
904 * BufferView_pimpl.C: adjust
906 * paragraph.[Ch]: fix completely broken operator=()
908 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * LColor.C (getFromLyXName): make sure that the color name is used
913 2004-03-17 Angus Leeming <leeming@lyx.org>
916 * LyXAction.C (init): remove LFUN_FORKS_KILL.
918 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
919 dialog and to kill a forked process.
921 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
923 * text2.C (setCursorFromCoordinates): fix font problem
925 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
927 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
928 bogus "rebuild cursor" code
930 2004-03-11 André Pönitz <poenitz@gmx.net>
932 * buffer.[Ch]: use InsetText instead of LyXText as container for
935 * dociterator.[Ch]: drop the BufferView * member which is not needed
936 anymore after the change to buffer.C
942 * BufferView_pimpl.[Ch]:
944 * cursor_slice.[Ch]: adjust
946 * text3.C: fix bug in mathDispatch
948 2004-03-08 André Pönitz <poenitz@gmx.net>
950 * undo.[Ch]: use 'StableDocumentIterator' as base for
953 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
956 * bufferparams.[Ch]: add jurabib support and param.
958 * LaTeX.C: add FIXME/comment.
960 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
962 * buffer.C: increment file format to 230.
964 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
966 * cursor.C (dispatch): avoid infinite loops
968 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
970 * rowpainter.C (paintSelection): fix x coordinates
972 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
974 * text.C (rowBreakPoint): fix breaking before displayed insets
976 2004-03-01 André Pönitz <poenitz@gmx.net>
978 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
980 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
984 * BufferView_pimpl.C:
992 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
998 * BufferView_pimpl.C: rename textwidth -> maxwidth,
999 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1001 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1003 * Bidi.[Ch] (computeTables): const correctness
1004 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1005 fill_hfill, fill_label_hfill and x from Row
1006 * lyxtext.h: prepareToPrint returns a RowMetrics
1007 * rowPainter.C: adjust
1008 * text.C (prepareToPrint): use width, not textWidth. adjust
1009 (redoParagraphInternal, cursorX): adjust
1010 * text2.C (getColumnNearX): adjust
1011 (init): put a default value to the top LyXText::width
1013 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1015 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1017 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1019 * lyxtext.h: add FontIterator class
1021 * text.C (FontIterator, operator*, operator->, operator++): add
1022 (rowBreakPoint, setRowWidth): adjust (fixing a
1025 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * BufferView_pimpl.C (workAreaDispatch): allow also
1028 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1030 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1032 * text.C (rowBreakPoint): fix a bug showing with very large insets
1034 2004-02-25 André Pönitz <poenitz@gmx.net>
1037 * cursor.[Ch]: move some mathed specific code to mathed
1039 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1041 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1042 use_tempdir in preferences
1043 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1045 * lyx_main.C: ensure that tempdir is valid
1046 * lyxlex.h: correct typo
1047 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1048 * paragraph.[Ch] (isMultiLingual): make const
1049 * cursor.[Ch] (openable): make const
1051 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1053 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1055 2004-02-20 André Pönitz <poenitz@gmx.net>
1057 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1059 * cursor.[Ch]: prepare for localized getStatus()
1065 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1067 2004-02-20 André Pönitz <poenitz@gmx.net>
1069 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1071 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1073 * text2.C (setCursorFromCoordinates): switch to absolute coords
1075 (cursorDown): adjust
1076 * text3.C (dispatch): adjust
1078 2004-02-16 André Pönitz <poenitz@gmx.net>
1080 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1083 * cursor_slice.[Ch]: remove unneeded acessor function
1085 * lyxtext.h: rename rtl() to isRTL()
1093 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1095 * rowpainter.C (paintSelection): coord fix
1097 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * Spacing.C: compile fix
1101 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1103 * cursor.C (dispatch): restore current_ before returning
1105 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1107 * text2.C (cursorUp, cursorDown): fix coords
1110 2004-02-12 André Pönitz <poenitz@gmx.net>
1115 * text3.C: add LCursor & parameter to most cursor movement functions
1116 remove usage of LyXText::cursorRow() and cursorPar()
1118 * cursor.[Ch]: add textRow() needed members
1121 * BufferView_pimpl.C:
1124 * BufferView_pimpl.C: adjust
1126 2004-02-11 André Pönitz <poenitz@gmx.net>
1130 * BufferView_pimpl.C: shift undo/redo handling
1132 * cursor.[Ch]: fix mathed crash
1135 * lyxtext.h: move selectionAsText to LCursor
1143 * rowpainter.C: fix excessive drawing
1145 2004-02-06 André Pönitz <poenitz@gmx.net>
1148 * BufferView_pimpl.[Ch]:
1149 * text3.C: move some text specific LFUN handling
1151 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1153 * text3.C (checkInsetHit): adjust coords
1154 * text2.C (getColumnNearX): adjust coords
1155 (edit): adjust coords
1156 * text.C (getRowNearY): add two asserts
1158 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1161 * format.C: add using std::distance to compile on gcc 2.95/stlport
1163 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1165 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1167 2004-02-04 André Pönitz <poenitz@gmx.net>
1169 * BufferView.[Ch] (insertInset):
1170 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1175 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1177 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1178 on the default clause of the switch
1179 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1180 wasn't catched by LCursor::dispatch
1182 2004-02-03 André Pönitz <poenitz@gmx.net>
1185 * cursor.[Ch]: some additional asserts
1187 * undo.[Ch]: remove LyXText dependency in interface
1191 * lyxtext.h (firstPar, lastPar): remove dead functions
1196 * paragraph.[Ch]: adjust
1198 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1200 * lyxfind.C (find): fix argument order in call to ::find
1202 2004-02-02 André Pönitz <poenitz@gmx.net>
1204 * cursor.[Ch]: remove direct access to anchor
1206 * text.C: remove findText() hack
1208 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1210 * iterators.[Ch] (lockPath): remove in favour of...
1211 * BufferView.[Ch] (setCursor): this addition
1212 * BufferView.C (putSelectionAt): adjust
1213 * undo.C (performUndoOrRedo): adjust
1214 * lyxfunc.C (dispatch): adjust
1216 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1218 * iterators.C (lockPath): add a missing slice
1219 * undo.C (performUndoOrRedo): remove redundant positioning code
1221 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1223 * vc-backend.C (scanMaster): ";" -> ';'
1225 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1227 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1228 std::binary_function
1230 * lyxtextclass.C (compare_name): rename to...
1231 (LayoutNamesEqual): ...this
1233 * lyxlex_pimpl.C (compare_tags): inherit from
1234 std::binary_function, put back into anon namespace
1236 * lyxfind.C (MatchString): inherig from std::binary_function
1237 (findChange): use empty() istead of !size()
1239 * format.C (FormatNamesEqual): new functor
1246 * converter.C (compare_Converter): rename to...
1247 (ConverterEqual): ...this, and fixup a bit.
1248 (getConverter): use it, and make function const
1249 (getNumber): use it, and make function const
1253 * bufferlist.C: add using boost::bind
1255 * MenuBackend.C (MenuNamesEqual): new functor
1256 (hasMenu): use it, and make function const
1257 (hasSubmenu): use nested bind to get rid of compare_memfun.
1259 2004-01-30 André Pönitz <poenitz@gmx.net>
1261 * BufferView_pimpl.C:
1264 * cursor_slice.[Ch]:
1267 * paragraph_funcs.C:
1268 * paragraph_funcs.h:
1272 * text3.C: move some of the edit(x,y) handling to the insets
1273 some coordinate changes.
1275 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1277 * text.C: add using statements for std::advance and std::distance
1279 * paragraph.C: add using statement for std::distance
1281 * lyxfind.C: add using statement for std::advance
1283 * cursor.C (region): remove std:: from swap
1284 (openable): use nucleus in stead of operator->
1286 * BufferView.C: add using statements for std::distance and std::swap
1288 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1290 * iterators.C: Remove the pimple, move the needed structures to
1291 the header file. Create accessor for the positions stack.
1292 (asPosIterator): remove function
1294 * PosIterator.C (PosIterator): move constructors to top of file
1295 (PosIterator): reimplement the constructor taking a ParIterator in
1297 (setFrom): new function
1298 (operator!=): inline it
1300 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1302 * lyxfind.C (replaceAll): use std::advance
1304 * iterators.h: inherit from std::iterator.
1306 * PosIterator.C (advance, distance): remove
1307 * PosIterator.h: interit from std::iterator.
1309 2004-01-26 André Pönitz <poenitz@gmx.net>
1312 * BufferView_pimpl.[Ch]:
1316 * bufferview_funcs.C:
1326 * output_linuxdoc.C:
1327 * output_plaintext.C:
1329 * paragraph_funcs.[Ch]:
1330 * paragraph_pimpl.[Ch]:
1336 * text3.C: more IU: dumps most of the rest of the mathcursor
1337 implementation into cursor.[Ch]; "globalize" a bit of it.
1339 2004-01-25 Angus Leeming <leeming@lyx.org>
1341 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1343 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1345 * LaTeXFeatures.h: add nice_ and nice() const
1346 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1348 2004-01-20 André Pönitz <poenitz@gmx.net>
1351 * BufferView_pimpl.C:
1353 * bufferview_funcs.C:
1355 * cursor_slice.[Ch]:
1366 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1367 LCursor and mathcursor parts to LCursor and InsetBase.
1369 2004-01-15 André Pönitz <poenitz@gmx.net>
1371 * cursor_slice.[Ch]: add a few covienience functions
1373 * funcrequest.[Ch]: remove BufferView * member
1375 * BufferView_pimpl.C:
1382 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1384 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1386 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1387 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1389 2004-01-13 André Pönitz <poenitz@gmx.net>
1392 * lyxtext.h: hide cursor and selection anchor behind accessor function
1395 * BufferView_pimpl.[Ch]:
1397 * bufferview_funcs.C:
1407 * cursor_slice.[Ch]: some integer type changes for inset unification
1409 * lyxcursor.[hC]: remove, it's CursorSlice now.
1412 * BufferView_pimpl.[Ch]:
1413 * bufferview_funcs.C:
1419 * textcursor.[Ch]: adjust
1421 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1423 * text2.C (undoSpan): add and use
1424 * text.C (breakParagraph): use undoSpan (fix bug 578)
1427 2004-01-08 Angus Leeming <leeming@lyx.org>
1429 * BufferView_pimpl.C (MenuInsertLyXFile):
1430 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1431 * lyxfunc.C (menuNew, open, doImport):
1432 FileFilterList change to the FileDialog open and save functions.
1434 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1436 * ShareContainer.h: make isEqual and isUnique adaptable
1438 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1440 2004-01-07 Angus Leeming <leeming@lyx.org>
1443 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1445 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1447 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1448 functions replacing find, replace and replaceAll.
1450 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1451 LFUN_WORDFIND(FORWARD|BACKWARD).
1453 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1455 * text.C (breakParagraph): remove an outdated #warning
1457 2004-01-07 André Pönitz <poenitz@gmx.net>
1459 * lyxfind.C: somewhat clearer logic
1461 * text.C: prevent crash in cursorX on unitialized row cache
1463 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1465 * lyxcursor.[Ch] (operator>): add
1466 * textcursor.C (selStart, selEnd): use std::min and std::max
1468 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1470 * Chktex.C: include boost/format.hpp
1472 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1474 * InsetList.C: replace functor MathcIt with adaptable functor
1476 (insetIterator): modify accordingly
1478 * BranchList.h: move the BranchNamesEqual functor here from...
1479 * BranchList.C: ... to here
1481 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1483 (add): replace a finding loop with std::find_if.
1485 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1487 * output_docbook.C: moving LatexParam functionality into
1490 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1492 * buffer.C: increment format to 229.
1494 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1497 * lyx_sty.[Ch]: remove minipageindent_def
1503 * text3.C: remove LFUN_INSET_MINIPAGE
1505 2003-12-28 Angus Leeming <leeming@lyx.org>
1507 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1509 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1511 * text2.C (setParagraph): fix off-by-one crash
1513 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1515 * output_docbook.C: header stuff for AGU
1517 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1519 * text2.C (redoCursor): remove
1522 * BufferView_pimpl.C: remove calls to redoCursor and
1523 setCursor(cursor.par(), cursor.pos()) all around
1525 2003-12-15 Angus Leeming <leeming@lyx.org>
1527 * buffer.C: up the format to 228.
1529 2003-12-15 André Pönitz <poenitz@gmx.net>
1531 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1536 * BufferView_pimpl.C:
1545 2003-12-15 Angus Leeming <leeming@lyx.org>
1547 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1548 than getFromGUIName to manipulate the color.
1550 2003-12-14 Angus Leeming <leeming@lyx.org>
1552 * BranchList.[Ch]: minimize the API.
1553 (Branch::getBranch, getColor): now return a 'const &'.
1554 (Branch::setSelected) now returns a bool set to true if the
1555 selection status changes.
1556 (BranchList::clear, size, getColor, setColor, setSelected,
1557 allBranches, allSelected, separator): removed.
1558 (BranchList::find): new functions, returning the Branch with
1560 (BranchList::add, remove): return a bool indicating that
1561 the operation was successful.
1563 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1564 new InsetBranch::isBranchSlected member function.
1566 * LColor.[Ch]: mimimize the API.
1567 (fill): renamed as addColor and made private.
1568 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1569 versions of these functions taking a string arg have been removed.
1571 * bufferparams.C (readToken):
1572 * lyxfunc.C (dispatch):
1573 * lyxrc.C (read): changes due to the altered BranchList and
1576 * factory.C (createInset, readInset): changes due to altered
1579 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1582 * lyxfunc.C: remove insetminipage. "minipage-insert"
1583 now produces a frameless minipage box inset.
1585 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1587 * textcursor.[Ch] (selStart,selEnd): add new methods
1588 remove selection::start, end, use LyXCursor::operator<
1589 * lyxcursor.[Ch] (operator<): add
1590 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1591 * BufferView.[Ch] (unsetXSel): add
1592 * text2.C (clearSelection): use unsetXSel,adjust
1595 * rowpainter.C: adjust
1596 * bufferview_funcs.C (put_selection_at): adjust
1598 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1600 * BufferView_pimpl.C: small coord. correction
1602 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1604 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1605 dragging over the splash screen.
1607 2003-12-11 Angus Leeming <leeming@lyx.org>
1609 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1610 as it is now handled in LyXText::dispatch.
1612 * text3.C (doInsertInset): remove a level of nesting.
1614 2003-12-11 Angus Leeming <leeming@lyx.org>
1616 * factory.C (createInset): changes due to the changed interface to
1617 InsetCommandMailer::string2params.
1619 2003-12-10 Angus Leeming <leeming@lyx.org>
1621 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1622 'dialog-show-new-inset <inset name>'
1624 2003-12-10 Angus Leeming <leeming@lyx.org>
1626 * buffer.C: up the format to 227.
1628 * factory.C: the box inset is now identified simply by 'Box'.
1630 2003-12-10 Angus Leeming <leeming@lyx.org>
1632 * buffer.C: up the format to 226.
1634 * factory.C: the note inset is now identified simply by 'Note'.
1636 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1638 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1639 when a pit is enough. Standarize a couple of loops.
1641 2003-12-05 Angus Leeming <leeming@lyx.org>
1643 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1644 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1645 data to the re-worked "log" dialog.
1647 2003-12-03 André Pönitz <poenitz@gmx.net>
1653 * paragraph_funcs.C:
1655 * text2.C: use Inset::getText instead of Inset::getParagraph
1657 2003-12-03 André Pönitz <poenitz@gmx.net>
1661 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1662 InsetText::read() as LyXText::read()
1664 2003-12-02 Angus Leeming <leeming@lyx.org>
1666 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1667 type. Add a comment in the implementation that the function uses
1668 the stream's bad() function rather than fail() as the std::streams
1671 2003-12-02 André Pönitz <poenitz@gmx.net>
1673 * lyxlex.[Ch]: make interface more similar to std::stream
1675 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1677 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1679 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1681 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1683 * vspace.[Ch]: remove VSpace::NONE
1685 2003-12-01 André Pönitz <poenitz@gmx.net>
1688 * lyxtext.h: move ParagraphList member to LyXText
1689 rename LyXText::ownerParagraphs to LyXText::paragraph
1692 * bufferview_funcs.C:
1702 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1704 * undo.C: fix cursor positioning
1706 2003-12-01 John Levon <levon@movementarian.org>
1708 * BufferView_pimpl.C: fix a crash on exit with
1711 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1713 * BranchList.C: fix setSelected() method.
1715 2003-11-28 André Pönitz <poenitz@gmx.net>
1717 * ParagraphParameters.[Ch]:
1718 * ParameterStruct.h: remove space above/below from Paragraph to
1721 * BufferView_pimpl.C:
1727 * paragraph_funcs.C:
1733 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1735 * factory.C: Syntax change for CharStyles
1737 2003-11-28 André Pönitz <poenitz@gmx.net>
1742 * buffer.[Ch]: move LyXText member
1744 2003-11-28 André Pönitz <poenitz@gmx.net>
1746 * BufferView.[Ch]: make LyXText * text a private member
1748 * BufferView_pimpl.C:
1759 * output_plaintext.C: cleanup
1761 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1764 * lyxtextclass.[Ch]: parametrize SGML document header
1766 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1769 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1772 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1774 * text2.C (setFont): rework using PosIterator (no more recursive)
1775 (setCharFont): no more needed
1776 (setLayout): no more selection cursors fiddling (done by redoCursor)
1777 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1778 destroy remaining ones)
1780 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1782 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1784 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1787 * text3.C: adjust + re-allow multi par depth changes
1788 * textcursor.C: simplify a bit
1790 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1796 * src/output_docbook.C:
1797 * src/output_latex.C:
1802 * src/text2.C: Introducing a number of tags parametrizing various
1803 XML formats that we may want to support
1805 2003-11-25 André Pönitz <poenitz@gmx.net>
1807 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1809 * lyxtext.h (leftMargin/rightMargin): simplify interface
1816 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1818 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1819 master file to any child files. Fixes bug 546.
1821 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1823 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1825 2003-11-24 André Pönitz <poenitz@gmx.net>
1827 * rowpainter.C: simplification
1829 * text2.C (updateCounters): remove call to redoParagraph on
1830 changed labels as this is far too expensive.
1832 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1834 * converter.C (convert): fix a crash: this function gets
1835 called with buffer == 0 from importer code.
1837 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1839 * text3.C (cursorPrevious): make sure that we do not compare
1840 iterators form different containers.
1843 * rowpainter.C (paintSelection): make sure that we do not compare
1844 iterators from different containers.
1846 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1847 iterators from different ParagraphList containers.
1850 * text2.C (LyXText): change order of initialization slightly
1851 (operator=): new function. copy all variables except cache_par_
1852 (moveUp): make sure that we do not compare iterators from
1853 different ParagraphList constainers.
1856 * text.C (firstPar): new function
1857 (lastPar): new function
1858 (endPar): new function
1860 * lyxtext.h: move things around and group public functions, public
1861 variables, private functions, private variables
1863 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1865 * factory.C: change call to InsetERT constructor to avoid
1866 additional invocation of method status
1867 * text2.C (toggleInset): remove redundant update() call
1868 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1869 instead of a Bufferview pointer
1871 2003-11-21 André Pönitz <poenitz@gmx.net>
1873 * rowpainter.C: simplification
1875 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1877 * text3.C (dispatch): make possible to extend a word/row selection
1880 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1882 * lyxtext.h: x0_,y0_ -> xo_,yo_
1883 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1884 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1885 * rowpainter.C (paintRows): paint full paragraphs
1887 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1889 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1892 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1894 * lyxtext.h: add x0_, y0_
1895 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1896 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1898 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1900 * text2.C (setCursorIntern): move the x_target update here *
1901 * text3.C: change some bv() to true/false in calls to
1902 cursorUp/Down/Right/Left
1903 * cursor.C: use helper function.
1905 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1907 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1908 * paragraph_funcs.[Ch]: correct comment
1909 * rowpainter.C: do not paint selections away from bv->cursor()
1910 Fix a long standing selection painting bug.
1911 * text3.C: generalize mouse-selection code to LyXTexts other that
1913 * textcursor.C: do not use y coords if we can use par offsets
1915 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1917 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1918 cursor position after e.g. inset insert)
1920 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1922 * lyxfind.C (replace): adjust to locking removal + some
1925 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1927 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1930 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1933 * output_docbook.C: XML sanitation: new layout
1934 parameters InnerTag and CommandDepth
1936 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1938 * BufferView_pimpl.C:
1940 * text3.C: Fix the insertion and modification of button-style
1943 2003-11-13 André Pönitz <poenitz@gmx.net>
1945 * InsetList.[Ch]: remove deleteLyXText
1947 * paragraph.[Ch]: cache beginOfBody position
1952 * text3.C: remove superfluous update() calls
1956 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1958 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1959 * BufferView.C (fitLockedInsetCursor): remove
1960 * cursor.[Ch] (getDim): add
1961 * text.C (getRowNearY): add faster version
1962 * text3.C: remove some update calls
1964 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1976 * text3.C: The Character Style /XML short element patch.
1978 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1981 * factory.C: Small step to solving 'unable to insert some insets'
1984 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1986 * cursor.[Ch] (updatePos): new function for updating the y
1987 position of the tip inset
1988 * bufferview_funcs.C (put_selection_at):
1989 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1991 2003-11-11 André Pönitz <poenitz@gmx.net>
1993 * text.C: remove big comment on invalid Paragraph pointers as it is
1996 2003-11-11 André Pönitz <poenitz@gmx.net>
1998 * text_funcs.[Ch]: merge with ...
2006 * Makefile.am: remove text_funcs.[Ch]
2008 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2010 * cursor.C (getPos): return absolute cached y coord
2012 * BufferView_pimpl.C (fitCursor): new simplistic code
2013 (workAreaDispatch): add a fitCursor call
2015 2003-11-10 André Pönitz <poenitz@gmx.net>
2018 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2020 2003-11-10 André Pönitz <poenitz@gmx.net>
2022 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2023 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2024 indicate that the cursor needs to leave an inset
2026 * lyxtext.h: remove inset locking
2028 * cursor.[Ch]: re-implement functionality provided by inset locking
2031 * BufferView_pimpl.[Ch]:
2033 * bufferview_funcs.[Ch]:
2045 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2047 * PosIterator.[Ch]: replace the stack with a vector, add inset
2049 * iterators.[C]: adjust
2051 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2053 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2055 * paragraph_funcs.C (readParToken): put the correct id in the
2056 error item, not the id of the top paragraph
2058 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2060 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2061 * bufferview_funcs.C (put_selection_at): use the above
2063 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2065 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2067 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2069 * output_linuxdoc.h:
2070 * output_plaintext.h:
2072 * output_docbook.h: add #include statements
2074 2003-11-05 José Matos <jamatos@lyx.org>
2076 * output_docbook.[Ch]:
2077 * output_latex.[Ch]:
2078 * output_linuxdoc.[Ch]:
2079 * output_plaintext.[Ch]: New files for output formats.
2080 * output.[Ch]: New file for helper functions.
2083 * paragraph_funcs.[Ch]: output functions moved to new files.
2085 * outputparams.h: rename of latexrunparams.h
2093 * paragraph_funcs.[Ch]:
2094 * paragraph_pimpl.[Ch]:
2095 * tabular.[Ch]: rename ascii to plaintext
2096 and LatexRunParams to OutputParams.
2098 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2100 * iterators.[Ch] (text): require bv argument
2101 * undo.C (recordUndo):
2102 * lyxfunc.C (dispatch):
2103 * bufferview_funcs.C (put_selection_at): adjust
2105 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2107 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2109 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2111 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2114 2003-11-04 André Pönitz <poenitz@gmx.net>
2116 * cursor.[Ch]: restructure
2119 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2121 * iterators.[Ch] (asCursor): remove
2123 * lfuns.h: remove LFUN_INSET_EDIT
2129 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2131 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2133 * lyxfind.[Ch]: complete overhaul
2134 * BufferView_pimpl.C:
2136 * paragraph.[Ch] (insert): add
2138 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2142 * text.C: remove dead spellcheck code
2144 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * dispatchresult.h: add a val setter
2148 * cursor.C (dispatch): use a tempvar for data_[i]
2150 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2152 * PosIterator.[Ch]: compile fix
2154 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2156 * text.C (cursorPar): deactivate the cursor cache
2158 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2160 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2162 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * text3.C (dispatch): adjust for new DisptchResult semantics.
2166 * lyxfunc.C (dispatch): handle update when return from
2167 Cursor::dispatch, adjust for new DispatchResult semantics.
2169 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2170 DispatchResult(true) mean to not update. Add class functions for
2171 setting dispatched and update, as well as reading.
2173 * cursor.C (dispatch): don't handle update here
2175 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2178 * trans_mgr.C: adjust
2180 * paragraph_funcs.C (readParToken): exception safety
2182 * lyxvc.h: store the vcs pointer in a scoped_ptr
2185 * lyxsocket.C (serverCallback): exception safety
2187 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2189 * ispell.C (clone): make it return a auto_ptr
2191 * factory.C (createInset): exception safety
2192 (readInset): exception safety
2194 * bufferlist.C (newBuffer): exception safety
2196 * Thesaurus.C (Thesaurus): use initialization for aik_
2198 * MenuBackend.C (expandToc): exception safety.
2200 2003-11-03 André Pönitz <poenitz@gmx.net>
2204 * bufferview_funcs.C: remove getInsetFromId()
2207 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2213 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2215 * PosIterator.C (distance, advance): new
2216 * bufferview_funcs.[Ch] (put_selection_at): new
2217 * iterators.[Ch] (lockPath): new
2219 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2221 * iterators.[Ch] (asPosIterator): added
2222 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2223 * PosIterator.[Ch]: added
2225 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2229 * cursor.C (dispatch):
2230 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2232 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2233 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2234 contructor, add a class function dispatched. Remove operator>=
2236 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * debug.C: only use the default constructor for debugstream
2241 * main.C (main): include debug.h and setup the lyxerr streambuf
2244 2003-10-31 José Matos <jamatos@lyx.org>
2246 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2248 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2249 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2250 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2251 * paragraph_pimpl.C (simpleTeXSpecialC):
2252 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2253 add LatexRunParams argument.
2255 * exporter.C (Export): change call accordingly.
2257 * latexrunparams.h: add new member to take care of the other backends.
2258 2003-10-30 José Matos <jamatos@lyx.org>
2260 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2261 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2262 factorise code for paragraph output.
2264 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2267 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * text3.C (dispatch):
2270 * lyxfunc.C (dispatch):
2271 * cursor.C (dispatch):
2272 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2274 * dispatchresult.h: make the dispatch_result_t ctor explicit
2276 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2279 * buffer.C: small refactoring of docbook stuff
2281 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2283 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2286 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2289 operator dispatch_result_t, and operators for == != and >=
2291 * cursor.C (dispatch): adjust for operator dispatch_result_t
2292 removal. comment out call to update
2294 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2307 * dispatchresult.h: new file, DispatchResult broken out of
2310 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2312 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2314 * text.C (rowBreakPoint): put a hack inside #if 0
2316 2003-10-28 André Pönitz <poenitz@gmx.net>
2320 * paragraph_funcs.C:
2323 * text2.C: general cleanup (lots of small stuff)
2325 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2327 * text2.C (cursorEnd): simple fix to the "end key goes to one
2328 before the end on last row" bug
2330 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2332 * text.C (backspace): fix the "zombie characters"
2334 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2336 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2338 2003-10-27 André Pönitz <poenitz@gmx.net>
2340 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2342 * factory.C: handle new InsetPagebreak, InsetLine
2344 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2345 and move handling into new InsetPagebreak, InsetLine
2347 * BufferView_pimpl.C:
2349 * ParagraphParameters.C:
2350 * ParameterStruct.h:
2355 * paragraph_funcs.C:
2356 * paragraph_pimpl.C:
2362 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2365 * lyxrow_funcs.[Ch]:
2371 * text3.C: remove lastPos uses in favour of Row::endpos
2373 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2375 * undo.C (performUndoOrRedo): fix two crashes by setting a
2376 cursor by hand and reordering some calls. Use bv->lockInset instead
2377 of inset->edit because the latter loses cursor information
2379 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2381 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2383 (rowBreakPoint): fix width. change point to point + 1.
2384 Add a missing check.
2386 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2389 * lyxfunc.C: fix (at least partly) the problems
2390 with the Nav menu and headers inside branch insets
2393 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2395 * paragraph.C (getChar): add strong asserts
2397 * lyxrow_funcs.C (lastPos): remove hideous hack
2399 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2400 (fill): adjust to that (avoid an infinite loop)
2402 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2404 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2406 2003-10-23 André Pönitz <poenitz@gmx.net>
2408 * RowList_fwd.h: change list<> to vector<> to gain speed
2409 after suggestion from Alfredo
2411 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2413 * lyxtext.h: move the bidi stuff from here...
2416 * Bidi.[Ch]: ... to here
2418 2003-10-23 André Pönitz <poenitz@gmx.net>
2421 * text.C (isLastRow, isFirstRow): new functions
2423 * paragraph.h: new width cache member
2425 * rowpainter.C: replace RowList::iterator with Row & where possible
2427 * lyxfunc.C: replace several view()->text with a single call
2429 * toc.C: fix 'unused' warning
2431 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2434 when woring with stream::pos_type
2435 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2437 2003-10-22 André Pönitz <poenitz@gmx.net>
2440 * text.C: use Row & instead of RowList::iterator
2442 * lyxrow.h: rename end() to endpos()
2448 2003-10-22 Angus Leeming <leeming@lyx.org>
2450 * buffer.[Ch] (fully_loaded): new member function, returning true
2451 only when the file has been loaded fully.
2452 Used to prevent the premature generation of previews and by the
2453 citation inset to prevent computation of the natbib-style label.
2455 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2456 templates are all set up.
2458 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2460 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2462 * text.C: fixed an "oops" in the "is a bit silly"
2465 2003-10-21 André Pönitz <poenitz@gmx.net>
2467 * FuncStatus.[Ch]: small stuff, whitespace
2469 * lyxfont.[Ch]: operator<<() for debug reasons
2473 * lyxtext.h: whitespace, spelling
2475 * paragraph.C: naming of variables
2478 * text2.C: small stuff
2481 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2483 * text.C: (1) finish off the inset display() work;
2484 (2) fix the "is a bit silly" bug (accessing char
2487 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2489 * text.C: re-introduce display() for insets, fixing the
2490 various bugs (stretch of line above, math inset
2493 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2495 * text.C (rightMargin): remove spurious semicolon
2497 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2500 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2502 * text3.C: fix one crash due to wrong cursor def
2504 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * vc-backend.C (scanMaster): make the regex static
2508 * LaTeX.C (scanAuxFile): make the regexs static
2510 * text3.C (doInsertInset, dispatch, dispatch):
2511 * text2.C (cursorUp, cursorDown):
2512 * text.C (selectNextWordToSpellcheck):
2513 * BufferView_pimpl.C (dispatch):
2514 * lyxfunc.C (dispatch): localDispatch -> dispatch
2516 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2518 * lyxsocket.C: include <cerrno>
2520 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2522 * lyxfunc.C (dispatch): remove textcache stuff
2524 * bufferlist.C (release): remove textcache stuff
2527 * TextCache.C: delete file
2528 * TextCache.h: delete file
2530 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2532 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2533 delete of the bv_->text.
2534 (resizeCurrentBuffer): remove texcache stuff
2535 (workAreaResize): ditto
2537 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2542 2003-10-16 André Pönitz <poenitz@gmx.net>
2549 * text3.C: speed up by storing y positions per paragraph plus per-row
2550 offset instead of having a 'full' y position in the row.
2552 2003-10-15 André Pönitz <poenitz@gmx.net>
2556 * undo.[Ch]: make undo aware of inner insets
2558 2003-10-14 Angus Leeming <leeming@lyx.org>
2560 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2561 static member functions LyX::ref() and LyX::cref.
2562 (lastfiles): new accessor functions for the new lastfiles_ member var.
2563 (addLyXView, views_): add a new LyXView to the list of views_.
2564 (updateInset): loop over all LyXViews to call their own updateInset
2565 member function, returning a pointer to the Buffer owning the inset.
2567 * BufferView_pimpl.C (loadLyXFile):
2568 * MenuBackend.C (expandLastfiles):
2569 * bufferlist.C (MenuWrite, QuitLyX):
2570 lastfiles is no longer a global variable.
2571 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2573 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2574 static function. Access through LyX::cref().emergencyCleanup().
2576 2003-10-14 André Pönitz <poenitz@gmx.net>
2578 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2580 * undo.[Ch]: restoring part of 'undo in insets'
2583 * undo_funcs.[Ch]: merge with undo.[Ch]
2585 * tabular.C: small cleansing stuff
2587 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2589 * paragraph_funcs.C (readParToken): report unknown insets as error
2590 boxes. Use the outer paragraph as location (also for unknown
2593 * factory.C (readInset): do not abort on reading an unknown inset.
2594 Eat it and return 0.
2596 2003-10-13 Angus Leeming <leeming@lyx.org>
2598 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2600 * lyxrc.C: displayTranslator is now a function,
2601 declared in GraphicsTypes.h.
2603 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2605 * format.C: new placeholder $$a to pass the socket address.
2607 * bufferlist.[Ch]: new function getBufferFromTmp.
2609 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2610 files in the temporary dir.
2612 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2614 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2616 * Makefile.am: add lyxsocket.[Ch].
2618 * lyx_main.C (error_handler): handle SIGPIPE.
2620 2003-10-13 André Pönitz <poenitz@gmx.net>
2622 * BufferView_pimpl.C:
2627 * undo_funcs.[Ch]: use paroffset_type instead of
2628 ParagraphList::iterators to prevent multiple conversion
2629 (and get a more robust interface)
2631 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2635 * text3.C (dispatch): ditto
2637 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2640 move the onlyfile, use onlyfile instead of foundfile in a couple
2643 * DepTable.C (update): flush the error stream a bit more
2645 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2647 * lyxserver.C (callback): adjust
2649 * lyxfunc.C (getStatus): add a missing brace in commented code
2650 (ensureBufferClean): reindent
2651 (dispatch): delete version taking a string
2653 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * LaTeX.C (deplog): move found file handlig from here...
2656 (handleFoundFile): .. to new function here.
2657 (deplog): make sure to discover several files mentioned on the
2660 2003-10-10 André Pönitz <poenitz@gmx.net>
2667 * text3.C: fix some of the tabular crashes
2669 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2671 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2673 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2675 2003-10-09 André Pönitz <poenitz@gmx.net>
2677 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2680 * BufferView_pimpl.C:
2681 * bufferview_funcs.C:
2692 * undo_funcs.C: adjust
2694 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * text2.C (incrementItemDepth): new function, use a backtracking
2697 algorithm to discover the correct item depth.
2698 (resetEnumCounterIfNeeded): new function, use a backtracking
2699 algorithm to discover if counter reset is needed.
2700 (setCounter): use them. Simplify a bit. Add different labels for
2701 different item depths for itemize.
2703 * paragraph.C (Paragraph): remove initialization of enumdepth
2706 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2707 enumerate and itemize. Change the type of itemdepth to signed char.
2709 2003-10-08 André Pönitz <poenitz@gmx.net>
2711 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2716 * tabular.[Ch]: fix crash after 'row-insert'
2718 2003-10-08 Angus Leeming <leeming@lyx.org>
2720 Fix doxygen warnings.
2722 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2723 Remove CutAndPaste:: prefix from header file declaration.
2725 * LColor.h (fill): remove LColor:: prefix from declaration.
2727 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2728 use lyx::depth_type rather than Paragraph::depth_type so that
2729 header file and .C file match.
2731 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2733 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2734 * aspell.C: \file aspell_local.C -> \file aspell.C
2735 * gettext.C: \file gettext.C -> \file src/gettext.C
2736 * gettext.h: \file gettext.h -> \file src/gettext.h
2737 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2738 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2739 * text.C: \file text.C -> \file src/text.C
2741 * toc.C: move comment so that doxygen is not confused.
2743 2003-10-07 Angus Leeming <leeming@lyx.org>
2745 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2747 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2750 * aspell_local.h: add forgotten std::string's.
2752 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2759 * text3.C: The Box patch. Fancybox support, minipage, parbox
2761 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2767 * ParagraphParameters.h:
2777 * lyxtextclasslist.h:
2780 * paragraph_pimpl.C:
2781 * textcursor.h: add <string> and other small fixes to make Lars'
2782 std::string patch compile with STLport.
2784 2003-10-06 Angus Leeming <leeming@lyx.org>
2786 * LColor.h: Add missing #include <string>.
2788 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * All most all file in all subdirs: Make <string> be the prefered
2791 way of getting to std::string, add using declarations.
2793 2003-10-06 André Pönitz <poenitz@gmx.net>
2795 * metricsinfo.C: initialize LyXFont before changing attribute.
2796 (fixes the 'math in \emph is upright' bug)
2798 2003-10-06 André Pönitz <poenitz@gmx.net>
2800 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2802 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2805 * paragraph_pimpl.C: Small fixes to build using STLport
2807 2003-10-02 André Pönitz <poenitz@gmx.net>
2810 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2812 2003-10-01 André Pönitz <poenitz@gmx.net>
2814 * factory.C: assert early
2816 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * lyx_main.C: remove the global debug object
2820 * debug.h: adjust for new debugstream
2822 * debug.C: adjust for new debugstream and keep the global debug
2825 2003-09-22 Angus Leeming <leeming@lyx.org>
2827 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2828 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2829 an incomplete class LyXFont.
2831 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2833 * factory.C: bug fix in branches
2835 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * lyxfunc.C (processKeySym): adjust
2839 (dispatch): change arg name from ev to func, adjust
2840 (sendDispatchMessage): ditto
2842 * lyx_main.C (defaultKeyBindings): adjust keybindings
2843 (deadKeyBindings): ditto
2845 * kbsequence.C (addkey): return a FuncRequest
2847 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2849 * kbmap.C (bind): take a FuncRequest as arg, adjust
2852 (defkey): change to take a FuncRequest as arg, adjust
2853 (findbinding): take a FuncRequest as arg, adjust.
2855 * funcrequest.h (operator=): added
2857 * funcrequest.C (FuncRequest): default kb_action changed from
2858 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2860 * buffer.C (dispatch): simplify
2861 (dispatch): adjust to take a FuncRequest as arg, adjust
2863 * boost.C (assertion_failed): change assertion message slightly
2865 * ToolbarBackend.C (read): simplify
2867 * MenuBackend.C (binding): adjust call to findbinding, add a
2868 message if no binding is found.
2870 (expandToc): correct by adding a empty FuncRequest
2872 * LyXAction.C: include <boost/assert.hpp>
2873 (isPseudoAction): delete function
2874 (LookupFunc): change name to...
2875 (lookupFunc): this. change return type to FuncRequest.
2876 (getActionName): take kb_action as arg, simplify
2877 (funcHasFlag): add an assert, simplify.
2879 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * toc.C (action): return a FuncRequest, simplify
2883 * lyxfunc.C (processKeySym): adjust
2884 (getStatus): delete version that takes an int.
2886 (dispatch): delete version that takes action as int
2888 (sendDispatchMessage): simplify and adjust
2890 * funcrequest.C (getArg): take unsigned int as arg
2892 * ToolbarBackend.C (read): adjust
2893 (add): delete version that takes func as a string.
2894 (getIton): take a FuncRequest as arg
2896 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2899 * MenuBackend.C (MenuItem): add a new construct that only takes a
2900 Kind, simplify the constructor use for submenus.
2902 (expandLastfiles): adjust
2903 (expandDocuments): adjust
2904 (expandFormats): adjust
2905 (expandFloatListInsert): adjust
2906 (expandFloatInsert): adjust
2907 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2909 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2910 Remove class variables lyx_pseudo_map and lyx_arg_map
2912 * LyXAction.C (searchActionArg): delete function
2913 (getPseudoAction): delete function
2914 (retrieveActionArg): delete function
2915 (LookupFunc): make it return kb_action, simplify.
2916 (getActionName): simplify
2918 * factory.C (createInset): fix new bug
2920 2003-09-19 Angus Leeming <leeming@lyx.org>
2922 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2923 masterFilename_ parameter in the include inset.
2925 * factory.C (createInset): changes due to the changes to InsetInclude.
2927 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2929 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2931 2003-09-18 Angus Leeming <leeming@lyx.org>
2934 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2935 Inset::fillWithBibKeys.
2936 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2938 2003-09-18 Angus Leeming <leeming@lyx.org>
2940 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2942 (ctor): pass and store a 'Buffer const &'
2943 (buffer): new member function.
2945 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2946 '*this' to the LaTeXFeatures ctor.
2948 2003-09-18 Angus Leeming <leeming@lyx.org>
2954 * text.C: rename EnumLColor as LColor_color.
2956 2003-09-18 Angus Leeming <leeming@lyx.org>
2958 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2959 remove #include "insets/insetbase.h" from cursor.h.
2961 2003-09-18 Angus Leeming <leeming@lyx.org>
2963 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2964 InsetOld_code to remove #include "inset.h".
2966 * iterators.C: add #include "insets/inset.h"
2968 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2970 * BufferView.C: remove more locking stuff that apparently doesn't
2971 do anything sensible.
2973 2003-09-16 André Pönitz <poenitz@gmx.net>
2976 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2979 2003-09-16 Angus Leeming <leeming@lyx.org>
2981 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2983 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2986 * paragraph.h: remove #include "lyxfont.h". Forward declare
2989 2003-09-16 Angus Leeming <leeming@lyx.org>
2991 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2992 of support/textutils.h.
2993 (isWord): move the contents of support/textutils.h's IsWordChar here.
2999 * text2.C: add #include "paragraph.h".
3002 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3004 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * LaTeX.C: use namespace alias for lyx::support::os
3012 2003-09-16 Angus Leeming <leeming@lyx.org>
3015 * bufferview_funcs.C:
3018 * paragraph_pimpl.C:
3020 * text.C: add #include "LColor.h".
3022 2003-09-16 Angus Leeming <leeming@lyx.org>
3024 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3025 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3027 Store the FontBits::color variable as an int rather than as an
3028 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3031 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3032 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3033 string calls together.
3035 * lyxrc.C: add #include "LColor.h".
3037 2003-09-15 Angus Leeming <leeming@lyx.org>
3039 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3042 2003-09-15 Angus Leeming <leeming@lyx.org>
3044 * LColor.h: add an EnumLColor wrapper for LColor::color.
3046 * lyxfont.[Ch] (color, setColor, realColor):
3047 * lyxtext.h, text.C (backgroundColor):
3048 pass EnumLColor args to/from the functions, rather than LColor::color
3052 * lyxtext.h: forward declare EnumLColor.
3054 * lyx_main.C: add #include "LColor.h".
3056 2003-09-15 Angus Leeming <leeming@lyx.org>
3058 * .cvsignore: add lyx-gtk.
3060 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * ParagraphParameters.C
3069 * bufferview_funcs.C
3079 * vc-backend.C: remove usage of STRCONV
3081 2003-09-15 Angus Leeming <leeming@lyx.org>
3083 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3084 explicitly define the color passed to the painter.
3086 2003-09-15 Angus Leeming <leeming@lyx.org>
3088 * bufferparams.C (BufferParams): reorder member initializers to avoid
3091 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3093 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3094 * text.C (updateRowPositions): remove an unusual nop
3096 2003-09-12 André Pönitz <poenitz@gmx.net>
3098 * BufferView_pimpl.C:
3107 * Counters.[Ch]: finish the 'automatic counters' job
3109 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3111 * aspell.C: include <boost/assert.cpp> (compile fix)
3113 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3115 * boost.C (assertion_failed): use lyx::support::abort instead of
3118 2003-09-10 Angus Leeming <leeming@lyx.org>
3120 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3121 with their _fwd progeny.
3123 2003-09-09 Angus Leeming <leeming@lyx.org>
3125 134 files throughtout the source tree: replace 'using namespace abc;'
3126 directives with the appropriate 'using abc::xyz;' declarations.
3128 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3130 * boost.C (emergencyCleanup): moved here from LAssert.c
3131 (assertion_failed): new function, called by BOOST_ASSERT
3133 * several files: change Assert to BOOST_ASSERT
3135 2003-09-09 Angus Leeming <leeming@lyx.org>
3137 * buffer.[Ch]: Add an Impl class and move Buffer's member
3138 variables into it. As a result move several header files out of
3141 Add header files to lots of .C files all over the tree as a result.
3143 2003-09-09 Angus Leeming <leeming@lyx.org>
3145 * buffer.[Ch]: make Buffer's member variables private. Add
3148 Lots of changes all over the tree as a result.
3150 2003-09-08 Angus Leeming <leeming@lyx.org>
3152 * graph.C: #include <config.h>.
3154 2003-09-08 Angus Leeming <leeming@lyx.org>
3158 * BufferView_pimpl.C:
3187 * toc.C: remove redundant using directives.
3189 2003-09-07 Angus Leeming <leeming@lyx.org>
3191 * LaTeXFeatures.h: remove #include "support/types.h".
3192 * ToolbarBackend.h: remove #include <algorithm>.
3193 * changes.h: remove #include <ctime>.
3194 * debug.h: remove #include <iosfwd>.
3195 * graph.h: remove #include "support/std_string.h".
3196 * lyx_main.h: remove #include <csignal>.
3197 * lyxlex_pimpl.h: remove #include <fstream>.
3198 * sgml.h: remove #include <algorithm>, <utility>.
3199 * toc.h: remove #include "support/std_ostream.h".
3200 Add #include <iosfwd>.
3202 2003-09-07 Angus Leeming <leeming@lyx.org>
3204 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3206 * converter.h: forward declare LatexRunParams.
3207 * encoding.h: remove #include "lyxrc.h".
3208 * lyxtext.h: remove #include "LColor.h".
3209 * lyxtextclass.h: remove #include "support/types.h".
3210 * trans.h: remove #include "tex-accent.h".
3211 * trans_mgr.h: remove #include "tex-accent.h".
3212 * insets/inset.h: remove #include "support/types.h", <vector>.
3213 * insets/insetcollapsable.h: remove #include "LColor.h".
3214 * insets/insetinclude.h: remove #include "dimension.h".
3215 * insets/insetlatexaccent.h: remove #include "dimension.h".
3216 * insets/insetoptarg.h:: remove #include "insettext.h".
3217 * insets/insettext.h: remove #include "dimension.h",
3218 <boost/shared_ptr.hpp>
3220 * insets/renderers.h: add #include "dimension.h".
3221 * insets/updatableinset.h: add #include "support/types.h".
3223 * many .C files: Associated changes.
3225 2003-09-06 Angus Leeming <leeming@lyx.org>
3227 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3228 one, inside testInvariant.
3230 * PrinterParams.C: new file.
3231 * PrinterParams.[Ch]: move the function bodies out of line.
3233 2003-09-06 Angus Leeming <leeming@lyx.org>
3235 * ParagraphParameters.h: forward declare ParameterStruct rather than
3236 including its header file.
3237 (depth): moved out-of-line.
3239 2003-09-06 Angus Leeming <leeming@lyx.org>
3241 * BufferView_pimpl.h:
3244 * lyxfunc.h: forward declare LyXKeySym rather than
3245 #include "frontends/LyXKeySym.h".
3247 * BufferView_pimpl.C:
3250 * lyxfunc.C: associated changes.
3252 2003-09-06 Angus Leeming <leeming@lyx.org>
3254 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3255 As a result, can remove the #include "insets/inset.h" from BufferView.h
3257 2003-09-06 Angus Leeming <leeming@lyx.org>
3259 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3260 As a result, can remove the #include "insets/inset.h" from BufferView.h
3262 2003-09-06 Angus Leeming <leeming@lyx.org>
3268 * bufferview_funcs.C:
3269 * BufferView_pimpl.C:
3274 * ParagraphParameters.C:
3279 * frontends/controllers/ControlDocument.C:
3280 * insets/insetcaption.C: rearrange the #includes into some sort of
3283 * buffer.h: remove #includes ErrorList.h, undo.h
3285 2003-09-06 Angus Leeming <leeming@lyx.org>
3287 * support/types.h: add a 'depth_type' typedef, used to store the
3288 nesting depth of a paragraph.
3291 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3292 defining explicitly.
3295 * paragraph_funcs.h:
3296 * ParagraphParameters.h:
3297 * sgml.h: use lyx::depth_type rather than Paragraph or
3298 ParameterStruct's depth_type.
3301 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3304 * BufferView_pimpl.C:
3306 * ParagraphParameters.C:
3309 * bufferview_funcs.C:
3316 * frontends/LyXView.C:
3317 * frontends/controllers/ControlDocument.C:
3318 * frontends/controllers/ControlErrorList.C:
3319 * insets/insetbibitem.C:
3320 * insets/insetbranch.C:
3321 * insets/insetcaption.C:
3322 * insets/insetcollapsable.C:
3323 * insets/insetenv.C:
3324 * insets/insetert.C:
3325 * insets/insetfloat.C:
3326 * insets/insetfoot.C:
3327 * insets/insetfootlike.C:
3328 * insets/insetnewline.C:
3329 * insets/insetquotes.C:
3330 * insets/insettabular.C:
3331 * insets/insettext.C:
3332 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3334 * frontends/controllers/ControlChanges.C: #include "changes.h".
3336 2003-09-06 Angus Leeming <leeming@lyx.org>
3338 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3339 than #including paragraph.h.
3342 * RowList.h: deleted. Superfluous.
3352 * insets/insettext.h: use ParagraphList_fwd.h rather than
3355 * paragraph.h: don't forward declare ParagraphList.
3358 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3359 rather than ParagraphList.h. paragraph.h is still needed for the
3360 Paragraph::depth_type parameters.
3362 * textcursor.h: enable it to compile stand-alone in light of the
3365 * bufferview_funcs.C:
3377 * frontends/controllers/ControlParagraph.C:
3378 * frontends/controllers/ControlTabular.C:
3379 * insets/insetmarginal.C:
3380 * insets/insetminipage.C:
3381 * insets/insetnote.C:
3382 * insets/insetoptarg.C: add header files needed to compile again.
3384 2003-09-06 Angus Leeming <leeming@lyx.org>
3386 * RowList_fwd.h: new file, forward-declaring Row rather than
3387 #including lyxrow.h.
3392 * insets/insettext.h: use it instead of RowList.h
3394 * bufferview_funcs.C:
3401 * text3.C: #include "RowList.h".
3403 2003-09-05 Angus Leeming <leeming@lyx.org>
3405 * factory.C (createInset):
3406 * vspace.C (c-tor): replace sscanf call with an istringstream.
3407 * ispell.C: re-add missing HP/UX headers.
3408 * lyxserver.C: re-add missing os2 headers.
3410 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3419 * text3.C: re-add missing system headers, needed for 2.95.2.
3421 2003-09-05 Angus Leeming <leeming@lyx.org>
3423 Changes most place everywhere due to the removal of using directives
3424 from support/std_sstream.h.
3426 2003-09-05 Angus Leeming <leeming@lyx.org>
3428 Replace LString.h with support/std_string.h,
3429 Lsstream.h with support/std_sstream.h,
3430 support/LIstream.h with support/std_istream.h,
3431 support/LOstream.h with support/std_ostream.h.
3433 Changes resulting throughout the tree.
3435 2003-09-05 Angus Leeming <leeming@lyx.org>
3437 * sgml.h: ensure that the header file can be compiled stand-alone.
3438 * *.C: strip out redundant #includes. (320 in total.)
3440 2003-09-04 Angus Leeming <leeming@lyx.org>
3442 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3443 here (from getPackages).
3445 * debug.[Ch]: add a new EXTERNAL tag.
3447 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3449 * text2.C (cursorEnd): simplify
3451 (getColumnNearX): adjust
3453 * text.C (computeBidiTables): adjust
3456 * rowpainter.C (paintChars): adjust
3457 (paintSelection): adjust
3458 (paintChangeBar): adjust
3461 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3463 (numberOfSeparators): adjust
3465 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3471 * text3.C: Restricts the mouse click functionality
3472 of insets like bibtex, include, toc and floatlist to the visible
3473 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3474 up the dialogs. Cursor has to be in front of the inset (i.e.
3475 start of row) for this to function.
3477 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3479 * bufferview_funcs.C (currentState): output row information
3481 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3483 * bufferview_funcs.C (currentState): output paragraph position
3485 2003-09-04 Angus Leeming <leeming@lyx.org>
3487 * FloatList.h: move out #include "Floating.h".
3488 * LaTeX.h: move out #include "DepTable.h".
3489 * LyXAction.h: move out #include "funcrequest.h".
3490 * buffer.h: move out #include "author.h", "iterators.h".
3491 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3492 * lyx_main.h: move out #include "errorlist.h".
3493 * lyxfunc.h: move out #include "FuncStatus.h".
3494 * lyxtext: move out #include "lyxcursor.h".
3495 * paragraph_pimpl.h: move out #include "counters.h".
3497 2003-09-03 Angus Leeming <leeming@lyx.org>
3499 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3500 preamble_snippets list, enabling us to add snippets to the preamble
3501 only if the snippet was not there already.
3503 2003-09-04 Angus Leeming <leeming@lyx.org>
3505 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3507 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3512 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3514 * BranchList.C: point fix, earlier forgotten
3516 2003-09-02 Angus Leeming <leeming@lyx.org>
3518 * box.C (contains): renamed from 'contained' after a fantastic
3521 2003-09-02 John Levon <levon@movementarian.org>
3527 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3529 2003-09-02 John Levon <levon@movementarian.org>
3531 * text2.C: simplification of cursorEnd(), including partial
3534 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * buffer.C (readFile): add a space
3538 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3540 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3542 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * buffer.C (readFile): new function, take a filename and a
3545 ParagraphList::iterator
3547 (readFile): adjust, make it private. don't use setStream, make
3548 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3549 always contain the filename.
3551 * BufferView.C (insertLyXFile): simplify and make it work for
3554 2003-08-30 John Levon <levon@movementarian.org>
3556 * Makefile.am: fix dist (from Kayvan)
3558 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * most files: change to use const Buffer refs
3562 2003-08-27 André Pönitz <poenitz@gmx.net>
3564 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3565 on top of ownerPar().
3567 2003-08-27 John Levon <levon@movementarian.org>
3569 * funcrequest.C: properly initialise POD members
3571 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3573 * lyxtext.h (top_y): move top_y from here
3578 * BufferView_pimpl.[Ch]: to here
3579 * frontends/screen.C:
3580 * insets/insettabular.C:
3581 * insets/insettext.C: adjust
3582 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3584 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3587 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3589 2003-08-26 André Pönitz <poenitz@gmx.net>
3591 * paragraph_func.[Ch] (outerPar): new function
3594 * paragraph_funcs.C:
3595 * paragraph_funcs.h:
3596 * paragraph_pimpl.C:
3597 * text2.C: remove Inset::par_owner
3599 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3604 * text2.C: eliminates the needFullRow/display() stuff
3605 altogether, putting the logic in metrics/draw in the insets.
3607 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3609 * text2.C (redoParagraphInternal, redoParagraphs):
3610 * text.C (redoParagraph): add a call to updateRowPositions at the
3611 end of each 'metrics-like' call. Remove all others.
3612 (getRow): remove the 'y-computing' version.
3613 (getRowNearY): do not compute nor return the real y. Solve the
3614 'y < 0' problem and simplify.
3616 2003-08-22 Angus Leeming <leeming@lyx.org>
3618 * *.[Ch]: clean-up of licence and author blurbs.
3619 Also move config.h out of a few .h files and into a few .C files.
3621 2003-08-22 André Pönitz <poenitz@gmx.net>
3623 * lyxrow.[Ch]: add x_ and *fill_ members
3628 * text2.C: adjust/remove prepareToPrint() calls
3630 2003-08-22 André Pönitz <poenitz@gmx.net>
3632 * lyxrow.[Ch]: add end_ member
3634 * lyxrow_funcs.C: use LyXRow::end_
3636 * lyxtext.h (singleWidth): add LyXFont parameter
3639 * text2.C: adjust LyXText::singleWidth() calls
3641 * text.C (redoParagraph): simplify row breaking logic
3644 2003-08-19 André Pönitz <poenitz@gmx.net>
3646 * funcrequest.C: initialize button_ member
3649 * rowpainter.[Ch]: interface consolidation
3651 2003-08-18 André Pönitz <poenitz@gmx.net>
3654 * BufferView_pimpl.C:
3656 * paragraph_funcs.C:
3658 * text3.C: remove LyXScreen::draw() and fitCursor calls
3660 * BranchList.h: remove spurious semicolons
3662 * MenuBackend.C: fix branchlist related crash
3664 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3672 * bufferparams.[Ch]:
3676 * text3.C: implements the 'branch inset'
3677 idea. This allows the output of various versions of a document
3678 from a single source version, selectively outputing or suppressing
3679 output of parts of the text.
3680 This implementation contains a 'branch list editor' in a separate
3681 tab of the document settings dialog. Branches are user definable
3682 and have a "display colour" to distinguish them on-screen.
3684 ColorHandler was somewhat cleaned up.
3685 (1) make possible a dynamically growing LColor list by allowing
3686 the graphic context cache to grow along (vector);
3687 (2) eliminate an IMHO unnecessary step in colour allocation.
3689 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3691 * BufferView_pimpl.C: compile fix
3693 2003-08-15 André Pönitz <poenitz@gmx.net>
3695 * rowpainter.C: remove extra metrics calls
3697 * lyxtext.h: merge the two constructors into a single one,
3698 pass reference to owner's par list
3700 * BufferView_pimpl.C:
3704 2003-08-15 André Pönitz <poenitz@gmx.net>
3706 * lyxrow_funcs.[Ch]:
3709 * paragraph_funcs.C:
3714 * text_funcs.C: split LyXText::rowlist_ into individual
3715 Paragraph::rows_ chunks
3718 * BufferView_pimpl.[Ch]:
3721 * text3.C: remove toggleSelection()
3723 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3725 * bufferlist.C: beautify two alerts (shorter text of buttons)
3726 * buffer.C: Remove redundant ' ' from message
3728 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3729 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3730 rename VALIGN_CENTER to VALIGN_MIDDLE
3732 2003-08-11 André Pönitz <poenitz@gmx.net>
3734 * lyxtext.h (getPar):
3735 * text.C: new function
3737 2003-08-11 André Pönitz <poenitz@gmx.net>
3740 * tracer.[Ch]: remove unneeded files
3742 * InsetList.[Ch]: remove resizeInsetsLyXText()
3747 * text3.C: merge insertParagraphs() and appendParagraph()
3748 remove breakAgain(), update()
3750 * BufferView_pimpl.[Ch]:
3751 * bufferview_funcs.[Ch]:
3755 * tabular.C: adjust after text & InsetList changes.
3757 2003-08-08 André Pönitz <poenitz@gmx.net>
3759 * text.C (insertChar, backspace): replace rowlist fiddling
3760 with rebreak of full par
3763 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3764 checkParagraph, updateInset): removed
3766 2003-08-07 André Pönitz <poenitz@gmx.net>
3769 * text3.C: merge some LFUN handlers, remove dead code
3771 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3773 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3775 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3777 * text2.C (DEPM): fix part of bug 1255 and 1256
3779 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3781 * BufferView_pimpl.C (workAreaDispatch): change to use
3782 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3783 that are no mouse related.
3785 2003-08-05 André Pönitz <poenitz@gmx.net>
3788 * BufferView_pimpl.[Ch]:
3789 * bufferview_funcs.C:
3791 * text3.C: rip out "deep update"
3793 * textcursor.[Ch] (last_sel_cursor): remove unused member
3795 2003-08-04 André Pönitz <poenitz@gmx.net>
3798 * BufferView_pimpl.[Ch]:
3799 * ParagraphParameters.C:
3800 * bufferview_funcs.C:
3806 * text3.C: replace "complicated" BufferView::update(...) calls with
3809 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3811 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3813 * Makefile.am (lyx_SOURCES): add paper.h
3815 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3817 * Makefile.am: move things around so that both lyx-qt and
3818 lyx-xforms can be built (according to --with-frontend). Then lyx
3819 is a symbolic link to lyx-[firstfrontend]
3821 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3823 * Always use std::endl with lyxerr
3825 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3827 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3829 2003-08-01 André Pönitz <poenitz@gmx.net>
3832 * BufferView_pimpl.[Ch]:
3834 * text3.C: merge BufferView::repaint() and BufferView::update()
3836 2003-08-01 José Matos <jamatos@lyx.org>
3838 * buffer.[Ch]: file_format is no longer a buffer data element.
3840 2003-08-01 André Pönitz <poenitz@gmx.net>
3845 * text2.C: make redoParagraph more independent of current cursor
3847 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3849 * text2.C: remove unneeded members
3851 2003-07-30 André Pönitz <poenitz@gmx.net>
3853 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3855 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3856 create a single function...
3858 * paragraph_funcs.C (moveItem): ... here.
3861 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3863 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3865 * LColor.[Ch]: Add comment and greyedout logical colors.
3867 2003-07-30 André Pönitz <poenitz@gmx.net>
3869 * tabular.C: don't use Assert too heavily. This crashes where it
3872 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3874 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3875 is disabled (bug 1232)
3877 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3879 * factory.C: limited 'arg' scope
3881 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3883 * factory.C: fixed Note submenu issues
3885 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3887 * factory.C: submenu for Note/Comment/Greyedout
3889 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3892 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3894 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3897 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3898 greyedout. Patch provided by Jürgen Spitzmüller.
3900 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3902 * kbmap.C (read): fix error message when reading bind files
3904 2003-07-29 Angus Leeming <leeming@lyx.org>
3906 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3907 certainly does not do what it purports to do. I am doing it, and
3908 us, a favour by killing it.
3910 2003-07-28 José Matos <jamatos@lyx.org>
3912 * buffer.C (readBody, do_writeFile):
3913 * paragraph.C(readParagraph): \end_document replaces \the_end.
3915 2003-07-29 André Pönitz <poenitz@gmx.net>
3918 * BufferView_pimpl.[Ch]:
3922 * textcursor.[Ch]: remove toggleToggle & Co
3924 2003-07-28 José Matos <jamatos@fep.up.pt>
3926 * buffer.C (readParagraph):
3927 * params_func (readParToken, readParagraph):
3928 * paragraph.C (write): \layout -> \begin_layout.
3930 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * lyxlex_pimpl.C (setFile): clean up slightly.
3934 * bufferparams.h: add compressed var
3936 * buffer_funcs.C (readFile): adjust for LyXLex change
3937 (newFile): ditto + simplify
3939 * buffer.C (writeFile): handle writing of compressed files
3941 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3942 Check if the file is compressed and set a bufferparm if so.
3944 * Makefile.am (lyx_LDADD): remove explicit -lz
3946 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3948 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3949 makeDocBookFile): put the real LyX version in the first line of
3953 * version.C.in: remove lyx_docversion
3955 * tabular.C (write_attribute): add a template-based version to
3956 write enums properly
3958 2003-07-28 André Pönitz <poenitz@gmx.net>
3963 * text3.C: use doubles again for x-coordinates. They are needed.
3965 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * messages.C (getLocaleDir): use lyx_localedir()
3969 * lyxlex_pimpl.C (setFile): compress stuff
3971 * buffer.C (writeFile): add some compression stuff
3972 (do_writeFile): new func, dont call expliti close... will this
3975 * Makefile.am (lyx_LDADD): add -lz
3977 2003-07-28 José Matos <jamatos@fep.up.pt>
3979 * buffer.C: increment file format.
3980 * paragraph_funcs (readParagraph, readParToken):
3981 * paragraph.C (readParagraph): add \end_layout.
3983 2003-07-27 Angus Leeming <leeming@lyx.org>
3985 * Makefile.am: remove special casing for configure-time setting of
3986 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3988 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3989 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3991 2003-07-26 André Pönitz <poenitz@gmx.net>
3993 * paragraph_func.[Ch]:
3994 * paragraph.C (realizeFont): inline it whereever it is used
3999 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4002 2003-07-26 André Pönitz <poenitz@gmx.net>
4006 * text2.C: get rid of LyXText::need_break_row
4008 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * toc.[Ch]: put namespace toc inside namespace lyx
4012 * MenuBackend.C (expandToc2): adjust for lyx::toc
4015 * lyxfunc.C (dispatch): adjust for lyx::find
4017 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4018 lyx::find instead. Reorganize a bit.
4019 (LyXReplace): rename to replace
4020 (LyXFind): rename to find
4022 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4025 2003-07-26 André Pönitz <poenitz@gmx.net>
4027 * text.C (setHeightOfRow): restrict scope of temporary variable
4029 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4030 code (never has been used?)
4032 2003-07-27 Asger Alstrup <alstrup@local>
4034 * text.C (fill): Optimise algorithm to exploit that we can reuse
4035 the LyXFont for many characters.
4036 (setHeightOfRow): Same thing.
4037 (rowBreakPoint): Same thing.
4039 2003-07-26 Asger Alstrup <alstrup@local>
4041 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4043 * text.C (singleWidth): Spurious font copying in hot-spot
4044 singleWidth avoided. Reorder tests for arabic for efficiency.
4046 * text.C (fill): handle empty paragraphs better.
4048 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4051 * encoding.h: add includes
4053 * lyxrc.C: remove reading of bind files
4055 * lyx_main.C (init): setup bindings and menus only if we have a
4058 * kbmap.C (read): new method. Do the actual reading of bind
4061 * converter.C (dvipdfm_options):
4064 (output): adapt PAPER_* enums.
4066 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4068 * bufferparams.h: remove paper-related enums from there
4070 * paper.h: New file. A trivial header file to hold paper-related
4071 enums. It should later expand to contain many paper-related
4074 * lyxrc.C: declare extern displayTranslator
4076 2003-07-27 José Matos <jamatos@fep.up.pt>
4078 * tabular.[Ch] (linuxdoc): add support for tables and figures
4081 2003-07-27 José Matos <jamatos@fep.up.pt>
4083 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4084 consistency in both functions.
4085 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4087 2003-07-26 Asger Alstrup <alstrup@local>
4089 * rowpainter.C (paintRows): Change algorithm to work directly on
4090 the insets rather than asking every character in the document
4091 whether its an inset.
4093 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4095 * buffer.C (openFileWrite): factorize some code
4097 2003-07-26 Angus Leeming <leeming@lyx.org>
4100 * lyx_main.[Ch]: replace occurances of system_tempdir with
4103 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * rename Inset to InsetOld
4107 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4109 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4110 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4111 which I think is a bit clearer. EDIT is gone, since it was
4112 premature optimisation, and broken for mathed anyway.
4113 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4114 with cursor positioning in insets as well (math insets still do not
4115 work, but that's a different story anyway.) It mysteriously
4116 crashes sometimes with undo in the first paragraph, but I'm fairly
4117 confident that this is a compiler bug.
4119 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * paragraph.C (Paragraph): adjust for new clone return type
4123 (copyIntoMinibuffer): ditto
4125 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4127 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4128 by not having a special case, and always doing a full rebreak of
4129 the document after undo.
4131 2003-07-23 Angus Leeming <leeming@lyx.org>
4133 * factory.C (createInset): InsetExternal::setParams now takes a
4136 2003-07-23 Angus Leeming <leeming@lyx.org>
4138 * factory.C (createInset): changed interface to the external and
4139 graphics mailers' string2params functions.
4141 2003-07-23 Angus Leeming <leeming@lyx.org>
4143 * factory.C (createInset): pass a
4144 Buffer const * parameter to InsetExternalMailer's string2params.
4146 2003-07-22 John Levon <levon@movementarian.org>
4148 * Thesaurus.h: include the right aiksaurus header
4150 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4152 * MenuBackend.C (expand): check menu shortcuts unconditionally
4154 2003-07-21 Angus Leeming <leeming@lyx.org>
4156 * factory.C (createInset): pass a
4157 buffer_path parameter to InsetGraphicsMailer's string2params.
4159 2003-07-21 Angus Leeming <leeming@lyx.org>
4161 * BufferView_pimpl.C (buffer):
4164 * lyxfunc.C (dispatch):
4165 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4166 rather than the grfx shortcut.
4168 2003-07-21 André Pönitz <poenitz@gmx.net>
4170 * rowpainter.C: remove unused variables
4173 * tabular_funcs.h: move to tabular.C
4174 * Makefile.am: adjust
4176 * tabular.[Ch]: basic optical cleaning
4178 * author.h: pass references, not values
4180 2003-07-18 André Pönitz <poenitz@gmx.net>
4188 * text3.C: two-phase drawing for InsetText and InsetTabular
4189 some float -> int changes.
4191 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4193 * lyx_main.C: fix the fix
4195 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4197 * lyx_main.C: fix a crash in batch mode if no files specified
4200 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4202 * format.[Ch] (papersize): moved to BufferParams
4203 * converter.[Ch] (dvips_options): moved to BufferParams
4204 (dvipdfm_options): moved to anon namespace
4205 * bufferparams.[Ch]: added above functions.
4207 2003-07-17 André Pönitz <poenitz@gmx.net>
4211 * text2.C: don't call inset->update() anymore
4213 * metricsinfo.[Ch]: add convenience constructor
4215 2003-07-16 André Pönitz <poenitz@gmx.net>
4220 * text2.C: replace the LyXCursor::irow_ member with
4221 on-demand computation of the value
4223 2003-07-16 John Levon <levon@movementarian.org>
4225 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4227 2003-07-15 André Pönitz <poenitz@gmx.net>
4230 * text2.C: remove no more needed refresh_row
4232 2003-07-15 André Pönitz <poenitz@gmx.net>
4237 * text3.C: refresh_status tristate -> need_update bool
4239 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4241 * lyxtext.h (init): remove reinit argument (act as if always true)
4242 * text2.C: adjust to that
4244 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4246 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4247 * text3.C: use it to delete selections in some cases
4248 (bugs 441, 673, 702, 954).
4250 2003-07-14 André Pönitz <poenitz@gmx.net>
4252 * rowpainter.[Ch]: reduce interface
4254 2003-07-14 André Pönitz <poenitz@gmx.net>
4256 * BufferView_pimpl.C:
4257 * text2.C: adjust after removing unused BufferView * argument
4259 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4261 * text2.C (init): fix a crash fired on resize
4263 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4265 * buffer.[Ch]: added new closing signal
4266 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4267 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4268 BufferView::Pimpl via the closing the signal
4270 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4272 * buffer.[Ch]: take out all bv-related from buffer
4274 * BufferView_pimpl.[Ch]: connect to new signals
4275 * CutAndPaste.C: removed useless asserts
4276 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4279 * lyxfunc.C: moved view-related funciontality from vc here
4280 * paragraph.C: removed outdated comments
4283 2003-07-10 André Pönitz <poenitz@gmx.net>
4285 * BufferView_pimpl.C:
4289 * text2.C: remove InsetText::InnerCache, clean up consequences
4291 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4293 * ispell.C: fix two typos in error messages
4295 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4297 * Extend Note inset to other forms of annotation like Comment
4298 and Greyedout. Right button click gives dialog.
4300 Files modified or added (+):
4304 * ControlNote.[Ch] +
4306 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4307 frontends/controllers
4311 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4313 * aspell.C: add missing namespace lyx::support
4315 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4317 * BufferView.[Ch] (newFile): Add
4318 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4319 * LaTeX.[Ch] (message): added this signal and use it
4320 * buffer.[Ch] (busy, message): added these signals and use them
4321 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4325 * importer.C: use buffer signals instead of direct bv calling
4326 * lyx_cb.[Ch] (ShowMessage): removed
4329 * paragraph_funcs.C:
4330 * text2.C: use buffer signals
4332 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * introduce namespace lyx::graphics
4336 2003-07-02 André Pönitz <poenitz@gmx.net>
4338 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4340 2003-07-01 André Pönitz <poenitz@gmx.net>
4347 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4348 text*.C to text_func.C
4350 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * introduce namespace lyx::support
4354 2003-06-30 André Pönitz <poenitz@gmx.net>
4359 * text.C: re-enable --with-included-string
4361 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * textcursor.C: add <config.h>
4365 * text.C (getWord): remove const from word_location arg
4367 * lyxvc.C (getLogFile): fix const type order
4369 * lyxtext.h: remove const from word_location arg, add arg name
4371 * lyxlayout.h: currect type on labeltype.
4373 * importer.C: correct \file
4375 * converter.C (intToFormat): use std:: on ret val, ws changes
4377 * bufferlist.h: correct \file
4379 * buffer.C (makeLinuxDocFile): fix const type order
4380 (makeDocBookFile): ditto
4381 (fillWithBibKeys): use std:: on stdlib args.
4383 * CutAndPaste.C: fix authors.
4384 (availableSelections): use std:: on return vector
4386 2003-06-27 André Pönitz <poenitz@gmx.net>
4388 * BufferView_pimpl.C:
4389 * bufferview_funcs.C:
4397 * text3.C: remove LyXCursor::row_ member
4400 * text.C: rename fullRebreak() to partialRebreak() and implement
4401 a fullRebreak() that really bereks fully
4403 * textcursor.h: new struct for cursor-related data
4405 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4407 * lyx_main.C (LyX): get full path of document loaded on the
4410 2003-06-26 André Pönitz <poenitz@gmx.net>
4412 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4413 remove unused/broken operator>,<,>=.
4415 * text.C: remove only use of broken operator<= in an Assert().
4417 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4419 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4420 moved errorlist_.clear to showErrorList
4422 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4424 * converter.C (scanLog, runLaTeX):
4425 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4426 move the bv->showErrorList call to the callers
4427 * lyxfunc.C: i.e. here...
4429 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4430 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4431 namespace, the second to...
4432 * buffer_funcs (BufferFormat, parseErrors): added
4433 * errorlist.C (ErrorList(TeXErrors const &)): removed
4435 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4437 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4439 2003-06-24 "Garst R. Reese" <reese@isn.net>
4443 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4445 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4447 * version.C.in: change docversion to 1.4
4449 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4451 * buffer.C: fix a bug just introduced
4453 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4455 * buffer.[Ch]: added the parseError signal and use it, removed
4457 * BufferView.[Ch] (addError): moved to ...
4458 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4459 to the Buffer::parseError signal to catch (guess what) parse errors
4460 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4462 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4464 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4465 ability to create a buffer and to return an existing one from
4466 the list. Moved these functions to...
4467 * buffer_funcs.[Ch]: added
4468 * BufferView.[Ch] (loadLyXFile): added
4469 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4470 job removed from bufferlist::loadLyXFile.
4471 * buffer.C (setReadOnly): make it work without view
4472 (i.e added an if (users))
4474 2003-06-19 Angus Leeming <leeming@lyx.org>
4477 * LyXAction.C (init):
4478 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4479 with LFUN_DIALOG_SHOW <name> <data>.
4481 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4483 * CutAndPaste.C (availableSelections): small compilation fix for
4484 ancient (gcc 2.9x) compilers
4486 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * text3.C (cursorNext): add tmp var
4490 * text2.C (updateCounters): for function calling out of for clause
4491 (replaceSelectionWithString): ditto
4492 (insertStringAsParagraphs): ditto
4493 (getColumnNearX): add tmp var
4494 (setCursorFromCoordinates): add tmp var
4495 (cursorDownParagraph): add tmp var
4496 (deleteEmptyParagraphMechanism): add tmp var
4498 * text.C (insertChar): add tmp var
4500 * rowpainter.C (paintDepthBar): add tmp var
4502 * CutAndPaste.C (availableSelections): potentially check all
4503 paragraphs in a cut to fill the shown strings.
4505 2003-06-18 André Pönitz <poenitz@gmx.net>
4507 * kbmap.[Ch]: use vector<> instead of list<>
4509 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4511 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4512 pasteSelection with index
4514 * text2.C (pasteSelection): modify, call pasteSelection with index
4516 * paragraph.C (asString): reimplement version with no interval to
4517 call the one with interval.
4519 * lyxtext.h: add index arg to pasteSelection
4521 * MenuBackend.C (MenuItem): handle PasteRecent
4522 (Menu::read::Menutags): add md_pasterecent
4524 (expandPasteRecent): new function
4527 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4529 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4531 (availableSelections): new function
4533 2003-06-17 Angus Leeming <leeming@lyx.org>
4535 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4537 2003-06-17 Angus Leeming <leeming@lyx.org>
4540 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4542 * lyxfunc.C (dispatch): invoke it.
4544 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4546 * iterators.C (operator++, ParPosition): reintroduce some
4547 const_cast for the benefit of older compilers.
4549 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4551 * text3.C (dispatch): do not modify clipboard when doing
4552 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4553 LFUN_DELETE_SKIP on a selection selection
4555 2003-06-16 André Pönitz <poenitz@gmx.net>
4561 * tabular.[Ch]: IU of clone() and getLabelList();
4563 2003-06-13 André Pönitz <poenitz@gmx.net>
4565 * tabular.h: compactification
4567 2003-06-12 André Pönitz <poenitz@gmx.net>
4571 * tabular_funcs.h: some renaming plus whitespace
4573 2003-06-12 André Pönitz <poenitz@gmx.net>
4576 * BufferView_pimpl.C:
4582 * toc.C: Return a Paragraph & for ParIterator::operator*()
4584 2003-06-11 John Levon <levon@movementarian.org>
4588 * ToolbarBackend.C: add "Toolbars" section and
4591 2003-06-10 Angus Leeming <leeming@lyx.org>
4594 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4596 * lyxfunc.C (dispatch): invoke it.
4598 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * main.C: protect <ios> with HAVE_IOS
4601 (main): protect sync_with_stdio with HAVE_IOS
4603 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4605 * text2.C (cutSelection): adjust
4606 (pasteSelection): adjust
4608 * messages.C: handle get of empty string
4610 * main.C (main): use sync_with_stdio(false)
4612 * lyxfunc.C (dispatch): adjust
4614 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4615 (WriteAs): remove unneeded BufferView arg.
4617 * bufferparams.h: use correct types on papersize, papersize2 and
4620 * bufferparams.C (readToken): adjust for type
4621 (writeLaTeX): add missing cases to switch.
4623 * bufferlist.C (quitWriteBuffer): adjust
4626 * buffer.C (asciiParagraph): remove some commented code.
4628 * CutAndPaste.C: remove current_view extern variable.
4629 (cutSelection): add BufferParams arg.
4630 (eraseSelection): add BufferParams arg.
4631 (pasteSelection): add Buffer const & arg
4633 2003-06-07 John Levon <levon@movementarian.org>
4636 * paragraph_funcs.C:
4637 * paragraph_pimpl.C:
4641 * paragraph.C: allow InsetERT to freely space lines,
4642 and some consolidation of code
4644 2003-06-06 José Matos <jamatos@fep.up.pt>
4646 * buffer.C (makeDocBookFile): fix bug #821
4648 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4650 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4652 2003-06-04 Angus Leeming <leeming@lyx.org>
4654 * buffer.C: bump format to 224.
4656 2003-06-05 André Pönitz <poenitz@gmx.net>
4658 * text2.C (redoParagraphs): remove two const_cast<>
4660 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4662 * ParagraphList.h: remove last remnants of NO_STD_LIST
4664 2003-06-03 Angus Leeming <leeming@lyx.org>
4666 * factory.C (createInset): small change to the way InsetExternal's params
4669 2003-06-04 André Pönitz <poenitz@gmx.net>
4671 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4673 * paragraph_pimpl.h:
4674 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4676 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4678 * undo_funcs.C: make some simple cases of undo work again
4680 2003-06-03 John Levon <levon@movementarian.org>
4682 * ispell.C: HPUX doesn't have sys/select.h
4685 2003-06-03 John Levon <levon@movementarian.org>
4687 * CutAndPaste.C: update tabular and include inset
4692 * paragraph.C: remove owningBuffer(), don't pass Buffer
4695 * factory.C: insetGraphicsParams changed
4697 2003-06-02 John Levon <levon@movementarian.org>
4703 * text3.C: remove insetparent
4705 2003-06-02 John Levon <levon@movementarian.org>
4708 * buffer.C: fix inset_iterator.end(), move out of line
4711 2003-06-01 John Levon <levon@movementarian.org>
4713 * text3.C: use a proper cut/paste when doing inset
4714 insert (from Jürgen Spitzmüller)
4716 2003-06-01 John Levon <levon@movementarian.org>
4718 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4720 2003-05-30 André Pönitz <poenitz@gmx.net>
4722 * rowpainter.C: unify second drawing phase
4724 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * trans_mgr.C: remove one case of current_view
4728 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4730 * paragraph_funcs.h: remove paragraph.h include
4732 * paragraph.h: delete NO_STD_LIST stuff
4734 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4736 * buffer.h: remove paragraph.h include
4738 * ParagraphList.C: delete file
4740 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4742 * toc.C (getTocList): adjust
4744 * paragraph_pimpl.C (validate): adjust
4746 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4748 * paragraph.C (Paragraph): adjust
4749 (getPositionOfInset): use const_iterator, adjust
4750 (bibitem): use const_iterator, adjust
4751 (setInsetOwner): adjust
4753 * iterators.C (operator++): adjust
4755 * InsetList.[Ch]: Replace selfmade iterator with standard
4756 vector::iterator also introduce const_iterator. Remove getPos,
4757 getInset and setInset from InsetTable. Adjust accordingly.
4759 * BufferView.C (lockInset): adjust
4760 (ChangeInsets): adjust
4762 * tabular.[Ch]: delete commented same_id functions
4764 2003-05-28 John Levon <levon@movementarian.org>
4766 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4768 2003-05-28 André Pönitz <poenitz@gmx.net>
4770 * metricsinfo.[Ch]: remove 'fullredraw' member
4772 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4774 * lyxtextclass.C (operator): remove caching.
4776 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * text2.C (cursorBottom): adjust
4781 (setCounter): use ParagraphList::find, adjust
4783 * text.C (workWidth): use ParagraphList::find, adjust
4785 * lyxcursor.C (LyXCursor): adjust
4787 * buffer.C (inset_iterator): adjust
4789 * ParagraphList.h: make iterator(value_type) private, make
4790 ParagraphList a friend of iterator.
4792 * ParagraphList.C (find): new function
4794 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4796 2003-05-27 André Pönitz <poenitz@gmx.net>
4798 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4800 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4802 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4804 2003-05-26 John Levon <levon@movementarian.org>
4806 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4808 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * remove same_id from function signatures, adjust.
4812 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4816 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4818 * paragraph.C (Paragraph): get rid of same_ids parameter
4820 * ParagraphList.C (insert): adjust
4823 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4825 * paragraph_funcs.C (breakParagraph): adjust
4826 (breakParagraphConservative): adjust
4828 * buffer.C (readParagraph): adjust
4830 * ParagraphList.C (insert): take a reference instead of a pointer
4833 * paragraph.[Ch] (id): new function
4835 * bufferlist.C (newFile): adjust
4837 * ParagraphList.C (ParagraphList): adjust
4839 (push_back): take a reference instead of a pointer.
4841 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4843 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4846 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4847 set else use old code.
4849 * ParagraphList.C: remove all NO_NEXT code and only compile this
4850 code of NO_STD_LIST is set.
4852 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4854 * BufferView_pimpl.C:
4864 * graphics/GraphicsConverter.C:
4865 * graphics/PreviewLoader.C: header adjustment
4867 2003-05-23 Angus Leeming <leeming@lyx.org>
4869 * LaTeXFeatures.[Ch] (useBabel): new method.
4870 * bufferparams.C (writeLaTeX): use it.
4872 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * ParagraphList.h (set): remove unused function.
4876 2003-05-23 André Pönitz <poenitz@gmx.net>
4879 * BufferView_pimpl.C:
4883 * undo_funcs.C: setUndo reworked
4885 * iterators.[Ch]: add access to topmost ParagraphList
4887 * lyxtext.[Ch] (workWidth): add a const
4889 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4891 * texrow.[Ch] (increasePos): remove function
4892 * exporter.C (export): removed unused var and outdated comment
4894 2003-05-23 Angus Leeming <leeming@lyx.org>
4896 * latexrunparams.h: rename fragile as moving_arg.
4897 * paragraph.C (simpleTeXOnePar): ditto.
4898 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4900 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4904 (textUndoOrRedo): comment out a currently unused var.
4906 * paragraph.h (NO_NEXT): enable NO_NEXT
4908 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4910 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4912 * exporter.C (Export): adjust for removeAutoInsets removal.
4914 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4916 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4918 * BufferView.[Ch] (removeAutoInsets): delete function
4920 2003-05-22 Angus Leeming <leeming@lyx.org>
4922 * latexrunparams.h: add a free_spacing variable.
4924 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4925 to pass moving_arg, as the data is stored in runparams.fragile.
4927 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4928 to Inset::latexOptional or to simpleTeXOnePar.
4930 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4931 free_spacing arg to Inset::latexOptional.
4933 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4936 2003-05-22 Angus Leeming <leeming@lyx.org>
4938 * latexrunparams.h: add fragile and use_babel variables.
4940 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4941 * buffer.C (makeLaTeXFile): store this returned value in
4942 runparams.use_babel, thus passing it to the inset::latex methods.
4944 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4945 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4947 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4948 longer has a fragile arg, as it is stored in runparams.fragile.
4950 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4951 moving_arg parameter as the data is stored in runparams.fragile.
4953 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4954 a fragile parameter as the data is stored in runparams.fragile.
4956 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4960 2003-05-22 Angus Leeming <leeming@lyx.org>
4962 * latexrunparams.h: add a 'bool nice' which defaults to false.
4964 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4965 now encapsulated within runparams.
4967 * bufferlist.C (updateIncludedTeXfiles):
4968 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4970 2003-05-22 Angus Leeming <leeming@lyx.org>
4972 * latexrunparams.h: new file containing struct LatexRunParams.
4973 * Makefile.am: add new file.
4975 * LaTeX.[Ch] (c-tor, run):
4976 * buffer.[Ch] (makeLaTeXFile):
4977 * bufferlist.[Ch] (updateIncludedTeXfiles):
4978 * converter.C (convert, scanLog):
4979 * converter.[Ch] (runLaTeX):
4980 * exporter.C (Export):
4981 * paragraph.[Ch] (simpleTeXOnePar):
4982 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4983 * paragraph_funcs.[Ch] (latexParagraphs):
4984 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4985 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4986 pass around a LatexRunParams parameter.
4988 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * paragraph.[Ch]: remove unused constructor
4992 * ParagraphList.C (erase): new function, taking two iterators
4994 2003-05-22 André Pönitz <poenitz@gmx.net>
4996 * undo_funcs.C: remove duplicated code
4998 * iterator.[Ch]: operator=
5000 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5002 * tabular.C (SetMultiColumn): ws changes
5004 * rowpainter.C (paintFirst): get rid of a ->previous
5006 * lyx_cb.C (getPossibleLabel): parlist simplification
5008 * BufferView.C (ChangeInsets): simplify slightly.
5010 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5012 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5013 * lfuns.h: new LFUN_SPACE
5014 * lyxfunc.C: protected space has a new lfun
5015 * paragraph_funcs.C: read new space insets
5017 * factory.C: handle new space insets
5019 2003-05-22 André Pönitz <poenitz@gmx.net>
5022 * BufferView_pimpl.C:
5025 * undo_funcs.C: return a ParIterator from getParFromID.
5027 * iterators.[Ch]: add two const's
5029 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * toc.C (getTocList): adjust
5033 * iterators.[Ch]: rework for parlist
5035 * buffer.C (par_iterator_begin): adjust
5036 (par_iterator_end): adjust
5038 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5040 * BufferView.C (removeAutoInsets): adjust
5041 (ChangeInsets): adjust
5043 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5045 * text.C (top_y): fix bug 1110
5047 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5049 * errorlist.[Ch]: added
5052 * BufferView_pimpl.C:
5053 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5056 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * Makefile.am: ensure that lyx is relinked upon changes to the
5059 various "convenience" libs.
5061 2003-05-20 Angus Leeming <leeming@lyx.org>
5063 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5064 files are compiled in alphabetical order again.
5066 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5068 2003-05-19 Angus Leeming <leeming@lyx.org>
5070 * gettext.[Ch]: remove "char const * _(char const *)".
5072 2003-05-19 André Pönitz <poenitz@gmx.net>
5074 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5083 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5085 2003-05-19 André Pönitz <poenitz@gmx.net>
5089 * lyxtextclass.[Ch]:
5091 * paragraph_funcs.[Ch]:
5093 * text3.C: more insetenv work
5095 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5097 * ParagraphParameters.C (params2string): small bug fixed
5099 2003-05-16 André Pönitz <poenitz@gmx.net>
5102 * bufferview_funcs.C: patch from Kornel Benko to prevent
5103 crash when _(...) is called twice in a statement
5105 2003-05-16 André Pönitz <poenitz@gmx.net>
5112 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5114 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5116 * lyx_main.C (init): remove spurious static_cast
5118 2003-05-14 André Pönitz <poenitz@gmx.net>
5120 * BufferView.C: fix format string
5122 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5124 * BufferView.[Ch] (insertErrors): removed
5125 * BufferView.[Ch] (showErrorList): added
5126 * buffer.C (runChkTeX):
5127 * converter.C (scanLog): call showErrorList instead of inserterrors
5129 2003-05-13 André Pönitz <poenitz@gmx.net>
5131 * BufferView_pimpl.C:
5133 * bufferview_func.C:
5140 * tabular_funcs.h: tostr() from its own header
5142 * ParagraphParameters.C:
5147 * text3.C: STRCONV()
5149 2003-05-12 André Pönitz <poenitz@gmx.net>
5152 * BufferView_pimpl.C:
5156 * ParagraphParameters.C:
5160 * bufferview_funcs.C:
5173 * paragraph_funcs.C:
5177 * text3.C: boost::format -> bformat all over the place
5180 2003-05-09 André Pönitz <poenitz@gmx.net>
5182 * LColor.[Ch]: Pimpl the #include <map> away
5184 2003-05-09 John Levon <levon@movementarian.org>
5186 * bufferlist.C: never remove emergency saves
5188 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * Makefile.am: better lib building
5192 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5196 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5197 (simpleTeXSpecialChars): adjust
5198 (simpleTeXSpecialChars): adjust
5199 * paragraph.C (simpleTeXOnePar): adjust
5200 * buffer.C (makeLaTeXFile): adjust
5202 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5204 * text2.C (changeDepth): parlist cleanup
5205 (getColumnNearX): ditto
5207 * rowpainter.C (getLabelFont): parlist cleanup
5209 * bufferlist.C (newFile): parlist cleanup
5211 * CutAndPaste.C (eraseSelection): parlist cleanup
5213 * BufferView_pimpl.C (trackChanges): parlist cleanup
5216 * BufferView.C (lockInset): parlist cleanup.
5217 (ChangeInsets): ditto
5219 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5221 * CutAndPaste.h: Update file header.
5223 * CutAndPaste.C: Update file header.
5224 Store the parts cut out of the Document in a limited_stack.
5225 (copySelection): adjust
5226 (pasteSelection): new function, takes the index in the limited stack.
5227 (nrOfParagraphs): adjust
5228 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5229 simplify error inset insertion.
5230 (checkPastePossible): adjust
5232 2003-05-06 John Levon <levon@movementarian.org>
5234 * text2.C: don't cast wrap inset to float
5236 2003-05-05 André Pönitz <poenitz@gmx.net>
5239 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5241 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5242 few naked Paragraph *.
5244 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5246 * bufferparams.C: Output warning if a document with missing
5247 TeX document class is loaded
5248 * exporter.C: Disable TeX exports if the document class is missing
5251 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5252 isTeXClassAvailable()
5254 2003-05-03 John Levon <levon@movementarian.org>
5257 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5258 explicit cursor show/hide
5260 * BufferView_pimpl.h:
5261 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5262 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5264 * lyxfunc.C: hide cursor before dispatching.
5269 * text3.C: remove explicit cursor hides
5271 2003-05-02 André Pönitz <poenitz@gmx.net>
5273 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5276 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5279 * text2.C: tiny whitespace
5281 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * undo_funcs.C: almost only ws changes.
5285 * ParagraphList.C (splice): just return if pl is empty.
5287 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5289 * ParagraphList.C (splice): new function.
5291 * CutAndPaste.C (pasteSelection): use it
5293 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5295 * CutAndPaste.C (pasteSelection): remove the last next and
5296 previous from this file.
5298 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5300 * CutAndPaste.C (pasteSelection): more clean up, user proper
5301 ParagraphList functions for pasteing.
5303 * ParagraphList.C (insert): new function, three arg insert
5305 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * ParagraphList.C (insert): new function, three arg insert
5309 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5312 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5314 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5316 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5320 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5323 (copySelection): clean up a bit.
5324 (pasteSelection): use make_pair
5326 * ParagraphList.C (ParagraphList): implement copy constructor
5327 (operator=): implement, base on copy constructor.
5330 * paragraph.C (erase): return a bool
5332 * paragraph_pimpl.C (erasePos): remove function, move contents...
5333 (erase): ... here. Return a bool.
5334 (erase): call erase instead of erasePos.
5336 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5338 * ParagraphList.h: define PitPosPair
5339 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5340 ParagraphList, fix a bug on pasting multiple pars
5341 * text2.C: change interface to C&P
5343 2003-04-30 André Pönitz <poenitz@gmx.net>
5345 * undo_func.C: revert part of yesterday's patch 2
5347 2003-04-30 John Levon <levon@movementarian.org>
5349 * LColor.C: s/tabular/table/
5351 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * text3.C (dispatch): do not convert iterator -> pointer
5354 * undo_funcs.C (setCursorParUndo): ditto
5355 * text_funcs.C (transposeChars): ditto
5357 * text2.C (setLayout): ws changes only
5359 * text.C (breakParagraph): do not convert iterator -> pointer
5361 (acceptChange): ditto
5362 (rejectChange): ditto
5367 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5370 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5372 * text3.C (gotoInset): YABG (yet another bad getChar)
5374 2003-04-29 André Pönitz <poenitz@gmx.net>
5376 * paragraph.h: make operator= private unimplemented as long as
5379 * ParagraphList.C: whitespace
5382 * paragraph_pimpl.[Ch]:
5383 * paragraph_funcs.C:
5385 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5388 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5390 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5392 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5393 * paragraph.[Ch] (erase):
5394 * paragraph_pimpl.[Ch] (erase): change return type and value
5395 * text2.C (cutSelection): some rework
5397 2003-04-28 John Levon <levon@movementarian.org>
5399 * bufferlist.C: changes for unsaved changes dialog
5401 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * bufferlist.C (newFile): set language (messages_) for new
5406 * buffer.C (readFile): ws changes only.
5408 2003-04-28 André Pönitz <poenitz@gmx.net>
5413 * BufferView_pimpl.C:
5414 * BufferView.C: getParFromID related ParagraphList::iterator changes
5416 2003-04-28 André Pönitz <poenitz@gmx.net>
5418 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5421 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * messages.C: remove one more localedir class variable.
5425 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * messages.C (getLocaleDir): singleton generation function
5429 (Messages): add a default constructor.
5431 * main.C (main): do not setup localedir here, do not call
5434 * gettext.C (_): use it.
5435 (gettext_init): delete funciton
5437 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * gettext.C (getLyXMessages): new singleton generating function.
5441 * buffer.C (updateDocLang): adjust
5443 * Makefile.am (messages.o): add target
5444 (main.o): remove target
5446 2003-04-27 John Levon <levon@movementarian.org>
5451 * lyxvc.C: specify cancel button in Alert::prompt
5453 2003-04-26 John Levon <levon@movementarian.org>
5458 * LyXAction.C: add LFUN_INSET_SETTINGS
5460 * lyxfunc.C: don't enable tabular-feature when there's
5461 just any locking inset
5463 2003-04-26 John Levon <levon@movementarian.org>
5465 * bufferlist.C: re-add Cancel to buffer close question
5467 * lyxfunc.C: fix import UI a bit
5469 2003-04-25 John Levon <levon@movementarian.org>
5471 * gettext.C: remove the broken asserts for now
5473 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * messages.C: make case where setlocale cannot comply work better.
5477 * buffer.C (updateDocLang): new function
5478 (changeLanguage): use it
5481 * text2.C (setCounter): use B_ a bit.
5483 * lyxlayout.C (Read): be sure to trim the label strings.
5485 * messages.C (Messages): fix typo in comment
5487 * buffer.C (readFile): set message_ after file is loaded.
5488 (makeDocBookFile): remove double return
5489 (changeLanguage): reset message_ upon language change.
5490 (B_): new func, use this to get translated buffer strings.
5492 * main.C: add myself and Jean Marc as authors.
5494 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * messages.[hC]: pimplify Messages, and three different pimpls to be
5497 used in different circumstances.
5499 * gettext.[Ch]: change for use with new message code.
5501 2003-04-24 André Pönitz <poenitz@gmx.net>
5503 * factory.C: support for eqref
5505 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * messages.[Ch]: add missing char
5509 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5511 * messages.[Ch]: New files
5513 2003-04-18 John Levon <levon@movementarian.org>
5517 * BufferView_pimpl.C:
5521 * text2.C: remove layout-copy/paste (bug 778)
5523 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5525 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5527 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5529 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5530 if they succeed. Act accordingly.
5532 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * text2.C (setCharFont): adjust
5535 (setCounter): adjust
5536 (insertStringAsLines): adjust
5538 * text.C (leftMargin): adjust
5539 (setHeightOfRow): adjust
5541 * rowpainter.C (paintFirst): adjust
5544 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5546 (isFirstInSequence): ditto
5547 (getEndLabel): ditto
5550 * paragraph.C (getParLanguage): comment out some hard stuff.
5552 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5554 (simpleDocBookOnePar): ditto
5555 (makeDocBookFile): use ParagraphList::iterator
5557 * CutAndPaste.C (pasteSelection): adjust
5559 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * text2.C (getFont): adjust
5562 (getLayoutFont): adjust
5563 (getLabelFont): adjust
5565 * paragraph_funcs.C (TeXOnePar): adjust
5567 * buffer.C (simpleLinuxDocOnePar): adjust
5568 (simpleDocBookOnePar): adjust
5570 * CutAndPaste.C (pasteSelection): adjust
5572 * BufferView.C (getEncoding): adjust
5574 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5576 2003-04-16 John Levon <levon@movementarian.org>
5578 * lyxfind.C: use parlist stuff for search/changes
5580 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5582 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5584 * text2.C (deleteEmptyParagraphMechanism): adjust
5586 * text2.[Ch] (ownerParagraph): delete func (both of them
5588 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5592 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5594 * ParagraphList.C: prepare for NO_NEXT
5596 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * text2.C (getFont): adjust
5599 (getLayoutFont): adjust
5600 (getLabelFont): adjust
5602 * paragraph.C (getFont): adjust
5603 (getLabelFont): adjust
5604 (getLayoutFont): adjust
5606 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5608 2003-04-15 John Levon <levon@movementarian.org>
5612 * lyx_main.C: handle Include in .ui files
5614 2003-04-15 John Levon <levon@movementarian.org>
5616 * MenuBackend.C: make the doc files length shorter
5619 * ToolbarBackend.C: handle toolbar placement flags,
5622 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5624 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5627 * paragraph_funcs.C (TeXOnePar): adjust
5629 * paragraph.C (getLabelFont): add outerfont arg, adjust
5630 (getLayoutFont): ditto
5631 (simpleTeXOnePar): adjust
5633 * paragraph_pimpl.C (realizeFont): delete func
5635 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5637 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5638 row argument, constify cur argument.
5640 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * text2.C (getFont): adjust
5643 (getLayoutFont): adjust
5644 (getLabelFont): adjust
5646 * paragraph_funcs.C (TeXOnePar): adjust
5647 (outerFont): new func...
5648 (realizeFont): ...moved out from here, changed this to facilitate
5651 * paragraph.C (getFont): take outerfont as arg, adjust
5652 (simpleTeXOnePar): add outerfont arg, adjust
5654 * buffer.C (simpleLinuxDocOnePar): adjust
5655 (simpleDocBookOnePar): adjust
5657 * CutAndPaste.C (pasteSelection): adjust
5659 * BufferView.C (getEncoding): adjust
5661 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5663 * text2.C (setCharFont): adjust
5664 (setCounter): adjust
5666 * text.C (leftMargin): adjust
5667 (setHeightOfRow): adjust
5669 * rowpainter.C (paintFirst): adjust
5672 * paragraph_pimpl.C (realizeFont): adjust
5674 * paragraph.C (isFirstInSequence): move from here...
5675 * paragraph_funcs.C (isFirstInSequence): ...to here
5677 * paragraph.C (outerHook): move from here...
5678 * paragraph_funcs.C (outerHook): ...to here
5680 * paragraph.C (depthHook): move from here...
5681 * paragraph_funcs.C (depthHook): ...to here
5683 * paragraph.C (getEndLabel): move from here...
5684 * paragraph_funcs.C (getEndLabel): ...to here
5686 * text2.C (realizeFont): move from here...
5687 * paragraph_funcs.C (realizeFont): ...to here
5689 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5693 2003-04-14 Angus Leeming <leeming@lyx.org>
5695 * LColor.[Ch]: scrap LColor mathcursor.
5697 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5699 * lyxlex.[Ch] (text): delete function
5700 * trans.C (Load): adjust
5701 * paragraph_funcs.C (readParToken): adjust
5703 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5706 vector<char> instead of a char[].
5708 * lyxlex_pimpl.C (getString): adjust
5710 (lex): use getString
5714 * lyxlex.C (text): use pimpl_->getString()
5718 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5721 (makeFontEntriesLayoutSpecific): temp var for par.size()
5722 (setLayout): temp var for ownerParagraphs().end()
5723 (fullRebreak): temp var for rows().end()
5724 (selectionAsString): temp var for boost::next(startpit), realize
5725 that the while really is a regular for loop.
5726 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5727 setCursor in one place.
5728 (setParagraph): temp vr for ownerParagraphs().end()
5729 (updateCounters): make the while loop a for loop
5730 (cutSelection): temp var for ownerParagraphs().end()
5731 (updateInset): make the do {} while() a regular for loop
5732 (getCursorX): use temp vars
5733 (setCurrentFont): use temp vars
5734 (getColumnNearX): use temp vars
5736 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * text.C (transformChar): use temp var for getChar
5739 (computeBidiTables): use temp var for row->par()
5740 (fill): move temp vars for row->par() and pit->layout() earlier in
5742 (labelFill): use temp var for row->par()
5743 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5744 asc and desc, realize that pit never changes and that firstpit is
5745 just a duplicate and not needed. Exchange rit->par() with pit in a
5747 (breakAgain): use a temp var for boost::next(rit)
5748 (breakAgainOneRow): ditto
5749 (breakParagraph): use a temp var for rows().begin()
5750 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5751 (cursorRightOneWord): use temp var for cursor.par() and
5752 cursor.pos(), remove usage of tmpcursor.
5753 (cursorLeftOneWord): use temp var for cursor.par() and
5754 cursor.pos() only set cur at end of function.
5756 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * text.C, text2.C: exchange all usage of Paragraph::next with
5759 boost::next(ParagraphList::iterator)
5761 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5763 * text2.C (cursorTop): simplify implementation
5764 (cursorBottom): ditto
5765 (setParagraph): use ParagraphList::iterator
5766 (setCurrentFont): adjust
5767 (getColumnNearX): adjust
5768 (cursorRight): adjust
5769 (cursorLeft): remove usage of Paragraph::previous
5770 (cursorUpParagraph): ditto
5771 (deleteEmptyParagraphMechanism): slight cleanup
5773 * text.C (isBoundary): take a Paragraph const & instead of a
5775 (addressBreakPoint): ditto
5776 (leftMargin): remove usage of Paragraph::previous.
5777 (setHeightOfRow): ditto
5778 (cursorLeftOneWord): ditto
5779 (selectNextWordToSpellcheck): ditto
5782 (breakParagraph): remove one usage of Paragraph::next
5783 (redoParagraph): ditto
5784 (acceptChange): ditto
5785 (insertChar): adjust
5786 (rowBreakPoint): adjust
5788 * bufferview_funcs.C (toggleAndShow): adjust
5790 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5792 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5793 methods to access it.
5795 * text.C: Added updateRowPositions to compute all row positions.
5796 Make top_y and getRowNearY() to use the cached y position
5798 2003-04-11 John Levon <levon@movementarian.org>
5800 * text.C (rowBreakPoint): reintroduce the labelEnd
5801 checks, code copied from the row fill stuff. Deep voodoo.
5803 * text.C (fill): add a comment and debugging for the
5806 2003-04-11 John Levon <levon@movementarian.org>
5808 * text.C: make sure fullrow insets get wrapped to the next line,
5809 even when they're in a manual label
5811 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * text2.C (insertParagraph): make it take ParagraphList::iterator
5815 (setLayout): make it return ParagraphList::iterator
5816 (redoParagraphs): ditto
5818 (checkParagraph): ditto
5820 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5822 * text2.C: adjust several funcs.
5823 (realizeFont): take a ParagraphList::iterator as arg.
5824 (getLayoutFont): ditto
5825 (getLabelFont): ditto
5826 (setCharFont): ditto
5828 * text.C: adjust several funcs.
5830 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5832 * text.C (selectNextWordToSpellcheck): don't accidentally
5835 2003-04-10 John Levon <levon@movementarian.org>
5837 * ToolbarBackend.C (getIcon): special handling for
5840 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5842 * text2.C (cursorRight): a getChar assert fixed
5844 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * text2.C (getFont): change to take a ParagraphList::iterator
5847 instead of Paragraph*
5848 Adjust several functions.
5850 * text.C (transformChar): change to take a ParagraphList::iterator
5851 instead of Paragraph*
5852 (singleWidth): ditto
5853 Adjust several functions.
5855 * rowpainter.C: adjust several functions
5856 * rowpainter.h:store a ParagraphList::iterator and not a
5860 2003-04-09 John Levon <levon@movementarian.org>
5865 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5866 and the "help" bits as well
5868 2003-04-09 John Levon <levon@movementarian.org>
5871 * ToolbarBackend.C: allow multiple toolbars
5873 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * undo_funcs.C (setCursorParUndo): adjust
5877 * text_funcs.C (transposeChars): adjust
5879 * text3.C (gotoNextInset): adjust
5882 * text2.C (setLayout): adjust
5883 (changeDepth): adjust
5885 (redoParagraphs): adjust
5886 (selectionAsString): adjust
5887 (setParagraph): adjust
5888 (insertInset): adjust
5889 (cutSelection): adjust
5890 (copySelection): adjust
5891 (pasteSelection): adjust
5892 (insertStringAsLines): adjust
5893 (updateInset): adjust
5894 (setCursor): change to take a ParagraphList::iterator parameter
5895 (setCursorIntern): change to take a ParagraphList::iterator parameter
5896 (setCurrentFont): adjust
5897 (cursorLeft): adjust
5898 (cursorRight): adjust
5899 (deleteEmptyParagraphMechanism): adjust
5901 * text.C (breakParagraph): adjust
5902 (insertChar): adjust
5903 (acceptChange): adjust
5904 (rejectChange): adjust
5905 (selectNextWordToSpellcheck): adjust
5906 (changeCase): adjust
5910 * lyxfind.C (SearchForward): adjust
5911 (SearchBackward): adjust
5912 (nextChange): adjust
5914 * lyxcursor.C (par): adjust
5916 * lyxcursor.h: store a ParagraphList::iterator instead of a
5919 * lyx_cb.C (getPossibleLabel): adjust
5921 * bufferview_funcs.C (toggleAndShow): adjust
5923 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5926 * BufferView.C (removeAutoInsets): adjust
5927 (lockedInsetStoreUndo): adjust
5929 2003-04-09 John Levon <levon@movementarian.org>
5931 * ToolbarBackend.C: try icon without argument
5932 if with argument fails
5934 2003-04-08 John Levon <levon@movementarian.org>
5937 * ToolbarBackend.C: add getIcon(), handle tooltip,
5938 and change from "Icon" to "Item".
5940 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5942 * BufferView.C (lockInset): another bad getchar crunched
5944 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5946 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5949 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5951 * lyxfind.C (searchForward, searchBackwards): bug 782
5953 2003-04-07 John Levon <levon@movementarian.org>
5955 * paragraph.C: remove dead comment
5957 * text.C: remove troublesome depth-fiddling code
5958 in leftMargin() and rightMargin() (bug 1017)
5960 * text.C: fix breaking of rows in nested lists
5963 * text2.C (updateCounters): fix up depth values
5966 2003-04-07 John Levon <levon@movementarian.org>
5968 * BufferView_pimpl.C: clear message when doc finishes resizing,
5969 and after a mouse event
5971 * lyxfunc.C: clear message after exiting inset
5973 2003-04-07 John Levon <levon@movementarian.org>
5975 * bufferview_funcs.C: show math status not outside
5976 status in the statusbar
5978 2003-04-07 John Levon <levon@movementarian.org>
5980 * lyxfunc.C: note status changed after a depth change
5982 2003-04-04 Angus Leeming <leeming@lyx.org>
5984 * LaTeX.h: move AuxInfo operator==, != out of line.
5985 Remove LaTeX virtual destructor; nothing derives from it.
5986 Move operator()() out of public area and rename it startscript().
5987 Change protected for private.
5989 2003-04-04 Angus Leeming <leeming@lyx.org>
5992 * text2.C: remove unneeded #includes.
5994 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5996 * text2.C (dEPM): fix the heigth of the next row
5998 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6000 * text.C: squashed an invalid getChar requester + some ws changes
6002 2003-04-03 John Levon <levon@movementarian.org>
6004 * bufferview_funcs.h:
6005 * bufferview_funcs.C:
6008 * text2.C: make getStatus work for the env depth lfuns
6010 2003-04-03 John Levon <levon@movementarian.org>
6012 * bufferview_funcs.h:
6013 * bufferview_funcs.C:
6016 * text2.C: parlistize decDepth(), by merging it with incDepth()
6018 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * lyxrow.h: store a ParagraphList::iterator instead of a
6021 Paragraph* and adjust other class functions to suit.
6023 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6026 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6028 * text2.C (setCursor): do not anchor to cursor row for the time being
6030 2003-04-02 John Levon <levon@movementarian.org>
6037 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6039 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * paragraph.h: make ParagraphList and ParagraphList::iterator
6042 friends of Paragraph.
6044 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6046 * ParagraphList.C: Use the private next_ and previous_ from
6049 2003-04-01 John Levon <levon@movementarian.org>
6053 * Makefile.am: rename, remove defaults gunk
6056 * MenuBackend.C: remove defaults gunk
6059 * Languages.C: remove defaults gunk
6062 * lyx_main.C: error out if files couldn't be found.
6064 2003-04-02 John Levon <levon@movementarian.org>
6066 * text2.C: make incDepth() use parlist
6068 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6070 * undo_funcs.C (firstUndoParagraph): adjust
6072 * text3.C (gotoInset): adjust
6073 (dispatch): adjust, and rewrite loop.
6075 * text2.C (init): adjust, and rewrite loop.
6076 (redoParagraphs): adjust
6077 (updateInset): adjust, and rewrite loop.
6078 (deleteEmptyParagraphMechanism): adjust
6080 * tabular.C (LyXTabular): adjust
6081 (SetMultiColumn): adjust
6084 * lyxtext.[Ch] (ownerParagraph): delete function
6085 (ownerParagraphs): new function returns a ParagraphList.
6087 * BufferView.C (removeAutoInsets): adjust
6088 (insertErrors): adjust
6089 (setCursorFromRow): adjust
6091 2003-04-01 Angus Leeming <leeming@lyx.org>
6093 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6096 2003-04-02 John Levon <levon@movementarian.org>
6102 * text_funcs.C: make transposeChars a free function
6104 * lyxrow_funcs.C: remove wrong comment
6106 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * rowpainter.C: adjust
6114 * lyxrow_funcs. [Ch]: new files
6116 * lyxrow.[Ch]: remove next and previous pointers
6117 (next,previous): remove accessor functions
6118 (isParEnd): move to lyxrow_funcs
6119 (lastPos): move to lyxrow_funcs
6120 (nextRowIsAllInset): move to lyxrow_funcs
6121 (lastPrintablePos): move to lyxrow_funcs
6122 (numberOfSeparators): move to lyxrow_funcs
6123 (numberOfHfills): move to lyxrow_funcs
6124 (numberOfLabelHfills): move to lyxrow_funcs
6125 (hfillExpansion): move to lyxrow_funcs
6129 * bufferview_funcs.C (toggleAndShow): adjust
6131 * RowList.h: Remove class RowList from file leave just a
6134 * RowList.C: delete file
6136 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6139 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * text3.C (cursorPrevious): adjust
6142 (cursorNext): adjust
6145 * text2.C (redoHeightOfParagraph): adjust
6146 (redoDrawingOfParagraph): adjust
6149 * text.C (breakParagraph): adjust
6150 (insertChar): adjust
6153 * rowpainter.C (RowPainter): adjust
6154 (leftMargin): simplify and adjust
6155 (most rowpainter functions): adjust.
6157 * rowpainter.h: store the row as RowList::iterator not as Row*
6159 * lyxcursor.C (row): taka RowList::iterator as arg
6162 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6165 2003-04-01 Angus Leeming <leeming@lyx.org>
6167 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6168 stuff like bool Bool.
6170 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6172 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6175 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6180 * lyxtext.h (rows): drop one version and leve a const variant that
6181 returns a RowList::iterator.
6183 2003-03-31 Angus Leeming <leeming@lyx.org>
6185 * text.C (fill): ensure that the signature is the same as that in the
6188 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * text2.C (redoParagraphs): adjust
6191 (updateCounters): adjust
6192 (checkParagraph): adjust
6193 (getColumnNearX): adjust and reformat a bit.
6195 * text.C (top_y): adjust
6197 (leftMargin): adjust
6198 (prepareToPrint): adjust
6200 (getRowNearY): adjust
6202 * lyxtext.h: make rowlist_ mutable.
6204 * RowList.h: add const_iterator
6205 * RowList.C: adjust for RowList::const_iterator.
6207 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6210 2003-03-31 John Levon <levon@movementarian.org>
6213 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6215 * lyx_main.C: set default fonts from using lyx_gui funcs
6217 * exporter.C: pdf_mode moved from lyxrc
6220 * lyxfunc.C: changes from above
6222 2003-03-31 John Levon <levon@movementarian.org>
6224 * lyx_main.C: fix to the last fix
6226 2003-03-31 John Levon <levon@movementarian.org>
6228 * bufferlist.C: "Load original" -> "Load Original"
6234 * format.C: more Alert cleanups
6236 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * text2.C (removeParagraph): make it take a RowList::iterator as
6240 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6241 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6243 * text.C (anchor_row): make it take a RowList::iterator as arg,
6245 (computeBidiTables): make it take a const reference to Row instead
6246 of Row pointer, adjust.
6247 (leftMargin): make it take a RowList::iterator as arg, adjust.
6248 (rowBreakPoint): adjust
6249 (breakAgainOneRow): make it take a RowList::iterator as arg,
6251 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6253 * bufferview_funcs.C (toggleAndShow): adjust
6255 2003-03-30 John Levon <levon@movementarian.org>
6259 * boost-inst.C: moved to support
6261 * several files: changes as a result
6263 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * text2.C (LyXText): adjust.
6267 (removeRow): make it take a RowList::iterator as arg, adjust.
6268 (fullRebreak): adjust
6269 (deleteEmptyParagraphMechanism): adjust
6270 (clearPaint): adjust
6273 * text.C (top_y): adjust
6274 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6275 (breakAgain): make it take a RowList::iterator as arg, adjust.
6276 (breakParagraph): adjust
6277 (insertChar): adjust
6280 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6281 need_break_row, and refresh_row.
6283 * text3.C (dispatch): adjust
6285 * text2.C (checkParagraph): adjust
6287 (setCursorFromCoordinates): adjust
6289 * text.C (top_y): adjust
6291 (getRow): make it return a RowList::iterator, adjust
6292 (getRowNearY): make it return a RowList::iterator, adjust
6294 * text2.C (init): adjust
6295 (insertRow): remove function
6296 (insertParagraph): adjust
6297 (redoParagraphs): adjust
6298 (fullRebreak): adjust
6299 (updateCounters): adjust
6301 * text.C (top_y): rewrite to use RowList iterators.
6303 (setHeightOfRow): rewrite to sue RowList iterators.
6304 (appendParagraph): adjust
6305 (breakAgain): adjust
6306 (breakAgainOneRow): adjust
6307 (breakParagraph): adjust
6309 (getRowNearY): adjust, and remove commented code.
6311 * lyxtext.h (firstRow): delete function
6312 (lastRow): delete function
6313 (rows): new function (const and non-const versions.)
6314 (insertRow): delete function
6316 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6318 2003-03-29 John Levon <levon@movementarian.org>
6320 * BufferView_pimpl.C: always update scrollbar top
6321 because pasting text when we're anchored could mean we
6322 miss an update altogether
6324 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * text2.C (init): use rowlist_.end() and not 0.
6327 (insertRow): change to take a RowList::iterator as arg, adjust
6329 (insertParagraph): change to take a RowList::iterator as arg,
6331 (redoParagraphs): remove some debug msgs.
6333 * text.C (appendParagraph): change to take a RowList::iterator
6334 arg, adjust for this.
6335 (breakAgain): add an assert
6336 (breakAgainOneRow): ditto
6338 2003-03-29 John Levon <levon@movementarian.org>
6340 * text2.C: do not clear selection after inc/decDepth
6343 2003-03-29 John Levon <levon@movementarian.org>
6346 * buffer.C: fix broken strerrors according to Lars
6348 2003-03-29 John Levon <levon@movementarian.org>
6350 * converters.C: more Alert cleanups
6352 2003-03-29 John Levon <levon@movementarian.org>
6354 * bufferview_funcs.C: remove pointless Alert
6356 * buffer.C: fix confusing error message when
6357 a template is chmoded 000
6359 2003-03-29 John Levon <levon@movementarian.org>
6363 * BufferView_pimpl.C: Alert fixes
6367 * tabular-old.C: remove unused table compat reading
6369 2003-03-29 John Levon <levon@movementarian.org>
6374 * lyx_cb.C: more Alert cleanups
6376 * lyxfunc.C: don't allow chktex if not latex document
6378 2003-03-29 John Levon <levon@movementarian.org>
6382 * buffer.C: warnings pushed down from support/,
6385 2003-03-29 John Levon <levon@movementarian.org>
6387 * lyxfunc.C: safety check for C-r (revert)
6389 2003-03-29 John Levon <levon@movementarian.org>
6392 * bufferlist.C: several UI fixes using Alert::prompt.
6393 Fix the pointless looping quit code. Fix stupid revert
6398 * lyx_cb.C: use Alert::prompt
6400 * lyx_main.C: remove a silly question
6402 * lyxfunc.C: remove a couple of silly questions,
6405 2003-03-28 John Levon <levon@movementarian.org>
6407 * text2.C: fix bug 974 (End on empty par)
6409 2003-03-28 John Levon <levon@movementarian.org>
6411 * BufferView_pimpl.C:
6413 * lfuns.h: remove do-nothing math greek lfuns
6415 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * lyxgluelength.h (isValidGlueLength): add default arg on
6418 parameter 2. Remove default arg from friend in class.
6420 * lyxlength.h (isValidLength): add default arg on parameter 2.
6421 Remove default arg from friend in class.
6423 * text2.C (LyXText): adjust, initialize refresh_row.
6427 (insertParagraph): adjst
6428 (redoParagraphs): adjust
6429 (fullRebreak): adjust
6430 (updateCounters): adjust
6431 (deleteEmptyParagraphMechanism): first attempt at fixing a
6434 * text.C (top_y): adjust
6435 (setHeightOfRow): adjust
6437 (getRowNearY): adjust
6439 * lyxtext.h: include RowList.h
6440 (~LyXText): not needed anymore, deleted.
6441 (firstRow): modify for RowList
6442 (lastRow): new function
6443 Delete firstrow and lastrow class variables, add a Rowlist
6444 rowlist_ class variable.
6446 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6449 * RowList.C (insert): fix case where it == begin().
6451 2003-03-26 Angus Leeming <leeming@lyx.org>
6453 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6454 the thesaurus dialog.
6456 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6460 * RowList.[Ch]: new files
6462 * ParagraphList.C (erase): handle the case where it == begin
6465 2003-03-25 John Levon <levon@movementarian.org>
6469 * aspell.C: add new aspell support
6472 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6475 2003-03-25 Angus Leeming <leeming@lyx.org>
6478 * LyXAction.C (init): new LFUN_INSET_INSERT.
6480 * BufferView_pimpl.C (dispatch): split out part of the
6481 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6483 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6486 2003-03-25 Angus Leeming <leeming@lyx.org>
6488 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6490 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6493 * text3.C: remove useless row->height(0)
6495 2003-03-25 John Levon <levon@movementarian.org>
6499 * text3.C: rename the refreshing stuff to better names
6501 2003-03-24 John Levon <levon@movementarian.org>
6503 * BufferView_pimpl.h:
6504 * BufferView_pimpl.C: update layout choice on a mouse
6507 2003-03-23 John Levon <levon@movementarian.org>
6509 * Makefile.am: fix commandtags.h reference
6511 2003-03-22 John Levon <levon@movementarian.org>
6513 * BufferView_pimpl.C:
6518 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6520 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6523 * text.C: take the rtl methods out of line
6525 2003-03-21 André Pönitz <poenitz@gmx.net>
6527 * metricsinfo.[Ch]: new files containing structures to be passed around
6528 during the two-phase-drawing...
6530 2003-03-21 André Pönitz <poenitz@gmx.net>
6532 * lyxtextclass.C: read 'environment' tag.
6534 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6536 * text2.C (removeRow): fix bug 964
6538 2003-03-20 John Levon <levon@movementarian.org>
6542 * text2.C: paint cleanups. Inset::update() dropped font
6545 2003-03-19 John Levon <levon@movementarian.org>
6547 * lyxfunc.C: only fitcursor/markDirty if available()
6549 2003-03-19 John Levon <levon@movementarian.org>
6551 * commandtags.h: rename to ...
6553 * lfuns.h: ... this, and renumber / cleanup
6555 2003-03-19 John Levon <levon@movementarian.org>
6557 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6558 fit the cursor after an lfun
6562 * BufferView_pimpl.h:
6563 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6565 * LyXAction.C: layout-character should have ReadOnly
6567 * ParagraphParameters.C:
6569 * bufferview_funcs.C:
6576 * undo_funcs.C: changes from above
6578 2003-03-18 John Levon <levon@movementarian.org>
6580 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6581 remove it from update()
6583 * lyxfunc.C: update layout choice after an lfun
6585 * text3.C: remove extra updateLayoutChoice()s
6587 2003-03-18 John Levon <levon@movementarian.org>
6589 * text.C: top_y change means full repaint, fix
6590 a drawing bug with cursor movement
6592 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6596 * text2.C: anchor row on setCursor
6598 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6600 * lyxtext.h: remove almost all mutable keywords
6603 * text3.C: remove const keywords accordingly
6605 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6609 (TeXEnvironment): ditto
6612 2003-03-17 John Levon <levon@movementarian.org>
6614 * text.C (rowBreakPoint): remove attempt to fix displayed
6615 math insets inside a manual label
6617 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * lyxtext.h: remove BufferView* as first arg from almost all class
6621 * other files: adjust.
6623 2003-03-17 John Levon <levon@movementarian.org>
6627 * text2.C: more paint cleanups
6629 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6632 * rowpainter.C: remove "smart" background painting code
6634 2003-03-16 John Levon <levon@movementarian.org>
6639 * text3.C: add helper functions for setting refresh_row/y
6641 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6643 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6644 newline inset which *can* get inserted in the pass_thru layouts.
6645 This is primarily for literate documents.
6647 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6649 * buffer.C: increment LYX_FORMAT to 223
6651 2003-03-14 André Pönitz <poenitz@gmx.net>
6653 * textclass.h: prepare for environment handling, ws changes
6654 * lyxlayout.C: read latexheader and latexfooter tags
6656 2003-03-14 John Levon <levon@movementarian.org>
6658 * text2.C: rewrite ::status() a bit
6660 2003-03-13 John Levon <levon@movementarian.org>
6662 * lyxtext.h: add some docs
6664 2003-03-13 John Levon <levon@movementarian.org>
6669 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6671 2003-03-13 John Levon <levon@movementarian.org>
6673 * text3.C: fix appendix redrawing
6675 2003-03-13 John Levon <levon@movementarian.org>
6677 * text.C (setHeightOfRow):
6679 * rowpainter.C: make appendix mark have the text
6680 "Appendix" so the user knows what it is
6683 * LColor.C: s/appendixline/appendix/ from above
6685 2003-03-13 John Levon <levon@movementarian.org>
6687 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6689 * text.C: fix a getChar(pos) bug properly
6691 2003-03-13 Angus Leeming <leeming@lyx.org>
6694 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6695 Probably only temporary. Let's see how things pan out.
6697 * BufferView.C (unlockInset):
6698 * BufferView_pimpl.C (fitCursor):
6699 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6701 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6702 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6704 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6705 new functions that convert ParagraphParameters to and from a string.
6707 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6708 BufferView::Pimpl's dispatch.
6709 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6711 2003-03-13 André Pönitz <poenitz@gmx.net>
6715 * factory.C: make it aware of InsetEnv
6717 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * text2.C (setCursor): never ask for one past last
6720 (setCursor): add some debugging messages.
6722 * text.C (singleWidth): never ask for one past last
6723 (singleWidth): ditto
6725 (rightMargin): ditto
6726 (rowBreakPoint): ditto
6727 (setHeightOfRow): ditto
6728 (prepareToPrint): ditto
6730 * rowpainter.C (paintBackground): never ask for one past last
6731 (paintText): never ask for one past last
6733 * paragraph_pimpl.C (getChar): make the assert stricter, never
6734 allow the one past last pos to be taken
6736 * paragraph.C (getChar): ws changes only
6738 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6739 (numberOfSeparators): ditto
6740 (numberOfHfills): ditto
6742 2003-03-12 John Levon <levon@movementarian.org>
6748 * paragraph_funcs.C: fix per-buffer authorlists
6750 2003-03-12 John Levon <levon@movementarian.org>
6752 * text.C: fix newline in right address
6754 2003-03-12 Angus Leeming <leeming@lyx.org>
6756 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6757 duplicate those in LyXFunc::dispatch.
6761 * ToolbarDefaults.C:
6762 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6763 Add LFUN_FONTFREE_UPDATE.
6765 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6766 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6768 * bufferview_func.[Ch]: several new functions to facilliate
6769 transfer of data to and from the character dialog.
6771 2003-03-12 John Levon <levon@movementarian.org>
6776 * paragraph_funcs.C:
6777 * paragraph_pimpl.C:
6781 * text3.C: remove META_NEWLINE in favour of an inset
6784 * rowpainter.C: remove paintNewline (done by inset)
6786 2003-03-12 John Levon <levon@movementarian.org>
6788 * paragraph_pimpl.C: complain about bad getChar()s
6789 for a while at least
6791 2003-03-12 John Levon <levon@movementarian.org>
6794 * buffer.C: move paragraph read into a separate function,
6795 a little renaming to reflect that.
6798 * bufferparams.C: remove the author_ids map, not necessary now
6801 * factory.C: moved Buffer::readInset to here
6803 * paragraph_funcs.h:
6804 * paragraph_funcs.C: readParagraph free function moved from
6807 * tabular.C: name change
6809 2003-03-12 John Levon <levon@movementarian.org>
6812 * ParagraphParameters.C: move par params input to
6815 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6816 behave like a normal read from the stream wrt reading
6817 a line vs. a \\token
6819 2003-03-12 John Levon <levon@movementarian.org>
6822 * ParagraphParameters.h:
6823 * ParagraphParameters.C: move output code to a
6826 2003-03-12 John Levon <levon@movementarian.org>
6828 * BufferView.C (insertLyXFile):
6831 * tabular.C: use a parlist iterator for creating the
6834 2003-03-12 John Levon <levon@movementarian.org>
6836 * buffer.C: make current_change static local not
6839 2003-03-12 John Levon <levon@movementarian.org>
6841 * buffer.C: fix insertStringAsLines for change tracking
6843 2003-03-12 John Levon <levon@movementarian.org>
6850 * bufferparams.C: move author list into params. Rename some
6851 functions. Move the header reading into a separate token
6852 loop. Move the header token reading into BufferParams.
6854 2003-03-12 John Levon <levon@movementarian.org>
6856 * changes.C: put debug inside lyxerr.debugging() checks
6858 2003-03-11 André Pönitz <poenitz@gmx.net>
6860 * factory.C: make it aware of InsetHFill
6862 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6864 * buffer.C (latexParagraphs): move function from here...
6865 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6868 2003-03-10 Angus Leeming <leeming@lyx.org>
6870 * LyXAction.C (init): fix bug in poplating array with multiple entries
6871 with the same LFUN (spotted by JMarc).
6873 2003-03-10 John Levon <levon@movementarian.org>
6876 * text2.C: move getColumnNearX() near its
6879 2003-03-10 John Levon <levon@movementarian.org>
6881 * text.C: fix break before a minipage
6883 2003-03-10 John Levon <levon@movementarian.org>
6885 * text.C: fix the last commit
6887 2003-03-09 John Levon <levon@movementarian.org>
6891 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6892 bug 365 (don't break before insets unless needed). Don't
6893 return a value > last under any circumstances.
6895 2003-03-09 Angus Leeming <leeming@lyx.org>
6897 * BufferView_pimpl.C (trackChanges, dispatch): call
6898 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6900 2003-03-09 Angus Leeming <leeming@lyx.org>
6902 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6903 than Dialogs::showAboutlyx().
6905 2003-03-09 Angus Leeming <leeming@lyx.org>
6907 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6908 than Dialogs::showTabularCreate().
6910 2003-03-09 John Levon <levon@movementarian.org>
6914 * text2.C: 3rd arg to nextBreakPoint was always the same.
6917 2003-03-08 John Levon <levon@movementarian.org>
6924 * text2.C: Remove the "main" bit from the "main body"
6927 2003-03-08 John Levon <levon@movementarian.org>
6929 * text.C (leftMargin): The left margin of an empty
6930 manual label paragraph should not include the label width
6933 * text.C (prepareToPrint): don't attempt to measure hfills
6934 for empty manual label paragraphs - the answer should be 0
6936 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6938 * CutAndPaste.C: remove commented code and reindent.
6940 2003-03-08 John Levon <levon@movementarian.org>
6943 * lyxfunc.C: move reloadBuffer()
6946 * BufferView.C: to here
6948 * lyxvc.C: add comment
6951 * vc-backend.C: call bv->reload() to avoid
6952 getStatus() check on MENURELOAD
6954 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6956 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6957 to an old format .dep file.
6959 2003-03-07 Angus Leeming <leeming@lyx.org>
6961 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6962 when the LFUN_MOUSE_RELEASE should have been handled by
6963 inset->localDispatch.
6965 2003-03-07 Angus Leeming <leeming@lyx.org>
6967 * BufferView_pimpl.C (dispatch):
6968 * LyXAction.C (init):
6969 * ToolbarDefaults.C (init):
6971 * lyxfunc.C (getStatus):
6972 remove LFUN_INSET_GRAPHICS.
6974 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6976 2003-03-07 Angus Leeming <leeming@lyx.org>
6979 * LyXAction.C (init):
6980 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6982 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6985 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6987 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6988 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6990 2003-03-07 Angus Leeming <leeming@lyx.org>
6992 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6995 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * ParagraphList.C (front): new function
7000 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7002 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7003 and top_row_offset_. removed var first_y.
7005 * text2.C (LyXText, removeRow):
7007 * BufferView_pimpl.C:
7008 use these methods instead of using first_y
7010 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * text2.C (pasteSelection): adjust for checkPastePossible
7014 * CutAndPaste.C: remove Paragraph * buf and replace with
7015 ParagraphList paragraphs.
7016 (DeleteBuffer): delete
7017 (cutSelection): change the tc type to textclass_type
7018 (copySelection): change the tc type to textclass_type
7019 (copySelection): adjust for ParagraphList
7020 (pasteSelection): change the tc type to textclass_type
7021 (pasteSelection): adjust for Paragraphlist
7022 (nrOfParagraphs): simplify for ParagraphList
7023 (checkPastePossible): simplify for ParagraphList
7024 (checkPastePossible): remove unused arg
7026 * ParagraphList.C (insert): handle the case where there are no
7029 * CutAndPaste.h: make CutAndPaste a namespace.
7031 * text3.C (dispatch): adjust
7033 * text.C (breakParagraph): add a ParagraphList as arg
7035 * paragraph_funcs.C (breakParagraph): change to take a
7036 BufferParams and a ParagraphList as args.
7037 (breakParagraphConservative): ditto
7038 (mergeParagraph): ditto
7039 (TeXDeeper): add a ParagraphList arg
7040 (TeXEnvironment): ditto
7043 * buffer.C (readLyXformat2): adjust
7044 (insertStringAsLines): adjust
7045 (latexParagraphs): adjust
7047 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7048 (cutSelection): adjust
7049 (pasteSelection): adjust
7051 * BufferView_pimpl.C (insertInset): adjust
7053 2003-03-05 Angus Leeming <leeming@lyx.org>
7056 * LyXAction.C (init):
7057 * BufferView_pimpl.C (dispatch):
7058 * lyxfunc.C (getStatus):
7059 remove LFUN_CHILD_INSERT.
7061 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7063 2003-03-05 Angus Leeming <leeming@lyx.org>
7066 * LyXAction.C (init):
7067 * src/factory.C (createInset):
7068 * lyxfunc.C (getStatus):
7069 * text3.C (dispatch):
7070 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7072 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7074 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * ParagraphList.C (insert): handle insert right before end()
7077 (erase): fix cases where it can be first or last paragraph.
7079 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7082 Paragraph::next and Paragraph::previous
7085 * text.C (breakParagraph): adjust
7087 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7088 BufferParams& as arg.
7089 (breakParagraph): use ParagraphList::insert
7090 (breakParagraphConservative): take a Buffer* instead of a
7091 BufferParams& as arg.
7092 (breakParagraphConservative): use ParagraphList::insert.
7094 * buffer.C (insertStringAsLines): un-const it
7095 (insertStringAsLines): adjust
7097 * ParagraphList.C (insert): new function
7099 * CutAndPaste.C (pasteSelection): adjust
7101 * text.C (backspace): adjust
7103 * tabular.C (SetMultiColumn): adjust
7105 * CutAndPaste.C (cutSelection): adjust
7106 (pasteSelection): adjust
7108 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7109 Buffer const * as arg
7111 * ParagraphList.C (erase): new function
7112 * paragraph_funcs.C (mergeParagraph): use it
7113 (mergeParagraph): make it take a Buffer* instead of a
7114 BufferParams* as arg
7116 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7118 (breakParagraphConservative): ditto
7120 * paragraph.h: remove the breakParagraph friend
7122 * paragraph.C (eraseIntern): new function
7123 (setChange): new function
7125 * paragraph_funcs.C (mergeParagraph): make it take a
7126 ParagraphList::iterator instead of a Paragraph *, adjust
7129 * paragraph.h: move an #endif so that the change tracking stuff
7130 also works in the NO_NEXT case.
7132 2003-03-04 Angus Leeming <leeming@lyx.org>
7135 * LyXAction.C: new LFUN_INSET_MODIFY.
7137 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7138 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7140 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7142 * several files: ws changes only
7144 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7145 (TeXEnvironment): ditto
7148 * buffer.C (makeLaTeXFile): adjust
7149 (latexParagraphs): make it take ParagraphList::iterator as args
7151 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * buffer.C (latexParagraphs): adjust
7155 * paragraph.C (TeXOnePar): move function...
7156 (optArgInset): move function...
7157 (TeXEnvironment): move function...
7158 * paragraph_pimpl.C (TeXDeeper): move function...
7159 * paragraph_funcs.C: ...here
7161 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7163 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * buffer.C (readInset): remove compability code for old Figure and
7168 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * buffer.C: ws changes
7173 * BufferView_pimpl.C: ditto
7176 * bufferlist.h: ditto
7180 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7182 * converter.[Ch]: split into itself +
7185 * Makefile.am: += graph.[Ch] + format.[Ch]
7192 * lyxrc.C: added #include "format.h"
7194 2003-02-27 Angus Leeming <leeming@lyx.org>
7196 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7199 * factory.C (createInset): add "label" to the factory.
7201 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7202 string and do no more.
7204 2003-02-27 Angus Leeming <leeming@lyx.org>
7207 * LyXAction.C (init):
7208 * factory.C (createInset):
7209 * BufferView_pimpl.C (dispatch):
7210 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7212 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7214 * lyxfunc.C (dispatch):
7215 * text3.C (dispatch): pass name to params2string.
7217 2003-02-26 Angus Leeming <leeming@lyx.org>
7219 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7221 Rearrange the ~includes. Strip out the unnecessary ones.
7223 * factory.C (createInset): reformat.
7224 create new insets for the various LFUN_XYZ_APPLY lfuns.
7226 2003-02-26 John Levon <levon@movementarian.org>
7229 * lyxrow.C: add isParStart,isParEnd helpers
7231 * paragraph.h: make isInserted/DeletedText take refs
7233 * paragraph_funcs.h:
7234 * paragraph_funcs.C: remove #if 0'd code
7239 * text.C: use lyxrow helpers above.
7240 Move draw and paint routines to RowPainter.
7241 Make several methods use refs not pointers.
7242 Make backgroundColor() const.
7243 Add markChangeInDraw(), isInInset().
7244 Merge changeRegionCase into changeCase.
7245 Make workWidth() shouldn't-happen code into an Assert.
7248 * rowpainter.C: new class for painting a row.
7251 * vspace.C: make inPixels take a ref
7253 2003-02-26 Angus Leeming <leeming@lyx.org>
7255 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7258 2003-02-25 John Levon <levon@movementarian.org>
7260 * ispell.C: give the forked command a more accurate name
7262 2003-02-22 John Levon <levon@movementarian.org>
7265 * toc.C: make TocItem store an id not a Paragraph *
7268 2003-02-21 Angus Leeming <leeming@lyx.org>
7270 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7271 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7272 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7273 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7274 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7275 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7277 * BufferView_pimpl.C (dispatch):
7278 * LyXAction.C (init):
7279 * factory.C (createInset):
7280 * lyxfunc.C (getStatus, dispatch):
7281 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7283 2003-02-21 Angus Leeming <leeming@lyx.org>
7285 * BufferView_pimpl.C (MenuInsertLyXFile):
7286 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7287 * lyxfunc.C (menuNew, open, doImport):
7288 no longer pass a LyXView & to fileDlg.
7290 2003-02-21 Angus Leeming <leeming@lyx.org>
7292 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7293 * LyXAction.C: change, BIBKEY to BIBITEM.
7294 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7295 Change InsetBibKey to InsetBibitem.
7296 Change BIBKEY_CODE to BIBITEM_CODE.
7297 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7298 * factory.C: replace insetbib.h with insetbibitem.h.
7299 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7300 * paragraph.C: replace insetbib.h with insetbibitem.h.
7301 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7302 Change bibkey() to bibitem().
7303 * text.C: remove insetbib.h.
7304 * text2.C: replace insetbib.h with insetbibitem.h.
7305 change bibkey() to bibitem().
7306 * text3.C: remove insetbib.h.
7307 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7309 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7311 * lyxrc.C (output): enclose user email in quotes (in case there are
7314 2003-02-18 John Levon <levon@movementarian.org>
7316 * buffer.h: add std::
7318 2003-02-17 John Levon <levon@movementarian.org>
7324 * pspell.C: reworking. Especially in ispell, a large
7325 number of clean ups and bug fixes.
7327 * lyxfunc.C: fix revert to behave sensibly
7329 2003-02-17 André Pönitz <poenitz@gmx.net>
7332 * commandtags.h: new LFUN_INSERT_BIBKEY
7342 * paragraph_func.C: remove special bibkey handling
7344 2003-02-17 John Levon <levon@movementarian.org>
7346 * text.C (Delete): fix case where delete at the end of
7347 the very first paragraph would not merge the pars
7349 2003-02-17 John Levon <levon@movementarian.org>
7351 * lyxrow.C: fix lastPrintablePos()
7353 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7355 * bufferparams.C (writeLaTeX): add a std:here
7357 * buffer.C: and remove a using directive there
7359 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7361 * buffer.C (makeLaTeXFile): move the code that generates the
7364 * bufferparams.C (writeLaTeX): ... in this new method
7366 * LaTeXFeatures.C (getEncodingSet): make const
7367 (getLanguages): make const
7369 * MenuBackend.C (binding): returns the binding associated to this
7371 (add): sets the status of each item by calling getStatus. Adds
7373 (read): add support for OptSubMenu
7374 (expand): remove extra separator at the end of expanded menu
7376 2003-02-15 John Levon <levon@movementarian.org>
7379 * BufferView_pimpl.C:
7381 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7382 inset code that had no actual effect. Remove unneeded status
7385 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7387 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7390 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7392 * text.C (drawLengthMarker): also draw an arrow marker for
7393 symbolic lengths (medskip...)
7395 2003-02-14 John Levon <levon@movementarian.org>
7398 * tabular.C: better method names
7400 2003-02-14 John Levon <levon@movementarian.org>
7402 * BufferView_pimpl.C:
7407 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7408 it's a more accurate name. Remove some pointless uses.
7410 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7412 * text2.C (LyXText): change order of initilizers to shut off
7415 2003-02-14 John Levon <levon@movementarian.org>
7417 * buffer.C: use ParIterator for getParFromID()
7421 * paragraph_pimpl.h:
7422 * paragraph_pimpl.C: remove unused getParFromID()
7424 2003-02-14 John Levon <levon@movementarian.org>
7426 * buffer.C: remove some very old #if 0'd parse code
7428 2003-02-13 John Levon <levon@movementarian.org>
7432 * text2.C: move hfillExpansion(), numberOfSeparators(),
7433 rowLast(), rowLastPrintable(), numberofHfills(),
7434 numberOfLabelHfills() ...
7437 * lyxrow.C: ... to member functions here.
7442 * text.C: remove LyXText::beginningOfMainBody(), and call
7443 p->beginningOfMainBody() directly. Move the check for
7444 LABEL_MANUAL into the latter.
7451 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7457 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7458 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7460 2003-02-13 John Levon <levon@movementarian.org>
7462 * CutAndPaste.C: remove debug
7464 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7466 * paragraph.C (asString): remove two unused variables
7468 * lyxtextclass.C (readTitleType):
7470 (LyXTextClass): handle new members titletype_ and titlename_
7472 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7474 2003-02-09 John Levon <levon@movementarian.org>
7477 * buffer.C: replace hand-coded list with a map for the dep clean
7479 2003-02-08 John Levon <levon@movementarian.org>
7481 * LaTeX.C: consolidate code into showRunMessage() helper
7483 2003-02-08 John Levon <levon@movementarian.org>
7488 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7489 and pass the size in explicitly
7491 * BufferView_pimpl.h:
7492 * BufferView_pimpl.C:
7494 * BufferView.C: add getCurrentChange()
7496 * BufferView_pimpl.h:
7497 * BufferView_pimpl.C: handle change lfuns
7499 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7500 for changes. Mark pasted paragraphs as new.
7502 * support/lyxtime.h:
7503 * support/lyxtime.C:
7504 * DepTable.C: abstract time_t as lyx::time_type
7507 * LColor.C: add colours for new text, deleted text, changebars
7509 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7510 package use "usenames" option.
7514 * LyXAction.C: add change lfuns
7518 * author.C: author handling
7521 * buffer.C: add a per-buffer author list, with first entry as
7522 current author. Handle new .lyx tokens for change tracking. Output
7523 author list to .lyx file. Output dvipost stuff to .tex preamble.
7524 Bump lyx format to 222.
7527 * bufferlist.C: add setCurrentAuthor() to reset current author details
7531 * bufferparams.C: add param for tracking
7533 * bufferview_funcs.C: output change info in minibuffer
7537 * changes.C: add change-tracking structure
7540 * debug.C: add CHANGES debug flag
7543 * lyxfind.C: add code for finding the next change piece
7546 * lyxrc.C: add user_name and user_email
7549 * lyxrow.C: add a metric for the top of the text line
7552 * text.C: implement accept/rejectChange()
7555 * text.C: paint changebars. Paint new/deleted text in the chosen
7556 colours. Strike through deleted text.
7560 * paragraph_pimpl.h:
7561 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7562 in the current change to the insert functions. Rework erase to
7563 mark text as deleted, adding an eraseIntern() and a range-based
7564 erase(). Implement per-paragraph change lookup and
7567 * paragraph_funcs.C: Fixup paste for change tracking.
7569 * tabular.C: mark added row/columns as new.
7571 * text.C: fix rowLast() to never return -1. Don't allow
7572 spellchecking of deleted text. Track transpose changes. Don't
7573 allow paragraph break or merge where appropriate.
7575 * text2.C: leave cursor at end of selection after a cut.
7577 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7579 * text.C (getLengthMarkerHeight):
7580 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7581 visible on screen too.
7583 2003-02-07 John Levon <levon@movementarian.org>
7585 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7587 2003-02-05 Angus Leeming <leeming@lyx.org>
7589 * lyxserver.C (read_ready): revert my patch of 11 September last year
7590 as it sends PC cpu through the roof. Presumably this means that
7591 the lyxserver will no longer run on an Alpha...
7593 2003-01-30 Angus Leeming <leeming@lyx.org>
7595 * factory.C (createInset): create an InsetCommandParam of type "index"
7596 and use it to 'do the right thing'.
7598 * text2.C (getStringToIndex): ensure that cursor position is always
7599 reset to the reset_cursor position.
7601 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7603 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7606 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7610 * lyxfunc.C: Output messages with identical spelling, punctuation,
7613 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7615 * MenuBackend.C (expandFormats): List only viewable export formats
7618 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7621 * lyxfunc.C (getStatus): Make sure that formats other than
7622 "fax" can also be disabled
7624 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7626 * text3.C (dispatch): put the lfuns that insert insets in 3
7627 groups, and call doInsertInset with appropriate arguments.
7628 (doInsertInset): new function, that creates an inset and inserts
7629 it according to some boolean parameters.
7631 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * buffer.C (readFile): remember to pass on 'par' when calling
7634 readFile recursively.
7636 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7638 * MenuBackend.C (expandFormats): add "..." to import formats.
7640 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7642 * paragraph.C (asString): Remove XForms RTL hacks.
7644 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7645 * buffer.C: fix typo
7647 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * Makefile.am (LIBS): delete var
7650 (lyx_LDADD): add @LIBS@ here instead.
7652 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7654 * Clarify the meaning of "wheel mouse jump"
7656 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7658 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7661 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7663 * importer.C (Loaders): do not preallocate 3 elements in the
7664 vector, since one ends up with 6 elements otherwise
7666 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7668 * DepTable.C (write): write the file name as last element of the
7669 .dep file (because it may contain spaces)
7670 (read): read info in the right order
7672 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7674 * paragraph_pimpl.C (simpleTeXBlanks):
7675 (simpleTeXSpecialChars):
7676 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7678 * tabular.C (latex): add some missing case statements. Reindent.
7680 * MenuBackend.C (expandToc): remove unused variable.
7682 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7691 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7694 2003-01-05 John Levon <levon@movementarian.org>
7697 * BufferView.C: add getEncoding()
7700 * kbsequence.C: do not store last keypress
7703 * lyxfunc.C: store last keypress here instead. Pass encoding
7706 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7708 * lyx_main.C (init): remove annoying error message when following
7709 symbolic links (bug #780)
7711 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7713 * text.C (insertChar):
7714 * lyxrc.C (getDescription): remove extra spaces
7716 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7718 * lyxrc.C (getDescription): remove extra spaces
7720 2002-12-20 John Levon <levon@movementarian.org>
7722 * text3.C: hack fix for page up/down across tall rows
7724 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7726 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7729 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7731 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7732 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7733 thesaurus is not compiled in
7735 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7737 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7739 2002-12-16 Angus Leeming <leeming@lyx.org>
7742 * lyx_main.C (init): remove override_x_deadkeys stuff.
7744 2002-12-12 John Levon <levon@movementarian.org>
7746 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7747 insert. Only remove shift modifier under strict
7750 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * MenuBackend.C (expandToc): fix crash.
7754 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7756 * MenuBackend.C (expandToc): gettext on float names.
7758 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7760 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7761 implement bool empty() [bug 490]
7763 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7767 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * several files: ws changes
7771 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * text2.C (setCounter): clean up a bit, use boost.format.
7774 (updateCounters): initialize par upon declaration.
7776 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7777 if the layout exists. We do not just store the layout any more.
7778 (SwitchLayoutsBetweenClasses): use boost.format
7780 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7782 * converter.C (convert): if from and to files are the same, use a
7783 temporary files as intermediary
7785 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7788 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7790 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7792 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7794 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * tabular.C (asciiPrintCell): use string(size, char) instead of
7799 * sgml.C (openTag): fix order of arguments to string constructor
7802 * lyxfunc.C (dispatch): use boost.format
7804 * lots of files: change "c" -> 'c'
7806 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7808 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7810 2002-11-25 Angus Leeming <leeming@lyx.org>
7812 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7814 * lyx_main.C (init): compile fix.
7816 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * lyx_cb.C (start): boost.formatify
7819 do not include <iostream>
7821 * lengthcommon.C: ws only
7823 * boost-inst.C,BoostFormat.h: add more explict instantations
7825 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * lots of files: handle USE_BOOST_FORMAT
7829 2002-11-21 John Levon <levon@movementarian.org>
7831 * pspell.C: fix compile
7833 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * lyxfunc.C (dispatch): use boost::format
7839 * lyxfont.C (stateText): use boost::format
7841 * lyx_main.C (LyX): use boost::format
7843 (queryUserLyXDir): ditto
7846 (typedef boost::function): use the recommened syntax.
7848 * importer.C (Import): use boost::format
7850 * debug.C (showLevel): use boost::format
7852 * converter.C (view): use boost::format
7857 * bufferview_funcs.C (currentState): use boost::format
7859 * bufferlist.C (emergencyWrite): use boost::format
7861 * buffer.C (readLyXformat2): use boost::format
7862 (parseSingleLyXformat2Token): ditto
7864 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7866 * LaTeX.C (run): use boost::format
7868 * Chktex.C (scanLogFile): use boost::format
7870 * BufferView_pimpl.C (savePosition): use boost::format
7871 (restorePosition): ditto
7872 (MenuInsertLyXFile): ditto
7874 * BoostFormat.h: help file for explicit instation.
7876 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7878 * tabular.C (latex): Support for block alignment in fixed width
7881 2002-11-17 John Levon <levon@movementarian.org>
7883 * BufferView_pimpl.C:
7885 * lyxfunc.C: split filedialog into open/save
7887 2002-11-08 Juergen Vigna <jug@sad.it>
7889 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7890 by my last patch (hopefully).
7892 2002-11-08 John Levon <levon@movementarian.org>
7901 * toc.C: ParConstIterator, and use it (from Lars)
7903 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7905 * lyxtextclass.[Ch]: revise and add doxygen comments
7907 2002-11-07 John Levon <levon@movementarian.org>
7909 * text.C: fix progress value for spellchecker
7911 * toc.C: fix navigate menu for insetwrap inside minipage
7913 * paragraph_funcs.C: added FIXME for suspect code
7915 2002-11-07 John Levon <levon@movementarian.org>
7917 * BufferView_pimpl.C: fix redrawing of insets
7920 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7922 * text2.C (updateCounters): fix bug 668
7924 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7926 * text3.C (dispatch): Do not make the buffer dirty when moving the
7929 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7931 * vc-backend.C: STRCONV
7934 * text2.C (setCounter): STRCONV
7936 * paragraph.C (asString): STRCONV
7938 * lyxlength.C (asString): STRCONV
7939 (asLatexString): ditto
7941 * lyxgluelength.C (asString): STRCONV
7942 (asLatexString): ditto
7944 * lyxfunc.C (dispatch): STRCONV
7947 * lyxfont.C (stateText): STRCONV
7949 * importer.C (Import): STRCONV
7951 * counters.C (labelItem): STRCONV
7952 (numberLabel): ditto
7953 (numberLabel): remove unused ostringstream o
7958 * bufferview_funcs.C (currentState): STRCONV
7960 * buffer.C (readFile): STRCONV
7961 (asciiParagraph): ditto
7962 (makeLaTeXFile): ditto
7964 * Spacing.C (writeEnvirBegin): STRCONV
7966 * LaTeXFeatures.C (getLanguages): STRCONV
7967 (getPackages): ditto
7969 (getBabelOptions): ditto
7970 (getTClassPreamble): ditto
7971 (getLyXSGMLEntities): ditto
7972 (getIncludedFiles): ditto
7976 (scanAuxFile): ditto
7979 * LString.h: add the STRCONV macros
7981 * BufferView_pimpl.C (savePosition): STRCONV
7982 (restorePosition): ditto
7983 (MenuInsertLyXFile): ditto
7985 * vc-backend.C (scanMaster): change from submatch[...] to
7988 * funcrequest.C: include config.h
7990 * factory.C: include config.h
7992 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7994 * box.C: include config.h
7996 * LaTeX.C (scanAuxFile): change from submatch[...] to
8000 2002-10-25 Angus Leeming <leeming@lyx.org>
8002 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8004 * ispell.[Ch] (setError): new method.
8005 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8006 Use setError() insetead of goto END.
8008 * lyx_cb.C (AutoSave): move out child process into new class
8011 2002-10-30 John Levon <levon@movementarian.org>
8013 * text3.C: make start appendix undoable
8015 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8017 * lyxlength.C (inPixels): Fix returned value.
8019 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8022 2002-10-24 Angus Leeming <leeming@lyx.org>
8024 * lyxgluelength.h: no need to forward declare BufferParams
8025 or BufferView, so don't.
8027 2002-10-21 John Levon <levon@movementarian.org>
8029 * BufferView.C: menuUndo ->undo, redo
8031 * BufferView.h: document, remove dead, make some methods private
8033 * paragraph_funcs.h:
8034 * paragraph_funcs.C:
8035 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8040 * sgml.C: move sgml open/close tag into sgml.C
8042 * bufferview_funcs.h: unused prototype
8045 * lyxfunc.C: remove unused
8048 * text.C: remove unused
8050 2002-10-21 John Levon <levon@movementarian.org>
8054 * BufferView_pimpl.h:
8055 * BufferView_pimpl.C: fix mouse wheel handling based on
8056 patch from Darren Freeman
8058 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8060 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8062 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8064 * lyxlength.C (inPixels): Fix hanfling of negative length.
8065 Fix LyXLength::MU case.
8067 2002-10-16 John Levon <levon@movementarian.org>
8069 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8071 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8073 * converter.C (view): add support for $$i (file name) and $$p
8074 (file path) for the viewer command. If $$i is not specified, then
8075 it is appended to the command (for compatibility with old syntax)
8077 2002-10-14 Juergen Vigna <jug@sad.it>
8079 * undo_funcs.C (textHandleUndo): alter the order in which the
8080 new undopar is added to the LyXText, as we have to set first
8081 the right prev/next and then add it as otherwise the rebuild of
8082 LyXText is not correct. Also reset the cursor to the right paragraph,
8083 with this IMO we could remove the hack in "redoParagraphs()".
8085 2002-10-09 Angus Leeming <leeming@lyx.org>
8087 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8088 to turn off an optimisation if a new inset is to be inserted.
8090 2002-10-11 André Pönitz <poenitz@gmx.net>
8092 * lyxtext.h: make some functions public to allow access
8093 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8095 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8097 * text3.C (dispatch): when changing layout, avoid an infinite loop
8100 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8102 * lyxrc.C (read): treat a viewer or converter command of "none" as
8105 * MenuBackend.C (expandFormats): for an update, also allow the
8106 formats that are not viewable
8108 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8109 script if it is newer than the lyxrc.defaults in user directory
8111 2002-10-07 André Pönitz <poenitz@gmx.net>
8113 * text.C: Vitaly Lipatov's small i18n fix
8115 2002-09-25 Angus Leeming <leeming@lyx.org>
8117 * ispell.h: doxygen fix.
8119 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8121 * buffer.h (readFile): Add a new argument to the method, to allow
8122 reading of old-format templates.
8124 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8126 * toc.C (getTocList): Get TOC from InsetWrap.
8128 2002-09-16 John Levon <levon@movementarian.org>
8130 * lyxfunc.C: check tabular for cut/copy too
8132 2002-09-12 John Levon <levon@movementarian.org>
8137 * factory.C: add header
8139 * paragraph_funcs.h:
8140 * paragraph_funcs.C: cleanup
8142 2002-09-11 John Levon <levon@movementarian.org>
8144 * PrinterParams.h: odd/even default to true
8146 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8148 * PrinterParams.h: update printer parameters for new xforms dialog
8150 2002-09-11 Angus Leeming <leeming@lyx.org>
8152 * lyxserver.C (read_ready): re-write to make it more transparent
8153 and to make it work in coherent fashion under Tru64 Unix.
8155 2002-09-11 André Pönitz <poenitz@gmx.net>
8159 * text3.C: implement LFUN_WORDSEL
8161 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8164 make floatlist_ a boost::shared_ptr<FloatList>
8166 * lyxtextclass.C: include FloatList.h
8167 (LyXTextClass): initialize floatlist_
8168 (TextClassTags): add TC_NOFLOAT
8169 (Read): match "nofloat" to TC_NOFLOAT and use it.
8170 (readFloat): modify call to floatlist_
8174 * FloatList.[Ch] (FloatList): remove commented out float
8176 (erase): new function
8178 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8180 * MenuBackend.C (expandToc): fix crash when there is no document
8183 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8185 * many files: Add insetwrap.
8187 2002-09-09 John Levon <levon@movementarian.org>
8189 * text2.C: remove confusing and awkward depth wraparound
8191 2002-09-09 John Levon <levon@movementarian.org>
8193 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8196 * buffer.C: remove getIncludeonlyList()
8199 * lyxfunc.C: remove headers
8201 2002-09-09 Juergen Vigna <jug@sad.it>
8203 * text.C (getColumnNearX): fix form Michael this is most
8204 probably a cut&paste bug.
8206 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8210 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8211 references, ws changes.
8213 * text2.C (init): update counters after init
8214 (insertParagraph): no need to set counter on idividual paragraphs.
8215 (setCounter): access the counters object in the textclass object
8216 on in the buffer object.
8217 (updateCounters): ditto
8219 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8220 shared_ptr<Counters> to avoid loading counters.h in all
8222 (LyXTextClass): initialize ctrs_
8223 (TextClassTags): add TC_COUNTER, and ...
8224 (Read): use it here.
8225 (CounterTags): new tags
8226 (readCounter): new function
8227 (counters): new funtion
8228 (defaultLayoutName): return a const reference
8230 * counters.C (Counters): remove contructor
8231 (newCounter): remove a couple of unneeded statements.
8232 (newCounter): simplify a bit.
8233 (numberLabel): some small formatting changes.
8235 * buffer.[Ch]: remove all traces of counters, move the Counters
8236 object to the LyXTextClass.
8238 2002-09-06 Alain Castera <castera@in2p3.fr>
8240 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8241 package to set the horizontal alignment on fixed width columns.
8244 * lyx_sty.h: added tabularnewline macro def.
8246 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8248 2002-09-06 John Levon <levon@movementarian.org>
8250 * LyXAction.C: tooltips for sub/superscript
8252 * MenuBackend.C: a bit more verbose
8254 * lyxfunc.C: tiny clean
8256 * undo_funcs.C: document undo_frozen
8258 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * counters.C (Counters): add missing algorithm counter.
8262 * text2.C (setCounter): lookup the counter with layouts latexname
8263 instead of by section number.
8264 (setCounter): use a hackish way to lookup the correct enum
8266 a float name->type change
8267 reset enum couners with counter name directly instead of depth value.
8269 * counters.C (Counters): remove the push_backs, change to use the
8270 float type not the float name.
8271 (labelItem): remove unused string, float name->type change
8273 * counters.h: don't include vector, loose the enums and sects vectors
8275 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8278 (Read): add float->TC_FLOAT to textclassTags
8279 (Read): and handle it in the switch
8280 (readFloat): new function
8282 * FloatList.C (FloatList): comment out the hardcoded float
8285 * lyxlayout.h: ws change.
8287 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8289 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8291 2002-09-03 Angus Leeming <leeming@lyx.org>
8293 * BufferView_pimpl.h: qualified name is not allowed in member
8294 declaration: WorkArea & Pimpl::workarea() const;
8296 * factory.C: added using std::endl directive.
8298 * text3.C: added using std::find and std::vector directives.
8300 2002-08-29 André Pönitz <poenitz@gmx.net>
8303 * text2.C: remove unused member number_of_rows
8306 * BufferView2.C: remove file, move contents to...
8307 * BufferView.C: ... here
8309 * BufferView_pimpl.C:
8310 * factory.C: move more inset creation to factory
8312 * vspace.C: avoid direct usage of LyXText, ws changes
8315 don't provide direct access to WorkArea, use two simple
8316 acessors haveSelction() and workHeight() instead
8319 2002-08-29 John Levon <levon@movementarian.org>
8321 * BufferView_pimpl.C (dispatch): do not continue when
8324 2002-08-28 André Pönitz <poenitz@gmx.net>
8326 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8329 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8331 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8333 * buffer.C: increment LYX_FORMAT to 221
8335 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8336 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8338 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8340 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8342 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * factory.C (createInset): use LyXTextClass::floats
8346 * MenuBackend.C (expandFloatListInsert):
8347 (expandFloatInsert):
8350 * text2.C (setCounter):
8352 * LaTeXFeatures.C (useFloat):
8353 (getFloatDefinitions):
8355 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8357 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8358 floatlist_, with accessor floats().
8360 * FloatList.h: remove global FloatList
8362 2002-08-26 André Pönitz <poenitz@gmx.net>
8364 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8368 * BufferView_pimpl.C:
8369 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8371 2002-08-25 John Levon <levon@movementarian.org>
8373 * LyXAction.C: fix margin note description
8375 2002-08-24 John Levon <levon@movementarian.org>
8379 * bufferview_funcs.C:
8381 * undo_funcs.C: cleanups
8383 * lyxfunc.C: disable CUT/COPY when no selection
8385 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8387 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8388 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8390 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8391 Add backward compatibility to "mono", "gray" and "no".
8393 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8395 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8396 (and file_format >= 200).
8398 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8400 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8402 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8404 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8406 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8408 * BufferView_pimpl.C:
8415 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8416 inset and code to make it work with the paragraph code. The inset
8417 can be anywhere in the paragraph, but will only do the expected
8418 thing in LaTeX if the layout file contains the parameter line
8420 (or more generally, a nonzero value) for that layout.
8422 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8424 * paragraph.h: remove the declaration of undefined counters class
8427 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8429 * text2.C (setCounter): fixed enumeration mis-count as reported by
8430 Dr. Richard Hawkins.
8432 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8434 * paragraph_funcs.h: remove some unneeded includes
8436 * text.C (backspace): pasteParagraph now in global scipe
8438 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8439 (pasteSelection): ditto
8441 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8442 * paragraph_funcs.C (pasteParagraph): ... here
8444 2002-08-20 André Pönitz <poenitz@gmx.net>
8446 * commandtags.h: new LFUNs for swapping/copying table row/colums
8449 * lyxfunc.C: support for new lfuns
8451 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8454 * buffer.[Ch]: remove NO_COMPABILITY stuff
8456 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8458 * boost.C (throw_exception): new file, with helper function for
8459 boost compiled without exceptions.
8464 * ParameterStruct.h:
8465 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8467 * bufferlist.C (emergencyWriteAll): use boost bind
8469 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8471 * text.C: include paragraph_funcs.h
8472 (breakParagraph): breakParagraph is now in global scope
8474 * paragraph_funcs.[Ch]: new files
8476 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8479 * buffer.C: include paragraph_funcs.h
8480 (insertStringAsLines): breakParagraph is now in global scope
8482 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8485 * CutAndPaste.C: include paragraph_funcs.h
8486 (cutSelection): breakParagraphConservative is now in global scope
8487 (pasteSelection): ditto
8489 * buffer.h: declare oprator== and operator!= for
8490 Buffer::inset_iterator
8492 * bufferlist.C (emergencyWrite): don't use fmt(...)
8494 * text3.C: add using std::endl
8496 * BufferView.C (moveCursorUpdate): remove default arg
8498 2002-08-20 André Pönitz <poenitz@gmx.net>
8500 * buffer.[Ch]: move inline functions to .C
8503 * BufferView_pimpl.C:
8505 * buffer.[Ch]: use improved inset_iterator
8508 * paragraph.[Ch]: write one paragraph at a time
8510 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8512 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8513 style if style is not specified.
8515 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8517 * text2.C (setCounter): when searching for right label for a
8518 caption, make sure to recurse to parent insets (so that a caption
8519 in a minipage in a figure float works) (bug #568)
8521 2002-08-20 André Pönitz <poenitz@gmx.net>
8523 * text3.C: new file for LyXText::dispatch() and helpers
8525 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8527 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8529 2002-08-19 André Pönitz <poenitz@gmx.net>
8532 * text.C: new LyXText::dispatch()
8534 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8536 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8538 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8540 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8543 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8545 * Makefile.am: use $(variables) instead of @substitutions@
8547 2002-08-15 André Pönitz <poenitz@gmx.net>
8550 * BufferView_pimpl.C: streamlining mathed <-> outer world
8554 * LyXAction.C: remove unused LFUN_MATH
8556 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8560 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * paragraph.C (Paragraph): reformat a bit
8563 (cutIntoMinibuffer): use builtin InsetList function instad of
8567 * buffer.C: include boost/bind.hpp, add using std::for_each
8568 (writeFileAscii): use ParagraphList iterators
8569 (validate): use for_each for validate traversal of paragraphs
8570 (getBibkeyList): use ParagraphList iterators
8571 (resizeInsets): use for_each to resizeInsetsLyXText for all
8573 (getParFromID): use ParagraphList iterators
8575 * BufferView2.C (lockInset): use paragraph list and iterators
8577 2002-08-14 John Levon <levon@movementarian.org>
8579 * lyxserver.C: remove spurious xforms include
8581 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8583 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8585 2002-08-13 André Pönitz <poenitz@gmx.net>
8588 * lyxfunc.C: further cleaning
8590 2002-08-13 André Pönitz <poenitz@gmx.net>
8592 * funcrequest.h: new constructor
8594 * funcrequest.C: move stuff here from .h
8597 * BufferView_pimpl.C:
8600 * lyxfunc.C: subsequent changes
8602 * lyxfunc.h: new view() member function
8604 * lyxfunc.C: subsequent changes
8606 2002-08-13 Angus Leeming <leeming@lyx.org>
8609 * BufferView_pimpl.C:
8617 changes due to the changed LyXView interface that now returns references
8618 to member variables not pointers.
8620 2002-08-13 Angus Leeming <leeming@lyx.org>
8622 * WordLangTuple (word, lang_code): return references to strings,
8627 * lyxtext.h: forward-declare WordLangTuple.
8632 * text.C: #include "WordLangTuple.h".
8635 * text.C: (selectNextWordToSpellcheck): constify return type.
8637 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8643 * paragraph_pimpl.h:
8646 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8648 Made updateCounter always count from start of buffer, and removed
8649 second argument (par).
8650 Reverted floats number display to '#'. Perhaps I'll try again when the
8651 code base is sanitized a bit.
8653 2002-08-12 Angus Leeming <leeming@lyx.org>
8655 * buffer.[Ch] (getLabelList): constify.
8657 2002-08-07 André Pönitz <poenitz@gmx.net>
8659 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8661 * funcrequest.h: extension to keep mouse (x,y) position
8663 2002-08-12 Juergen Vigna <jug@sad.it>
8665 * BufferView2.C (insertErrors): forbid undo when inserting error
8668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8670 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8672 * ParagraphList.[Ch]: new files
8674 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8676 * BufferView2.C (lockInset): ParagraphList changes
8679 * bufferlist.C: ditto
8683 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8685 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8686 unused class variable counter_,
8688 * paragraph.[Ch] (getFirstCounter): delete unused function
8690 * counters.C: include LAssert.h
8691 (reset): add a new function with no arg, change other version to
8692 not have def. arg and to not allow empty arg.
8694 * text2.C (setCounter): remove empty arg from call to Counters::reset
8696 2002-08-11 John Levon <levon@movementarian.org>
8698 * Makefile.am: add WordLangTuple.h
8700 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8702 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8703 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8705 * insets/insettext.C: InsetList changes
8707 * graphics/GraphicsSupport.C (operator()): InsetList changes
8709 * toc.C (getTocList): InsetList changes
8711 * paragraph_pimpl.[Ch]: InsetList changes
8713 * paragraph.[Ch]: InsetList changes
8715 * buffer.C (inset_iterator): InsetList changes
8716 (setParagraph): ditto
8717 * buffer.h (inset_iterator): ditto
8718 * iterators.C (operator++): ditto
8719 * iterators.h: ditto
8721 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8723 * InsetList.[Ch]: new files, most InsetList handling moved out of
8726 * BufferView2.C (removeAutoInsets): InsetList changes
8728 (ChangeInsets): ditto
8730 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8732 * paragraph_pimpl.h (empty): new function
8734 * paragraph.[Ch] (empty): new function
8736 * other files: use the new Paragraph::empty function
8738 2002-08-09 John Levon <levon@movementarian.org>
8740 * lyxtext.h: remove unused refresh_height
8742 2002-08-09 John Levon <levon@movementarian.org>
8749 * paragraph.C: move sgml char escaping out of paragraph
8752 * paragraph.C: remove id setter
8756 * paragraph_pimpl.C: remove dead tex_code_break_column
8758 * bufferview_funcs.C: small cleanup
8760 * lyxfunc.C: remove dead proto
8762 * lyxtext.h: make some stuff private. Remove some dead stuff.
8764 * lyxgluelength.C: make as[LyX]String() readable
8766 2002-08-08 John Levon <levon@movementarian.org>
8771 * ToolbarDefaults.C:
8774 * toc.C: lyxaction cleanup
8776 2002-08-08 John Levon <levon@movementarian.org>
8778 * BufferView2.C: small cleanup
8781 * lyxfind.C: move unnecessary header into the .C
8783 2002-08-08 John Levon <levon@movementarian.org>
8785 * funcrequest.h: just tedious nonsense
8788 * lyx_main.C: cleanups
8791 * vspace.C: remove dead header lyx_main.h
8793 2002-08-07 Angus Leeming <leeming@lyx.org>
8796 * paragraph_pimpl.h:
8797 Forward declare class Counters in paragraph.h by moving the ctrs member
8798 variable into Paragraph::Pimpl.
8799 (counters): new method, returning a reference to pimpl_->ctrs.
8801 * text2.C: ensuing changes.
8803 2002-08-07 John Levon <levon@movementarian.org>
8805 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8807 * BufferView_pimpl.C: announce X selection on double/triple
8810 * lyx_main.C: use correct bool in batch dispatch
8812 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8814 2002-08-07 André Pönitz <poenitz@gmx.net>
8816 * funcrequest.h: new class to wrap a kb_action and its argument
8819 * BufferView_pimpl[Ch]:
8823 * lyxrc.C: subsequent changes
8826 2002-08-07 John Levon <levon@movementarian.org>
8828 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8829 document options change.
8831 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8836 * makefile.am: move counters functionality over from
8837 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8839 2002-08-06 John Levon <levon@movementarian.org>
8841 * WordLangTuple.h: new file for word + language code tuple
8852 * BufferView2.C: use WordLangTuple
8855 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8857 2002-08-06 John Levon <levon@movementarian.org>
8859 * lyx_main.C: fix cmdline batch handling
8861 2002-08-06 André Pönitz <poenitz@gmx.net>
8863 * lyxrc.C: set default for show_banner to true
8865 2002-08-06 John Levon <levon@movementarian.org>
8867 * pspell.C: fix a crash, and allow new aspell to work
8869 2002-08-06 John Levon <levon@movementarian.org>
8872 * kbmap.C: small cleanup
8875 * vspace.C: add const
8877 2002-08-05 John Levon <levon@movementarian.org>
8879 * LyXAction.C: back to tabular-insert
8881 2002-08-04 John Levon <levon@movementarian.org>
8884 * BufferView.C: cosmetic change
8886 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8896 * BufferView2.C: purge all "Lyx" not "LyX" strings
8899 * lyxcursor.C: attempt to add some documentation
8904 * ToolbarDefaults.C:
8905 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8906 merge with LFUN_TABULAR_INSERT
8913 * pspell.C: split up i/pspell implementations into separate
8914 files, many cleanups
8916 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8918 * text2.C: some cleanup
8920 * lyxfunc.C: don't check for isp_command == "none" any more, it
8921 didn't make any sense
8923 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8928 * makefile.am: move counters functionality over
8929 from text2.C/paragraph.[Ch] to counters.[Ch], and
8931 2002-08-02 John Levon <levon@movementarian.org>
8933 * buffer.C: s/lyxconvert/lyx2lyx/
8935 2002-08-02 Angus Leeming <leeming@lyx.org>
8937 * lyxlex.C: revert John's change as it breaks reading of the user
8940 2002-08-02 Angus Leeming <leeming@lyx.org>
8942 * importer.C (Import):
8943 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8944 changes due to LyXView::view() now returning a boost::shared_ptr.
8946 2002-08-02 John Levon <levon@movementarian.org>
8948 * lyxlex.C: small cleanup
8950 2002-08-02 John Levon <levon@movementarian.org>
8952 * text2.C (status): small cleanup, no logic change
8954 2002-08-01 John Levon <levon@movementarian.org>
8957 * buffer.C (writeFile): don't output alerts, caller
8961 * lyx_cb.C: from above
8963 * lyxfunc.C: allow to open non-existent files
8965 2002-07-31 John Levon <levon@movementarian.org>
8967 * lyxserver.C: don't let incidental errors get
8970 2002-07-30 John Levon <levon@movementarian.org>
8972 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8974 2002-07-30 John Levon <levon@movementarian.org>
8977 * lyxserver.C: remove I/O callback too
8979 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8981 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8984 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8986 * many files: strip,frontStrip -> trim,ltrim,rtrim
8988 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * PrinterParams.h: remove extern containsOnly, and include
8991 support/lstrings.h instead.
8993 * LaTeX.C (scanAuxFile): modify because of strip changes
8995 * buffer.C (makeLaTeXFile): ditto
8996 * bufferparams.C (writeFile): ditt
8997 * lyxfont.C (stateText): ditto
8998 * lyxserver.C (read_ready): ditto
8999 * vc-backend.C (scanMaster): ditto
9001 * BufferView_pimpl.h: ws changes
9003 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9005 2002-07-26 André Pönitz <poenitz@gmx.net>
9007 * kb_sequence.C: remove unnedred usings
9009 2002-07-26 Juergen Vigna <jug@sad.it>
9011 * lyxfind.C (LyXReplace): we have to check better if the returned
9012 text is not of theLockingInset()->getLockingInset().
9014 2002-07-25 Juergen Vigna <jug@sad.it>
9016 * lyxfind.C (LyXReplace): don't replace if we don't get the
9019 * undo_funcs.C (createUndo): remove debugging code.
9021 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9023 * buffer.C (parseSingleLyXformat2Token): Use default placement
9024 when reading old floats.
9026 * FloatList.C (FloatList): Change the default placement of figure
9027 and tables to "tbp".
9029 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9031 * MenuBackend.C: using std::max
9033 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * MenuBackend.C (expandToc):
9036 (expandToc2): code moved from xforms menu frontend. It is now
9037 generic and TOCs are transparent to menu frontends.
9039 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9041 * toc.C (getTocList): protect against buf=0
9043 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9044 Menu as first parameter. Now, this calls itself recursively to
9045 expand a whole tree (this will be useful for TOC handling)
9046 (expandFloatInsert): remove 'wide' version of floats
9048 * MenuBackend.h (submenuname): returns the name of the submenu.
9049 (submenu): returns the submenu itself, provided it has been
9050 created by MenuBackend::expand
9052 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9054 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9055 insets which have noFontChange == true. (bug #172)
9057 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9059 * BufferView_pimpl.C: add connection objects and use them...
9062 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * MenuBackend.C (expandLastfiles):
9067 (expandFloatListInsert):
9068 (expandFloatInsert):
9069 (expand): split expand in parts
9071 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9073 * lyx_gui.C: use lyx_gui::exit()
9075 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9077 * LyXAction.C: show the failing pseudo action
9079 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9081 * buffer.C (readFile): Run the lyxconvert script in order to read
9084 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9088 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9090 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9094 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9096 2002-07-22 Herbert Voss <voss@lyx.org>
9099 * lyxlength.[Ch]: add support for the vertical lengths
9101 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9103 * toc.[Ch]: std:: fixes
9105 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9107 * lyxrc.C: do not include lyx_main.h
9109 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9115 * BufferView2.C: include "lyxlex.h"
9118 * bufferparams.h: do not #include "lyxlex.h"
9120 * lyxtextclasslist.C (Add): remove method
9121 (classlist): renamed to classlist_
9123 * paragraph_pimpl.C:
9127 * bufferview_funcs.C:
9132 * toc.C (getTocList): use BufferParams::getLyXTextClass
9134 * toc.C (getTocList): use InsetFloat::addToToc
9136 * toc.[Ch]: new files, containing helper functions to handle table
9139 * lyxfunc.C (dispatch): no need to remove spaces around command
9141 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9142 first command of the sequence; it is not very clever, but I do not
9143 have a better idea, actually
9145 * LyXAction.C (LookupFunc): make sure to remove space at the
9146 beginning and end of the command
9148 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * MenuBackend.C (getMenubar): new method: return the menubar of
9152 (read): treat differently reading of menu and menubar (in
9153 particular, the menubar has no name now)
9154 (Menu::menubar): remove
9156 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9159 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9161 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9162 a bibitem inset in a RTL paragraph.
9164 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9166 * paragraph_pimpl.C: constify
9168 * BufferView_pimpl.C:
9170 * lyxfunc.C: fix dispatch in a nicer way
9172 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9174 * lyxfunc.C (dispatch):
9175 * BufferView_pimpl.C:
9176 * BufferView_pimpl.h:
9178 * BufferView.h: rename Dispatch() to dispatch()
9180 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9182 * lyxlayout.C (Read): honor DependsOn tag
9184 * lyxlayout.[Ch] (depends_on): new method
9186 * version.C.in: update lyx_docversion
9188 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9190 * paragraph.C (validate): remove from here...
9191 * paragraph_pimpl.C (validate): ... and move here
9192 (isTextAt): make it const
9194 * buffer.C (getLists): ws cleanup
9196 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9198 * language.C (read): Use iso8859-1 encoding in latex_lang
9199 (this prevents LyX from crashing when using iso10646-1 encoding).
9201 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9203 * text2.C (toggleInset): if cursor is inside an inset, close the
9204 inset and leave cursor _after_ it
9206 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9208 * lyxfunc.C: move minibuffer completion handling out of here
9210 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9212 * BufferView_pimpl.C:
9213 * LaTeX.C: fix dispatch calls
9215 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9217 * text.C (drawChars): Fix Arabic text rendering.
9219 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9223 * lyxfunc.C: remove message-push/pop
9227 * lyxfunc.C: rationalise some code by removing verboseDispatch
9228 in favour of a bool argument to dispatch()
9230 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * lyx_main.C (init): make sure to read symlinks as absolute paths
9234 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9237 * lyxfunc.C: no need for commandshortcut to be a member
9239 2002-07-15 André Pönitz <poenitz@gmx.net>
9241 * converter.C: add support for $$s (scripts from lib/scripts dir)
9242 * lyx_main.C: white space
9244 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9248 * lyxrc.C: remove second exit confirmation
9250 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9255 * BufferView_pimpl.h:
9256 * BufferView_pimpl.C:
9257 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9259 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9261 * MenuBackend.C (expand): add numeric shortcuts to document menu
9263 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9265 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9267 * lyxfont.C (setLyXFamily):
9274 * buffer.C (asciiParagraph): use ascii_lowercase
9276 2002-07-15 Mike Fabian <mfabian@suse.de>
9278 * lyxlex_pimpl.C (search_kw):
9279 * lyxlex.C (getLongString):
9280 * converter.h (operator<):
9281 * converter.C (operator<):
9282 * buffer.C (parseSingleLyXformat2Token):
9284 * ToolbarDefaults.C (read):
9285 * MenuBackend.C (checkShortcuts):
9287 * LColor.C (getFromGUIName):
9288 (getFromLyXName): use the compare_ascii_no_case instead of
9289 compare_no_case, because in turkish, 'i' is not the lowercase
9290 version of 'I', and thus turkish locale breaks parsing of tags.
9292 2002-07-16 Angus Leeming <leeming@lyx.org>
9294 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9295 now takes a Buffer const & argument.
9297 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9299 * BufferView.C (resize): check there's a buffer to resize
9301 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9303 * lyxfunc.C: remove dead code
9306 * lyxserver.C: use lyx_guii::set_read_callback
9308 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9310 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9311 an inset in a RTL paragraph.
9313 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9315 * lyxfunc.C: repaint after a font size update
9317 2002-07-15 André Pönitz <poenitz@gmx.net>
9319 * lyxlength.C: inBP should be able to return negative values
9321 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9323 * lyxfunc.C: use lyx_gui::update_fonts()
9325 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9327 * lyxfunc.C: use lyx_gui::update_color()
9329 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9335 * lyxrc.C: remove file->new asks for name option, and let
9336 buffer-new take an argument
9338 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9340 * BufferView_pimpl.C: remove unneeded extra repaint()
9342 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9344 * LyXAction.C: allow command-sequence with NoBuffer
9346 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9348 2002-07-10 Angus Leeming <leeming@lyx.org>
9350 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9352 2002-07-09 Angus Leeming <leeming@lyx.org>
9354 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9356 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9358 * lengthcommon.h: whitespace
9360 * lyxfunc.C: update scrollbar after goto paragraph
9362 * lyxtext.h: factor out page break drawing, and fix it so
9363 page break/added space paints as selected nicely
9365 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9367 * BufferView_pimpl.C: add FIXMEs, clean up a little
9369 2002-07-09 André Pönitz <poenitz@gmx.net>
9371 * lyxfont.[Ch]: support for wasy symbols
9373 2002-07-08 André Pönitz <poenitz@gmx.net>
9375 * BufferView_pimpl.C: apply John's patch for #93.
9377 2002-07-05 Angus Leeming <leeming@lyx.org>
9379 * BufferView_pimpl.C (buffer): generate previews if desired.
9381 * LColor.h: add "preview" to the color enum.
9383 * LColor.C (LColor): add a corresponding entry to the items array.
9385 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9388 2002-07-05 Angus Leeming <leeming@lyx.org>
9390 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9391 The body of the code is now in the method that is passed an ostream &
9392 rather than a file name.
9393 Pass an additional only_preamble parameter, useful for the forthcoming
9396 2002-07-03 André Pönitz <poenitz@gmx.net>
9398 * lyxfunc.C: simplify getStatus() a bit for math stuff
9400 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9404 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9406 * text.C (changeRegionCase): do not change case of all the
9407 document when region ends at paragraph end (bug #461)
9409 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9411 * paragraph.C (startTeXParParams):
9412 (endTeXParParams): add \protect when necessary
9414 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9416 * BufferView_pimpl.C (workAreaExpose): remove warning
9418 2002-06-27 Angus Leeming <leeming@lyx.org>
9420 * Makefile.am: add lyxlayout_ptr_fwd.h.
9422 2002-06-26 André Pönitz <poenitz@gmx.net>
9424 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9426 2002-06-25 Angus Leeming <leeming@lyx.org>
9428 * lyxfunc.C (dispatch): Comment out the call to
9429 grfx::GCache::changeDisplay. The method no longer exists now that the
9430 pixmap generation part of the graphics loader has been moved into
9433 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9435 * text2.C: layout as layout
9437 * text.C: layout as layout
9439 * tabular.C (OldFormatRead): layout as layout
9441 * paragraph_pimpl.C (TeXDeeper): layout as layout
9442 (realizeFont): layout as layout
9444 * paragraph.C (writeFile): layout as layout
9445 (validate): layout as layout
9446 (getFont): layout as layout
9447 (getLabelFont): layout as layout
9448 (getLayoutFont): layout as layout
9449 (breakParagraph): layout as layout
9450 (stripLeadingSpaces): layout as layout
9451 (getEndLabel): layout as layout
9452 (getMaxDepthAfter): layout as layout
9453 (applyLayout): layout as layout
9454 (TeXOnePar): layout as layout
9455 (simpleTeXOnePar): layout as layout
9456 (TeXEnvironment): layout as layout
9457 (layout): layout as layout
9458 (layout): layout as layout
9460 * lyxtextclass.C (compare_name): new functor to work with
9461 shared_ptr, layout as layout
9462 (Read): layout as layout
9463 (hasLayout): layout as layout
9464 (operator): layout as layout
9465 (delete_layout): layout as layout
9466 (defaultLayout): layout as layout
9468 * lyxlayout_ptr_fwd.h: new file
9470 * lyxlayout.C (Read): layout as layout
9472 * lyx_cb.C (MenuInsertLabel): layout as layout
9474 * bufferlist.C (newFile): layout as layout
9476 * buffer.C (readLyXformat2): layout as layout
9477 (parseSingleLyXformat2Token): layout as layout
9478 (insertStringAsLines): layout as layout
9479 (asciiParagraph): layout as layout
9480 (latexParagraphs): layout as layout
9481 (makeLinuxDocFile): layout as layout
9482 (simpleLinuxDocOnePar): layout as layout
9483 (makeDocBookFile): layout as layout
9484 (simpleDocBookOnePar): layout as layout
9485 (getLists): layout as layout
9487 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9489 * CutAndPaste.C (cutSelection): layout as layout
9490 (pasteSelection): layout as layout
9491 (SwitchLayoutsBetweenClasses): layout as layout
9493 * BufferView_pimpl.C (Dispatch): layout as layout
9494 (smartQuote): layout as layout
9496 * BufferView2.C (unlockInset): layout as layout
9498 2002-06-24 André Pönitz <poenitz@gmx.net>
9500 * lyxfunc.C: fix #487
9502 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9506 * lyxfunc.C: remove display_shortcuts, show_banner
9508 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9510 * Buffer_pimpl.C: oops, update on resize
9512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9519 * BufferView.C: use repaint()
9521 * BufferView_pimpl.h:
9522 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9523 as it's a clearer description. Remove superfluous
9526 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9528 * text.C: fix bug 488. Not ideal, but getting
9529 getWord() to work properly for the insets that
9530 matter is more difficult ...
9532 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9534 * BufferView_pimpl.C:
9537 * lyxfunc.C: remove the six million index lyxfuncs to just
9538 one, and DTRT (bug 458)
9540 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9544 * BufferView_pimpl.h:
9545 * BufferView_pimpl.C: clean up resize() stuff,
9546 and unnecessary updateScreen()s
9548 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9552 * BufferView_pimpl.h:
9553 * BufferView_pimpl.C:
9556 * minibuffer.C: remove focus management of workarea,
9557 not needed. Use screen's greyOut()
9559 2002-06-17 Herbert Voss <voss@lyx.org>
9561 * converter.C: (convert) do not post a message, when converting
9562 fails, let the calling function decide what to do in this case
9564 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9566 * lyxfunc.C: tidy up a little
9568 2002-06-16 <alstrup@diku.dk>
9570 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9571 Got rid of FORMS_H_LOCATION include. Now we are
9574 2002-06-15 LyX Development team <lyx@rilke>
9576 * buffer.[Ch] (sgmlOpenTag):
9577 (sgmlCloseTag): Added support for avoiding pernicious mixed
9578 content. Return number of lines written.
9581 (makeDocBookFile): Fixed calls to sgml*Tag.
9582 Simple white space clean.
9584 (simpleDocBookOnePar): Simple white space clean.
9586 * tabular.[Ch] (docBook): Renamed to docbook and got another
9587 argument to related with the pernicious mixed content.
9589 (docbookRow): Fixed calls for docbook inset method.
9591 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9593 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9594 so it's X11 independent.
9598 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9600 2002-06-15 Lyx Development team <lyx@electronia>
9602 * intl.h: Renamed getTrans to getTransManager.
9604 2002-06-14 Angus Leeming <leeming@lyx.org>
9606 * Makefile.am: nuke forgotten stl_string_fwd.h.
9608 2002-06-12 Angus Leeming <leeming@lyx.org>
9610 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9612 2002-06-13 Angus Leeming <leeming@lyx.org>
9615 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9617 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9619 * kbmap.C (getiso): add support for cyrillic and greek
9621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9625 * BufferView_pimpl.h:
9626 * BufferView_pimpl.C: move bogus scrolling logic
9629 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9632 * BufferView_pimpl.C: view->resize() change
9634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9636 * BufferView_pimpl.C: topCursorVisible
9639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9643 * lyx_gui.C: move to frontends/
9647 * lyx_main.C: changes from above
9649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9656 * lyx_main.C: minor tidy
9658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9660 * BufferView_pimpl.h:
9661 * BufferView_pimpl.C:
9663 * BufferView.C: make painter() const,
9666 * BufferView2.C: use screen() accessor
9669 * lyx_main.C: some minor cleanup
9671 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9673 * BufferView_pimpl.h:
9674 * BufferView_pimpl.C: remove enter/leaveView,
9677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9682 * BufferView_pimpl.h:
9683 * BufferView_pimpl.C: only construct screen once,
9686 * lyxrc.C: remove pointless comment
9688 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9691 * BufferView.C: remove active() and belowMouse()
9693 * BufferView_pimpl.h:
9694 * BufferView_pimpl.C: use workarea() not workarea_,
9695 and make it use a scoped_ptr instead
9697 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9699 * lyx_gui.C: add debug message on BadWindow
9701 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9703 * sp_spell.C: fdopen is not part of the C++ standard.
9705 * paragraph.C (InsetIterator): use >= instead of ==
9707 2002-06-07 Angus Leeming <leeming@lyx.org>
9709 Fixes needed to compile with Compaq cxx 6.5.
9710 * BufferView_pimpl.C:
9717 * lyxtextclasslist.C:
9722 all c-library variables have been moved into namespace std. Wrap
9723 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9728 Add a using std::abs declaration.
9730 * kbmap.h (modifier_pair):
9731 * paragraph.h (InsetTable, InsetList):
9732 * lyxfont.h (FontBits):
9733 type definition made public.
9735 * bufferlist.C (emergencyWriteAll): the compiler complains that
9736 there is more than one possible lyx::class_fun template to choose from.
9737 I re-named the void specialisation as lyx::void_class_fun.
9739 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9741 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9742 the compiler is is unable to find tostr in write_attribute.
9744 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9746 * buffer.C (sgmlError): hide #warning
9748 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9750 * xtl/*: get rid of xtl, which is not in use anyway
9752 * LyXAction.C (init):
9753 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9754 were unimplemented xtl experimentation
9756 2002-06-04 André Pönitz <poenitz@gmx.net>
9758 * lyxfunc.C: disable array operation on simple formulae
9760 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9762 * converter.C: constify a bit
9764 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9766 * lyx_gui.C: check xforms version correctly
9768 2002-04-30 Herbert Voss <voss@lyx.org>
9770 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9773 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9775 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9776 attempt to register it with a VCS)
9778 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9780 * lyx_main.C (init): honor variables LYX_DIR_13x and
9783 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9787 * lyx_main.C: fix a crash on bad command line,
9788 and give a useful exit status on error
9790 * lyxfunc.C (doImport): allow -i lyx to work
9792 2002-03-30 André Pönitz <poenitz@gmx.net>
9794 * lyxfunc.C: mathed font changes
9796 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9811 * trans_mgr.h: srcdocs, and some minor cleanups
9813 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9816 call getFont all the time)
9818 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9820 * switch from SigC signals to boost::signals
9822 2002-05-29 André Pönitz <poenitz@gmx.net>
9824 * paragraph_pimpl.C (getChar): don't call size() too often...
9826 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * paragraph_pimpl.C (insertChar): do not try to update tables when
9829 appending (pos == size())
9831 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9832 in order to reduce drastically the number of comparisons needed to
9833 parse a large document
9835 2002-05-29 André Pönitz <poenitz@gmx.net>
9841 * textclasslist.[Ch]:
9842 * sp_ispell.h: whitespace change
9844 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9847 lyxaction directly now.
9849 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9853 * lyxvc.C: remove unused headers
9855 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9862 * undo_funcs.C: some cleanups. Use shared_ptr
9863 and a template for the undo stacks.
9865 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9867 * BufferView_pimpl.h:
9868 * BufferView_pimpl.C:
9875 * text2.C: use key_state/mouse_state
9877 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9882 * chset.C: change include order
9883 (loadFile): use boost regex and get rid of LRegex and LSubstring
9885 * Makefile.am (BOOST_LIBS): new variable
9888 * LaTeX.C: change include order.
9889 (scanAuxFile): use boost regex and get rid of LRegex and
9893 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9898 * FontInfo.C: moved to frontends/xforms/
9901 * FontLoader.C: moved into frontends for GUIIzation
9906 * lyxfunc.C: changes from above
9908 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9910 * LColor.C: remove spurious X include
9912 * BufferView_pimpl.C:
9917 * text2.C: move font metrics to frontends/
9919 2002-05-24 Juergen Vigna <jug@sad.it>
9921 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9922 setting the undo_cursor.
9924 * ParagraphParameters.h: include local includes first.
9926 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9928 * BufferView_pimpl.C:
9929 * BufferView_pimpl.h:
9933 * screen.C: move WorkArea into frontends/
9939 * BufferView2.C: move LyXScreen into frontends/
9943 * lyx_gui.C: move lyxlookup into frontends/xforms/
9945 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9948 * BufferView_pimpl.C:
9958 * bufferview_funcs.C:
9971 * vc-backend.C: move LyX/XFormsView into frontends/
9973 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9985 * text2.C: move Painter to frontends/
9987 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9989 * buffer.C: comment out some some code that depend upon lyx_format
9992 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9993 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9995 * buffer.h (NO_COMPABILITY): turn off compability
9997 * ColorHandler.C: include scoped_array.hpp
9999 * font.C: Use more specific smart_ptr header.
10002 * ShareContainer.h: ditto
10003 * lyx_main.h: ditto
10005 * FontInfo.h: ditto
10006 * BufferView_pimpl.h: ditto
10007 * ColorHandler.h: ditto
10009 * kbmap.C (defkey): change call to shared_ptr::reset
10011 2002-05-21 Juergen Vigna <jug@sad.it>
10013 * buffer.C (insertErtContents): fix to insert ert asis if it is
10014 non empty. Skip it completely if it contains only whitespaces.
10016 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10018 * BufferView_pimpl.C:
10019 * BufferView2.C: clear selection on paste (bug 393)
10021 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10023 * DepTable.C: include ctime
10025 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10027 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10029 2002-05-14 Juergen Vigna <jug@sad.it>
10031 * text.C (breakParagraph): fixed function to honor the keepempty
10032 layout in the right maner and also to permit the right breaking
10033 algorithm on empty or non empyt keepempty paragraphs.
10035 * paragraph.C (breakParagraph): we have to check also if the par
10036 is really empty (!size()) for isempty otherwise we do the wrong
10039 2002-05-10 Juergen Vigna <jug@sad.it>
10041 * buffer.[Ch] : The following are only changes to the ert
10042 compatibility read reading old LaTeX layout and font stuff and
10043 convert it to ERTInsets.
10045 * buffer.h: added isErtInset().
10047 * buffer.C (struct ErtComp): add a fromlayout bool to check
10048 if we're inside a LaTeX layout.
10049 (isErtInset): new helper function.
10050 (insertErtContents): look for other ert insets before this one
10051 and insert the contents there, so that we don't have subsequent
10052 ERT insets with nothing between them. This way we create only one
10053 inset with multiple paragraphs. Also check if we don't insert only
10054 spaces ' ' as they are ignored anyway afterwards in the .tex file
10055 so if we have only spaces we will ignore this latex part in the
10057 (parseSingleLyXformat2Token \\layout): better compatibility when
10058 reading layout-latex stuff.
10059 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10061 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10062 stuff after reading the inset only get the information back from
10065 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10067 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10069 * LaTeXFeatures.C (getBabelOptions): New method.
10071 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * BufferView_pimpl.C (Dispatch): work around missing argument for
10076 2002-05-08 Juergen Vigna <jug@sad.it>
10078 * text.C (leftMargin): handle paragraph leftindent.
10080 * paragraph.C (writeFile): write the new \\leftindent tag.
10081 (validate): handle leftindent code.
10082 (TeXEnvironment): handle paragraphleftindent code again.
10084 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10086 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10087 for paragrap_extra indent code and new token \\leftindent.
10088 (latexParagraphs): handle the leftindent as environment.
10090 * ParameterStruct.h: added leftindent support.
10092 * ParagraphParameters.C (leftIndent): added support functions for
10093 the paragraph left indent.
10095 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10098 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10100 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10103 * text.C (computeBidiTables): No bidi in insetERT.
10105 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10108 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10110 * version.C.in: pre 5
10112 2002-05-02 José Matos <jamatos@fep.up.pt>
10113 * buffer.C (makeDocBookFile): white space changes, add newline to
10115 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10117 * tabular.C (docBook): fix typo.
10119 2002-05-03 Juergen Vigna <jug@sad.it>
10121 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10122 change in LyXText as we can not be sure it was not freed.
10123 (drawOneRow): remove unused code.
10125 * text.C (drawInset): redo the calculation of the need_break_row as
10126 it could have a row which was already freed.
10127 (draw): look at the return value of drawInset and return false if
10128 it also returned false.
10129 (paintRowText): look at the return value of draw and return false if
10130 it also returned false.
10132 * lyxtext.h: added bool return type to drawInset() and draw() so that
10133 if we have a change in the row so that the rowbreak has to be redone
10134 we abort drawing as it will be called again.
10136 2002-05-02 Juergen Vigna <jug@sad.it>
10138 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10139 a change in the maintext also if we're inside an inset.
10140 (Dispatch): set the cursor again after a break line and after the
10141 screen has been updated as it could be we're in a different row.
10143 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10144 to set the cursor behind the pargraph with > size().
10145 (setCursor): check also for the same paragraph when checking where
10146 to put the cursor if we have a NFR inset.
10148 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10149 parts of layout read further up as it still was in the wrong
10152 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * screen.C (drawFromTo): change sine fullRebreak always return
10157 * buffer.C (parseSingleLyXformat2Token): reindent some
10159 * BufferView_pimpl.C (update): change since fullRebreak always
10161 (Dispatch): git rid of the last hardcoded "Standard"s.
10163 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10165 * text2.[Ch] (fullRebreak): make it return void now that we always
10168 2002-04-30 Juergen Vigna <jug@sad.it>
10170 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10171 ert compatibility check for "latex" layout.
10173 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10175 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10176 minipages: use col% instead of p%, and also use the current font.
10177 (makeLaTeXFile): Fix use babel condition.
10178 (parseSingleLyXformat2Token): Correct font when reading old floats.
10180 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10182 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10183 inserting list of floats.
10185 2002-04-25 Herbert Voss <voss@lyx.org>
10187 * MenuBackend.C (expand): don't add the graphics extensions to the
10190 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10193 non-existing layout, do not complain if it was the default layout
10194 of the original class (bug #342)
10196 2002-04-24 Juergen Vigna <jug@sad.it>
10198 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10199 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10201 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10203 * buffer.C (getBibkeyList): If using \bibliography, return the
10204 option field with the reference itself. Enables us to provide natbib
10205 support when using \bibliography.
10207 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10209 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10211 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10212 natbib is provided by the LaTeX class.
10214 2002-04-23 Juergen Vigna <jug@sad.it>
10216 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10219 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10221 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10225 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10226 ensuremath around textordmasculine, textordfeminine and
10229 2002-04-19 Juergen Vigna <jug@sad.it>
10231 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10232 reinitializing the buffer otherwise row-dimensions may be wrong.
10233 (update): reset also the selection cursors if they do exits otherwise
10234 their x/y positions may be wrong.
10236 * text2.C (cursorDown): don't enter the inset if we came from a row
10237 above and are one row over the inset.
10239 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10240 really leaving an inset.
10242 2002-04-18 Juergen Vigna <jug@sad.it>
10244 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10245 of the selected paragraph does not have the selected layout also if
10248 * text2.C (setLayout): fixed bug which did not change last selected
10251 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10252 changed the read and substituted \\end_float with \\end_inset!
10254 * BufferView_pimpl.C (cursorPrevious):
10255 (cursorNext): fixed to make it work with rows heigher than the work
10256 area without moving the cursor only the draw of the row.
10257 (workAreaMotionNotify): fix jumping over high rows.
10259 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10261 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10264 2002-04-16 Juergen Vigna <jug@sad.it>
10266 * text2.C (setCursor): set also the irow().
10267 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10269 (cursorDown): support for locking an inset if the x_fix value goes
10270 inside it. That way I can transverse insets too with cursor up/down.
10272 * lyxrow.h: added irow helper function same as other (i) functions.
10274 * BufferView_pimpl.C (cursorPrevious):
10275 (cursorNext): fixed for insets!
10277 2002-04-15 Juergen Vigna <jug@sad.it>
10279 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10280 position otherwise it is wrong in some cases.
10282 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10283 inside the inset before the call.
10285 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10287 * buffer.[Ch] (getBibkeyList): make it const.
10289 2002-04-12 Juergen Vigna <jug@sad.it>
10291 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10293 * text2.C (getCursorX): new helper function
10294 (setCursor): compute also ix_
10295 (setCursorFromCoordinates): set also ix.
10297 * lyxcursor.h: added ix_ and helper functions.
10299 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10301 * buffer.C (insertStringAsLines): dont break paragraph if the this
10302 paragraph is inside an inset which does not permit it!
10304 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10305 also with no chars on this paragraph.
10306 (paintRowText): only paint stuff if it's inside the workarea!
10308 * paragraph.C (breakParagraph): honor keepempty flag and break the
10309 paragraph always below not above.
10311 * BufferView2.C (unlockInset): update the paragraph layout on inset
10312 unlock as we changed paragraph in such a case.
10314 * lyxfind.C (LyXFind): clear the former selection if not found!
10316 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10317 again called in insertChar().
10319 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10320 an inset which uses the whole row!
10321 (rightMargin): ditto.
10322 (insertChar): force a rebreak if we inserted an inset!
10324 2002-03-28 Herbert Voss <voss@lyx.org>
10326 * lyxlength.[Ch]: add inBP() to get the right PS-point
10327 units (BigPoint). With inPixels we have rounding errors
10329 2002-04-11 Juergen Vigna <jug@sad.it>
10331 * text2.C (setCursorFromCoordinates): set iy to the right value.
10332 (setCursor): add check if row->previous exists!
10334 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10335 an old float_type as this was the case in the old code!
10337 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10339 * BufferView2.C (showLockedInsetCursor): use iy
10340 (fitLockedInsetCursor): ditto
10342 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10343 locked insets as there we have the right value now.
10345 * lyxcursor.C: added iy_ variable and iy functions to set to the
10346 baseline of cursor-y of the locked inset.
10348 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10349 (setCursor): fixed for insets which need a full row.
10351 * text.C (rowLastPrintable): don't ignore the last space when before
10352 an inset which needs a full row.
10353 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10354 as last character of a row when before a inset which needs a full row.
10356 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10358 * version.C.in: update date
10360 * text2.C (fullRebreak): try to always return true and see what
10363 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * MenuBackend.C (expand): use Floating::listName
10367 * FloatList.C (FloatList): add listName argument to the built-in
10370 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10371 text associated with the float.
10373 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10375 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10377 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * ShareContainer.h: add a couple of missing typenames.
10381 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10383 * lyxrc.C (getDescription): use _() correctly rather than N_().
10385 2002-03-28 Herbert Voss <voss@lyx.org>
10387 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10388 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10390 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10392 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10393 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10395 2002-03-29 Juergen Vigna <jug@sad.it>
10397 * lyxfunc.C (dispatch): add a missing fitCursor call.
10399 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10400 it was scrolled by a cursor move, so return the bool status.
10402 * BufferView.C (fitCursor): return the bool flag also to the outside
10403 world as this is needed.
10405 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10407 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10408 call the edit() as it is not needed (and wrong) IMO.
10409 (workAreaButtonPress): set the screen_first variable before evt.
10410 unlock the inset as this may change screen_first and then we have
10411 a wrong y position for the click!
10413 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * MenuBackend.C (expand): another translation that I missed
10417 2002-03-28 Juergen Vigna <jug@sad.it>
10419 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10421 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10423 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10427 * MenuBackend.C (expand): fix export/view/update when there is no
10430 2002-03-27 Herbert Voss <voss@lyx.org>
10432 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10435 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10437 * bufferview_funcs.C (currentState): only show paragraph number
10438 for is DEVEL_VERSION is set.
10440 * lyxfunc.C (dispatch): put warning in INFO channel
10442 * MenuBackend.C (expand): translate the name of floats
10444 * FloatList.C (FloatList): mark the float names for translation
10446 * converter.C (convert): use LibScriptSearch
10448 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * MenuBackend.C (defaults): fix default menu (we might as well get
10453 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10458 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * lyxvc.C: reorder includes.
10462 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10464 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10467 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10469 * CutAndPaste.C: change layouts earlier on paste
10470 to avoid crashing when calling getFont()
10472 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10474 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10477 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * WorkArea.C: remove 'Pending' debug message.
10481 * most files: ws cleanup
10483 * buffer.[Ch]: ws changes
10485 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10487 2002-03-21 Juergen Vigna <jug@sad.it>
10489 * tabular.C (SetMultiColumn): collapse also the contents of the
10490 cells and set the last border right. Added a Buffer const * param.
10492 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10494 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10497 2002-03-19 Juergen Vigna <jug@sad.it>
10499 * text2.C (clearSelection): reset also xsel_cache.
10501 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10502 where it needs to be called (John tells us to do so too :)
10503 (selectionLost): reset sel_cache.
10505 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10507 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10509 * text2.C (setCursorIntern): put debuging code in INSETS channel
10511 2002-03-19 André Pönitz <poenitz@gmx.net>
10513 * lyxfunc.C: tiny whitespace change
10515 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10517 * ToolbarDefaults.C (init):
10518 * LyXAction.C (init):
10520 * BufferView_pimpl.C (Dispatch):
10521 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10523 2002-03-19 Allan Rae <rae@lyx.org>
10525 * exporter.C (Export): removeAutoInsets before doing anything else.
10526 While I've just introduced a dependency on BufferView this really is
10527 the best place to clean the buffer otherwise you need to cleanup in
10528 a dozen places before calling export or cleanup in a dozen functions
10531 * converter.C (runLaTeX):
10532 (scanLog): Better handling of removeAutoInsets and screen updates.
10534 * lyxfunc.C (dispatch): small whitespace changes
10536 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10538 * WorkArea.C (C_WorkAreaEvent): return a value.
10539 (event_cb): return 1 if we handled the event, 0 otherwise.
10541 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10543 2002-03-18 Juergen Vigna <jug@sad.it>
10545 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10546 (GetAdditionalWidth): ditto.
10547 (RightLine): ditto.
10550 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10551 inset if we're there actually (probably not used right now but this
10552 is the direction to go for unifying code).
10553 (paste): disable code to clear the selection.
10555 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10556 inside an InsetText and move the check further up as it is in the
10559 * text2.C (pasteSelection): set a selection over the pasted text.
10561 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10563 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10564 and libgraphics to build on Cygwin.
10566 2002-03-15 Juergen Vigna <jug@sad.it>
10568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10569 inserting an Inset into the paragraph. I know this is not the best
10570 fix but we already use current_view in CutAndPaste so we will remove
10571 all of it's using at the same time.
10573 * buffer.C (sgmlError): deactivated function till it is rewritten in
10574 the right mode, now it can create problems.
10576 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10577 before accessing it.
10579 2002-03-14 Juergen Vigna <jug@sad.it>
10581 * undo_funcs.C (textHandleUndo): do the right thing when updating
10582 the inset after the undo/redo.
10584 * text2.C (setCursor): just some testcode for #44 not ready yet.
10586 * undo_funcs.C (textHandleUndo): set the next() and previous()
10587 pointers of the paragraph to 0 before deleting otherwise we have
10588 problems with the Paragraph::[destructor].
10590 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10591 on a paragraph insertion.
10593 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * buffer.C (asciiParagraph): use += operator for char append to
10598 * paragraph.C (getFontSettings): compare >= not just >
10599 (highestFontInRange): ditto
10602 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10604 * paragraph.C: change several algorithm to be more appripriate for
10605 the problem domain. This is lookip in FontList and in the InsetList.
10607 2002-03-13 André Pönitz <poenitz@gmx.net>
10610 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10612 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10617 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10619 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * Painter.C (display): anon helper function, adjust code for this
10623 (pixmap): remove function.
10625 * Painter.h: remove private display variable.
10627 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10629 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10631 * WorkArea.[Ch]: remove figinset_canvas cruft.
10633 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10635 * lyxtextclass.C (operator): add one item cache optimization.
10637 * bufferlist.h: doxy changes
10639 * bufferlist.C: ws changes
10641 * DepTable.[Ch] (ext_exist): place const in the right spot.
10643 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10645 (workAreaExpose): call resizeInsets when the with BufferView changes.
10646 (Dispatch): adjust for protectedBlank removal
10647 (specialChar): call updateInset if the insert went ok.
10649 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10650 specialChar instead.
10652 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10654 * BufferView.h: doxy change
10656 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10658 * lyxtextclass.C (operator[]): remove non-const version
10659 (defaultLayout): remove non-const version
10661 2002-03-12 Juergen Vigna <jug@sad.it>
10663 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10664 did resize the LyXText too.
10666 * buffer.C (readLyXformat2): set layout information on newly allocated
10669 * tabular.C (OldFormatRead): set layout information on the paragraph.
10671 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10673 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10675 2002-03-11 Juergen Vigna <jug@sad.it>
10677 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10679 (resizeCurrentBuffer): force also the insets to resize themselfes.
10680 (moveCursorUpdate): fixed up for InsetText.
10682 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10685 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10686 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10687 value of Dialogs::tooltipsEnabled().
10688 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10690 2002-03-08 Juergen Vigna <jug@sad.it>
10692 * BufferView_pimpl.C (updateInset): update inset inside inset also
10693 if it isn't inside theLockingInset().
10695 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10697 * buffer.C (asciiParagraph): redo some of the word and line length
10699 (getLists): look for Caption instead of caption.
10701 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10703 * buffer.C (Buffer): initialize niceFile to true
10705 (makeLinuxDocFile):
10706 (makeDocBookFile): make sure niceFile is true on exit
10708 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10710 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10712 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10714 * LyXSendto.C: remove.
10715 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10716 * lyx_gui.C: remove now-redundant comment.
10717 * ColorHandler.h: remove forward declaration of class WorkArea.
10718 * lyxfunc.C: remove #include "WorkArea.h".
10720 2002-03-07 Juergen Vigna <jug@sad.it>
10722 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10723 got moved away with the DEPM and also set the inset_owner always
10724 right which before could have been omitted.
10726 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10729 wanted layout is not found.
10731 2002-03-07 Juergen Vigna <jug@sad.it>
10733 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10735 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * paragraph.C (breakParagraph): use default layout not layout of
10739 (Paragraph): clear ParagraphParameters.
10741 2002-03-06 Juergen Vigna <jug@sad.it>
10743 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10744 otherwise it would not be a valid lenght. Fixed a special case in
10745 the minipage compatibility read where we end the document with a
10748 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10749 was set as it could be 0 for InsetTexts first entry.
10751 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10753 * paragraph.C (writeFile): if layout is empty write out
10754 defaultLayoutName().
10756 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10757 file without named layout we set layout to defaultLayoutName().
10759 2002-03-06 Juergen Vigna <jug@sad.it>
10761 * CutAndPaste.C (copySelection): set layout for new paragraph.
10763 * text.C (prepareToPrint): leave ERT inset left aligned
10764 (leftMargin): don't indent paragraphs inside ERT insets
10766 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10768 * paragraph.C (breakParagraph): dont call clear do the work manually
10770 * paragraph.[Ch] (clear): remove function
10772 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10774 * paragraph.C (Paragraph): dont call clear, the work has already
10777 * lyxtextclass.C (operator): assert if n is empty
10779 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10780 work manually instead.
10782 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10784 * BufferView_pimpl.C: protect selectionLost against text == 0
10786 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10788 * text.C (breakParagraph): fix a setting layout to '0' problem.
10790 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10792 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10793 final location of file, for the included files, and graphics.
10795 2002-03-05 Juergen Vigna <jug@sad.it>
10797 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10799 2002-03-04 Juergen Vigna <jug@sad.it>
10801 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10803 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10804 last column of multicolumn cells.
10805 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10807 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10809 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10810 file if it doesn't go to a temporary file.
10812 * buffer.C (sgmlOpenTag):
10813 (sgmlCloseTag): remove extra newline insertion.
10815 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * text.C (getRowNearY): comment out debug msg
10819 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10821 * text2.C: first -> first_y
10823 * text.C (getRowNearY): add some attemts at a possible
10824 optimization, not working.
10826 * tabular.[Ch]: add BufferParams to several function so that newly
10827 created paragraph can be initialized to he default layotu for the
10830 * tabular-old.C (ReadOld): add buf->params to call of Init
10832 * screen.C: rename text->first to text->first_y
10834 * paragraph.C (breakParagraph): always set layout in the broken
10837 * lyxtextclass.C (Read): remove lowercase
10840 (delete_layout): ditto
10842 * lyxtext.h: rename first -> first_y
10844 * lyxlayout.C (Read): remove lowercase
10847 (obsoleted_by): ditto
10849 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10851 * buffer.C (insertErtContents): add params are to InsetERT
10852 (parseSingleLyXformat2Token): add code to check if a paragraphs
10853 layout really exist.
10854 (parseSingleLyXformat2Token): add params to several inset
10856 (asciiParagraph): remove lowercase, do the layout comparisons with
10859 * BufferView_pimpl.C (cursorNext): first -> first_y
10860 (resizeCurrentBuffer): first -> first_y
10861 (updateScrollbar): first -> first_y
10862 (scrollCB): first -> first_y
10863 (workAreaMotionNotify): first -> first_y
10864 (workAreaButtonPress): first -> first_y
10865 (checkInsetHit): first -> first_y
10866 (cursorPrevious): first -> first_y
10867 (cursorNext): first -> first_y
10868 (Dispatch): add buffer_->params to severl inset contructors
10870 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10872 * lyxlayout.C (Read): remove some debug info that I forgot.
10874 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10875 clean up the code slightly.
10876 (makeLinuxDocFile): ditto
10877 (makeDocBookFile): ditto
10879 * text2.C: layout as string
10881 * text.C: layout as string
10883 * paragraph_pimpl.C: layout as string
10885 * paragraph.[Ch]: layout as string
10887 * lyxtextclasslist.[Ch]: layout as string
10889 * lyxtextclass.[Ch]: layout as string
10891 * lyxtext.h: layout as string
10893 * lyxlayout.[Ch]: layout as string
10895 * lyx_cb.C: layout as string
10897 * bufferview_funcs.C: layout as string
10899 * bufferparams.C: layout as string
10901 * buffer.C: layout as string
10903 * LyXView.[Ch]: layout as string
10905 * LaTeXFeatures.[Ch]: layout as string
10907 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10909 * BufferView_pimpl.C: change current_layout to string, remove
10914 (workAreaButtonRelease): layout as string
10916 * BufferView2.C (unlockInset): adjust
10918 * vspace.C (asLatexCommand): use an explict temp variable.
10920 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10922 * Makefile.am: use FRONTEND_*
10924 2002-03-01 Juergen Vigna <jug@sad.it>
10926 * tabular.C (SetWidthOfMulticolCell): changed to something better
10927 I hope but still work in progress.
10928 (recalculateMulticolumnsOfColumn): renamed function from
10929 recalculateMulticolCells as it is more appropriate now.
10930 (SetWidthOfCell): calculate multicols better.
10932 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10934 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10936 * lyxfunc.C (processKeySym): print sequence also if it is
10937 `deleted' (complete)
10939 * kbsequence.C (print): print sequence even if it is deleted
10940 (complete would be a better word, actually).
10942 * lyxfunc.C (dispatch): print complete options after a prefix key
10944 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10946 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10948 * text2.C (setCharFont): eliminate setCharFont code duplication.
10950 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10952 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10953 LFUN_TABULAR_FEATURE (bug #177)
10955 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10957 * Makefile.am: remove figure.h
10959 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10961 * Bufferview_pimpl.C:
10973 * text2.C: remove #include "lyx_gui_misc.h".
10975 * LaTeX.C: added #include <cstdio>
10977 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10980 that the paragraph following this one can have.
10982 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10984 * vspace.C (asLatexCommand): fix bogus gcc warning
10986 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10988 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10990 * text2.C (setLayout): get rid of redundant code
10992 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10994 * text2.C (incDepth): make sure depth cannot be increased beyond
10997 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10999 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11000 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11002 * PainterBase.h (image):
11003 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11004 a LyXImage const *.
11006 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11010 * BufferView_pimpl.C:
11011 * BufferView_pimpl.h:
11031 * sp_spell.C: remove fig inset, and the crap house of
11032 cards that follows it
11034 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11039 * os2_errortable.h:
11040 * nt_defines.h: move .h into support/
11042 * vms_defines.h: remove
11044 * WorkArea.C: add space in debug output
11048 * buffer.C: add WITH_WARNINGS
11052 * bufferlist.C: s/retrive/retrieve/, add docs
11061 * chset.C: add docs
11063 * lyxgui.C: add ID to X error handler
11065 * lyxtestclass.c: fix typo
11067 2002-02-26 Juergen Vigna <jug@sad.it>
11069 * tabular_funcs.C (write_attribute): changed so that some default
11070 attributes are not written at all.
11071 (getTokenValue): set default values before trying to read the
11072 value so we have the return value always set as default if we don't
11073 find the token we search for.
11075 * tabular.C (Write): write bools as bools not as strings!
11077 2002-02-22 Juergen Vigna <jug@sad.it>
11079 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11080 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11082 * text.C (leftMargin): don't add an indent for paragraphs inside
11083 tabular cells (fix #208).
11085 2002-02-21 José Matos <jamatos@fep.up.pt>
11087 * tabular.C (docBook): fixed support for long tables.
11089 2002-02-20 Juergen Vigna <jug@sad.it>
11091 * text2.C (getFont): get the drawing font of the Inset if this
11092 paragraph is inside an inset (only important for InsetERT for now).
11094 * buffer.C (insertErtContents): use new lanugage params in ERT
11097 * CutAndPaste.C: commenting out seemingly uneeded code.
11099 2002-02-19 Allan Rae <rae@lyx.org>
11101 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11102 Iterators might be simple to use but they also get invalidated.
11103 (removeAutoInsets): renamed saved cursor tracking variables and added
11104 some comments to clarify what everything does.
11106 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11113 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11114 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11117 * vc-backend.h: remove #include "support/syscall.h"
11121 * converter.C: rearrange #includes in Lars' approved fashion.
11123 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11124 forward declare class Timeout in the header file.
11126 * XFormsView.C: changes due to the above.
11128 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11129 similar to LyXView.
11131 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11132 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11134 2002-02-18 José Matos <jamatos@fep.up.pt>
11136 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11139 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11141 * a lot of small ws changes
11142 * add a lot of using std::XXX
11143 * use std construcs some places where approp.
11144 * use some exisint stuff from lyxfunctional where approp.
11145 * Make file changes to use partial linking (lets test this now...)
11147 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11151 remove #include "support/syscontr.h" as it's redundant. Always has been.
11159 change Systemcalls::System to Systemcalls::Wait and
11160 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11161 No change of functionality, just reflects the stripped down Systemcalls
11164 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11166 * debug.[Ch]: add a GRAPHICS type to the enum.
11168 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11170 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11172 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11175 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11177 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11178 match the changes below.
11180 * text2.C (toggleInset): if there is not editable inset at cursor
11181 position, try to see if cursor is _inside_ a collapsable inset
11184 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11186 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11187 document menu has a nice checkbox
11189 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * lyxlength.C (asLatexString): change PW to output as percent of
11194 * lengthcommon.C: change '%' to 't%'
11196 * lyxfunc.C (dispatch): a few comments from Martin
11198 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11202 * BufferView_pimpl.h:
11203 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11206 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * vspace.C (inPixels): fix compiler warning
11210 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * lyxfunc.C (getStatus): fix status message for disabled commands.
11214 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11216 * BufferView_pimpl.C: fix crash on close buffer
11217 during selection (#227)
11219 2002-01-27 Herbert Voss <voss@lyx.org>
11221 * buffer.C: link old Figure to new graphic inset
11223 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11225 * FontLoader.C (getFontinfo): Change the latex font names in order
11226 to match the names of type1inst.
11228 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11230 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11232 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11233 (extchanged): ditto
11235 (remove_files_with_extension): ditto
11236 (remove_file): ditto
11239 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11240 document is smaller than the work area height. Do not initialize
11241 static variables to 0.
11243 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11247 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11248 LFUN_LAYOUT_PARAGRAPHS.
11250 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11251 tabular. It is possible to provide a possible cell, which will
11252 typically be the actcell from the corresponding insettabular
11254 * lyxfunc.C (getStatus): small cleanup; disable
11255 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11258 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11260 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11262 * paragraph.C (startTeXParParams):
11263 (endTeXParParams): new methods. The LaTeX code to
11264 start/end paragraph formatting
11265 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11266 empty (fixes bug #200)
11268 * vspace.C (inPixels): adapt to the change below
11269 (inPixels): [later] more cleanups (remove unused variables)
11271 * lyxlength.C (inPixels): change to use a width and a height as
11274 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11276 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11277 Replaced with \paperwidth
11279 * DepTable.C (insert): add std:: qualifier
11281 2002-01-18 Allan Rae <rae@lyx.org>
11283 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11286 * text.C (drawInset): Turned out I didn't know enough about how
11287 rebreaking worked. This fixes most of the redraw problems. I see
11288 an occasional cursor trail when a line is broken now and the cursor
11289 placement can seem out by a few pixels also after a rebreak.
11291 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * buffer.C (parseSingleLyXformat2Token): update because minipage
11294 width is now a LyXLength
11296 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11298 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11301 2002-01-17 Juergen Vigna <jug@sad.it>
11303 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11305 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11306 is set correctly and the inset is updated correctly.
11308 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11310 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11311 the beginning of the loop.
11313 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11315 * lyxrc.C: improve help for use_scalable_fonts
11317 2002-01-17 Allan Rae <rae@lyx.org>
11319 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11321 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11323 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11324 make sure to set their inset_owner to the right value (bug #171)
11326 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11329 * DepTable.C: Implement mtime checking to reduce time spent doing
11332 2002-01-16 Juergen Vigna <jug@sad.it>
11334 * tabular.C (GetAdditionalHeight): one of error fixed.
11336 * lyxrc.C (output): small fix in writing use_pspell.
11338 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11340 * sp_base.h: #include LString.h
11342 2002-01-16 Allan Rae <rae@lyx.org>
11344 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11345 Can someone check this please?
11347 * text.C (drawInset): It was possible that p.row would be removed by
11348 breakAgainOneRow upsetting a few other settings. There may be another
11349 small tweak possible by setting need_break_row = 0 when p.row has been
11350 removed but I don't know enough about the logic here.
11352 2002-01-15 Allan Rae <rae@lyx.org>
11354 * text.C (insertChar): removed conditional truism.
11356 * BufferView2.C (removeAutoInsets): More tweaks.
11357 cur_par_prev could be a stray pointer. Check for trailing empty line
11358 in case last line was cur_par and only had an error inset on it.
11360 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11365 * vc-backend.C (most methods):
11366 * exporter.C (Export):
11367 * converter.C (convert):
11369 * LyXSendto.C (SendtoApplyCB):
11370 * lyxfunc.C (dispatch):
11374 * lyx_cb.C (AutoSave):
11376 * BufferView_pimpl.C (MenuInsertLyXFile):
11377 * buffer.C (runChktex): use Buffer::filePath().
11379 * buffer.h: rename filename to filename_; rename filepath to
11380 filepath_ and make it private
11381 (filePath): new method
11383 * buffer.C (writeFile): use fileName()
11386 * lyx_main.C (init): fix starting of LyX when the binary is a
11387 link from so,ewhere else.
11389 * minibuffer.C: include <cctype> for isprint
11391 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11393 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11394 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11395 name clash with InsetCollapsable's width function.
11397 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11399 * lastfiles.C: include <iterator>
11401 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11403 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11406 * buffer.C (makeLaTeXFile): ditto.
11407 Also make loop operation more transparent.
11409 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11411 * ToolbarDefaults.C: remove trailing comma closing namespace.
11413 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11415 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11418 * trans.C (Load): comment out unused variable, allowed.
11420 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11422 * minibuffer.[Ch] (append_char): new method to recieve input from the
11423 drop-down completion browser. If a key was pressed, then recieve this
11424 char and append it to the existing string.
11425 (peek_event): modify the positioning data passed to the completion
11426 browser so that it can be placed above the minibuffer rather than below.
11427 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11429 * LyXAction.C (init): alloe error-next for readonly documents.
11431 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11434 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * bufferlist.C (readFile): create the buffer _after_ checking that
11439 * lyxfunc.C (verboseDispatch): fix handling of arguments
11441 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11443 * lyxrc.C: use string::erase() instead of initializing to "".
11446 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11448 * BufferView_pimpl.h:
11449 * BufferView_pimpl.C:
11452 * text2.C: tell X when we have made a selection for copying
11454 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11456 * BufferView_pimpl.C (MenuInsertLyXFile):
11457 * lyxfunc.C (menuNew):
11459 (doImport): add shortcuts to directory buttons
11461 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11464 * lyxfunc.C (setStatusMessage):
11465 (getStatusMessage): new methods
11466 (getStatus):use setStatusMessage instead of setErrorMessage
11467 (dispatch): when function is disabled, set error message here
11468 [instead of in getStatus previously]
11470 * BufferView_pimpl.C (workAreaButtonRelease): update
11471 toolbar/menubar here too.
11473 2002-01-13 Allan Rae <rae@lyx.org>
11475 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11476 Now seems indestructible. Remaining task is to audit all other
11477 code affected by deleteEmptyParagraphMechanism. One small quirk
11478 left is that an empty document with an error in the preamble can
11479 be made to report an error but no error box appears. I don't know
11481 (removeAutoInsets): Improved comments.
11483 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11486 * Thesaurus.C: update for Aiksaurus 0.14
11488 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * text2.C (firstParagraph): removed member function, all uses
11491 replaces with ownerParagraph
11492 (redoParagraphs): here
11493 (updateInset): here
11494 (toggleAppendix): here
11495 * BufferView2.C (insertErrors): here
11496 (setCursorFromRow): here
11498 2002-01-13 Allan Rae <rae@lyx.org>
11500 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11501 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11502 There is still a way to segfault this although you may have to do this
11503 multiple times: Have an InsetERT with an unknown command in it.
11504 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11505 <down-arrow>, <Enter> again, View->DVI, BANG!
11507 * text2.C (setCursor):
11508 (deleteEmptyParagraphMechanism):
11509 * lyxtext.h (setCursor):
11510 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11511 Making use of the return value may help fix other bugs.
11513 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11517 * LyXView.C (updateMenubar): call MenuBar::update here
11518 (updateToolbar): but not here
11519 (showState): do not update toolbar/menubar
11521 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11522 should need to care about that.
11524 * lyxfunc.C (verboseDispatch): simplify a bit
11525 (getStatus): have a version which takes a pseudoaction, and
11526 another which requires a (kb_action,string).
11528 * LyXAction.C (retrieveActionArg): make it work also when action
11529 is not a pseudo-action.
11530 (getActionName): simplify a bit
11533 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * lyxfunc.C (verboseDispatch): new families of methods with
11536 several ways to specify a command and a bool to indicate whether
11537 the command name and shortcut should be displayed in minibuffer
11538 (eventually, we could extend that to a finer bitmask like
11539 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11540 (dispatch): the pristine dispatch command which just, well,
11541 dispatchs! Note it still sets its result to minibuffer; I'm not
11544 * lyxfunc.h: remove setHintMessage
11546 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11548 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * BufferView_pimpl.C (specialChar): delete new inset if we have
11551 not been able to insert it.
11553 * kbmap.C: revert to using int instead of kb_action, since all we
11554 are dealing with is pseudo-actions.
11556 * LyXAction.C (searchActionArg): change to return int instead of
11557 kb_action, since the result is a pseudoaction.
11559 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11561 * buffer.C (insertErtContents): Fix (partially) the font bug.
11563 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11565 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11566 as the other one is broken on my machine!
11568 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11571 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11573 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11575 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11576 reflect their actual use. Provide compatibility code for older lyxrc
11579 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11581 change names of popup font variables in line with the changes to lyxrc.C
11583 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11585 * buffer.C (asciiParagraph): avoid outputing a word twice after
11588 * lyxrc.C (getDescription): document that document_path and
11589 template_path can be empty.
11591 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * LaTeXFeatures.C (getMacros):
11594 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11596 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11598 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11600 (getPackages): rename feature "floats" to "float". Use an array to
11601 iterate over 'simple' features (i.e. just a \usepackage). Add
11602 handling of "amsmath" (renamed from "amsstyle").
11604 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11606 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11609 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11611 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11612 FuncStaus::FuncStatus & FuncStaus::some_method().
11614 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11616 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11617 of the func_satus stuff. Edited and massaged in various ways by
11620 * lyxfunc.C (getStatus): use FuncStatus
11622 2002-01-08 Juergen Vigna <jug@sad.it>
11624 * text.C (nextBreakPoint): use function Inset::isChar().
11626 * paragraph.C (TeXOnePar): use function
11627 Inset::forceDefaultParagraphs.
11629 * buffer.C (latexParagraphs): use function
11630 Inset::forceDefaultParagraphs.
11632 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11634 * lyx_gui.C (init): set the style of the menu popups to
11635 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11637 2002-01-07 Juergen Vigna <jug@sad.it>
11639 * text.C (setHeightOfRow): small fix
11640 (prepareToPrint): don't look at alignment if we don't have the place
11643 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11645 * box.C: New file. Move the Box methods and functions out of box.h,
11646 following Lars' suggestion.
11648 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11650 * box.h: #include "support/LOstream.h", needed for inlined function.
11653 * lyxtextclasslist.C: added some using std declarations.
11655 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11657 * box.h: make signed dimensions to allow insets wider than
11658 the screen (bug #162)
11660 * BufferView_pimpl.C: add some insetHit debug
11662 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11664 * vc-backend.C: add FIXME
11666 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * lyxfunc.C (getStatus): enable code for showing math font status
11671 2002-01-07 Juergen Vigna <jug@sad.it>
11673 * text.C (nextBreakPoint): removed debug output not needed anymore.
11675 2002-01-06 Juergen Vigna <jug@sad.it>
11677 * text.C (nextBreakPoint): fixed up this function we had this bug
11678 since ever but now hopefully we break row better.
11679 (insertChar): we have to check if an inset is the next char as it
11680 could now happen that a large inset is causing a break.
11682 2002-01-05 Juergen Vigna <jug@sad.it>
11684 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11685 if it doesn't like to be drawed.
11687 2002-01-04 Juergen Vigna <jug@sad.it>
11689 * BufferView2.C (lockInset): forgot to set a cursor.
11691 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11693 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11695 * FormMathsPanel.C:
11698 * form_maths_panel.C:
11699 * form_maths_panel.h:
11700 * form_maths_panel.fd: implemented sub- and super- buttons in math
11703 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11704 (or ^ space) to be used as in TeX (req'd by André).
11706 * lyxfunc.C: Allow ^ and _ again to be used both as
11707 super/subscript (mathed) and as themselves (in text).
11709 2002-01-03 Allan Rae <rae@lyx.org>
11711 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11712 "LyX" or the filename of the current buffer if it has one. This is a
11713 modified form of John Levon's patch.
11715 * XFormsView.C (setWindowTitle): also set icon title.
11717 * LyXView.h (setWindowTitle): signature changed.
11718 * XFormsView.h (setWindowTitle): ditto.
11720 2002-01-02 Juergen Vigna <jug@sad.it>
11722 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11724 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * screen.C (topCursorVisible): introduce a temp var for
11727 text->cursor.row(), handle the case where this row is null. (kindo
11730 * text2.C (setCursor): add a couple of asserts.
11732 * paragraph.h (inset_iterator): add -> operator
11734 * paragraph.[Ch] (autoDeleteInsets): remove member function
11736 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11737 cursor pos correctly and handle inset deletion by itself.
11738 (insertErrors): move iterator declaration out of for expression
11740 * lyxtextclass.C: add <algorithm>
11742 * Makefile.am: added the new files to sources, removed layout.C
11744 * layout.C: removed file
11746 * layout.h: remove LYX_DUMMY_LAYOUT
11748 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11752 * lyxtextclass.[Ch]:
11753 * lyxtextclasslist.[Ch]: new files
11755 * include order changes to a lot of files, also changes because of
11758 2001-12-27 Juergen Vigna <jug@sad.it>
11760 * buffer.C (asciiParagraph): more fixes.
11762 * tabular.C (ascii): make ascii export support export of only the
11763 data separated by a column-delimiter.
11764 (ascii): better support for ascii export.
11766 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11768 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11770 * tabular_funcs.C: use a "using std::getline" instead of the
11771 previous fix from Angus (necessary for cxx + lyxstring)
11773 2001-12-24 Juergen Vigna <jug@sad.it>
11775 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11777 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11778 problems. First check a minipage also if we have some ert-contents
11779 (not only on par->size(), second set the right depth of the paragraph
11780 on the relink to the root-paragraph-list!
11782 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11783 which then did not anymore update the main paragraphs on undo/redo!
11785 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11788 code. Support all font-changing funcs (even those which are not in
11789 menu currently). Support for reporting font settings in
11790 mathed (disabled until Andre provides a function on mathed's side).
11792 * func_status.h (toggle): small helper function to set toggle
11795 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11797 * tabular_funcs.C: getline -> std::getline
11799 2001-12-21 Juergen Vigna <jug@sad.it>
11801 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11802 accessed and could be 0 (I couldn't generate this but it seems
11805 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11808 * tabular_funcs.h: here and include iosfwd
11810 2001-12-20 Juergen Vigna <jug@sad.it>
11812 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11813 inside inset but undo_par was.
11815 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11817 * Thesaurus.C: always include <config.h> in sources.
11821 * box.h: do not include <config.h> in header files
11823 * text.C (paintLastRow): remove unused variable
11825 * text.C (transformChar):
11827 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11829 * Painter.C (text):
11830 * font.C (width): rewrite to use uppercase() instead of
11833 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11835 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11837 * lyxfind.C: clean up of find failure position change
11839 2001-12-20 Juergen Vigna <jug@sad.it>
11841 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11843 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11844 (TeXRow): added to LaTeX a single tabular row.
11845 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11846 (Latex): simplified and finally good LT-h/f support.
11847 (various_functions): just small adaptions for LT-h/f support.
11849 * tabular_funcs.[hC]: added and moved here all not classfunctions
11852 2001-12-19 Juergen Vigna <jug@sad.it>
11854 * tabular.[Ch]: better support for longtabular options (not finished
11857 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * text.C (paintLastRow): use the label font instead of the font of
11860 the last character to compute the size of *_BOX. This makes more
11861 sense and avoids a crash with empty paragraphs.
11862 Use Painter::rectangle to draw EMPTY_BOX.
11864 2001-12-19 Juergen Vigna <jug@sad.it>
11866 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11867 the paragraphs if the replaced paragraph is not the first one!
11868 Tried to delete not used paragraphs but does not work yet so for
11869 now it's inside #ifdef's and by default off!
11871 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11873 * MenuBackend.C: include "lyx_main.h" instead of declaring
11874 lastfiles (actually was declared as LastFiles* instead of a
11877 2001-12-17 Juergen Vigna <jug@sad.it>
11879 * tabular.C (AppendColumn): applied John's fix
11881 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11885 * BufferView_pimpl.h:
11886 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11889 * box.h: new start of class for above
11891 * lyxfunc.C: ignore space-only minibuffer dispatches.
11892 Show the command name when it doesn't exist
11894 * minibuffer.C: don't add empty lines to the history
11896 * minibuffer.C: add a space on dropdown completion
11898 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11900 * text.C: fix line above/below drawing in insets
11902 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * lyxlength.C (LyXLength): Initialize private variables.
11906 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11908 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11909 when inserting error insets.
11911 2001-12-13 Juergen Vigna <jug@sad.it>
11913 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11914 actually sometimes the before-paragraph.
11915 (setUndo): don't clear the redostack if we're not actually undoing!
11917 2001-12-06 Juergen Vigna <jug@sad.it>
11919 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11920 and fixed redoing of main paragraph, so we can use it now ;)
11922 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11924 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11926 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11929 2001-12-13 André Pönitz <poenitz@gmx.net>
11932 * undo_func.C: minor cleanup
11934 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11937 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11938 font in urw-fonts package which is marked as -urw-fontspecific and
11939 does not work (incidentally, changing the encoding in the
11940 fonts.dir of this package to -adobe-fontspecific fixes the
11943 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11944 is a crash when undoing first paragraph (Juergen, please take a
11945 look). THis does not mean the undo fix is wrong, just that it
11948 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11949 the (Paragraph*) version when needed instead of duplicating the
11952 * text.C (workWidth): use Inset::parOwner to find out where the
11953 inset has been inserted. This is a huge performance gain for large
11954 documents with lots of insets. If Inset::parOwner is not set, fall
11955 back on the brute force method
11957 * paragraph_pimpl.C (insertInset):
11958 * paragraph.C (Paragraph):
11959 (cutIntoMinibuffer): set parOwner of insets when
11960 inserting/removing them
11962 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11964 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11970 * mathed/formulabase.C:
11971 * mathed/math_cursor.[Ch]:
11972 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11975 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * lyxlength.[Ch] (operator!=): new function
11979 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11981 * text.C (workWidth): use Inset::parOwner to find out where the
11982 inset has been inserted. This is a huge performance gain for large
11983 documents with lots of insets. If Inset::parOwner is not set, fall
11984 back on the brute force method
11986 * paragraph_pimpl.C (insertInset):
11987 * paragraph.C (Paragraph):
11988 (cutIntoMinibuffer): set parOwner of insets when
11989 inserting/removing them
11991 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11993 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11995 * tabular-old.C (getTokenValue):
11996 * tabular.C (getTokenValue):
11997 (write_attribute): new versions for LyXLength
11998 (everywhere): adjust the use of widths
12000 * tabular.h: change the type of widths from string to LyXLength
12002 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12004 * paragraph.C: fixed missing line number count when exporting
12005 Environments to LaTeX file
12007 * buffer.C: added informational message for checking line numbers.
12009 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12011 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12012 paragraph, do the 'double space' part, but not the 'empty
12015 * text.C (workWidth): small optimization
12016 (getLengthMarkerHeight): use minimal size for negative lengths.
12018 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12020 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12022 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12024 2001-12-11 André Pönitz <poenitz@gmx.net>
12027 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12029 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12031 * text2.C: keep selection on a setFont()
12033 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12035 * lyx_cb.C: another bv->text misuse, from insert label
12037 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12040 * kbsequence.C: re-instate nmodifier mask
12042 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12044 * lyx_main.h: make lyxGUI private.
12046 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12048 * lyxfind.C: place the cursor correctly on failed search
12050 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12052 * text.C (getLengthMarkerHeight): for small heights, the arrows
12053 are not always on top/bottom of the text
12054 (drawLengthMarker): smaller arrows; take the left margin in
12055 account; draw also vfills.
12057 (paintLastRow): remove special code for vfill and standard spaces,
12058 since everything is handled in drawLengthMarker now.
12060 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12062 * buffer.C (insertErtContents): try to handle font and language
12063 interaction a bit better.g
12065 * ColorHandler.C (updateColor): change the hash to cover the whole
12066 LColor enum, ws cleanup
12067 (getGCLinepars): ditto
12068 (getGCLinepars): only lookup in the linecache once.
12070 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12072 * iterators.C (operator++): Make the iterator more robust
12074 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12078 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12081 * text.C: better added space drawing
12083 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12086 * BufferView2.C: fix layout combo update on inset unlock
12088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12090 * Makefile.am: don't compile unused files
12092 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12096 * LyXAction.C: remove old LFUN_LAYOUTNO
12098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12100 * paragraph_pimpl.h:
12101 * paragraph_pimpl.C: isTextAt() doesn't need font param
12103 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12106 * lyxlex.C: little cleanup
12108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12110 * BufferView_pimpl.C: fix insertAscii for insets
12112 2001-12-05 Juergen Vigna <jug@sad.it>
12114 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12115 set the right font on the "multi" paragraph paste!
12117 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * lyxlength.C: remove out-commented code.
12125 * BufferView_pimpl:
12139 * vc-backend.C: change "while(" to "while ("
12141 * lyxlength.[Ch]: add zero function to check if length is zero or
12143 * lyxgluelength.C: use it
12145 2001-12-05 Allan Rae <rae@lyx.org>
12147 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12148 Works for 2.95.3, from what I understand of Garst's reports this should
12149 work for other g++ versions. We're screwed if the abs(int) definition
12150 changed between bugfix releases of gcc.
12152 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12154 * text.C: fix chapter label offset !
12156 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12159 * text.C: fix hfill at end of line, clean up
12161 2001-12-04 Juergen Vigna <jug@sad.it>
12163 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12164 that we force an update of the inset and it's owners if neccessary.
12166 2001-12-03 Juergen Vigna <jug@sad.it>
12168 * text.C (rowLast): simplified code
12170 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12172 * lyxfunc.C: fix show options on timeout
12174 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12176 * screen.C (topCursorVisible): scroll half a page when the cursor
12177 reached top of bottom of screen
12179 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12181 * minibuffer.C: deactivate on loss of focus
12183 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * vspace.[Ch] (operator!=): add operator.
12187 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12189 * BufferView_pimpl.C: refuse to open an inset when
12190 there's a selection.
12192 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12194 * BufferView_pimpl.C: allow to click on RHS of full row insets
12196 2001-11-30 Juergen Vigna <jug@sad.it>
12198 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12199 insets for undo reasons.
12201 2001-11-28 André Pönitz <poenitz@gmx.net>
12203 * vspace.[Ch]: cosmetical changes
12205 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12215 * kbsequence.C: part re-write of old kb code
12218 * WorkArea.C: remove Lgb_bug_find_hack
12220 2001-11-30 José Matos <jamatos@fep.up.pt>
12222 * buffer.C (makeDocBookFile): add a comment to point a hack.
12223 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12224 Fixed a double write of labels.
12226 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12229 * LaTeX.h Fixed bug in LaTeX class where it would not
12230 re-run latex if no depfiles were changed, but the .dvi was removed.
12232 2001-11-28 André Pönitz <poenitz@gmx.net>
12234 * all the files from the change on 2001/11/26:
12235 use lyx::layout_type instead of LyXTextClass::size_type
12236 use lyx::textclass_type instead of LyXTextClassList::size_type
12238 2001-11-29 Juergen Vigna <jug@sad.it>
12240 * text.C: added support for paragraph::isFreeSpacing()
12242 * buffer.C: same as above
12244 * paragraph.h: inserted isFreeSpacing() function to enable
12245 FreeSpacing inside InsetERT.
12247 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12248 of the paragraph's in the cut/copy buffer to 0!
12250 * text2.C (removeRow): remove the assert as it can!
12252 * lyxtext.h: added helper function firstRow returning firstrow and
12253 made firstrow private again.
12255 * BufferView2.C (lockInset): don't relock if we're already locked!
12257 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12258 the only paragraph.
12259 (removeRow): added Assert::(firstrow)
12261 * debug.C: forgot to add INSETTEXT here.
12263 2001-11-28 Juergen Vigna <jug@sad.it>
12265 * sp_spell.C (initialize): changed error text to more general
12266 spellchecker command use (not only ispell!)
12268 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12270 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12272 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12274 * vspace.C: initialise lyxgluelength on failure
12276 2001-11-28 Allan Rae <rae@lyx.org>
12278 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12279 declaration & definition that looks like a function declaration.
12281 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * BufferView2.C (copy):
12284 (copyEnvironment): do not clear the selection when doing a copy.
12286 * text.C (paintFirstRow): compilation fix
12288 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12290 * tabular.C (Latex): correct line count when writing latex.
12292 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12294 * paragraph_pimpl.h:
12295 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12298 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12302 * LColor.C: change vfillline->added_space
12304 * text.C: add markers and text for added space
12306 * vspace.C: fix comment
12308 2001-11-28 André Pönitz <poenitz@gmx.net>
12310 * paragraph.C: whitespace changes
12311 * all the other files from the change on 2001/11/26:
12312 change *::pos_type into lyx::pos_type
12314 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12316 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12317 language of the document when inserting error insets.
12319 2001-11-26 André Pönitz <poenitz@gmx.net>
12321 * BufferView_pimpl.[Ch]:
12329 * paragraph_pimpl.[Ch]:
12332 * text2.C: reduce header dependencies, introduce type for positions
12334 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12336 * <various>: change to use Alert.h
12338 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12340 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12341 when encountering an unknown token.
12342 (readLyXformat2): Show an error message if there were unknown tokens.
12344 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12347 * BufferView_pimpl.C:
12351 * text2.C: use par->isInset()
12353 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12355 * paragraph_pimpl.h:
12356 * paragraph_pimpl.C: cleanup
12358 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12360 * text2.C (removeRow):
12361 * text.C (setHeightOfRow): remove useless (and costly) call to
12364 2001-11-20 Allan Rae <rae@lyx.org>
12366 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12367 Now need Inset*::checkInsertChar() to return true for appropriate
12368 cases so that the characters in the minibuffer will actually be
12371 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * text.C: change the order of the includes.
12374 (workWidth): initialize it at once.
12375 (workWidth): make maxw unsigned
12376 (setHeightOfRow): remove unused variable (inset)
12377 (selectSelectedWord): remove unused variable (inset)
12378 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12380 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12382 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12383 server is not running.
12385 (closeConnection): add debug info when server is disabled.
12387 * ColorHandler.C (getGCForeground): send debug message to GUI
12390 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12392 * kbmap.C (bind): modify because return conventions of
12393 kb_sequence::parse have changed.
12395 * kbsequence.C (parse): only ignore spaces and not any stupid
12396 control character. This avoids tests like s[i] <= ' ', which are
12397 guaranteed to fail with 8bit characters and signed chars.
12398 Change return code to string::npos when there have been no error
12399 (0 was a bad idea when error is at first character)
12401 2001-11-14 José Matos <jamatos@fep.up.pt>
12404 * buffer.C (simpleDocBookOnePar): removed unused argument.
12406 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12408 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12409 insets which are part of a word. Paragraph::isLetter takes care of
12410 that now. Use Paragraph::isInset to identify insets.
12411 (selectSelectedWord): do not test for hyphenation break.
12413 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12414 that protected spaces are considered as spaces.
12416 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12419 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12422 * lyxserver.C: fix it. and small cleanup.
12424 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12426 * BufferView_pimpl.C: use inline helpers
12429 * LaTeXFeatures.C: fix typos
12432 * Spacing.C: move spacing_string into class
12434 * ToolbarDefaults.C: move stuff into namespace anon
12436 * layout.h: update enum
12438 * lyxfunc.C: use better debug
12440 * minibuffer.h: fix typo
12444 * WorkArea.C: add and use Debug::WORKAREA
12448 * text2.C: code re-organisation, inline helpers
12450 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12452 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12453 std::vector.empty().
12455 2001-11-09 Allan Rae <rae@lyx.org>
12457 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12458 '\n's after tables. Tabular and ERT inset work now makes this no
12461 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12464 * minibuffer.C: fix crash, improve drop-down completion
12466 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12469 * lyxserver.C: invalidate fd's when doing endPipe()
12471 2001-11-08 José Matos <jamatos@fep.up.pt>
12473 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12474 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12477 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12479 2001-11-07 José Matos <jamatos@fep.up.pt>
12482 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12485 * buffer.C (sgmlOpenTag):
12486 * buffer.C (sgmlCloseTag): removed debug info.
12488 * buffer.h (sgmlOpenTag):
12489 * buffer.h (sgmlCloseTag): made public.
12491 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12493 * buffer.C (saveParamsAsDefaults):
12494 * lyx_cb.C (MenuLayoutSave): remove
12496 * LyXAction.C (init):
12498 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12500 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12502 * buffer.C (setPaperStuff): removed from here...
12504 * bufferparams.C (setPaperStuff): ... and moved there.
12506 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12510 * XFormsView.C: add support for drop-down completion
12512 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12514 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12517 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12519 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12522 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12524 * lyx_main.C: change ref to known bugs
12526 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12528 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12529 to work around older babel problems.
12531 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12533 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12535 2001-10-24 Juergen Vigna <jug@sad.it>
12537 * tabular-old.C (ReadOld): below variable changes reflected.
12539 * tabular.[Ch]: added ltType struct for longtable header/footer
12540 defines and changed all instances where they are used. Added
12541 future support for double top/bottom rows.
12543 2001-10-24 José Matos <jamatos@fep.up.pt>
12545 * buffer.h (docbookHandleCaption):
12546 * buffer.C (docbookHandleCaption): removed unused function.
12547 (makeDocBookFile): moved docbook supported version to v4.1.
12549 2001-10-24 José Matos <jamatos@fep.up.pt>
12552 * tabular.C (docbookRow): new function to export docbook code of a row.
12553 (DocBook): now honors the longtable flags.
12555 2001-10-23 José Matos <jamatos@fep.up.pt>
12558 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12559 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12561 * buffer.C (makeLinuxDocFile):
12562 (makeDocBookFile): reworked the preamble, more clean, and with
12563 support for lyx defined entities. Changed the document declaration
12564 to be more XML friendly.
12566 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12567 if we need to output XML that should be done with a filter.
12569 2001-10-22 Juergen Vigna <jug@sad.it>
12571 * sp_pspell.h (class PSpell): add alive function needed in the
12572 controller to see if the spellchecker could be started.
12574 2001-10-22 Juergen Vigna <jug@sad.it>
12576 * buffer.C (insertStringAsLines): modify the font for inserting
12577 chars in certain conditions by calling checkInsertChar(font).
12579 2001-10-19 Juergen Vigna <jug@sad.it>
12581 * text.C (workWidth): use getRow instead of wrong algorithm.
12582 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12584 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12589 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12591 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * text.C (workWidth): do not search for the exact row when
12594 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12595 optimization for big documents.
12597 2001-10-18 Juergen Vigna <jug@sad.it>
12599 * text.C (workWidth): new function with added Inset * parameter.
12601 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12605 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12606 change return type of getColumnNearX.
12609 * text.C (changeRegionCase): use uppercase/lowercase instead of
12612 (rightMargin): simplify code by factoring out the uses of
12617 (appendParagraph): use Paragraph::size_type
12619 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12621 * vspace.C (asLatexString): add a missing break
12623 2001-10-15 Herbert Voss <voss@perce.de>
12625 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12627 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12629 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12632 2001-10-10 André Pönitz <poenitz@gmx.net>
12634 * lyxfunc.C: removed greek_kb_flag.
12636 2001-10-10 Herbert Voss <voss@perce.de>
12638 * lyx_main.C: delete global string help_lyxdir.
12640 2001-10-09 Herbert Voss <voss@perce.de>
12642 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12644 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12646 * lyx_main.C: added global string help_lyxdir.
12648 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12650 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12652 * lyxrc.C (set_font_norm_type): support iso8859-4
12654 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12656 * LaTeX.C (deplog): add another regex for MikTeX
12658 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12660 * lyxrc.C (set_font_norm_type): support iso8859-3
12662 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12666 * LaTeXFeatures.C: remove special case of french and index
12668 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12669 before \begin{document}). This solves several incompatibilities.
12671 2001-10-03 Garst Reese <reese@isn.net>
12673 * lyx_cb.C: change CheckTex error msg.
12675 2001-10-03 José Matos <jamatos@fep.up.pt>
12677 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12679 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * .cvsignore: update
12683 * lyx_main.C (commandLineVersionInfo): use new style version info.
12685 * buffer.C (writeFile):
12687 (makeLinuxDocFile):
12688 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12690 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12692 * version.h: update to use stuff in version.C
12694 * version.C.in: new file. Contains version information determined
12695 at compile time. This is a merging of version.h and
12698 2001-10-03 Juergen Vigna <jug@sad.it>
12700 * BufferView_pimpl.C (update): don't change "dirty" status in
12703 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12705 * WorkArea.C (c-tor): re-position version string slightly.
12707 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12709 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12710 revert to previous code.
12712 WorkArea.[Ch]: (show, destroySplash): methods removed.
12714 WorkArea.C: rework code so that it's an amalgam of the codes before and
12715 after the splash screen was moved to WorkArea.
12717 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12720 * vspace.C (inPixels):
12723 * buffer.C (insertStringAsLines):
12724 (asciiParagraph): fix types to be large enough
12726 * lyxlex_pimpl.h: change member status from short to int
12728 * layout.h: fix type of endlabeltype
12731 * kbsequence.C (parse): change return type to string::size_type
12733 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12736 * Bullet.C (bulletSize):
12737 (bulletEntry): do not use short ints as parameters
12739 * BufferView2.C (insertLyXFile): change a char to an int.
12741 * WorkArea.C (WorkArea): remove unneeded floats in computation
12743 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12745 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12747 * paragraph.C (asString): Do not ignore newline/hfill chars when
12748 copying to the clipboard.
12750 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12752 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12753 after a multi-line inset.
12755 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12757 * paragraph.C (validate): Set NeedLyXFootnoteCode
12759 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12761 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12762 and decrease-error to decrease.
12764 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12766 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12767 it more readable (should be equivalent)
12769 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12771 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12773 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12775 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12776 of a cursor (row, etc.) after a character has been deleted
12777 (deleteEmptyParagraphMechanism): call the method above on _all_
12778 cursors held by the LyXText when a double space has been
12781 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12783 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12785 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12787 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12788 background. Use greyOut() and the new show() methods to toggle between
12789 the foreground and background. Add code to remove the splash after
12790 its initial showing.
12792 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12793 (create_forms): no longer call Dialogs::showSplash.
12795 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * .cvsignore: add version_info.h
12799 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12801 * version_info.h.in: new file
12803 * Makefile.am: add version_info.h.in
12805 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12806 version_info.h instead of VERSION_INFO
12808 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12810 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12811 The ERT inset now returns string().
12813 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12815 * lyxtext.h, text.C (selectNextWord): renamed as
12816 selectNextWordToSpellcheck.
12818 * text.C (selectNextWordToSpellcheck): Modified to not select
12819 words inside an ERT inset.
12821 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * lyx_cb.C (MenuLayoutSave): change a bit the question
12825 * sp_base.h: include <sys/types.h>
12827 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12829 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12831 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12833 * several files: fix typos in user-visible strings
12835 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12837 * text2.C (pasteSelection): do not set the selection, since it
12838 will be cleared later. Actually, the intent was to fix the way the
12839 selection was set, but I figured rmoving the code was just as good.
12841 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12843 * FontLoader.C (available): Check if font is available without
12846 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12848 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12850 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12852 * lyxrc.[Ch]: added display_graphics variable and associated code.
12854 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12856 * bufferparams.C (hasClassDefaults): new method. Returns true if
12857 the buffer parameters correspond to known class defaults
12859 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12861 * XFormsView.C (show): set minimum size to the main window.
12863 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12865 * text2.C (copySelection):
12867 * lyxfind.C (LyXReplace):
12868 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12869 LyXText::selectionAsString.
12871 * paragraph.C (asString): add "label" argument to the second form
12873 * text2.C (selectionAsString): add "label" argument and pass it to
12874 Paragraph::asString.
12876 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * lyx_main.C (commandLineHelp): remove version information
12880 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12882 * lyx_main.C: add -version commandline option
12884 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * paragraph.h: make the optional constructor arg required instead.
12887 some modifications to other files because of this.
12889 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12891 * lyxserver.C (C_LyXComm_callback): make it static
12893 * lyx_main.C (error_handler): make it static
12895 * lyx_gui.C (LyX_XErrHandler): make it static
12897 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12899 * WorkArea.C: make the extern "C" methods static.
12901 * Makefile.am (lyx_LDADD): simplify
12903 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12905 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12906 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12908 * LyXAction.C (init):
12909 * lyxfunc.C (dispatch): associated code removal.
12911 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12913 * lyxfont.h (isSymbolFont): shut off warning
12915 * text.C (setHeightOfRow):
12916 (getVisibleRow): fix crash with empty paragraphs which have a
12919 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12921 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12924 2001-09-04 José Matos <jamatos@fep.up.pt>
12927 * tabular.C (docbook): rename docBook method to docbook.
12929 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12931 * Makefile.am: add dependencies to main.o.
12933 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12935 * FontLoader.C (available): Return false if !lyxrc.use_gui
12937 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12939 * FontInfo.C (query):
12940 * converter.C (view):
12941 * importer.C (Import):
12942 * exporter.C (Export): Can not -> cannot.
12944 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12946 * BufferView_pimpl.C: allow to create index inset even if
12949 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12951 * buffer.C (getLists): replace boost::tie code with an explicit pair
12952 as boost::tie can break some compilers.
12954 * iterators.h: Added a std:: declaration to the return type of
12957 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12959 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12962 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12964 * iterators.[Ch]: New files. Provide paragraph iterators.
12966 * buffer.C (changeLanguage): Use paragraph iterators.
12967 (isMultiLingual): ditto
12969 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12971 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12973 * FontLoader.C: Support for cmr font.
12975 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12977 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12978 (available): New method.
12980 * FontInfo.C (getFontname): Use scalable fonts even when
12981 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12984 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12986 * converter.C (Formats::view): reverted! Incorrect fix.
12988 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12990 * converter.C (Formats::view): only output the -paper option
12991 if the dvi viewer is xdvi, thereby fixing bug #233429.
12993 2001-08-23 Herbert Voss <voss@perce>
12995 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12997 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12999 * Spacing.h (Spacing): Set space to Default on in the default
13002 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * vc-backend.h (RCS::versionString): add RCS to version
13005 (CVS::versionString): add CVS to version
13007 * vc-backend.C (scanMaster): do not add CVS to version.
13008 (scanMaster): do not add RCS to version
13010 * lyxvc.C (versionString): new method
13012 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13014 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13016 * Spacing.C (set): initialize fval
13018 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13020 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13023 2001-08-16 Juergen Vigna <jug@sad.it>
13025 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13027 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13029 * BufferView_pimpl.C:
13032 * text2.C: setParagraph takes linespacing now
13034 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13036 * LyxAction.C: add internal LFUN_CITATION_INSERT
13038 * LyXView.C: actually apply fix
13040 * bufferlist.C: fix open non-existent file
13042 * lyxfind.C: fix indentation
13044 * lyxfunc.C: remove unneeded assert, fix typo
13046 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13048 * MenuBackend.C: use "Floatname List"
13050 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13052 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13053 when converting LaTeX layout to insetERT.
13054 Generate a non-collapsed float when reading old float
13056 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13058 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13061 2001-08-13 Juergen Vigna <jug@sad.it>
13063 * text.C (fill): return 0 instead of 20 as this seems to be the more
13066 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13068 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13071 2001-08-13 Juergen Vigna <jug@sad.it>
13073 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13075 (SearchBackward): comment out the unlocking of the inset_owner this
13076 should not be needed!
13078 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13080 * Many files: Remove inherit_language, and add latex_language
13082 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13083 collapsible insets.
13085 2001-08-10 Juergen Vigna <jug@sad.it>
13087 * text.C (prepareToPrint): fixed hfill-width in draw!
13089 * BufferView2.C (selectLastWord): save the selection cursor as this
13090 now is cleared in the function LyXText::clearSelection!
13092 2001-08-08 Juergen Vigna <jug@sad.it>
13094 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13095 BACKSPACE type functions.
13097 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13098 is only cutted from the document but not put in the cut-buffer, where
13099 still the old stuff should be.
13101 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13103 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13105 * tabular.C (SetWidthOfCell): fixed special case where the width
13107 (LeftLine): handle '|' in align_special.
13109 (LeftAlreadyDrawed): ditto
13110 (SetWidthOfCell): ditto
13112 2001-08-07 Juergen Vigna <jug@sad.it>
13114 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13116 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13119 * lyxlex.[hC]: ditto
13121 2001-08-06 Juergen Vigna <jug@sad.it>
13123 * text.C (getVisibleRow): fix up row clearing a bit.
13125 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * minibuffer.C: make sure the X server sees the changes in the input.
13129 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * paragraph.C (getFont): split into...
13132 (getLabelFont): this
13133 (getLayoutFont): and this
13134 * paragraph_pimpl.C (realizeFont): calling this
13136 * text2.C (getFont): split into...
13137 (getLayoutFont): this
13138 (getLabelFont): and this
13139 (realizeFont): all three calling this
13141 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13144 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13146 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13148 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13150 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13151 layouts from the Quote inset insertion.
13153 2001-08-03 Juergen Vigna <jug@sad.it>
13155 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13157 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13158 only if status not is already CHANGED_IN_DRAW (second level).
13160 * text.C (draw): don't set the need_break_row when inside an
13163 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * buffer.C (parseSingleLyXformat2Token): handle more latex
13168 * bufferview_funcs.[hC]: change function names to
13169 begin with small char, adjust other files.
13171 2001-08-02 André Pönitz <poenitz@gmx.net>
13174 BufferView_pimpl.C: remove broken special code for math-greek
13176 2001-08-02 Juergen Vigna <jug@sad.it>
13178 * BufferView_pimpl.C (update): redone this function so that we
13179 update the text again if there was a CHANGE_IN_DRAW.
13181 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13182 (drawFromTo): added a new internal bool which is used by draw() and
13184 (general): some cursor drawing problems fixed.
13186 2001-08-01 Juergen Vigna <jug@sad.it>
13188 * lyxfind.C (LyXFind): fixed
13189 (SearchForward): ditto
13190 (SearchBackward): ditto
13192 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13193 spurius drawing of the cursor in the main area.
13195 * text2.C (status): small fix which could lead to a segfault!
13196 (clearSelection): remove unneeded BufferView param.
13198 2001-08-01 André Pönitz <poenitz@gmx.net>
13200 * lyxfunc.C: small change due to changed mathed interface
13202 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13206 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13208 * lyxfunc.c: fail gracefully if file doesn't exist
13213 * BufferView_pimpl.C: IsDirWriteable() proto changed
13215 * LyXView.C: fix updateWindowTitle() to store the last title
13217 2001-07-31 Juergen Vigna <jug@sad.it>
13219 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13220 the font (wrong since using of Paragraph::highestFontInRange).
13222 * paragraph.C (highestFontInRange): added a default_size parameter.
13224 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13225 (setHeightOfRow): reformat
13227 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13229 * converter.[hC] + affected files: move to (inital-char)lowercase
13232 * ParagraphParameters.C (ParagraphParameters): remove commented code
13234 * PainterBase.[Ch]: remove commented code
13236 * LaTeXFeatures.h: add "bool floats" for float.sty
13238 * LaTeXFeatures.C (LaTeXFeatures): init floats
13239 (require): handle float
13240 (getPackages): do it with floats
13242 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13244 * BufferView_pimpl.C (Dispatch): improve handling of
13245 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13247 * commandtags.h: #include lyxfont.h here temporarily to avoid
13250 * bufferlist.h: include LString.h here.
13252 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * text2.C (getStringToIndex): new method.
13256 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13258 * *: Reduced header file dependencies all over.
13260 2001-07-30 Baruch Even <baruch@lyx.org>
13262 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13264 2001-07-29 Baruch Even <baruch@lyx.org>
13266 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13268 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * ParameterStruct.h (endif): add a default constructor to make
13271 sure that all variables is initialized.
13273 * ParagraphParameters.C (ParagraphParameters): adjust
13275 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13278 index; also, check that there is something to index, and that it
13279 does not span over several paragraphs.
13280 (doubleClick): use WHOLE_WORD_STRICT for double click.
13282 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13284 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13287 2001-07-26 Baruch Even <baruch@lyx.org>
13289 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13290 an InsetFig figure, backwards compatible reading of old figure code.
13292 2001-07-27 Juergen Vigna <jug@sad.it>
13294 * text2.C: font.realize function adaption.
13296 * text.C (draw): add a warnings lyxerr text if needed.
13298 * layout.C: font.realize function adaption.
13300 * language.C: add inherit_language and implement it's handlings
13302 * bufferview_funcs.C (StyleReset): remove language parameter from
13303 font creation (should be language_inherit now).
13305 * bufferparams.C (writeFile): handle ignore_language.
13307 * paragraph.C (getFontSettings): the language has to be resolved
13308 otherwise we have problems in LyXFont!
13310 * lyxfont.C (lyxWriteChanges): added document_language parameter
13311 (update): removed unneeded language parameter
13313 * paragraph.C (validate): fixed wrong output of color-package when
13314 using interface colors for certain fonts in certain environments,
13315 which should not seen as that on the final output.
13317 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13319 * BufferView_pimpl.C:
13324 * LyXAction.C: add thesaurus support
13327 * lyxfind.C: add "once" parameter, for thesaurus, to not
13328 move to the next match
13330 2001-07-26 Juergen Vigna <jug@sad.it>
13332 * lyxfont.C (realize): honor ignore_language too!
13335 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13337 * text.C (draw): one place more for ignore_language to not draw
13340 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13342 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13344 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13346 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13347 the minipage conversion problem.
13349 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13351 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13354 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13356 * BufferView.h: don't forward declare WorkArea
13358 * BufferView.C: don't include WorkArea.h
13360 2001-07-25 André Pönitz <poenitz@gmx.net>
13364 * lyxfunc.C: new LFUN 'math-space'
13366 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13368 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * text2.C (toggleInset): call open/close
13372 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13374 * lyxfunc.C (dispatch): add debug for the disabled case
13376 * font.C (buttonText): make similar to rectText
13378 * buffer.C (readInset): comment out parsing of insetlist and
13381 * PainterBase.C (rectText): small correction
13383 * BufferView_pimpl.C: comment out insettheorem and insetlist
13384 * LyXAction.C: ditto
13385 * commandtags.h: ditto
13387 2001-07-24 Juergen Vigna <jug@sad.it>
13389 * text.C (draw): honor the ignore_language.
13391 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13393 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13395 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13398 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13400 * lyxtext.h: remove unused (and unimplemented) methods
13402 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13404 * text.C (getVisibleRow): honor background color
13407 * Painter.h: remove default color argument for fillRectangle
13409 * text.C (backgroundColor): new method
13411 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13413 * text.C (getVisibleRow): adjust
13415 * font.[Ch] (rectText): new method, metrics
13416 (buttonText): new method, metrics
13418 * PainterBase.[hC]: make rectText and buttonText always draw and take
13421 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13423 * ToolbarDefaults.C (read):
13424 * MenuBackend.C (read): allow escaping in all strings
13426 * BufferView_pimpl.C (insertAndEditInset): new method.
13427 (Dispatch): use insertAndEditInset whenever appropriate.
13429 * BufferView_pimpl.C (insertNote): removed
13431 * BufferView_pimpl.C (smartQuote): new method, moved from
13432 BufferView; if an insetquote cannot be inserted, insert a '"'
13435 * BufferView2.C: remove insertCorrectQuote();
13437 * lyxfunc.C (getStatus): Add support for all remaingin
13438 inset-insert lfuns.
13440 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13442 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13443 command (necessary to pass " as parameter of self-insert.
13445 * text.C (selectWordWhenUnderCursor):
13446 (selectWord): add word_location parameter
13447 (selectWordWhenUnderCursor): same + remove special code for word
13449 (selectNextWord): use kind() to guess type of insetspecialchar,
13452 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13453 (insertErtContents): create ert insets as collapsed.
13454 (readInset): better compatibility code for Info inset.
13456 2001-07-20 Juergen Vigna <jug@sad.it>
13458 * lyxfunc.C (dispatch): use always LyXFind now!
13460 * text2.C (init): add a reinit flag so that the LyXText can be
13461 reinited instead of deleted and reallocated (used in InsetText).
13463 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13469 2001-07-18 Juergen Vigna <jug@sad.it>
13471 * text.C (selectNextWord): handle insets inside inset by calling
13472 always the bv->text functions so that we can go up the_locking_inset!
13474 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13475 in strange locations when inside an inset!
13477 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13478 handling to include insets.
13480 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13482 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * LyXAction.C (init):
13486 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13487 LIGATURE_BREAK, since the name is so stupid.
13489 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13491 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13494 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13496 * sp_form.[Ch]: remove.
13498 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13500 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13503 * src/buffer.C (readInset): ditto.
13505 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13507 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13508 menuSeparator(), endOfSentenceDot(), ldots() and
13509 hyphenationPoint(), which are therefore removed.
13510 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13512 * LyXAction.C (init):
13513 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13515 * paragraph.C (getWord): removed.
13517 * BufferView_pimpl.C (Dispatch): use last word or selection for
13518 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13520 * lyx_main.C (queryUserLyXDir): do not ask before creating
13521 user_dir, except if it has been named explicitely.
13523 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13525 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13526 a document of zero size.
13528 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13530 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13531 approriately in the c-tor and in require().
13532 (getPackages): output the appropriate LaTeX for natbib support.
13534 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13535 variables "use_natbib" and "use_numerical_citations" when reading the
13537 (readInset): read the various natbib cite commands.
13538 (validate): white-space change.
13540 * bufferparams.[Ch]: new variables "bool use_natbib" and
13541 "bool use_numerical_citations".
13542 (writeFile): output them in the LyX file.
13544 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13546 * lyxfunc.C (getStatus): add support for all the inset insertion
13549 * text2.C (insertInset):
13550 * paragraph.C (insetAllowed):
13551 * BufferView_pimpl.C (insertInset): update to take in account the
13552 renaming of insertInsetAllowed
13554 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13556 * text2.C (getInset): new method. returns inset at cursor position.
13558 * BufferView_pimpl.C (Dispatch): changes because of this.
13560 * LyXAction.C (init): rename open-stuff to inset-toggle.
13562 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13564 * text2.C (toggleInset): renamed from openStuff; use
13567 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13569 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13571 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13573 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13575 * buffer.C (readLyXformat2): Add filename to the error dialog
13577 2001-07-18 Juergen Vigna <jug@sad.it>
13579 * tabular.C (GetCellNumber): put an assert here instead of the check!
13581 2001-07-17 Juergen Vigna <jug@sad.it>
13583 * BufferView_pimpl.C (toggleSelection): adapted too.
13585 * text.C (selectNextWord): adapted for use with insets.
13586 (selectSelectedWord): ditto
13588 2001-07-17 Juergen Vigna <jug@sad.it>
13590 * sp_spell.C (PSpell): fix initialitation order.
13592 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13594 * paragraph.C: spacing
13596 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13598 * sp_spell.C: repair language selection for pspell
13600 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * lyxfunc.h: change more methods to begin with lower char.
13604 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13606 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13607 for unknown layouts.
13609 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13611 * buffer.C (readLyXformat2): Generate an error dialog if there are
13614 2001-07-16 Juergen Vigna <jug@sad.it>
13616 * sp_spell.C: always compile ISpell part.
13618 * lyxrc.C: added use_pspell entry and it's handling.
13620 2001-07-13 Juergen Vigna <jug@sad.it>
13622 * sp_spell.C: removed double includes.
13624 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13626 Consistent use of Lsstream.h:
13627 * Lsstream.h: added using std::stringstream for consistencies sake.
13629 * buffer.C: removed using std::stringstream
13631 * lyxfont.C (stateText):
13632 * paragraph.C (asString):
13633 * text.C (selectNextWord, selectSelectedWord):
13634 * text2.C (setCounter):
13635 * vspace.C (asString, asLatexString):
13636 std::ostringstream -> ostringstream.
13638 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13640 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13641 * commandtags.h: add LFUN_HELP_ABOUTLYX
13642 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13644 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13646 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13648 * lyx_gui_misc.C: remove spellchecker
13649 * lyxfunc.C: showSpellchecker
13651 * sp_ispell.h: added
13652 * sp_pspell.h: added
13653 * sp_spell.C: added
13654 * sp_form.[Ch]: removed
13655 * spellchecker.[Ch]: removed
13657 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13659 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13661 (simpleTeXSpecialChars): Simply print the input character without
13662 any special translation if pass_thru is set.
13664 * layout.h: Added bool pass_thru to layout class for being able to
13665 implement pass through of a paragraph for Literate Programming.
13667 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13668 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13669 * layout.C (Read): add "passthru" to list of layout tags and add
13670 code to set the pass_thru boolean when it is read.
13672 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * trans_decl.h: remove allowed from KmodInfo
13676 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13677 remove allowed code
13680 * paragraph_pimpl.C (erase): use boost::prior
13682 * Painter.C (text): use data() instead of c_str() when length is
13684 * WorkArea.C (putClipboard): ditto
13685 * font.h (width): ditto
13687 * BufferView2.C: use it-> instead of (*it). for iterators
13689 * paragraph_pimpl.C: ditto
13690 * paragraph.C: ditto
13691 * minibuffer.C: ditto
13692 * language.C: ditto
13694 * encoding.C: ditto
13695 * counters.C: ditto
13696 * converter.C: ditto
13698 * Variables.C: ditto
13699 * TextCache.C: ditto
13700 * MenuBackend.C: ditto
13701 * LyXAction.C: ditto
13703 * FloatList.C: ditto
13704 * DepTable.C: ditto
13705 * ColorHandler.C (LyXColorHandler): ditto
13707 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13709 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13711 * text2.C (openStuff): reintroduce this method (which had been
13712 nuked in NEW_INSETS frenzy).
13714 * lyxfunc.C (Dispatch): when an action has not been handled, use
13715 its name in the error message, not its number.
13717 * paragraph.C (inInset): change method name to begin with lowercase.
13720 * text2.C: updates because of this.
13722 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13724 * ToolbarDefaults.C (add): add spaces in error message
13726 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13729 (readLyXformat2): rename return_par to first_par, use lyxlex's
13730 pushToken and remove the manual push handling.
13731 (parseSingleLyXformat2Token): add another ert comp. variable:
13732 in_tabular, rename return_par to first_par. handle newlines better
13734 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13738 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * text2.C (getParFromID): removed
13742 * buffer.C (getParFromID): new method moved form lyxtext.
13743 * BufferView2.C (insertErrors): adjust
13744 (setCursorFromRow): adjust
13745 * BufferView_pimpl.C (restorePosition): adjust
13746 * lyxfunc.C (Dispatch): adjust
13747 * undo_funcs.C (textUndo): adjust
13749 (textHandleUndo): adjust
13750 (textHandleUndo): adjust
13752 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * buffer.C: up' the LYX_FORMAT
13756 * lyxfont.h: turn NO_LATEX on as default
13758 * buffer.C (insertErtContents): new methods of tex style compability.
13759 (parseSingleLyXformat2Token): use it several places.
13760 * tabular.C (OldFormatRead): and here
13762 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * text2.C: remove some commented code.
13767 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13768 * trans.C: changes because of the above.
13770 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13772 * text2.C (setCounter): Fix counters bug with bibliography layout.
13774 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13776 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13777 own member functions
13778 (simpleTeXSpecialChars): ditto
13780 2001-07-06 Juergen Vigna <jug@sad.it>
13782 * a lot of files: changed the access to LyXText::status and the
13783 call of undo-functions.
13785 * undo.[Ch]: added a inset_id to the undo informations.
13787 * undo_funcs.[Ch]: added and moved here all undo functions.
13789 * lyxtext.h: give the status enum a weight, made status_ a private
13790 variable and made accessor functions for it, removed the whole bunch
13791 of undo-functions as they are now in their own file, make some
13792 functions publically available. Added function ownerParagraph with
13795 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13796 made InInset() a const function, added getParFromID() function.
13798 * buffer.[Ch]: added const version for inset_iterator functions,
13799 added getInsetFromID() function.
13801 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13802 changed undo functions for new version.
13804 2001-07-05 Juergen Vigna <jug@sad.it>
13806 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13807 unknow mechanism does not call the proper constructor but only this
13808 one also if I request the other!?
13810 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13814 * text2.C (LyXText): use initialization lists.
13816 * lyxtext.h (Selection): initialize set_ and mark_
13817 (init): remove method
13819 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13821 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13823 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13825 * screen.[Ch]: change method names to begin with lowercase
13827 * BufferView_pimpl.C (updateScrollbar): simplify further and
13828 hopefully make it a bit faster.
13830 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13832 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13833 calling directly xforms functions.
13835 * Painter.C (Painter):
13836 * lyx_cb.C (MenuWrite):
13837 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13840 * lyx_gui.C: remove bogus guiruntime extern declaration.
13842 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13844 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13846 (redoDrawingOfParagraph): ditto
13847 (redoParagraphs): ditto
13848 (cutSelection): don't create a object for CutAndPaste use the
13849 static method directly
13850 (pasteSelection): ditto
13852 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13855 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * modifications to some other files because of this.
13859 * Makefile.am (lyx_SOURCES): add XFormsView
13861 * XFormsView.[Ch]: new files
13863 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13864 the main window. Move the gui dependent stuff to XFormsView
13866 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * tabular.C (GetCellInset): update cur_cell also in the row/col
13869 version of this function.
13871 * lyxfunc.C: no need to include figure_form.h here.
13877 * lyxvc.C: no need to include forms.h here.
13879 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13881 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13883 * lyxfunc.C (Dispatch):
13885 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13886 constructor argument.
13888 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * paragraph.C (Paragraph): dont't clear, and just set layout.
13891 (makeSameLayout): use params's copy contructor.
13893 * ParagraphParameters.[Ch] (makeSame): delete method
13895 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13897 * Variables.[Ch]: fix indentation, rename set to isSet
13899 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13901 * lyxfunc.C (Dispatch): fix typo
13903 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13905 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13908 * bufferlist.C: include assert.h for emergencyWrite().
13910 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13912 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13913 give up at last (bug #425202) !
13915 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13921 * spellchecker.C: strip spellchecker options and bring up
13922 preferences tab instead
13924 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13927 the istringstream constructor
13929 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * paragraph.C (getLayout): fix return value
13933 * paragraph.h: do not declare getLayout as inline.
13935 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13937 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13939 * lyxcursor.h (operator<): new func
13940 (operator>): new func
13941 (operator>=): new func
13942 (operator<=): new func
13944 * text.C (changeCase): use selection.start and selection.end
13945 (changeRegionCase): require from to be <= to. Require par to be a
13948 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13950 2001-06-27 Juergen Vigna <jug@sad.it>
13952 * text.C (cursorLeftOneWord): changed to return the cursor and added
13953 overlay with BufferView * parameter which calls this one.
13955 (selectWord): use new getWord function.
13956 (changeCase): renamed from changeWordCase as and extended to work
13957 also on selections.
13959 * lyxtext.h: added enum word_location
13961 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13962 changeCase as this operates now also on selections.
13964 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13966 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13968 * many files: send debug output to Debug::INFO instead of
13971 * converter.C (View):
13973 (Move): send debug output to Debug::FILES instead of console.
13975 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13977 * lyxfunc.C (getStatus): use func_status
13979 * func_status.h: new header, describing the results of
13980 LyXFunc::getStatus;
13982 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13985 2001-06-25 The LyX Project <jug@sad.it>
13987 * buffer.C (sgmlOpenTag):
13989 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13991 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * text2.C: remove some dead code
13995 * tabular.C (GetCellInset): store the last cell checked (gotten)
13997 * tabular.h: add the helper for the speedup
13999 * lyxtext.h: remove some dead code
14001 2001-06-26 The LyX Project <Asger>
14003 * paragraph.C: Change export to LaTeX of alignment to
14004 \begin{center} and family for better roundtrip work with reLyX.
14006 * Tune the math drawing a bit.
14008 2001-06-25 The LyX Project <Asger>
14010 * LColor.C (LColor): New color for math background. New color
14013 2001-06-25 The LyX Project <jug@sad.it>
14015 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14017 * lyxfunc.C (Open):
14018 * bufferlist.C (newFile): do not restrict to files ending with
14021 * BufferView_pimpl.C (MenuInsertLyXFile):
14023 2001-06-24 The LyX Project <jug@sad.it>
14025 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14028 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14030 * lyxtext.h: rename most methods to begin with a small char.
14031 Lots of changes because of this.
14033 * paragraph.C (Paragraph): do not call fitToSize
14034 (erase): call Pimpl::erase
14035 (insertChar): call Pimpl::insertChar
14036 (insertInset): call Pipl::insertInset
14037 (breakParagraph): do not call fitToSize
14038 (breakParagraphConservative): do not call fitToSize
14039 (fitToSize): remove method
14041 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14043 2001-06-24 The LyX Project <Asger>
14045 * Fix Qt compilation^2
14047 2001-06-24 The LyX Project <jug@sad.it>
14049 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14050 depthHook(getDepth()-1).
14053 * ParagraphParameters.h:
14054 * ParameterStruct.h: change type of depth to unsigned int ==
14055 depth_type. Many adaptations to other files before of that.
14057 2001-06-24 The LyX Project <Asger>
14059 * Fix Qt compilation.
14061 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * paragraph.h: renamed several methods to begin with small letter.
14064 several changes to many parts of the code because of this.
14066 2001-06-23 The LyX Project <jug@sad.it>
14068 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14069 rewritten to discard all double spaces when KeepEmpty is off
14070 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14071 to only handle newlines but not fiddle with spaces and friends.
14073 * lyxfunc.C (MenuNew): when doing 'new from template', use
14074 template_path as default directory
14076 2001-06-23 The LyX Project <Asger>
14078 * Clean-up of header file includes all over
14079 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14081 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14083 * paragraph.h: renamed from lyxparagraph.h
14085 2001-06-23 Asger <lyx@violet.home.sad.it>
14087 * Buffer.h: Removed Buffer::resize
14088 * BufferList.h: Removed BufferList::resize
14089 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14090 the document lazily when we change the width, or the font settings.
14092 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14094 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14096 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14098 * buffer.h: remove out of date comment
14100 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14103 * screen.C: fix "theoretical" GC leak
14105 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14107 * LaTeX.C (scanAuxFile):
14108 (deplog): remove trailing \r when reading stream (useful under
14111 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14113 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14114 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14115 and BufferView::theLockingInset(Inset*), so should use them and not
14116 access bv_->text->the_locking_inset directly.
14118 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14120 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14123 * tex-defs.h: remove old unused file
14125 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14127 * BufferView_pimpl.C: fix typo, remove minibuffer message
14128 when buffer has loaded
14130 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14132 * lyxfunc.C (Dispatch): use stringstream
14133 (MenuNew): use stringstream
14134 (Open): use stringstream
14136 * importer.C (Import): use stringstream
14138 * bufferview_funcs.C (CurrentState): use stringstream
14140 * LaTeX.C (run): use stringstream
14142 * BufferView_pimpl.C (savePosition): use stringstream
14143 (restorePosition): use stringstream
14144 (MenuInsertLyXFile): use stringstream
14146 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14159 * vspace.C: removed // -*- C++ -*- as first line.
14162 * version.h: added // -*- C++ -*- as first line.
14164 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14168 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14171 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14173 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14176 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14178 * gettext.C: include LString.h even when --disable-nls is on.
14180 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14182 * converter.h (Get): changed argument type from int to
14183 FormatList::size_type to avoid unnecessary conversion.
14185 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14188 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14190 * gettext.h: include LString.h even when --disable-nls is on.
14192 2001-06-07 Juergen Vigna <jug@sad.it>
14194 * text.C (BreakAgain): subst spaces with tabs.
14196 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14197 (resizeInsetsLyXText): set force on resizeLyXText.
14199 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14201 * gettext.h (gettext_init):
14202 (locale_init): use a real definition instead of a macro
14204 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14206 * Bufferview_pimpl.C:
14208 * LColor.C: further lcolor tidies
14210 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14212 * BufferView_pimpl.C (updateScrollbar): simplify.
14214 * BufferView2.C: don't include insets/insetinfo.h, change
14215 prototype for insertInset and call the Pimpl version. let
14216 updateInset call Pimpl version.
14218 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14219 gotoInset to BufferView::Pimpl
14221 2001-06-01 Juergen Vigna <jug@sad.it>
14223 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14224 inside a LockingInset (is the update needed at all?).
14226 2001-05-31 Juergen Vigna <jug@sad.it>
14228 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14229 here not the old one otherwise how should we compare it afterwards
14232 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * FontInfo.C: bring C functions into global namespace when
14240 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * LString.h: make sure config.h has been loaded before LString.h.
14244 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14245 (one for each char read by EatLine!).
14247 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14250 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14252 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14253 to the same as the par we break from
14255 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14257 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14259 * MenuBackend.C (expand): also create menu entries for wide
14260 versions of the floats.
14262 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14264 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14266 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14267 frontends/Makefile.am
14273 * tabular.C (getTokenValue): add std::
14275 * tabular-old.C (getTokenValue): add std::
14276 (getTokenValue): ditto
14277 (getTokenValue): ditto
14279 * screen.C (ToggleSelection): adjust
14281 * lyxtext.h: put selection cursors inside a Selection struct.
14283 * lyxfunc.C (moveCursorUpdate): adjust
14285 * lyxfont.C (latexWriteStartChanges): add std::
14287 * lyxfind.C: adjust
14289 * font.h: delete with(char const *, LyXFont const &)
14291 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14293 * FontInfo.C (getFontname): add std::
14295 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14296 (workAreaButtonPress): adjust
14297 (tripleClick): adjust
14299 (moveCursorUpdate): adjust
14302 * BufferView2.C (gotoInset): adjust
14304 2001-05-30 Juergen Vigna <jug@sad.it>
14306 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14307 to check pspell I add this as default as I now have new pspell
14308 libraries and they seem to use this.
14310 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * text2.C (CutSelection): make the cursor valid before the call to
14315 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14317 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14318 relied on 0 terminated strings and other horrors. Bug found due to
14319 the new assert in lyxstring!
14321 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14324 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14329 * lyxfunc.C (processKeySym): change method of getting to the
14332 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14333 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14334 * BufferView_pimpl.[Ch]: here as private methods.
14336 2001-05-28 Juergen Vigna <jug@sad.it>
14338 * text.C (SetHeightOfRow): added the update() call again as it is
14339 needed to initialize inset dimensions!
14341 2001-05-16 Juergen Vigna <jug@sad.it>
14343 * text2.C (SetCharFont): Add new function with BufferView * and
14344 bool toggleall parameters for setting insets internal fonts.
14345 (SetFont): Freeze the undo as we may change fonts in Insets and
14346 all this change should be inside only one Undo!
14348 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14349 setting font's in insets as for them we have the SetFont function!
14351 2001-05-15 Juergen Vigna <jug@sad.it>
14353 * text2.C (ClearSelection): to be sure we REALLY don't have any
14356 * tabular.C (TeXCellPreamble): fixed the left border problem for
14359 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14361 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14364 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14367 LFUN_BREAKPARAGRAPH.
14369 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14370 help test to "internal only", similar for LFUN_INSERT_URL
14372 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14373 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14374 auto_region_delete and deadkeys.
14376 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14379 * LColor.C: remove some dead entries, tidy a little
14381 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14383 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14385 (Dispatch): implement LFUN_ESCAPE
14387 * commandtags.h: add LFUN_ESCAPE
14389 * LyXAction.C (init): add entry for LFUN_ESCAPE
14391 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14392 Remove commented code.
14393 (insertNote): moved here
14394 (open_new_inset): moved here
14396 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14399 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * kbmap.C (findbinding): clean it up and make it work correctly.
14403 * lyx_main.C (init): do not pass argc and argv as parameters
14405 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14407 * buffer.C: fix path for OS/2 & Win32
14411 * lyx_main.C: Added os:: class.
14413 * os2_defines.h: update
14415 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14418 better by trying again with reduced state.
14420 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14422 * lyxrc.C (read): print error about invalid key sequence only when
14423 debugging (because not all latinX keysyms are known to some X
14426 * kbsequence.C (getiso): add a few std:: qualifiers
14427 (getiso): comment out extra return statement.
14429 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14431 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14433 (Dispatch): enhance the accent inset a bit. (not perfect)
14435 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14439 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14441 * bufferlist.C (emergencyWrite): fix assert() call
14443 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14445 * text.C (InsertChar): Added trivial patch to only send the "you
14446 can not do multiple spaces this way" message once during a
14449 2001-05-08 Baruch Even <baruch@lyx.org>
14451 * Makefile.am: Changed order of libraries to get LyX to link properly
14452 with the gnome frontend.
14454 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * LaTeXFeatures.h: add a std:: qualifier
14458 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14460 * paragraph.C (String): use stringstream
14462 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14464 * paragraph.C (writeFile): remove footflag arg
14466 * buffer.C (makeLaTeXFile): use stringstream
14467 (latexParagraphs): remove footnot gurba
14469 * LaTeXFeatures.C (getPackages): use stringstream
14470 (getMacros): likewise
14471 (getTClassPreamble): likewise
14472 (getFloatDefinitions): new method
14474 * paragraph.C (writeFile): reindent
14477 * WorkArea.h: revert the xpos + etc changes.
14479 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14481 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14483 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14484 (pasteSelection): likewise
14485 * text2.C (CreateUndo): likewise
14487 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14489 * minibuffer.C (peek_event): temporarily reduce the functionality
14490 of the minibuffer (to allow args on lfuns)
14492 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14493 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14495 * buffer.C (readInset): add compability reading of old float
14496 lists, add reading of new style float list.
14497 (readInset): avoid reevaluation of inscmd.getCmdName()
14498 (getLists): reindent
14500 * MenuBackend.C (MenuItem): implement parsing of
14501 md_floatlistinsert and md_floatinsert.
14502 (expand::LastFiles): move initalizaton of iterators out of loop,
14503 avoid reevaluation.
14504 (expand::Documents): introduce typdedef vector<string> Strings,
14506 (expand::ExportFormats): introduce typedef vector<Format const *>
14507 Formats, and use it.
14508 (expand): implement FloatListInsert and FloatInsert.
14510 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14511 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14512 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14514 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14516 (Dispatch::LFUN_FLOAT_LIST): implement
14518 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14520 * LaTeX.C (run): Fix problem with --export code.
14522 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14524 * BufferView.[Ch] (workarea): removed.
14525 (getClipboard) new method; wrapper for workarea()->getClipboard()
14527 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14530 * WorkArea.h (width, height, xpos, ypos): These methods all
14531 returned the dimensions of the work_area sub-area of WorkArea,
14532 resulting in a position error if the WorkArea were resized. Now
14533 return the dimensions of the entire WorkArea.
14535 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14537 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14539 * LaTeX.C (deplog): correct the syntax of regex reg1
14541 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14543 * undo.C: remove !NEW_INSETS cruft
14545 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * text2.C: remove !NEW_INSETS cruft
14549 * text.C: remove !NEW_INSETS cruft
14551 * tabular.C: remove !NEW_INSETS cruft
14553 * spellchecker.C: remove !NEW_INSETS cruft
14555 * lyxtext.h: remove !NEW_INSETS cruft
14557 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14559 * lyxfunc.C: remove !NEW_INSETS cruft
14561 * lyxfind.C: remove !NEW_INSETS cruft
14563 * lyx_cb.C: remove !NEW_INSETS cruft
14565 * figureForm.C: remove !NEW_INSETS cruft
14567 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14569 * buffer.[Ch]: remove !NEW_INSETS cruft
14571 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14573 * CutAndPaste.C: remove !NEW_INSETS cruft
14575 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14577 * BufferView2.C: remove !NEW_INSETS cruft
14579 * BufferView.h: remove !NEW_INSETS cruft
14581 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14583 * Lsstream.h: include LString.h before the sstream headers to
14584 fix problem with gcc 2.95.3 and lyxstring
14586 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * lyx_main.C: add using directives when needed for C functions
14589 declared in std:: namespace.
14591 2001-04-27 Juergen Vigna <jug@sad.it>
14593 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14594 (SetHeightOfRow): comment out the update call should not be needed!
14596 2001-04-13 Juergen Vigna <jug@sad.it>
14598 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14599 (LyXTabular): tried to minimize operator= operations (and realized
14600 hopfully Lars wish).
14602 2001-04-27 Juergen Vigna <jug@sad.it>
14604 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14606 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14608 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14610 * buffer.C (readInset): hack to make listof algorithm work
14612 * BufferView_pimpl.C: hack to make listof algorithm work
14614 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14616 * LyXAction.C: removed all !NEW_INSETS cruft
14617 (init): moved lfun_item in method
14619 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14621 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14623 * BufferView2.C (theLockingInset): white space.
14625 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14627 * minibuffer.C: include <iostream>
14629 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14631 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14633 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14635 * text.[Ch] (TransposeChars): new method
14637 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * call message directly through LyXView instead of through LyXFunc
14640 * BufferView2.C: adjust
14641 * BufferView_pimpl.C: adjust
14642 * FontLoader.C: adjust
14644 * bufferview_funcs.C: adjust
14645 * converter.C: adjust
14646 * figureForm.C: adjust
14647 * importer.C: adjust
14649 * lyx_gui_misc.C: adjust
14650 * lyxfunc.C: adjust
14653 + more files in subdirs
14655 * lyxparagraph.h (size): move up int file
14658 * adjust all uses of Assert to lyx::Assert.
14660 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14661 lyxfunctional in namespace lyx
14662 * layout.C (hasLayout): ditto
14665 (delete_layout): ditto
14666 (NumberOfClass): ditto
14667 * converter.C (GetFormat): ditto
14672 * bufferlist.C (getFileNames): ditto
14673 (emergencyWriteAll): ditto
14676 * MenuBackend.C (hasSubmenu): ditto
14679 * BufferView_pimpl.C (getInsetByCode): ditto
14681 2001-04-18 Juergen Vigna <jug@sad.it>
14683 * vspace.C (asLatexString): fixed the 100% problem.
14685 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * lyxfunc.C (Dispatch):
14689 * minibuffer.h: add a few std:: qualifiers
14691 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14693 * minibuffer.[Ch]: reimplement so that commands is initiated and
14694 run from lyxfunc, simplified som handling, and made the completion
14695 and history code for complete. wip.
14697 * lyxfunc.C (processKeySym): call message
14698 (miniDispatch): new temporary method
14699 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14700 (LFUN_MESSAGE): implement
14701 (LFUN_MESSAGE_PUSH): implement
14702 (LFUN_MESSAGE_POP): implement
14703 (initMiniBuffer): the initial/defualt minibuffer message.
14705 * lyxfont.[Ch]: inline some more getters
14707 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14709 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14711 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14712 (AutoSave): use LFUN_MESSAGE
14713 (Reconfigure): ditto
14715 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14717 * figureForm.C: use LFUN_MESSAGE
14719 * converter.C (runLaTeX): use LFUN_MESSAGE
14721 * bufferview_funcs.C: use LFUN_MESSAGE
14723 (changeDepth): ditto
14725 * bufferparams.h: use boost::
14727 * bufferlist.h: inherit privately from noncopyable
14729 * bufferlist.C (loadLyXFile): remove some commented code.
14731 * buffer.C (runChktex): use LFUN_MESSAGE
14733 * ShareContainer.h: inherit privately from noncopyable
14735 * ParagraphParameters.[hC] (depth): inline it.
14737 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14739 (message): new method
14740 (messagePush): ditto
14741 (messagePop): ditto
14742 (show): init minibuffer
14743 (showState): direct call
14745 * LaTeX.[Ch]: inherit privately from noncopyable
14746 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14747 instead of WriteStatus.
14749 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14751 * BufferView_pimpl.C (buffer): don't init minibuffer
14752 (workAreaButtonPress): use LFUN_MESSAGE
14753 (workAreaButtonRelease): ditto
14754 (savePosition): ditto
14755 (restorePosition): ditto
14756 (MenuInsertLyXFile): ditto
14757 (workAreaExpose): don't init minibuffer
14758 (update): remove commented code, simplify
14760 * BufferView2.C (openStuff): use LFUN_MESSAGE
14761 (toggleFloat): ditto
14764 (copyEnvironment): ditto
14765 (pasteEnvironment): ditto
14770 (updateInset): remove some commented code
14772 * lastfiles.h: inherit privately from noncopyable
14775 * lyx_main.h: ditto
14777 * lyxlex_pimpl.h: ditto
14779 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14780 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14781 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14783 * LyXAction.h: inherit privately from noncopyable, add methods
14784 func_begin, func_end, returning iterators to the func map.
14786 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14787 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14788 (func_begin): new method
14789 (func_end): new method
14791 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14793 (copySelection): ditto
14794 (pasteSelection): ditto
14796 * BufferView.C: whitespace change
14797 * BufferView.h: inherit privately from noncopyable
14799 2001-04-16 Allan Rae <rae@lyx.org>
14801 * tabular-old.C (l_getline):
14802 * spellchecker.C (sc_check_word):
14803 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14804 an unrecognised preprocessor directive. So ensure they're wrapped.
14806 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14808 * src/exporter.C (Export): Give an error message when path to file
14811 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14813 * LaTeX.C (deplog): Always check that foundfile exists.
14815 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14820 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * tabular.[Ch] (getLabelList): implement new method
14824 * minibuffer.h: comment ouf setTiimer
14826 * minibuffer.C (ExecutingCB): constify res
14827 (peek_event): constify s
14828 (Set): constify ntext
14829 (Init): constify nicename
14831 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14833 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14834 (savePosition): use two params to Minibuffer::Set
14835 (restorePosition): ditto
14837 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * lyx_main.C: include language.h
14841 * Makefile.am (lyx_main.o): add language.h
14843 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * CutAndPaste.C: include gettext.h
14851 * lyxfont.h: remove old hack with ON and OFF.
14854 * lyxfont.h: do not include language.h...
14859 * bufferview_funcs.C:
14865 * paragraph.C: ... but do it here instead
14867 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14869 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14871 * tabular.C: small reformat
14873 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14876 (BreakParagraph): ditto
14877 (SetOnlyLayout): ditto
14880 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14883 * lastfiles.C: removed most using decl, add std:: where needed
14885 * buffer.C: ws changes
14887 * MenuBackend.C (class compare_format): put into anon namespace
14888 (expand): constify label, names, action, action2
14891 * text.C (SingleWidth): constify font
14892 (IsBoundary): constify rtl2
14893 (GetVisibleRow): constify ww
14895 * LaTeX.C (deplog): constify logfile
14897 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14899 (workAreaExpose): constify widthChange, heightChange
14901 * lyxrow.C (par): moved
14904 * lyxrow.h: as inlines here
14906 * lyxfont.h (shape): moved from lyxfont.C
14907 (emph): moved from lyxfont.C
14909 * lyxfont.C (LyXFont): use initialization list for all
14911 (shape): move to lyxfont.h as inline
14912 (emph): move to lyxfont.h as inline
14915 2001-04-04 Juergen Vigna <jug@sad.it>
14917 * vspace.C: had to include stdio.h for use of sscanf
14919 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14922 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14923 independent of xforms.
14925 2001-04-02 Juergen Vigna <jug@sad.it>
14927 * spellchecker.C: fixed namespace placing!
14929 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14931 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14932 the LyXParagraph * is 0.
14934 2001-03-29 Juergen Vigna <jug@sad.it>
14936 * vspace.C: added support for %, c%, p%, l%.
14937 (stringFromUnit): added helper function.
14938 (asLatexString): changed to give right results for the %-values.
14940 * buffer.C: convert the widthp in a width%.
14942 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14944 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14947 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14948 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14950 * lyx_cb.[Ch]: see above.
14952 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14956 * lyx.[Ch]: replaced by figure_form.[Ch].
14960 * lyxfunc.C: changed headers associated with above changes.
14962 2001-03-27 Juergen Vigna <jug@sad.it>
14964 * BufferView_pimpl.C: set the temporary cursor right!
14966 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14968 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14970 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14972 * LString.h: removed "using std::getline"!
14974 * BufferView_pimpl.C (Dispatch): changes due to changes in
14975 InsetInclude::Params.
14977 * buffer.C (tag_name): removed redundant break statements as they were
14978 producing lots of warnings with my compiler.
14980 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * LString.h: add "using std::getline" when using the real <string>.
14984 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14986 * buffer.C: removed bitset usage.
14987 PAR_TAG moved to an anonymous name space.
14988 (tag_name): new funtion, also in the anonymous namespace.
14989 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14990 (makeDocBookFile): clean code. Completed transition from string arrays
14992 (SimpleDocBookOnePar): code clean.
14994 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14996 * tabular.C: add some comments.
14998 2001-03-22 Juergen Vigna <jug@sad.it>
15000 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15001 compatibility read a bit and fixed bug with minipage in different
15004 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15006 * buffer.C (pop_tag): removed.
15007 (push_tag): removed.
15008 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15009 array replaced with vector. Added support for CDATA sections.
15010 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15012 (makeDocBookFile): XML conformant declaration of CDATA section,
15013 fixed bug related to <emphasis> in the first paragraph char.
15014 (sgmlOpenTag): exclude empty tags.
15015 (sgmlCloseTag): ditto.
15017 * buffer.h (pop_tag): removed.
15018 (push_tag): removed.
15020 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15022 * language.h (Languages): added size_type and size().
15024 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15026 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15027 response on compability reading of minipages. One probliem is that
15028 the old usage of minipages was «flertydig»
15030 * several files here and in subdirs: don't use static at file
15031 scope use anon namespaces instead.
15033 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15035 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15036 LaTeX output. This is necessary for Literate document
15039 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15041 * buffer.C: insert hfill when needed.
15043 * tabular.C (l_getline): use string::erase, small whitespace change.
15045 * BufferView_pimpl.C: try the anon namespace.
15046 * WorkArea.C: ditto
15048 2001-03-16 Juergen Vigna <jug@sad.it>
15050 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15051 otherwise it won't open options-dialogs.
15053 * buffer.C: honor pextraWidth(p) on converting minipages.
15055 * tabular.C (l_getline): changed the functions to strip trailing \r.
15057 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15059 * BufferView_pimpl.C:
15060 * minibuffer..C: added "using SigC::slot" declaration.
15062 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15064 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15070 * paragraph.C: ditto
15072 * lyxtext.h: NO_PEXTRA
15074 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15076 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15077 * ParameterStruct.h: ditto
15078 * ParagraphParameters.h: ditto
15079 * lyxparagraph.h: ditto
15081 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15083 * buffer.C: add compability for minipage alignment.
15084 (latexParagraphs): remove unwanted pextra check.
15086 * several files: remove CXX_WORKING_NAMESPACES
15088 * buffer.C (pop_tag): tie is in namespace boost
15090 * BufferView.h: noncopyable is in namespace boost
15092 * lyx_main.h: ditto
15095 * lastfiles.h: ditto
15096 * bufferlist.h: ditto
15097 * ShareContainer.h: ditto
15099 * LyXAction.h: ditto
15102 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15104 * Merging changes from BRANCH_MVC back into HEAD.
15106 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15108 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15110 * BufferView_pimpl.C: change from intl.C
15114 * Makefile.am: move combox.*
15120 * intl.C: remove dialog (covered by prefs)
15122 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15124 * lyxfunc.C (Dispatch): removed redundant break statement.
15126 2001-03-14 Juergen Vigna <jug@sad.it>
15128 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15130 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15132 * buffer.C: add hack to fix compability reading of minipages.
15134 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15136 * buffer.C (getLists): Cleanup.
15138 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15140 * lyxfont.C (update): don't honor toggleall on font size.
15142 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15146 * Makefile.am: moved to frontends/xforms/
15150 * BufferView_pimpl.C: changes for moved mathpanel
15152 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15154 * gettext.h: fix gettext_init() in --disable-nls
15156 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15160 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15163 * lyx.h: strip external form
15165 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15167 * BufferView_pimpl.C: add comment, destroySplash()
15169 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15171 * BufferView_pimpl.C:
15175 * lyxfunc.C: use re-worked insetinclude
15177 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15179 * buffer.C: add using std::stringstream.
15181 * lyx_cb.C: readd using std::ios.
15183 * buffer.C: add using std::map.
15185 * BufferView_pimpl.C: add using std::vector.
15187 * ShareContainer.h: add std:: to swap.
15189 * buffer.h: add some typedefs
15190 * buffer.C (getLists): use them
15191 (getLists): renamed from getTocList.
15192 add a counter for the different float types and use it in the
15194 (getLists): use the same counter for the NEW_INSETS and the "non"
15197 * lyx_cb.h: remove unused items, includes, using etc.
15199 * ShareContainer.h: remove some commented code, add more comments
15200 and "documentation".
15202 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15204 * buffer.C (getTocList): make the list also when NEW_INSETS is
15207 * buffer.h: remove TocType
15209 * buffer.C (getTocList): change to return a map<string,
15210 vector<TocItem> >, implement for dynamic number of list.
15212 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15213 * text2.C (PasteSelection): adjust
15214 * CutAndPaste.C (pasteSelection): adjust
15216 * FloatList.C (FloatList): update from the new_insets branch.
15217 * Floating.[Ch]: ditto
15218 * LaTeXFeatures.C: ditto
15220 * lyxlex_pimpl.C: ditto
15222 * paragraph.C (Last): remove when NEW_INSETS is defined.
15224 * other file: changes because of the above.
15226 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15228 * lyxparagraph.h: rename next to next_, previous to previous_,
15229 make them private for NEW_INSETS. Rename Next() to next(),
15230 Previous() to previous().
15232 * other files: changes because of the above.
15234 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15237 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15240 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * main.C (main): pass lyx_localedir to gettext_init().
15244 * gettext.h: remove locale_init and gettext_init macros
15246 * gettext.C (locale_init): new function
15247 (gettext_init): new function
15249 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15252 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15254 * Moved credits to frontends:
15255 * credits.[Ch]: removed
15256 * credits_form.[Ch]: removed
15257 * lyx_gui_misc.C: remove credits stuff
15260 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15262 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15264 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15265 unneeded destructor.
15267 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15268 a standalone pointer again.
15270 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15272 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15278 * ToolbarDefaults.C:
15287 * BufferView_pimpl.C: use new file dialog in GUII
15290 * lyx_cb.C: remove LayoutsCB to Toolbar
15292 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * ShareContainer.h (get): add std:: qualifier
15296 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15298 * ShareContainer.h: define a proper ShareContainer::value_type
15299 type (and use typename to please compaq cxx)
15301 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15303 * lyxparagraph.h: move serveral local vars to
15304 ParameterStruct/ParagraphParameters., use ShareContainer in
15305 FontTable., make vars in FontTable private and add getter and
15308 * paragraph.C: changes because of the above.
15310 * lyxfont.h: remove copy constructor and copy assignment. (the
15311 default ones is ok), move number inside FontBits. move inlines to
15314 * lyxfont.C: add number to initializaton of statics, move several
15315 inlines here. constify several local vars. some whitespace
15316 cleanup. Dont hide outerscope variables.
15318 * Spacing.h: add two new constructors to match the set methods.
15320 * ShareContainer.h: new file, will perhaps be moved to support
15322 * ParameterStruct.h: new file
15324 * ParagraphParameters.h: new file
15326 * ParagraphParameters.C: new file
15328 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15329 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15331 * BufferView_pimpl.C: ParagraphParameter changes.
15332 * buffer.C: Likewise.
15333 * bufferview_funcs.C: Likewise.
15334 * text.C: Likewise.
15335 * text2.C: Likewise.
15337 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15339 * lyxfind.C (LyXReplace): do not redefine default argument in
15341 (IsStringInText): ditto
15342 (SearchForward): ditto
15343 (SearchBackward): ditto
15345 2001-03-06 Juergen Vigna <jug@sad.it>
15347 * lyxfind.C (IsStringInText): put parentes around expressions.
15349 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15351 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15353 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15355 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15357 * stl_string_fwd.h: add comment
15359 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15362 * tabular.C: remove unused DocBook methods
15368 killed DO_USE_DEFAULT_LANGUAGE
15370 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * lyx_gui.C: do not include language.h.
15374 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15375 arguments in function implementation.
15377 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15379 * BufferView_pimpl.C: add <ctime>
15381 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15383 * BufferView_pimpl.C: add using std::find_if
15385 2001-02-27 José Matos <jamatos@fep.up.pt>
15387 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15390 2001-02-11 José Matos <jamatos@fep.up.pt>
15392 * buffer.C (makeDocBookFile): command styles now have a parameter as
15393 "title" by default.
15395 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15397 * layout_forms.[Ch]: removed
15398 * lyx_cb.[Ch]: out character
15399 * lyx_gui.C: out character
15400 * lyx_gui_misc.C: out character
15401 * bufferview_funcs.C: : out character,
15402 added toggleall as parameter in ToggleAndShow
15404 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15406 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15408 * text2.C (SetCurrentFont): Disable number property at boundary.
15410 2001-02-26 Juergen Vigna <jug@sad.it>
15412 * lyxfunc.C (getStatus): added a string argument override function so
15413 that this is correctly called from LyXFunc::Dispatch if it contains a
15414 do_not_use_argument which is used!
15415 (Dispatch): added check for "custom" export and call appropriate func.
15417 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15419 * lyxrc.C: Add language_command_local, language_use_babel and
15420 language_global_options.
15422 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15424 * buffer.C (makeLaTeXFile): Use language_use_babel and
15425 language_global_options.
15427 2001-02-23 Juergen Vigna <jug@sad.it>
15429 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15430 which works with LyXText and putted it inside BufferView. Here now we
15431 only call for that part the BufferView::Dispatch() function.
15433 * BufferView.C (Dispatch): added.
15435 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15436 functions which needs to use a LyXText over from LyXFunc.
15437 (MenuInsertLyXFile): added
15438 (getInsetByCode): added
15439 (moveCursorUpdate): added
15440 (static TEXT): added
15442 2001-02-22 Juergen Vigna <jug@sad.it>
15444 * BufferView_pimpl.C (update): call a status update to see if LyXText
15447 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15449 * vc-backend.C (revert): implement for CVS
15450 (getLog): implement for CVS
15452 2001-02-20 Juergen Vigna <jug@sad.it>
15454 * text2.C (ClearSelection): added BufferView param for inset_owner call
15456 * lyxfunc.C (TEXT): added this function and use it instead of
15457 directly owner->view()-text of getLyXText().
15459 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15461 * src/layout_forms.C: out preamble
15462 * src/layout_forms.h: out preamble
15463 * src/lyx_cb.C: out preamble
15464 * src/lyx_cb.h: out preamble
15465 * src/lyx_gui.C: out preamble
15466 * src/lyx_gui_misc.C: out preamble
15467 * src/lyxfunc.C: connect with guii preamble
15469 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15471 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15473 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15475 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15476 whether to run bibtex.
15478 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15480 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15482 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15484 * Makefile.am (lyx_SOURCES): removed bibforms.h
15486 * vspace.h: doxygen
15488 * text.C (GetVisibleRow): make several local vars const
15490 * tabular.C: small cleanup.
15492 * lyxserver.C (callback): use compare instead of strncmp
15494 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15495 inlines to after class or to paragraph.C
15497 * lyxfont.h: remove friend operator!=
15499 * converter.h: move friend bool operator< to non friend and after
15502 * combox.h: small cleanup
15504 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15505 to inlines after class def.
15507 * buffer.C (pop_tag): use string operations instead of strcmp
15509 * bmtable.c: doxygen, small cleanup
15511 * LaTeX.h: remove friend operator==
15513 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15525 * BufferView_pimpl.C:
15526 * BufferView.[Ch]: remove cruft
15528 2001-02-14 Juergen Vigna <jug@sad.it>
15530 * lyxfunc.C: removed #if 0 unused code
15532 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15534 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15536 * text2.C (SetSelection): added a BufferView * parameter
15538 2001-02-13 Juergen Vigna <jug@sad.it>
15540 * lyxfunc.C (Dispatch): fixed protected blank problem.
15541 * BufferView2.C (protectedBlank): added LyxText * parameter.
15543 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15544 (AppendColumn): same as above for column_info.
15546 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15547 (moveCursorUpdate): use a LyXText param for support of InsetText.
15549 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15550 (tripleClick): ditto
15552 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15554 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15556 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15558 * text2.C (SetSelection): set correct update status if inset_owner
15559 (ToggleFree): ditto
15561 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15563 * tabular.C: remove some commented code.
15565 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15567 * BufferView_pimpl.C: call hideSplash()
15569 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15572 * bibforms.h: remove
15575 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15576 add LFUN_CHILD_CREATE
15578 * counters.h: fix tiny typo
15583 * lyx.C: move splash to frontends/xforms/
15585 * lyx_gui_misc.C: move Include and Bibform to frontends
15587 * lyxvc.h: clarify comment
15589 * vspace.C: tiny housekeeping
15591 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15593 * text.C (PrepareToPrint): RTL Fix.
15595 * paragraph.C (GetUChar): New method.
15596 (String): Use GetUChar.
15598 * buffer.C (asciiParagraph): Use GetUChar.
15600 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15602 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15604 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15607 * buffer.C: rename to getLogName(), handle
15608 build log / latex log nicely
15610 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * MenuBackend.h: remove support for reference menuitem type.
15615 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15617 * BufferView_pimpl.C: housekeeping
15618 * BufferView_pimpl.h:
15623 * minibuffer.h: move Timeout GUI-I
15625 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15627 * lyxrc.C (read): Update converters data-structures.
15629 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15631 * LaTeX.h (operator!=): add operator != for Aux_Info
15633 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15635 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15637 * LaTeXLog.C: deleted, useful code moved to Buffer
15640 * buffer.C: new function getLatexLogName()
15646 * lyxfunc.C: use frontends for LaTeX and VC logs
15648 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15650 * LaTeX.h: yet another std:: that Allan forgot.
15652 * Variables.C (set): renamed from isset(), because this clashes
15653 with some HP-UX macros (grr).
15655 2001-02-06 Allan Rae <rae@lyx.org>
15657 * LaTeX.h: Another bug fix. Missing std:: this time.
15659 2001-02-04 Allan Rae <rae@lyx.org>
15661 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15662 floats problem. I've left it commented out because it's not quite
15663 correct. It should also test that the current object is a table or
15664 figure inset. But I haven't gotten around to figuring out how to do
15665 that. I *think* it'll be something like: "table" == inset.type()
15667 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15670 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15672 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15673 all the citation/databases/styles in the auxilary file.
15674 (run): Rerun latex if there was a babel language error.
15676 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15678 * text.C (Backspace): Preserve the font when changing newline char
15680 (BreakParagraph): If the cursor is before a space, delete the space.
15682 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15684 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15686 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15687 new argument (code).
15688 (ChangeCitationsIfUnique): New method.
15690 * paragraph.C (GetPositionOfInset): Handle bibkey.
15692 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * BufferView_pimpl.h: change type of Position::par_pos to
15695 LyXParagraph::size_type.
15697 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15699 * BufferView_pimpl.C (savePosition, restorePosition): Write
15700 messages to minibuffer.
15702 2001-01-28 José Matos <jamatos@fep.up.pt>
15704 * buffer.C (makeDocBookFile): adds support for document language.
15705 A silly restriction on the name of LatexCommand types where removed.
15706 Added support for CDATA sections, allows to chars unescaped, used
15707 among others in code, to avoid escape < and >.
15709 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15711 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15712 saved positions instrad of a stack. Furthermore, a position is
15713 stored using paragraph id/paragraph position.
15715 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15716 Remove LFUN_REF_BACK.
15718 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15720 * converter.C (dvipdfm_options): New method.
15722 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15724 * vspace.C (isValidLength): Fix for empty input string.
15726 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15728 * LyXAction.C (init): change description of LFUN_FIGURE to
15731 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15733 * LaTeX.C: add using directive
15735 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15737 * MenuBackend.C (expand): Fix the sorting of the formats.
15739 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15741 * lyx_main.C: tiny error message fix
15743 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15745 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15746 calling fl_initialize(). This fixes the problem with ',' as
15747 decimal separator in text files.
15749 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15751 * trans.C (process): Fix the keymap bug.
15753 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15755 * LaTeX.C (scanAuxFiles): New method. Provides support for
15756 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15757 (scanLogFile) Scan for "run BibTeX" messages.
15759 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15760 OT1 font encoding. Also, load the aecompl package if the ae
15763 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15765 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15767 * texrow.C (increasePos): turn two error messages into debug
15770 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15772 * LaTeX.C (scanAux): Handle the \@input macro.
15773 (runBibTeX): Use scanAux().
15775 * language.C (latex_options_): New field.
15777 * LaTeXFeatures.C (getMacros): Add language macros.
15779 * buffer.C (makeLaTeXFile): Small fix.
15781 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15783 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15785 * text2.C: add a using directive.
15787 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15792 * lyxfunc.C: kill LyXBell.
15794 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15796 * text.C (IsBoundary): Remove the error message
15798 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15800 * lyxrc.C (setDefaults): Correct initialization value for
15803 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15805 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15808 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15809 and GotoNextNote().
15811 * src/LyXAction.C: Added reference-next.
15813 * text.C (InsertChar): Use contains instead of strchr.
15815 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15817 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15819 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15820 alignment commands (when needed).
15822 * text.C (InsertChar): Add ':' to number separator chars.