1 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * kbsequence.C (print): use UI native formatting for menu
6 * text.C (insertChar): call Paragraph::insertChar with a font
9 * paragraph.C (insertInset, insertChar): the version that takes a
10 LyXFont argument is now a wrapper around the other one (the
11 opposite used to be true).
13 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
14 argument. Font setting is done in Paragraph now.
16 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * outputparams.h: add new members intitle and lang.
20 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
21 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
23 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
25 * text3.C (dispatch): remove special handling of button 4 and 5,
26 it is now taken care of in the frontend code.
28 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * Spacing.h: add <string> (STLPort compile fix)
32 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
34 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
36 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
38 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
41 * converter.C (showMessage): inherit from unary_function, make
44 * buffer.C (writeFile): initialize retval
46 * InsetList.h: rename private variable list to list_
47 * InsetList.[Ch]: adjust accordingly.
49 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
51 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
52 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
53 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
54 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
55 * ParagraphParameters.C, LaTeXFeatures.C: replace
56 "support/std_sstream.h" with <sstream>
58 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
60 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
61 * lyxsocket.C (LyXServerSocket): ditto
62 (serverCallback): ditto
64 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
66 * LaTeXFeatures.C: check release date when loading jurabib.
68 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * lyxserver.C (startPipe): call register_socket_callback
71 (endPipe): call unregister_socket_callback
73 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
75 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
76 (LyXServerSocket): register the callback
77 (LyXServerSocket): unregister the callback
79 (serverCallback): improve error checking and setup the callbacks.
80 (dataCallback): change arg to fd.
81 (writeln): new func (copied fro the client socket) used for server
83 (LyXDataSocket): simplify
84 (~LyXDataSocket): close ann unregiser callback
85 (server): delete function
87 (readln): small changes, improve some std::string usage
88 (writeln): constify a bit
90 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
95 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * BufferView_pimpl.C (setBuffer): set the layout combox value only
98 after it has been populated
100 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * text2.C (insertInset): move cursor when inserting inset.
104 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * kbmap.C (findbindings): a couple of new methods. returns a
107 container of kb_sequence objects. The real work is done by the
108 private recursive version
109 (printbindings): uses findbindings to print out a bracketed list
110 of bindings (renamed from findbinding).
112 * MenuBackend.C (binding): use kb_keymap::findbindings
114 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
116 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
120 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * paragraph.C (isWord): return true on insets that report
125 * text.C (getWord): use Paragraph::isWord to decide what is in a
126 word and what is not; fix bug 1609.
128 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * tex-strings.C: add "none" to string_paperpackages[], fixes
131 off-by-one-error in the paperpackage selection.
134 * tex-strings.[Ch]: char const * string[n]
135 -> char const * const string[]
137 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
140 command, return early.
142 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
144 * debug.h: add DEBUG to enum and fix size of ANY.
146 * debug.C: add support for Debug::DEBUG
147 (showTags): cast errorTags.level to unsigned int
149 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
150 (redoCurrentBuffer): ditto
151 (updateScrollbar): ditto
152 * cursor.C (dispatch): ditto
153 * text2.C (setLayout): ditto
155 (updateCounters): ditto
157 (deleteEmptyParagraphMechanism): ditto
159 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
161 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
162 annotations to cleanup the Makefile slightly.
164 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * lyxrc.C: do not set user_email to a default value but use empty
167 instead. The entry used to be translated, which does not work
168 since at the point where lyxrc is constructed there is no
169 translation service available
171 * messages.C (getLocaleDir): remove and use directly
172 lyx_localedir() instead
174 2004-06-02 Angus Leeming <leeming@lyx.org>
176 Fix crash caused by dereferencing null pointer 'exportdata' in
177 OutputParams by creating a new ExportData variable on the heap,
178 storing it in a boost::shared_ptr.
179 The crash was triggered when generating an Instant Preview
180 of an external inset.
182 * Makefile.am: add outputparams.C
184 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
185 (c-tor): allocate memory to it.
187 * exporter.C (c-tor): associated changes.
189 2004-06-01 Angus Leeming <leeming@lyx.org>
191 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
192 contains data before calling isInset(0). (Bug 1513.)
194 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * exporter.C (checkOverwrite): new method
197 * exporter.C (copyFile): new method
198 * exporter.C (Export): copy referenced files to the document dir
199 * exporter.[Ch]: new class ExportedFile
200 * exporter.[Ch]: new class ExportData. Contains currently the
201 names of referenced external files
202 * outputparams.h: add exportdata member.
204 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
206 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
209 2004-05-19 Angus Leeming <leeming@lyx.org>
214 * lyxfunc.C: small changes due to the introduction of namespace
215 lyx::frontend and the moving of namespace biblio to lyx::biblio.
217 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
219 * text3.C (dispatch): supress update when only moving the cursor
220 * cursor.C (selHandle): remove commented code
222 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
224 * paragraph.C (startTeXParParams): correct column count
225 * CutAndPaste.C (pasteSelection): remove const_cast
226 * output_docbook.C (docbookParagraphs): remove const_cast
227 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
228 const_cast and return ParagraphList::const_iterator
229 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
230 * output_plaintext.C (writeFileAscii): remove const_cast
231 * paragraph.[Ch] (simpleTeXOnePar): make const
232 * paragraph_funcs.C (outerPar): use const iterators
233 * paragraph_pimpl.C (validate): use const iterators
234 * text.C (setHeightOfRow): use const iterators
236 2004-05-17 Angus Leeming <leeming@lyx.org>
239 * LyXAction.C (init): new LFUN_INSET_REFRESH.
241 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
242 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
243 if the citation engine has changed.
245 2004-05-14 José Matos <jamatos@lyx.org>
247 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
248 if the textclass does not provide it. Have it different for sgml and
250 support the language of document.
251 * output_docbook.C (docbookParagraphs):
252 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
253 first anchor as the id of the paragraph, remove special case code.
254 * sgml.C (escapeChar): escape only < & >.
256 2004-05-14 Angus Leeming <leeming@lyx.org>
258 * bufferparams.h: move biblio::CiteEngine enum here to minimize
259 dependencies on src/frontends/controllers/biblio.h. Define a
260 CiteEngine_enum wrapper class to enable the enum to be forward
263 2004-05-12 Angus Leeming <leeming@lyx.org>
265 * buffer.C: up LYX_FORMAT to 234.
266 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
267 use_numerical_citations with a single biblio::CiteEngine cite_engine
269 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
271 2004-05-13 José Matos <jamatos@lyx.org>
274 * converter.C (Converter, readFlags): add xml member.
275 * outputparams.h: add XML flavor.
276 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
278 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * lyxfunc.C (dispatch):
281 (getStatus): fix handling of LFUN_SEQUENCE
283 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * debug.C (showLevel): do not forget the end-of-line marker
287 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * kbmap.C (read): do not stop parsing a bind file when an error
292 2004-04-29 Angus Leeming <leeming@lyx.org>
297 * text2.C: wrap a bunch of #warning statements
298 inside #ifdef WITH_WARNINGS blocks.
300 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
302 * buffer.C: increment format to 233.
304 2004-04-28 Angus Leeming <leeming@lyx.org>
306 * BufferView_pimpl.C:
309 s/updateToolbar()/updateToolbars()/
310 s/Toolbar.h/Toolbars.h/
312 2004-04-28 Angus Leeming <leeming@lyx.org>
314 * BufferView.[Ch] (c-tor):
315 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
316 No longer passes these data to the WorkArea generator.
318 2004-04-28 Angus Leeming <leeming@lyx.org>
320 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
322 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
324 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
326 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * output_latex.C (TeXEnvironment): make sure that there is a line
329 break before \end{foo} for the last paragraph of a document
330 (TeXOnePar): if the paragraph is at the end of the document (or
331 inset) and the language has to be reset, then make sure that the
332 line break is _before_ the language command, not after (fixes bug
333 1225); also make sure that the language reset command is the first
334 thing after the paragraph (to ensure proper nesting of
335 environments and thus fix bug 1404)
337 2004-04-21 John Levon <levon@movementarian.org>
340 * ToolbarBackend.C: make "name" be a programmatic name
341 and a gui_name field.
343 * lyxfunc.C: display the minibuffer on M-x
345 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
350 2004-04-19 Angus Leeming <leeming@lyx.org>
352 * BufferView_pimpl.C (setBuffer): changed preview interface.
354 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
357 2004-04-19 John Levon <levon@movementarian.org>
359 * BufferView_pimpl.C:
360 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
362 2004-04-05 Angus Leeming <leeming@lyx.org>
364 * text.C (redoParagraphs): add call to updateCounters(), thereby
365 fixing the missing "Figure #:" label from the caption of a
368 2004-04-13 Angus Leeming <leeming@lyx.org>
370 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
371 cursor is clicked out of an inset.
373 2004-04-13 Angus Leeming <leeming@lyx.org>
375 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
376 than an InsetOld one.
378 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
380 * format.[Ch]: add editor to Format
381 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
382 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
384 2004-04-08 André Pönitz <poenitz@gmx.net>
386 * metricsinfo.h: remove PainterInfo::width member
388 2004-04-08 Angus Leeming <leeming@lyx.org>
390 * lyx_sty.C (boldsymbol_def): modify so that it outputs
391 "\providecommand" rather than "\newcommand", thereby preventing
392 clashes with packages that define "\boldsymbol" themselves.
395 2004-04-08 Angus Leeming <leeming@lyx.org>
397 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
398 thereby squashing an unnecessary warning.
400 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
405 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
407 * BufferView.C (setCursor): call redoParagraph (some insets could
409 (putSelectionAt): remove the 'double update' trick
411 * BufferView_pimpl.C (fitCursor): call refreshPar
412 (workAreaDispatch): remove an uneeded update call
413 (dispatch): remove some manual update calls
415 * cursor.[Ch]: remove cached_y_, updatePos
416 (selHandle): set noUpdate when appropriate
418 * lyxfunc.C (dispatch): track if we need an update
420 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
422 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
423 (paintSelection): cheap optimization, do not call cursorX when not
425 (paintPars): change signature
428 (paintTextInset): adjust
432 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * lengthcommon.C: compilation fix: remove explicit array size from
435 unit_name[] and friends
437 2004-04-05 Angus Leeming <leeming@lyx.org>
439 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
441 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
442 present only for the preferences dialog.
443 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
445 2004-04-05 Angus Leeming <leeming@lyx.org>
447 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
448 to enable the frontends to export changes to lyxrc correctly.
450 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
452 2004-04-07 André Pönitz <poenitz@gmx.net>
454 * cursor.[Ch] (selClear, adjust): remove math
456 * cursor_slice.C: more agressive assert
459 * BufferView_pimpl.C: rework mouse event dispatch
466 2004-04-05 André Pönitz <poenitz@gmx.net>
468 * cursor.[Ch] (valign, halign...): remove unneeded functions
470 2004-04-05 Angus Leeming <leeming@lyx.org>
472 * lyxlength.[Ch] (unit_name et al.): const-correct.
474 2004-04-05 Angus Leeming <leeming@lyx.org>
476 * BufferView_pimpl.C:
485 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
487 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
489 * text3.C (getStatus): add LFUN_BEGINNINGBUF
491 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
493 * lyxfind.C: add a couple of inTexted() tests + other small fixes
494 * BufferView_pimpl.[Ch] (getStatus)
495 * BufferView.[Ch] (getStatus): add
496 * lyxfunc.C (getStatus): move lfuns handled in
497 BufferView::dispatch to te function above
498 * Cursor.C (setSelection): set selection() = true
500 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
502 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
504 2004-03-31 Angus Leeming <leeming@lyx.org>
506 * lyxfunc.C (dispatch): Fall through to the generic
507 Dialogs::show("preamble").
509 2004-03-31 Angus Leeming <leeming@lyx.org>
511 * lyxfunc.C (dispatch): Fall through to the generic
512 Dialogs::show("spellchecker").
514 2004-03-31 Angus Leeming <leeming@lyx.org>
516 * lyxfunc.C (getStatus, dispatch): changed invocation of the
519 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
524 * insetiterator.[Ch]:
529 * undo.[Ch]: s/DocumentIterator/DocIterator/g
531 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
533 * BufferView.C (setCursor, putSelectionAt): call edit to open the
534 insets where we are putting the cursor.
536 2004-03-31 Angus Leeming <leeming@lyx.org>
539 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
541 * lyxrc.[Ch] (read, write): overloaded member functions taking
542 a std::[io]stream arguments.
544 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
546 2004-03-31 Angus Leeming <leeming@lyx.org>
548 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
549 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
551 * lyxtextclass.C (load): if the text class couldn't be loaded, then
552 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
554 2004-03-31 Angus Leeming <leeming@lyx.org>
556 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
557 the LFUN_ALL_INSETS_TOGGLE code.
559 2004-03-30 Angus Leeming <leeming@lyx.org>
561 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
562 has died. Fall through to the generic Dialogs::show("document").
564 2004-03-30 Angus Leeming <leeming@lyx.org>
567 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
568 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
570 * lyxfunc.C (getStatus, dispatch): define the actions for these
571 lfuns. Little more than a cut and pste job from ControlDocument.C
573 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
575 2004-03-30 Angus Leeming <leeming@lyx.org>
578 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
579 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
581 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
582 open/closed state of ollapsable insets. Usage:
584 all-inset-toggle <state> <name>, where
585 <state> == "open" || "closed" || "toggle" and
586 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
588 * lyxtext.h, text2.C (toggleInset): removed.
590 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
591 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
592 now passes LFUN_INSET_TOGGLE to the found inset.
594 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
595 is now invoked as "all-insets-toggle toggle branch".
597 2004-03-30 Angus Leeming <leeming@lyx.org>
601 * pariterator.[Ch]: added/corrected header blurb.
603 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
605 * dociterator.[Ch]: add an inset_ member
606 (backwardPos): implemented
607 (backwardPos, forwardPos): use inset_ when the stack is empty.
608 (doc_iterator_begin, doc_iterator_end): implemented
609 * pariterator.[Ch]: adjust, add begin, end
610 * insetiterator.[Ch]: adjust, add begin, end
614 * BufferView_pimpl.C:
615 * CutAndPaste.C: adjust
617 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
619 * buffer.C: increment file format to 232.
620 * LaTeXFeatures.C: add bibtopic package.
621 * bufferparams.[Ch]: param \use_bibtopic.
623 * lyxrc.[Ch]: add lyxrc bibtex_command
624 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
626 * buffer.C: increment file format to 231.
628 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
630 * dociterator.C: implement forwardPar
631 * iterators.[Ch]: remove, replaced by
632 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
634 * BufferView_pimpl.C:
637 * bufferview_funcs.C:
643 * Makefile.am: adjust
645 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
647 * CutAndPaste.C (pasteSelection): fix 2 crashes
648 (eraseSelection): fix a crash
649 * paragraph_funcs.C: remove a warning
651 2004-03-28 Angus Leeming <leeming@lyx.org>
654 * LyXAction.C (init): new LFUN_PRINT.
656 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
658 2004-03-27 Angus Leeming <leeming@lyx.org>
661 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
663 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
665 2004-03-27 Angus Leeming <leeming@lyx.org>
667 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
668 insetlist always contains non-null pointers to insets.
670 2004-03-26 Angus Leeming <leeming@lyx.org>
672 * src/BufferView_pimpl.C:
676 * src/output_plaintext.C:
677 * src/outputparams.h:
678 * src/paragraph_funcs.C:
682 * src/frontends/controllers/ControlErrorList.C:
683 * src/frontends/gtk/FileDialogPrivate.C:
684 * src/frontends/gtk/GPainter.C:
685 * src/frontends/gtk/GToolbar.C:
686 * src/frontends/qt2/QRef.C:
687 * src/mathed/math_scriptinset.C: squash compiler warnings.
689 2004-03-26 Angus Leeming <leeming@lyx.org>
691 * ispell.C (LaunchIspell::start):
692 * lyx_cb.C (AutoSaveBuffer::start):
693 invoke run(DontWait) rather than runNonBlocking().
695 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
697 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
699 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * kbsequence.C (print): adjust
703 * kbmap.C (printKeySym): rename and change signature
704 (printKey): use LyXKeySym::print()
706 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
708 * undo.C: add using std::advance to compile for stlport
710 2004-03-24 Angus Leeming <leeming@lyx.org>
712 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
713 it leads to a crash when no buffer is present.
715 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
716 Martin Vermeer <martin.vermeer@hut.fi>
718 * lyxfunc.C (dispatch):
719 * bufferparams.C (readToken): use the new LColor::setColor
721 * LColor.[Ch] (setColor): new version that takes two strings as
722 argument and creates a new color entry if necessary
724 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
726 * buffer.C (makeLaTeXFile): if the main latex file that is
727 processed is usually a subdocument of some master, then pretend
728 for a while that it is actually the master
730 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
732 * buffer.C (getLabelList):
733 (getBibkeyList): use getMasterBuffer()
734 (getMasterBuffer): new method. Returns the main document in the
735 case where one is using included documents.
737 2004-03-25 André Pönitz <poenitz@gmx.net>
741 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
743 * ParagraphList_fwd.h: change ParagraphList to a std::vector
745 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
746 text*.C over here. Rename namespace CutAndPaste to lyx::cap
748 * ParameterStruct.h: merge with ParagraphParameters
750 * lyxtext.h: remove LyXText::parOffset() and getPar()
752 * text3.C: Remove all 'manual' update calls. We do now one per user
753 interaction which is completely sufficient.
757 * BufferView_pimpl.C:
760 * ParagraphParameters.[Ch]:
772 * output_docbook.[Ch]:
774 * output_linuxdoc.[Ch]:
775 * output_plaintext.[Ch]:
777 * paragraph_funcs.[Ch]:
778 * paragraph_pimpl.[Ch]:
786 * frontends/controllers/ControlDocument.C:
787 * frontends/controllers/ControlErrorList.C:
788 * frontends/controllers/ControlSpellchecker.C:
791 * insets/insetbase.h:
792 * insets/insetbibitem.C:
794 * insets/insetbranch.C:
795 * insets/insetcaption.C:
796 * insets/insetcharstyle.C:
797 * insets/insetcharstyle.h:
798 * insets/insetcollapsable.C:
799 * insets/insetcollapsable.h:
801 * insets/insetfloat.C:
802 * insets/insetfoot.C:
803 * insets/insetmarginal.C:
804 * insets/insetnote.C:
805 * insets/insetoptarg.C:
806 * insets/insettabular.C:
807 * insets/insettext.C:
808 * insets/insettext.h:
809 * insets/insetwrap.C:
810 * mathed/math_mboxinset.C:
811 * mathed/math_nestinset.C:
812 * mathed/math_scriptinset.C:
813 * mathed/math_scriptinset.h:
816 2004-03-24 Angus Leeming <leeming@lyx.org>
818 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
819 deal with any child processes that have finished but are waiting to
820 communicate this fact to the rest of LyX.
822 2004-03-24 Angus Leeming <leeming@lyx.org>
824 64-bit compile fixes.
826 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
827 (c-tor): pass lyx::pos_types rather than ints.
829 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
832 * text.C (Delete): compile fix.
833 (getPar): ensure that function declaration is the same as that in
836 2004-03-23 Angus Leeming <leeming@lyx.org>
838 * ispell.C (LaunchIspell):
839 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
840 a boost::shred_ptr rather than a std::auto_ptr.
842 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * lyxfunc.C (getStatus): handle read-only buffers correctly;
845 handle LFUN_FILE_INSERT_*
847 * lyxrc.C (setDefaults, getDescription, output, read):
848 * lyxrc.h: remove ps_command
850 2004-03-22 Angus Leeming <leeming@lyx.org>
852 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
853 Ensure that error_handler is processed once only and that all data
854 is saved before attempting to output any warning messages.
856 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
858 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
860 * tabular.C (TeXRow): crash fix (from Kayvan and André)
862 2004-03-19 André Pönitz <poenitz@gmx.net>
864 * cursor.[Ch] (reset): take main text inset as argument
867 * BufferView_pimpl.C: adjust
869 * paragraph.[Ch]: fix completely broken operator=()
871 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * LColor.C (getFromLyXName): make sure that the color name is used
876 2004-03-17 Angus Leeming <leeming@lyx.org>
879 * LyXAction.C (init): remove LFUN_FORKS_KILL.
881 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
882 dialog and to kill a forked process.
884 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
886 * text2.C (setCursorFromCoordinates): fix font problem
888 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
890 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
891 bogus "rebuild cursor" code
893 2004-03-11 André Pönitz <poenitz@gmx.net>
895 * buffer.[Ch]: use InsetText instead of LyXText as container for
898 * dociterator.[Ch]: drop the BufferView * member which is not needed
899 anymore after the change to buffer.C
905 * BufferView_pimpl.[Ch]:
907 * cursor_slice.[Ch]: adjust
909 * text3.C: fix bug in mathDispatch
911 2004-03-08 André Pönitz <poenitz@gmx.net>
913 * undo.[Ch]: use 'StableDocumentIterator' as base for
916 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
919 * bufferparams.[Ch]: add jurabib support and param.
921 * LaTeX.C: add FIXME/comment.
923 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
925 * buffer.C: increment file format to 230.
927 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
929 * cursor.C (dispatch): avoid infinite loops
931 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
933 * rowpainter.C (paintSelection): fix x coordinates
935 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
937 * text.C (rowBreakPoint): fix breaking before displayed insets
939 2004-03-01 André Pönitz <poenitz@gmx.net>
941 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
943 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
947 * BufferView_pimpl.C:
955 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
961 * BufferView_pimpl.C: rename textwidth -> maxwidth,
962 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
964 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
966 * Bidi.[Ch] (computeTables): const correctness
967 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
968 fill_hfill, fill_label_hfill and x from Row
969 * lyxtext.h: prepareToPrint returns a RowMetrics
970 * rowPainter.C: adjust
971 * text.C (prepareToPrint): use width, not textWidth. adjust
972 (redoParagraphInternal, cursorX): adjust
973 * text2.C (getColumnNearX): adjust
974 (init): put a default value to the top LyXText::width
976 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
978 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
980 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
982 * lyxtext.h: add FontIterator class
984 * text.C (FontIterator, operator*, operator->, operator++): add
985 (rowBreakPoint, setRowWidth): adjust (fixing a
988 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * BufferView_pimpl.C (workAreaDispatch): allow also
991 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
993 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
995 * text.C (rowBreakPoint): fix a bug showing with very large insets
997 2004-02-25 André Pönitz <poenitz@gmx.net>
1000 * cursor.[Ch]: move some mathed specific code to mathed
1002 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1004 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1005 use_tempdir in preferences
1006 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1008 * lyx_main.C: ensure that tempdir is valid
1009 * lyxlex.h: correct typo
1010 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1011 * paragraph.[Ch] (isMultiLingual): make const
1012 * cursor.[Ch] (openable): make const
1014 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1016 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1018 2004-02-20 André Pönitz <poenitz@gmx.net>
1020 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1022 * cursor.[Ch]: prepare for localized getStatus()
1028 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1030 2004-02-20 André Pönitz <poenitz@gmx.net>
1032 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1034 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1036 * text2.C (setCursorFromCoordinates): switch to absolute coords
1038 (cursorDown): adjust
1039 * text3.C (dispatch): adjust
1041 2004-02-16 André Pönitz <poenitz@gmx.net>
1043 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1046 * cursor_slice.[Ch]: remove unneeded acessor function
1048 * lyxtext.h: rename rtl() to isRTL()
1056 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1058 * rowpainter.C (paintSelection): coord fix
1060 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1062 * Spacing.C: compile fix
1064 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1066 * cursor.C (dispatch): restore current_ before returning
1068 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1070 * text2.C (cursorUp, cursorDown): fix coords
1073 2004-02-12 André Pönitz <poenitz@gmx.net>
1078 * text3.C: add LCursor & parameter to most cursor movement functions
1079 remove usage of LyXText::cursorRow() and cursorPar()
1081 * cursor.[Ch]: add textRow() needed members
1084 * BufferView_pimpl.C:
1087 * BufferView_pimpl.C: adjust
1089 2004-02-11 André Pönitz <poenitz@gmx.net>
1093 * BufferView_pimpl.C: shift undo/redo handling
1095 * cursor.[Ch]: fix mathed crash
1098 * lyxtext.h: move selectionAsText to LCursor
1106 * rowpainter.C: fix excessive drawing
1108 2004-02-06 André Pönitz <poenitz@gmx.net>
1111 * BufferView_pimpl.[Ch]:
1112 * text3.C: move some text specific LFUN handling
1114 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1116 * text3.C (checkInsetHit): adjust coords
1117 * text2.C (getColumnNearX): adjust coords
1118 (edit): adjust coords
1119 * text.C (getRowNearY): add two asserts
1121 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1124 * format.C: add using std::distance to compile on gcc 2.95/stlport
1126 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1128 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1130 2004-02-04 André Pönitz <poenitz@gmx.net>
1132 * BufferView.[Ch] (insertInset):
1133 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1138 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1140 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1141 on the default clause of the switch
1142 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1143 wasn't catched by LCursor::dispatch
1145 2004-02-03 André Pönitz <poenitz@gmx.net>
1148 * cursor.[Ch]: some additional asserts
1150 * undo.[Ch]: remove LyXText dependency in interface
1154 * lyxtext.h (firstPar, lastPar): remove dead functions
1159 * paragraph.[Ch]: adjust
1161 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1163 * lyxfind.C (find): fix argument order in call to ::find
1165 2004-02-02 André Pönitz <poenitz@gmx.net>
1167 * cursor.[Ch]: remove direct access to anchor
1169 * text.C: remove findText() hack
1171 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1173 * iterators.[Ch] (lockPath): remove in favour of...
1174 * BufferView.[Ch] (setCursor): this addition
1175 * BufferView.C (putSelectionAt): adjust
1176 * undo.C (performUndoOrRedo): adjust
1177 * lyxfunc.C (dispatch): adjust
1179 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1181 * iterators.C (lockPath): add a missing slice
1182 * undo.C (performUndoOrRedo): remove redundant positioning code
1184 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1186 * vc-backend.C (scanMaster): ";" -> ';'
1188 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1190 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1191 std::binary_function
1193 * lyxtextclass.C (compare_name): rename to...
1194 (LayoutNamesEqual): ...this
1196 * lyxlex_pimpl.C (compare_tags): inherit from
1197 std::binary_function, put back into anon namespace
1199 * lyxfind.C (MatchString): inherig from std::binary_function
1200 (findChange): use empty() istead of !size()
1202 * format.C (FormatNamesEqual): new functor
1209 * converter.C (compare_Converter): rename to...
1210 (ConverterEqual): ...this, and fixup a bit.
1211 (getConverter): use it, and make function const
1212 (getNumber): use it, and make function const
1216 * bufferlist.C: add using boost::bind
1218 * MenuBackend.C (MenuNamesEqual): new functor
1219 (hasMenu): use it, and make function const
1220 (hasSubmenu): use nested bind to get rid of compare_memfun.
1222 2004-01-30 André Pönitz <poenitz@gmx.net>
1224 * BufferView_pimpl.C:
1227 * cursor_slice.[Ch]:
1230 * paragraph_funcs.C:
1231 * paragraph_funcs.h:
1235 * text3.C: move some of the edit(x,y) handling to the insets
1236 some coordinate changes.
1238 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1240 * text.C: add using statements for std::advance and std::distance
1242 * paragraph.C: add using statement for std::distance
1244 * lyxfind.C: add using statement for std::advance
1246 * cursor.C (region): remove std:: from swap
1247 (openable): use nucleus in stead of operator->
1249 * BufferView.C: add using statements for std::distance and std::swap
1251 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1253 * iterators.C: Remove the pimple, move the needed structures to
1254 the header file. Create accessor for the positions stack.
1255 (asPosIterator): remove function
1257 * PosIterator.C (PosIterator): move constructors to top of file
1258 (PosIterator): reimplement the constructor taking a ParIterator in
1260 (setFrom): new function
1261 (operator!=): inline it
1263 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1265 * lyxfind.C (replaceAll): use std::advance
1267 * iterators.h: inherit from std::iterator.
1269 * PosIterator.C (advance, distance): remove
1270 * PosIterator.h: interit from std::iterator.
1272 2004-01-26 André Pönitz <poenitz@gmx.net>
1275 * BufferView_pimpl.[Ch]:
1279 * bufferview_funcs.C:
1289 * output_linuxdoc.C:
1290 * output_plaintext.C:
1292 * paragraph_funcs.[Ch]:
1293 * paragraph_pimpl.[Ch]:
1299 * text3.C: more IU: dumps most of the rest of the mathcursor
1300 implementation into cursor.[Ch]; "globalize" a bit of it.
1302 2004-01-25 Angus Leeming <leeming@lyx.org>
1304 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1306 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1308 * LaTeXFeatures.h: add nice_ and nice() const
1309 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1311 2004-01-20 André Pönitz <poenitz@gmx.net>
1314 * BufferView_pimpl.C:
1316 * bufferview_funcs.C:
1318 * cursor_slice.[Ch]:
1329 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1330 LCursor and mathcursor parts to LCursor and InsetBase.
1332 2004-01-15 André Pönitz <poenitz@gmx.net>
1334 * cursor_slice.[Ch]: add a few covienience functions
1336 * funcrequest.[Ch]: remove BufferView * member
1338 * BufferView_pimpl.C:
1345 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1347 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1349 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1350 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1352 2004-01-13 André Pönitz <poenitz@gmx.net>
1355 * lyxtext.h: hide cursor and selection anchor behind accessor function
1358 * BufferView_pimpl.[Ch]:
1360 * bufferview_funcs.C:
1370 * cursor_slice.[Ch]: some integer type changes for inset unification
1372 * lyxcursor.[hC]: remove, it's CursorSlice now.
1375 * BufferView_pimpl.[Ch]:
1376 * bufferview_funcs.C:
1382 * textcursor.[Ch]: adjust
1384 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1386 * text2.C (undoSpan): add and use
1387 * text.C (breakParagraph): use undoSpan (fix bug 578)
1390 2004-01-08 Angus Leeming <leeming@lyx.org>
1392 * BufferView_pimpl.C (MenuInsertLyXFile):
1393 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1394 * lyxfunc.C (menuNew, open, doImport):
1395 FileFilterList change to the FileDialog open and save functions.
1397 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1399 * ShareContainer.h: make isEqual and isUnique adaptable
1401 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1403 2004-01-07 Angus Leeming <leeming@lyx.org>
1406 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1408 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1410 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1411 functions replacing find, replace and replaceAll.
1413 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1414 LFUN_WORDFIND(FORWARD|BACKWARD).
1416 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1418 * text.C (breakParagraph): remove an outdated #warning
1420 2004-01-07 André Pönitz <poenitz@gmx.net>
1422 * lyxfind.C: somewhat clearer logic
1424 * text.C: prevent crash in cursorX on unitialized row cache
1426 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1428 * lyxcursor.[Ch] (operator>): add
1429 * textcursor.C (selStart, selEnd): use std::min and std::max
1431 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1433 * Chktex.C: include boost/format.hpp
1435 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1437 * InsetList.C: replace functor MathcIt with adaptable functor
1439 (insetIterator): modify accordingly
1441 * BranchList.h: move the BranchNamesEqual functor here from...
1442 * BranchList.C: ... to here
1444 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1446 (add): replace a finding loop with std::find_if.
1448 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1450 * output_docbook.C: moving LatexParam functionality into
1453 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1455 * buffer.C: increment format to 229.
1457 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1460 * lyx_sty.[Ch]: remove minipageindent_def
1466 * text3.C: remove LFUN_INSET_MINIPAGE
1468 2003-12-28 Angus Leeming <leeming@lyx.org>
1470 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1472 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1474 * text2.C (setParagraph): fix off-by-one crash
1476 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1478 * output_docbook.C: header stuff for AGU
1480 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1482 * text2.C (redoCursor): remove
1485 * BufferView_pimpl.C: remove calls to redoCursor and
1486 setCursor(cursor.par(), cursor.pos()) all around
1488 2003-12-15 Angus Leeming <leeming@lyx.org>
1490 * buffer.C: up the format to 228.
1492 2003-12-15 André Pönitz <poenitz@gmx.net>
1494 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1499 * BufferView_pimpl.C:
1508 2003-12-15 Angus Leeming <leeming@lyx.org>
1510 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1511 than getFromGUIName to manipulate the color.
1513 2003-12-14 Angus Leeming <leeming@lyx.org>
1515 * BranchList.[Ch]: minimize the API.
1516 (Branch::getBranch, getColor): now return a 'const &'.
1517 (Branch::setSelected) now returns a bool set to true if the
1518 selection status changes.
1519 (BranchList::clear, size, getColor, setColor, setSelected,
1520 allBranches, allSelected, separator): removed.
1521 (BranchList::find): new functions, returning the Branch with
1523 (BranchList::add, remove): return a bool indicating that
1524 the operation was successful.
1526 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1527 new InsetBranch::isBranchSlected member function.
1529 * LColor.[Ch]: mimimize the API.
1530 (fill): renamed as addColor and made private.
1531 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1532 versions of these functions taking a string arg have been removed.
1534 * bufferparams.C (readToken):
1535 * lyxfunc.C (dispatch):
1536 * lyxrc.C (read): changes due to the altered BranchList and
1539 * factory.C (createInset, readInset): changes due to altered
1542 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1545 * lyxfunc.C: remove insetminipage. "minipage-insert"
1546 now produces a frameless minipage box inset.
1548 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1550 * textcursor.[Ch] (selStart,selEnd): add new methods
1551 remove selection::start, end, use LyXCursor::operator<
1552 * lyxcursor.[Ch] (operator<): add
1553 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1554 * BufferView.[Ch] (unsetXSel): add
1555 * text2.C (clearSelection): use unsetXSel,adjust
1558 * rowpainter.C: adjust
1559 * bufferview_funcs.C (put_selection_at): adjust
1561 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1563 * BufferView_pimpl.C: small coord. correction
1565 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1567 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1568 dragging over the splash screen.
1570 2003-12-11 Angus Leeming <leeming@lyx.org>
1572 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1573 as it is now handled in LyXText::dispatch.
1575 * text3.C (doInsertInset): remove a level of nesting.
1577 2003-12-11 Angus Leeming <leeming@lyx.org>
1579 * factory.C (createInset): changes due to the changed interface to
1580 InsetCommandMailer::string2params.
1582 2003-12-10 Angus Leeming <leeming@lyx.org>
1584 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1585 'dialog-show-new-inset <inset name>'
1587 2003-12-10 Angus Leeming <leeming@lyx.org>
1589 * buffer.C: up the format to 227.
1591 * factory.C: the box inset is now identified simply by 'Box'.
1593 2003-12-10 Angus Leeming <leeming@lyx.org>
1595 * buffer.C: up the format to 226.
1597 * factory.C: the note inset is now identified simply by 'Note'.
1599 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1601 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1602 when a pit is enough. Standarize a couple of loops.
1604 2003-12-05 Angus Leeming <leeming@lyx.org>
1606 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1607 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1608 data to the re-worked "log" dialog.
1610 2003-12-03 André Pönitz <poenitz@gmx.net>
1616 * paragraph_funcs.C:
1618 * text2.C: use Inset::getText instead of Inset::getParagraph
1620 2003-12-03 André Pönitz <poenitz@gmx.net>
1624 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1625 InsetText::read() as LyXText::read()
1627 2003-12-02 Angus Leeming <leeming@lyx.org>
1629 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1630 type. Add a comment in the implementation that the function uses
1631 the stream's bad() function rather than fail() as the std::streams
1634 2003-12-02 André Pönitz <poenitz@gmx.net>
1636 * lyxlex.[Ch]: make interface more similar to std::stream
1638 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1640 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1642 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1644 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1646 * vspace.[Ch]: remove VSpace::NONE
1648 2003-12-01 André Pönitz <poenitz@gmx.net>
1651 * lyxtext.h: move ParagraphList member to LyXText
1652 rename LyXText::ownerParagraphs to LyXText::paragraph
1655 * bufferview_funcs.C:
1665 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1667 * undo.C: fix cursor positioning
1669 2003-12-01 John Levon <levon@movementarian.org>
1671 * BufferView_pimpl.C: fix a crash on exit with
1674 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1676 * BranchList.C: fix setSelected() method.
1678 2003-11-28 André Pönitz <poenitz@gmx.net>
1680 * ParagraphParameters.[Ch]:
1681 * ParameterStruct.h: remove space above/below from Paragraph to
1684 * BufferView_pimpl.C:
1690 * paragraph_funcs.C:
1696 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1698 * factory.C: Syntax change for CharStyles
1700 2003-11-28 André Pönitz <poenitz@gmx.net>
1705 * buffer.[Ch]: move LyXText member
1707 2003-11-28 André Pönitz <poenitz@gmx.net>
1709 * BufferView.[Ch]: make LyXText * text a private member
1711 * BufferView_pimpl.C:
1722 * output_plaintext.C: cleanup
1724 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1727 * lyxtextclass.[Ch]: parametrize SGML document header
1729 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1732 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1735 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1737 * text2.C (setFont): rework using PosIterator (no more recursive)
1738 (setCharFont): no more needed
1739 (setLayout): no more selection cursors fiddling (done by redoCursor)
1740 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1741 destroy remaining ones)
1743 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1745 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1747 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1750 * text3.C: adjust + re-allow multi par depth changes
1751 * textcursor.C: simplify a bit
1753 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1759 * src/output_docbook.C:
1760 * src/output_latex.C:
1765 * src/text2.C: Introducing a number of tags parametrizing various
1766 XML formats that we may want to support
1768 2003-11-25 André Pönitz <poenitz@gmx.net>
1770 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1772 * lyxtext.h (leftMargin/rightMargin): simplify interface
1779 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1781 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1782 master file to any child files. Fixes bug 546.
1784 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1786 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1788 2003-11-24 André Pönitz <poenitz@gmx.net>
1790 * rowpainter.C: simplification
1792 * text2.C (updateCounters): remove call to redoParagraph on
1793 changed labels as this is far too expensive.
1795 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1797 * converter.C (convert): fix a crash: this function gets
1798 called with buffer == 0 from importer code.
1800 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1802 * text3.C (cursorPrevious): make sure that we do not compare
1803 iterators form different containers.
1806 * rowpainter.C (paintSelection): make sure that we do not compare
1807 iterators from different containers.
1809 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1810 iterators from different ParagraphList containers.
1813 * text2.C (LyXText): change order of initialization slightly
1814 (operator=): new function. copy all variables except cache_par_
1815 (moveUp): make sure that we do not compare iterators from
1816 different ParagraphList constainers.
1819 * text.C (firstPar): new function
1820 (lastPar): new function
1821 (endPar): new function
1823 * lyxtext.h: move things around and group public functions, public
1824 variables, private functions, private variables
1826 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1828 * factory.C: change call to InsetERT constructor to avoid
1829 additional invocation of method status
1830 * text2.C (toggleInset): remove redundant update() call
1831 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1832 instead of a Bufferview pointer
1834 2003-11-21 André Pönitz <poenitz@gmx.net>
1836 * rowpainter.C: simplification
1838 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1840 * text3.C (dispatch): make possible to extend a word/row selection
1843 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1845 * lyxtext.h: x0_,y0_ -> xo_,yo_
1846 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1847 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1848 * rowpainter.C (paintRows): paint full paragraphs
1850 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1852 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1855 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1857 * lyxtext.h: add x0_, y0_
1858 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1859 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1861 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1863 * text2.C (setCursorIntern): move the x_target update here *
1864 * text3.C: change some bv() to true/false in calls to
1865 cursorUp/Down/Right/Left
1866 * cursor.C: use helper function.
1868 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1870 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1871 * paragraph_funcs.[Ch]: correct comment
1872 * rowpainter.C: do not paint selections away from bv->cursor()
1873 Fix a long standing selection painting bug.
1874 * text3.C: generalize mouse-selection code to LyXTexts other that
1876 * textcursor.C: do not use y coords if we can use par offsets
1878 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1880 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1881 cursor position after e.g. inset insert)
1883 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1885 * lyxfind.C (replace): adjust to locking removal + some
1888 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1890 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1893 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1896 * output_docbook.C: XML sanitation: new layout
1897 parameters InnerTag and CommandDepth
1899 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1901 * BufferView_pimpl.C:
1903 * text3.C: Fix the insertion and modification of button-style
1906 2003-11-13 André Pönitz <poenitz@gmx.net>
1908 * InsetList.[Ch]: remove deleteLyXText
1910 * paragraph.[Ch]: cache beginOfBody position
1915 * text3.C: remove superfluous update() calls
1919 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1921 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1922 * BufferView.C (fitLockedInsetCursor): remove
1923 * cursor.[Ch] (getDim): add
1924 * text.C (getRowNearY): add faster version
1925 * text3.C: remove some update calls
1927 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1939 * text3.C: The Character Style /XML short element patch.
1941 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1944 * factory.C: Small step to solving 'unable to insert some insets'
1947 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1949 * cursor.[Ch] (updatePos): new function for updating the y
1950 position of the tip inset
1951 * bufferview_funcs.C (put_selection_at):
1952 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1954 2003-11-11 André Pönitz <poenitz@gmx.net>
1956 * text.C: remove big comment on invalid Paragraph pointers as it is
1959 2003-11-11 André Pönitz <poenitz@gmx.net>
1961 * text_funcs.[Ch]: merge with ...
1969 * Makefile.am: remove text_funcs.[Ch]
1971 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1973 * cursor.C (getPos): return absolute cached y coord
1975 * BufferView_pimpl.C (fitCursor): new simplistic code
1976 (workAreaDispatch): add a fitCursor call
1978 2003-11-10 André Pönitz <poenitz@gmx.net>
1981 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1983 2003-11-10 André Pönitz <poenitz@gmx.net>
1985 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1986 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1987 indicate that the cursor needs to leave an inset
1989 * lyxtext.h: remove inset locking
1991 * cursor.[Ch]: re-implement functionality provided by inset locking
1994 * BufferView_pimpl.[Ch]:
1996 * bufferview_funcs.[Ch]:
2008 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2010 * PosIterator.[Ch]: replace the stack with a vector, add inset
2012 * iterators.[C]: adjust
2014 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2016 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2018 * paragraph_funcs.C (readParToken): put the correct id in the
2019 error item, not the id of the top paragraph
2021 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2023 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2024 * bufferview_funcs.C (put_selection_at): use the above
2026 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2028 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2030 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2032 * output_linuxdoc.h:
2033 * output_plaintext.h:
2035 * output_docbook.h: add #include statements
2037 2003-11-05 José Matos <jamatos@lyx.org>
2039 * output_docbook.[Ch]:
2040 * output_latex.[Ch]:
2041 * output_linuxdoc.[Ch]:
2042 * output_plaintext.[Ch]: New files for output formats.
2043 * output.[Ch]: New file for helper functions.
2046 * paragraph_funcs.[Ch]: output functions moved to new files.
2048 * outputparams.h: rename of latexrunparams.h
2056 * paragraph_funcs.[Ch]:
2057 * paragraph_pimpl.[Ch]:
2058 * tabular.[Ch]: rename ascii to plaintext
2059 and LatexRunParams to OutputParams.
2061 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2063 * iterators.[Ch] (text): require bv argument
2064 * undo.C (recordUndo):
2065 * lyxfunc.C (dispatch):
2066 * bufferview_funcs.C (put_selection_at): adjust
2068 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2070 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2072 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2074 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2077 2003-11-04 André Pönitz <poenitz@gmx.net>
2079 * cursor.[Ch]: restructure
2082 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2084 * iterators.[Ch] (asCursor): remove
2086 * lfuns.h: remove LFUN_INSET_EDIT
2092 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2094 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2096 * lyxfind.[Ch]: complete overhaul
2097 * BufferView_pimpl.C:
2099 * paragraph.[Ch] (insert): add
2101 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2105 * text.C: remove dead spellcheck code
2107 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * dispatchresult.h: add a val setter
2111 * cursor.C (dispatch): use a tempvar for data_[i]
2113 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2115 * PosIterator.[Ch]: compile fix
2117 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2119 * text.C (cursorPar): deactivate the cursor cache
2121 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2123 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2125 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * text3.C (dispatch): adjust for new DisptchResult semantics.
2129 * lyxfunc.C (dispatch): handle update when return from
2130 Cursor::dispatch, adjust for new DispatchResult semantics.
2132 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2133 DispatchResult(true) mean to not update. Add class functions for
2134 setting dispatched and update, as well as reading.
2136 * cursor.C (dispatch): don't handle update here
2138 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2141 * trans_mgr.C: adjust
2143 * paragraph_funcs.C (readParToken): exception safety
2145 * lyxvc.h: store the vcs pointer in a scoped_ptr
2148 * lyxsocket.C (serverCallback): exception safety
2150 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2152 * ispell.C (clone): make it return a auto_ptr
2154 * factory.C (createInset): exception safety
2155 (readInset): exception safety
2157 * bufferlist.C (newBuffer): exception safety
2159 * Thesaurus.C (Thesaurus): use initialization for aik_
2161 * MenuBackend.C (expandToc): exception safety.
2163 2003-11-03 André Pönitz <poenitz@gmx.net>
2167 * bufferview_funcs.C: remove getInsetFromId()
2170 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2176 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2178 * PosIterator.C (distance, advance): new
2179 * bufferview_funcs.[Ch] (put_selection_at): new
2180 * iterators.[Ch] (lockPath): new
2182 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2184 * iterators.[Ch] (asPosIterator): added
2185 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2186 * PosIterator.[Ch]: added
2188 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * cursor.C (dispatch):
2193 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2195 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2196 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2197 contructor, add a class function dispatched. Remove operator>=
2199 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * debug.C: only use the default constructor for debugstream
2204 * main.C (main): include debug.h and setup the lyxerr streambuf
2207 2003-10-31 José Matos <jamatos@lyx.org>
2209 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2211 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2212 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2213 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2214 * paragraph_pimpl.C (simpleTeXSpecialC):
2215 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2216 add LatexRunParams argument.
2218 * exporter.C (Export): change call accordingly.
2220 * latexrunparams.h: add new member to take care of the other backends.
2221 2003-10-30 José Matos <jamatos@lyx.org>
2223 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2224 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2225 factorise code for paragraph output.
2227 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2230 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2232 * text3.C (dispatch):
2233 * lyxfunc.C (dispatch):
2234 * cursor.C (dispatch):
2235 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2237 * dispatchresult.h: make the dispatch_result_t ctor explicit
2239 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2242 * buffer.C: small refactoring of docbook stuff
2244 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2249 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2252 operator dispatch_result_t, and operators for == != and >=
2254 * cursor.C (dispatch): adjust for operator dispatch_result_t
2255 removal. comment out call to update
2257 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2259 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2270 * dispatchresult.h: new file, DispatchResult broken out of
2273 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2275 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2277 * text.C (rowBreakPoint): put a hack inside #if 0
2279 2003-10-28 André Pönitz <poenitz@gmx.net>
2283 * paragraph_funcs.C:
2286 * text2.C: general cleanup (lots of small stuff)
2288 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2290 * text2.C (cursorEnd): simple fix to the "end key goes to one
2291 before the end on last row" bug
2293 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2295 * text.C (backspace): fix the "zombie characters"
2297 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2299 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2301 2003-10-27 André Pönitz <poenitz@gmx.net>
2303 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2305 * factory.C: handle new InsetPagebreak, InsetLine
2307 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2308 and move handling into new InsetPagebreak, InsetLine
2310 * BufferView_pimpl.C:
2312 * ParagraphParameters.C:
2313 * ParameterStruct.h:
2318 * paragraph_funcs.C:
2319 * paragraph_pimpl.C:
2325 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2328 * lyxrow_funcs.[Ch]:
2334 * text3.C: remove lastPos uses in favour of Row::endpos
2336 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2338 * undo.C (performUndoOrRedo): fix two crashes by setting a
2339 cursor by hand and reordering some calls. Use bv->lockInset instead
2340 of inset->edit because the latter loses cursor information
2342 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2344 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2346 (rowBreakPoint): fix width. change point to point + 1.
2347 Add a missing check.
2349 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2352 * lyxfunc.C: fix (at least partly) the problems
2353 with the Nav menu and headers inside branch insets
2356 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2358 * paragraph.C (getChar): add strong asserts
2360 * lyxrow_funcs.C (lastPos): remove hideous hack
2362 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2363 (fill): adjust to that (avoid an infinite loop)
2365 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2367 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2369 2003-10-23 André Pönitz <poenitz@gmx.net>
2371 * RowList_fwd.h: change list<> to vector<> to gain speed
2372 after suggestion from Alfredo
2374 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2376 * lyxtext.h: move the bidi stuff from here...
2379 * Bidi.[Ch]: ... to here
2381 2003-10-23 André Pönitz <poenitz@gmx.net>
2384 * text.C (isLastRow, isFirstRow): new functions
2386 * paragraph.h: new width cache member
2388 * rowpainter.C: replace RowList::iterator with Row & where possible
2390 * lyxfunc.C: replace several view()->text with a single call
2392 * toc.C: fix 'unused' warning
2394 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2396 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2397 when woring with stream::pos_type
2398 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2400 2003-10-22 André Pönitz <poenitz@gmx.net>
2403 * text.C: use Row & instead of RowList::iterator
2405 * lyxrow.h: rename end() to endpos()
2411 2003-10-22 Angus Leeming <leeming@lyx.org>
2413 * buffer.[Ch] (fully_loaded): new member function, returning true
2414 only when the file has been loaded fully.
2415 Used to prevent the premature generation of previews and by the
2416 citation inset to prevent computation of the natbib-style label.
2418 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2419 templates are all set up.
2421 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2423 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2425 * text.C: fixed an "oops" in the "is a bit silly"
2428 2003-10-21 André Pönitz <poenitz@gmx.net>
2430 * FuncStatus.[Ch]: small stuff, whitespace
2432 * lyxfont.[Ch]: operator<<() for debug reasons
2436 * lyxtext.h: whitespace, spelling
2438 * paragraph.C: naming of variables
2441 * text2.C: small stuff
2444 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2446 * text.C: (1) finish off the inset display() work;
2447 (2) fix the "is a bit silly" bug (accessing char
2450 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2452 * text.C: re-introduce display() for insets, fixing the
2453 various bugs (stretch of line above, math inset
2456 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * text.C (rightMargin): remove spurious semicolon
2460 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2463 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2465 * text3.C: fix one crash due to wrong cursor def
2467 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * vc-backend.C (scanMaster): make the regex static
2471 * LaTeX.C (scanAuxFile): make the regexs static
2473 * text3.C (doInsertInset, dispatch, dispatch):
2474 * text2.C (cursorUp, cursorDown):
2475 * text.C (selectNextWordToSpellcheck):
2476 * BufferView_pimpl.C (dispatch):
2477 * lyxfunc.C (dispatch): localDispatch -> dispatch
2479 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * lyxsocket.C: include <cerrno>
2483 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * lyxfunc.C (dispatch): remove textcache stuff
2487 * bufferlist.C (release): remove textcache stuff
2490 * TextCache.C: delete file
2491 * TextCache.h: delete file
2493 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2495 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2496 delete of the bv_->text.
2497 (resizeCurrentBuffer): remove texcache stuff
2498 (workAreaResize): ditto
2500 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2505 2003-10-16 André Pönitz <poenitz@gmx.net>
2512 * text3.C: speed up by storing y positions per paragraph plus per-row
2513 offset instead of having a 'full' y position in the row.
2515 2003-10-15 André Pönitz <poenitz@gmx.net>
2519 * undo.[Ch]: make undo aware of inner insets
2521 2003-10-14 Angus Leeming <leeming@lyx.org>
2523 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2524 static member functions LyX::ref() and LyX::cref.
2525 (lastfiles): new accessor functions for the new lastfiles_ member var.
2526 (addLyXView, views_): add a new LyXView to the list of views_.
2527 (updateInset): loop over all LyXViews to call their own updateInset
2528 member function, returning a pointer to the Buffer owning the inset.
2530 * BufferView_pimpl.C (loadLyXFile):
2531 * MenuBackend.C (expandLastfiles):
2532 * bufferlist.C (MenuWrite, QuitLyX):
2533 lastfiles is no longer a global variable.
2534 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2536 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2537 static function. Access through LyX::cref().emergencyCleanup().
2539 2003-10-14 André Pönitz <poenitz@gmx.net>
2541 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2543 * undo.[Ch]: restoring part of 'undo in insets'
2546 * undo_funcs.[Ch]: merge with undo.[Ch]
2548 * tabular.C: small cleansing stuff
2550 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2552 * paragraph_funcs.C (readParToken): report unknown insets as error
2553 boxes. Use the outer paragraph as location (also for unknown
2556 * factory.C (readInset): do not abort on reading an unknown inset.
2557 Eat it and return 0.
2559 2003-10-13 Angus Leeming <leeming@lyx.org>
2561 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2563 * lyxrc.C: displayTranslator is now a function,
2564 declared in GraphicsTypes.h.
2566 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2568 * format.C: new placeholder $$a to pass the socket address.
2570 * bufferlist.[Ch]: new function getBufferFromTmp.
2572 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2573 files in the temporary dir.
2575 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2577 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2579 * Makefile.am: add lyxsocket.[Ch].
2581 * lyx_main.C (error_handler): handle SIGPIPE.
2583 2003-10-13 André Pönitz <poenitz@gmx.net>
2585 * BufferView_pimpl.C:
2590 * undo_funcs.[Ch]: use paroffset_type instead of
2591 ParagraphList::iterators to prevent multiple conversion
2592 (and get a more robust interface)
2594 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2598 * text3.C (dispatch): ditto
2600 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2603 move the onlyfile, use onlyfile instead of foundfile in a couple
2606 * DepTable.C (update): flush the error stream a bit more
2608 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2610 * lyxserver.C (callback): adjust
2612 * lyxfunc.C (getStatus): add a missing brace in commented code
2613 (ensureBufferClean): reindent
2614 (dispatch): delete version taking a string
2616 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * LaTeX.C (deplog): move found file handlig from here...
2619 (handleFoundFile): .. to new function here.
2620 (deplog): make sure to discover several files mentioned on the
2623 2003-10-10 André Pönitz <poenitz@gmx.net>
2630 * text3.C: fix some of the tabular crashes
2632 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2634 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2636 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2638 2003-10-09 André Pönitz <poenitz@gmx.net>
2640 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2643 * BufferView_pimpl.C:
2644 * bufferview_funcs.C:
2655 * undo_funcs.C: adjust
2657 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * text2.C (incrementItemDepth): new function, use a backtracking
2660 algorithm to discover the correct item depth.
2661 (resetEnumCounterIfNeeded): new function, use a backtracking
2662 algorithm to discover if counter reset is needed.
2663 (setCounter): use them. Simplify a bit. Add different labels for
2664 different item depths for itemize.
2666 * paragraph.C (Paragraph): remove initialization of enumdepth
2669 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2670 enumerate and itemize. Change the type of itemdepth to signed char.
2672 2003-10-08 André Pönitz <poenitz@gmx.net>
2674 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2679 * tabular.[Ch]: fix crash after 'row-insert'
2681 2003-10-08 Angus Leeming <leeming@lyx.org>
2683 Fix doxygen warnings.
2685 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2686 Remove CutAndPaste:: prefix from header file declaration.
2688 * LColor.h (fill): remove LColor:: prefix from declaration.
2690 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2691 use lyx::depth_type rather than Paragraph::depth_type so that
2692 header file and .C file match.
2694 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2696 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2697 * aspell.C: \file aspell_local.C -> \file aspell.C
2698 * gettext.C: \file gettext.C -> \file src/gettext.C
2699 * gettext.h: \file gettext.h -> \file src/gettext.h
2700 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2701 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2702 * text.C: \file text.C -> \file src/text.C
2704 * toc.C: move comment so that doxygen is not confused.
2706 2003-10-07 Angus Leeming <leeming@lyx.org>
2708 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2710 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2713 * aspell_local.h: add forgotten std::string's.
2715 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2722 * text3.C: The Box patch. Fancybox support, minipage, parbox
2724 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2730 * ParagraphParameters.h:
2740 * lyxtextclasslist.h:
2743 * paragraph_pimpl.C:
2744 * textcursor.h: add <string> and other small fixes to make Lars'
2745 std::string patch compile with STLport.
2747 2003-10-06 Angus Leeming <leeming@lyx.org>
2749 * LColor.h: Add missing #include <string>.
2751 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2753 * All most all file in all subdirs: Make <string> be the prefered
2754 way of getting to std::string, add using declarations.
2756 2003-10-06 André Pönitz <poenitz@gmx.net>
2758 * metricsinfo.C: initialize LyXFont before changing attribute.
2759 (fixes the 'math in \emph is upright' bug)
2761 2003-10-06 André Pönitz <poenitz@gmx.net>
2763 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2765 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2768 * paragraph_pimpl.C: Small fixes to build using STLport
2770 2003-10-02 André Pönitz <poenitz@gmx.net>
2773 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2775 2003-10-01 André Pönitz <poenitz@gmx.net>
2777 * factory.C: assert early
2779 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2781 * lyx_main.C: remove the global debug object
2783 * debug.h: adjust for new debugstream
2785 * debug.C: adjust for new debugstream and keep the global debug
2788 2003-09-22 Angus Leeming <leeming@lyx.org>
2790 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2791 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2792 an incomplete class LyXFont.
2794 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2796 * factory.C: bug fix in branches
2798 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * lyxfunc.C (processKeySym): adjust
2802 (dispatch): change arg name from ev to func, adjust
2803 (sendDispatchMessage): ditto
2805 * lyx_main.C (defaultKeyBindings): adjust keybindings
2806 (deadKeyBindings): ditto
2808 * kbsequence.C (addkey): return a FuncRequest
2810 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2812 * kbmap.C (bind): take a FuncRequest as arg, adjust
2815 (defkey): change to take a FuncRequest as arg, adjust
2816 (findbinding): take a FuncRequest as arg, adjust.
2818 * funcrequest.h (operator=): added
2820 * funcrequest.C (FuncRequest): default kb_action changed from
2821 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2823 * buffer.C (dispatch): simplify
2824 (dispatch): adjust to take a FuncRequest as arg, adjust
2826 * boost.C (assertion_failed): change assertion message slightly
2828 * ToolbarBackend.C (read): simplify
2830 * MenuBackend.C (binding): adjust call to findbinding, add a
2831 message if no binding is found.
2833 (expandToc): correct by adding a empty FuncRequest
2835 * LyXAction.C: include <boost/assert.hpp>
2836 (isPseudoAction): delete function
2837 (LookupFunc): change name to...
2838 (lookupFunc): this. change return type to FuncRequest.
2839 (getActionName): take kb_action as arg, simplify
2840 (funcHasFlag): add an assert, simplify.
2842 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * toc.C (action): return a FuncRequest, simplify
2846 * lyxfunc.C (processKeySym): adjust
2847 (getStatus): delete version that takes an int.
2849 (dispatch): delete version that takes action as int
2851 (sendDispatchMessage): simplify and adjust
2853 * funcrequest.C (getArg): take unsigned int as arg
2855 * ToolbarBackend.C (read): adjust
2856 (add): delete version that takes func as a string.
2857 (getIton): take a FuncRequest as arg
2859 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2862 * MenuBackend.C (MenuItem): add a new construct that only takes a
2863 Kind, simplify the constructor use for submenus.
2865 (expandLastfiles): adjust
2866 (expandDocuments): adjust
2867 (expandFormats): adjust
2868 (expandFloatListInsert): adjust
2869 (expandFloatInsert): adjust
2870 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2872 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2873 Remove class variables lyx_pseudo_map and lyx_arg_map
2875 * LyXAction.C (searchActionArg): delete function
2876 (getPseudoAction): delete function
2877 (retrieveActionArg): delete function
2878 (LookupFunc): make it return kb_action, simplify.
2879 (getActionName): simplify
2881 * factory.C (createInset): fix new bug
2883 2003-09-19 Angus Leeming <leeming@lyx.org>
2885 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2886 masterFilename_ parameter in the include inset.
2888 * factory.C (createInset): changes due to the changes to InsetInclude.
2890 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2892 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2894 2003-09-18 Angus Leeming <leeming@lyx.org>
2897 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2898 Inset::fillWithBibKeys.
2899 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2901 2003-09-18 Angus Leeming <leeming@lyx.org>
2903 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2905 (ctor): pass and store a 'Buffer const &'
2906 (buffer): new member function.
2908 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2909 '*this' to the LaTeXFeatures ctor.
2911 2003-09-18 Angus Leeming <leeming@lyx.org>
2917 * text.C: rename EnumLColor as LColor_color.
2919 2003-09-18 Angus Leeming <leeming@lyx.org>
2921 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2922 remove #include "insets/insetbase.h" from cursor.h.
2924 2003-09-18 Angus Leeming <leeming@lyx.org>
2926 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2927 InsetOld_code to remove #include "inset.h".
2929 * iterators.C: add #include "insets/inset.h"
2931 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2933 * BufferView.C: remove more locking stuff that apparently doesn't
2934 do anything sensible.
2936 2003-09-16 André Pönitz <poenitz@gmx.net>
2939 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2942 2003-09-16 Angus Leeming <leeming@lyx.org>
2944 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2946 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2949 * paragraph.h: remove #include "lyxfont.h". Forward declare
2952 2003-09-16 Angus Leeming <leeming@lyx.org>
2954 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2955 of support/textutils.h.
2956 (isWord): move the contents of support/textutils.h's IsWordChar here.
2962 * text2.C: add #include "paragraph.h".
2965 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2967 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * LaTeX.C: use namespace alias for lyx::support::os
2975 2003-09-16 Angus Leeming <leeming@lyx.org>
2978 * bufferview_funcs.C:
2981 * paragraph_pimpl.C:
2983 * text.C: add #include "LColor.h".
2985 2003-09-16 Angus Leeming <leeming@lyx.org>
2987 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2988 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2990 Store the FontBits::color variable as an int rather than as an
2991 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2994 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2995 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2996 string calls together.
2998 * lyxrc.C: add #include "LColor.h".
3000 2003-09-15 Angus Leeming <leeming@lyx.org>
3002 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3005 2003-09-15 Angus Leeming <leeming@lyx.org>
3007 * LColor.h: add an EnumLColor wrapper for LColor::color.
3009 * lyxfont.[Ch] (color, setColor, realColor):
3010 * lyxtext.h, text.C (backgroundColor):
3011 pass EnumLColor args to/from the functions, rather than LColor::color
3015 * lyxtext.h: forward declare EnumLColor.
3017 * lyx_main.C: add #include "LColor.h".
3019 2003-09-15 Angus Leeming <leeming@lyx.org>
3021 * .cvsignore: add lyx-gtk.
3023 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3028 * ParagraphParameters.C
3032 * bufferview_funcs.C
3042 * vc-backend.C: remove usage of STRCONV
3044 2003-09-15 Angus Leeming <leeming@lyx.org>
3046 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3047 explicitly define the color passed to the painter.
3049 2003-09-15 Angus Leeming <leeming@lyx.org>
3051 * bufferparams.C (BufferParams): reorder member initializers to avoid
3054 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3056 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3057 * text.C (updateRowPositions): remove an unusual nop
3059 2003-09-12 André Pönitz <poenitz@gmx.net>
3061 * BufferView_pimpl.C:
3070 * Counters.[Ch]: finish the 'automatic counters' job
3072 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3074 * aspell.C: include <boost/assert.cpp> (compile fix)
3076 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3078 * boost.C (assertion_failed): use lyx::support::abort instead of
3081 2003-09-10 Angus Leeming <leeming@lyx.org>
3083 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3084 with their _fwd progeny.
3086 2003-09-09 Angus Leeming <leeming@lyx.org>
3088 134 files throughtout the source tree: replace 'using namespace abc;'
3089 directives with the appropriate 'using abc::xyz;' declarations.
3091 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3093 * boost.C (emergencyCleanup): moved here from LAssert.c
3094 (assertion_failed): new function, called by BOOST_ASSERT
3096 * several files: change Assert to BOOST_ASSERT
3098 2003-09-09 Angus Leeming <leeming@lyx.org>
3100 * buffer.[Ch]: Add an Impl class and move Buffer's member
3101 variables into it. As a result move several header files out of
3104 Add header files to lots of .C files all over the tree as a result.
3106 2003-09-09 Angus Leeming <leeming@lyx.org>
3108 * buffer.[Ch]: make Buffer's member variables private. Add
3111 Lots of changes all over the tree as a result.
3113 2003-09-08 Angus Leeming <leeming@lyx.org>
3115 * graph.C: #include <config.h>.
3117 2003-09-08 Angus Leeming <leeming@lyx.org>
3121 * BufferView_pimpl.C:
3150 * toc.C: remove redundant using directives.
3152 2003-09-07 Angus Leeming <leeming@lyx.org>
3154 * LaTeXFeatures.h: remove #include "support/types.h".
3155 * ToolbarBackend.h: remove #include <algorithm>.
3156 * changes.h: remove #include <ctime>.
3157 * debug.h: remove #include <iosfwd>.
3158 * graph.h: remove #include "support/std_string.h".
3159 * lyx_main.h: remove #include <csignal>.
3160 * lyxlex_pimpl.h: remove #include <fstream>.
3161 * sgml.h: remove #include <algorithm>, <utility>.
3162 * toc.h: remove #include "support/std_ostream.h".
3163 Add #include <iosfwd>.
3165 2003-09-07 Angus Leeming <leeming@lyx.org>
3167 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3169 * converter.h: forward declare LatexRunParams.
3170 * encoding.h: remove #include "lyxrc.h".
3171 * lyxtext.h: remove #include "LColor.h".
3172 * lyxtextclass.h: remove #include "support/types.h".
3173 * trans.h: remove #include "tex-accent.h".
3174 * trans_mgr.h: remove #include "tex-accent.h".
3175 * insets/inset.h: remove #include "support/types.h", <vector>.
3176 * insets/insetcollapsable.h: remove #include "LColor.h".
3177 * insets/insetinclude.h: remove #include "dimension.h".
3178 * insets/insetlatexaccent.h: remove #include "dimension.h".
3179 * insets/insetoptarg.h:: remove #include "insettext.h".
3180 * insets/insettext.h: remove #include "dimension.h",
3181 <boost/shared_ptr.hpp>
3183 * insets/renderers.h: add #include "dimension.h".
3184 * insets/updatableinset.h: add #include "support/types.h".
3186 * many .C files: Associated changes.
3188 2003-09-06 Angus Leeming <leeming@lyx.org>
3190 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3191 one, inside testInvariant.
3193 * PrinterParams.C: new file.
3194 * PrinterParams.[Ch]: move the function bodies out of line.
3196 2003-09-06 Angus Leeming <leeming@lyx.org>
3198 * ParagraphParameters.h: forward declare ParameterStruct rather than
3199 including its header file.
3200 (depth): moved out-of-line.
3202 2003-09-06 Angus Leeming <leeming@lyx.org>
3204 * BufferView_pimpl.h:
3207 * lyxfunc.h: forward declare LyXKeySym rather than
3208 #include "frontends/LyXKeySym.h".
3210 * BufferView_pimpl.C:
3213 * lyxfunc.C: associated changes.
3215 2003-09-06 Angus Leeming <leeming@lyx.org>
3217 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3218 As a result, can remove the #include "insets/inset.h" from BufferView.h
3220 2003-09-06 Angus Leeming <leeming@lyx.org>
3222 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3223 As a result, can remove the #include "insets/inset.h" from BufferView.h
3225 2003-09-06 Angus Leeming <leeming@lyx.org>
3231 * bufferview_funcs.C:
3232 * BufferView_pimpl.C:
3237 * ParagraphParameters.C:
3242 * frontends/controllers/ControlDocument.C:
3243 * insets/insetcaption.C: rearrange the #includes into some sort of
3246 * buffer.h: remove #includes ErrorList.h, undo.h
3248 2003-09-06 Angus Leeming <leeming@lyx.org>
3250 * support/types.h: add a 'depth_type' typedef, used to store the
3251 nesting depth of a paragraph.
3254 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3255 defining explicitly.
3258 * paragraph_funcs.h:
3259 * ParagraphParameters.h:
3260 * sgml.h: use lyx::depth_type rather than Paragraph or
3261 ParameterStruct's depth_type.
3264 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3267 * BufferView_pimpl.C:
3269 * ParagraphParameters.C:
3272 * bufferview_funcs.C:
3279 * frontends/LyXView.C:
3280 * frontends/controllers/ControlDocument.C:
3281 * frontends/controllers/ControlErrorList.C:
3282 * insets/insetbibitem.C:
3283 * insets/insetbranch.C:
3284 * insets/insetcaption.C:
3285 * insets/insetcollapsable.C:
3286 * insets/insetenv.C:
3287 * insets/insetert.C:
3288 * insets/insetfloat.C:
3289 * insets/insetfoot.C:
3290 * insets/insetfootlike.C:
3291 * insets/insetnewline.C:
3292 * insets/insetquotes.C:
3293 * insets/insettabular.C:
3294 * insets/insettext.C:
3295 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3297 * frontends/controllers/ControlChanges.C: #include "changes.h".
3299 2003-09-06 Angus Leeming <leeming@lyx.org>
3301 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3302 than #including paragraph.h.
3305 * RowList.h: deleted. Superfluous.
3315 * insets/insettext.h: use ParagraphList_fwd.h rather than
3318 * paragraph.h: don't forward declare ParagraphList.
3321 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3322 rather than ParagraphList.h. paragraph.h is still needed for the
3323 Paragraph::depth_type parameters.
3325 * textcursor.h: enable it to compile stand-alone in light of the
3328 * bufferview_funcs.C:
3340 * frontends/controllers/ControlParagraph.C:
3341 * frontends/controllers/ControlTabular.C:
3342 * insets/insetmarginal.C:
3343 * insets/insetminipage.C:
3344 * insets/insetnote.C:
3345 * insets/insetoptarg.C: add header files needed to compile again.
3347 2003-09-06 Angus Leeming <leeming@lyx.org>
3349 * RowList_fwd.h: new file, forward-declaring Row rather than
3350 #including lyxrow.h.
3355 * insets/insettext.h: use it instead of RowList.h
3357 * bufferview_funcs.C:
3364 * text3.C: #include "RowList.h".
3366 2003-09-05 Angus Leeming <leeming@lyx.org>
3368 * factory.C (createInset):
3369 * vspace.C (c-tor): replace sscanf call with an istringstream.
3370 * ispell.C: re-add missing HP/UX headers.
3371 * lyxserver.C: re-add missing os2 headers.
3373 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3382 * text3.C: re-add missing system headers, needed for 2.95.2.
3384 2003-09-05 Angus Leeming <leeming@lyx.org>
3386 Changes most place everywhere due to the removal of using directives
3387 from support/std_sstream.h.
3389 2003-09-05 Angus Leeming <leeming@lyx.org>
3391 Replace LString.h with support/std_string.h,
3392 Lsstream.h with support/std_sstream.h,
3393 support/LIstream.h with support/std_istream.h,
3394 support/LOstream.h with support/std_ostream.h.
3396 Changes resulting throughout the tree.
3398 2003-09-05 Angus Leeming <leeming@lyx.org>
3400 * sgml.h: ensure that the header file can be compiled stand-alone.
3401 * *.C: strip out redundant #includes. (320 in total.)
3403 2003-09-04 Angus Leeming <leeming@lyx.org>
3405 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3406 here (from getPackages).
3408 * debug.[Ch]: add a new EXTERNAL tag.
3410 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3412 * text2.C (cursorEnd): simplify
3414 (getColumnNearX): adjust
3416 * text.C (computeBidiTables): adjust
3419 * rowpainter.C (paintChars): adjust
3420 (paintSelection): adjust
3421 (paintChangeBar): adjust
3424 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3426 (numberOfSeparators): adjust
3428 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3434 * text3.C: Restricts the mouse click functionality
3435 of insets like bibtex, include, toc and floatlist to the visible
3436 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3437 up the dialogs. Cursor has to be in front of the inset (i.e.
3438 start of row) for this to function.
3440 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3442 * bufferview_funcs.C (currentState): output row information
3444 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3446 * bufferview_funcs.C (currentState): output paragraph position
3448 2003-09-04 Angus Leeming <leeming@lyx.org>
3450 * FloatList.h: move out #include "Floating.h".
3451 * LaTeX.h: move out #include "DepTable.h".
3452 * LyXAction.h: move out #include "funcrequest.h".
3453 * buffer.h: move out #include "author.h", "iterators.h".
3454 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3455 * lyx_main.h: move out #include "errorlist.h".
3456 * lyxfunc.h: move out #include "FuncStatus.h".
3457 * lyxtext: move out #include "lyxcursor.h".
3458 * paragraph_pimpl.h: move out #include "counters.h".
3460 2003-09-03 Angus Leeming <leeming@lyx.org>
3462 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3463 preamble_snippets list, enabling us to add snippets to the preamble
3464 only if the snippet was not there already.
3466 2003-09-04 Angus Leeming <leeming@lyx.org>
3468 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3470 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3475 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3477 * BranchList.C: point fix, earlier forgotten
3479 2003-09-02 Angus Leeming <leeming@lyx.org>
3481 * box.C (contains): renamed from 'contained' after a fantastic
3484 2003-09-02 John Levon <levon@movementarian.org>
3490 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3492 2003-09-02 John Levon <levon@movementarian.org>
3494 * text2.C: simplification of cursorEnd(), including partial
3497 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3499 * buffer.C (readFile): add a space
3501 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3503 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3505 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * buffer.C (readFile): new function, take a filename and a
3508 ParagraphList::iterator
3510 (readFile): adjust, make it private. don't use setStream, make
3511 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3512 always contain the filename.
3514 * BufferView.C (insertLyXFile): simplify and make it work for
3517 2003-08-30 John Levon <levon@movementarian.org>
3519 * Makefile.am: fix dist (from Kayvan)
3521 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * most files: change to use const Buffer refs
3525 2003-08-27 André Pönitz <poenitz@gmx.net>
3527 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3528 on top of ownerPar().
3530 2003-08-27 John Levon <levon@movementarian.org>
3532 * funcrequest.C: properly initialise POD members
3534 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3536 * lyxtext.h (top_y): move top_y from here
3541 * BufferView_pimpl.[Ch]: to here
3542 * frontends/screen.C:
3543 * insets/insettabular.C:
3544 * insets/insettext.C: adjust
3545 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3547 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3550 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3552 2003-08-26 André Pönitz <poenitz@gmx.net>
3554 * paragraph_func.[Ch] (outerPar): new function
3557 * paragraph_funcs.C:
3558 * paragraph_funcs.h:
3559 * paragraph_pimpl.C:
3560 * text2.C: remove Inset::par_owner
3562 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3567 * text2.C: eliminates the needFullRow/display() stuff
3568 altogether, putting the logic in metrics/draw in the insets.
3570 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3572 * text2.C (redoParagraphInternal, redoParagraphs):
3573 * text.C (redoParagraph): add a call to updateRowPositions at the
3574 end of each 'metrics-like' call. Remove all others.
3575 (getRow): remove the 'y-computing' version.
3576 (getRowNearY): do not compute nor return the real y. Solve the
3577 'y < 0' problem and simplify.
3579 2003-08-22 Angus Leeming <leeming@lyx.org>
3581 * *.[Ch]: clean-up of licence and author blurbs.
3582 Also move config.h out of a few .h files and into a few .C files.
3584 2003-08-22 André Pönitz <poenitz@gmx.net>
3586 * lyxrow.[Ch]: add x_ and *fill_ members
3591 * text2.C: adjust/remove prepareToPrint() calls
3593 2003-08-22 André Pönitz <poenitz@gmx.net>
3595 * lyxrow.[Ch]: add end_ member
3597 * lyxrow_funcs.C: use LyXRow::end_
3599 * lyxtext.h (singleWidth): add LyXFont parameter
3602 * text2.C: adjust LyXText::singleWidth() calls
3604 * text.C (redoParagraph): simplify row breaking logic
3607 2003-08-19 André Pönitz <poenitz@gmx.net>
3609 * funcrequest.C: initialize button_ member
3612 * rowpainter.[Ch]: interface consolidation
3614 2003-08-18 André Pönitz <poenitz@gmx.net>
3617 * BufferView_pimpl.C:
3619 * paragraph_funcs.C:
3621 * text3.C: remove LyXScreen::draw() and fitCursor calls
3623 * BranchList.h: remove spurious semicolons
3625 * MenuBackend.C: fix branchlist related crash
3627 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3635 * bufferparams.[Ch]:
3639 * text3.C: implements the 'branch inset'
3640 idea. This allows the output of various versions of a document
3641 from a single source version, selectively outputing or suppressing
3642 output of parts of the text.
3643 This implementation contains a 'branch list editor' in a separate
3644 tab of the document settings dialog. Branches are user definable
3645 and have a "display colour" to distinguish them on-screen.
3647 ColorHandler was somewhat cleaned up.
3648 (1) make possible a dynamically growing LColor list by allowing
3649 the graphic context cache to grow along (vector);
3650 (2) eliminate an IMHO unnecessary step in colour allocation.
3652 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3654 * BufferView_pimpl.C: compile fix
3656 2003-08-15 André Pönitz <poenitz@gmx.net>
3658 * rowpainter.C: remove extra metrics calls
3660 * lyxtext.h: merge the two constructors into a single one,
3661 pass reference to owner's par list
3663 * BufferView_pimpl.C:
3667 2003-08-15 André Pönitz <poenitz@gmx.net>
3669 * lyxrow_funcs.[Ch]:
3672 * paragraph_funcs.C:
3677 * text_funcs.C: split LyXText::rowlist_ into individual
3678 Paragraph::rows_ chunks
3681 * BufferView_pimpl.[Ch]:
3684 * text3.C: remove toggleSelection()
3686 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3688 * bufferlist.C: beautify two alerts (shorter text of buttons)
3689 * buffer.C: Remove redundant ' ' from message
3691 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3692 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3693 rename VALIGN_CENTER to VALIGN_MIDDLE
3695 2003-08-11 André Pönitz <poenitz@gmx.net>
3697 * lyxtext.h (getPar):
3698 * text.C: new function
3700 2003-08-11 André Pönitz <poenitz@gmx.net>
3703 * tracer.[Ch]: remove unneeded files
3705 * InsetList.[Ch]: remove resizeInsetsLyXText()
3710 * text3.C: merge insertParagraphs() and appendParagraph()
3711 remove breakAgain(), update()
3713 * BufferView_pimpl.[Ch]:
3714 * bufferview_funcs.[Ch]:
3718 * tabular.C: adjust after text & InsetList changes.
3720 2003-08-08 André Pönitz <poenitz@gmx.net>
3722 * text.C (insertChar, backspace): replace rowlist fiddling
3723 with rebreak of full par
3726 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3727 checkParagraph, updateInset): removed
3729 2003-08-07 André Pönitz <poenitz@gmx.net>
3732 * text3.C: merge some LFUN handlers, remove dead code
3734 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3736 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3738 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3740 * text2.C (DEPM): fix part of bug 1255 and 1256
3742 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3744 * BufferView_pimpl.C (workAreaDispatch): change to use
3745 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3746 that are no mouse related.
3748 2003-08-05 André Pönitz <poenitz@gmx.net>
3751 * BufferView_pimpl.[Ch]:
3752 * bufferview_funcs.C:
3754 * text3.C: rip out "deep update"
3756 * textcursor.[Ch] (last_sel_cursor): remove unused member
3758 2003-08-04 André Pönitz <poenitz@gmx.net>
3761 * BufferView_pimpl.[Ch]:
3762 * ParagraphParameters.C:
3763 * bufferview_funcs.C:
3769 * text3.C: replace "complicated" BufferView::update(...) calls with
3772 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3774 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3776 * Makefile.am (lyx_SOURCES): add paper.h
3778 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3780 * Makefile.am: move things around so that both lyx-qt and
3781 lyx-xforms can be built (according to --with-frontend). Then lyx
3782 is a symbolic link to lyx-[firstfrontend]
3784 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3786 * Always use std::endl with lyxerr
3788 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3790 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3792 2003-08-01 André Pönitz <poenitz@gmx.net>
3795 * BufferView_pimpl.[Ch]:
3797 * text3.C: merge BufferView::repaint() and BufferView::update()
3799 2003-08-01 José Matos <jamatos@lyx.org>
3801 * buffer.[Ch]: file_format is no longer a buffer data element.
3803 2003-08-01 André Pönitz <poenitz@gmx.net>
3808 * text2.C: make redoParagraph more independent of current cursor
3810 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3812 * text2.C: remove unneeded members
3814 2003-07-30 André Pönitz <poenitz@gmx.net>
3816 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3818 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3819 create a single function...
3821 * paragraph_funcs.C (moveItem): ... here.
3824 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3826 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3828 * LColor.[Ch]: Add comment and greyedout logical colors.
3830 2003-07-30 André Pönitz <poenitz@gmx.net>
3832 * tabular.C: don't use Assert too heavily. This crashes where it
3835 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3837 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3838 is disabled (bug 1232)
3840 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3842 * factory.C: limited 'arg' scope
3844 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3846 * factory.C: fixed Note submenu issues
3848 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3850 * factory.C: submenu for Note/Comment/Greyedout
3852 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3855 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3857 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3860 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3861 greyedout. Patch provided by Jürgen Spitzmüller.
3863 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3865 * kbmap.C (read): fix error message when reading bind files
3867 2003-07-29 Angus Leeming <leeming@lyx.org>
3869 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3870 certainly does not do what it purports to do. I am doing it, and
3871 us, a favour by killing it.
3873 2003-07-28 José Matos <jamatos@lyx.org>
3875 * buffer.C (readBody, do_writeFile):
3876 * paragraph.C(readParagraph): \end_document replaces \the_end.
3878 2003-07-29 André Pönitz <poenitz@gmx.net>
3881 * BufferView_pimpl.[Ch]:
3885 * textcursor.[Ch]: remove toggleToggle & Co
3887 2003-07-28 José Matos <jamatos@fep.up.pt>
3889 * buffer.C (readParagraph):
3890 * params_func (readParToken, readParagraph):
3891 * paragraph.C (write): \layout -> \begin_layout.
3893 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * lyxlex_pimpl.C (setFile): clean up slightly.
3897 * bufferparams.h: add compressed var
3899 * buffer_funcs.C (readFile): adjust for LyXLex change
3900 (newFile): ditto + simplify
3902 * buffer.C (writeFile): handle writing of compressed files
3904 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3905 Check if the file is compressed and set a bufferparm if so.
3907 * Makefile.am (lyx_LDADD): remove explicit -lz
3909 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3911 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3912 makeDocBookFile): put the real LyX version in the first line of
3916 * version.C.in: remove lyx_docversion
3918 * tabular.C (write_attribute): add a template-based version to
3919 write enums properly
3921 2003-07-28 André Pönitz <poenitz@gmx.net>
3926 * text3.C: use doubles again for x-coordinates. They are needed.
3928 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * messages.C (getLocaleDir): use lyx_localedir()
3932 * lyxlex_pimpl.C (setFile): compress stuff
3934 * buffer.C (writeFile): add some compression stuff
3935 (do_writeFile): new func, dont call expliti close... will this
3938 * Makefile.am (lyx_LDADD): add -lz
3940 2003-07-28 José Matos <jamatos@fep.up.pt>
3942 * buffer.C: increment file format.
3943 * paragraph_funcs (readParagraph, readParToken):
3944 * paragraph.C (readParagraph): add \end_layout.
3946 2003-07-27 Angus Leeming <leeming@lyx.org>
3948 * Makefile.am: remove special casing for configure-time setting of
3949 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3951 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3952 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3954 2003-07-26 André Pönitz <poenitz@gmx.net>
3956 * paragraph_func.[Ch]:
3957 * paragraph.C (realizeFont): inline it whereever it is used
3962 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3965 2003-07-26 André Pönitz <poenitz@gmx.net>
3969 * text2.C: get rid of LyXText::need_break_row
3971 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3973 * toc.[Ch]: put namespace toc inside namespace lyx
3975 * MenuBackend.C (expandToc2): adjust for lyx::toc
3978 * lyxfunc.C (dispatch): adjust for lyx::find
3980 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3981 lyx::find instead. Reorganize a bit.
3982 (LyXReplace): rename to replace
3983 (LyXFind): rename to find
3985 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3988 2003-07-26 André Pönitz <poenitz@gmx.net>
3990 * text.C (setHeightOfRow): restrict scope of temporary variable
3992 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3993 code (never has been used?)
3995 2003-07-27 Asger Alstrup <alstrup@local>
3997 * text.C (fill): Optimise algorithm to exploit that we can reuse
3998 the LyXFont for many characters.
3999 (setHeightOfRow): Same thing.
4000 (rowBreakPoint): Same thing.
4002 2003-07-26 Asger Alstrup <alstrup@local>
4004 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4006 * text.C (singleWidth): Spurious font copying in hot-spot
4007 singleWidth avoided. Reorder tests for arabic for efficiency.
4009 * text.C (fill): handle empty paragraphs better.
4011 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4014 * encoding.h: add includes
4016 * lyxrc.C: remove reading of bind files
4018 * lyx_main.C (init): setup bindings and menus only if we have a
4021 * kbmap.C (read): new method. Do the actual reading of bind
4024 * converter.C (dvipdfm_options):
4027 (output): adapt PAPER_* enums.
4029 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4031 * bufferparams.h: remove paper-related enums from there
4033 * paper.h: New file. A trivial header file to hold paper-related
4034 enums. It should later expand to contain many paper-related
4037 * lyxrc.C: declare extern displayTranslator
4039 2003-07-27 José Matos <jamatos@fep.up.pt>
4041 * tabular.[Ch] (linuxdoc): add support for tables and figures
4044 2003-07-27 José Matos <jamatos@fep.up.pt>
4046 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4047 consistency in both functions.
4048 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4050 2003-07-26 Asger Alstrup <alstrup@local>
4052 * rowpainter.C (paintRows): Change algorithm to work directly on
4053 the insets rather than asking every character in the document
4054 whether its an inset.
4056 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4058 * buffer.C (openFileWrite): factorize some code
4060 2003-07-26 Angus Leeming <leeming@lyx.org>
4063 * lyx_main.[Ch]: replace occurances of system_tempdir with
4066 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * rename Inset to InsetOld
4070 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4072 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4073 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4074 which I think is a bit clearer. EDIT is gone, since it was
4075 premature optimisation, and broken for mathed anyway.
4076 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4077 with cursor positioning in insets as well (math insets still do not
4078 work, but that's a different story anyway.) It mysteriously
4079 crashes sometimes with undo in the first paragraph, but I'm fairly
4080 confident that this is a compiler bug.
4082 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4084 * paragraph.C (Paragraph): adjust for new clone return type
4086 (copyIntoMinibuffer): ditto
4088 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4090 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4091 by not having a special case, and always doing a full rebreak of
4092 the document after undo.
4094 2003-07-23 Angus Leeming <leeming@lyx.org>
4096 * factory.C (createInset): InsetExternal::setParams now takes a
4099 2003-07-23 Angus Leeming <leeming@lyx.org>
4101 * factory.C (createInset): changed interface to the external and
4102 graphics mailers' string2params functions.
4104 2003-07-23 Angus Leeming <leeming@lyx.org>
4106 * factory.C (createInset): pass a
4107 Buffer const * parameter to InsetExternalMailer's string2params.
4109 2003-07-22 John Levon <levon@movementarian.org>
4111 * Thesaurus.h: include the right aiksaurus header
4113 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4115 * MenuBackend.C (expand): check menu shortcuts unconditionally
4117 2003-07-21 Angus Leeming <leeming@lyx.org>
4119 * factory.C (createInset): pass a
4120 buffer_path parameter to InsetGraphicsMailer's string2params.
4122 2003-07-21 Angus Leeming <leeming@lyx.org>
4124 * BufferView_pimpl.C (buffer):
4127 * lyxfunc.C (dispatch):
4128 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4129 rather than the grfx shortcut.
4131 2003-07-21 André Pönitz <poenitz@gmx.net>
4133 * rowpainter.C: remove unused variables
4136 * tabular_funcs.h: move to tabular.C
4137 * Makefile.am: adjust
4139 * tabular.[Ch]: basic optical cleaning
4141 * author.h: pass references, not values
4143 2003-07-18 André Pönitz <poenitz@gmx.net>
4151 * text3.C: two-phase drawing for InsetText and InsetTabular
4152 some float -> int changes.
4154 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4156 * lyx_main.C: fix the fix
4158 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4160 * lyx_main.C: fix a crash in batch mode if no files specified
4163 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4165 * format.[Ch] (papersize): moved to BufferParams
4166 * converter.[Ch] (dvips_options): moved to BufferParams
4167 (dvipdfm_options): moved to anon namespace
4168 * bufferparams.[Ch]: added above functions.
4170 2003-07-17 André Pönitz <poenitz@gmx.net>
4174 * text2.C: don't call inset->update() anymore
4176 * metricsinfo.[Ch]: add convenience constructor
4178 2003-07-16 André Pönitz <poenitz@gmx.net>
4183 * text2.C: replace the LyXCursor::irow_ member with
4184 on-demand computation of the value
4186 2003-07-16 John Levon <levon@movementarian.org>
4188 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4190 2003-07-15 André Pönitz <poenitz@gmx.net>
4193 * text2.C: remove no more needed refresh_row
4195 2003-07-15 André Pönitz <poenitz@gmx.net>
4200 * text3.C: refresh_status tristate -> need_update bool
4202 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4204 * lyxtext.h (init): remove reinit argument (act as if always true)
4205 * text2.C: adjust to that
4207 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4209 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4210 * text3.C: use it to delete selections in some cases
4211 (bugs 441, 673, 702, 954).
4213 2003-07-14 André Pönitz <poenitz@gmx.net>
4215 * rowpainter.[Ch]: reduce interface
4217 2003-07-14 André Pönitz <poenitz@gmx.net>
4219 * BufferView_pimpl.C:
4220 * text2.C: adjust after removing unused BufferView * argument
4222 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4224 * text2.C (init): fix a crash fired on resize
4226 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4228 * buffer.[Ch]: added new closing signal
4229 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4230 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4231 BufferView::Pimpl via the closing the signal
4233 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4235 * buffer.[Ch]: take out all bv-related from buffer
4237 * BufferView_pimpl.[Ch]: connect to new signals
4238 * CutAndPaste.C: removed useless asserts
4239 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4242 * lyxfunc.C: moved view-related funciontality from vc here
4243 * paragraph.C: removed outdated comments
4246 2003-07-10 André Pönitz <poenitz@gmx.net>
4248 * BufferView_pimpl.C:
4252 * text2.C: remove InsetText::InnerCache, clean up consequences
4254 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4256 * ispell.C: fix two typos in error messages
4258 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4260 * Extend Note inset to other forms of annotation like Comment
4261 and Greyedout. Right button click gives dialog.
4263 Files modified or added (+):
4267 * ControlNote.[Ch] +
4269 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4270 frontends/controllers
4274 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4276 * aspell.C: add missing namespace lyx::support
4278 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4280 * BufferView.[Ch] (newFile): Add
4281 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4282 * LaTeX.[Ch] (message): added this signal and use it
4283 * buffer.[Ch] (busy, message): added these signals and use them
4284 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4288 * importer.C: use buffer signals instead of direct bv calling
4289 * lyx_cb.[Ch] (ShowMessage): removed
4292 * paragraph_funcs.C:
4293 * text2.C: use buffer signals
4295 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * introduce namespace lyx::graphics
4299 2003-07-02 André Pönitz <poenitz@gmx.net>
4301 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4303 2003-07-01 André Pönitz <poenitz@gmx.net>
4310 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4311 text*.C to text_func.C
4313 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * introduce namespace lyx::support
4317 2003-06-30 André Pönitz <poenitz@gmx.net>
4322 * text.C: re-enable --with-included-string
4324 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * textcursor.C: add <config.h>
4328 * text.C (getWord): remove const from word_location arg
4330 * lyxvc.C (getLogFile): fix const type order
4332 * lyxtext.h: remove const from word_location arg, add arg name
4334 * lyxlayout.h: currect type on labeltype.
4336 * importer.C: correct \file
4338 * converter.C (intToFormat): use std:: on ret val, ws changes
4340 * bufferlist.h: correct \file
4342 * buffer.C (makeLinuxDocFile): fix const type order
4343 (makeDocBookFile): ditto
4344 (fillWithBibKeys): use std:: on stdlib args.
4346 * CutAndPaste.C: fix authors.
4347 (availableSelections): use std:: on return vector
4349 2003-06-27 André Pönitz <poenitz@gmx.net>
4351 * BufferView_pimpl.C:
4352 * bufferview_funcs.C:
4360 * text3.C: remove LyXCursor::row_ member
4363 * text.C: rename fullRebreak() to partialRebreak() and implement
4364 a fullRebreak() that really bereks fully
4366 * textcursor.h: new struct for cursor-related data
4368 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4370 * lyx_main.C (LyX): get full path of document loaded on the
4373 2003-06-26 André Pönitz <poenitz@gmx.net>
4375 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4376 remove unused/broken operator>,<,>=.
4378 * text.C: remove only use of broken operator<= in an Assert().
4380 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4382 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4383 moved errorlist_.clear to showErrorList
4385 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4387 * converter.C (scanLog, runLaTeX):
4388 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4389 move the bv->showErrorList call to the callers
4390 * lyxfunc.C: i.e. here...
4392 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4393 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4394 namespace, the second to...
4395 * buffer_funcs (BufferFormat, parseErrors): added
4396 * errorlist.C (ErrorList(TeXErrors const &)): removed
4398 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4400 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4402 2003-06-24 "Garst R. Reese" <reese@isn.net>
4406 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4408 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4410 * version.C.in: change docversion to 1.4
4412 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4414 * buffer.C: fix a bug just introduced
4416 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4418 * buffer.[Ch]: added the parseError signal and use it, removed
4420 * BufferView.[Ch] (addError): moved to ...
4421 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4422 to the Buffer::parseError signal to catch (guess what) parse errors
4423 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4425 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4427 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4428 ability to create a buffer and to return an existing one from
4429 the list. Moved these functions to...
4430 * buffer_funcs.[Ch]: added
4431 * BufferView.[Ch] (loadLyXFile): added
4432 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4433 job removed from bufferlist::loadLyXFile.
4434 * buffer.C (setReadOnly): make it work without view
4435 (i.e added an if (users))
4437 2003-06-19 Angus Leeming <leeming@lyx.org>
4440 * LyXAction.C (init):
4441 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4442 with LFUN_DIALOG_SHOW <name> <data>.
4444 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4446 * CutAndPaste.C (availableSelections): small compilation fix for
4447 ancient (gcc 2.9x) compilers
4449 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4451 * text3.C (cursorNext): add tmp var
4453 * text2.C (updateCounters): for function calling out of for clause
4454 (replaceSelectionWithString): ditto
4455 (insertStringAsParagraphs): ditto
4456 (getColumnNearX): add tmp var
4457 (setCursorFromCoordinates): add tmp var
4458 (cursorDownParagraph): add tmp var
4459 (deleteEmptyParagraphMechanism): add tmp var
4461 * text.C (insertChar): add tmp var
4463 * rowpainter.C (paintDepthBar): add tmp var
4465 * CutAndPaste.C (availableSelections): potentially check all
4466 paragraphs in a cut to fill the shown strings.
4468 2003-06-18 André Pönitz <poenitz@gmx.net>
4470 * kbmap.[Ch]: use vector<> instead of list<>
4472 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4474 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4475 pasteSelection with index
4477 * text2.C (pasteSelection): modify, call pasteSelection with index
4479 * paragraph.C (asString): reimplement version with no interval to
4480 call the one with interval.
4482 * lyxtext.h: add index arg to pasteSelection
4484 * MenuBackend.C (MenuItem): handle PasteRecent
4485 (Menu::read::Menutags): add md_pasterecent
4487 (expandPasteRecent): new function
4490 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4492 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4494 (availableSelections): new function
4496 2003-06-17 Angus Leeming <leeming@lyx.org>
4498 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4500 2003-06-17 Angus Leeming <leeming@lyx.org>
4503 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4505 * lyxfunc.C (dispatch): invoke it.
4507 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4509 * iterators.C (operator++, ParPosition): reintroduce some
4510 const_cast for the benefit of older compilers.
4512 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4514 * text3.C (dispatch): do not modify clipboard when doing
4515 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4516 LFUN_DELETE_SKIP on a selection selection
4518 2003-06-16 André Pönitz <poenitz@gmx.net>
4524 * tabular.[Ch]: IU of clone() and getLabelList();
4526 2003-06-13 André Pönitz <poenitz@gmx.net>
4528 * tabular.h: compactification
4530 2003-06-12 André Pönitz <poenitz@gmx.net>
4534 * tabular_funcs.h: some renaming plus whitespace
4536 2003-06-12 André Pönitz <poenitz@gmx.net>
4539 * BufferView_pimpl.C:
4545 * toc.C: Return a Paragraph & for ParIterator::operator*()
4547 2003-06-11 John Levon <levon@movementarian.org>
4551 * ToolbarBackend.C: add "Toolbars" section and
4554 2003-06-10 Angus Leeming <leeming@lyx.org>
4557 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4559 * lyxfunc.C (dispatch): invoke it.
4561 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * main.C: protect <ios> with HAVE_IOS
4564 (main): protect sync_with_stdio with HAVE_IOS
4566 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4568 * text2.C (cutSelection): adjust
4569 (pasteSelection): adjust
4571 * messages.C: handle get of empty string
4573 * main.C (main): use sync_with_stdio(false)
4575 * lyxfunc.C (dispatch): adjust
4577 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4578 (WriteAs): remove unneeded BufferView arg.
4580 * bufferparams.h: use correct types on papersize, papersize2 and
4583 * bufferparams.C (readToken): adjust for type
4584 (writeLaTeX): add missing cases to switch.
4586 * bufferlist.C (quitWriteBuffer): adjust
4589 * buffer.C (asciiParagraph): remove some commented code.
4591 * CutAndPaste.C: remove current_view extern variable.
4592 (cutSelection): add BufferParams arg.
4593 (eraseSelection): add BufferParams arg.
4594 (pasteSelection): add Buffer const & arg
4596 2003-06-07 John Levon <levon@movementarian.org>
4599 * paragraph_funcs.C:
4600 * paragraph_pimpl.C:
4604 * paragraph.C: allow InsetERT to freely space lines,
4605 and some consolidation of code
4607 2003-06-06 José Matos <jamatos@fep.up.pt>
4609 * buffer.C (makeDocBookFile): fix bug #821
4611 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4613 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4615 2003-06-04 Angus Leeming <leeming@lyx.org>
4617 * buffer.C: bump format to 224.
4619 2003-06-05 André Pönitz <poenitz@gmx.net>
4621 * text2.C (redoParagraphs): remove two const_cast<>
4623 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4625 * ParagraphList.h: remove last remnants of NO_STD_LIST
4627 2003-06-03 Angus Leeming <leeming@lyx.org>
4629 * factory.C (createInset): small change to the way InsetExternal's params
4632 2003-06-04 André Pönitz <poenitz@gmx.net>
4634 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4636 * paragraph_pimpl.h:
4637 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4639 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4641 * undo_funcs.C: make some simple cases of undo work again
4643 2003-06-03 John Levon <levon@movementarian.org>
4645 * ispell.C: HPUX doesn't have sys/select.h
4648 2003-06-03 John Levon <levon@movementarian.org>
4650 * CutAndPaste.C: update tabular and include inset
4655 * paragraph.C: remove owningBuffer(), don't pass Buffer
4658 * factory.C: insetGraphicsParams changed
4660 2003-06-02 John Levon <levon@movementarian.org>
4666 * text3.C: remove insetparent
4668 2003-06-02 John Levon <levon@movementarian.org>
4671 * buffer.C: fix inset_iterator.end(), move out of line
4674 2003-06-01 John Levon <levon@movementarian.org>
4676 * text3.C: use a proper cut/paste when doing inset
4677 insert (from Jürgen Spitzmüller)
4679 2003-06-01 John Levon <levon@movementarian.org>
4681 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4683 2003-05-30 André Pönitz <poenitz@gmx.net>
4685 * rowpainter.C: unify second drawing phase
4687 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * trans_mgr.C: remove one case of current_view
4691 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4693 * paragraph_funcs.h: remove paragraph.h include
4695 * paragraph.h: delete NO_STD_LIST stuff
4697 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4699 * buffer.h: remove paragraph.h include
4701 * ParagraphList.C: delete file
4703 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4705 * toc.C (getTocList): adjust
4707 * paragraph_pimpl.C (validate): adjust
4709 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4711 * paragraph.C (Paragraph): adjust
4712 (getPositionOfInset): use const_iterator, adjust
4713 (bibitem): use const_iterator, adjust
4714 (setInsetOwner): adjust
4716 * iterators.C (operator++): adjust
4718 * InsetList.[Ch]: Replace selfmade iterator with standard
4719 vector::iterator also introduce const_iterator. Remove getPos,
4720 getInset and setInset from InsetTable. Adjust accordingly.
4722 * BufferView.C (lockInset): adjust
4723 (ChangeInsets): adjust
4725 * tabular.[Ch]: delete commented same_id functions
4727 2003-05-28 John Levon <levon@movementarian.org>
4729 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4731 2003-05-28 André Pönitz <poenitz@gmx.net>
4733 * metricsinfo.[Ch]: remove 'fullredraw' member
4735 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4737 * lyxtextclass.C (operator): remove caching.
4739 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * text2.C (cursorBottom): adjust
4744 (setCounter): use ParagraphList::find, adjust
4746 * text.C (workWidth): use ParagraphList::find, adjust
4748 * lyxcursor.C (LyXCursor): adjust
4750 * buffer.C (inset_iterator): adjust
4752 * ParagraphList.h: make iterator(value_type) private, make
4753 ParagraphList a friend of iterator.
4755 * ParagraphList.C (find): new function
4757 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4759 2003-05-27 André Pönitz <poenitz@gmx.net>
4761 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4763 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4765 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4767 2003-05-26 John Levon <levon@movementarian.org>
4769 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4771 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * remove same_id from function signatures, adjust.
4775 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4779 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4781 * paragraph.C (Paragraph): get rid of same_ids parameter
4783 * ParagraphList.C (insert): adjust
4786 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * paragraph_funcs.C (breakParagraph): adjust
4789 (breakParagraphConservative): adjust
4791 * buffer.C (readParagraph): adjust
4793 * ParagraphList.C (insert): take a reference instead of a pointer
4796 * paragraph.[Ch] (id): new function
4798 * bufferlist.C (newFile): adjust
4800 * ParagraphList.C (ParagraphList): adjust
4802 (push_back): take a reference instead of a pointer.
4804 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4806 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4809 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4810 set else use old code.
4812 * ParagraphList.C: remove all NO_NEXT code and only compile this
4813 code of NO_STD_LIST is set.
4815 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4817 * BufferView_pimpl.C:
4827 * graphics/GraphicsConverter.C:
4828 * graphics/PreviewLoader.C: header adjustment
4830 2003-05-23 Angus Leeming <leeming@lyx.org>
4832 * LaTeXFeatures.[Ch] (useBabel): new method.
4833 * bufferparams.C (writeLaTeX): use it.
4835 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * ParagraphList.h (set): remove unused function.
4839 2003-05-23 André Pönitz <poenitz@gmx.net>
4842 * BufferView_pimpl.C:
4846 * undo_funcs.C: setUndo reworked
4848 * iterators.[Ch]: add access to topmost ParagraphList
4850 * lyxtext.[Ch] (workWidth): add a const
4852 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4854 * texrow.[Ch] (increasePos): remove function
4855 * exporter.C (export): removed unused var and outdated comment
4857 2003-05-23 Angus Leeming <leeming@lyx.org>
4859 * latexrunparams.h: rename fragile as moving_arg.
4860 * paragraph.C (simpleTeXOnePar): ditto.
4861 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4863 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4867 (textUndoOrRedo): comment out a currently unused var.
4869 * paragraph.h (NO_NEXT): enable NO_NEXT
4871 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4873 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4875 * exporter.C (Export): adjust for removeAutoInsets removal.
4877 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4879 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4881 * BufferView.[Ch] (removeAutoInsets): delete function
4883 2003-05-22 Angus Leeming <leeming@lyx.org>
4885 * latexrunparams.h: add a free_spacing variable.
4887 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4888 to pass moving_arg, as the data is stored in runparams.fragile.
4890 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4891 to Inset::latexOptional or to simpleTeXOnePar.
4893 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4894 free_spacing arg to Inset::latexOptional.
4896 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4899 2003-05-22 Angus Leeming <leeming@lyx.org>
4901 * latexrunparams.h: add fragile and use_babel variables.
4903 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4904 * buffer.C (makeLaTeXFile): store this returned value in
4905 runparams.use_babel, thus passing it to the inset::latex methods.
4907 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4908 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4910 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4911 longer has a fragile arg, as it is stored in runparams.fragile.
4913 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4914 moving_arg parameter as the data is stored in runparams.fragile.
4916 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4917 a fragile parameter as the data is stored in runparams.fragile.
4919 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4923 2003-05-22 Angus Leeming <leeming@lyx.org>
4925 * latexrunparams.h: add a 'bool nice' which defaults to false.
4927 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4928 now encapsulated within runparams.
4930 * bufferlist.C (updateIncludedTeXfiles):
4931 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4933 2003-05-22 Angus Leeming <leeming@lyx.org>
4935 * latexrunparams.h: new file containing struct LatexRunParams.
4936 * Makefile.am: add new file.
4938 * LaTeX.[Ch] (c-tor, run):
4939 * buffer.[Ch] (makeLaTeXFile):
4940 * bufferlist.[Ch] (updateIncludedTeXfiles):
4941 * converter.C (convert, scanLog):
4942 * converter.[Ch] (runLaTeX):
4943 * exporter.C (Export):
4944 * paragraph.[Ch] (simpleTeXOnePar):
4945 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4946 * paragraph_funcs.[Ch] (latexParagraphs):
4947 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4948 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4949 pass around a LatexRunParams parameter.
4951 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * paragraph.[Ch]: remove unused constructor
4955 * ParagraphList.C (erase): new function, taking two iterators
4957 2003-05-22 André Pönitz <poenitz@gmx.net>
4959 * undo_funcs.C: remove duplicated code
4961 * iterator.[Ch]: operator=
4963 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * tabular.C (SetMultiColumn): ws changes
4967 * rowpainter.C (paintFirst): get rid of a ->previous
4969 * lyx_cb.C (getPossibleLabel): parlist simplification
4971 * BufferView.C (ChangeInsets): simplify slightly.
4973 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4975 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4976 * lfuns.h: new LFUN_SPACE
4977 * lyxfunc.C: protected space has a new lfun
4978 * paragraph_funcs.C: read new space insets
4980 * factory.C: handle new space insets
4982 2003-05-22 André Pönitz <poenitz@gmx.net>
4985 * BufferView_pimpl.C:
4988 * undo_funcs.C: return a ParIterator from getParFromID.
4990 * iterators.[Ch]: add two const's
4992 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * toc.C (getTocList): adjust
4996 * iterators.[Ch]: rework for parlist
4998 * buffer.C (par_iterator_begin): adjust
4999 (par_iterator_end): adjust
5001 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5003 * BufferView.C (removeAutoInsets): adjust
5004 (ChangeInsets): adjust
5006 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5008 * text.C (top_y): fix bug 1110
5010 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5012 * errorlist.[Ch]: added
5015 * BufferView_pimpl.C:
5016 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5019 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * Makefile.am: ensure that lyx is relinked upon changes to the
5022 various "convenience" libs.
5024 2003-05-20 Angus Leeming <leeming@lyx.org>
5026 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5027 files are compiled in alphabetical order again.
5029 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5031 2003-05-19 Angus Leeming <leeming@lyx.org>
5033 * gettext.[Ch]: remove "char const * _(char const *)".
5035 2003-05-19 André Pönitz <poenitz@gmx.net>
5037 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5046 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5048 2003-05-19 André Pönitz <poenitz@gmx.net>
5052 * lyxtextclass.[Ch]:
5054 * paragraph_funcs.[Ch]:
5056 * text3.C: more insetenv work
5058 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5060 * ParagraphParameters.C (params2string): small bug fixed
5062 2003-05-16 André Pönitz <poenitz@gmx.net>
5065 * bufferview_funcs.C: patch from Kornel Benko to prevent
5066 crash when _(...) is called twice in a statement
5068 2003-05-16 André Pönitz <poenitz@gmx.net>
5075 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5077 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5079 * lyx_main.C (init): remove spurious static_cast
5081 2003-05-14 André Pönitz <poenitz@gmx.net>
5083 * BufferView.C: fix format string
5085 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5087 * BufferView.[Ch] (insertErrors): removed
5088 * BufferView.[Ch] (showErrorList): added
5089 * buffer.C (runChkTeX):
5090 * converter.C (scanLog): call showErrorList instead of inserterrors
5092 2003-05-13 André Pönitz <poenitz@gmx.net>
5094 * BufferView_pimpl.C:
5096 * bufferview_func.C:
5103 * tabular_funcs.h: tostr() from its own header
5105 * ParagraphParameters.C:
5110 * text3.C: STRCONV()
5112 2003-05-12 André Pönitz <poenitz@gmx.net>
5115 * BufferView_pimpl.C:
5119 * ParagraphParameters.C:
5123 * bufferview_funcs.C:
5136 * paragraph_funcs.C:
5140 * text3.C: boost::format -> bformat all over the place
5143 2003-05-09 André Pönitz <poenitz@gmx.net>
5145 * LColor.[Ch]: Pimpl the #include <map> away
5147 2003-05-09 John Levon <levon@movementarian.org>
5149 * bufferlist.C: never remove emergency saves
5151 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * Makefile.am: better lib building
5155 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5159 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5160 (simpleTeXSpecialChars): adjust
5161 (simpleTeXSpecialChars): adjust
5162 * paragraph.C (simpleTeXOnePar): adjust
5163 * buffer.C (makeLaTeXFile): adjust
5165 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5167 * text2.C (changeDepth): parlist cleanup
5168 (getColumnNearX): ditto
5170 * rowpainter.C (getLabelFont): parlist cleanup
5172 * bufferlist.C (newFile): parlist cleanup
5174 * CutAndPaste.C (eraseSelection): parlist cleanup
5176 * BufferView_pimpl.C (trackChanges): parlist cleanup
5179 * BufferView.C (lockInset): parlist cleanup.
5180 (ChangeInsets): ditto
5182 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * CutAndPaste.h: Update file header.
5186 * CutAndPaste.C: Update file header.
5187 Store the parts cut out of the Document in a limited_stack.
5188 (copySelection): adjust
5189 (pasteSelection): new function, takes the index in the limited stack.
5190 (nrOfParagraphs): adjust
5191 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5192 simplify error inset insertion.
5193 (checkPastePossible): adjust
5195 2003-05-06 John Levon <levon@movementarian.org>
5197 * text2.C: don't cast wrap inset to float
5199 2003-05-05 André Pönitz <poenitz@gmx.net>
5202 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5204 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5205 few naked Paragraph *.
5207 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5209 * bufferparams.C: Output warning if a document with missing
5210 TeX document class is loaded
5211 * exporter.C: Disable TeX exports if the document class is missing
5214 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5215 isTeXClassAvailable()
5217 2003-05-03 John Levon <levon@movementarian.org>
5220 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5221 explicit cursor show/hide
5223 * BufferView_pimpl.h:
5224 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5225 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5227 * lyxfunc.C: hide cursor before dispatching.
5232 * text3.C: remove explicit cursor hides
5234 2003-05-02 André Pönitz <poenitz@gmx.net>
5236 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5239 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5242 * text2.C: tiny whitespace
5244 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * undo_funcs.C: almost only ws changes.
5248 * ParagraphList.C (splice): just return if pl is empty.
5250 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * ParagraphList.C (splice): new function.
5254 * CutAndPaste.C (pasteSelection): use it
5256 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * CutAndPaste.C (pasteSelection): remove the last next and
5259 previous from this file.
5261 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * CutAndPaste.C (pasteSelection): more clean up, user proper
5264 ParagraphList functions for pasteing.
5266 * ParagraphList.C (insert): new function, three arg insert
5268 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * ParagraphList.C (insert): new function, three arg insert
5272 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5279 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5283 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5286 (copySelection): clean up a bit.
5287 (pasteSelection): use make_pair
5289 * ParagraphList.C (ParagraphList): implement copy constructor
5290 (operator=): implement, base on copy constructor.
5293 * paragraph.C (erase): return a bool
5295 * paragraph_pimpl.C (erasePos): remove function, move contents...
5296 (erase): ... here. Return a bool.
5297 (erase): call erase instead of erasePos.
5299 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5301 * ParagraphList.h: define PitPosPair
5302 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5303 ParagraphList, fix a bug on pasting multiple pars
5304 * text2.C: change interface to C&P
5306 2003-04-30 André Pönitz <poenitz@gmx.net>
5308 * undo_func.C: revert part of yesterday's patch 2
5310 2003-04-30 John Levon <levon@movementarian.org>
5312 * LColor.C: s/tabular/table/
5314 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * text3.C (dispatch): do not convert iterator -> pointer
5317 * undo_funcs.C (setCursorParUndo): ditto
5318 * text_funcs.C (transposeChars): ditto
5320 * text2.C (setLayout): ws changes only
5322 * text.C (breakParagraph): do not convert iterator -> pointer
5324 (acceptChange): ditto
5325 (rejectChange): ditto
5330 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5333 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5335 * text3.C (gotoInset): YABG (yet another bad getChar)
5337 2003-04-29 André Pönitz <poenitz@gmx.net>
5339 * paragraph.h: make operator= private unimplemented as long as
5342 * ParagraphList.C: whitespace
5345 * paragraph_pimpl.[Ch]:
5346 * paragraph_funcs.C:
5348 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5351 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5353 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5355 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5356 * paragraph.[Ch] (erase):
5357 * paragraph_pimpl.[Ch] (erase): change return type and value
5358 * text2.C (cutSelection): some rework
5360 2003-04-28 John Levon <levon@movementarian.org>
5362 * bufferlist.C: changes for unsaved changes dialog
5364 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * bufferlist.C (newFile): set language (messages_) for new
5369 * buffer.C (readFile): ws changes only.
5371 2003-04-28 André Pönitz <poenitz@gmx.net>
5376 * BufferView_pimpl.C:
5377 * BufferView.C: getParFromID related ParagraphList::iterator changes
5379 2003-04-28 André Pönitz <poenitz@gmx.net>
5381 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5384 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * messages.C: remove one more localedir class variable.
5388 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * messages.C (getLocaleDir): singleton generation function
5392 (Messages): add a default constructor.
5394 * main.C (main): do not setup localedir here, do not call
5397 * gettext.C (_): use it.
5398 (gettext_init): delete funciton
5400 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * gettext.C (getLyXMessages): new singleton generating function.
5404 * buffer.C (updateDocLang): adjust
5406 * Makefile.am (messages.o): add target
5407 (main.o): remove target
5409 2003-04-27 John Levon <levon@movementarian.org>
5414 * lyxvc.C: specify cancel button in Alert::prompt
5416 2003-04-26 John Levon <levon@movementarian.org>
5421 * LyXAction.C: add LFUN_INSET_SETTINGS
5423 * lyxfunc.C: don't enable tabular-feature when there's
5424 just any locking inset
5426 2003-04-26 John Levon <levon@movementarian.org>
5428 * bufferlist.C: re-add Cancel to buffer close question
5430 * lyxfunc.C: fix import UI a bit
5432 2003-04-25 John Levon <levon@movementarian.org>
5434 * gettext.C: remove the broken asserts for now
5436 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * messages.C: make case where setlocale cannot comply work better.
5440 * buffer.C (updateDocLang): new function
5441 (changeLanguage): use it
5444 * text2.C (setCounter): use B_ a bit.
5446 * lyxlayout.C (Read): be sure to trim the label strings.
5448 * messages.C (Messages): fix typo in comment
5450 * buffer.C (readFile): set message_ after file is loaded.
5451 (makeDocBookFile): remove double return
5452 (changeLanguage): reset message_ upon language change.
5453 (B_): new func, use this to get translated buffer strings.
5455 * main.C: add myself and Jean Marc as authors.
5457 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * messages.[hC]: pimplify Messages, and three different pimpls to be
5460 used in different circumstances.
5462 * gettext.[Ch]: change for use with new message code.
5464 2003-04-24 André Pönitz <poenitz@gmx.net>
5466 * factory.C: support for eqref
5468 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * messages.[Ch]: add missing char
5472 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5474 * messages.[Ch]: New files
5476 2003-04-18 John Levon <levon@movementarian.org>
5480 * BufferView_pimpl.C:
5484 * text2.C: remove layout-copy/paste (bug 778)
5486 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5488 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5490 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5492 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5493 if they succeed. Act accordingly.
5495 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * text2.C (setCharFont): adjust
5498 (setCounter): adjust
5499 (insertStringAsLines): adjust
5501 * text.C (leftMargin): adjust
5502 (setHeightOfRow): adjust
5504 * rowpainter.C (paintFirst): adjust
5507 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5509 (isFirstInSequence): ditto
5510 (getEndLabel): ditto
5513 * paragraph.C (getParLanguage): comment out some hard stuff.
5515 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5517 (simpleDocBookOnePar): ditto
5518 (makeDocBookFile): use ParagraphList::iterator
5520 * CutAndPaste.C (pasteSelection): adjust
5522 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5524 * text2.C (getFont): adjust
5525 (getLayoutFont): adjust
5526 (getLabelFont): adjust
5528 * paragraph_funcs.C (TeXOnePar): adjust
5530 * buffer.C (simpleLinuxDocOnePar): adjust
5531 (simpleDocBookOnePar): adjust
5533 * CutAndPaste.C (pasteSelection): adjust
5535 * BufferView.C (getEncoding): adjust
5537 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5539 2003-04-16 John Levon <levon@movementarian.org>
5541 * lyxfind.C: use parlist stuff for search/changes
5543 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5547 * text2.C (deleteEmptyParagraphMechanism): adjust
5549 * text2.[Ch] (ownerParagraph): delete func (both of them
5551 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5553 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5555 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * ParagraphList.C: prepare for NO_NEXT
5559 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * text2.C (getFont): adjust
5562 (getLayoutFont): adjust
5563 (getLabelFont): adjust
5565 * paragraph.C (getFont): adjust
5566 (getLabelFont): adjust
5567 (getLayoutFont): adjust
5569 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5571 2003-04-15 John Levon <levon@movementarian.org>
5575 * lyx_main.C: handle Include in .ui files
5577 2003-04-15 John Levon <levon@movementarian.org>
5579 * MenuBackend.C: make the doc files length shorter
5582 * ToolbarBackend.C: handle toolbar placement flags,
5585 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5590 * paragraph_funcs.C (TeXOnePar): adjust
5592 * paragraph.C (getLabelFont): add outerfont arg, adjust
5593 (getLayoutFont): ditto
5594 (simpleTeXOnePar): adjust
5596 * paragraph_pimpl.C (realizeFont): delete func
5598 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5600 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5601 row argument, constify cur argument.
5603 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * text2.C (getFont): adjust
5606 (getLayoutFont): adjust
5607 (getLabelFont): adjust
5609 * paragraph_funcs.C (TeXOnePar): adjust
5610 (outerFont): new func...
5611 (realizeFont): ...moved out from here, changed this to facilitate
5614 * paragraph.C (getFont): take outerfont as arg, adjust
5615 (simpleTeXOnePar): add outerfont arg, adjust
5617 * buffer.C (simpleLinuxDocOnePar): adjust
5618 (simpleDocBookOnePar): adjust
5620 * CutAndPaste.C (pasteSelection): adjust
5622 * BufferView.C (getEncoding): adjust
5624 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * text2.C (setCharFont): adjust
5627 (setCounter): adjust
5629 * text.C (leftMargin): adjust
5630 (setHeightOfRow): adjust
5632 * rowpainter.C (paintFirst): adjust
5635 * paragraph_pimpl.C (realizeFont): adjust
5637 * paragraph.C (isFirstInSequence): move from here...
5638 * paragraph_funcs.C (isFirstInSequence): ...to here
5640 * paragraph.C (outerHook): move from here...
5641 * paragraph_funcs.C (outerHook): ...to here
5643 * paragraph.C (depthHook): move from here...
5644 * paragraph_funcs.C (depthHook): ...to here
5646 * paragraph.C (getEndLabel): move from here...
5647 * paragraph_funcs.C (getEndLabel): ...to here
5649 * text2.C (realizeFont): move from here...
5650 * paragraph_funcs.C (realizeFont): ...to here
5652 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5656 2003-04-14 Angus Leeming <leeming@lyx.org>
5658 * LColor.[Ch]: scrap LColor mathcursor.
5660 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5662 * lyxlex.[Ch] (text): delete function
5663 * trans.C (Load): adjust
5664 * paragraph_funcs.C (readParToken): adjust
5666 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5669 vector<char> instead of a char[].
5671 * lyxlex_pimpl.C (getString): adjust
5673 (lex): use getString
5677 * lyxlex.C (text): use pimpl_->getString()
5681 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5683 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5684 (makeFontEntriesLayoutSpecific): temp var for par.size()
5685 (setLayout): temp var for ownerParagraphs().end()
5686 (fullRebreak): temp var for rows().end()
5687 (selectionAsString): temp var for boost::next(startpit), realize
5688 that the while really is a regular for loop.
5689 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5690 setCursor in one place.
5691 (setParagraph): temp vr for ownerParagraphs().end()
5692 (updateCounters): make the while loop a for loop
5693 (cutSelection): temp var for ownerParagraphs().end()
5694 (updateInset): make the do {} while() a regular for loop
5695 (getCursorX): use temp vars
5696 (setCurrentFont): use temp vars
5697 (getColumnNearX): use temp vars
5699 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * text.C (transformChar): use temp var for getChar
5702 (computeBidiTables): use temp var for row->par()
5703 (fill): move temp vars for row->par() and pit->layout() earlier in
5705 (labelFill): use temp var for row->par()
5706 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5707 asc and desc, realize that pit never changes and that firstpit is
5708 just a duplicate and not needed. Exchange rit->par() with pit in a
5710 (breakAgain): use a temp var for boost::next(rit)
5711 (breakAgainOneRow): ditto
5712 (breakParagraph): use a temp var for rows().begin()
5713 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5714 (cursorRightOneWord): use temp var for cursor.par() and
5715 cursor.pos(), remove usage of tmpcursor.
5716 (cursorLeftOneWord): use temp var for cursor.par() and
5717 cursor.pos() only set cur at end of function.
5719 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * text.C, text2.C: exchange all usage of Paragraph::next with
5722 boost::next(ParagraphList::iterator)
5724 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5726 * text2.C (cursorTop): simplify implementation
5727 (cursorBottom): ditto
5728 (setParagraph): use ParagraphList::iterator
5729 (setCurrentFont): adjust
5730 (getColumnNearX): adjust
5731 (cursorRight): adjust
5732 (cursorLeft): remove usage of Paragraph::previous
5733 (cursorUpParagraph): ditto
5734 (deleteEmptyParagraphMechanism): slight cleanup
5736 * text.C (isBoundary): take a Paragraph const & instead of a
5738 (addressBreakPoint): ditto
5739 (leftMargin): remove usage of Paragraph::previous.
5740 (setHeightOfRow): ditto
5741 (cursorLeftOneWord): ditto
5742 (selectNextWordToSpellcheck): ditto
5745 (breakParagraph): remove one usage of Paragraph::next
5746 (redoParagraph): ditto
5747 (acceptChange): ditto
5748 (insertChar): adjust
5749 (rowBreakPoint): adjust
5751 * bufferview_funcs.C (toggleAndShow): adjust
5753 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5755 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5756 methods to access it.
5758 * text.C: Added updateRowPositions to compute all row positions.
5759 Make top_y and getRowNearY() to use the cached y position
5761 2003-04-11 John Levon <levon@movementarian.org>
5763 * text.C (rowBreakPoint): reintroduce the labelEnd
5764 checks, code copied from the row fill stuff. Deep voodoo.
5766 * text.C (fill): add a comment and debugging for the
5769 2003-04-11 John Levon <levon@movementarian.org>
5771 * text.C: make sure fullrow insets get wrapped to the next line,
5772 even when they're in a manual label
5774 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * text2.C (insertParagraph): make it take ParagraphList::iterator
5778 (setLayout): make it return ParagraphList::iterator
5779 (redoParagraphs): ditto
5781 (checkParagraph): ditto
5783 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5785 * text2.C: adjust several funcs.
5786 (realizeFont): take a ParagraphList::iterator as arg.
5787 (getLayoutFont): ditto
5788 (getLabelFont): ditto
5789 (setCharFont): ditto
5791 * text.C: adjust several funcs.
5793 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5795 * text.C (selectNextWordToSpellcheck): don't accidentally
5798 2003-04-10 John Levon <levon@movementarian.org>
5800 * ToolbarBackend.C (getIcon): special handling for
5803 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5805 * text2.C (cursorRight): a getChar assert fixed
5807 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5809 * text2.C (getFont): change to take a ParagraphList::iterator
5810 instead of Paragraph*
5811 Adjust several functions.
5813 * text.C (transformChar): change to take a ParagraphList::iterator
5814 instead of Paragraph*
5815 (singleWidth): ditto
5816 Adjust several functions.
5818 * rowpainter.C: adjust several functions
5819 * rowpainter.h:store a ParagraphList::iterator and not a
5823 2003-04-09 John Levon <levon@movementarian.org>
5828 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5829 and the "help" bits as well
5831 2003-04-09 John Levon <levon@movementarian.org>
5834 * ToolbarBackend.C: allow multiple toolbars
5836 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * undo_funcs.C (setCursorParUndo): adjust
5840 * text_funcs.C (transposeChars): adjust
5842 * text3.C (gotoNextInset): adjust
5845 * text2.C (setLayout): adjust
5846 (changeDepth): adjust
5848 (redoParagraphs): adjust
5849 (selectionAsString): adjust
5850 (setParagraph): adjust
5851 (insertInset): adjust
5852 (cutSelection): adjust
5853 (copySelection): adjust
5854 (pasteSelection): adjust
5855 (insertStringAsLines): adjust
5856 (updateInset): adjust
5857 (setCursor): change to take a ParagraphList::iterator parameter
5858 (setCursorIntern): change to take a ParagraphList::iterator parameter
5859 (setCurrentFont): adjust
5860 (cursorLeft): adjust
5861 (cursorRight): adjust
5862 (deleteEmptyParagraphMechanism): adjust
5864 * text.C (breakParagraph): adjust
5865 (insertChar): adjust
5866 (acceptChange): adjust
5867 (rejectChange): adjust
5868 (selectNextWordToSpellcheck): adjust
5869 (changeCase): adjust
5873 * lyxfind.C (SearchForward): adjust
5874 (SearchBackward): adjust
5875 (nextChange): adjust
5877 * lyxcursor.C (par): adjust
5879 * lyxcursor.h: store a ParagraphList::iterator instead of a
5882 * lyx_cb.C (getPossibleLabel): adjust
5884 * bufferview_funcs.C (toggleAndShow): adjust
5886 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5889 * BufferView.C (removeAutoInsets): adjust
5890 (lockedInsetStoreUndo): adjust
5892 2003-04-09 John Levon <levon@movementarian.org>
5894 * ToolbarBackend.C: try icon without argument
5895 if with argument fails
5897 2003-04-08 John Levon <levon@movementarian.org>
5900 * ToolbarBackend.C: add getIcon(), handle tooltip,
5901 and change from "Icon" to "Item".
5903 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5905 * BufferView.C (lockInset): another bad getchar crunched
5907 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5909 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5912 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5914 * lyxfind.C (searchForward, searchBackwards): bug 782
5916 2003-04-07 John Levon <levon@movementarian.org>
5918 * paragraph.C: remove dead comment
5920 * text.C: remove troublesome depth-fiddling code
5921 in leftMargin() and rightMargin() (bug 1017)
5923 * text.C: fix breaking of rows in nested lists
5926 * text2.C (updateCounters): fix up depth values
5929 2003-04-07 John Levon <levon@movementarian.org>
5931 * BufferView_pimpl.C: clear message when doc finishes resizing,
5932 and after a mouse event
5934 * lyxfunc.C: clear message after exiting inset
5936 2003-04-07 John Levon <levon@movementarian.org>
5938 * bufferview_funcs.C: show math status not outside
5939 status in the statusbar
5941 2003-04-07 John Levon <levon@movementarian.org>
5943 * lyxfunc.C: note status changed after a depth change
5945 2003-04-04 Angus Leeming <leeming@lyx.org>
5947 * LaTeX.h: move AuxInfo operator==, != out of line.
5948 Remove LaTeX virtual destructor; nothing derives from it.
5949 Move operator()() out of public area and rename it startscript().
5950 Change protected for private.
5952 2003-04-04 Angus Leeming <leeming@lyx.org>
5955 * text2.C: remove unneeded #includes.
5957 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5959 * text2.C (dEPM): fix the heigth of the next row
5961 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5963 * text.C: squashed an invalid getChar requester + some ws changes
5965 2003-04-03 John Levon <levon@movementarian.org>
5967 * bufferview_funcs.h:
5968 * bufferview_funcs.C:
5971 * text2.C: make getStatus work for the env depth lfuns
5973 2003-04-03 John Levon <levon@movementarian.org>
5975 * bufferview_funcs.h:
5976 * bufferview_funcs.C:
5979 * text2.C: parlistize decDepth(), by merging it with incDepth()
5981 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * lyxrow.h: store a ParagraphList::iterator instead of a
5984 Paragraph* and adjust other class functions to suit.
5986 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5989 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5991 * text2.C (setCursor): do not anchor to cursor row for the time being
5993 2003-04-02 John Levon <levon@movementarian.org>
6000 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6002 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * paragraph.h: make ParagraphList and ParagraphList::iterator
6005 friends of Paragraph.
6007 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6009 * ParagraphList.C: Use the private next_ and previous_ from
6012 2003-04-01 John Levon <levon@movementarian.org>
6016 * Makefile.am: rename, remove defaults gunk
6019 * MenuBackend.C: remove defaults gunk
6022 * Languages.C: remove defaults gunk
6025 * lyx_main.C: error out if files couldn't be found.
6027 2003-04-02 John Levon <levon@movementarian.org>
6029 * text2.C: make incDepth() use parlist
6031 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6033 * undo_funcs.C (firstUndoParagraph): adjust
6035 * text3.C (gotoInset): adjust
6036 (dispatch): adjust, and rewrite loop.
6038 * text2.C (init): adjust, and rewrite loop.
6039 (redoParagraphs): adjust
6040 (updateInset): adjust, and rewrite loop.
6041 (deleteEmptyParagraphMechanism): adjust
6043 * tabular.C (LyXTabular): adjust
6044 (SetMultiColumn): adjust
6047 * lyxtext.[Ch] (ownerParagraph): delete function
6048 (ownerParagraphs): new function returns a ParagraphList.
6050 * BufferView.C (removeAutoInsets): adjust
6051 (insertErrors): adjust
6052 (setCursorFromRow): adjust
6054 2003-04-01 Angus Leeming <leeming@lyx.org>
6056 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6059 2003-04-02 John Levon <levon@movementarian.org>
6065 * text_funcs.C: make transposeChars a free function
6067 * lyxrow_funcs.C: remove wrong comment
6069 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6072 * rowpainter.C: adjust
6077 * lyxrow_funcs. [Ch]: new files
6079 * lyxrow.[Ch]: remove next and previous pointers
6080 (next,previous): remove accessor functions
6081 (isParEnd): move to lyxrow_funcs
6082 (lastPos): move to lyxrow_funcs
6083 (nextRowIsAllInset): move to lyxrow_funcs
6084 (lastPrintablePos): move to lyxrow_funcs
6085 (numberOfSeparators): move to lyxrow_funcs
6086 (numberOfHfills): move to lyxrow_funcs
6087 (numberOfLabelHfills): move to lyxrow_funcs
6088 (hfillExpansion): move to lyxrow_funcs
6092 * bufferview_funcs.C (toggleAndShow): adjust
6094 * RowList.h: Remove class RowList from file leave just a
6097 * RowList.C: delete file
6099 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6102 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6104 * text3.C (cursorPrevious): adjust
6105 (cursorNext): adjust
6108 * text2.C (redoHeightOfParagraph): adjust
6109 (redoDrawingOfParagraph): adjust
6112 * text.C (breakParagraph): adjust
6113 (insertChar): adjust
6116 * rowpainter.C (RowPainter): adjust
6117 (leftMargin): simplify and adjust
6118 (most rowpainter functions): adjust.
6120 * rowpainter.h: store the row as RowList::iterator not as Row*
6122 * lyxcursor.C (row): taka RowList::iterator as arg
6125 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6128 2003-04-01 Angus Leeming <leeming@lyx.org>
6130 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6131 stuff like bool Bool.
6133 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6135 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6138 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6143 * lyxtext.h (rows): drop one version and leve a const variant that
6144 returns a RowList::iterator.
6146 2003-03-31 Angus Leeming <leeming@lyx.org>
6148 * text.C (fill): ensure that the signature is the same as that in the
6151 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * text2.C (redoParagraphs): adjust
6154 (updateCounters): adjust
6155 (checkParagraph): adjust
6156 (getColumnNearX): adjust and reformat a bit.
6158 * text.C (top_y): adjust
6160 (leftMargin): adjust
6161 (prepareToPrint): adjust
6163 (getRowNearY): adjust
6165 * lyxtext.h: make rowlist_ mutable.
6167 * RowList.h: add const_iterator
6168 * RowList.C: adjust for RowList::const_iterator.
6170 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6173 2003-03-31 John Levon <levon@movementarian.org>
6176 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6178 * lyx_main.C: set default fonts from using lyx_gui funcs
6180 * exporter.C: pdf_mode moved from lyxrc
6183 * lyxfunc.C: changes from above
6185 2003-03-31 John Levon <levon@movementarian.org>
6187 * lyx_main.C: fix to the last fix
6189 2003-03-31 John Levon <levon@movementarian.org>
6191 * bufferlist.C: "Load original" -> "Load Original"
6197 * format.C: more Alert cleanups
6199 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * text2.C (removeParagraph): make it take a RowList::iterator as
6203 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6204 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6206 * text.C (anchor_row): make it take a RowList::iterator as arg,
6208 (computeBidiTables): make it take a const reference to Row instead
6209 of Row pointer, adjust.
6210 (leftMargin): make it take a RowList::iterator as arg, adjust.
6211 (rowBreakPoint): adjust
6212 (breakAgainOneRow): make it take a RowList::iterator as arg,
6214 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6216 * bufferview_funcs.C (toggleAndShow): adjust
6218 2003-03-30 John Levon <levon@movementarian.org>
6222 * boost-inst.C: moved to support
6224 * several files: changes as a result
6226 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * text2.C (LyXText): adjust.
6230 (removeRow): make it take a RowList::iterator as arg, adjust.
6231 (fullRebreak): adjust
6232 (deleteEmptyParagraphMechanism): adjust
6233 (clearPaint): adjust
6236 * text.C (top_y): adjust
6237 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6238 (breakAgain): make it take a RowList::iterator as arg, adjust.
6239 (breakParagraph): adjust
6240 (insertChar): adjust
6243 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6244 need_break_row, and refresh_row.
6246 * text3.C (dispatch): adjust
6248 * text2.C (checkParagraph): adjust
6250 (setCursorFromCoordinates): adjust
6252 * text.C (top_y): adjust
6254 (getRow): make it return a RowList::iterator, adjust
6255 (getRowNearY): make it return a RowList::iterator, adjust
6257 * text2.C (init): adjust
6258 (insertRow): remove function
6259 (insertParagraph): adjust
6260 (redoParagraphs): adjust
6261 (fullRebreak): adjust
6262 (updateCounters): adjust
6264 * text.C (top_y): rewrite to use RowList iterators.
6266 (setHeightOfRow): rewrite to sue RowList iterators.
6267 (appendParagraph): adjust
6268 (breakAgain): adjust
6269 (breakAgainOneRow): adjust
6270 (breakParagraph): adjust
6272 (getRowNearY): adjust, and remove commented code.
6274 * lyxtext.h (firstRow): delete function
6275 (lastRow): delete function
6276 (rows): new function (const and non-const versions.)
6277 (insertRow): delete function
6279 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6281 2003-03-29 John Levon <levon@movementarian.org>
6283 * BufferView_pimpl.C: always update scrollbar top
6284 because pasting text when we're anchored could mean we
6285 miss an update altogether
6287 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * text2.C (init): use rowlist_.end() and not 0.
6290 (insertRow): change to take a RowList::iterator as arg, adjust
6292 (insertParagraph): change to take a RowList::iterator as arg,
6294 (redoParagraphs): remove some debug msgs.
6296 * text.C (appendParagraph): change to take a RowList::iterator
6297 arg, adjust for this.
6298 (breakAgain): add an assert
6299 (breakAgainOneRow): ditto
6301 2003-03-29 John Levon <levon@movementarian.org>
6303 * text2.C: do not clear selection after inc/decDepth
6306 2003-03-29 John Levon <levon@movementarian.org>
6309 * buffer.C: fix broken strerrors according to Lars
6311 2003-03-29 John Levon <levon@movementarian.org>
6313 * converters.C: more Alert cleanups
6315 2003-03-29 John Levon <levon@movementarian.org>
6317 * bufferview_funcs.C: remove pointless Alert
6319 * buffer.C: fix confusing error message when
6320 a template is chmoded 000
6322 2003-03-29 John Levon <levon@movementarian.org>
6326 * BufferView_pimpl.C: Alert fixes
6330 * tabular-old.C: remove unused table compat reading
6332 2003-03-29 John Levon <levon@movementarian.org>
6337 * lyx_cb.C: more Alert cleanups
6339 * lyxfunc.C: don't allow chktex if not latex document
6341 2003-03-29 John Levon <levon@movementarian.org>
6345 * buffer.C: warnings pushed down from support/,
6348 2003-03-29 John Levon <levon@movementarian.org>
6350 * lyxfunc.C: safety check for C-r (revert)
6352 2003-03-29 John Levon <levon@movementarian.org>
6355 * bufferlist.C: several UI fixes using Alert::prompt.
6356 Fix the pointless looping quit code. Fix stupid revert
6361 * lyx_cb.C: use Alert::prompt
6363 * lyx_main.C: remove a silly question
6365 * lyxfunc.C: remove a couple of silly questions,
6368 2003-03-28 John Levon <levon@movementarian.org>
6370 * text2.C: fix bug 974 (End on empty par)
6372 2003-03-28 John Levon <levon@movementarian.org>
6374 * BufferView_pimpl.C:
6376 * lfuns.h: remove do-nothing math greek lfuns
6378 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * lyxgluelength.h (isValidGlueLength): add default arg on
6381 parameter 2. Remove default arg from friend in class.
6383 * lyxlength.h (isValidLength): add default arg on parameter 2.
6384 Remove default arg from friend in class.
6386 * text2.C (LyXText): adjust, initialize refresh_row.
6390 (insertParagraph): adjst
6391 (redoParagraphs): adjust
6392 (fullRebreak): adjust
6393 (updateCounters): adjust
6394 (deleteEmptyParagraphMechanism): first attempt at fixing a
6397 * text.C (top_y): adjust
6398 (setHeightOfRow): adjust
6400 (getRowNearY): adjust
6402 * lyxtext.h: include RowList.h
6403 (~LyXText): not needed anymore, deleted.
6404 (firstRow): modify for RowList
6405 (lastRow): new function
6406 Delete firstrow and lastrow class variables, add a Rowlist
6407 rowlist_ class variable.
6409 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6412 * RowList.C (insert): fix case where it == begin().
6414 2003-03-26 Angus Leeming <leeming@lyx.org>
6416 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6417 the thesaurus dialog.
6419 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6421 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6423 * RowList.[Ch]: new files
6425 * ParagraphList.C (erase): handle the case where it == begin
6428 2003-03-25 John Levon <levon@movementarian.org>
6432 * aspell.C: add new aspell support
6435 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6438 2003-03-25 Angus Leeming <leeming@lyx.org>
6441 * LyXAction.C (init): new LFUN_INSET_INSERT.
6443 * BufferView_pimpl.C (dispatch): split out part of the
6444 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6446 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6449 2003-03-25 Angus Leeming <leeming@lyx.org>
6451 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6453 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6456 * text3.C: remove useless row->height(0)
6458 2003-03-25 John Levon <levon@movementarian.org>
6462 * text3.C: rename the refreshing stuff to better names
6464 2003-03-24 John Levon <levon@movementarian.org>
6466 * BufferView_pimpl.h:
6467 * BufferView_pimpl.C: update layout choice on a mouse
6470 2003-03-23 John Levon <levon@movementarian.org>
6472 * Makefile.am: fix commandtags.h reference
6474 2003-03-22 John Levon <levon@movementarian.org>
6476 * BufferView_pimpl.C:
6481 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6483 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6486 * text.C: take the rtl methods out of line
6488 2003-03-21 André Pönitz <poenitz@gmx.net>
6490 * metricsinfo.[Ch]: new files containing structures to be passed around
6491 during the two-phase-drawing...
6493 2003-03-21 André Pönitz <poenitz@gmx.net>
6495 * lyxtextclass.C: read 'environment' tag.
6497 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6499 * text2.C (removeRow): fix bug 964
6501 2003-03-20 John Levon <levon@movementarian.org>
6505 * text2.C: paint cleanups. Inset::update() dropped font
6508 2003-03-19 John Levon <levon@movementarian.org>
6510 * lyxfunc.C: only fitcursor/markDirty if available()
6512 2003-03-19 John Levon <levon@movementarian.org>
6514 * commandtags.h: rename to ...
6516 * lfuns.h: ... this, and renumber / cleanup
6518 2003-03-19 John Levon <levon@movementarian.org>
6520 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6521 fit the cursor after an lfun
6525 * BufferView_pimpl.h:
6526 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6528 * LyXAction.C: layout-character should have ReadOnly
6530 * ParagraphParameters.C:
6532 * bufferview_funcs.C:
6539 * undo_funcs.C: changes from above
6541 2003-03-18 John Levon <levon@movementarian.org>
6543 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6544 remove it from update()
6546 * lyxfunc.C: update layout choice after an lfun
6548 * text3.C: remove extra updateLayoutChoice()s
6550 2003-03-18 John Levon <levon@movementarian.org>
6552 * text.C: top_y change means full repaint, fix
6553 a drawing bug with cursor movement
6555 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6559 * text2.C: anchor row on setCursor
6561 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6563 * lyxtext.h: remove almost all mutable keywords
6566 * text3.C: remove const keywords accordingly
6568 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6572 (TeXEnvironment): ditto
6575 2003-03-17 John Levon <levon@movementarian.org>
6577 * text.C (rowBreakPoint): remove attempt to fix displayed
6578 math insets inside a manual label
6580 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * lyxtext.h: remove BufferView* as first arg from almost all class
6584 * other files: adjust.
6586 2003-03-17 John Levon <levon@movementarian.org>
6590 * text2.C: more paint cleanups
6592 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6595 * rowpainter.C: remove "smart" background painting code
6597 2003-03-16 John Levon <levon@movementarian.org>
6602 * text3.C: add helper functions for setting refresh_row/y
6604 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6606 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6607 newline inset which *can* get inserted in the pass_thru layouts.
6608 This is primarily for literate documents.
6610 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6612 * buffer.C: increment LYX_FORMAT to 223
6614 2003-03-14 André Pönitz <poenitz@gmx.net>
6616 * textclass.h: prepare for environment handling, ws changes
6617 * lyxlayout.C: read latexheader and latexfooter tags
6619 2003-03-14 John Levon <levon@movementarian.org>
6621 * text2.C: rewrite ::status() a bit
6623 2003-03-13 John Levon <levon@movementarian.org>
6625 * lyxtext.h: add some docs
6627 2003-03-13 John Levon <levon@movementarian.org>
6632 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6634 2003-03-13 John Levon <levon@movementarian.org>
6636 * text3.C: fix appendix redrawing
6638 2003-03-13 John Levon <levon@movementarian.org>
6640 * text.C (setHeightOfRow):
6642 * rowpainter.C: make appendix mark have the text
6643 "Appendix" so the user knows what it is
6646 * LColor.C: s/appendixline/appendix/ from above
6648 2003-03-13 John Levon <levon@movementarian.org>
6650 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6652 * text.C: fix a getChar(pos) bug properly
6654 2003-03-13 Angus Leeming <leeming@lyx.org>
6657 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6658 Probably only temporary. Let's see how things pan out.
6660 * BufferView.C (unlockInset):
6661 * BufferView_pimpl.C (fitCursor):
6662 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6664 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6665 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6667 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6668 new functions that convert ParagraphParameters to and from a string.
6670 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6671 BufferView::Pimpl's dispatch.
6672 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6674 2003-03-13 André Pönitz <poenitz@gmx.net>
6678 * factory.C: make it aware of InsetEnv
6680 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * text2.C (setCursor): never ask for one past last
6683 (setCursor): add some debugging messages.
6685 * text.C (singleWidth): never ask for one past last
6686 (singleWidth): ditto
6688 (rightMargin): ditto
6689 (rowBreakPoint): ditto
6690 (setHeightOfRow): ditto
6691 (prepareToPrint): ditto
6693 * rowpainter.C (paintBackground): never ask for one past last
6694 (paintText): never ask for one past last
6696 * paragraph_pimpl.C (getChar): make the assert stricter, never
6697 allow the one past last pos to be taken
6699 * paragraph.C (getChar): ws changes only
6701 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6702 (numberOfSeparators): ditto
6703 (numberOfHfills): ditto
6705 2003-03-12 John Levon <levon@movementarian.org>
6711 * paragraph_funcs.C: fix per-buffer authorlists
6713 2003-03-12 John Levon <levon@movementarian.org>
6715 * text.C: fix newline in right address
6717 2003-03-12 Angus Leeming <leeming@lyx.org>
6719 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6720 duplicate those in LyXFunc::dispatch.
6724 * ToolbarDefaults.C:
6725 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6726 Add LFUN_FONTFREE_UPDATE.
6728 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6729 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6731 * bufferview_func.[Ch]: several new functions to facilliate
6732 transfer of data to and from the character dialog.
6734 2003-03-12 John Levon <levon@movementarian.org>
6739 * paragraph_funcs.C:
6740 * paragraph_pimpl.C:
6744 * text3.C: remove META_NEWLINE in favour of an inset
6747 * rowpainter.C: remove paintNewline (done by inset)
6749 2003-03-12 John Levon <levon@movementarian.org>
6751 * paragraph_pimpl.C: complain about bad getChar()s
6752 for a while at least
6754 2003-03-12 John Levon <levon@movementarian.org>
6757 * buffer.C: move paragraph read into a separate function,
6758 a little renaming to reflect that.
6761 * bufferparams.C: remove the author_ids map, not necessary now
6764 * factory.C: moved Buffer::readInset to here
6766 * paragraph_funcs.h:
6767 * paragraph_funcs.C: readParagraph free function moved from
6770 * tabular.C: name change
6772 2003-03-12 John Levon <levon@movementarian.org>
6775 * ParagraphParameters.C: move par params input to
6778 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6779 behave like a normal read from the stream wrt reading
6780 a line vs. a \\token
6782 2003-03-12 John Levon <levon@movementarian.org>
6785 * ParagraphParameters.h:
6786 * ParagraphParameters.C: move output code to a
6789 2003-03-12 John Levon <levon@movementarian.org>
6791 * BufferView.C (insertLyXFile):
6794 * tabular.C: use a parlist iterator for creating the
6797 2003-03-12 John Levon <levon@movementarian.org>
6799 * buffer.C: make current_change static local not
6802 2003-03-12 John Levon <levon@movementarian.org>
6804 * buffer.C: fix insertStringAsLines for change tracking
6806 2003-03-12 John Levon <levon@movementarian.org>
6813 * bufferparams.C: move author list into params. Rename some
6814 functions. Move the header reading into a separate token
6815 loop. Move the header token reading into BufferParams.
6817 2003-03-12 John Levon <levon@movementarian.org>
6819 * changes.C: put debug inside lyxerr.debugging() checks
6821 2003-03-11 André Pönitz <poenitz@gmx.net>
6823 * factory.C: make it aware of InsetHFill
6825 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6827 * buffer.C (latexParagraphs): move function from here...
6828 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6831 2003-03-10 Angus Leeming <leeming@lyx.org>
6833 * LyXAction.C (init): fix bug in poplating array with multiple entries
6834 with the same LFUN (spotted by JMarc).
6836 2003-03-10 John Levon <levon@movementarian.org>
6839 * text2.C: move getColumnNearX() near its
6842 2003-03-10 John Levon <levon@movementarian.org>
6844 * text.C: fix break before a minipage
6846 2003-03-10 John Levon <levon@movementarian.org>
6848 * text.C: fix the last commit
6850 2003-03-09 John Levon <levon@movementarian.org>
6854 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6855 bug 365 (don't break before insets unless needed). Don't
6856 return a value > last under any circumstances.
6858 2003-03-09 Angus Leeming <leeming@lyx.org>
6860 * BufferView_pimpl.C (trackChanges, dispatch): call
6861 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6863 2003-03-09 Angus Leeming <leeming@lyx.org>
6865 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6866 than Dialogs::showAboutlyx().
6868 2003-03-09 Angus Leeming <leeming@lyx.org>
6870 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6871 than Dialogs::showTabularCreate().
6873 2003-03-09 John Levon <levon@movementarian.org>
6877 * text2.C: 3rd arg to nextBreakPoint was always the same.
6880 2003-03-08 John Levon <levon@movementarian.org>
6887 * text2.C: Remove the "main" bit from the "main body"
6890 2003-03-08 John Levon <levon@movementarian.org>
6892 * text.C (leftMargin): The left margin of an empty
6893 manual label paragraph should not include the label width
6896 * text.C (prepareToPrint): don't attempt to measure hfills
6897 for empty manual label paragraphs - the answer should be 0
6899 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * CutAndPaste.C: remove commented code and reindent.
6903 2003-03-08 John Levon <levon@movementarian.org>
6906 * lyxfunc.C: move reloadBuffer()
6909 * BufferView.C: to here
6911 * lyxvc.C: add comment
6914 * vc-backend.C: call bv->reload() to avoid
6915 getStatus() check on MENURELOAD
6917 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6919 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6920 to an old format .dep file.
6922 2003-03-07 Angus Leeming <leeming@lyx.org>
6924 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6925 when the LFUN_MOUSE_RELEASE should have been handled by
6926 inset->localDispatch.
6928 2003-03-07 Angus Leeming <leeming@lyx.org>
6930 * BufferView_pimpl.C (dispatch):
6931 * LyXAction.C (init):
6932 * ToolbarDefaults.C (init):
6934 * lyxfunc.C (getStatus):
6935 remove LFUN_INSET_GRAPHICS.
6937 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6939 2003-03-07 Angus Leeming <leeming@lyx.org>
6942 * LyXAction.C (init):
6943 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6945 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6948 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6950 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6951 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6953 2003-03-07 Angus Leeming <leeming@lyx.org>
6955 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6958 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * ParagraphList.C (front): new function
6963 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6965 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6966 and top_row_offset_. removed var first_y.
6968 * text2.C (LyXText, removeRow):
6970 * BufferView_pimpl.C:
6971 use these methods instead of using first_y
6973 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * text2.C (pasteSelection): adjust for checkPastePossible
6977 * CutAndPaste.C: remove Paragraph * buf and replace with
6978 ParagraphList paragraphs.
6979 (DeleteBuffer): delete
6980 (cutSelection): change the tc type to textclass_type
6981 (copySelection): change the tc type to textclass_type
6982 (copySelection): adjust for ParagraphList
6983 (pasteSelection): change the tc type to textclass_type
6984 (pasteSelection): adjust for Paragraphlist
6985 (nrOfParagraphs): simplify for ParagraphList
6986 (checkPastePossible): simplify for ParagraphList
6987 (checkPastePossible): remove unused arg
6989 * ParagraphList.C (insert): handle the case where there are no
6992 * CutAndPaste.h: make CutAndPaste a namespace.
6994 * text3.C (dispatch): adjust
6996 * text.C (breakParagraph): add a ParagraphList as arg
6998 * paragraph_funcs.C (breakParagraph): change to take a
6999 BufferParams and a ParagraphList as args.
7000 (breakParagraphConservative): ditto
7001 (mergeParagraph): ditto
7002 (TeXDeeper): add a ParagraphList arg
7003 (TeXEnvironment): ditto
7006 * buffer.C (readLyXformat2): adjust
7007 (insertStringAsLines): adjust
7008 (latexParagraphs): adjust
7010 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7011 (cutSelection): adjust
7012 (pasteSelection): adjust
7014 * BufferView_pimpl.C (insertInset): adjust
7016 2003-03-05 Angus Leeming <leeming@lyx.org>
7019 * LyXAction.C (init):
7020 * BufferView_pimpl.C (dispatch):
7021 * lyxfunc.C (getStatus):
7022 remove LFUN_CHILD_INSERT.
7024 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7026 2003-03-05 Angus Leeming <leeming@lyx.org>
7029 * LyXAction.C (init):
7030 * src/factory.C (createInset):
7031 * lyxfunc.C (getStatus):
7032 * text3.C (dispatch):
7033 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7035 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7037 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * ParagraphList.C (insert): handle insert right before end()
7040 (erase): fix cases where it can be first or last paragraph.
7042 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7045 Paragraph::next and Paragraph::previous
7048 * text.C (breakParagraph): adjust
7050 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7051 BufferParams& as arg.
7052 (breakParagraph): use ParagraphList::insert
7053 (breakParagraphConservative): take a Buffer* instead of a
7054 BufferParams& as arg.
7055 (breakParagraphConservative): use ParagraphList::insert.
7057 * buffer.C (insertStringAsLines): un-const it
7058 (insertStringAsLines): adjust
7060 * ParagraphList.C (insert): new function
7062 * CutAndPaste.C (pasteSelection): adjust
7064 * text.C (backspace): adjust
7066 * tabular.C (SetMultiColumn): adjust
7068 * CutAndPaste.C (cutSelection): adjust
7069 (pasteSelection): adjust
7071 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7072 Buffer const * as arg
7074 * ParagraphList.C (erase): new function
7075 * paragraph_funcs.C (mergeParagraph): use it
7076 (mergeParagraph): make it take a Buffer* instead of a
7077 BufferParams* as arg
7079 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7081 (breakParagraphConservative): ditto
7083 * paragraph.h: remove the breakParagraph friend
7085 * paragraph.C (eraseIntern): new function
7086 (setChange): new function
7088 * paragraph_funcs.C (mergeParagraph): make it take a
7089 ParagraphList::iterator instead of a Paragraph *, adjust
7092 * paragraph.h: move an #endif so that the change tracking stuff
7093 also works in the NO_NEXT case.
7095 2003-03-04 Angus Leeming <leeming@lyx.org>
7098 * LyXAction.C: new LFUN_INSET_MODIFY.
7100 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7101 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7103 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * several files: ws changes only
7107 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7108 (TeXEnvironment): ditto
7111 * buffer.C (makeLaTeXFile): adjust
7112 (latexParagraphs): make it take ParagraphList::iterator as args
7114 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * buffer.C (latexParagraphs): adjust
7118 * paragraph.C (TeXOnePar): move function...
7119 (optArgInset): move function...
7120 (TeXEnvironment): move function...
7121 * paragraph_pimpl.C (TeXDeeper): move function...
7122 * paragraph_funcs.C: ...here
7124 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7126 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * buffer.C (readInset): remove compability code for old Figure and
7131 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * buffer.C: ws changes
7136 * BufferView_pimpl.C: ditto
7139 * bufferlist.h: ditto
7143 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7145 * converter.[Ch]: split into itself +
7148 * Makefile.am: += graph.[Ch] + format.[Ch]
7155 * lyxrc.C: added #include "format.h"
7157 2003-02-27 Angus Leeming <leeming@lyx.org>
7159 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7162 * factory.C (createInset): add "label" to the factory.
7164 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7165 string and do no more.
7167 2003-02-27 Angus Leeming <leeming@lyx.org>
7170 * LyXAction.C (init):
7171 * factory.C (createInset):
7172 * BufferView_pimpl.C (dispatch):
7173 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7175 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7177 * lyxfunc.C (dispatch):
7178 * text3.C (dispatch): pass name to params2string.
7180 2003-02-26 Angus Leeming <leeming@lyx.org>
7182 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7184 Rearrange the ~includes. Strip out the unnecessary ones.
7186 * factory.C (createInset): reformat.
7187 create new insets for the various LFUN_XYZ_APPLY lfuns.
7189 2003-02-26 John Levon <levon@movementarian.org>
7192 * lyxrow.C: add isParStart,isParEnd helpers
7194 * paragraph.h: make isInserted/DeletedText take refs
7196 * paragraph_funcs.h:
7197 * paragraph_funcs.C: remove #if 0'd code
7202 * text.C: use lyxrow helpers above.
7203 Move draw and paint routines to RowPainter.
7204 Make several methods use refs not pointers.
7205 Make backgroundColor() const.
7206 Add markChangeInDraw(), isInInset().
7207 Merge changeRegionCase into changeCase.
7208 Make workWidth() shouldn't-happen code into an Assert.
7211 * rowpainter.C: new class for painting a row.
7214 * vspace.C: make inPixels take a ref
7216 2003-02-26 Angus Leeming <leeming@lyx.org>
7218 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7221 2003-02-25 John Levon <levon@movementarian.org>
7223 * ispell.C: give the forked command a more accurate name
7225 2003-02-22 John Levon <levon@movementarian.org>
7228 * toc.C: make TocItem store an id not a Paragraph *
7231 2003-02-21 Angus Leeming <leeming@lyx.org>
7233 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7234 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7235 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7236 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7237 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7238 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7240 * BufferView_pimpl.C (dispatch):
7241 * LyXAction.C (init):
7242 * factory.C (createInset):
7243 * lyxfunc.C (getStatus, dispatch):
7244 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7246 2003-02-21 Angus Leeming <leeming@lyx.org>
7248 * BufferView_pimpl.C (MenuInsertLyXFile):
7249 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7250 * lyxfunc.C (menuNew, open, doImport):
7251 no longer pass a LyXView & to fileDlg.
7253 2003-02-21 Angus Leeming <leeming@lyx.org>
7255 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7256 * LyXAction.C: change, BIBKEY to BIBITEM.
7257 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7258 Change InsetBibKey to InsetBibitem.
7259 Change BIBKEY_CODE to BIBITEM_CODE.
7260 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7261 * factory.C: replace insetbib.h with insetbibitem.h.
7262 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7263 * paragraph.C: replace insetbib.h with insetbibitem.h.
7264 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7265 Change bibkey() to bibitem().
7266 * text.C: remove insetbib.h.
7267 * text2.C: replace insetbib.h with insetbibitem.h.
7268 change bibkey() to bibitem().
7269 * text3.C: remove insetbib.h.
7270 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7272 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7274 * lyxrc.C (output): enclose user email in quotes (in case there are
7277 2003-02-18 John Levon <levon@movementarian.org>
7279 * buffer.h: add std::
7281 2003-02-17 John Levon <levon@movementarian.org>
7287 * pspell.C: reworking. Especially in ispell, a large
7288 number of clean ups and bug fixes.
7290 * lyxfunc.C: fix revert to behave sensibly
7292 2003-02-17 André Pönitz <poenitz@gmx.net>
7295 * commandtags.h: new LFUN_INSERT_BIBKEY
7305 * paragraph_func.C: remove special bibkey handling
7307 2003-02-17 John Levon <levon@movementarian.org>
7309 * text.C (Delete): fix case where delete at the end of
7310 the very first paragraph would not merge the pars
7312 2003-02-17 John Levon <levon@movementarian.org>
7314 * lyxrow.C: fix lastPrintablePos()
7316 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7318 * bufferparams.C (writeLaTeX): add a std:here
7320 * buffer.C: and remove a using directive there
7322 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7324 * buffer.C (makeLaTeXFile): move the code that generates the
7327 * bufferparams.C (writeLaTeX): ... in this new method
7329 * LaTeXFeatures.C (getEncodingSet): make const
7330 (getLanguages): make const
7332 * MenuBackend.C (binding): returns the binding associated to this
7334 (add): sets the status of each item by calling getStatus. Adds
7336 (read): add support for OptSubMenu
7337 (expand): remove extra separator at the end of expanded menu
7339 2003-02-15 John Levon <levon@movementarian.org>
7342 * BufferView_pimpl.C:
7344 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7345 inset code that had no actual effect. Remove unneeded status
7348 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7350 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7353 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7355 * text.C (drawLengthMarker): also draw an arrow marker for
7356 symbolic lengths (medskip...)
7358 2003-02-14 John Levon <levon@movementarian.org>
7361 * tabular.C: better method names
7363 2003-02-14 John Levon <levon@movementarian.org>
7365 * BufferView_pimpl.C:
7370 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7371 it's a more accurate name. Remove some pointless uses.
7373 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7375 * text2.C (LyXText): change order of initilizers to shut off
7378 2003-02-14 John Levon <levon@movementarian.org>
7380 * buffer.C: use ParIterator for getParFromID()
7384 * paragraph_pimpl.h:
7385 * paragraph_pimpl.C: remove unused getParFromID()
7387 2003-02-14 John Levon <levon@movementarian.org>
7389 * buffer.C: remove some very old #if 0'd parse code
7391 2003-02-13 John Levon <levon@movementarian.org>
7395 * text2.C: move hfillExpansion(), numberOfSeparators(),
7396 rowLast(), rowLastPrintable(), numberofHfills(),
7397 numberOfLabelHfills() ...
7400 * lyxrow.C: ... to member functions here.
7405 * text.C: remove LyXText::beginningOfMainBody(), and call
7406 p->beginningOfMainBody() directly. Move the check for
7407 LABEL_MANUAL into the latter.
7414 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7420 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7421 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7423 2003-02-13 John Levon <levon@movementarian.org>
7425 * CutAndPaste.C: remove debug
7427 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7429 * paragraph.C (asString): remove two unused variables
7431 * lyxtextclass.C (readTitleType):
7433 (LyXTextClass): handle new members titletype_ and titlename_
7435 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7437 2003-02-09 John Levon <levon@movementarian.org>
7440 * buffer.C: replace hand-coded list with a map for the dep clean
7442 2003-02-08 John Levon <levon@movementarian.org>
7444 * LaTeX.C: consolidate code into showRunMessage() helper
7446 2003-02-08 John Levon <levon@movementarian.org>
7451 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7452 and pass the size in explicitly
7454 * BufferView_pimpl.h:
7455 * BufferView_pimpl.C:
7457 * BufferView.C: add getCurrentChange()
7459 * BufferView_pimpl.h:
7460 * BufferView_pimpl.C: handle change lfuns
7462 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7463 for changes. Mark pasted paragraphs as new.
7465 * support/lyxtime.h:
7466 * support/lyxtime.C:
7467 * DepTable.C: abstract time_t as lyx::time_type
7470 * LColor.C: add colours for new text, deleted text, changebars
7472 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7473 package use "usenames" option.
7477 * LyXAction.C: add change lfuns
7481 * author.C: author handling
7484 * buffer.C: add a per-buffer author list, with first entry as
7485 current author. Handle new .lyx tokens for change tracking. Output
7486 author list to .lyx file. Output dvipost stuff to .tex preamble.
7487 Bump lyx format to 222.
7490 * bufferlist.C: add setCurrentAuthor() to reset current author details
7494 * bufferparams.C: add param for tracking
7496 * bufferview_funcs.C: output change info in minibuffer
7500 * changes.C: add change-tracking structure
7503 * debug.C: add CHANGES debug flag
7506 * lyxfind.C: add code for finding the next change piece
7509 * lyxrc.C: add user_name and user_email
7512 * lyxrow.C: add a metric for the top of the text line
7515 * text.C: implement accept/rejectChange()
7518 * text.C: paint changebars. Paint new/deleted text in the chosen
7519 colours. Strike through deleted text.
7523 * paragraph_pimpl.h:
7524 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7525 in the current change to the insert functions. Rework erase to
7526 mark text as deleted, adding an eraseIntern() and a range-based
7527 erase(). Implement per-paragraph change lookup and
7530 * paragraph_funcs.C: Fixup paste for change tracking.
7532 * tabular.C: mark added row/columns as new.
7534 * text.C: fix rowLast() to never return -1. Don't allow
7535 spellchecking of deleted text. Track transpose changes. Don't
7536 allow paragraph break or merge where appropriate.
7538 * text2.C: leave cursor at end of selection after a cut.
7540 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7542 * text.C (getLengthMarkerHeight):
7543 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7544 visible on screen too.
7546 2003-02-07 John Levon <levon@movementarian.org>
7548 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7550 2003-02-05 Angus Leeming <leeming@lyx.org>
7552 * lyxserver.C (read_ready): revert my patch of 11 September last year
7553 as it sends PC cpu through the roof. Presumably this means that
7554 the lyxserver will no longer run on an Alpha...
7556 2003-01-30 Angus Leeming <leeming@lyx.org>
7558 * factory.C (createInset): create an InsetCommandParam of type "index"
7559 and use it to 'do the right thing'.
7561 * text2.C (getStringToIndex): ensure that cursor position is always
7562 reset to the reset_cursor position.
7564 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7566 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7569 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7573 * lyxfunc.C: Output messages with identical spelling, punctuation,
7576 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7578 * MenuBackend.C (expandFormats): List only viewable export formats
7581 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7584 * lyxfunc.C (getStatus): Make sure that formats other than
7585 "fax" can also be disabled
7587 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7589 * text3.C (dispatch): put the lfuns that insert insets in 3
7590 groups, and call doInsertInset with appropriate arguments.
7591 (doInsertInset): new function, that creates an inset and inserts
7592 it according to some boolean parameters.
7594 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * buffer.C (readFile): remember to pass on 'par' when calling
7597 readFile recursively.
7599 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7601 * MenuBackend.C (expandFormats): add "..." to import formats.
7603 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7605 * paragraph.C (asString): Remove XForms RTL hacks.
7607 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7608 * buffer.C: fix typo
7610 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * Makefile.am (LIBS): delete var
7613 (lyx_LDADD): add @LIBS@ here instead.
7615 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7617 * Clarify the meaning of "wheel mouse jump"
7619 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7621 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7624 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7626 * importer.C (Loaders): do not preallocate 3 elements in the
7627 vector, since one ends up with 6 elements otherwise
7629 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7631 * DepTable.C (write): write the file name as last element of the
7632 .dep file (because it may contain spaces)
7633 (read): read info in the right order
7635 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7637 * paragraph_pimpl.C (simpleTeXBlanks):
7638 (simpleTeXSpecialChars):
7639 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7641 * tabular.C (latex): add some missing case statements. Reindent.
7643 * MenuBackend.C (expandToc): remove unused variable.
7645 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7654 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7657 2003-01-05 John Levon <levon@movementarian.org>
7660 * BufferView.C: add getEncoding()
7663 * kbsequence.C: do not store last keypress
7666 * lyxfunc.C: store last keypress here instead. Pass encoding
7669 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7671 * lyx_main.C (init): remove annoying error message when following
7672 symbolic links (bug #780)
7674 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7676 * text.C (insertChar):
7677 * lyxrc.C (getDescription): remove extra spaces
7679 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7681 * lyxrc.C (getDescription): remove extra spaces
7683 2002-12-20 John Levon <levon@movementarian.org>
7685 * text3.C: hack fix for page up/down across tall rows
7687 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7689 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7692 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7694 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7695 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7696 thesaurus is not compiled in
7698 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7700 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7702 2002-12-16 Angus Leeming <leeming@lyx.org>
7705 * lyx_main.C (init): remove override_x_deadkeys stuff.
7707 2002-12-12 John Levon <levon@movementarian.org>
7709 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7710 insert. Only remove shift modifier under strict
7713 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * MenuBackend.C (expandToc): fix crash.
7717 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * MenuBackend.C (expandToc): gettext on float names.
7721 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7723 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7724 implement bool empty() [bug 490]
7726 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7730 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * several files: ws changes
7734 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * text2.C (setCounter): clean up a bit, use boost.format.
7737 (updateCounters): initialize par upon declaration.
7739 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7740 if the layout exists. We do not just store the layout any more.
7741 (SwitchLayoutsBetweenClasses): use boost.format
7743 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7745 * converter.C (convert): if from and to files are the same, use a
7746 temporary files as intermediary
7748 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7751 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7753 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7755 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7757 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * tabular.C (asciiPrintCell): use string(size, char) instead of
7762 * sgml.C (openTag): fix order of arguments to string constructor
7765 * lyxfunc.C (dispatch): use boost.format
7767 * lots of files: change "c" -> 'c'
7769 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7771 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7773 2002-11-25 Angus Leeming <leeming@lyx.org>
7775 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7777 * lyx_main.C (init): compile fix.
7779 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * lyx_cb.C (start): boost.formatify
7782 do not include <iostream>
7784 * lengthcommon.C: ws only
7786 * boost-inst.C,BoostFormat.h: add more explict instantations
7788 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * lots of files: handle USE_BOOST_FORMAT
7792 2002-11-21 John Levon <levon@movementarian.org>
7794 * pspell.C: fix compile
7796 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7798 * lyxfunc.C (dispatch): use boost::format
7802 * lyxfont.C (stateText): use boost::format
7804 * lyx_main.C (LyX): use boost::format
7806 (queryUserLyXDir): ditto
7809 (typedef boost::function): use the recommened syntax.
7811 * importer.C (Import): use boost::format
7813 * debug.C (showLevel): use boost::format
7815 * converter.C (view): use boost::format
7820 * bufferview_funcs.C (currentState): use boost::format
7822 * bufferlist.C (emergencyWrite): use boost::format
7824 * buffer.C (readLyXformat2): use boost::format
7825 (parseSingleLyXformat2Token): ditto
7827 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7829 * LaTeX.C (run): use boost::format
7831 * Chktex.C (scanLogFile): use boost::format
7833 * BufferView_pimpl.C (savePosition): use boost::format
7834 (restorePosition): ditto
7835 (MenuInsertLyXFile): ditto
7837 * BoostFormat.h: help file for explicit instation.
7839 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7841 * tabular.C (latex): Support for block alignment in fixed width
7844 2002-11-17 John Levon <levon@movementarian.org>
7846 * BufferView_pimpl.C:
7848 * lyxfunc.C: split filedialog into open/save
7850 2002-11-08 Juergen Vigna <jug@sad.it>
7852 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7853 by my last patch (hopefully).
7855 2002-11-08 John Levon <levon@movementarian.org>
7864 * toc.C: ParConstIterator, and use it (from Lars)
7866 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7868 * lyxtextclass.[Ch]: revise and add doxygen comments
7870 2002-11-07 John Levon <levon@movementarian.org>
7872 * text.C: fix progress value for spellchecker
7874 * toc.C: fix navigate menu for insetwrap inside minipage
7876 * paragraph_funcs.C: added FIXME for suspect code
7878 2002-11-07 John Levon <levon@movementarian.org>
7880 * BufferView_pimpl.C: fix redrawing of insets
7883 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7885 * text2.C (updateCounters): fix bug 668
7887 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7889 * text3.C (dispatch): Do not make the buffer dirty when moving the
7892 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * vc-backend.C: STRCONV
7897 * text2.C (setCounter): STRCONV
7899 * paragraph.C (asString): STRCONV
7901 * lyxlength.C (asString): STRCONV
7902 (asLatexString): ditto
7904 * lyxgluelength.C (asString): STRCONV
7905 (asLatexString): ditto
7907 * lyxfunc.C (dispatch): STRCONV
7910 * lyxfont.C (stateText): STRCONV
7912 * importer.C (Import): STRCONV
7914 * counters.C (labelItem): STRCONV
7915 (numberLabel): ditto
7916 (numberLabel): remove unused ostringstream o
7921 * bufferview_funcs.C (currentState): STRCONV
7923 * buffer.C (readFile): STRCONV
7924 (asciiParagraph): ditto
7925 (makeLaTeXFile): ditto
7927 * Spacing.C (writeEnvirBegin): STRCONV
7929 * LaTeXFeatures.C (getLanguages): STRCONV
7930 (getPackages): ditto
7932 (getBabelOptions): ditto
7933 (getTClassPreamble): ditto
7934 (getLyXSGMLEntities): ditto
7935 (getIncludedFiles): ditto
7939 (scanAuxFile): ditto
7942 * LString.h: add the STRCONV macros
7944 * BufferView_pimpl.C (savePosition): STRCONV
7945 (restorePosition): ditto
7946 (MenuInsertLyXFile): ditto
7948 * vc-backend.C (scanMaster): change from submatch[...] to
7951 * funcrequest.C: include config.h
7953 * factory.C: include config.h
7955 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7957 * box.C: include config.h
7959 * LaTeX.C (scanAuxFile): change from submatch[...] to
7963 2002-10-25 Angus Leeming <leeming@lyx.org>
7965 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7967 * ispell.[Ch] (setError): new method.
7968 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7969 Use setError() insetead of goto END.
7971 * lyx_cb.C (AutoSave): move out child process into new class
7974 2002-10-30 John Levon <levon@movementarian.org>
7976 * text3.C: make start appendix undoable
7978 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7980 * lyxlength.C (inPixels): Fix returned value.
7982 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7985 2002-10-24 Angus Leeming <leeming@lyx.org>
7987 * lyxgluelength.h: no need to forward declare BufferParams
7988 or BufferView, so don't.
7990 2002-10-21 John Levon <levon@movementarian.org>
7992 * BufferView.C: menuUndo ->undo, redo
7994 * BufferView.h: document, remove dead, make some methods private
7996 * paragraph_funcs.h:
7997 * paragraph_funcs.C:
7998 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8003 * sgml.C: move sgml open/close tag into sgml.C
8005 * bufferview_funcs.h: unused prototype
8008 * lyxfunc.C: remove unused
8011 * text.C: remove unused
8013 2002-10-21 John Levon <levon@movementarian.org>
8017 * BufferView_pimpl.h:
8018 * BufferView_pimpl.C: fix mouse wheel handling based on
8019 patch from Darren Freeman
8021 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8023 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8025 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8027 * lyxlength.C (inPixels): Fix hanfling of negative length.
8028 Fix LyXLength::MU case.
8030 2002-10-16 John Levon <levon@movementarian.org>
8032 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8034 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8036 * converter.C (view): add support for $$i (file name) and $$p
8037 (file path) for the viewer command. If $$i is not specified, then
8038 it is appended to the command (for compatibility with old syntax)
8040 2002-10-14 Juergen Vigna <jug@sad.it>
8042 * undo_funcs.C (textHandleUndo): alter the order in which the
8043 new undopar is added to the LyXText, as we have to set first
8044 the right prev/next and then add it as otherwise the rebuild of
8045 LyXText is not correct. Also reset the cursor to the right paragraph,
8046 with this IMO we could remove the hack in "redoParagraphs()".
8048 2002-10-09 Angus Leeming <leeming@lyx.org>
8050 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8051 to turn off an optimisation if a new inset is to be inserted.
8053 2002-10-11 André Pönitz <poenitz@gmx.net>
8055 * lyxtext.h: make some functions public to allow access
8056 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8058 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8060 * text3.C (dispatch): when changing layout, avoid an infinite loop
8063 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8065 * lyxrc.C (read): treat a viewer or converter command of "none" as
8068 * MenuBackend.C (expandFormats): for an update, also allow the
8069 formats that are not viewable
8071 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8072 script if it is newer than the lyxrc.defaults in user directory
8074 2002-10-07 André Pönitz <poenitz@gmx.net>
8076 * text.C: Vitaly Lipatov's small i18n fix
8078 2002-09-25 Angus Leeming <leeming@lyx.org>
8080 * ispell.h: doxygen fix.
8082 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8084 * buffer.h (readFile): Add a new argument to the method, to allow
8085 reading of old-format templates.
8087 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8089 * toc.C (getTocList): Get TOC from InsetWrap.
8091 2002-09-16 John Levon <levon@movementarian.org>
8093 * lyxfunc.C: check tabular for cut/copy too
8095 2002-09-12 John Levon <levon@movementarian.org>
8100 * factory.C: add header
8102 * paragraph_funcs.h:
8103 * paragraph_funcs.C: cleanup
8105 2002-09-11 John Levon <levon@movementarian.org>
8107 * PrinterParams.h: odd/even default to true
8109 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8111 * PrinterParams.h: update printer parameters for new xforms dialog
8113 2002-09-11 Angus Leeming <leeming@lyx.org>
8115 * lyxserver.C (read_ready): re-write to make it more transparent
8116 and to make it work in coherent fashion under Tru64 Unix.
8118 2002-09-11 André Pönitz <poenitz@gmx.net>
8122 * text3.C: implement LFUN_WORDSEL
8124 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8126 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8127 make floatlist_ a boost::shared_ptr<FloatList>
8129 * lyxtextclass.C: include FloatList.h
8130 (LyXTextClass): initialize floatlist_
8131 (TextClassTags): add TC_NOFLOAT
8132 (Read): match "nofloat" to TC_NOFLOAT and use it.
8133 (readFloat): modify call to floatlist_
8137 * FloatList.[Ch] (FloatList): remove commented out float
8139 (erase): new function
8141 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8143 * MenuBackend.C (expandToc): fix crash when there is no document
8146 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8148 * many files: Add insetwrap.
8150 2002-09-09 John Levon <levon@movementarian.org>
8152 * text2.C: remove confusing and awkward depth wraparound
8154 2002-09-09 John Levon <levon@movementarian.org>
8156 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8159 * buffer.C: remove getIncludeonlyList()
8162 * lyxfunc.C: remove headers
8164 2002-09-09 Juergen Vigna <jug@sad.it>
8166 * text.C (getColumnNearX): fix form Michael this is most
8167 probably a cut&paste bug.
8169 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8171 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8173 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8174 references, ws changes.
8176 * text2.C (init): update counters after init
8177 (insertParagraph): no need to set counter on idividual paragraphs.
8178 (setCounter): access the counters object in the textclass object
8179 on in the buffer object.
8180 (updateCounters): ditto
8182 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8183 shared_ptr<Counters> to avoid loading counters.h in all
8185 (LyXTextClass): initialize ctrs_
8186 (TextClassTags): add TC_COUNTER, and ...
8187 (Read): use it here.
8188 (CounterTags): new tags
8189 (readCounter): new function
8190 (counters): new funtion
8191 (defaultLayoutName): return a const reference
8193 * counters.C (Counters): remove contructor
8194 (newCounter): remove a couple of unneeded statements.
8195 (newCounter): simplify a bit.
8196 (numberLabel): some small formatting changes.
8198 * buffer.[Ch]: remove all traces of counters, move the Counters
8199 object to the LyXTextClass.
8201 2002-09-06 Alain Castera <castera@in2p3.fr>
8203 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8204 package to set the horizontal alignment on fixed width columns.
8207 * lyx_sty.h: added tabularnewline macro def.
8209 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8211 2002-09-06 John Levon <levon@movementarian.org>
8213 * LyXAction.C: tooltips for sub/superscript
8215 * MenuBackend.C: a bit more verbose
8217 * lyxfunc.C: tiny clean
8219 * undo_funcs.C: document undo_frozen
8221 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8223 * counters.C (Counters): add missing algorithm counter.
8225 * text2.C (setCounter): lookup the counter with layouts latexname
8226 instead of by section number.
8227 (setCounter): use a hackish way to lookup the correct enum
8229 a float name->type change
8230 reset enum couners with counter name directly instead of depth value.
8232 * counters.C (Counters): remove the push_backs, change to use the
8233 float type not the float name.
8234 (labelItem): remove unused string, float name->type change
8236 * counters.h: don't include vector, loose the enums and sects vectors
8238 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8241 (Read): add float->TC_FLOAT to textclassTags
8242 (Read): and handle it in the switch
8243 (readFloat): new function
8245 * FloatList.C (FloatList): comment out the hardcoded float
8248 * lyxlayout.h: ws change.
8250 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8252 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8254 2002-09-03 Angus Leeming <leeming@lyx.org>
8256 * BufferView_pimpl.h: qualified name is not allowed in member
8257 declaration: WorkArea & Pimpl::workarea() const;
8259 * factory.C: added using std::endl directive.
8261 * text3.C: added using std::find and std::vector directives.
8263 2002-08-29 André Pönitz <poenitz@gmx.net>
8266 * text2.C: remove unused member number_of_rows
8269 * BufferView2.C: remove file, move contents to...
8270 * BufferView.C: ... here
8272 * BufferView_pimpl.C:
8273 * factory.C: move more inset creation to factory
8275 * vspace.C: avoid direct usage of LyXText, ws changes
8278 don't provide direct access to WorkArea, use two simple
8279 acessors haveSelction() and workHeight() instead
8282 2002-08-29 John Levon <levon@movementarian.org>
8284 * BufferView_pimpl.C (dispatch): do not continue when
8287 2002-08-28 André Pönitz <poenitz@gmx.net>
8289 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8292 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8294 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8296 * buffer.C: increment LYX_FORMAT to 221
8298 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8299 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8301 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8303 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8305 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8307 * factory.C (createInset): use LyXTextClass::floats
8309 * MenuBackend.C (expandFloatListInsert):
8310 (expandFloatInsert):
8313 * text2.C (setCounter):
8315 * LaTeXFeatures.C (useFloat):
8316 (getFloatDefinitions):
8318 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8320 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8321 floatlist_, with accessor floats().
8323 * FloatList.h: remove global FloatList
8325 2002-08-26 André Pönitz <poenitz@gmx.net>
8327 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8331 * BufferView_pimpl.C:
8332 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8334 2002-08-25 John Levon <levon@movementarian.org>
8336 * LyXAction.C: fix margin note description
8338 2002-08-24 John Levon <levon@movementarian.org>
8342 * bufferview_funcs.C:
8344 * undo_funcs.C: cleanups
8346 * lyxfunc.C: disable CUT/COPY when no selection
8348 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8350 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8351 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8353 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8354 Add backward compatibility to "mono", "gray" and "no".
8356 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8358 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8359 (and file_format >= 200).
8361 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8363 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8365 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8369 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8371 * BufferView_pimpl.C:
8378 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8379 inset and code to make it work with the paragraph code. The inset
8380 can be anywhere in the paragraph, but will only do the expected
8381 thing in LaTeX if the layout file contains the parameter line
8383 (or more generally, a nonzero value) for that layout.
8385 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * paragraph.h: remove the declaration of undefined counters class
8390 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8392 * text2.C (setCounter): fixed enumeration mis-count as reported by
8393 Dr. Richard Hawkins.
8395 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8397 * paragraph_funcs.h: remove some unneeded includes
8399 * text.C (backspace): pasteParagraph now in global scipe
8401 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8402 (pasteSelection): ditto
8404 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8405 * paragraph_funcs.C (pasteParagraph): ... here
8407 2002-08-20 André Pönitz <poenitz@gmx.net>
8409 * commandtags.h: new LFUNs for swapping/copying table row/colums
8412 * lyxfunc.C: support for new lfuns
8414 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8417 * buffer.[Ch]: remove NO_COMPABILITY stuff
8419 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * boost.C (throw_exception): new file, with helper function for
8422 boost compiled without exceptions.
8427 * ParameterStruct.h:
8428 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8430 * bufferlist.C (emergencyWriteAll): use boost bind
8432 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8434 * text.C: include paragraph_funcs.h
8435 (breakParagraph): breakParagraph is now in global scope
8437 * paragraph_funcs.[Ch]: new files
8439 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8442 * buffer.C: include paragraph_funcs.h
8443 (insertStringAsLines): breakParagraph is now in global scope
8445 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8448 * CutAndPaste.C: include paragraph_funcs.h
8449 (cutSelection): breakParagraphConservative is now in global scope
8450 (pasteSelection): ditto
8452 * buffer.h: declare oprator== and operator!= for
8453 Buffer::inset_iterator
8455 * bufferlist.C (emergencyWrite): don't use fmt(...)
8457 * text3.C: add using std::endl
8459 * BufferView.C (moveCursorUpdate): remove default arg
8461 2002-08-20 André Pönitz <poenitz@gmx.net>
8463 * buffer.[Ch]: move inline functions to .C
8466 * BufferView_pimpl.C:
8468 * buffer.[Ch]: use improved inset_iterator
8471 * paragraph.[Ch]: write one paragraph at a time
8473 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8475 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8476 style if style is not specified.
8478 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8480 * text2.C (setCounter): when searching for right label for a
8481 caption, make sure to recurse to parent insets (so that a caption
8482 in a minipage in a figure float works) (bug #568)
8484 2002-08-20 André Pönitz <poenitz@gmx.net>
8486 * text3.C: new file for LyXText::dispatch() and helpers
8488 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8490 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8492 2002-08-19 André Pönitz <poenitz@gmx.net>
8495 * text.C: new LyXText::dispatch()
8497 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8499 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8501 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8503 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8506 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8508 * Makefile.am: use $(variables) instead of @substitutions@
8510 2002-08-15 André Pönitz <poenitz@gmx.net>
8513 * BufferView_pimpl.C: streamlining mathed <-> outer world
8517 * LyXAction.C: remove unused LFUN_MATH
8519 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8521 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8523 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8525 * paragraph.C (Paragraph): reformat a bit
8526 (cutIntoMinibuffer): use builtin InsetList function instad of
8530 * buffer.C: include boost/bind.hpp, add using std::for_each
8531 (writeFileAscii): use ParagraphList iterators
8532 (validate): use for_each for validate traversal of paragraphs
8533 (getBibkeyList): use ParagraphList iterators
8534 (resizeInsets): use for_each to resizeInsetsLyXText for all
8536 (getParFromID): use ParagraphList iterators
8538 * BufferView2.C (lockInset): use paragraph list and iterators
8540 2002-08-14 John Levon <levon@movementarian.org>
8542 * lyxserver.C: remove spurious xforms include
8544 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8546 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8548 2002-08-13 André Pönitz <poenitz@gmx.net>
8551 * lyxfunc.C: further cleaning
8553 2002-08-13 André Pönitz <poenitz@gmx.net>
8555 * funcrequest.h: new constructor
8557 * funcrequest.C: move stuff here from .h
8560 * BufferView_pimpl.C:
8563 * lyxfunc.C: subsequent changes
8565 * lyxfunc.h: new view() member function
8567 * lyxfunc.C: subsequent changes
8569 2002-08-13 Angus Leeming <leeming@lyx.org>
8572 * BufferView_pimpl.C:
8580 changes due to the changed LyXView interface that now returns references
8581 to member variables not pointers.
8583 2002-08-13 Angus Leeming <leeming@lyx.org>
8585 * WordLangTuple (word, lang_code): return references to strings,
8590 * lyxtext.h: forward-declare WordLangTuple.
8595 * text.C: #include "WordLangTuple.h".
8598 * text.C: (selectNextWordToSpellcheck): constify return type.
8600 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8606 * paragraph_pimpl.h:
8609 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8611 Made updateCounter always count from start of buffer, and removed
8612 second argument (par).
8613 Reverted floats number display to '#'. Perhaps I'll try again when the
8614 code base is sanitized a bit.
8616 2002-08-12 Angus Leeming <leeming@lyx.org>
8618 * buffer.[Ch] (getLabelList): constify.
8620 2002-08-07 André Pönitz <poenitz@gmx.net>
8622 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8624 * funcrequest.h: extension to keep mouse (x,y) position
8626 2002-08-12 Juergen Vigna <jug@sad.it>
8628 * BufferView2.C (insertErrors): forbid undo when inserting error
8631 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8633 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8635 * ParagraphList.[Ch]: new files
8637 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8639 * BufferView2.C (lockInset): ParagraphList changes
8642 * bufferlist.C: ditto
8646 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8649 unused class variable counter_,
8651 * paragraph.[Ch] (getFirstCounter): delete unused function
8653 * counters.C: include LAssert.h
8654 (reset): add a new function with no arg, change other version to
8655 not have def. arg and to not allow empty arg.
8657 * text2.C (setCounter): remove empty arg from call to Counters::reset
8659 2002-08-11 John Levon <levon@movementarian.org>
8661 * Makefile.am: add WordLangTuple.h
8663 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8666 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8668 * insets/insettext.C: InsetList changes
8670 * graphics/GraphicsSupport.C (operator()): InsetList changes
8672 * toc.C (getTocList): InsetList changes
8674 * paragraph_pimpl.[Ch]: InsetList changes
8676 * paragraph.[Ch]: InsetList changes
8678 * buffer.C (inset_iterator): InsetList changes
8679 (setParagraph): ditto
8680 * buffer.h (inset_iterator): ditto
8681 * iterators.C (operator++): ditto
8682 * iterators.h: ditto
8684 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8686 * InsetList.[Ch]: new files, most InsetList handling moved out of
8689 * BufferView2.C (removeAutoInsets): InsetList changes
8691 (ChangeInsets): ditto
8693 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8695 * paragraph_pimpl.h (empty): new function
8697 * paragraph.[Ch] (empty): new function
8699 * other files: use the new Paragraph::empty function
8701 2002-08-09 John Levon <levon@movementarian.org>
8703 * lyxtext.h: remove unused refresh_height
8705 2002-08-09 John Levon <levon@movementarian.org>
8712 * paragraph.C: move sgml char escaping out of paragraph
8715 * paragraph.C: remove id setter
8719 * paragraph_pimpl.C: remove dead tex_code_break_column
8721 * bufferview_funcs.C: small cleanup
8723 * lyxfunc.C: remove dead proto
8725 * lyxtext.h: make some stuff private. Remove some dead stuff.
8727 * lyxgluelength.C: make as[LyX]String() readable
8729 2002-08-08 John Levon <levon@movementarian.org>
8734 * ToolbarDefaults.C:
8737 * toc.C: lyxaction cleanup
8739 2002-08-08 John Levon <levon@movementarian.org>
8741 * BufferView2.C: small cleanup
8744 * lyxfind.C: move unnecessary header into the .C
8746 2002-08-08 John Levon <levon@movementarian.org>
8748 * funcrequest.h: just tedious nonsense
8751 * lyx_main.C: cleanups
8754 * vspace.C: remove dead header lyx_main.h
8756 2002-08-07 Angus Leeming <leeming@lyx.org>
8759 * paragraph_pimpl.h:
8760 Forward declare class Counters in paragraph.h by moving the ctrs member
8761 variable into Paragraph::Pimpl.
8762 (counters): new method, returning a reference to pimpl_->ctrs.
8764 * text2.C: ensuing changes.
8766 2002-08-07 John Levon <levon@movementarian.org>
8768 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8770 * BufferView_pimpl.C: announce X selection on double/triple
8773 * lyx_main.C: use correct bool in batch dispatch
8775 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8777 2002-08-07 André Pönitz <poenitz@gmx.net>
8779 * funcrequest.h: new class to wrap a kb_action and its argument
8782 * BufferView_pimpl[Ch]:
8786 * lyxrc.C: subsequent changes
8789 2002-08-07 John Levon <levon@movementarian.org>
8791 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8792 document options change.
8794 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8799 * makefile.am: move counters functionality over from
8800 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8802 2002-08-06 John Levon <levon@movementarian.org>
8804 * WordLangTuple.h: new file for word + language code tuple
8815 * BufferView2.C: use WordLangTuple
8818 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8820 2002-08-06 John Levon <levon@movementarian.org>
8822 * lyx_main.C: fix cmdline batch handling
8824 2002-08-06 André Pönitz <poenitz@gmx.net>
8826 * lyxrc.C: set default for show_banner to true
8828 2002-08-06 John Levon <levon@movementarian.org>
8830 * pspell.C: fix a crash, and allow new aspell to work
8832 2002-08-06 John Levon <levon@movementarian.org>
8835 * kbmap.C: small cleanup
8838 * vspace.C: add const
8840 2002-08-05 John Levon <levon@movementarian.org>
8842 * LyXAction.C: back to tabular-insert
8844 2002-08-04 John Levon <levon@movementarian.org>
8847 * BufferView.C: cosmetic change
8849 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8859 * BufferView2.C: purge all "Lyx" not "LyX" strings
8862 * lyxcursor.C: attempt to add some documentation
8867 * ToolbarDefaults.C:
8868 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8869 merge with LFUN_TABULAR_INSERT
8876 * pspell.C: split up i/pspell implementations into separate
8877 files, many cleanups
8879 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8881 * text2.C: some cleanup
8883 * lyxfunc.C: don't check for isp_command == "none" any more, it
8884 didn't make any sense
8886 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8891 * makefile.am: move counters functionality over
8892 from text2.C/paragraph.[Ch] to counters.[Ch], and
8894 2002-08-02 John Levon <levon@movementarian.org>
8896 * buffer.C: s/lyxconvert/lyx2lyx/
8898 2002-08-02 Angus Leeming <leeming@lyx.org>
8900 * lyxlex.C: revert John's change as it breaks reading of the user
8903 2002-08-02 Angus Leeming <leeming@lyx.org>
8905 * importer.C (Import):
8906 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8907 changes due to LyXView::view() now returning a boost::shared_ptr.
8909 2002-08-02 John Levon <levon@movementarian.org>
8911 * lyxlex.C: small cleanup
8913 2002-08-02 John Levon <levon@movementarian.org>
8915 * text2.C (status): small cleanup, no logic change
8917 2002-08-01 John Levon <levon@movementarian.org>
8920 * buffer.C (writeFile): don't output alerts, caller
8924 * lyx_cb.C: from above
8926 * lyxfunc.C: allow to open non-existent files
8928 2002-07-31 John Levon <levon@movementarian.org>
8930 * lyxserver.C: don't let incidental errors get
8933 2002-07-30 John Levon <levon@movementarian.org>
8935 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8937 2002-07-30 John Levon <levon@movementarian.org>
8940 * lyxserver.C: remove I/O callback too
8942 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8944 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8947 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * many files: strip,frontStrip -> trim,ltrim,rtrim
8951 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * PrinterParams.h: remove extern containsOnly, and include
8954 support/lstrings.h instead.
8956 * LaTeX.C (scanAuxFile): modify because of strip changes
8958 * buffer.C (makeLaTeXFile): ditto
8959 * bufferparams.C (writeFile): ditt
8960 * lyxfont.C (stateText): ditto
8961 * lyxserver.C (read_ready): ditto
8962 * vc-backend.C (scanMaster): ditto
8964 * BufferView_pimpl.h: ws changes
8966 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8968 2002-07-26 André Pönitz <poenitz@gmx.net>
8970 * kb_sequence.C: remove unnedred usings
8972 2002-07-26 Juergen Vigna <jug@sad.it>
8974 * lyxfind.C (LyXReplace): we have to check better if the returned
8975 text is not of theLockingInset()->getLockingInset().
8977 2002-07-25 Juergen Vigna <jug@sad.it>
8979 * lyxfind.C (LyXReplace): don't replace if we don't get the
8982 * undo_funcs.C (createUndo): remove debugging code.
8984 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8986 * buffer.C (parseSingleLyXformat2Token): Use default placement
8987 when reading old floats.
8989 * FloatList.C (FloatList): Change the default placement of figure
8990 and tables to "tbp".
8992 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8994 * MenuBackend.C: using std::max
8996 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * MenuBackend.C (expandToc):
8999 (expandToc2): code moved from xforms menu frontend. It is now
9000 generic and TOCs are transparent to menu frontends.
9002 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9004 * toc.C (getTocList): protect against buf=0
9006 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9007 Menu as first parameter. Now, this calls itself recursively to
9008 expand a whole tree (this will be useful for TOC handling)
9009 (expandFloatInsert): remove 'wide' version of floats
9011 * MenuBackend.h (submenuname): returns the name of the submenu.
9012 (submenu): returns the submenu itself, provided it has been
9013 created by MenuBackend::expand
9015 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9017 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9018 insets which have noFontChange == true. (bug #172)
9020 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9022 * BufferView_pimpl.C: add connection objects and use them...
9025 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9027 * MenuBackend.C (expandLastfiles):
9030 (expandFloatListInsert):
9031 (expandFloatInsert):
9032 (expand): split expand in parts
9034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9036 * lyx_gui.C: use lyx_gui::exit()
9038 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9040 * LyXAction.C: show the failing pseudo action
9042 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9044 * buffer.C (readFile): Run the lyxconvert script in order to read
9047 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9051 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9053 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9057 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9059 2002-07-22 Herbert Voss <voss@lyx.org>
9062 * lyxlength.[Ch]: add support for the vertical lengths
9064 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9066 * toc.[Ch]: std:: fixes
9068 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * lyxrc.C: do not include lyx_main.h
9072 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9078 * BufferView2.C: include "lyxlex.h"
9081 * bufferparams.h: do not #include "lyxlex.h"
9083 * lyxtextclasslist.C (Add): remove method
9084 (classlist): renamed to classlist_
9086 * paragraph_pimpl.C:
9090 * bufferview_funcs.C:
9095 * toc.C (getTocList): use BufferParams::getLyXTextClass
9097 * toc.C (getTocList): use InsetFloat::addToToc
9099 * toc.[Ch]: new files, containing helper functions to handle table
9102 * lyxfunc.C (dispatch): no need to remove spaces around command
9104 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9105 first command of the sequence; it is not very clever, but I do not
9106 have a better idea, actually
9108 * LyXAction.C (LookupFunc): make sure to remove space at the
9109 beginning and end of the command
9111 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9113 * MenuBackend.C (getMenubar): new method: return the menubar of
9115 (read): treat differently reading of menu and menubar (in
9116 particular, the menubar has no name now)
9117 (Menu::menubar): remove
9119 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9122 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9124 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9125 a bibitem inset in a RTL paragraph.
9127 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9129 * paragraph_pimpl.C: constify
9131 * BufferView_pimpl.C:
9133 * lyxfunc.C: fix dispatch in a nicer way
9135 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9137 * lyxfunc.C (dispatch):
9138 * BufferView_pimpl.C:
9139 * BufferView_pimpl.h:
9141 * BufferView.h: rename Dispatch() to dispatch()
9143 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9145 * lyxlayout.C (Read): honor DependsOn tag
9147 * lyxlayout.[Ch] (depends_on): new method
9149 * version.C.in: update lyx_docversion
9151 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9153 * paragraph.C (validate): remove from here...
9154 * paragraph_pimpl.C (validate): ... and move here
9155 (isTextAt): make it const
9157 * buffer.C (getLists): ws cleanup
9159 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9161 * language.C (read): Use iso8859-1 encoding in latex_lang
9162 (this prevents LyX from crashing when using iso10646-1 encoding).
9164 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9166 * text2.C (toggleInset): if cursor is inside an inset, close the
9167 inset and leave cursor _after_ it
9169 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9171 * lyxfunc.C: move minibuffer completion handling out of here
9173 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9175 * BufferView_pimpl.C:
9176 * LaTeX.C: fix dispatch calls
9178 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9180 * text.C (drawChars): Fix Arabic text rendering.
9182 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9186 * lyxfunc.C: remove message-push/pop
9190 * lyxfunc.C: rationalise some code by removing verboseDispatch
9191 in favour of a bool argument to dispatch()
9193 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * lyx_main.C (init): make sure to read symlinks as absolute paths
9197 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9200 * lyxfunc.C: no need for commandshortcut to be a member
9202 2002-07-15 André Pönitz <poenitz@gmx.net>
9204 * converter.C: add support for $$s (scripts from lib/scripts dir)
9205 * lyx_main.C: white space
9207 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9211 * lyxrc.C: remove second exit confirmation
9213 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9218 * BufferView_pimpl.h:
9219 * BufferView_pimpl.C:
9220 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9222 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * MenuBackend.C (expand): add numeric shortcuts to document menu
9226 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9228 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9230 * lyxfont.C (setLyXFamily):
9237 * buffer.C (asciiParagraph): use ascii_lowercase
9239 2002-07-15 Mike Fabian <mfabian@suse.de>
9241 * lyxlex_pimpl.C (search_kw):
9242 * lyxlex.C (getLongString):
9243 * converter.h (operator<):
9244 * converter.C (operator<):
9245 * buffer.C (parseSingleLyXformat2Token):
9247 * ToolbarDefaults.C (read):
9248 * MenuBackend.C (checkShortcuts):
9250 * LColor.C (getFromGUIName):
9251 (getFromLyXName): use the compare_ascii_no_case instead of
9252 compare_no_case, because in turkish, 'i' is not the lowercase
9253 version of 'I', and thus turkish locale breaks parsing of tags.
9255 2002-07-16 Angus Leeming <leeming@lyx.org>
9257 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9258 now takes a Buffer const & argument.
9260 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9262 * BufferView.C (resize): check there's a buffer to resize
9264 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9266 * lyxfunc.C: remove dead code
9269 * lyxserver.C: use lyx_guii::set_read_callback
9271 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9273 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9274 an inset in a RTL paragraph.
9276 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9278 * lyxfunc.C: repaint after a font size update
9280 2002-07-15 André Pönitz <poenitz@gmx.net>
9282 * lyxlength.C: inBP should be able to return negative values
9284 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9286 * lyxfunc.C: use lyx_gui::update_fonts()
9288 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9290 * lyxfunc.C: use lyx_gui::update_color()
9292 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9298 * lyxrc.C: remove file->new asks for name option, and let
9299 buffer-new take an argument
9301 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9303 * BufferView_pimpl.C: remove unneeded extra repaint()
9305 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9307 * LyXAction.C: allow command-sequence with NoBuffer
9309 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9311 2002-07-10 Angus Leeming <leeming@lyx.org>
9313 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9315 2002-07-09 Angus Leeming <leeming@lyx.org>
9317 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9319 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9321 * lengthcommon.h: whitespace
9323 * lyxfunc.C: update scrollbar after goto paragraph
9325 * lyxtext.h: factor out page break drawing, and fix it so
9326 page break/added space paints as selected nicely
9328 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9330 * BufferView_pimpl.C: add FIXMEs, clean up a little
9332 2002-07-09 André Pönitz <poenitz@gmx.net>
9334 * lyxfont.[Ch]: support for wasy symbols
9336 2002-07-08 André Pönitz <poenitz@gmx.net>
9338 * BufferView_pimpl.C: apply John's patch for #93.
9340 2002-07-05 Angus Leeming <leeming@lyx.org>
9342 * BufferView_pimpl.C (buffer): generate previews if desired.
9344 * LColor.h: add "preview" to the color enum.
9346 * LColor.C (LColor): add a corresponding entry to the items array.
9348 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9351 2002-07-05 Angus Leeming <leeming@lyx.org>
9353 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9354 The body of the code is now in the method that is passed an ostream &
9355 rather than a file name.
9356 Pass an additional only_preamble parameter, useful for the forthcoming
9359 2002-07-03 André Pönitz <poenitz@gmx.net>
9361 * lyxfunc.C: simplify getStatus() a bit for math stuff
9363 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9365 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9367 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9369 * text.C (changeRegionCase): do not change case of all the
9370 document when region ends at paragraph end (bug #461)
9372 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * paragraph.C (startTeXParParams):
9375 (endTeXParParams): add \protect when necessary
9377 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9379 * BufferView_pimpl.C (workAreaExpose): remove warning
9381 2002-06-27 Angus Leeming <leeming@lyx.org>
9383 * Makefile.am: add lyxlayout_ptr_fwd.h.
9385 2002-06-26 André Pönitz <poenitz@gmx.net>
9387 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9389 2002-06-25 Angus Leeming <leeming@lyx.org>
9391 * lyxfunc.C (dispatch): Comment out the call to
9392 grfx::GCache::changeDisplay. The method no longer exists now that the
9393 pixmap generation part of the graphics loader has been moved into
9396 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * text2.C: layout as layout
9400 * text.C: layout as layout
9402 * tabular.C (OldFormatRead): layout as layout
9404 * paragraph_pimpl.C (TeXDeeper): layout as layout
9405 (realizeFont): layout as layout
9407 * paragraph.C (writeFile): layout as layout
9408 (validate): layout as layout
9409 (getFont): layout as layout
9410 (getLabelFont): layout as layout
9411 (getLayoutFont): layout as layout
9412 (breakParagraph): layout as layout
9413 (stripLeadingSpaces): layout as layout
9414 (getEndLabel): layout as layout
9415 (getMaxDepthAfter): layout as layout
9416 (applyLayout): layout as layout
9417 (TeXOnePar): layout as layout
9418 (simpleTeXOnePar): layout as layout
9419 (TeXEnvironment): layout as layout
9420 (layout): layout as layout
9421 (layout): layout as layout
9423 * lyxtextclass.C (compare_name): new functor to work with
9424 shared_ptr, layout as layout
9425 (Read): layout as layout
9426 (hasLayout): layout as layout
9427 (operator): layout as layout
9428 (delete_layout): layout as layout
9429 (defaultLayout): layout as layout
9431 * lyxlayout_ptr_fwd.h: new file
9433 * lyxlayout.C (Read): layout as layout
9435 * lyx_cb.C (MenuInsertLabel): layout as layout
9437 * bufferlist.C (newFile): layout as layout
9439 * buffer.C (readLyXformat2): layout as layout
9440 (parseSingleLyXformat2Token): layout as layout
9441 (insertStringAsLines): layout as layout
9442 (asciiParagraph): layout as layout
9443 (latexParagraphs): layout as layout
9444 (makeLinuxDocFile): layout as layout
9445 (simpleLinuxDocOnePar): layout as layout
9446 (makeDocBookFile): layout as layout
9447 (simpleDocBookOnePar): layout as layout
9448 (getLists): layout as layout
9450 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9452 * CutAndPaste.C (cutSelection): layout as layout
9453 (pasteSelection): layout as layout
9454 (SwitchLayoutsBetweenClasses): layout as layout
9456 * BufferView_pimpl.C (Dispatch): layout as layout
9457 (smartQuote): layout as layout
9459 * BufferView2.C (unlockInset): layout as layout
9461 2002-06-24 André Pönitz <poenitz@gmx.net>
9463 * lyxfunc.C: fix #487
9465 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9469 * lyxfunc.C: remove display_shortcuts, show_banner
9471 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9473 * Buffer_pimpl.C: oops, update on resize
9475 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9482 * BufferView.C: use repaint()
9484 * BufferView_pimpl.h:
9485 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9486 as it's a clearer description. Remove superfluous
9489 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9491 * text.C: fix bug 488. Not ideal, but getting
9492 getWord() to work properly for the insets that
9493 matter is more difficult ...
9495 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9497 * BufferView_pimpl.C:
9500 * lyxfunc.C: remove the six million index lyxfuncs to just
9501 one, and DTRT (bug 458)
9503 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9507 * BufferView_pimpl.h:
9508 * BufferView_pimpl.C: clean up resize() stuff,
9509 and unnecessary updateScreen()s
9511 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9515 * BufferView_pimpl.h:
9516 * BufferView_pimpl.C:
9519 * minibuffer.C: remove focus management of workarea,
9520 not needed. Use screen's greyOut()
9522 2002-06-17 Herbert Voss <voss@lyx.org>
9524 * converter.C: (convert) do not post a message, when converting
9525 fails, let the calling function decide what to do in this case
9527 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9529 * lyxfunc.C: tidy up a little
9531 2002-06-16 <alstrup@diku.dk>
9533 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9534 Got rid of FORMS_H_LOCATION include. Now we are
9537 2002-06-15 LyX Development team <lyx@rilke>
9539 * buffer.[Ch] (sgmlOpenTag):
9540 (sgmlCloseTag): Added support for avoiding pernicious mixed
9541 content. Return number of lines written.
9544 (makeDocBookFile): Fixed calls to sgml*Tag.
9545 Simple white space clean.
9547 (simpleDocBookOnePar): Simple white space clean.
9549 * tabular.[Ch] (docBook): Renamed to docbook and got another
9550 argument to related with the pernicious mixed content.
9552 (docbookRow): Fixed calls for docbook inset method.
9554 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9556 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9557 so it's X11 independent.
9561 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9563 2002-06-15 Lyx Development team <lyx@electronia>
9565 * intl.h: Renamed getTrans to getTransManager.
9567 2002-06-14 Angus Leeming <leeming@lyx.org>
9569 * Makefile.am: nuke forgotten stl_string_fwd.h.
9571 2002-06-12 Angus Leeming <leeming@lyx.org>
9573 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9575 2002-06-13 Angus Leeming <leeming@lyx.org>
9578 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9580 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9582 * kbmap.C (getiso): add support for cyrillic and greek
9584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9588 * BufferView_pimpl.h:
9589 * BufferView_pimpl.C: move bogus scrolling logic
9592 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9595 * BufferView_pimpl.C: view->resize() change
9597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9599 * BufferView_pimpl.C: topCursorVisible
9602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9606 * lyx_gui.C: move to frontends/
9610 * lyx_main.C: changes from above
9612 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9619 * lyx_main.C: minor tidy
9621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9623 * BufferView_pimpl.h:
9624 * BufferView_pimpl.C:
9626 * BufferView.C: make painter() const,
9629 * BufferView2.C: use screen() accessor
9632 * lyx_main.C: some minor cleanup
9634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9636 * BufferView_pimpl.h:
9637 * BufferView_pimpl.C: remove enter/leaveView,
9640 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9645 * BufferView_pimpl.h:
9646 * BufferView_pimpl.C: only construct screen once,
9649 * lyxrc.C: remove pointless comment
9651 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9654 * BufferView.C: remove active() and belowMouse()
9656 * BufferView_pimpl.h:
9657 * BufferView_pimpl.C: use workarea() not workarea_,
9658 and make it use a scoped_ptr instead
9660 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9662 * lyx_gui.C: add debug message on BadWindow
9664 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9666 * sp_spell.C: fdopen is not part of the C++ standard.
9668 * paragraph.C (InsetIterator): use >= instead of ==
9670 2002-06-07 Angus Leeming <leeming@lyx.org>
9672 Fixes needed to compile with Compaq cxx 6.5.
9673 * BufferView_pimpl.C:
9680 * lyxtextclasslist.C:
9685 all c-library variables have been moved into namespace std. Wrap
9686 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9691 Add a using std::abs declaration.
9693 * kbmap.h (modifier_pair):
9694 * paragraph.h (InsetTable, InsetList):
9695 * lyxfont.h (FontBits):
9696 type definition made public.
9698 * bufferlist.C (emergencyWriteAll): the compiler complains that
9699 there is more than one possible lyx::class_fun template to choose from.
9700 I re-named the void specialisation as lyx::void_class_fun.
9702 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9704 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9705 the compiler is is unable to find tostr in write_attribute.
9707 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9709 * buffer.C (sgmlError): hide #warning
9711 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9713 * xtl/*: get rid of xtl, which is not in use anyway
9715 * LyXAction.C (init):
9716 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9717 were unimplemented xtl experimentation
9719 2002-06-04 André Pönitz <poenitz@gmx.net>
9721 * lyxfunc.C: disable array operation on simple formulae
9723 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9725 * converter.C: constify a bit
9727 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9729 * lyx_gui.C: check xforms version correctly
9731 2002-04-30 Herbert Voss <voss@lyx.org>
9733 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9736 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9738 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9739 attempt to register it with a VCS)
9741 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * lyx_main.C (init): honor variables LYX_DIR_13x and
9746 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9750 * lyx_main.C: fix a crash on bad command line,
9751 and give a useful exit status on error
9753 * lyxfunc.C (doImport): allow -i lyx to work
9755 2002-03-30 André Pönitz <poenitz@gmx.net>
9757 * lyxfunc.C: mathed font changes
9759 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9774 * trans_mgr.h: srcdocs, and some minor cleanups
9776 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9778 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9779 call getFont all the time)
9781 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * switch from SigC signals to boost::signals
9785 2002-05-29 André Pönitz <poenitz@gmx.net>
9787 * paragraph_pimpl.C (getChar): don't call size() too often...
9789 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9791 * paragraph_pimpl.C (insertChar): do not try to update tables when
9792 appending (pos == size())
9794 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9795 in order to reduce drastically the number of comparisons needed to
9796 parse a large document
9798 2002-05-29 André Pönitz <poenitz@gmx.net>
9804 * textclasslist.[Ch]:
9805 * sp_ispell.h: whitespace change
9807 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9810 lyxaction directly now.
9812 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9816 * lyxvc.C: remove unused headers
9818 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9825 * undo_funcs.C: some cleanups. Use shared_ptr
9826 and a template for the undo stacks.
9828 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9830 * BufferView_pimpl.h:
9831 * BufferView_pimpl.C:
9838 * text2.C: use key_state/mouse_state
9840 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9842 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9845 * chset.C: change include order
9846 (loadFile): use boost regex and get rid of LRegex and LSubstring
9848 * Makefile.am (BOOST_LIBS): new variable
9851 * LaTeX.C: change include order.
9852 (scanAuxFile): use boost regex and get rid of LRegex and
9856 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9861 * FontInfo.C: moved to frontends/xforms/
9864 * FontLoader.C: moved into frontends for GUIIzation
9869 * lyxfunc.C: changes from above
9871 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9873 * LColor.C: remove spurious X include
9875 * BufferView_pimpl.C:
9880 * text2.C: move font metrics to frontends/
9882 2002-05-24 Juergen Vigna <jug@sad.it>
9884 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9885 setting the undo_cursor.
9887 * ParagraphParameters.h: include local includes first.
9889 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9891 * BufferView_pimpl.C:
9892 * BufferView_pimpl.h:
9896 * screen.C: move WorkArea into frontends/
9902 * BufferView2.C: move LyXScreen into frontends/
9906 * lyx_gui.C: move lyxlookup into frontends/xforms/
9908 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9911 * BufferView_pimpl.C:
9921 * bufferview_funcs.C:
9934 * vc-backend.C: move LyX/XFormsView into frontends/
9936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9948 * text2.C: move Painter to frontends/
9950 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * buffer.C: comment out some some code that depend upon lyx_format
9955 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9956 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9958 * buffer.h (NO_COMPABILITY): turn off compability
9960 * ColorHandler.C: include scoped_array.hpp
9962 * font.C: Use more specific smart_ptr header.
9965 * ShareContainer.h: ditto
9969 * BufferView_pimpl.h: ditto
9970 * ColorHandler.h: ditto
9972 * kbmap.C (defkey): change call to shared_ptr::reset
9974 2002-05-21 Juergen Vigna <jug@sad.it>
9976 * buffer.C (insertErtContents): fix to insert ert asis if it is
9977 non empty. Skip it completely if it contains only whitespaces.
9979 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9981 * BufferView_pimpl.C:
9982 * BufferView2.C: clear selection on paste (bug 393)
9984 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * DepTable.C: include ctime
9988 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9990 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9992 2002-05-14 Juergen Vigna <jug@sad.it>
9994 * text.C (breakParagraph): fixed function to honor the keepempty
9995 layout in the right maner and also to permit the right breaking
9996 algorithm on empty or non empyt keepempty paragraphs.
9998 * paragraph.C (breakParagraph): we have to check also if the par
9999 is really empty (!size()) for isempty otherwise we do the wrong
10002 2002-05-10 Juergen Vigna <jug@sad.it>
10004 * buffer.[Ch] : The following are only changes to the ert
10005 compatibility read reading old LaTeX layout and font stuff and
10006 convert it to ERTInsets.
10008 * buffer.h: added isErtInset().
10010 * buffer.C (struct ErtComp): add a fromlayout bool to check
10011 if we're inside a LaTeX layout.
10012 (isErtInset): new helper function.
10013 (insertErtContents): look for other ert insets before this one
10014 and insert the contents there, so that we don't have subsequent
10015 ERT insets with nothing between them. This way we create only one
10016 inset with multiple paragraphs. Also check if we don't insert only
10017 spaces ' ' as they are ignored anyway afterwards in the .tex file
10018 so if we have only spaces we will ignore this latex part in the
10020 (parseSingleLyXformat2Token \\layout): better compatibility when
10021 reading layout-latex stuff.
10022 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10024 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10025 stuff after reading the inset only get the information back from
10028 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10030 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10032 * LaTeXFeatures.C (getBabelOptions): New method.
10034 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * BufferView_pimpl.C (Dispatch): work around missing argument for
10039 2002-05-08 Juergen Vigna <jug@sad.it>
10041 * text.C (leftMargin): handle paragraph leftindent.
10043 * paragraph.C (writeFile): write the new \\leftindent tag.
10044 (validate): handle leftindent code.
10045 (TeXEnvironment): handle paragraphleftindent code again.
10047 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10049 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10050 for paragrap_extra indent code and new token \\leftindent.
10051 (latexParagraphs): handle the leftindent as environment.
10053 * ParameterStruct.h: added leftindent support.
10055 * ParagraphParameters.C (leftIndent): added support functions for
10056 the paragraph left indent.
10058 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10061 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10063 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10066 * text.C (computeBidiTables): No bidi in insetERT.
10068 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10071 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * version.C.in: pre 5
10075 2002-05-02 José Matos <jamatos@fep.up.pt>
10076 * buffer.C (makeDocBookFile): white space changes, add newline to
10078 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10080 * tabular.C (docBook): fix typo.
10082 2002-05-03 Juergen Vigna <jug@sad.it>
10084 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10085 change in LyXText as we can not be sure it was not freed.
10086 (drawOneRow): remove unused code.
10088 * text.C (drawInset): redo the calculation of the need_break_row as
10089 it could have a row which was already freed.
10090 (draw): look at the return value of drawInset and return false if
10091 it also returned false.
10092 (paintRowText): look at the return value of draw and return false if
10093 it also returned false.
10095 * lyxtext.h: added bool return type to drawInset() and draw() so that
10096 if we have a change in the row so that the rowbreak has to be redone
10097 we abort drawing as it will be called again.
10099 2002-05-02 Juergen Vigna <jug@sad.it>
10101 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10102 a change in the maintext also if we're inside an inset.
10103 (Dispatch): set the cursor again after a break line and after the
10104 screen has been updated as it could be we're in a different row.
10106 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10107 to set the cursor behind the pargraph with > size().
10108 (setCursor): check also for the same paragraph when checking where
10109 to put the cursor if we have a NFR inset.
10111 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10112 parts of layout read further up as it still was in the wrong
10115 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * screen.C (drawFromTo): change sine fullRebreak always return
10120 * buffer.C (parseSingleLyXformat2Token): reindent some
10122 * BufferView_pimpl.C (update): change since fullRebreak always
10124 (Dispatch): git rid of the last hardcoded "Standard"s.
10126 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * text2.[Ch] (fullRebreak): make it return void now that we always
10131 2002-04-30 Juergen Vigna <jug@sad.it>
10133 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10134 ert compatibility check for "latex" layout.
10136 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10138 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10139 minipages: use col% instead of p%, and also use the current font.
10140 (makeLaTeXFile): Fix use babel condition.
10141 (parseSingleLyXformat2Token): Correct font when reading old floats.
10143 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10145 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10146 inserting list of floats.
10148 2002-04-25 Herbert Voss <voss@lyx.org>
10150 * MenuBackend.C (expand): don't add the graphics extensions to the
10153 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10156 non-existing layout, do not complain if it was the default layout
10157 of the original class (bug #342)
10159 2002-04-24 Juergen Vigna <jug@sad.it>
10161 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10162 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10164 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10166 * buffer.C (getBibkeyList): If using \bibliography, return the
10167 option field with the reference itself. Enables us to provide natbib
10168 support when using \bibliography.
10170 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10172 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10174 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10175 natbib is provided by the LaTeX class.
10177 2002-04-23 Juergen Vigna <jug@sad.it>
10179 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10182 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10184 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10188 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10189 ensuremath around textordmasculine, textordfeminine and
10192 2002-04-19 Juergen Vigna <jug@sad.it>
10194 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10195 reinitializing the buffer otherwise row-dimensions may be wrong.
10196 (update): reset also the selection cursors if they do exits otherwise
10197 their x/y positions may be wrong.
10199 * text2.C (cursorDown): don't enter the inset if we came from a row
10200 above and are one row over the inset.
10202 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10203 really leaving an inset.
10205 2002-04-18 Juergen Vigna <jug@sad.it>
10207 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10208 of the selected paragraph does not have the selected layout also if
10211 * text2.C (setLayout): fixed bug which did not change last selected
10214 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10215 changed the read and substituted \\end_float with \\end_inset!
10217 * BufferView_pimpl.C (cursorPrevious):
10218 (cursorNext): fixed to make it work with rows heigher than the work
10219 area without moving the cursor only the draw of the row.
10220 (workAreaMotionNotify): fix jumping over high rows.
10222 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10227 2002-04-16 Juergen Vigna <jug@sad.it>
10229 * text2.C (setCursor): set also the irow().
10230 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10232 (cursorDown): support for locking an inset if the x_fix value goes
10233 inside it. That way I can transverse insets too with cursor up/down.
10235 * lyxrow.h: added irow helper function same as other (i) functions.
10237 * BufferView_pimpl.C (cursorPrevious):
10238 (cursorNext): fixed for insets!
10240 2002-04-15 Juergen Vigna <jug@sad.it>
10242 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10243 position otherwise it is wrong in some cases.
10245 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10246 inside the inset before the call.
10248 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10250 * buffer.[Ch] (getBibkeyList): make it const.
10252 2002-04-12 Juergen Vigna <jug@sad.it>
10254 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10256 * text2.C (getCursorX): new helper function
10257 (setCursor): compute also ix_
10258 (setCursorFromCoordinates): set also ix.
10260 * lyxcursor.h: added ix_ and helper functions.
10262 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10264 * buffer.C (insertStringAsLines): dont break paragraph if the this
10265 paragraph is inside an inset which does not permit it!
10267 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10268 also with no chars on this paragraph.
10269 (paintRowText): only paint stuff if it's inside the workarea!
10271 * paragraph.C (breakParagraph): honor keepempty flag and break the
10272 paragraph always below not above.
10274 * BufferView2.C (unlockInset): update the paragraph layout on inset
10275 unlock as we changed paragraph in such a case.
10277 * lyxfind.C (LyXFind): clear the former selection if not found!
10279 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10280 again called in insertChar().
10282 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10283 an inset which uses the whole row!
10284 (rightMargin): ditto.
10285 (insertChar): force a rebreak if we inserted an inset!
10287 2002-03-28 Herbert Voss <voss@lyx.org>
10289 * lyxlength.[Ch]: add inBP() to get the right PS-point
10290 units (BigPoint). With inPixels we have rounding errors
10292 2002-04-11 Juergen Vigna <jug@sad.it>
10294 * text2.C (setCursorFromCoordinates): set iy to the right value.
10295 (setCursor): add check if row->previous exists!
10297 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10298 an old float_type as this was the case in the old code!
10300 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10302 * BufferView2.C (showLockedInsetCursor): use iy
10303 (fitLockedInsetCursor): ditto
10305 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10306 locked insets as there we have the right value now.
10308 * lyxcursor.C: added iy_ variable and iy functions to set to the
10309 baseline of cursor-y of the locked inset.
10311 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10312 (setCursor): fixed for insets which need a full row.
10314 * text.C (rowLastPrintable): don't ignore the last space when before
10315 an inset which needs a full row.
10316 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10317 as last character of a row when before a inset which needs a full row.
10319 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10321 * version.C.in: update date
10323 * text2.C (fullRebreak): try to always return true and see what
10326 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10328 * MenuBackend.C (expand): use Floating::listName
10330 * FloatList.C (FloatList): add listName argument to the built-in
10333 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10334 text associated with the float.
10336 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10338 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10340 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * ShareContainer.h: add a couple of missing typenames.
10344 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10346 * lyxrc.C (getDescription): use _() correctly rather than N_().
10348 2002-03-28 Herbert Voss <voss@lyx.org>
10350 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10351 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10353 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10356 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10358 2002-03-29 Juergen Vigna <jug@sad.it>
10360 * lyxfunc.C (dispatch): add a missing fitCursor call.
10362 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10363 it was scrolled by a cursor move, so return the bool status.
10365 * BufferView.C (fitCursor): return the bool flag also to the outside
10366 world as this is needed.
10368 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10370 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10371 call the edit() as it is not needed (and wrong) IMO.
10372 (workAreaButtonPress): set the screen_first variable before evt.
10373 unlock the inset as this may change screen_first and then we have
10374 a wrong y position for the click!
10376 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10378 * MenuBackend.C (expand): another translation that I missed
10380 2002-03-28 Juergen Vigna <jug@sad.it>
10382 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10384 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10386 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10390 * MenuBackend.C (expand): fix export/view/update when there is no
10393 2002-03-27 Herbert Voss <voss@lyx.org>
10395 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10398 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10400 * bufferview_funcs.C (currentState): only show paragraph number
10401 for is DEVEL_VERSION is set.
10403 * lyxfunc.C (dispatch): put warning in INFO channel
10405 * MenuBackend.C (expand): translate the name of floats
10407 * FloatList.C (FloatList): mark the float names for translation
10409 * converter.C (convert): use LibScriptSearch
10411 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10413 * MenuBackend.C (defaults): fix default menu (we might as well get
10416 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10421 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10423 * lyxvc.C: reorder includes.
10425 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10427 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10430 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10432 * CutAndPaste.C: change layouts earlier on paste
10433 to avoid crashing when calling getFont()
10435 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10437 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10440 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10442 * WorkArea.C: remove 'Pending' debug message.
10444 * most files: ws cleanup
10446 * buffer.[Ch]: ws changes
10448 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10450 2002-03-21 Juergen Vigna <jug@sad.it>
10452 * tabular.C (SetMultiColumn): collapse also the contents of the
10453 cells and set the last border right. Added a Buffer const * param.
10455 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10457 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10460 2002-03-19 Juergen Vigna <jug@sad.it>
10462 * text2.C (clearSelection): reset also xsel_cache.
10464 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10465 where it needs to be called (John tells us to do so too :)
10466 (selectionLost): reset sel_cache.
10468 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10470 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10472 * text2.C (setCursorIntern): put debuging code in INSETS channel
10474 2002-03-19 André Pönitz <poenitz@gmx.net>
10476 * lyxfunc.C: tiny whitespace change
10478 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * ToolbarDefaults.C (init):
10481 * LyXAction.C (init):
10483 * BufferView_pimpl.C (Dispatch):
10484 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10486 2002-03-19 Allan Rae <rae@lyx.org>
10488 * exporter.C (Export): removeAutoInsets before doing anything else.
10489 While I've just introduced a dependency on BufferView this really is
10490 the best place to clean the buffer otherwise you need to cleanup in
10491 a dozen places before calling export or cleanup in a dozen functions
10494 * converter.C (runLaTeX):
10495 (scanLog): Better handling of removeAutoInsets and screen updates.
10497 * lyxfunc.C (dispatch): small whitespace changes
10499 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * WorkArea.C (C_WorkAreaEvent): return a value.
10502 (event_cb): return 1 if we handled the event, 0 otherwise.
10504 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10506 2002-03-18 Juergen Vigna <jug@sad.it>
10508 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10509 (GetAdditionalWidth): ditto.
10510 (RightLine): ditto.
10513 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10514 inset if we're there actually (probably not used right now but this
10515 is the direction to go for unifying code).
10516 (paste): disable code to clear the selection.
10518 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10519 inside an InsetText and move the check further up as it is in the
10522 * text2.C (pasteSelection): set a selection over the pasted text.
10524 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10526 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10527 and libgraphics to build on Cygwin.
10529 2002-03-15 Juergen Vigna <jug@sad.it>
10531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10532 inserting an Inset into the paragraph. I know this is not the best
10533 fix but we already use current_view in CutAndPaste so we will remove
10534 all of it's using at the same time.
10536 * buffer.C (sgmlError): deactivated function till it is rewritten in
10537 the right mode, now it can create problems.
10539 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10540 before accessing it.
10542 2002-03-14 Juergen Vigna <jug@sad.it>
10544 * undo_funcs.C (textHandleUndo): do the right thing when updating
10545 the inset after the undo/redo.
10547 * text2.C (setCursor): just some testcode for #44 not ready yet.
10549 * undo_funcs.C (textHandleUndo): set the next() and previous()
10550 pointers of the paragraph to 0 before deleting otherwise we have
10551 problems with the Paragraph::[destructor].
10553 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10554 on a paragraph insertion.
10556 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * buffer.C (asciiParagraph): use += operator for char append to
10561 * paragraph.C (getFontSettings): compare >= not just >
10562 (highestFontInRange): ditto
10565 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * paragraph.C: change several algorithm to be more appripriate for
10568 the problem domain. This is lookip in FontList and in the InsetList.
10570 2002-03-13 André Pönitz <poenitz@gmx.net>
10573 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10575 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10580 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10582 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * Painter.C (display): anon helper function, adjust code for this
10586 (pixmap): remove function.
10588 * Painter.h: remove private display variable.
10590 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10592 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10594 * WorkArea.[Ch]: remove figinset_canvas cruft.
10596 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * lyxtextclass.C (operator): add one item cache optimization.
10600 * bufferlist.h: doxy changes
10602 * bufferlist.C: ws changes
10604 * DepTable.[Ch] (ext_exist): place const in the right spot.
10606 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10608 (workAreaExpose): call resizeInsets when the with BufferView changes.
10609 (Dispatch): adjust for protectedBlank removal
10610 (specialChar): call updateInset if the insert went ok.
10612 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10613 specialChar instead.
10615 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10617 * BufferView.h: doxy change
10619 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10621 * lyxtextclass.C (operator[]): remove non-const version
10622 (defaultLayout): remove non-const version
10624 2002-03-12 Juergen Vigna <jug@sad.it>
10626 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10627 did resize the LyXText too.
10629 * buffer.C (readLyXformat2): set layout information on newly allocated
10632 * tabular.C (OldFormatRead): set layout information on the paragraph.
10634 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10636 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10638 2002-03-11 Juergen Vigna <jug@sad.it>
10640 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10642 (resizeCurrentBuffer): force also the insets to resize themselfes.
10643 (moveCursorUpdate): fixed up for InsetText.
10645 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10648 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10649 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10650 value of Dialogs::tooltipsEnabled().
10651 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10653 2002-03-08 Juergen Vigna <jug@sad.it>
10655 * BufferView_pimpl.C (updateInset): update inset inside inset also
10656 if it isn't inside theLockingInset().
10658 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * buffer.C (asciiParagraph): redo some of the word and line length
10662 (getLists): look for Caption instead of caption.
10664 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * buffer.C (Buffer): initialize niceFile to true
10668 (makeLinuxDocFile):
10669 (makeDocBookFile): make sure niceFile is true on exit
10671 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10673 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10675 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10677 * LyXSendto.C: remove.
10678 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10679 * lyx_gui.C: remove now-redundant comment.
10680 * ColorHandler.h: remove forward declaration of class WorkArea.
10681 * lyxfunc.C: remove #include "WorkArea.h".
10683 2002-03-07 Juergen Vigna <jug@sad.it>
10685 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10686 got moved away with the DEPM and also set the inset_owner always
10687 right which before could have been omitted.
10689 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10691 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10692 wanted layout is not found.
10694 2002-03-07 Juergen Vigna <jug@sad.it>
10696 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10698 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10700 * paragraph.C (breakParagraph): use default layout not layout of
10702 (Paragraph): clear ParagraphParameters.
10704 2002-03-06 Juergen Vigna <jug@sad.it>
10706 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10707 otherwise it would not be a valid lenght. Fixed a special case in
10708 the minipage compatibility read where we end the document with a
10711 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10712 was set as it could be 0 for InsetTexts first entry.
10714 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10716 * paragraph.C (writeFile): if layout is empty write out
10717 defaultLayoutName().
10719 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10720 file without named layout we set layout to defaultLayoutName().
10722 2002-03-06 Juergen Vigna <jug@sad.it>
10724 * CutAndPaste.C (copySelection): set layout for new paragraph.
10726 * text.C (prepareToPrint): leave ERT inset left aligned
10727 (leftMargin): don't indent paragraphs inside ERT insets
10729 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10731 * paragraph.C (breakParagraph): dont call clear do the work manually
10733 * paragraph.[Ch] (clear): remove function
10735 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * paragraph.C (Paragraph): dont call clear, the work has already
10740 * lyxtextclass.C (operator): assert if n is empty
10742 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10743 work manually instead.
10745 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10747 * BufferView_pimpl.C: protect selectionLost against text == 0
10749 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * text.C (breakParagraph): fix a setting layout to '0' problem.
10753 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10755 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10756 final location of file, for the included files, and graphics.
10758 2002-03-05 Juergen Vigna <jug@sad.it>
10760 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10762 2002-03-04 Juergen Vigna <jug@sad.it>
10764 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10766 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10767 last column of multicolumn cells.
10768 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10770 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10772 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10773 file if it doesn't go to a temporary file.
10775 * buffer.C (sgmlOpenTag):
10776 (sgmlCloseTag): remove extra newline insertion.
10778 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10780 * text.C (getRowNearY): comment out debug msg
10782 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * text2.C: first -> first_y
10786 * text.C (getRowNearY): add some attemts at a possible
10787 optimization, not working.
10789 * tabular.[Ch]: add BufferParams to several function so that newly
10790 created paragraph can be initialized to he default layotu for the
10793 * tabular-old.C (ReadOld): add buf->params to call of Init
10795 * screen.C: rename text->first to text->first_y
10797 * paragraph.C (breakParagraph): always set layout in the broken
10800 * lyxtextclass.C (Read): remove lowercase
10803 (delete_layout): ditto
10805 * lyxtext.h: rename first -> first_y
10807 * lyxlayout.C (Read): remove lowercase
10810 (obsoleted_by): ditto
10812 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10814 * buffer.C (insertErtContents): add params are to InsetERT
10815 (parseSingleLyXformat2Token): add code to check if a paragraphs
10816 layout really exist.
10817 (parseSingleLyXformat2Token): add params to several inset
10819 (asciiParagraph): remove lowercase, do the layout comparisons with
10822 * BufferView_pimpl.C (cursorNext): first -> first_y
10823 (resizeCurrentBuffer): first -> first_y
10824 (updateScrollbar): first -> first_y
10825 (scrollCB): first -> first_y
10826 (workAreaMotionNotify): first -> first_y
10827 (workAreaButtonPress): first -> first_y
10828 (checkInsetHit): first -> first_y
10829 (cursorPrevious): first -> first_y
10830 (cursorNext): first -> first_y
10831 (Dispatch): add buffer_->params to severl inset contructors
10833 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * lyxlayout.C (Read): remove some debug info that I forgot.
10837 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10838 clean up the code slightly.
10839 (makeLinuxDocFile): ditto
10840 (makeDocBookFile): ditto
10842 * text2.C: layout as string
10844 * text.C: layout as string
10846 * paragraph_pimpl.C: layout as string
10848 * paragraph.[Ch]: layout as string
10850 * lyxtextclasslist.[Ch]: layout as string
10852 * lyxtextclass.[Ch]: layout as string
10854 * lyxtext.h: layout as string
10856 * lyxlayout.[Ch]: layout as string
10858 * lyx_cb.C: layout as string
10860 * bufferview_funcs.C: layout as string
10862 * bufferparams.C: layout as string
10864 * buffer.C: layout as string
10866 * LyXView.[Ch]: layout as string
10868 * LaTeXFeatures.[Ch]: layout as string
10870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10872 * BufferView_pimpl.C: change current_layout to string, remove
10877 (workAreaButtonRelease): layout as string
10879 * BufferView2.C (unlockInset): adjust
10881 * vspace.C (asLatexCommand): use an explict temp variable.
10883 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10885 * Makefile.am: use FRONTEND_*
10887 2002-03-01 Juergen Vigna <jug@sad.it>
10889 * tabular.C (SetWidthOfMulticolCell): changed to something better
10890 I hope but still work in progress.
10891 (recalculateMulticolumnsOfColumn): renamed function from
10892 recalculateMulticolCells as it is more appropriate now.
10893 (SetWidthOfCell): calculate multicols better.
10895 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10897 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10899 * lyxfunc.C (processKeySym): print sequence also if it is
10900 `deleted' (complete)
10902 * kbsequence.C (print): print sequence even if it is deleted
10903 (complete would be a better word, actually).
10905 * lyxfunc.C (dispatch): print complete options after a prefix key
10907 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10909 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10911 * text2.C (setCharFont): eliminate setCharFont code duplication.
10913 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10915 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10916 LFUN_TABULAR_FEATURE (bug #177)
10918 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10920 * Makefile.am: remove figure.h
10922 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10924 * Bufferview_pimpl.C:
10936 * text2.C: remove #include "lyx_gui_misc.h".
10938 * LaTeX.C: added #include <cstdio>
10940 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10942 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10943 that the paragraph following this one can have.
10945 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10947 * vspace.C (asLatexCommand): fix bogus gcc warning
10949 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10951 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10953 * text2.C (setLayout): get rid of redundant code
10955 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10957 * text2.C (incDepth): make sure depth cannot be increased beyond
10960 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10962 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10963 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10965 * PainterBase.h (image):
10966 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10967 a LyXImage const *.
10969 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10973 * BufferView_pimpl.C:
10974 * BufferView_pimpl.h:
10994 * sp_spell.C: remove fig inset, and the crap house of
10995 cards that follows it
10997 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11002 * os2_errortable.h:
11003 * nt_defines.h: move .h into support/
11005 * vms_defines.h: remove
11007 * WorkArea.C: add space in debug output
11011 * buffer.C: add WITH_WARNINGS
11015 * bufferlist.C: s/retrive/retrieve/, add docs
11024 * chset.C: add docs
11026 * lyxgui.C: add ID to X error handler
11028 * lyxtestclass.c: fix typo
11030 2002-02-26 Juergen Vigna <jug@sad.it>
11032 * tabular_funcs.C (write_attribute): changed so that some default
11033 attributes are not written at all.
11034 (getTokenValue): set default values before trying to read the
11035 value so we have the return value always set as default if we don't
11036 find the token we search for.
11038 * tabular.C (Write): write bools as bools not as strings!
11040 2002-02-22 Juergen Vigna <jug@sad.it>
11042 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11043 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11045 * text.C (leftMargin): don't add an indent for paragraphs inside
11046 tabular cells (fix #208).
11048 2002-02-21 José Matos <jamatos@fep.up.pt>
11050 * tabular.C (docBook): fixed support for long tables.
11052 2002-02-20 Juergen Vigna <jug@sad.it>
11054 * text2.C (getFont): get the drawing font of the Inset if this
11055 paragraph is inside an inset (only important for InsetERT for now).
11057 * buffer.C (insertErtContents): use new lanugage params in ERT
11060 * CutAndPaste.C: commenting out seemingly uneeded code.
11062 2002-02-19 Allan Rae <rae@lyx.org>
11064 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11065 Iterators might be simple to use but they also get invalidated.
11066 (removeAutoInsets): renamed saved cursor tracking variables and added
11067 some comments to clarify what everything does.
11069 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11076 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11077 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11080 * vc-backend.h: remove #include "support/syscall.h"
11084 * converter.C: rearrange #includes in Lars' approved fashion.
11086 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11087 forward declare class Timeout in the header file.
11089 * XFormsView.C: changes due to the above.
11091 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11092 similar to LyXView.
11094 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11095 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11097 2002-02-18 José Matos <jamatos@fep.up.pt>
11099 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11102 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11104 * a lot of small ws changes
11105 * add a lot of using std::XXX
11106 * use std construcs some places where approp.
11107 * use some exisint stuff from lyxfunctional where approp.
11108 * Make file changes to use partial linking (lets test this now...)
11110 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11114 remove #include "support/syscontr.h" as it's redundant. Always has been.
11122 change Systemcalls::System to Systemcalls::Wait and
11123 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11124 No change of functionality, just reflects the stripped down Systemcalls
11127 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11129 * debug.[Ch]: add a GRAPHICS type to the enum.
11131 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11135 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11138 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11141 match the changes below.
11143 * text2.C (toggleInset): if there is not editable inset at cursor
11144 position, try to see if cursor is _inside_ a collapsable inset
11147 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11150 document menu has a nice checkbox
11152 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11154 * lyxlength.C (asLatexString): change PW to output as percent of
11157 * lengthcommon.C: change '%' to 't%'
11159 * lyxfunc.C (dispatch): a few comments from Martin
11161 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11165 * BufferView_pimpl.h:
11166 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11169 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11171 * vspace.C (inPixels): fix compiler warning
11173 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * lyxfunc.C (getStatus): fix status message for disabled commands.
11177 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11179 * BufferView_pimpl.C: fix crash on close buffer
11180 during selection (#227)
11182 2002-01-27 Herbert Voss <voss@lyx.org>
11184 * buffer.C: link old Figure to new graphic inset
11186 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11188 * FontLoader.C (getFontinfo): Change the latex font names in order
11189 to match the names of type1inst.
11191 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11195 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11196 (extchanged): ditto
11198 (remove_files_with_extension): ditto
11199 (remove_file): ditto
11202 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11203 document is smaller than the work area height. Do not initialize
11204 static variables to 0.
11206 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11210 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11211 LFUN_LAYOUT_PARAGRAPHS.
11213 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11214 tabular. It is possible to provide a possible cell, which will
11215 typically be the actcell from the corresponding insettabular
11217 * lyxfunc.C (getStatus): small cleanup; disable
11218 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11221 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11225 * paragraph.C (startTeXParParams):
11226 (endTeXParParams): new methods. The LaTeX code to
11227 start/end paragraph formatting
11228 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11229 empty (fixes bug #200)
11231 * vspace.C (inPixels): adapt to the change below
11232 (inPixels): [later] more cleanups (remove unused variables)
11234 * lyxlength.C (inPixels): change to use a width and a height as
11237 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11240 Replaced with \paperwidth
11242 * DepTable.C (insert): add std:: qualifier
11244 2002-01-18 Allan Rae <rae@lyx.org>
11246 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11249 * text.C (drawInset): Turned out I didn't know enough about how
11250 rebreaking worked. This fixes most of the redraw problems. I see
11251 an occasional cursor trail when a line is broken now and the cursor
11252 placement can seem out by a few pixels also after a rebreak.
11254 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * buffer.C (parseSingleLyXformat2Token): update because minipage
11257 width is now a LyXLength
11259 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11261 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11264 2002-01-17 Juergen Vigna <jug@sad.it>
11266 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11268 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11269 is set correctly and the inset is updated correctly.
11271 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11274 the beginning of the loop.
11276 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11278 * lyxrc.C: improve help for use_scalable_fonts
11280 2002-01-17 Allan Rae <rae@lyx.org>
11282 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11284 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11287 make sure to set their inset_owner to the right value (bug #171)
11289 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11292 * DepTable.C: Implement mtime checking to reduce time spent doing
11295 2002-01-16 Juergen Vigna <jug@sad.it>
11297 * tabular.C (GetAdditionalHeight): one of error fixed.
11299 * lyxrc.C (output): small fix in writing use_pspell.
11301 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11303 * sp_base.h: #include LString.h
11305 2002-01-16 Allan Rae <rae@lyx.org>
11307 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11308 Can someone check this please?
11310 * text.C (drawInset): It was possible that p.row would be removed by
11311 breakAgainOneRow upsetting a few other settings. There may be another
11312 small tweak possible by setting need_break_row = 0 when p.row has been
11313 removed but I don't know enough about the logic here.
11315 2002-01-15 Allan Rae <rae@lyx.org>
11317 * text.C (insertChar): removed conditional truism.
11319 * BufferView2.C (removeAutoInsets): More tweaks.
11320 cur_par_prev could be a stray pointer. Check for trailing empty line
11321 in case last line was cur_par and only had an error inset on it.
11323 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11325 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11328 * vc-backend.C (most methods):
11329 * exporter.C (Export):
11330 * converter.C (convert):
11332 * LyXSendto.C (SendtoApplyCB):
11333 * lyxfunc.C (dispatch):
11337 * lyx_cb.C (AutoSave):
11339 * BufferView_pimpl.C (MenuInsertLyXFile):
11340 * buffer.C (runChktex): use Buffer::filePath().
11342 * buffer.h: rename filename to filename_; rename filepath to
11343 filepath_ and make it private
11344 (filePath): new method
11346 * buffer.C (writeFile): use fileName()
11349 * lyx_main.C (init): fix starting of LyX when the binary is a
11350 link from so,ewhere else.
11352 * minibuffer.C: include <cctype> for isprint
11354 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11356 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11357 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11358 name clash with InsetCollapsable's width function.
11360 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * lastfiles.C: include <iterator>
11364 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11366 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11369 * buffer.C (makeLaTeXFile): ditto.
11370 Also make loop operation more transparent.
11372 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11374 * ToolbarDefaults.C: remove trailing comma closing namespace.
11376 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11378 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11381 * trans.C (Load): comment out unused variable, allowed.
11383 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11385 * minibuffer.[Ch] (append_char): new method to recieve input from the
11386 drop-down completion browser. If a key was pressed, then recieve this
11387 char and append it to the existing string.
11388 (peek_event): modify the positioning data passed to the completion
11389 browser so that it can be placed above the minibuffer rather than below.
11390 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * LyXAction.C (init): alloe error-next for readonly documents.
11394 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11397 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * bufferlist.C (readFile): create the buffer _after_ checking that
11402 * lyxfunc.C (verboseDispatch): fix handling of arguments
11404 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11406 * lyxrc.C: use string::erase() instead of initializing to "".
11409 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11411 * BufferView_pimpl.h:
11412 * BufferView_pimpl.C:
11415 * text2.C: tell X when we have made a selection for copying
11417 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * BufferView_pimpl.C (MenuInsertLyXFile):
11420 * lyxfunc.C (menuNew):
11422 (doImport): add shortcuts to directory buttons
11424 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11427 * lyxfunc.C (setStatusMessage):
11428 (getStatusMessage): new methods
11429 (getStatus):use setStatusMessage instead of setErrorMessage
11430 (dispatch): when function is disabled, set error message here
11431 [instead of in getStatus previously]
11433 * BufferView_pimpl.C (workAreaButtonRelease): update
11434 toolbar/menubar here too.
11436 2002-01-13 Allan Rae <rae@lyx.org>
11438 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11439 Now seems indestructible. Remaining task is to audit all other
11440 code affected by deleteEmptyParagraphMechanism. One small quirk
11441 left is that an empty document with an error in the preamble can
11442 be made to report an error but no error box appears. I don't know
11444 (removeAutoInsets): Improved comments.
11446 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11449 * Thesaurus.C: update for Aiksaurus 0.14
11451 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * text2.C (firstParagraph): removed member function, all uses
11454 replaces with ownerParagraph
11455 (redoParagraphs): here
11456 (updateInset): here
11457 (toggleAppendix): here
11458 * BufferView2.C (insertErrors): here
11459 (setCursorFromRow): here
11461 2002-01-13 Allan Rae <rae@lyx.org>
11463 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11464 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11465 There is still a way to segfault this although you may have to do this
11466 multiple times: Have an InsetERT with an unknown command in it.
11467 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11468 <down-arrow>, <Enter> again, View->DVI, BANG!
11470 * text2.C (setCursor):
11471 (deleteEmptyParagraphMechanism):
11472 * lyxtext.h (setCursor):
11473 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11474 Making use of the return value may help fix other bugs.
11476 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11478 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11480 * LyXView.C (updateMenubar): call MenuBar::update here
11481 (updateToolbar): but not here
11482 (showState): do not update toolbar/menubar
11484 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11485 should need to care about that.
11487 * lyxfunc.C (verboseDispatch): simplify a bit
11488 (getStatus): have a version which takes a pseudoaction, and
11489 another which requires a (kb_action,string).
11491 * LyXAction.C (retrieveActionArg): make it work also when action
11492 is not a pseudo-action.
11493 (getActionName): simplify a bit
11496 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * lyxfunc.C (verboseDispatch): new families of methods with
11499 several ways to specify a command and a bool to indicate whether
11500 the command name and shortcut should be displayed in minibuffer
11501 (eventually, we could extend that to a finer bitmask like
11502 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11503 (dispatch): the pristine dispatch command which just, well,
11504 dispatchs! Note it still sets its result to minibuffer; I'm not
11507 * lyxfunc.h: remove setHintMessage
11509 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11511 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11513 * BufferView_pimpl.C (specialChar): delete new inset if we have
11514 not been able to insert it.
11516 * kbmap.C: revert to using int instead of kb_action, since all we
11517 are dealing with is pseudo-actions.
11519 * LyXAction.C (searchActionArg): change to return int instead of
11520 kb_action, since the result is a pseudoaction.
11522 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11524 * buffer.C (insertErtContents): Fix (partially) the font bug.
11526 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11528 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11529 as the other one is broken on my machine!
11531 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11534 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11536 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11538 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11539 reflect their actual use. Provide compatibility code for older lyxrc
11542 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11544 change names of popup font variables in line with the changes to lyxrc.C
11546 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11548 * buffer.C (asciiParagraph): avoid outputing a word twice after
11551 * lyxrc.C (getDescription): document that document_path and
11552 template_path can be empty.
11554 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11556 * LaTeXFeatures.C (getMacros):
11557 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11559 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11561 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11563 (getPackages): rename feature "floats" to "float". Use an array to
11564 iterate over 'simple' features (i.e. just a \usepackage). Add
11565 handling of "amsmath" (renamed from "amsstyle").
11567 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11569 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11572 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11574 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11575 FuncStaus::FuncStatus & FuncStaus::some_method().
11577 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11579 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11580 of the func_satus stuff. Edited and massaged in various ways by
11583 * lyxfunc.C (getStatus): use FuncStatus
11585 2002-01-08 Juergen Vigna <jug@sad.it>
11587 * text.C (nextBreakPoint): use function Inset::isChar().
11589 * paragraph.C (TeXOnePar): use function
11590 Inset::forceDefaultParagraphs.
11592 * buffer.C (latexParagraphs): use function
11593 Inset::forceDefaultParagraphs.
11595 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11597 * lyx_gui.C (init): set the style of the menu popups to
11598 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11600 2002-01-07 Juergen Vigna <jug@sad.it>
11602 * text.C (setHeightOfRow): small fix
11603 (prepareToPrint): don't look at alignment if we don't have the place
11606 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11608 * box.C: New file. Move the Box methods and functions out of box.h,
11609 following Lars' suggestion.
11611 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11613 * box.h: #include "support/LOstream.h", needed for inlined function.
11616 * lyxtextclasslist.C: added some using std declarations.
11618 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11620 * box.h: make signed dimensions to allow insets wider than
11621 the screen (bug #162)
11623 * BufferView_pimpl.C: add some insetHit debug
11625 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11627 * vc-backend.C: add FIXME
11629 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11631 * lyxfunc.C (getStatus): enable code for showing math font status
11634 2002-01-07 Juergen Vigna <jug@sad.it>
11636 * text.C (nextBreakPoint): removed debug output not needed anymore.
11638 2002-01-06 Juergen Vigna <jug@sad.it>
11640 * text.C (nextBreakPoint): fixed up this function we had this bug
11641 since ever but now hopefully we break row better.
11642 (insertChar): we have to check if an inset is the next char as it
11643 could now happen that a large inset is causing a break.
11645 2002-01-05 Juergen Vigna <jug@sad.it>
11647 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11648 if it doesn't like to be drawed.
11650 2002-01-04 Juergen Vigna <jug@sad.it>
11652 * BufferView2.C (lockInset): forgot to set a cursor.
11654 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11656 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11658 * FormMathsPanel.C:
11661 * form_maths_panel.C:
11662 * form_maths_panel.h:
11663 * form_maths_panel.fd: implemented sub- and super- buttons in math
11666 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11667 (or ^ space) to be used as in TeX (req'd by André).
11669 * lyxfunc.C: Allow ^ and _ again to be used both as
11670 super/subscript (mathed) and as themselves (in text).
11672 2002-01-03 Allan Rae <rae@lyx.org>
11674 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11675 "LyX" or the filename of the current buffer if it has one. This is a
11676 modified form of John Levon's patch.
11678 * XFormsView.C (setWindowTitle): also set icon title.
11680 * LyXView.h (setWindowTitle): signature changed.
11681 * XFormsView.h (setWindowTitle): ditto.
11683 2002-01-02 Juergen Vigna <jug@sad.it>
11685 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11687 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11689 * screen.C (topCursorVisible): introduce a temp var for
11690 text->cursor.row(), handle the case where this row is null. (kindo
11693 * text2.C (setCursor): add a couple of asserts.
11695 * paragraph.h (inset_iterator): add -> operator
11697 * paragraph.[Ch] (autoDeleteInsets): remove member function
11699 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11700 cursor pos correctly and handle inset deletion by itself.
11701 (insertErrors): move iterator declaration out of for expression
11703 * lyxtextclass.C: add <algorithm>
11705 * Makefile.am: added the new files to sources, removed layout.C
11707 * layout.C: removed file
11709 * layout.h: remove LYX_DUMMY_LAYOUT
11711 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11715 * lyxtextclass.[Ch]:
11716 * lyxtextclasslist.[Ch]: new files
11718 * include order changes to a lot of files, also changes because of
11721 2001-12-27 Juergen Vigna <jug@sad.it>
11723 * buffer.C (asciiParagraph): more fixes.
11725 * tabular.C (ascii): make ascii export support export of only the
11726 data separated by a column-delimiter.
11727 (ascii): better support for ascii export.
11729 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11731 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * tabular_funcs.C: use a "using std::getline" instead of the
11734 previous fix from Angus (necessary for cxx + lyxstring)
11736 2001-12-24 Juergen Vigna <jug@sad.it>
11738 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11740 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11741 problems. First check a minipage also if we have some ert-contents
11742 (not only on par->size(), second set the right depth of the paragraph
11743 on the relink to the root-paragraph-list!
11745 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11746 which then did not anymore update the main paragraphs on undo/redo!
11748 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11750 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11751 code. Support all font-changing funcs (even those which are not in
11752 menu currently). Support for reporting font settings in
11753 mathed (disabled until Andre provides a function on mathed's side).
11755 * func_status.h (toggle): small helper function to set toggle
11758 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11760 * tabular_funcs.C: getline -> std::getline
11762 2001-12-21 Juergen Vigna <jug@sad.it>
11764 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11765 accessed and could be 0 (I couldn't generate this but it seems
11768 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11770 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11771 * tabular_funcs.h: here and include iosfwd
11773 2001-12-20 Juergen Vigna <jug@sad.it>
11775 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11776 inside inset but undo_par was.
11778 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * Thesaurus.C: always include <config.h> in sources.
11784 * box.h: do not include <config.h> in header files
11786 * text.C (paintLastRow): remove unused variable
11788 * text.C (transformChar):
11790 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11792 * Painter.C (text):
11793 * font.C (width): rewrite to use uppercase() instead of
11796 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11798 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11800 * lyxfind.C: clean up of find failure position change
11802 2001-12-20 Juergen Vigna <jug@sad.it>
11804 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11806 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11807 (TeXRow): added to LaTeX a single tabular row.
11808 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11809 (Latex): simplified and finally good LT-h/f support.
11810 (various_functions): just small adaptions for LT-h/f support.
11812 * tabular_funcs.[hC]: added and moved here all not classfunctions
11815 2001-12-19 Juergen Vigna <jug@sad.it>
11817 * tabular.[Ch]: better support for longtabular options (not finished
11820 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11822 * text.C (paintLastRow): use the label font instead of the font of
11823 the last character to compute the size of *_BOX. This makes more
11824 sense and avoids a crash with empty paragraphs.
11825 Use Painter::rectangle to draw EMPTY_BOX.
11827 2001-12-19 Juergen Vigna <jug@sad.it>
11829 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11830 the paragraphs if the replaced paragraph is not the first one!
11831 Tried to delete not used paragraphs but does not work yet so for
11832 now it's inside #ifdef's and by default off!
11834 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11836 * MenuBackend.C: include "lyx_main.h" instead of declaring
11837 lastfiles (actually was declared as LastFiles* instead of a
11840 2001-12-17 Juergen Vigna <jug@sad.it>
11842 * tabular.C (AppendColumn): applied John's fix
11844 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11848 * BufferView_pimpl.h:
11849 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11852 * box.h: new start of class for above
11854 * lyxfunc.C: ignore space-only minibuffer dispatches.
11855 Show the command name when it doesn't exist
11857 * minibuffer.C: don't add empty lines to the history
11859 * minibuffer.C: add a space on dropdown completion
11861 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11863 * text.C: fix line above/below drawing in insets
11865 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * lyxlength.C (LyXLength): Initialize private variables.
11869 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11871 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11872 when inserting error insets.
11874 2001-12-13 Juergen Vigna <jug@sad.it>
11876 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11877 actually sometimes the before-paragraph.
11878 (setUndo): don't clear the redostack if we're not actually undoing!
11880 2001-12-06 Juergen Vigna <jug@sad.it>
11882 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11883 and fixed redoing of main paragraph, so we can use it now ;)
11885 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11887 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11892 2001-12-13 André Pönitz <poenitz@gmx.net>
11895 * undo_func.C: minor cleanup
11897 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11900 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11901 font in urw-fonts package which is marked as -urw-fontspecific and
11902 does not work (incidentally, changing the encoding in the
11903 fonts.dir of this package to -adobe-fontspecific fixes the
11906 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11907 is a crash when undoing first paragraph (Juergen, please take a
11908 look). THis does not mean the undo fix is wrong, just that it
11911 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11912 the (Paragraph*) version when needed instead of duplicating the
11915 * text.C (workWidth): use Inset::parOwner to find out where the
11916 inset has been inserted. This is a huge performance gain for large
11917 documents with lots of insets. If Inset::parOwner is not set, fall
11918 back on the brute force method
11920 * paragraph_pimpl.C (insertInset):
11921 * paragraph.C (Paragraph):
11922 (cutIntoMinibuffer): set parOwner of insets when
11923 inserting/removing them
11925 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11927 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11933 * mathed/formulabase.C:
11934 * mathed/math_cursor.[Ch]:
11935 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11938 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * lyxlength.[Ch] (operator!=): new function
11942 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * text.C (workWidth): use Inset::parOwner to find out where the
11945 inset has been inserted. This is a huge performance gain for large
11946 documents with lots of insets. If Inset::parOwner is not set, fall
11947 back on the brute force method
11949 * paragraph_pimpl.C (insertInset):
11950 * paragraph.C (Paragraph):
11951 (cutIntoMinibuffer): set parOwner of insets when
11952 inserting/removing them
11954 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11956 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * tabular-old.C (getTokenValue):
11959 * tabular.C (getTokenValue):
11960 (write_attribute): new versions for LyXLength
11961 (everywhere): adjust the use of widths
11963 * tabular.h: change the type of widths from string to LyXLength
11965 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11967 * paragraph.C: fixed missing line number count when exporting
11968 Environments to LaTeX file
11970 * buffer.C: added informational message for checking line numbers.
11972 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11974 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11975 paragraph, do the 'double space' part, but not the 'empty
11978 * text.C (workWidth): small optimization
11979 (getLengthMarkerHeight): use minimal size for negative lengths.
11981 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11983 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11985 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11987 2001-12-11 André Pönitz <poenitz@gmx.net>
11990 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11992 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11994 * text2.C: keep selection on a setFont()
11996 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11998 * lyx_cb.C: another bv->text misuse, from insert label
12000 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12003 * kbsequence.C: re-instate nmodifier mask
12005 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12007 * lyx_main.h: make lyxGUI private.
12009 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12011 * lyxfind.C: place the cursor correctly on failed search
12013 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12015 * text.C (getLengthMarkerHeight): for small heights, the arrows
12016 are not always on top/bottom of the text
12017 (drawLengthMarker): smaller arrows; take the left margin in
12018 account; draw also vfills.
12020 (paintLastRow): remove special code for vfill and standard spaces,
12021 since everything is handled in drawLengthMarker now.
12023 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12025 * buffer.C (insertErtContents): try to handle font and language
12026 interaction a bit better.g
12028 * ColorHandler.C (updateColor): change the hash to cover the whole
12029 LColor enum, ws cleanup
12030 (getGCLinepars): ditto
12031 (getGCLinepars): only lookup in the linecache once.
12033 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12035 * iterators.C (operator++): Make the iterator more robust
12037 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12039 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12041 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12044 * text.C: better added space drawing
12046 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12049 * BufferView2.C: fix layout combo update on inset unlock
12051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12053 * Makefile.am: don't compile unused files
12055 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12059 * LyXAction.C: remove old LFUN_LAYOUTNO
12061 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12063 * paragraph_pimpl.h:
12064 * paragraph_pimpl.C: isTextAt() doesn't need font param
12066 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12069 * lyxlex.C: little cleanup
12071 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12073 * BufferView_pimpl.C: fix insertAscii for insets
12075 2001-12-05 Juergen Vigna <jug@sad.it>
12077 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12078 set the right font on the "multi" paragraph paste!
12080 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12086 * lyxlength.C: remove out-commented code.
12088 * BufferView_pimpl:
12102 * vc-backend.C: change "while(" to "while ("
12104 * lyxlength.[Ch]: add zero function to check if length is zero or
12106 * lyxgluelength.C: use it
12108 2001-12-05 Allan Rae <rae@lyx.org>
12110 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12111 Works for 2.95.3, from what I understand of Garst's reports this should
12112 work for other g++ versions. We're screwed if the abs(int) definition
12113 changed between bugfix releases of gcc.
12115 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12117 * text.C: fix chapter label offset !
12119 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12122 * text.C: fix hfill at end of line, clean up
12124 2001-12-04 Juergen Vigna <jug@sad.it>
12126 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12127 that we force an update of the inset and it's owners if neccessary.
12129 2001-12-03 Juergen Vigna <jug@sad.it>
12131 * text.C (rowLast): simplified code
12133 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12135 * lyxfunc.C: fix show options on timeout
12137 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * screen.C (topCursorVisible): scroll half a page when the cursor
12140 reached top of bottom of screen
12142 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12144 * minibuffer.C: deactivate on loss of focus
12146 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12148 * vspace.[Ch] (operator!=): add operator.
12150 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12152 * BufferView_pimpl.C: refuse to open an inset when
12153 there's a selection.
12155 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12157 * BufferView_pimpl.C: allow to click on RHS of full row insets
12159 2001-11-30 Juergen Vigna <jug@sad.it>
12161 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12162 insets for undo reasons.
12164 2001-11-28 André Pönitz <poenitz@gmx.net>
12166 * vspace.[Ch]: cosmetical changes
12168 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12178 * kbsequence.C: part re-write of old kb code
12181 * WorkArea.C: remove Lgb_bug_find_hack
12183 2001-11-30 José Matos <jamatos@fep.up.pt>
12185 * buffer.C (makeDocBookFile): add a comment to point a hack.
12186 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12187 Fixed a double write of labels.
12189 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12192 * LaTeX.h Fixed bug in LaTeX class where it would not
12193 re-run latex if no depfiles were changed, but the .dvi was removed.
12195 2001-11-28 André Pönitz <poenitz@gmx.net>
12197 * all the files from the change on 2001/11/26:
12198 use lyx::layout_type instead of LyXTextClass::size_type
12199 use lyx::textclass_type instead of LyXTextClassList::size_type
12201 2001-11-29 Juergen Vigna <jug@sad.it>
12203 * text.C: added support for paragraph::isFreeSpacing()
12205 * buffer.C: same as above
12207 * paragraph.h: inserted isFreeSpacing() function to enable
12208 FreeSpacing inside InsetERT.
12210 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12211 of the paragraph's in the cut/copy buffer to 0!
12213 * text2.C (removeRow): remove the assert as it can!
12215 * lyxtext.h: added helper function firstRow returning firstrow and
12216 made firstrow private again.
12218 * BufferView2.C (lockInset): don't relock if we're already locked!
12220 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12221 the only paragraph.
12222 (removeRow): added Assert::(firstrow)
12224 * debug.C: forgot to add INSETTEXT here.
12226 2001-11-28 Juergen Vigna <jug@sad.it>
12228 * sp_spell.C (initialize): changed error text to more general
12229 spellchecker command use (not only ispell!)
12231 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12233 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12235 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12237 * vspace.C: initialise lyxgluelength on failure
12239 2001-11-28 Allan Rae <rae@lyx.org>
12241 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12242 declaration & definition that looks like a function declaration.
12244 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12246 * BufferView2.C (copy):
12247 (copyEnvironment): do not clear the selection when doing a copy.
12249 * text.C (paintFirstRow): compilation fix
12251 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12253 * tabular.C (Latex): correct line count when writing latex.
12255 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12257 * paragraph_pimpl.h:
12258 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12261 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12265 * LColor.C: change vfillline->added_space
12267 * text.C: add markers and text for added space
12269 * vspace.C: fix comment
12271 2001-11-28 André Pönitz <poenitz@gmx.net>
12273 * paragraph.C: whitespace changes
12274 * all the other files from the change on 2001/11/26:
12275 change *::pos_type into lyx::pos_type
12277 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12279 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12280 language of the document when inserting error insets.
12282 2001-11-26 André Pönitz <poenitz@gmx.net>
12284 * BufferView_pimpl.[Ch]:
12292 * paragraph_pimpl.[Ch]:
12295 * text2.C: reduce header dependencies, introduce type for positions
12297 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12299 * <various>: change to use Alert.h
12301 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12303 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12304 when encountering an unknown token.
12305 (readLyXformat2): Show an error message if there were unknown tokens.
12307 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12310 * BufferView_pimpl.C:
12314 * text2.C: use par->isInset()
12316 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12318 * paragraph_pimpl.h:
12319 * paragraph_pimpl.C: cleanup
12321 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * text2.C (removeRow):
12324 * text.C (setHeightOfRow): remove useless (and costly) call to
12327 2001-11-20 Allan Rae <rae@lyx.org>
12329 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12330 Now need Inset*::checkInsertChar() to return true for appropriate
12331 cases so that the characters in the minibuffer will actually be
12334 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * text.C: change the order of the includes.
12337 (workWidth): initialize it at once.
12338 (workWidth): make maxw unsigned
12339 (setHeightOfRow): remove unused variable (inset)
12340 (selectSelectedWord): remove unused variable (inset)
12341 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12343 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12345 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12346 server is not running.
12348 (closeConnection): add debug info when server is disabled.
12350 * ColorHandler.C (getGCForeground): send debug message to GUI
12353 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12355 * kbmap.C (bind): modify because return conventions of
12356 kb_sequence::parse have changed.
12358 * kbsequence.C (parse): only ignore spaces and not any stupid
12359 control character. This avoids tests like s[i] <= ' ', which are
12360 guaranteed to fail with 8bit characters and signed chars.
12361 Change return code to string::npos when there have been no error
12362 (0 was a bad idea when error is at first character)
12364 2001-11-14 José Matos <jamatos@fep.up.pt>
12367 * buffer.C (simpleDocBookOnePar): removed unused argument.
12369 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12372 insets which are part of a word. Paragraph::isLetter takes care of
12373 that now. Use Paragraph::isInset to identify insets.
12374 (selectSelectedWord): do not test for hyphenation break.
12376 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12377 that protected spaces are considered as spaces.
12379 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12382 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12385 * lyxserver.C: fix it. and small cleanup.
12387 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12389 * BufferView_pimpl.C: use inline helpers
12392 * LaTeXFeatures.C: fix typos
12395 * Spacing.C: move spacing_string into class
12397 * ToolbarDefaults.C: move stuff into namespace anon
12399 * layout.h: update enum
12401 * lyxfunc.C: use better debug
12403 * minibuffer.h: fix typo
12407 * WorkArea.C: add and use Debug::WORKAREA
12411 * text2.C: code re-organisation, inline helpers
12413 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12415 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12416 std::vector.empty().
12418 2001-11-09 Allan Rae <rae@lyx.org>
12420 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12421 '\n's after tables. Tabular and ERT inset work now makes this no
12424 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12427 * minibuffer.C: fix crash, improve drop-down completion
12429 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12432 * lyxserver.C: invalidate fd's when doing endPipe()
12434 2001-11-08 José Matos <jamatos@fep.up.pt>
12436 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12437 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12440 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12442 2001-11-07 José Matos <jamatos@fep.up.pt>
12445 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12448 * buffer.C (sgmlOpenTag):
12449 * buffer.C (sgmlCloseTag): removed debug info.
12451 * buffer.h (sgmlOpenTag):
12452 * buffer.h (sgmlCloseTag): made public.
12454 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * buffer.C (saveParamsAsDefaults):
12457 * lyx_cb.C (MenuLayoutSave): remove
12459 * LyXAction.C (init):
12461 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12463 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12465 * buffer.C (setPaperStuff): removed from here...
12467 * bufferparams.C (setPaperStuff): ... and moved there.
12469 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12473 * XFormsView.C: add support for drop-down completion
12475 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12477 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12480 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12482 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12485 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12487 * lyx_main.C: change ref to known bugs
12489 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12491 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12492 to work around older babel problems.
12494 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12496 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12498 2001-10-24 Juergen Vigna <jug@sad.it>
12500 * tabular-old.C (ReadOld): below variable changes reflected.
12502 * tabular.[Ch]: added ltType struct for longtable header/footer
12503 defines and changed all instances where they are used. Added
12504 future support for double top/bottom rows.
12506 2001-10-24 José Matos <jamatos@fep.up.pt>
12508 * buffer.h (docbookHandleCaption):
12509 * buffer.C (docbookHandleCaption): removed unused function.
12510 (makeDocBookFile): moved docbook supported version to v4.1.
12512 2001-10-24 José Matos <jamatos@fep.up.pt>
12515 * tabular.C (docbookRow): new function to export docbook code of a row.
12516 (DocBook): now honors the longtable flags.
12518 2001-10-23 José Matos <jamatos@fep.up.pt>
12521 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12522 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12524 * buffer.C (makeLinuxDocFile):
12525 (makeDocBookFile): reworked the preamble, more clean, and with
12526 support for lyx defined entities. Changed the document declaration
12527 to be more XML friendly.
12529 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12530 if we need to output XML that should be done with a filter.
12532 2001-10-22 Juergen Vigna <jug@sad.it>
12534 * sp_pspell.h (class PSpell): add alive function needed in the
12535 controller to see if the spellchecker could be started.
12537 2001-10-22 Juergen Vigna <jug@sad.it>
12539 * buffer.C (insertStringAsLines): modify the font for inserting
12540 chars in certain conditions by calling checkInsertChar(font).
12542 2001-10-19 Juergen Vigna <jug@sad.it>
12544 * text.C (workWidth): use getRow instead of wrong algorithm.
12545 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12547 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12552 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12554 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * text.C (workWidth): do not search for the exact row when
12557 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12558 optimization for big documents.
12560 2001-10-18 Juergen Vigna <jug@sad.it>
12562 * text.C (workWidth): new function with added Inset * parameter.
12564 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12566 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12568 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12569 change return type of getColumnNearX.
12572 * text.C (changeRegionCase): use uppercase/lowercase instead of
12575 (rightMargin): simplify code by factoring out the uses of
12580 (appendParagraph): use Paragraph::size_type
12582 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12584 * vspace.C (asLatexString): add a missing break
12586 2001-10-15 Herbert Voss <voss@perce.de>
12588 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12590 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12592 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12595 2001-10-10 André Pönitz <poenitz@gmx.net>
12597 * lyxfunc.C: removed greek_kb_flag.
12599 2001-10-10 Herbert Voss <voss@perce.de>
12601 * lyx_main.C: delete global string help_lyxdir.
12603 2001-10-09 Herbert Voss <voss@perce.de>
12605 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12607 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12609 * lyx_main.C: added global string help_lyxdir.
12611 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12613 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12615 * lyxrc.C (set_font_norm_type): support iso8859-4
12617 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12619 * LaTeX.C (deplog): add another regex for MikTeX
12621 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12623 * lyxrc.C (set_font_norm_type): support iso8859-3
12625 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12627 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12629 * LaTeXFeatures.C: remove special case of french and index
12631 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12632 before \begin{document}). This solves several incompatibilities.
12634 2001-10-03 Garst Reese <reese@isn.net>
12636 * lyx_cb.C: change CheckTex error msg.
12638 2001-10-03 José Matos <jamatos@fep.up.pt>
12640 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12642 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * .cvsignore: update
12646 * lyx_main.C (commandLineVersionInfo): use new style version info.
12648 * buffer.C (writeFile):
12650 (makeLinuxDocFile):
12651 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12653 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12655 * version.h: update to use stuff in version.C
12657 * version.C.in: new file. Contains version information determined
12658 at compile time. This is a merging of version.h and
12661 2001-10-03 Juergen Vigna <jug@sad.it>
12663 * BufferView_pimpl.C (update): don't change "dirty" status in
12666 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12668 * WorkArea.C (c-tor): re-position version string slightly.
12670 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12672 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12673 revert to previous code.
12675 WorkArea.[Ch]: (show, destroySplash): methods removed.
12677 WorkArea.C: rework code so that it's an amalgam of the codes before and
12678 after the splash screen was moved to WorkArea.
12680 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * vspace.C (inPixels):
12686 * buffer.C (insertStringAsLines):
12687 (asciiParagraph): fix types to be large enough
12689 * lyxlex_pimpl.h: change member status from short to int
12691 * layout.h: fix type of endlabeltype
12694 * kbsequence.C (parse): change return type to string::size_type
12696 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12699 * Bullet.C (bulletSize):
12700 (bulletEntry): do not use short ints as parameters
12702 * BufferView2.C (insertLyXFile): change a char to an int.
12704 * WorkArea.C (WorkArea): remove unneeded floats in computation
12706 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12708 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12710 * paragraph.C (asString): Do not ignore newline/hfill chars when
12711 copying to the clipboard.
12713 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12715 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12716 after a multi-line inset.
12718 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12720 * paragraph.C (validate): Set NeedLyXFootnoteCode
12722 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12724 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12725 and decrease-error to decrease.
12727 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12730 it more readable (should be equivalent)
12732 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12734 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12736 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12739 of a cursor (row, etc.) after a character has been deleted
12740 (deleteEmptyParagraphMechanism): call the method above on _all_
12741 cursors held by the LyXText when a double space has been
12744 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12746 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12748 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12750 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12751 background. Use greyOut() and the new show() methods to toggle between
12752 the foreground and background. Add code to remove the splash after
12753 its initial showing.
12755 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12756 (create_forms): no longer call Dialogs::showSplash.
12758 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12760 * .cvsignore: add version_info.h
12762 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12764 * version_info.h.in: new file
12766 * Makefile.am: add version_info.h.in
12768 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12769 version_info.h instead of VERSION_INFO
12771 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12773 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12774 The ERT inset now returns string().
12776 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12778 * lyxtext.h, text.C (selectNextWord): renamed as
12779 selectNextWordToSpellcheck.
12781 * text.C (selectNextWordToSpellcheck): Modified to not select
12782 words inside an ERT inset.
12784 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12786 * lyx_cb.C (MenuLayoutSave): change a bit the question
12788 * sp_base.h: include <sys/types.h>
12790 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12792 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12794 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12796 * several files: fix typos in user-visible strings
12798 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12800 * text2.C (pasteSelection): do not set the selection, since it
12801 will be cleared later. Actually, the intent was to fix the way the
12802 selection was set, but I figured rmoving the code was just as good.
12804 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12806 * FontLoader.C (available): Check if font is available without
12809 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12811 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12813 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12815 * lyxrc.[Ch]: added display_graphics variable and associated code.
12817 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12819 * bufferparams.C (hasClassDefaults): new method. Returns true if
12820 the buffer parameters correspond to known class defaults
12822 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12824 * XFormsView.C (show): set minimum size to the main window.
12826 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * text2.C (copySelection):
12830 * lyxfind.C (LyXReplace):
12831 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12832 LyXText::selectionAsString.
12834 * paragraph.C (asString): add "label" argument to the second form
12836 * text2.C (selectionAsString): add "label" argument and pass it to
12837 Paragraph::asString.
12839 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * lyx_main.C (commandLineHelp): remove version information
12843 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12845 * lyx_main.C: add -version commandline option
12847 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * paragraph.h: make the optional constructor arg required instead.
12850 some modifications to other files because of this.
12852 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12854 * lyxserver.C (C_LyXComm_callback): make it static
12856 * lyx_main.C (error_handler): make it static
12858 * lyx_gui.C (LyX_XErrHandler): make it static
12860 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12862 * WorkArea.C: make the extern "C" methods static.
12864 * Makefile.am (lyx_LDADD): simplify
12866 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12868 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12869 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12871 * LyXAction.C (init):
12872 * lyxfunc.C (dispatch): associated code removal.
12874 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12876 * lyxfont.h (isSymbolFont): shut off warning
12878 * text.C (setHeightOfRow):
12879 (getVisibleRow): fix crash with empty paragraphs which have a
12882 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12884 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12887 2001-09-04 José Matos <jamatos@fep.up.pt>
12890 * tabular.C (docbook): rename docBook method to docbook.
12892 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12894 * Makefile.am: add dependencies to main.o.
12896 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12898 * FontLoader.C (available): Return false if !lyxrc.use_gui
12900 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12902 * FontInfo.C (query):
12903 * converter.C (view):
12904 * importer.C (Import):
12905 * exporter.C (Export): Can not -> cannot.
12907 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12909 * BufferView_pimpl.C: allow to create index inset even if
12912 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12914 * buffer.C (getLists): replace boost::tie code with an explicit pair
12915 as boost::tie can break some compilers.
12917 * iterators.h: Added a std:: declaration to the return type of
12920 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12922 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12925 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12927 * iterators.[Ch]: New files. Provide paragraph iterators.
12929 * buffer.C (changeLanguage): Use paragraph iterators.
12930 (isMultiLingual): ditto
12932 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12934 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12936 * FontLoader.C: Support for cmr font.
12938 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12940 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12941 (available): New method.
12943 * FontInfo.C (getFontname): Use scalable fonts even when
12944 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12947 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12949 * converter.C (Formats::view): reverted! Incorrect fix.
12951 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12953 * converter.C (Formats::view): only output the -paper option
12954 if the dvi viewer is xdvi, thereby fixing bug #233429.
12956 2001-08-23 Herbert Voss <voss@perce>
12958 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12960 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12962 * Spacing.h (Spacing): Set space to Default on in the default
12965 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * vc-backend.h (RCS::versionString): add RCS to version
12968 (CVS::versionString): add CVS to version
12970 * vc-backend.C (scanMaster): do not add CVS to version.
12971 (scanMaster): do not add RCS to version
12973 * lyxvc.C (versionString): new method
12975 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12977 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * Spacing.C (set): initialize fval
12981 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12983 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12986 2001-08-16 Juergen Vigna <jug@sad.it>
12988 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12990 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12992 * BufferView_pimpl.C:
12995 * text2.C: setParagraph takes linespacing now
12997 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12999 * LyxAction.C: add internal LFUN_CITATION_INSERT
13001 * LyXView.C: actually apply fix
13003 * bufferlist.C: fix open non-existent file
13005 * lyxfind.C: fix indentation
13007 * lyxfunc.C: remove unneeded assert, fix typo
13009 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13011 * MenuBackend.C: use "Floatname List"
13013 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13015 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13016 when converting LaTeX layout to insetERT.
13017 Generate a non-collapsed float when reading old float
13019 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13021 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13024 2001-08-13 Juergen Vigna <jug@sad.it>
13026 * text.C (fill): return 0 instead of 20 as this seems to be the more
13029 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13031 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13034 2001-08-13 Juergen Vigna <jug@sad.it>
13036 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13038 (SearchBackward): comment out the unlocking of the inset_owner this
13039 should not be needed!
13041 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13043 * Many files: Remove inherit_language, and add latex_language
13045 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13046 collapsible insets.
13048 2001-08-10 Juergen Vigna <jug@sad.it>
13050 * text.C (prepareToPrint): fixed hfill-width in draw!
13052 * BufferView2.C (selectLastWord): save the selection cursor as this
13053 now is cleared in the function LyXText::clearSelection!
13055 2001-08-08 Juergen Vigna <jug@sad.it>
13057 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13058 BACKSPACE type functions.
13060 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13061 is only cutted from the document but not put in the cut-buffer, where
13062 still the old stuff should be.
13064 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13066 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13068 * tabular.C (SetWidthOfCell): fixed special case where the width
13070 (LeftLine): handle '|' in align_special.
13072 (LeftAlreadyDrawed): ditto
13073 (SetWidthOfCell): ditto
13075 2001-08-07 Juergen Vigna <jug@sad.it>
13077 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13079 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13082 * lyxlex.[hC]: ditto
13084 2001-08-06 Juergen Vigna <jug@sad.it>
13086 * text.C (getVisibleRow): fix up row clearing a bit.
13088 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * minibuffer.C: make sure the X server sees the changes in the input.
13092 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13094 * paragraph.C (getFont): split into...
13095 (getLabelFont): this
13096 (getLayoutFont): and this
13097 * paragraph_pimpl.C (realizeFont): calling this
13099 * text2.C (getFont): split into...
13100 (getLayoutFont): this
13101 (getLabelFont): and this
13102 (realizeFont): all three calling this
13104 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13107 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13109 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13111 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13113 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13114 layouts from the Quote inset insertion.
13116 2001-08-03 Juergen Vigna <jug@sad.it>
13118 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13120 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13121 only if status not is already CHANGED_IN_DRAW (second level).
13123 * text.C (draw): don't set the need_break_row when inside an
13126 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * buffer.C (parseSingleLyXformat2Token): handle more latex
13131 * bufferview_funcs.[hC]: change function names to
13132 begin with small char, adjust other files.
13134 2001-08-02 André Pönitz <poenitz@gmx.net>
13137 BufferView_pimpl.C: remove broken special code for math-greek
13139 2001-08-02 Juergen Vigna <jug@sad.it>
13141 * BufferView_pimpl.C (update): redone this function so that we
13142 update the text again if there was a CHANGE_IN_DRAW.
13144 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13145 (drawFromTo): added a new internal bool which is used by draw() and
13147 (general): some cursor drawing problems fixed.
13149 2001-08-01 Juergen Vigna <jug@sad.it>
13151 * lyxfind.C (LyXFind): fixed
13152 (SearchForward): ditto
13153 (SearchBackward): ditto
13155 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13156 spurius drawing of the cursor in the main area.
13158 * text2.C (status): small fix which could lead to a segfault!
13159 (clearSelection): remove unneeded BufferView param.
13161 2001-08-01 André Pönitz <poenitz@gmx.net>
13163 * lyxfunc.C: small change due to changed mathed interface
13165 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13167 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13169 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13171 * lyxfunc.c: fail gracefully if file doesn't exist
13176 * BufferView_pimpl.C: IsDirWriteable() proto changed
13178 * LyXView.C: fix updateWindowTitle() to store the last title
13180 2001-07-31 Juergen Vigna <jug@sad.it>
13182 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13183 the font (wrong since using of Paragraph::highestFontInRange).
13185 * paragraph.C (highestFontInRange): added a default_size parameter.
13187 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13188 (setHeightOfRow): reformat
13190 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * converter.[hC] + affected files: move to (inital-char)lowercase
13195 * ParagraphParameters.C (ParagraphParameters): remove commented code
13197 * PainterBase.[Ch]: remove commented code
13199 * LaTeXFeatures.h: add "bool floats" for float.sty
13201 * LaTeXFeatures.C (LaTeXFeatures): init floats
13202 (require): handle float
13203 (getPackages): do it with floats
13205 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13207 * BufferView_pimpl.C (Dispatch): improve handling of
13208 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13210 * commandtags.h: #include lyxfont.h here temporarily to avoid
13213 * bufferlist.h: include LString.h here.
13215 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * text2.C (getStringToIndex): new method.
13219 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13221 * *: Reduced header file dependencies all over.
13223 2001-07-30 Baruch Even <baruch@lyx.org>
13225 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13227 2001-07-29 Baruch Even <baruch@lyx.org>
13229 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13231 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * ParameterStruct.h (endif): add a default constructor to make
13234 sure that all variables is initialized.
13236 * ParagraphParameters.C (ParagraphParameters): adjust
13238 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13240 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13241 index; also, check that there is something to index, and that it
13242 does not span over several paragraphs.
13243 (doubleClick): use WHOLE_WORD_STRICT for double click.
13245 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13247 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13250 2001-07-26 Baruch Even <baruch@lyx.org>
13252 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13253 an InsetFig figure, backwards compatible reading of old figure code.
13255 2001-07-27 Juergen Vigna <jug@sad.it>
13257 * text2.C: font.realize function adaption.
13259 * text.C (draw): add a warnings lyxerr text if needed.
13261 * layout.C: font.realize function adaption.
13263 * language.C: add inherit_language and implement it's handlings
13265 * bufferview_funcs.C (StyleReset): remove language parameter from
13266 font creation (should be language_inherit now).
13268 * bufferparams.C (writeFile): handle ignore_language.
13270 * paragraph.C (getFontSettings): the language has to be resolved
13271 otherwise we have problems in LyXFont!
13273 * lyxfont.C (lyxWriteChanges): added document_language parameter
13274 (update): removed unneeded language parameter
13276 * paragraph.C (validate): fixed wrong output of color-package when
13277 using interface colors for certain fonts in certain environments,
13278 which should not seen as that on the final output.
13280 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13282 * BufferView_pimpl.C:
13287 * LyXAction.C: add thesaurus support
13290 * lyxfind.C: add "once" parameter, for thesaurus, to not
13291 move to the next match
13293 2001-07-26 Juergen Vigna <jug@sad.it>
13295 * lyxfont.C (realize): honor ignore_language too!
13298 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13300 * text.C (draw): one place more for ignore_language to not draw
13303 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13305 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13307 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13310 the minipage conversion problem.
13312 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13317 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * BufferView.h: don't forward declare WorkArea
13321 * BufferView.C: don't include WorkArea.h
13323 2001-07-25 André Pönitz <poenitz@gmx.net>
13327 * lyxfunc.C: new LFUN 'math-space'
13329 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13331 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13333 * text2.C (toggleInset): call open/close
13335 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * lyxfunc.C (dispatch): add debug for the disabled case
13339 * font.C (buttonText): make similar to rectText
13341 * buffer.C (readInset): comment out parsing of insetlist and
13344 * PainterBase.C (rectText): small correction
13346 * BufferView_pimpl.C: comment out insettheorem and insetlist
13347 * LyXAction.C: ditto
13348 * commandtags.h: ditto
13350 2001-07-24 Juergen Vigna <jug@sad.it>
13352 * text.C (draw): honor the ignore_language.
13354 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13356 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13358 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13361 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13363 * lyxtext.h: remove unused (and unimplemented) methods
13365 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13367 * text.C (getVisibleRow): honor background color
13370 * Painter.h: remove default color argument for fillRectangle
13372 * text.C (backgroundColor): new method
13374 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * text.C (getVisibleRow): adjust
13378 * font.[Ch] (rectText): new method, metrics
13379 (buttonText): new method, metrics
13381 * PainterBase.[hC]: make rectText and buttonText always draw and take
13384 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13386 * ToolbarDefaults.C (read):
13387 * MenuBackend.C (read): allow escaping in all strings
13389 * BufferView_pimpl.C (insertAndEditInset): new method.
13390 (Dispatch): use insertAndEditInset whenever appropriate.
13392 * BufferView_pimpl.C (insertNote): removed
13394 * BufferView_pimpl.C (smartQuote): new method, moved from
13395 BufferView; if an insetquote cannot be inserted, insert a '"'
13398 * BufferView2.C: remove insertCorrectQuote();
13400 * lyxfunc.C (getStatus): Add support for all remaingin
13401 inset-insert lfuns.
13403 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13405 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13406 command (necessary to pass " as parameter of self-insert.
13408 * text.C (selectWordWhenUnderCursor):
13409 (selectWord): add word_location parameter
13410 (selectWordWhenUnderCursor): same + remove special code for word
13412 (selectNextWord): use kind() to guess type of insetspecialchar,
13415 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13416 (insertErtContents): create ert insets as collapsed.
13417 (readInset): better compatibility code for Info inset.
13419 2001-07-20 Juergen Vigna <jug@sad.it>
13421 * lyxfunc.C (dispatch): use always LyXFind now!
13423 * text2.C (init): add a reinit flag so that the LyXText can be
13424 reinited instead of deleted and reallocated (used in InsetText).
13426 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13432 2001-07-18 Juergen Vigna <jug@sad.it>
13434 * text.C (selectNextWord): handle insets inside inset by calling
13435 always the bv->text functions so that we can go up the_locking_inset!
13437 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13438 in strange locations when inside an inset!
13440 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13441 handling to include insets.
13443 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13445 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13447 * LyXAction.C (init):
13449 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13450 LIGATURE_BREAK, since the name is so stupid.
13452 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13454 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13457 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13459 * sp_form.[Ch]: remove.
13461 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13463 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13466 * src/buffer.C (readInset): ditto.
13468 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13470 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13471 menuSeparator(), endOfSentenceDot(), ldots() and
13472 hyphenationPoint(), which are therefore removed.
13473 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13475 * LyXAction.C (init):
13476 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13478 * paragraph.C (getWord): removed.
13480 * BufferView_pimpl.C (Dispatch): use last word or selection for
13481 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13483 * lyx_main.C (queryUserLyXDir): do not ask before creating
13484 user_dir, except if it has been named explicitely.
13486 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13488 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13489 a document of zero size.
13491 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13493 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13494 approriately in the c-tor and in require().
13495 (getPackages): output the appropriate LaTeX for natbib support.
13497 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13498 variables "use_natbib" and "use_numerical_citations" when reading the
13500 (readInset): read the various natbib cite commands.
13501 (validate): white-space change.
13503 * bufferparams.[Ch]: new variables "bool use_natbib" and
13504 "bool use_numerical_citations".
13505 (writeFile): output them in the LyX file.
13507 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13509 * lyxfunc.C (getStatus): add support for all the inset insertion
13512 * text2.C (insertInset):
13513 * paragraph.C (insetAllowed):
13514 * BufferView_pimpl.C (insertInset): update to take in account the
13515 renaming of insertInsetAllowed
13517 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13519 * text2.C (getInset): new method. returns inset at cursor position.
13521 * BufferView_pimpl.C (Dispatch): changes because of this.
13523 * LyXAction.C (init): rename open-stuff to inset-toggle.
13525 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13527 * text2.C (toggleInset): renamed from openStuff; use
13530 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13532 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13534 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13536 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13538 * buffer.C (readLyXformat2): Add filename to the error dialog
13540 2001-07-18 Juergen Vigna <jug@sad.it>
13542 * tabular.C (GetCellNumber): put an assert here instead of the check!
13544 2001-07-17 Juergen Vigna <jug@sad.it>
13546 * BufferView_pimpl.C (toggleSelection): adapted too.
13548 * text.C (selectNextWord): adapted for use with insets.
13549 (selectSelectedWord): ditto
13551 2001-07-17 Juergen Vigna <jug@sad.it>
13553 * sp_spell.C (PSpell): fix initialitation order.
13555 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13557 * paragraph.C: spacing
13559 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13561 * sp_spell.C: repair language selection for pspell
13563 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * lyxfunc.h: change more methods to begin with lower char.
13567 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13569 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13570 for unknown layouts.
13572 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13574 * buffer.C (readLyXformat2): Generate an error dialog if there are
13577 2001-07-16 Juergen Vigna <jug@sad.it>
13579 * sp_spell.C: always compile ISpell part.
13581 * lyxrc.C: added use_pspell entry and it's handling.
13583 2001-07-13 Juergen Vigna <jug@sad.it>
13585 * sp_spell.C: removed double includes.
13587 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13589 Consistent use of Lsstream.h:
13590 * Lsstream.h: added using std::stringstream for consistencies sake.
13592 * buffer.C: removed using std::stringstream
13594 * lyxfont.C (stateText):
13595 * paragraph.C (asString):
13596 * text.C (selectNextWord, selectSelectedWord):
13597 * text2.C (setCounter):
13598 * vspace.C (asString, asLatexString):
13599 std::ostringstream -> ostringstream.
13601 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13603 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13604 * commandtags.h: add LFUN_HELP_ABOUTLYX
13605 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13607 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13609 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13611 * lyx_gui_misc.C: remove spellchecker
13612 * lyxfunc.C: showSpellchecker
13614 * sp_ispell.h: added
13615 * sp_pspell.h: added
13616 * sp_spell.C: added
13617 * sp_form.[Ch]: removed
13618 * spellchecker.[Ch]: removed
13620 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13622 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13624 (simpleTeXSpecialChars): Simply print the input character without
13625 any special translation if pass_thru is set.
13627 * layout.h: Added bool pass_thru to layout class for being able to
13628 implement pass through of a paragraph for Literate Programming.
13630 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13631 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13632 * layout.C (Read): add "passthru" to list of layout tags and add
13633 code to set the pass_thru boolean when it is read.
13635 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * trans_decl.h: remove allowed from KmodInfo
13639 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13640 remove allowed code
13643 * paragraph_pimpl.C (erase): use boost::prior
13645 * Painter.C (text): use data() instead of c_str() when length is
13647 * WorkArea.C (putClipboard): ditto
13648 * font.h (width): ditto
13650 * BufferView2.C: use it-> instead of (*it). for iterators
13652 * paragraph_pimpl.C: ditto
13653 * paragraph.C: ditto
13654 * minibuffer.C: ditto
13655 * language.C: ditto
13657 * encoding.C: ditto
13658 * counters.C: ditto
13659 * converter.C: ditto
13661 * Variables.C: ditto
13662 * TextCache.C: ditto
13663 * MenuBackend.C: ditto
13664 * LyXAction.C: ditto
13666 * FloatList.C: ditto
13667 * DepTable.C: ditto
13668 * ColorHandler.C (LyXColorHandler): ditto
13670 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13674 * text2.C (openStuff): reintroduce this method (which had been
13675 nuked in NEW_INSETS frenzy).
13677 * lyxfunc.C (Dispatch): when an action has not been handled, use
13678 its name in the error message, not its number.
13680 * paragraph.C (inInset): change method name to begin with lowercase.
13683 * text2.C: updates because of this.
13685 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13687 * ToolbarDefaults.C (add): add spaces in error message
13689 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13692 (readLyXformat2): rename return_par to first_par, use lyxlex's
13693 pushToken and remove the manual push handling.
13694 (parseSingleLyXformat2Token): add another ert comp. variable:
13695 in_tabular, rename return_par to first_par. handle newlines better
13697 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13699 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13701 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13703 * text2.C (getParFromID): removed
13705 * buffer.C (getParFromID): new method moved form lyxtext.
13706 * BufferView2.C (insertErrors): adjust
13707 (setCursorFromRow): adjust
13708 * BufferView_pimpl.C (restorePosition): adjust
13709 * lyxfunc.C (Dispatch): adjust
13710 * undo_funcs.C (textUndo): adjust
13712 (textHandleUndo): adjust
13713 (textHandleUndo): adjust
13715 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * buffer.C: up' the LYX_FORMAT
13719 * lyxfont.h: turn NO_LATEX on as default
13721 * buffer.C (insertErtContents): new methods of tex style compability.
13722 (parseSingleLyXformat2Token): use it several places.
13723 * tabular.C (OldFormatRead): and here
13725 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * text2.C: remove some commented code.
13730 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13731 * trans.C: changes because of the above.
13733 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13735 * text2.C (setCounter): Fix counters bug with bibliography layout.
13737 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13740 own member functions
13741 (simpleTeXSpecialChars): ditto
13743 2001-07-06 Juergen Vigna <jug@sad.it>
13745 * a lot of files: changed the access to LyXText::status and the
13746 call of undo-functions.
13748 * undo.[Ch]: added a inset_id to the undo informations.
13750 * undo_funcs.[Ch]: added and moved here all undo functions.
13752 * lyxtext.h: give the status enum a weight, made status_ a private
13753 variable and made accessor functions for it, removed the whole bunch
13754 of undo-functions as they are now in their own file, make some
13755 functions publically available. Added function ownerParagraph with
13758 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13759 made InInset() a const function, added getParFromID() function.
13761 * buffer.[Ch]: added const version for inset_iterator functions,
13762 added getInsetFromID() function.
13764 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13765 changed undo functions for new version.
13767 2001-07-05 Juergen Vigna <jug@sad.it>
13769 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13770 unknow mechanism does not call the proper constructor but only this
13771 one also if I request the other!?
13773 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13775 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13777 * text2.C (LyXText): use initialization lists.
13779 * lyxtext.h (Selection): initialize set_ and mark_
13780 (init): remove method
13782 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13784 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13786 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * screen.[Ch]: change method names to begin with lowercase
13790 * BufferView_pimpl.C (updateScrollbar): simplify further and
13791 hopefully make it a bit faster.
13793 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13796 calling directly xforms functions.
13798 * Painter.C (Painter):
13799 * lyx_cb.C (MenuWrite):
13800 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13803 * lyx_gui.C: remove bogus guiruntime extern declaration.
13805 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13809 (redoDrawingOfParagraph): ditto
13810 (redoParagraphs): ditto
13811 (cutSelection): don't create a object for CutAndPaste use the
13812 static method directly
13813 (pasteSelection): ditto
13815 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13818 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * modifications to some other files because of this.
13822 * Makefile.am (lyx_SOURCES): add XFormsView
13824 * XFormsView.[Ch]: new files
13826 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13827 the main window. Move the gui dependent stuff to XFormsView
13829 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * tabular.C (GetCellInset): update cur_cell also in the row/col
13832 version of this function.
13834 * lyxfunc.C: no need to include figure_form.h here.
13840 * lyxvc.C: no need to include forms.h here.
13842 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13844 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13846 * lyxfunc.C (Dispatch):
13848 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13849 constructor argument.
13851 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * paragraph.C (Paragraph): dont't clear, and just set layout.
13854 (makeSameLayout): use params's copy contructor.
13856 * ParagraphParameters.[Ch] (makeSame): delete method
13858 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13860 * Variables.[Ch]: fix indentation, rename set to isSet
13862 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13864 * lyxfunc.C (Dispatch): fix typo
13866 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13871 * bufferlist.C: include assert.h for emergencyWrite().
13873 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13875 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13876 give up at last (bug #425202) !
13878 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13884 * spellchecker.C: strip spellchecker options and bring up
13885 preferences tab instead
13887 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13889 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13890 the istringstream constructor
13892 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * paragraph.C (getLayout): fix return value
13896 * paragraph.h: do not declare getLayout as inline.
13898 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13900 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * lyxcursor.h (operator<): new func
13903 (operator>): new func
13904 (operator>=): new func
13905 (operator<=): new func
13907 * text.C (changeCase): use selection.start and selection.end
13908 (changeRegionCase): require from to be <= to. Require par to be a
13911 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13913 2001-06-27 Juergen Vigna <jug@sad.it>
13915 * text.C (cursorLeftOneWord): changed to return the cursor and added
13916 overlay with BufferView * parameter which calls this one.
13918 (selectWord): use new getWord function.
13919 (changeCase): renamed from changeWordCase as and extended to work
13920 also on selections.
13922 * lyxtext.h: added enum word_location
13924 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13925 changeCase as this operates now also on selections.
13927 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13929 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13931 * many files: send debug output to Debug::INFO instead of
13934 * converter.C (View):
13936 (Move): send debug output to Debug::FILES instead of console.
13938 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13940 * lyxfunc.C (getStatus): use func_status
13942 * func_status.h: new header, describing the results of
13943 LyXFunc::getStatus;
13945 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13948 2001-06-25 The LyX Project <jug@sad.it>
13950 * buffer.C (sgmlOpenTag):
13952 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13954 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13956 * text2.C: remove some dead code
13958 * tabular.C (GetCellInset): store the last cell checked (gotten)
13960 * tabular.h: add the helper for the speedup
13962 * lyxtext.h: remove some dead code
13964 2001-06-26 The LyX Project <Asger>
13966 * paragraph.C: Change export to LaTeX of alignment to
13967 \begin{center} and family for better roundtrip work with reLyX.
13969 * Tune the math drawing a bit.
13971 2001-06-25 The LyX Project <Asger>
13973 * LColor.C (LColor): New color for math background. New color
13976 2001-06-25 The LyX Project <jug@sad.it>
13978 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13980 * lyxfunc.C (Open):
13981 * bufferlist.C (newFile): do not restrict to files ending with
13984 * BufferView_pimpl.C (MenuInsertLyXFile):
13986 2001-06-24 The LyX Project <jug@sad.it>
13988 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13991 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * lyxtext.h: rename most methods to begin with a small char.
13994 Lots of changes because of this.
13996 * paragraph.C (Paragraph): do not call fitToSize
13997 (erase): call Pimpl::erase
13998 (insertChar): call Pimpl::insertChar
13999 (insertInset): call Pipl::insertInset
14000 (breakParagraph): do not call fitToSize
14001 (breakParagraphConservative): do not call fitToSize
14002 (fitToSize): remove method
14004 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14006 2001-06-24 The LyX Project <Asger>
14008 * Fix Qt compilation^2
14010 2001-06-24 The LyX Project <jug@sad.it>
14012 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14013 depthHook(getDepth()-1).
14016 * ParagraphParameters.h:
14017 * ParameterStruct.h: change type of depth to unsigned int ==
14018 depth_type. Many adaptations to other files before of that.
14020 2001-06-24 The LyX Project <Asger>
14022 * Fix Qt compilation.
14024 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * paragraph.h: renamed several methods to begin with small letter.
14027 several changes to many parts of the code because of this.
14029 2001-06-23 The LyX Project <jug@sad.it>
14031 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14032 rewritten to discard all double spaces when KeepEmpty is off
14033 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14034 to only handle newlines but not fiddle with spaces and friends.
14036 * lyxfunc.C (MenuNew): when doing 'new from template', use
14037 template_path as default directory
14039 2001-06-23 The LyX Project <Asger>
14041 * Clean-up of header file includes all over
14042 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14044 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * paragraph.h: renamed from lyxparagraph.h
14048 2001-06-23 Asger <lyx@violet.home.sad.it>
14050 * Buffer.h: Removed Buffer::resize
14051 * BufferList.h: Removed BufferList::resize
14052 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14053 the document lazily when we change the width, or the font settings.
14055 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14057 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14059 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14061 * buffer.h: remove out of date comment
14063 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14066 * screen.C: fix "theoretical" GC leak
14068 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * LaTeX.C (scanAuxFile):
14071 (deplog): remove trailing \r when reading stream (useful under
14074 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14076 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14077 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14078 and BufferView::theLockingInset(Inset*), so should use them and not
14079 access bv_->text->the_locking_inset directly.
14081 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14083 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14086 * tex-defs.h: remove old unused file
14088 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14090 * BufferView_pimpl.C: fix typo, remove minibuffer message
14091 when buffer has loaded
14093 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14095 * lyxfunc.C (Dispatch): use stringstream
14096 (MenuNew): use stringstream
14097 (Open): use stringstream
14099 * importer.C (Import): use stringstream
14101 * bufferview_funcs.C (CurrentState): use stringstream
14103 * LaTeX.C (run): use stringstream
14105 * BufferView_pimpl.C (savePosition): use stringstream
14106 (restorePosition): use stringstream
14107 (MenuInsertLyXFile): use stringstream
14109 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14122 * vspace.C: removed // -*- C++ -*- as first line.
14125 * version.h: added // -*- C++ -*- as first line.
14127 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14131 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14134 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14136 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14139 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14141 * gettext.C: include LString.h even when --disable-nls is on.
14143 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14145 * converter.h (Get): changed argument type from int to
14146 FormatList::size_type to avoid unnecessary conversion.
14148 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14151 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14153 * gettext.h: include LString.h even when --disable-nls is on.
14155 2001-06-07 Juergen Vigna <jug@sad.it>
14157 * text.C (BreakAgain): subst spaces with tabs.
14159 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14160 (resizeInsetsLyXText): set force on resizeLyXText.
14162 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * gettext.h (gettext_init):
14165 (locale_init): use a real definition instead of a macro
14167 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14169 * Bufferview_pimpl.C:
14171 * LColor.C: further lcolor tidies
14173 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * BufferView_pimpl.C (updateScrollbar): simplify.
14177 * BufferView2.C: don't include insets/insetinfo.h, change
14178 prototype for insertInset and call the Pimpl version. let
14179 updateInset call Pimpl version.
14181 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14182 gotoInset to BufferView::Pimpl
14184 2001-06-01 Juergen Vigna <jug@sad.it>
14186 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14187 inside a LockingInset (is the update needed at all?).
14189 2001-05-31 Juergen Vigna <jug@sad.it>
14191 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14192 here not the old one otherwise how should we compare it afterwards
14195 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14200 * FontInfo.C: bring C functions into global namespace when
14203 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14205 * LString.h: make sure config.h has been loaded before LString.h.
14207 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14208 (one for each char read by EatLine!).
14210 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14213 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14216 to the same as the par we break from
14218 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14220 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14222 * MenuBackend.C (expand): also create menu entries for wide
14223 versions of the floats.
14225 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14227 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14229 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14230 frontends/Makefile.am
14236 * tabular.C (getTokenValue): add std::
14238 * tabular-old.C (getTokenValue): add std::
14239 (getTokenValue): ditto
14240 (getTokenValue): ditto
14242 * screen.C (ToggleSelection): adjust
14244 * lyxtext.h: put selection cursors inside a Selection struct.
14246 * lyxfunc.C (moveCursorUpdate): adjust
14248 * lyxfont.C (latexWriteStartChanges): add std::
14250 * lyxfind.C: adjust
14252 * font.h: delete with(char const *, LyXFont const &)
14254 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14256 * FontInfo.C (getFontname): add std::
14258 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14259 (workAreaButtonPress): adjust
14260 (tripleClick): adjust
14262 (moveCursorUpdate): adjust
14265 * BufferView2.C (gotoInset): adjust
14267 2001-05-30 Juergen Vigna <jug@sad.it>
14269 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14270 to check pspell I add this as default as I now have new pspell
14271 libraries and they seem to use this.
14273 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14275 * text2.C (CutSelection): make the cursor valid before the call to
14278 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14280 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14281 relied on 0 terminated strings and other horrors. Bug found due to
14282 the new assert in lyxstring!
14284 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14287 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14292 * lyxfunc.C (processKeySym): change method of getting to the
14295 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14296 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14297 * BufferView_pimpl.[Ch]: here as private methods.
14299 2001-05-28 Juergen Vigna <jug@sad.it>
14301 * text.C (SetHeightOfRow): added the update() call again as it is
14302 needed to initialize inset dimensions!
14304 2001-05-16 Juergen Vigna <jug@sad.it>
14306 * text2.C (SetCharFont): Add new function with BufferView * and
14307 bool toggleall parameters for setting insets internal fonts.
14308 (SetFont): Freeze the undo as we may change fonts in Insets and
14309 all this change should be inside only one Undo!
14311 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14312 setting font's in insets as for them we have the SetFont function!
14314 2001-05-15 Juergen Vigna <jug@sad.it>
14316 * text2.C (ClearSelection): to be sure we REALLY don't have any
14319 * tabular.C (TeXCellPreamble): fixed the left border problem for
14322 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14324 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14327 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14330 LFUN_BREAKPARAGRAPH.
14332 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14333 help test to "internal only", similar for LFUN_INSERT_URL
14335 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14336 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14337 auto_region_delete and deadkeys.
14339 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14342 * LColor.C: remove some dead entries, tidy a little
14344 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14346 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14348 (Dispatch): implement LFUN_ESCAPE
14350 * commandtags.h: add LFUN_ESCAPE
14352 * LyXAction.C (init): add entry for LFUN_ESCAPE
14354 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14355 Remove commented code.
14356 (insertNote): moved here
14357 (open_new_inset): moved here
14359 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14362 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14364 * kbmap.C (findbinding): clean it up and make it work correctly.
14366 * lyx_main.C (init): do not pass argc and argv as parameters
14368 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14370 * buffer.C: fix path for OS/2 & Win32
14374 * lyx_main.C: Added os:: class.
14376 * os2_defines.h: update
14378 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14381 better by trying again with reduced state.
14383 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14385 * lyxrc.C (read): print error about invalid key sequence only when
14386 debugging (because not all latinX keysyms are known to some X
14389 * kbsequence.C (getiso): add a few std:: qualifiers
14390 (getiso): comment out extra return statement.
14392 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14394 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14396 (Dispatch): enhance the accent inset a bit. (not perfect)
14398 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14400 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14402 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * bufferlist.C (emergencyWrite): fix assert() call
14406 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14408 * text.C (InsertChar): Added trivial patch to only send the "you
14409 can not do multiple spaces this way" message once during a
14412 2001-05-08 Baruch Even <baruch@lyx.org>
14414 * Makefile.am: Changed order of libraries to get LyX to link properly
14415 with the gnome frontend.
14417 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14419 * LaTeXFeatures.h: add a std:: qualifier
14421 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * paragraph.C (String): use stringstream
14425 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14427 * paragraph.C (writeFile): remove footflag arg
14429 * buffer.C (makeLaTeXFile): use stringstream
14430 (latexParagraphs): remove footnot gurba
14432 * LaTeXFeatures.C (getPackages): use stringstream
14433 (getMacros): likewise
14434 (getTClassPreamble): likewise
14435 (getFloatDefinitions): new method
14437 * paragraph.C (writeFile): reindent
14440 * WorkArea.h: revert the xpos + etc changes.
14442 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14444 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14446 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14447 (pasteSelection): likewise
14448 * text2.C (CreateUndo): likewise
14450 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14452 * minibuffer.C (peek_event): temporarily reduce the functionality
14453 of the minibuffer (to allow args on lfuns)
14455 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14456 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14458 * buffer.C (readInset): add compability reading of old float
14459 lists, add reading of new style float list.
14460 (readInset): avoid reevaluation of inscmd.getCmdName()
14461 (getLists): reindent
14463 * MenuBackend.C (MenuItem): implement parsing of
14464 md_floatlistinsert and md_floatinsert.
14465 (expand::LastFiles): move initalizaton of iterators out of loop,
14466 avoid reevaluation.
14467 (expand::Documents): introduce typdedef vector<string> Strings,
14469 (expand::ExportFormats): introduce typedef vector<Format const *>
14470 Formats, and use it.
14471 (expand): implement FloatListInsert and FloatInsert.
14473 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14474 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14475 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14477 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14479 (Dispatch::LFUN_FLOAT_LIST): implement
14481 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14483 * LaTeX.C (run): Fix problem with --export code.
14485 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14487 * BufferView.[Ch] (workarea): removed.
14488 (getClipboard) new method; wrapper for workarea()->getClipboard()
14490 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14493 * WorkArea.h (width, height, xpos, ypos): These methods all
14494 returned the dimensions of the work_area sub-area of WorkArea,
14495 resulting in a position error if the WorkArea were resized. Now
14496 return the dimensions of the entire WorkArea.
14498 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14500 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14502 * LaTeX.C (deplog): correct the syntax of regex reg1
14504 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14506 * undo.C: remove !NEW_INSETS cruft
14508 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14510 * text2.C: remove !NEW_INSETS cruft
14512 * text.C: remove !NEW_INSETS cruft
14514 * tabular.C: remove !NEW_INSETS cruft
14516 * spellchecker.C: remove !NEW_INSETS cruft
14518 * lyxtext.h: remove !NEW_INSETS cruft
14520 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14522 * lyxfunc.C: remove !NEW_INSETS cruft
14524 * lyxfind.C: remove !NEW_INSETS cruft
14526 * lyx_cb.C: remove !NEW_INSETS cruft
14528 * figureForm.C: remove !NEW_INSETS cruft
14530 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14532 * buffer.[Ch]: remove !NEW_INSETS cruft
14534 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14536 * CutAndPaste.C: remove !NEW_INSETS cruft
14538 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14540 * BufferView2.C: remove !NEW_INSETS cruft
14542 * BufferView.h: remove !NEW_INSETS cruft
14544 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14546 * Lsstream.h: include LString.h before the sstream headers to
14547 fix problem with gcc 2.95.3 and lyxstring
14549 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * lyx_main.C: add using directives when needed for C functions
14552 declared in std:: namespace.
14554 2001-04-27 Juergen Vigna <jug@sad.it>
14556 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14557 (SetHeightOfRow): comment out the update call should not be needed!
14559 2001-04-13 Juergen Vigna <jug@sad.it>
14561 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14562 (LyXTabular): tried to minimize operator= operations (and realized
14563 hopfully Lars wish).
14565 2001-04-27 Juergen Vigna <jug@sad.it>
14567 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14569 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14571 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14573 * buffer.C (readInset): hack to make listof algorithm work
14575 * BufferView_pimpl.C: hack to make listof algorithm work
14577 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14579 * LyXAction.C: removed all !NEW_INSETS cruft
14580 (init): moved lfun_item in method
14582 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14584 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14586 * BufferView2.C (theLockingInset): white space.
14588 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * minibuffer.C: include <iostream>
14592 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14594 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14596 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14598 * text.[Ch] (TransposeChars): new method
14600 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14602 * call message directly through LyXView instead of through LyXFunc
14603 * BufferView2.C: adjust
14604 * BufferView_pimpl.C: adjust
14605 * FontLoader.C: adjust
14607 * bufferview_funcs.C: adjust
14608 * converter.C: adjust
14609 * figureForm.C: adjust
14610 * importer.C: adjust
14612 * lyx_gui_misc.C: adjust
14613 * lyxfunc.C: adjust
14616 + more files in subdirs
14618 * lyxparagraph.h (size): move up int file
14621 * adjust all uses of Assert to lyx::Assert.
14623 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14624 lyxfunctional in namespace lyx
14625 * layout.C (hasLayout): ditto
14628 (delete_layout): ditto
14629 (NumberOfClass): ditto
14630 * converter.C (GetFormat): ditto
14635 * bufferlist.C (getFileNames): ditto
14636 (emergencyWriteAll): ditto
14639 * MenuBackend.C (hasSubmenu): ditto
14642 * BufferView_pimpl.C (getInsetByCode): ditto
14644 2001-04-18 Juergen Vigna <jug@sad.it>
14646 * vspace.C (asLatexString): fixed the 100% problem.
14648 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * lyxfunc.C (Dispatch):
14652 * minibuffer.h: add a few std:: qualifiers
14654 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14656 * minibuffer.[Ch]: reimplement so that commands is initiated and
14657 run from lyxfunc, simplified som handling, and made the completion
14658 and history code for complete. wip.
14660 * lyxfunc.C (processKeySym): call message
14661 (miniDispatch): new temporary method
14662 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14663 (LFUN_MESSAGE): implement
14664 (LFUN_MESSAGE_PUSH): implement
14665 (LFUN_MESSAGE_POP): implement
14666 (initMiniBuffer): the initial/defualt minibuffer message.
14668 * lyxfont.[Ch]: inline some more getters
14670 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14672 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14674 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14675 (AutoSave): use LFUN_MESSAGE
14676 (Reconfigure): ditto
14678 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14680 * figureForm.C: use LFUN_MESSAGE
14682 * converter.C (runLaTeX): use LFUN_MESSAGE
14684 * bufferview_funcs.C: use LFUN_MESSAGE
14686 (changeDepth): ditto
14688 * bufferparams.h: use boost::
14690 * bufferlist.h: inherit privately from noncopyable
14692 * bufferlist.C (loadLyXFile): remove some commented code.
14694 * buffer.C (runChktex): use LFUN_MESSAGE
14696 * ShareContainer.h: inherit privately from noncopyable
14698 * ParagraphParameters.[hC] (depth): inline it.
14700 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14702 (message): new method
14703 (messagePush): ditto
14704 (messagePop): ditto
14705 (show): init minibuffer
14706 (showState): direct call
14708 * LaTeX.[Ch]: inherit privately from noncopyable
14709 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14710 instead of WriteStatus.
14712 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14714 * BufferView_pimpl.C (buffer): don't init minibuffer
14715 (workAreaButtonPress): use LFUN_MESSAGE
14716 (workAreaButtonRelease): ditto
14717 (savePosition): ditto
14718 (restorePosition): ditto
14719 (MenuInsertLyXFile): ditto
14720 (workAreaExpose): don't init minibuffer
14721 (update): remove commented code, simplify
14723 * BufferView2.C (openStuff): use LFUN_MESSAGE
14724 (toggleFloat): ditto
14727 (copyEnvironment): ditto
14728 (pasteEnvironment): ditto
14733 (updateInset): remove some commented code
14735 * lastfiles.h: inherit privately from noncopyable
14738 * lyx_main.h: ditto
14740 * lyxlex_pimpl.h: ditto
14742 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14743 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14744 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14746 * LyXAction.h: inherit privately from noncopyable, add methods
14747 func_begin, func_end, returning iterators to the func map.
14749 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14750 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14751 (func_begin): new method
14752 (func_end): new method
14754 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14756 (copySelection): ditto
14757 (pasteSelection): ditto
14759 * BufferView.C: whitespace change
14760 * BufferView.h: inherit privately from noncopyable
14762 2001-04-16 Allan Rae <rae@lyx.org>
14764 * tabular-old.C (l_getline):
14765 * spellchecker.C (sc_check_word):
14766 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14767 an unrecognised preprocessor directive. So ensure they're wrapped.
14769 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14771 * src/exporter.C (Export): Give an error message when path to file
14774 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14776 * LaTeX.C (deplog): Always check that foundfile exists.
14778 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14783 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * tabular.[Ch] (getLabelList): implement new method
14787 * minibuffer.h: comment ouf setTiimer
14789 * minibuffer.C (ExecutingCB): constify res
14790 (peek_event): constify s
14791 (Set): constify ntext
14792 (Init): constify nicename
14794 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14796 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14797 (savePosition): use two params to Minibuffer::Set
14798 (restorePosition): ditto
14800 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14802 * lyx_main.C: include language.h
14804 * Makefile.am (lyx_main.o): add language.h
14806 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * CutAndPaste.C: include gettext.h
14814 * lyxfont.h: remove old hack with ON and OFF.
14817 * lyxfont.h: do not include language.h...
14822 * bufferview_funcs.C:
14828 * paragraph.C: ... but do it here instead
14830 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14834 * tabular.C: small reformat
14836 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14839 (BreakParagraph): ditto
14840 (SetOnlyLayout): ditto
14843 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14846 * lastfiles.C: removed most using decl, add std:: where needed
14848 * buffer.C: ws changes
14850 * MenuBackend.C (class compare_format): put into anon namespace
14851 (expand): constify label, names, action, action2
14854 * text.C (SingleWidth): constify font
14855 (IsBoundary): constify rtl2
14856 (GetVisibleRow): constify ww
14858 * LaTeX.C (deplog): constify logfile
14860 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14862 (workAreaExpose): constify widthChange, heightChange
14864 * lyxrow.C (par): moved
14867 * lyxrow.h: as inlines here
14869 * lyxfont.h (shape): moved from lyxfont.C
14870 (emph): moved from lyxfont.C
14872 * lyxfont.C (LyXFont): use initialization list for all
14874 (shape): move to lyxfont.h as inline
14875 (emph): move to lyxfont.h as inline
14878 2001-04-04 Juergen Vigna <jug@sad.it>
14880 * vspace.C: had to include stdio.h for use of sscanf
14882 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14885 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14886 independent of xforms.
14888 2001-04-02 Juergen Vigna <jug@sad.it>
14890 * spellchecker.C: fixed namespace placing!
14892 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14894 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14895 the LyXParagraph * is 0.
14897 2001-03-29 Juergen Vigna <jug@sad.it>
14899 * vspace.C: added support for %, c%, p%, l%.
14900 (stringFromUnit): added helper function.
14901 (asLatexString): changed to give right results for the %-values.
14903 * buffer.C: convert the widthp in a width%.
14905 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14907 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14910 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14911 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14913 * lyx_cb.[Ch]: see above.
14915 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14919 * lyx.[Ch]: replaced by figure_form.[Ch].
14923 * lyxfunc.C: changed headers associated with above changes.
14925 2001-03-27 Juergen Vigna <jug@sad.it>
14927 * BufferView_pimpl.C: set the temporary cursor right!
14929 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14931 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14933 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14935 * LString.h: removed "using std::getline"!
14937 * BufferView_pimpl.C (Dispatch): changes due to changes in
14938 InsetInclude::Params.
14940 * buffer.C (tag_name): removed redundant break statements as they were
14941 producing lots of warnings with my compiler.
14943 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14945 * LString.h: add "using std::getline" when using the real <string>.
14947 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14949 * buffer.C: removed bitset usage.
14950 PAR_TAG moved to an anonymous name space.
14951 (tag_name): new funtion, also in the anonymous namespace.
14952 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14953 (makeDocBookFile): clean code. Completed transition from string arrays
14955 (SimpleDocBookOnePar): code clean.
14957 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14959 * tabular.C: add some comments.
14961 2001-03-22 Juergen Vigna <jug@sad.it>
14963 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14964 compatibility read a bit and fixed bug with minipage in different
14967 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14969 * buffer.C (pop_tag): removed.
14970 (push_tag): removed.
14971 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14972 array replaced with vector. Added support for CDATA sections.
14973 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14975 (makeDocBookFile): XML conformant declaration of CDATA section,
14976 fixed bug related to <emphasis> in the first paragraph char.
14977 (sgmlOpenTag): exclude empty tags.
14978 (sgmlCloseTag): ditto.
14980 * buffer.h (pop_tag): removed.
14981 (push_tag): removed.
14983 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14985 * language.h (Languages): added size_type and size().
14987 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14989 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14990 response on compability reading of minipages. One probliem is that
14991 the old usage of minipages was «flertydig»
14993 * several files here and in subdirs: don't use static at file
14994 scope use anon namespaces instead.
14996 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14998 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14999 LaTeX output. This is necessary for Literate document
15002 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15004 * buffer.C: insert hfill when needed.
15006 * tabular.C (l_getline): use string::erase, small whitespace change.
15008 * BufferView_pimpl.C: try the anon namespace.
15009 * WorkArea.C: ditto
15011 2001-03-16 Juergen Vigna <jug@sad.it>
15013 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15014 otherwise it won't open options-dialogs.
15016 * buffer.C: honor pextraWidth(p) on converting minipages.
15018 * tabular.C (l_getline): changed the functions to strip trailing \r.
15020 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15022 * BufferView_pimpl.C:
15023 * minibuffer..C: added "using SigC::slot" declaration.
15025 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15027 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15033 * paragraph.C: ditto
15035 * lyxtext.h: NO_PEXTRA
15037 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15039 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15040 * ParameterStruct.h: ditto
15041 * ParagraphParameters.h: ditto
15042 * lyxparagraph.h: ditto
15044 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15046 * buffer.C: add compability for minipage alignment.
15047 (latexParagraphs): remove unwanted pextra check.
15049 * several files: remove CXX_WORKING_NAMESPACES
15051 * buffer.C (pop_tag): tie is in namespace boost
15053 * BufferView.h: noncopyable is in namespace boost
15055 * lyx_main.h: ditto
15058 * lastfiles.h: ditto
15059 * bufferlist.h: ditto
15060 * ShareContainer.h: ditto
15062 * LyXAction.h: ditto
15065 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15067 * Merging changes from BRANCH_MVC back into HEAD.
15069 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15071 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15073 * BufferView_pimpl.C: change from intl.C
15077 * Makefile.am: move combox.*
15083 * intl.C: remove dialog (covered by prefs)
15085 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15087 * lyxfunc.C (Dispatch): removed redundant break statement.
15089 2001-03-14 Juergen Vigna <jug@sad.it>
15091 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15093 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15095 * buffer.C: add hack to fix compability reading of minipages.
15097 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15099 * buffer.C (getLists): Cleanup.
15101 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * lyxfont.C (update): don't honor toggleall on font size.
15105 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15109 * Makefile.am: moved to frontends/xforms/
15113 * BufferView_pimpl.C: changes for moved mathpanel
15115 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15117 * gettext.h: fix gettext_init() in --disable-nls
15119 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15121 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15123 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15126 * lyx.h: strip external form
15128 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15130 * BufferView_pimpl.C: add comment, destroySplash()
15132 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15134 * BufferView_pimpl.C:
15138 * lyxfunc.C: use re-worked insetinclude
15140 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15142 * buffer.C: add using std::stringstream.
15144 * lyx_cb.C: readd using std::ios.
15146 * buffer.C: add using std::map.
15148 * BufferView_pimpl.C: add using std::vector.
15150 * ShareContainer.h: add std:: to swap.
15152 * buffer.h: add some typedefs
15153 * buffer.C (getLists): use them
15154 (getLists): renamed from getTocList.
15155 add a counter for the different float types and use it in the
15157 (getLists): use the same counter for the NEW_INSETS and the "non"
15160 * lyx_cb.h: remove unused items, includes, using etc.
15162 * ShareContainer.h: remove some commented code, add more comments
15163 and "documentation".
15165 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15167 * buffer.C (getTocList): make the list also when NEW_INSETS is
15170 * buffer.h: remove TocType
15172 * buffer.C (getTocList): change to return a map<string,
15173 vector<TocItem> >, implement for dynamic number of list.
15175 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15176 * text2.C (PasteSelection): adjust
15177 * CutAndPaste.C (pasteSelection): adjust
15179 * FloatList.C (FloatList): update from the new_insets branch.
15180 * Floating.[Ch]: ditto
15181 * LaTeXFeatures.C: ditto
15183 * lyxlex_pimpl.C: ditto
15185 * paragraph.C (Last): remove when NEW_INSETS is defined.
15187 * other file: changes because of the above.
15189 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15191 * lyxparagraph.h: rename next to next_, previous to previous_,
15192 make them private for NEW_INSETS. Rename Next() to next(),
15193 Previous() to previous().
15195 * other files: changes because of the above.
15197 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15200 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15203 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * main.C (main): pass lyx_localedir to gettext_init().
15207 * gettext.h: remove locale_init and gettext_init macros
15209 * gettext.C (locale_init): new function
15210 (gettext_init): new function
15212 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15215 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15217 * Moved credits to frontends:
15218 * credits.[Ch]: removed
15219 * credits_form.[Ch]: removed
15220 * lyx_gui_misc.C: remove credits stuff
15223 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15225 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15227 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15228 unneeded destructor.
15230 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15231 a standalone pointer again.
15233 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15235 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15241 * ToolbarDefaults.C:
15250 * BufferView_pimpl.C: use new file dialog in GUII
15253 * lyx_cb.C: remove LayoutsCB to Toolbar
15255 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15257 * ShareContainer.h (get): add std:: qualifier
15259 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * ShareContainer.h: define a proper ShareContainer::value_type
15262 type (and use typename to please compaq cxx)
15264 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15266 * lyxparagraph.h: move serveral local vars to
15267 ParameterStruct/ParagraphParameters., use ShareContainer in
15268 FontTable., make vars in FontTable private and add getter and
15271 * paragraph.C: changes because of the above.
15273 * lyxfont.h: remove copy constructor and copy assignment. (the
15274 default ones is ok), move number inside FontBits. move inlines to
15277 * lyxfont.C: add number to initializaton of statics, move several
15278 inlines here. constify several local vars. some whitespace
15279 cleanup. Dont hide outerscope variables.
15281 * Spacing.h: add two new constructors to match the set methods.
15283 * ShareContainer.h: new file, will perhaps be moved to support
15285 * ParameterStruct.h: new file
15287 * ParagraphParameters.h: new file
15289 * ParagraphParameters.C: new file
15291 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15292 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15294 * BufferView_pimpl.C: ParagraphParameter changes.
15295 * buffer.C: Likewise.
15296 * bufferview_funcs.C: Likewise.
15297 * text.C: Likewise.
15298 * text2.C: Likewise.
15300 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15302 * lyxfind.C (LyXReplace): do not redefine default argument in
15304 (IsStringInText): ditto
15305 (SearchForward): ditto
15306 (SearchBackward): ditto
15308 2001-03-06 Juergen Vigna <jug@sad.it>
15310 * lyxfind.C (IsStringInText): put parentes around expressions.
15312 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15314 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15316 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15318 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15320 * stl_string_fwd.h: add comment
15322 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15325 * tabular.C: remove unused DocBook methods
15331 killed DO_USE_DEFAULT_LANGUAGE
15333 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * lyx_gui.C: do not include language.h.
15337 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15338 arguments in function implementation.
15340 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15342 * BufferView_pimpl.C: add <ctime>
15344 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15346 * BufferView_pimpl.C: add using std::find_if
15348 2001-02-27 José Matos <jamatos@fep.up.pt>
15350 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15353 2001-02-11 José Matos <jamatos@fep.up.pt>
15355 * buffer.C (makeDocBookFile): command styles now have a parameter as
15356 "title" by default.
15358 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15360 * layout_forms.[Ch]: removed
15361 * lyx_cb.[Ch]: out character
15362 * lyx_gui.C: out character
15363 * lyx_gui_misc.C: out character
15364 * bufferview_funcs.C: : out character,
15365 added toggleall as parameter in ToggleAndShow
15367 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15369 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15371 * text2.C (SetCurrentFont): Disable number property at boundary.
15373 2001-02-26 Juergen Vigna <jug@sad.it>
15375 * lyxfunc.C (getStatus): added a string argument override function so
15376 that this is correctly called from LyXFunc::Dispatch if it contains a
15377 do_not_use_argument which is used!
15378 (Dispatch): added check for "custom" export and call appropriate func.
15380 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15382 * lyxrc.C: Add language_command_local, language_use_babel and
15383 language_global_options.
15385 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15387 * buffer.C (makeLaTeXFile): Use language_use_babel and
15388 language_global_options.
15390 2001-02-23 Juergen Vigna <jug@sad.it>
15392 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15393 which works with LyXText and putted it inside BufferView. Here now we
15394 only call for that part the BufferView::Dispatch() function.
15396 * BufferView.C (Dispatch): added.
15398 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15399 functions which needs to use a LyXText over from LyXFunc.
15400 (MenuInsertLyXFile): added
15401 (getInsetByCode): added
15402 (moveCursorUpdate): added
15403 (static TEXT): added
15405 2001-02-22 Juergen Vigna <jug@sad.it>
15407 * BufferView_pimpl.C (update): call a status update to see if LyXText
15410 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15412 * vc-backend.C (revert): implement for CVS
15413 (getLog): implement for CVS
15415 2001-02-20 Juergen Vigna <jug@sad.it>
15417 * text2.C (ClearSelection): added BufferView param for inset_owner call
15419 * lyxfunc.C (TEXT): added this function and use it instead of
15420 directly owner->view()-text of getLyXText().
15422 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15424 * src/layout_forms.C: out preamble
15425 * src/layout_forms.h: out preamble
15426 * src/lyx_cb.C: out preamble
15427 * src/lyx_cb.h: out preamble
15428 * src/lyx_gui.C: out preamble
15429 * src/lyx_gui_misc.C: out preamble
15430 * src/lyxfunc.C: connect with guii preamble
15432 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15434 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15436 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15438 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15439 whether to run bibtex.
15441 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15443 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15445 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15447 * Makefile.am (lyx_SOURCES): removed bibforms.h
15449 * vspace.h: doxygen
15451 * text.C (GetVisibleRow): make several local vars const
15453 * tabular.C: small cleanup.
15455 * lyxserver.C (callback): use compare instead of strncmp
15457 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15458 inlines to after class or to paragraph.C
15460 * lyxfont.h: remove friend operator!=
15462 * converter.h: move friend bool operator< to non friend and after
15465 * combox.h: small cleanup
15467 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15468 to inlines after class def.
15470 * buffer.C (pop_tag): use string operations instead of strcmp
15472 * bmtable.c: doxygen, small cleanup
15474 * LaTeX.h: remove friend operator==
15476 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15488 * BufferView_pimpl.C:
15489 * BufferView.[Ch]: remove cruft
15491 2001-02-14 Juergen Vigna <jug@sad.it>
15493 * lyxfunc.C: removed #if 0 unused code
15495 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15497 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15499 * text2.C (SetSelection): added a BufferView * parameter
15501 2001-02-13 Juergen Vigna <jug@sad.it>
15503 * lyxfunc.C (Dispatch): fixed protected blank problem.
15504 * BufferView2.C (protectedBlank): added LyxText * parameter.
15506 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15507 (AppendColumn): same as above for column_info.
15509 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15510 (moveCursorUpdate): use a LyXText param for support of InsetText.
15512 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15513 (tripleClick): ditto
15515 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15517 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15519 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15521 * text2.C (SetSelection): set correct update status if inset_owner
15522 (ToggleFree): ditto
15524 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15526 * tabular.C: remove some commented code.
15528 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15530 * BufferView_pimpl.C: call hideSplash()
15532 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15535 * bibforms.h: remove
15538 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15539 add LFUN_CHILD_CREATE
15541 * counters.h: fix tiny typo
15546 * lyx.C: move splash to frontends/xforms/
15548 * lyx_gui_misc.C: move Include and Bibform to frontends
15550 * lyxvc.h: clarify comment
15552 * vspace.C: tiny housekeeping
15554 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15556 * text.C (PrepareToPrint): RTL Fix.
15558 * paragraph.C (GetUChar): New method.
15559 (String): Use GetUChar.
15561 * buffer.C (asciiParagraph): Use GetUChar.
15563 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15565 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15567 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15570 * buffer.C: rename to getLogName(), handle
15571 build log / latex log nicely
15573 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15576 * MenuBackend.h: remove support for reference menuitem type.
15578 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15580 * BufferView_pimpl.C: housekeeping
15581 * BufferView_pimpl.h:
15586 * minibuffer.h: move Timeout GUI-I
15588 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15590 * lyxrc.C (read): Update converters data-structures.
15592 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15594 * LaTeX.h (operator!=): add operator != for Aux_Info
15596 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15598 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15600 * LaTeXLog.C: deleted, useful code moved to Buffer
15603 * buffer.C: new function getLatexLogName()
15609 * lyxfunc.C: use frontends for LaTeX and VC logs
15611 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * LaTeX.h: yet another std:: that Allan forgot.
15615 * Variables.C (set): renamed from isset(), because this clashes
15616 with some HP-UX macros (grr).
15618 2001-02-06 Allan Rae <rae@lyx.org>
15620 * LaTeX.h: Another bug fix. Missing std:: this time.
15622 2001-02-04 Allan Rae <rae@lyx.org>
15624 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15625 floats problem. I've left it commented out because it's not quite
15626 correct. It should also test that the current object is a table or
15627 figure inset. But I haven't gotten around to figuring out how to do
15628 that. I *think* it'll be something like: "table" == inset.type()
15630 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15633 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15635 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15636 all the citation/databases/styles in the auxilary file.
15637 (run): Rerun latex if there was a babel language error.
15639 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15641 * text.C (Backspace): Preserve the font when changing newline char
15643 (BreakParagraph): If the cursor is before a space, delete the space.
15645 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15647 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15649 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15650 new argument (code).
15651 (ChangeCitationsIfUnique): New method.
15653 * paragraph.C (GetPositionOfInset): Handle bibkey.
15655 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * BufferView_pimpl.h: change type of Position::par_pos to
15658 LyXParagraph::size_type.
15660 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15662 * BufferView_pimpl.C (savePosition, restorePosition): Write
15663 messages to minibuffer.
15665 2001-01-28 José Matos <jamatos@fep.up.pt>
15667 * buffer.C (makeDocBookFile): adds support for document language.
15668 A silly restriction on the name of LatexCommand types where removed.
15669 Added support for CDATA sections, allows to chars unescaped, used
15670 among others in code, to avoid escape < and >.
15672 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15674 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15675 saved positions instrad of a stack. Furthermore, a position is
15676 stored using paragraph id/paragraph position.
15678 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15679 Remove LFUN_REF_BACK.
15681 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15683 * converter.C (dvipdfm_options): New method.
15685 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15687 * vspace.C (isValidLength): Fix for empty input string.
15689 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15691 * LyXAction.C (init): change description of LFUN_FIGURE to
15694 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15696 * LaTeX.C: add using directive
15698 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15700 * MenuBackend.C (expand): Fix the sorting of the formats.
15702 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15704 * lyx_main.C: tiny error message fix
15706 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15708 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15709 calling fl_initialize(). This fixes the problem with ',' as
15710 decimal separator in text files.
15712 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15714 * trans.C (process): Fix the keymap bug.
15716 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15718 * LaTeX.C (scanAuxFiles): New method. Provides support for
15719 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15720 (scanLogFile) Scan for "run BibTeX" messages.
15722 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15723 OT1 font encoding. Also, load the aecompl package if the ae
15726 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15728 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * texrow.C (increasePos): turn two error messages into debug
15733 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15735 * LaTeX.C (scanAux): Handle the \@input macro.
15736 (runBibTeX): Use scanAux().
15738 * language.C (latex_options_): New field.
15740 * LaTeXFeatures.C (getMacros): Add language macros.
15742 * buffer.C (makeLaTeXFile): Small fix.
15744 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15748 * text2.C: add a using directive.
15750 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15755 * lyxfunc.C: kill LyXBell.
15757 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15759 * text.C (IsBoundary): Remove the error message
15761 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15763 * lyxrc.C (setDefaults): Correct initialization value for
15766 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15768 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15771 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15772 and GotoNextNote().
15774 * src/LyXAction.C: Added reference-next.
15776 * text.C (InsertChar): Use contains instead of strchr.
15778 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15780 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15782 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15783 alignment commands (when needed).
15785 * text.C (InsertChar): Add ':' to number separator chars.