1 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * text3.C (dispatch): remove special handling of button 4 and 5,
4 it is now taken care of in the frontend code.
6 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * Spacing.h: add <string> (STLPort compile fix)
10 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
12 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
14 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
16 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
19 * converter.C (showMessage): inherit from unary_function, make
22 * buffer.C (writeFile): initialize retval
24 * InsetList.h: rename private variable list to list_
25 * InsetList.[Ch]: adjust accordingly.
27 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
29 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
30 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
31 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
32 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
33 * ParagraphParameters.C, LaTeXFeatures.C: replace
34 "support/std_sstream.h" with <sstream>
36 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
38 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
39 * lyxsocket.C (LyXServerSocket): ditto
40 (serverCallback): ditto
42 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
44 * LaTeXFeatures.C: check release date when loading jurabib.
46 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
48 * lyxserver.C (startPipe): call register_socket_callback
49 (endPipe): call unregister_socket_callback
51 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
53 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
54 (LyXServerSocket): register the callback
55 (LyXServerSocket): unregister the callback
57 (serverCallback): improve error checking and setup the callbacks.
58 (dataCallback): change arg to fd.
59 (writeln): new func (copied fro the client socket) used for server
61 (LyXDataSocket): simplify
62 (~LyXDataSocket): close ann unregiser callback
63 (server): delete function
65 (readln): small changes, improve some std::string usage
66 (writeln): constify a bit
68 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
73 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * BufferView_pimpl.C (setBuffer): set the layout combox value only
76 after it has been populated
78 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * text2.C (insertInset): move cursor when inserting inset.
82 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * kbmap.C (findbindings): a couple of new methods. returns a
85 container of kb_sequence objects. The real work is done by the
86 private recursive version
87 (printbindings): uses findbindings to print out a bracketed list
88 of bindings (renamed from findbinding).
90 * MenuBackend.C (binding): use kb_keymap::findbindings
92 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
94 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
96 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
98 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * paragraph.C (isWord): return true on insets that report
103 * text.C (getWord): use Paragraph::isWord to decide what is in a
104 word and what is not; fix bug 1609.
106 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
108 * tex-strings.C: add "none" to string_paperpackages[], fixes
109 off-by-one-error in the paperpackage selection.
112 * tex-strings.[Ch]: char const * string[n]
113 -> char const * const string[]
115 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
118 command, return early.
120 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
122 * debug.h: add DEBUG to enum and fix size of ANY.
124 * debug.C: add support for Debug::DEBUG
125 (showTags): cast errorTags.level to unsigned int
127 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
128 (redoCurrentBuffer): ditto
129 (updateScrollbar): ditto
130 * cursor.C (dispatch): ditto
131 * text2.C (setLayout): ditto
133 (updateCounters): ditto
135 (deleteEmptyParagraphMechanism): ditto
137 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
139 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
140 annotations to cleanup the Makefile slightly.
142 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * lyxrc.C: do not set user_email to a default value but use empty
145 instead. The entry used to be translated, which does not work
146 since at the point where lyxrc is constructed there is no
147 translation service available
149 * messages.C (getLocaleDir): remove and use directly
150 lyx_localedir() instead
152 2004-06-02 Angus Leeming <leeming@lyx.org>
154 Fix crash caused by dereferencing null pointer 'exportdata' in
155 OutputParams by creating a new ExportData variable on the heap,
156 storing it in a boost::shared_ptr.
157 The crash was triggered when generating an Instant Preview
158 of an external inset.
160 * Makefile.am: add outputparams.C
162 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
163 (c-tor): allocate memory to it.
165 * exporter.C (c-tor): associated changes.
167 2004-06-01 Angus Leeming <leeming@lyx.org>
169 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
170 contains data before calling isInset(0). (Bug 1513.)
172 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * exporter.C (checkOverwrite): new method
175 * exporter.C (copyFile): new method
176 * exporter.C (Export): copy referenced files to the document dir
177 * exporter.[Ch]: new class ExportedFile
178 * exporter.[Ch]: new class ExportData. Contains currently the
179 names of referenced external files
180 * outputparams.h: add exportdata member.
182 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
187 2004-05-19 Angus Leeming <leeming@lyx.org>
192 * lyxfunc.C: small changes due to the introduction of namespace
193 lyx::frontend and the moving of namespace biblio to lyx::biblio.
195 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
197 * text3.C (dispatch): supress update when only moving the cursor
198 * cursor.C (selHandle): remove commented code
200 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * paragraph.C (startTeXParParams): correct column count
203 * CutAndPaste.C (pasteSelection): remove const_cast
204 * output_docbook.C (docbookParagraphs): remove const_cast
205 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
206 const_cast and return ParagraphList::const_iterator
207 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
208 * output_plaintext.C (writeFileAscii): remove const_cast
209 * paragraph.[Ch] (simpleTeXOnePar): make const
210 * paragraph_funcs.C (outerPar): use const iterators
211 * paragraph_pimpl.C (validate): use const iterators
212 * text.C (setHeightOfRow): use const iterators
214 2004-05-17 Angus Leeming <leeming@lyx.org>
217 * LyXAction.C (init): new LFUN_INSET_REFRESH.
219 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
220 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
221 if the citation engine has changed.
223 2004-05-14 José Matos <jamatos@lyx.org>
225 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
226 if the textclass does not provide it. Have it different for sgml and
228 support the language of document.
229 * output_docbook.C (docbookParagraphs):
230 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
231 first anchor as the id of the paragraph, remove special case code.
232 * sgml.C (escapeChar): escape only < & >.
234 2004-05-14 Angus Leeming <leeming@lyx.org>
236 * bufferparams.h: move biblio::CiteEngine enum here to minimize
237 dependencies on src/frontends/controllers/biblio.h. Define a
238 CiteEngine_enum wrapper class to enable the enum to be forward
241 2004-05-12 Angus Leeming <leeming@lyx.org>
243 * buffer.C: up LYX_FORMAT to 234.
244 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
245 use_numerical_citations with a single biblio::CiteEngine cite_engine
247 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
249 2004-05-13 José Matos <jamatos@lyx.org>
252 * converter.C (Converter, readFlags): add xml member.
253 * outputparams.h: add XML flavor.
254 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
256 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * lyxfunc.C (dispatch):
259 (getStatus): fix handling of LFUN_SEQUENCE
261 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * debug.C (showLevel): do not forget the end-of-line marker
265 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * kbmap.C (read): do not stop parsing a bind file when an error
270 2004-04-29 Angus Leeming <leeming@lyx.org>
275 * text2.C: wrap a bunch of #warning statements
276 inside #ifdef WITH_WARNINGS blocks.
278 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * buffer.C: increment format to 233.
282 2004-04-28 Angus Leeming <leeming@lyx.org>
284 * BufferView_pimpl.C:
287 s/updateToolbar()/updateToolbars()/
288 s/Toolbar.h/Toolbars.h/
290 2004-04-28 Angus Leeming <leeming@lyx.org>
292 * BufferView.[Ch] (c-tor):
293 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
294 No longer passes these data to the WorkArea generator.
296 2004-04-28 Angus Leeming <leeming@lyx.org>
298 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
300 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
302 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
304 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * output_latex.C (TeXEnvironment): make sure that there is a line
307 break before \end{foo} for the last paragraph of a document
308 (TeXOnePar): if the paragraph is at the end of the document (or
309 inset) and the language has to be reset, then make sure that the
310 line break is _before_ the language command, not after (fixes bug
311 1225); also make sure that the language reset command is the first
312 thing after the paragraph (to ensure proper nesting of
313 environments and thus fix bug 1404)
315 2004-04-21 John Levon <levon@movementarian.org>
318 * ToolbarBackend.C: make "name" be a programmatic name
319 and a gui_name field.
321 * lyxfunc.C: display the minibuffer on M-x
323 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
328 2004-04-19 Angus Leeming <leeming@lyx.org>
330 * BufferView_pimpl.C (setBuffer): changed preview interface.
332 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
335 2004-04-19 John Levon <levon@movementarian.org>
337 * BufferView_pimpl.C:
338 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
340 2004-04-05 Angus Leeming <leeming@lyx.org>
342 * text.C (redoParagraphs): add call to updateCounters(), thereby
343 fixing the missing "Figure #:" label from the caption of a
346 2004-04-13 Angus Leeming <leeming@lyx.org>
348 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
349 cursor is clicked out of an inset.
351 2004-04-13 Angus Leeming <leeming@lyx.org>
353 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
354 than an InsetOld one.
356 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * format.[Ch]: add editor to Format
359 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
360 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
362 2004-04-08 André Pönitz <poenitz@gmx.net>
364 * metricsinfo.h: remove PainterInfo::width member
366 2004-04-08 Angus Leeming <leeming@lyx.org>
368 * lyx_sty.C (boldsymbol_def): modify so that it outputs
369 "\providecommand" rather than "\newcommand", thereby preventing
370 clashes with packages that define "\boldsymbol" themselves.
373 2004-04-08 Angus Leeming <leeming@lyx.org>
375 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
376 thereby squashing an unnecessary warning.
378 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
380 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
383 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
385 * BufferView.C (setCursor): call redoParagraph (some insets could
387 (putSelectionAt): remove the 'double update' trick
389 * BufferView_pimpl.C (fitCursor): call refreshPar
390 (workAreaDispatch): remove an uneeded update call
391 (dispatch): remove some manual update calls
393 * cursor.[Ch]: remove cached_y_, updatePos
394 (selHandle): set noUpdate when appropriate
396 * lyxfunc.C (dispatch): track if we need an update
398 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
400 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
401 (paintSelection): cheap optimization, do not call cursorX when not
403 (paintPars): change signature
406 (paintTextInset): adjust
410 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * lengthcommon.C: compilation fix: remove explicit array size from
413 unit_name[] and friends
415 2004-04-05 Angus Leeming <leeming@lyx.org>
417 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
419 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
420 present only for the preferences dialog.
421 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
423 2004-04-05 Angus Leeming <leeming@lyx.org>
425 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
426 to enable the frontends to export changes to lyxrc correctly.
428 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
430 2004-04-07 André Pönitz <poenitz@gmx.net>
432 * cursor.[Ch] (selClear, adjust): remove math
434 * cursor_slice.C: more agressive assert
437 * BufferView_pimpl.C: rework mouse event dispatch
444 2004-04-05 André Pönitz <poenitz@gmx.net>
446 * cursor.[Ch] (valign, halign...): remove unneeded functions
448 2004-04-05 Angus Leeming <leeming@lyx.org>
450 * lyxlength.[Ch] (unit_name et al.): const-correct.
452 2004-04-05 Angus Leeming <leeming@lyx.org>
454 * BufferView_pimpl.C:
463 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
465 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
467 * text3.C (getStatus): add LFUN_BEGINNINGBUF
469 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
471 * lyxfind.C: add a couple of inTexted() tests + other small fixes
472 * BufferView_pimpl.[Ch] (getStatus)
473 * BufferView.[Ch] (getStatus): add
474 * lyxfunc.C (getStatus): move lfuns handled in
475 BufferView::dispatch to te function above
476 * Cursor.C (setSelection): set selection() = true
478 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
480 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
482 2004-03-31 Angus Leeming <leeming@lyx.org>
484 * lyxfunc.C (dispatch): Fall through to the generic
485 Dialogs::show("preamble").
487 2004-03-31 Angus Leeming <leeming@lyx.org>
489 * lyxfunc.C (dispatch): Fall through to the generic
490 Dialogs::show("spellchecker").
492 2004-03-31 Angus Leeming <leeming@lyx.org>
494 * lyxfunc.C (getStatus, dispatch): changed invocation of the
497 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
502 * insetiterator.[Ch]:
507 * undo.[Ch]: s/DocumentIterator/DocIterator/g
509 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
511 * BufferView.C (setCursor, putSelectionAt): call edit to open the
512 insets where we are putting the cursor.
514 2004-03-31 Angus Leeming <leeming@lyx.org>
517 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
519 * lyxrc.[Ch] (read, write): overloaded member functions taking
520 a std::[io]stream arguments.
522 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
524 2004-03-31 Angus Leeming <leeming@lyx.org>
526 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
527 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
529 * lyxtextclass.C (load): if the text class couldn't be loaded, then
530 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
532 2004-03-31 Angus Leeming <leeming@lyx.org>
534 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
535 the LFUN_ALL_INSETS_TOGGLE code.
537 2004-03-30 Angus Leeming <leeming@lyx.org>
539 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
540 has died. Fall through to the generic Dialogs::show("document").
542 2004-03-30 Angus Leeming <leeming@lyx.org>
545 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
546 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
548 * lyxfunc.C (getStatus, dispatch): define the actions for these
549 lfuns. Little more than a cut and pste job from ControlDocument.C
551 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
553 2004-03-30 Angus Leeming <leeming@lyx.org>
556 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
557 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
559 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
560 open/closed state of ollapsable insets. Usage:
562 all-inset-toggle <state> <name>, where
563 <state> == "open" || "closed" || "toggle" and
564 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
566 * lyxtext.h, text2.C (toggleInset): removed.
568 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
569 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
570 now passes LFUN_INSET_TOGGLE to the found inset.
572 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
573 is now invoked as "all-insets-toggle toggle branch".
575 2004-03-30 Angus Leeming <leeming@lyx.org>
579 * pariterator.[Ch]: added/corrected header blurb.
581 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
583 * dociterator.[Ch]: add an inset_ member
584 (backwardPos): implemented
585 (backwardPos, forwardPos): use inset_ when the stack is empty.
586 (doc_iterator_begin, doc_iterator_end): implemented
587 * pariterator.[Ch]: adjust, add begin, end
588 * insetiterator.[Ch]: adjust, add begin, end
592 * BufferView_pimpl.C:
593 * CutAndPaste.C: adjust
595 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
597 * buffer.C: increment file format to 232.
598 * LaTeXFeatures.C: add bibtopic package.
599 * bufferparams.[Ch]: param \use_bibtopic.
601 * lyxrc.[Ch]: add lyxrc bibtex_command
602 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
604 * buffer.C: increment file format to 231.
606 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
608 * dociterator.C: implement forwardPar
609 * iterators.[Ch]: remove, replaced by
610 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
612 * BufferView_pimpl.C:
615 * bufferview_funcs.C:
621 * Makefile.am: adjust
623 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
625 * CutAndPaste.C (pasteSelection): fix 2 crashes
626 (eraseSelection): fix a crash
627 * paragraph_funcs.C: remove a warning
629 2004-03-28 Angus Leeming <leeming@lyx.org>
632 * LyXAction.C (init): new LFUN_PRINT.
634 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
636 2004-03-27 Angus Leeming <leeming@lyx.org>
639 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
641 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
643 2004-03-27 Angus Leeming <leeming@lyx.org>
645 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
646 insetlist always contains non-null pointers to insets.
648 2004-03-26 Angus Leeming <leeming@lyx.org>
650 * src/BufferView_pimpl.C:
654 * src/output_plaintext.C:
655 * src/outputparams.h:
656 * src/paragraph_funcs.C:
660 * src/frontends/controllers/ControlErrorList.C:
661 * src/frontends/gtk/FileDialogPrivate.C:
662 * src/frontends/gtk/GPainter.C:
663 * src/frontends/gtk/GToolbar.C:
664 * src/frontends/qt2/QRef.C:
665 * src/mathed/math_scriptinset.C: squash compiler warnings.
667 2004-03-26 Angus Leeming <leeming@lyx.org>
669 * ispell.C (LaunchIspell::start):
670 * lyx_cb.C (AutoSaveBuffer::start):
671 invoke run(DontWait) rather than runNonBlocking().
673 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
675 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
677 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * kbsequence.C (print): adjust
681 * kbmap.C (printKeySym): rename and change signature
682 (printKey): use LyXKeySym::print()
684 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
686 * undo.C: add using std::advance to compile for stlport
688 2004-03-24 Angus Leeming <leeming@lyx.org>
690 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
691 it leads to a crash when no buffer is present.
693 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
694 Martin Vermeer <martin.vermeer@hut.fi>
696 * lyxfunc.C (dispatch):
697 * bufferparams.C (readToken): use the new LColor::setColor
699 * LColor.[Ch] (setColor): new version that takes two strings as
700 argument and creates a new color entry if necessary
702 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
704 * buffer.C (makeLaTeXFile): if the main latex file that is
705 processed is usually a subdocument of some master, then pretend
706 for a while that it is actually the master
708 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
710 * buffer.C (getLabelList):
711 (getBibkeyList): use getMasterBuffer()
712 (getMasterBuffer): new method. Returns the main document in the
713 case where one is using included documents.
715 2004-03-25 André Pönitz <poenitz@gmx.net>
719 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
721 * ParagraphList_fwd.h: change ParagraphList to a std::vector
723 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
724 text*.C over here. Rename namespace CutAndPaste to lyx::cap
726 * ParameterStruct.h: merge with ParagraphParameters
728 * lyxtext.h: remove LyXText::parOffset() and getPar()
730 * text3.C: Remove all 'manual' update calls. We do now one per user
731 interaction which is completely sufficient.
735 * BufferView_pimpl.C:
738 * ParagraphParameters.[Ch]:
750 * output_docbook.[Ch]:
752 * output_linuxdoc.[Ch]:
753 * output_plaintext.[Ch]:
755 * paragraph_funcs.[Ch]:
756 * paragraph_pimpl.[Ch]:
764 * frontends/controllers/ControlDocument.C:
765 * frontends/controllers/ControlErrorList.C:
766 * frontends/controllers/ControlSpellchecker.C:
769 * insets/insetbase.h:
770 * insets/insetbibitem.C:
772 * insets/insetbranch.C:
773 * insets/insetcaption.C:
774 * insets/insetcharstyle.C:
775 * insets/insetcharstyle.h:
776 * insets/insetcollapsable.C:
777 * insets/insetcollapsable.h:
779 * insets/insetfloat.C:
780 * insets/insetfoot.C:
781 * insets/insetmarginal.C:
782 * insets/insetnote.C:
783 * insets/insetoptarg.C:
784 * insets/insettabular.C:
785 * insets/insettext.C:
786 * insets/insettext.h:
787 * insets/insetwrap.C:
788 * mathed/math_mboxinset.C:
789 * mathed/math_nestinset.C:
790 * mathed/math_scriptinset.C:
791 * mathed/math_scriptinset.h:
794 2004-03-24 Angus Leeming <leeming@lyx.org>
796 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
797 deal with any child processes that have finished but are waiting to
798 communicate this fact to the rest of LyX.
800 2004-03-24 Angus Leeming <leeming@lyx.org>
802 64-bit compile fixes.
804 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
805 (c-tor): pass lyx::pos_types rather than ints.
807 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
810 * text.C (Delete): compile fix.
811 (getPar): ensure that function declaration is the same as that in
814 2004-03-23 Angus Leeming <leeming@lyx.org>
816 * ispell.C (LaunchIspell):
817 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
818 a boost::shred_ptr rather than a std::auto_ptr.
820 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * lyxfunc.C (getStatus): handle read-only buffers correctly;
823 handle LFUN_FILE_INSERT_*
825 * lyxrc.C (setDefaults, getDescription, output, read):
826 * lyxrc.h: remove ps_command
828 2004-03-22 Angus Leeming <leeming@lyx.org>
830 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
831 Ensure that error_handler is processed once only and that all data
832 is saved before attempting to output any warning messages.
834 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
836 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
838 * tabular.C (TeXRow): crash fix (from Kayvan and André)
840 2004-03-19 André Pönitz <poenitz@gmx.net>
842 * cursor.[Ch] (reset): take main text inset as argument
845 * BufferView_pimpl.C: adjust
847 * paragraph.[Ch]: fix completely broken operator=()
849 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * LColor.C (getFromLyXName): make sure that the color name is used
854 2004-03-17 Angus Leeming <leeming@lyx.org>
857 * LyXAction.C (init): remove LFUN_FORKS_KILL.
859 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
860 dialog and to kill a forked process.
862 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
864 * text2.C (setCursorFromCoordinates): fix font problem
866 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
868 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
869 bogus "rebuild cursor" code
871 2004-03-11 André Pönitz <poenitz@gmx.net>
873 * buffer.[Ch]: use InsetText instead of LyXText as container for
876 * dociterator.[Ch]: drop the BufferView * member which is not needed
877 anymore after the change to buffer.C
883 * BufferView_pimpl.[Ch]:
885 * cursor_slice.[Ch]: adjust
887 * text3.C: fix bug in mathDispatch
889 2004-03-08 André Pönitz <poenitz@gmx.net>
891 * undo.[Ch]: use 'StableDocumentIterator' as base for
894 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
897 * bufferparams.[Ch]: add jurabib support and param.
899 * LaTeX.C: add FIXME/comment.
901 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
903 * buffer.C: increment file format to 230.
905 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
907 * cursor.C (dispatch): avoid infinite loops
909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
911 * rowpainter.C (paintSelection): fix x coordinates
913 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
915 * text.C (rowBreakPoint): fix breaking before displayed insets
917 2004-03-01 André Pönitz <poenitz@gmx.net>
919 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
921 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
925 * BufferView_pimpl.C:
933 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
939 * BufferView_pimpl.C: rename textwidth -> maxwidth,
940 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
942 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
944 * Bidi.[Ch] (computeTables): const correctness
945 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
946 fill_hfill, fill_label_hfill and x from Row
947 * lyxtext.h: prepareToPrint returns a RowMetrics
948 * rowPainter.C: adjust
949 * text.C (prepareToPrint): use width, not textWidth. adjust
950 (redoParagraphInternal, cursorX): adjust
951 * text2.C (getColumnNearX): adjust
952 (init): put a default value to the top LyXText::width
954 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
956 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
958 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
960 * lyxtext.h: add FontIterator class
962 * text.C (FontIterator, operator*, operator->, operator++): add
963 (rowBreakPoint, setRowWidth): adjust (fixing a
966 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * BufferView_pimpl.C (workAreaDispatch): allow also
969 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
971 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
973 * text.C (rowBreakPoint): fix a bug showing with very large insets
975 2004-02-25 André Pönitz <poenitz@gmx.net>
978 * cursor.[Ch]: move some mathed specific code to mathed
980 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
982 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
983 use_tempdir in preferences
984 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
986 * lyx_main.C: ensure that tempdir is valid
987 * lyxlex.h: correct typo
988 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
989 * paragraph.[Ch] (isMultiLingual): make const
990 * cursor.[Ch] (openable): make const
992 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
994 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
996 2004-02-20 André Pönitz <poenitz@gmx.net>
998 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1000 * cursor.[Ch]: prepare for localized getStatus()
1006 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1008 2004-02-20 André Pönitz <poenitz@gmx.net>
1010 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1012 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1014 * text2.C (setCursorFromCoordinates): switch to absolute coords
1016 (cursorDown): adjust
1017 * text3.C (dispatch): adjust
1019 2004-02-16 André Pönitz <poenitz@gmx.net>
1021 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1024 * cursor_slice.[Ch]: remove unneeded acessor function
1026 * lyxtext.h: rename rtl() to isRTL()
1034 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1036 * rowpainter.C (paintSelection): coord fix
1038 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1040 * Spacing.C: compile fix
1042 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1044 * cursor.C (dispatch): restore current_ before returning
1046 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1048 * text2.C (cursorUp, cursorDown): fix coords
1051 2004-02-12 André Pönitz <poenitz@gmx.net>
1056 * text3.C: add LCursor & parameter to most cursor movement functions
1057 remove usage of LyXText::cursorRow() and cursorPar()
1059 * cursor.[Ch]: add textRow() needed members
1062 * BufferView_pimpl.C:
1065 * BufferView_pimpl.C: adjust
1067 2004-02-11 André Pönitz <poenitz@gmx.net>
1071 * BufferView_pimpl.C: shift undo/redo handling
1073 * cursor.[Ch]: fix mathed crash
1076 * lyxtext.h: move selectionAsText to LCursor
1084 * rowpainter.C: fix excessive drawing
1086 2004-02-06 André Pönitz <poenitz@gmx.net>
1089 * BufferView_pimpl.[Ch]:
1090 * text3.C: move some text specific LFUN handling
1092 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1094 * text3.C (checkInsetHit): adjust coords
1095 * text2.C (getColumnNearX): adjust coords
1096 (edit): adjust coords
1097 * text.C (getRowNearY): add two asserts
1099 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1102 * format.C: add using std::distance to compile on gcc 2.95/stlport
1104 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1106 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1108 2004-02-04 André Pönitz <poenitz@gmx.net>
1110 * BufferView.[Ch] (insertInset):
1111 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1116 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1118 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1119 on the default clause of the switch
1120 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1121 wasn't catched by LCursor::dispatch
1123 2004-02-03 André Pönitz <poenitz@gmx.net>
1126 * cursor.[Ch]: some additional asserts
1128 * undo.[Ch]: remove LyXText dependency in interface
1132 * lyxtext.h (firstPar, lastPar): remove dead functions
1137 * paragraph.[Ch]: adjust
1139 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1141 * lyxfind.C (find): fix argument order in call to ::find
1143 2004-02-02 André Pönitz <poenitz@gmx.net>
1145 * cursor.[Ch]: remove direct access to anchor
1147 * text.C: remove findText() hack
1149 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1151 * iterators.[Ch] (lockPath): remove in favour of...
1152 * BufferView.[Ch] (setCursor): this addition
1153 * BufferView.C (putSelectionAt): adjust
1154 * undo.C (performUndoOrRedo): adjust
1155 * lyxfunc.C (dispatch): adjust
1157 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1159 * iterators.C (lockPath): add a missing slice
1160 * undo.C (performUndoOrRedo): remove redundant positioning code
1162 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1164 * vc-backend.C (scanMaster): ";" -> ';'
1166 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1168 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1169 std::binary_function
1171 * lyxtextclass.C (compare_name): rename to...
1172 (LayoutNamesEqual): ...this
1174 * lyxlex_pimpl.C (compare_tags): inherit from
1175 std::binary_function, put back into anon namespace
1177 * lyxfind.C (MatchString): inherig from std::binary_function
1178 (findChange): use empty() istead of !size()
1180 * format.C (FormatNamesEqual): new functor
1187 * converter.C (compare_Converter): rename to...
1188 (ConverterEqual): ...this, and fixup a bit.
1189 (getConverter): use it, and make function const
1190 (getNumber): use it, and make function const
1194 * bufferlist.C: add using boost::bind
1196 * MenuBackend.C (MenuNamesEqual): new functor
1197 (hasMenu): use it, and make function const
1198 (hasSubmenu): use nested bind to get rid of compare_memfun.
1200 2004-01-30 André Pönitz <poenitz@gmx.net>
1202 * BufferView_pimpl.C:
1205 * cursor_slice.[Ch]:
1208 * paragraph_funcs.C:
1209 * paragraph_funcs.h:
1213 * text3.C: move some of the edit(x,y) handling to the insets
1214 some coordinate changes.
1216 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1218 * text.C: add using statements for std::advance and std::distance
1220 * paragraph.C: add using statement for std::distance
1222 * lyxfind.C: add using statement for std::advance
1224 * cursor.C (region): remove std:: from swap
1225 (openable): use nucleus in stead of operator->
1227 * BufferView.C: add using statements for std::distance and std::swap
1229 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1231 * iterators.C: Remove the pimple, move the needed structures to
1232 the header file. Create accessor for the positions stack.
1233 (asPosIterator): remove function
1235 * PosIterator.C (PosIterator): move constructors to top of file
1236 (PosIterator): reimplement the constructor taking a ParIterator in
1238 (setFrom): new function
1239 (operator!=): inline it
1241 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1243 * lyxfind.C (replaceAll): use std::advance
1245 * iterators.h: inherit from std::iterator.
1247 * PosIterator.C (advance, distance): remove
1248 * PosIterator.h: interit from std::iterator.
1250 2004-01-26 André Pönitz <poenitz@gmx.net>
1253 * BufferView_pimpl.[Ch]:
1257 * bufferview_funcs.C:
1267 * output_linuxdoc.C:
1268 * output_plaintext.C:
1270 * paragraph_funcs.[Ch]:
1271 * paragraph_pimpl.[Ch]:
1277 * text3.C: more IU: dumps most of the rest of the mathcursor
1278 implementation into cursor.[Ch]; "globalize" a bit of it.
1280 2004-01-25 Angus Leeming <leeming@lyx.org>
1282 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1284 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1286 * LaTeXFeatures.h: add nice_ and nice() const
1287 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1289 2004-01-20 André Pönitz <poenitz@gmx.net>
1292 * BufferView_pimpl.C:
1294 * bufferview_funcs.C:
1296 * cursor_slice.[Ch]:
1307 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1308 LCursor and mathcursor parts to LCursor and InsetBase.
1310 2004-01-15 André Pönitz <poenitz@gmx.net>
1312 * cursor_slice.[Ch]: add a few covienience functions
1314 * funcrequest.[Ch]: remove BufferView * member
1316 * BufferView_pimpl.C:
1323 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1325 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1327 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1328 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1330 2004-01-13 André Pönitz <poenitz@gmx.net>
1333 * lyxtext.h: hide cursor and selection anchor behind accessor function
1336 * BufferView_pimpl.[Ch]:
1338 * bufferview_funcs.C:
1348 * cursor_slice.[Ch]: some integer type changes for inset unification
1350 * lyxcursor.[hC]: remove, it's CursorSlice now.
1353 * BufferView_pimpl.[Ch]:
1354 * bufferview_funcs.C:
1360 * textcursor.[Ch]: adjust
1362 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1364 * text2.C (undoSpan): add and use
1365 * text.C (breakParagraph): use undoSpan (fix bug 578)
1368 2004-01-08 Angus Leeming <leeming@lyx.org>
1370 * BufferView_pimpl.C (MenuInsertLyXFile):
1371 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1372 * lyxfunc.C (menuNew, open, doImport):
1373 FileFilterList change to the FileDialog open and save functions.
1375 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1377 * ShareContainer.h: make isEqual and isUnique adaptable
1379 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1381 2004-01-07 Angus Leeming <leeming@lyx.org>
1384 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1386 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1388 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1389 functions replacing find, replace and replaceAll.
1391 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1392 LFUN_WORDFIND(FORWARD|BACKWARD).
1394 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1396 * text.C (breakParagraph): remove an outdated #warning
1398 2004-01-07 André Pönitz <poenitz@gmx.net>
1400 * lyxfind.C: somewhat clearer logic
1402 * text.C: prevent crash in cursorX on unitialized row cache
1404 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1406 * lyxcursor.[Ch] (operator>): add
1407 * textcursor.C (selStart, selEnd): use std::min and std::max
1409 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1411 * Chktex.C: include boost/format.hpp
1413 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1415 * InsetList.C: replace functor MathcIt with adaptable functor
1417 (insetIterator): modify accordingly
1419 * BranchList.h: move the BranchNamesEqual functor here from...
1420 * BranchList.C: ... to here
1422 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1424 (add): replace a finding loop with std::find_if.
1426 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1428 * output_docbook.C: moving LatexParam functionality into
1431 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1433 * buffer.C: increment format to 229.
1435 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1438 * lyx_sty.[Ch]: remove minipageindent_def
1444 * text3.C: remove LFUN_INSET_MINIPAGE
1446 2003-12-28 Angus Leeming <leeming@lyx.org>
1448 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1450 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1452 * text2.C (setParagraph): fix off-by-one crash
1454 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1456 * output_docbook.C: header stuff for AGU
1458 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1460 * text2.C (redoCursor): remove
1463 * BufferView_pimpl.C: remove calls to redoCursor and
1464 setCursor(cursor.par(), cursor.pos()) all around
1466 2003-12-15 Angus Leeming <leeming@lyx.org>
1468 * buffer.C: up the format to 228.
1470 2003-12-15 André Pönitz <poenitz@gmx.net>
1472 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1477 * BufferView_pimpl.C:
1486 2003-12-15 Angus Leeming <leeming@lyx.org>
1488 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1489 than getFromGUIName to manipulate the color.
1491 2003-12-14 Angus Leeming <leeming@lyx.org>
1493 * BranchList.[Ch]: minimize the API.
1494 (Branch::getBranch, getColor): now return a 'const &'.
1495 (Branch::setSelected) now returns a bool set to true if the
1496 selection status changes.
1497 (BranchList::clear, size, getColor, setColor, setSelected,
1498 allBranches, allSelected, separator): removed.
1499 (BranchList::find): new functions, returning the Branch with
1501 (BranchList::add, remove): return a bool indicating that
1502 the operation was successful.
1504 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1505 new InsetBranch::isBranchSlected member function.
1507 * LColor.[Ch]: mimimize the API.
1508 (fill): renamed as addColor and made private.
1509 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1510 versions of these functions taking a string arg have been removed.
1512 * bufferparams.C (readToken):
1513 * lyxfunc.C (dispatch):
1514 * lyxrc.C (read): changes due to the altered BranchList and
1517 * factory.C (createInset, readInset): changes due to altered
1520 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1523 * lyxfunc.C: remove insetminipage. "minipage-insert"
1524 now produces a frameless minipage box inset.
1526 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1528 * textcursor.[Ch] (selStart,selEnd): add new methods
1529 remove selection::start, end, use LyXCursor::operator<
1530 * lyxcursor.[Ch] (operator<): add
1531 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1532 * BufferView.[Ch] (unsetXSel): add
1533 * text2.C (clearSelection): use unsetXSel,adjust
1536 * rowpainter.C: adjust
1537 * bufferview_funcs.C (put_selection_at): adjust
1539 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1541 * BufferView_pimpl.C: small coord. correction
1543 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1545 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1546 dragging over the splash screen.
1548 2003-12-11 Angus Leeming <leeming@lyx.org>
1550 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1551 as it is now handled in LyXText::dispatch.
1553 * text3.C (doInsertInset): remove a level of nesting.
1555 2003-12-11 Angus Leeming <leeming@lyx.org>
1557 * factory.C (createInset): changes due to the changed interface to
1558 InsetCommandMailer::string2params.
1560 2003-12-10 Angus Leeming <leeming@lyx.org>
1562 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1563 'dialog-show-new-inset <inset name>'
1565 2003-12-10 Angus Leeming <leeming@lyx.org>
1567 * buffer.C: up the format to 227.
1569 * factory.C: the box inset is now identified simply by 'Box'.
1571 2003-12-10 Angus Leeming <leeming@lyx.org>
1573 * buffer.C: up the format to 226.
1575 * factory.C: the note inset is now identified simply by 'Note'.
1577 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1579 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1580 when a pit is enough. Standarize a couple of loops.
1582 2003-12-05 Angus Leeming <leeming@lyx.org>
1584 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1585 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1586 data to the re-worked "log" dialog.
1588 2003-12-03 André Pönitz <poenitz@gmx.net>
1594 * paragraph_funcs.C:
1596 * text2.C: use Inset::getText instead of Inset::getParagraph
1598 2003-12-03 André Pönitz <poenitz@gmx.net>
1602 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1603 InsetText::read() as LyXText::read()
1605 2003-12-02 Angus Leeming <leeming@lyx.org>
1607 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1608 type. Add a comment in the implementation that the function uses
1609 the stream's bad() function rather than fail() as the std::streams
1612 2003-12-02 André Pönitz <poenitz@gmx.net>
1614 * lyxlex.[Ch]: make interface more similar to std::stream
1616 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1618 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1620 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1622 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1624 * vspace.[Ch]: remove VSpace::NONE
1626 2003-12-01 André Pönitz <poenitz@gmx.net>
1629 * lyxtext.h: move ParagraphList member to LyXText
1630 rename LyXText::ownerParagraphs to LyXText::paragraph
1633 * bufferview_funcs.C:
1643 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1645 * undo.C: fix cursor positioning
1647 2003-12-01 John Levon <levon@movementarian.org>
1649 * BufferView_pimpl.C: fix a crash on exit with
1652 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1654 * BranchList.C: fix setSelected() method.
1656 2003-11-28 André Pönitz <poenitz@gmx.net>
1658 * ParagraphParameters.[Ch]:
1659 * ParameterStruct.h: remove space above/below from Paragraph to
1662 * BufferView_pimpl.C:
1668 * paragraph_funcs.C:
1674 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1676 * factory.C: Syntax change for CharStyles
1678 2003-11-28 André Pönitz <poenitz@gmx.net>
1683 * buffer.[Ch]: move LyXText member
1685 2003-11-28 André Pönitz <poenitz@gmx.net>
1687 * BufferView.[Ch]: make LyXText * text a private member
1689 * BufferView_pimpl.C:
1700 * output_plaintext.C: cleanup
1702 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1705 * lyxtextclass.[Ch]: parametrize SGML document header
1707 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1710 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1713 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1715 * text2.C (setFont): rework using PosIterator (no more recursive)
1716 (setCharFont): no more needed
1717 (setLayout): no more selection cursors fiddling (done by redoCursor)
1718 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1719 destroy remaining ones)
1721 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1723 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1725 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1728 * text3.C: adjust + re-allow multi par depth changes
1729 * textcursor.C: simplify a bit
1731 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1737 * src/output_docbook.C:
1738 * src/output_latex.C:
1743 * src/text2.C: Introducing a number of tags parametrizing various
1744 XML formats that we may want to support
1746 2003-11-25 André Pönitz <poenitz@gmx.net>
1748 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1750 * lyxtext.h (leftMargin/rightMargin): simplify interface
1757 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1759 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1760 master file to any child files. Fixes bug 546.
1762 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1764 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1766 2003-11-24 André Pönitz <poenitz@gmx.net>
1768 * rowpainter.C: simplification
1770 * text2.C (updateCounters): remove call to redoParagraph on
1771 changed labels as this is far too expensive.
1773 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1775 * converter.C (convert): fix a crash: this function gets
1776 called with buffer == 0 from importer code.
1778 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1780 * text3.C (cursorPrevious): make sure that we do not compare
1781 iterators form different containers.
1784 * rowpainter.C (paintSelection): make sure that we do not compare
1785 iterators from different containers.
1787 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1788 iterators from different ParagraphList containers.
1791 * text2.C (LyXText): change order of initialization slightly
1792 (operator=): new function. copy all variables except cache_par_
1793 (moveUp): make sure that we do not compare iterators from
1794 different ParagraphList constainers.
1797 * text.C (firstPar): new function
1798 (lastPar): new function
1799 (endPar): new function
1801 * lyxtext.h: move things around and group public functions, public
1802 variables, private functions, private variables
1804 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1806 * factory.C: change call to InsetERT constructor to avoid
1807 additional invocation of method status
1808 * text2.C (toggleInset): remove redundant update() call
1809 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1810 instead of a Bufferview pointer
1812 2003-11-21 André Pönitz <poenitz@gmx.net>
1814 * rowpainter.C: simplification
1816 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1818 * text3.C (dispatch): make possible to extend a word/row selection
1821 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1823 * lyxtext.h: x0_,y0_ -> xo_,yo_
1824 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1825 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1826 * rowpainter.C (paintRows): paint full paragraphs
1828 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1830 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1833 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1835 * lyxtext.h: add x0_, y0_
1836 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1837 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1839 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1841 * text2.C (setCursorIntern): move the x_target update here *
1842 * text3.C: change some bv() to true/false in calls to
1843 cursorUp/Down/Right/Left
1844 * cursor.C: use helper function.
1846 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1848 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1849 * paragraph_funcs.[Ch]: correct comment
1850 * rowpainter.C: do not paint selections away from bv->cursor()
1851 Fix a long standing selection painting bug.
1852 * text3.C: generalize mouse-selection code to LyXTexts other that
1854 * textcursor.C: do not use y coords if we can use par offsets
1856 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1858 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1859 cursor position after e.g. inset insert)
1861 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1863 * lyxfind.C (replace): adjust to locking removal + some
1866 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1868 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1871 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1874 * output_docbook.C: XML sanitation: new layout
1875 parameters InnerTag and CommandDepth
1877 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1879 * BufferView_pimpl.C:
1881 * text3.C: Fix the insertion and modification of button-style
1884 2003-11-13 André Pönitz <poenitz@gmx.net>
1886 * InsetList.[Ch]: remove deleteLyXText
1888 * paragraph.[Ch]: cache beginOfBody position
1893 * text3.C: remove superfluous update() calls
1897 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1899 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1900 * BufferView.C (fitLockedInsetCursor): remove
1901 * cursor.[Ch] (getDim): add
1902 * text.C (getRowNearY): add faster version
1903 * text3.C: remove some update calls
1905 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1917 * text3.C: The Character Style /XML short element patch.
1919 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1922 * factory.C: Small step to solving 'unable to insert some insets'
1925 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1927 * cursor.[Ch] (updatePos): new function for updating the y
1928 position of the tip inset
1929 * bufferview_funcs.C (put_selection_at):
1930 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1932 2003-11-11 André Pönitz <poenitz@gmx.net>
1934 * text.C: remove big comment on invalid Paragraph pointers as it is
1937 2003-11-11 André Pönitz <poenitz@gmx.net>
1939 * text_funcs.[Ch]: merge with ...
1947 * Makefile.am: remove text_funcs.[Ch]
1949 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1951 * cursor.C (getPos): return absolute cached y coord
1953 * BufferView_pimpl.C (fitCursor): new simplistic code
1954 (workAreaDispatch): add a fitCursor call
1956 2003-11-10 André Pönitz <poenitz@gmx.net>
1959 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1961 2003-11-10 André Pönitz <poenitz@gmx.net>
1963 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1964 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1965 indicate that the cursor needs to leave an inset
1967 * lyxtext.h: remove inset locking
1969 * cursor.[Ch]: re-implement functionality provided by inset locking
1972 * BufferView_pimpl.[Ch]:
1974 * bufferview_funcs.[Ch]:
1986 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1988 * PosIterator.[Ch]: replace the stack with a vector, add inset
1990 * iterators.[C]: adjust
1992 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1994 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1996 * paragraph_funcs.C (readParToken): put the correct id in the
1997 error item, not the id of the top paragraph
1999 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2001 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2002 * bufferview_funcs.C (put_selection_at): use the above
2004 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2006 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2008 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2010 * output_linuxdoc.h:
2011 * output_plaintext.h:
2013 * output_docbook.h: add #include statements
2015 2003-11-05 José Matos <jamatos@lyx.org>
2017 * output_docbook.[Ch]:
2018 * output_latex.[Ch]:
2019 * output_linuxdoc.[Ch]:
2020 * output_plaintext.[Ch]: New files for output formats.
2021 * output.[Ch]: New file for helper functions.
2024 * paragraph_funcs.[Ch]: output functions moved to new files.
2026 * outputparams.h: rename of latexrunparams.h
2034 * paragraph_funcs.[Ch]:
2035 * paragraph_pimpl.[Ch]:
2036 * tabular.[Ch]: rename ascii to plaintext
2037 and LatexRunParams to OutputParams.
2039 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2041 * iterators.[Ch] (text): require bv argument
2042 * undo.C (recordUndo):
2043 * lyxfunc.C (dispatch):
2044 * bufferview_funcs.C (put_selection_at): adjust
2046 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2048 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2050 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2052 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2055 2003-11-04 André Pönitz <poenitz@gmx.net>
2057 * cursor.[Ch]: restructure
2060 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2062 * iterators.[Ch] (asCursor): remove
2064 * lfuns.h: remove LFUN_INSET_EDIT
2070 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2072 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2074 * lyxfind.[Ch]: complete overhaul
2075 * BufferView_pimpl.C:
2077 * paragraph.[Ch] (insert): add
2079 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2083 * text.C: remove dead spellcheck code
2085 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * dispatchresult.h: add a val setter
2089 * cursor.C (dispatch): use a tempvar for data_[i]
2091 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2093 * PosIterator.[Ch]: compile fix
2095 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2097 * text.C (cursorPar): deactivate the cursor cache
2099 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2101 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2103 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * text3.C (dispatch): adjust for new DisptchResult semantics.
2107 * lyxfunc.C (dispatch): handle update when return from
2108 Cursor::dispatch, adjust for new DispatchResult semantics.
2110 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2111 DispatchResult(true) mean to not update. Add class functions for
2112 setting dispatched and update, as well as reading.
2114 * cursor.C (dispatch): don't handle update here
2116 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2118 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2119 * trans_mgr.C: adjust
2121 * paragraph_funcs.C (readParToken): exception safety
2123 * lyxvc.h: store the vcs pointer in a scoped_ptr
2126 * lyxsocket.C (serverCallback): exception safety
2128 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2130 * ispell.C (clone): make it return a auto_ptr
2132 * factory.C (createInset): exception safety
2133 (readInset): exception safety
2135 * bufferlist.C (newBuffer): exception safety
2137 * Thesaurus.C (Thesaurus): use initialization for aik_
2139 * MenuBackend.C (expandToc): exception safety.
2141 2003-11-03 André Pönitz <poenitz@gmx.net>
2145 * bufferview_funcs.C: remove getInsetFromId()
2148 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2154 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2156 * PosIterator.C (distance, advance): new
2157 * bufferview_funcs.[Ch] (put_selection_at): new
2158 * iterators.[Ch] (lockPath): new
2160 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2162 * iterators.[Ch] (asPosIterator): added
2163 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2164 * PosIterator.[Ch]: added
2166 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * cursor.C (dispatch):
2171 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2173 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2174 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2175 contructor, add a class function dispatched. Remove operator>=
2177 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * debug.C: only use the default constructor for debugstream
2182 * main.C (main): include debug.h and setup the lyxerr streambuf
2185 2003-10-31 José Matos <jamatos@lyx.org>
2187 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2189 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2190 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2191 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2192 * paragraph_pimpl.C (simpleTeXSpecialC):
2193 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2194 add LatexRunParams argument.
2196 * exporter.C (Export): change call accordingly.
2198 * latexrunparams.h: add new member to take care of the other backends.
2199 2003-10-30 José Matos <jamatos@lyx.org>
2201 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2202 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2203 factorise code for paragraph output.
2205 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2208 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * text3.C (dispatch):
2211 * lyxfunc.C (dispatch):
2212 * cursor.C (dispatch):
2213 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2215 * dispatchresult.h: make the dispatch_result_t ctor explicit
2217 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2220 * buffer.C: small refactoring of docbook stuff
2222 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2227 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2229 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2230 operator dispatch_result_t, and operators for == != and >=
2232 * cursor.C (dispatch): adjust for operator dispatch_result_t
2233 removal. comment out call to update
2235 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2237 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2245 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2248 * dispatchresult.h: new file, DispatchResult broken out of
2251 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2253 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2255 * text.C (rowBreakPoint): put a hack inside #if 0
2257 2003-10-28 André Pönitz <poenitz@gmx.net>
2261 * paragraph_funcs.C:
2264 * text2.C: general cleanup (lots of small stuff)
2266 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2268 * text2.C (cursorEnd): simple fix to the "end key goes to one
2269 before the end on last row" bug
2271 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2273 * text.C (backspace): fix the "zombie characters"
2275 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2277 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2279 2003-10-27 André Pönitz <poenitz@gmx.net>
2281 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2283 * factory.C: handle new InsetPagebreak, InsetLine
2285 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2286 and move handling into new InsetPagebreak, InsetLine
2288 * BufferView_pimpl.C:
2290 * ParagraphParameters.C:
2291 * ParameterStruct.h:
2296 * paragraph_funcs.C:
2297 * paragraph_pimpl.C:
2303 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2306 * lyxrow_funcs.[Ch]:
2312 * text3.C: remove lastPos uses in favour of Row::endpos
2314 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2316 * undo.C (performUndoOrRedo): fix two crashes by setting a
2317 cursor by hand and reordering some calls. Use bv->lockInset instead
2318 of inset->edit because the latter loses cursor information
2320 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2322 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2324 (rowBreakPoint): fix width. change point to point + 1.
2325 Add a missing check.
2327 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2330 * lyxfunc.C: fix (at least partly) the problems
2331 with the Nav menu and headers inside branch insets
2334 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2336 * paragraph.C (getChar): add strong asserts
2338 * lyxrow_funcs.C (lastPos): remove hideous hack
2340 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2341 (fill): adjust to that (avoid an infinite loop)
2343 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2345 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2347 2003-10-23 André Pönitz <poenitz@gmx.net>
2349 * RowList_fwd.h: change list<> to vector<> to gain speed
2350 after suggestion from Alfredo
2352 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2354 * lyxtext.h: move the bidi stuff from here...
2357 * Bidi.[Ch]: ... to here
2359 2003-10-23 André Pönitz <poenitz@gmx.net>
2362 * text.C (isLastRow, isFirstRow): new functions
2364 * paragraph.h: new width cache member
2366 * rowpainter.C: replace RowList::iterator with Row & where possible
2368 * lyxfunc.C: replace several view()->text with a single call
2370 * toc.C: fix 'unused' warning
2372 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2375 when woring with stream::pos_type
2376 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2378 2003-10-22 André Pönitz <poenitz@gmx.net>
2381 * text.C: use Row & instead of RowList::iterator
2383 * lyxrow.h: rename end() to endpos()
2389 2003-10-22 Angus Leeming <leeming@lyx.org>
2391 * buffer.[Ch] (fully_loaded): new member function, returning true
2392 only when the file has been loaded fully.
2393 Used to prevent the premature generation of previews and by the
2394 citation inset to prevent computation of the natbib-style label.
2396 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2397 templates are all set up.
2399 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2401 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2403 * text.C: fixed an "oops" in the "is a bit silly"
2406 2003-10-21 André Pönitz <poenitz@gmx.net>
2408 * FuncStatus.[Ch]: small stuff, whitespace
2410 * lyxfont.[Ch]: operator<<() for debug reasons
2414 * lyxtext.h: whitespace, spelling
2416 * paragraph.C: naming of variables
2419 * text2.C: small stuff
2422 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2424 * text.C: (1) finish off the inset display() work;
2425 (2) fix the "is a bit silly" bug (accessing char
2428 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2430 * text.C: re-introduce display() for insets, fixing the
2431 various bugs (stretch of line above, math inset
2434 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * text.C (rightMargin): remove spurious semicolon
2438 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2441 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2443 * text3.C: fix one crash due to wrong cursor def
2445 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * vc-backend.C (scanMaster): make the regex static
2449 * LaTeX.C (scanAuxFile): make the regexs static
2451 * text3.C (doInsertInset, dispatch, dispatch):
2452 * text2.C (cursorUp, cursorDown):
2453 * text.C (selectNextWordToSpellcheck):
2454 * BufferView_pimpl.C (dispatch):
2455 * lyxfunc.C (dispatch): localDispatch -> dispatch
2457 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2459 * lyxsocket.C: include <cerrno>
2461 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2463 * lyxfunc.C (dispatch): remove textcache stuff
2465 * bufferlist.C (release): remove textcache stuff
2468 * TextCache.C: delete file
2469 * TextCache.h: delete file
2471 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2473 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2474 delete of the bv_->text.
2475 (resizeCurrentBuffer): remove texcache stuff
2476 (workAreaResize): ditto
2478 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2483 2003-10-16 André Pönitz <poenitz@gmx.net>
2490 * text3.C: speed up by storing y positions per paragraph plus per-row
2491 offset instead of having a 'full' y position in the row.
2493 2003-10-15 André Pönitz <poenitz@gmx.net>
2497 * undo.[Ch]: make undo aware of inner insets
2499 2003-10-14 Angus Leeming <leeming@lyx.org>
2501 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2502 static member functions LyX::ref() and LyX::cref.
2503 (lastfiles): new accessor functions for the new lastfiles_ member var.
2504 (addLyXView, views_): add a new LyXView to the list of views_.
2505 (updateInset): loop over all LyXViews to call their own updateInset
2506 member function, returning a pointer to the Buffer owning the inset.
2508 * BufferView_pimpl.C (loadLyXFile):
2509 * MenuBackend.C (expandLastfiles):
2510 * bufferlist.C (MenuWrite, QuitLyX):
2511 lastfiles is no longer a global variable.
2512 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2514 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2515 static function. Access through LyX::cref().emergencyCleanup().
2517 2003-10-14 André Pönitz <poenitz@gmx.net>
2519 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2521 * undo.[Ch]: restoring part of 'undo in insets'
2524 * undo_funcs.[Ch]: merge with undo.[Ch]
2526 * tabular.C: small cleansing stuff
2528 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2530 * paragraph_funcs.C (readParToken): report unknown insets as error
2531 boxes. Use the outer paragraph as location (also for unknown
2534 * factory.C (readInset): do not abort on reading an unknown inset.
2535 Eat it and return 0.
2537 2003-10-13 Angus Leeming <leeming@lyx.org>
2539 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2541 * lyxrc.C: displayTranslator is now a function,
2542 declared in GraphicsTypes.h.
2544 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2546 * format.C: new placeholder $$a to pass the socket address.
2548 * bufferlist.[Ch]: new function getBufferFromTmp.
2550 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2551 files in the temporary dir.
2553 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2555 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2557 * Makefile.am: add lyxsocket.[Ch].
2559 * lyx_main.C (error_handler): handle SIGPIPE.
2561 2003-10-13 André Pönitz <poenitz@gmx.net>
2563 * BufferView_pimpl.C:
2568 * undo_funcs.[Ch]: use paroffset_type instead of
2569 ParagraphList::iterators to prevent multiple conversion
2570 (and get a more robust interface)
2572 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2576 * text3.C (dispatch): ditto
2578 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2581 move the onlyfile, use onlyfile instead of foundfile in a couple
2584 * DepTable.C (update): flush the error stream a bit more
2586 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * lyxserver.C (callback): adjust
2590 * lyxfunc.C (getStatus): add a missing brace in commented code
2591 (ensureBufferClean): reindent
2592 (dispatch): delete version taking a string
2594 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * LaTeX.C (deplog): move found file handlig from here...
2597 (handleFoundFile): .. to new function here.
2598 (deplog): make sure to discover several files mentioned on the
2601 2003-10-10 André Pönitz <poenitz@gmx.net>
2608 * text3.C: fix some of the tabular crashes
2610 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2612 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2614 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2616 2003-10-09 André Pönitz <poenitz@gmx.net>
2618 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2621 * BufferView_pimpl.C:
2622 * bufferview_funcs.C:
2633 * undo_funcs.C: adjust
2635 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * text2.C (incrementItemDepth): new function, use a backtracking
2638 algorithm to discover the correct item depth.
2639 (resetEnumCounterIfNeeded): new function, use a backtracking
2640 algorithm to discover if counter reset is needed.
2641 (setCounter): use them. Simplify a bit. Add different labels for
2642 different item depths for itemize.
2644 * paragraph.C (Paragraph): remove initialization of enumdepth
2647 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2648 enumerate and itemize. Change the type of itemdepth to signed char.
2650 2003-10-08 André Pönitz <poenitz@gmx.net>
2652 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2657 * tabular.[Ch]: fix crash after 'row-insert'
2659 2003-10-08 Angus Leeming <leeming@lyx.org>
2661 Fix doxygen warnings.
2663 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2664 Remove CutAndPaste:: prefix from header file declaration.
2666 * LColor.h (fill): remove LColor:: prefix from declaration.
2668 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2669 use lyx::depth_type rather than Paragraph::depth_type so that
2670 header file and .C file match.
2672 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2674 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2675 * aspell.C: \file aspell_local.C -> \file aspell.C
2676 * gettext.C: \file gettext.C -> \file src/gettext.C
2677 * gettext.h: \file gettext.h -> \file src/gettext.h
2678 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2679 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2680 * text.C: \file text.C -> \file src/text.C
2682 * toc.C: move comment so that doxygen is not confused.
2684 2003-10-07 Angus Leeming <leeming@lyx.org>
2686 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2688 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2691 * aspell_local.h: add forgotten std::string's.
2693 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2700 * text3.C: The Box patch. Fancybox support, minipage, parbox
2702 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2708 * ParagraphParameters.h:
2718 * lyxtextclasslist.h:
2721 * paragraph_pimpl.C:
2722 * textcursor.h: add <string> and other small fixes to make Lars'
2723 std::string patch compile with STLport.
2725 2003-10-06 Angus Leeming <leeming@lyx.org>
2727 * LColor.h: Add missing #include <string>.
2729 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * All most all file in all subdirs: Make <string> be the prefered
2732 way of getting to std::string, add using declarations.
2734 2003-10-06 André Pönitz <poenitz@gmx.net>
2736 * metricsinfo.C: initialize LyXFont before changing attribute.
2737 (fixes the 'math in \emph is upright' bug)
2739 2003-10-06 André Pönitz <poenitz@gmx.net>
2741 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2743 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2746 * paragraph_pimpl.C: Small fixes to build using STLport
2748 2003-10-02 André Pönitz <poenitz@gmx.net>
2751 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2753 2003-10-01 André Pönitz <poenitz@gmx.net>
2755 * factory.C: assert early
2757 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * lyx_main.C: remove the global debug object
2761 * debug.h: adjust for new debugstream
2763 * debug.C: adjust for new debugstream and keep the global debug
2766 2003-09-22 Angus Leeming <leeming@lyx.org>
2768 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2769 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2770 an incomplete class LyXFont.
2772 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2774 * factory.C: bug fix in branches
2776 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * lyxfunc.C (processKeySym): adjust
2780 (dispatch): change arg name from ev to func, adjust
2781 (sendDispatchMessage): ditto
2783 * lyx_main.C (defaultKeyBindings): adjust keybindings
2784 (deadKeyBindings): ditto
2786 * kbsequence.C (addkey): return a FuncRequest
2788 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2790 * kbmap.C (bind): take a FuncRequest as arg, adjust
2793 (defkey): change to take a FuncRequest as arg, adjust
2794 (findbinding): take a FuncRequest as arg, adjust.
2796 * funcrequest.h (operator=): added
2798 * funcrequest.C (FuncRequest): default kb_action changed from
2799 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2801 * buffer.C (dispatch): simplify
2802 (dispatch): adjust to take a FuncRequest as arg, adjust
2804 * boost.C (assertion_failed): change assertion message slightly
2806 * ToolbarBackend.C (read): simplify
2808 * MenuBackend.C (binding): adjust call to findbinding, add a
2809 message if no binding is found.
2811 (expandToc): correct by adding a empty FuncRequest
2813 * LyXAction.C: include <boost/assert.hpp>
2814 (isPseudoAction): delete function
2815 (LookupFunc): change name to...
2816 (lookupFunc): this. change return type to FuncRequest.
2817 (getActionName): take kb_action as arg, simplify
2818 (funcHasFlag): add an assert, simplify.
2820 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * toc.C (action): return a FuncRequest, simplify
2824 * lyxfunc.C (processKeySym): adjust
2825 (getStatus): delete version that takes an int.
2827 (dispatch): delete version that takes action as int
2829 (sendDispatchMessage): simplify and adjust
2831 * funcrequest.C (getArg): take unsigned int as arg
2833 * ToolbarBackend.C (read): adjust
2834 (add): delete version that takes func as a string.
2835 (getIton): take a FuncRequest as arg
2837 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2840 * MenuBackend.C (MenuItem): add a new construct that only takes a
2841 Kind, simplify the constructor use for submenus.
2843 (expandLastfiles): adjust
2844 (expandDocuments): adjust
2845 (expandFormats): adjust
2846 (expandFloatListInsert): adjust
2847 (expandFloatInsert): adjust
2848 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2850 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2851 Remove class variables lyx_pseudo_map and lyx_arg_map
2853 * LyXAction.C (searchActionArg): delete function
2854 (getPseudoAction): delete function
2855 (retrieveActionArg): delete function
2856 (LookupFunc): make it return kb_action, simplify.
2857 (getActionName): simplify
2859 * factory.C (createInset): fix new bug
2861 2003-09-19 Angus Leeming <leeming@lyx.org>
2863 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2864 masterFilename_ parameter in the include inset.
2866 * factory.C (createInset): changes due to the changes to InsetInclude.
2868 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2870 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2872 2003-09-18 Angus Leeming <leeming@lyx.org>
2875 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2876 Inset::fillWithBibKeys.
2877 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2879 2003-09-18 Angus Leeming <leeming@lyx.org>
2881 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2883 (ctor): pass and store a 'Buffer const &'
2884 (buffer): new member function.
2886 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2887 '*this' to the LaTeXFeatures ctor.
2889 2003-09-18 Angus Leeming <leeming@lyx.org>
2895 * text.C: rename EnumLColor as LColor_color.
2897 2003-09-18 Angus Leeming <leeming@lyx.org>
2899 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2900 remove #include "insets/insetbase.h" from cursor.h.
2902 2003-09-18 Angus Leeming <leeming@lyx.org>
2904 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2905 InsetOld_code to remove #include "inset.h".
2907 * iterators.C: add #include "insets/inset.h"
2909 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2911 * BufferView.C: remove more locking stuff that apparently doesn't
2912 do anything sensible.
2914 2003-09-16 André Pönitz <poenitz@gmx.net>
2917 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2920 2003-09-16 Angus Leeming <leeming@lyx.org>
2922 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2924 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2927 * paragraph.h: remove #include "lyxfont.h". Forward declare
2930 2003-09-16 Angus Leeming <leeming@lyx.org>
2932 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2933 of support/textutils.h.
2934 (isWord): move the contents of support/textutils.h's IsWordChar here.
2940 * text2.C: add #include "paragraph.h".
2943 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2945 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * LaTeX.C: use namespace alias for lyx::support::os
2953 2003-09-16 Angus Leeming <leeming@lyx.org>
2956 * bufferview_funcs.C:
2959 * paragraph_pimpl.C:
2961 * text.C: add #include "LColor.h".
2963 2003-09-16 Angus Leeming <leeming@lyx.org>
2965 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2966 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2968 Store the FontBits::color variable as an int rather than as an
2969 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2972 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2973 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2974 string calls together.
2976 * lyxrc.C: add #include "LColor.h".
2978 2003-09-15 Angus Leeming <leeming@lyx.org>
2980 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2983 2003-09-15 Angus Leeming <leeming@lyx.org>
2985 * LColor.h: add an EnumLColor wrapper for LColor::color.
2987 * lyxfont.[Ch] (color, setColor, realColor):
2988 * lyxtext.h, text.C (backgroundColor):
2989 pass EnumLColor args to/from the functions, rather than LColor::color
2993 * lyxtext.h: forward declare EnumLColor.
2995 * lyx_main.C: add #include "LColor.h".
2997 2003-09-15 Angus Leeming <leeming@lyx.org>
2999 * .cvsignore: add lyx-gtk.
3001 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3006 * ParagraphParameters.C
3010 * bufferview_funcs.C
3020 * vc-backend.C: remove usage of STRCONV
3022 2003-09-15 Angus Leeming <leeming@lyx.org>
3024 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3025 explicitly define the color passed to the painter.
3027 2003-09-15 Angus Leeming <leeming@lyx.org>
3029 * bufferparams.C (BufferParams): reorder member initializers to avoid
3032 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3034 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3035 * text.C (updateRowPositions): remove an unusual nop
3037 2003-09-12 André Pönitz <poenitz@gmx.net>
3039 * BufferView_pimpl.C:
3048 * Counters.[Ch]: finish the 'automatic counters' job
3050 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3052 * aspell.C: include <boost/assert.cpp> (compile fix)
3054 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3056 * boost.C (assertion_failed): use lyx::support::abort instead of
3059 2003-09-10 Angus Leeming <leeming@lyx.org>
3061 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3062 with their _fwd progeny.
3064 2003-09-09 Angus Leeming <leeming@lyx.org>
3066 134 files throughtout the source tree: replace 'using namespace abc;'
3067 directives with the appropriate 'using abc::xyz;' declarations.
3069 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3071 * boost.C (emergencyCleanup): moved here from LAssert.c
3072 (assertion_failed): new function, called by BOOST_ASSERT
3074 * several files: change Assert to BOOST_ASSERT
3076 2003-09-09 Angus Leeming <leeming@lyx.org>
3078 * buffer.[Ch]: Add an Impl class and move Buffer's member
3079 variables into it. As a result move several header files out of
3082 Add header files to lots of .C files all over the tree as a result.
3084 2003-09-09 Angus Leeming <leeming@lyx.org>
3086 * buffer.[Ch]: make Buffer's member variables private. Add
3089 Lots of changes all over the tree as a result.
3091 2003-09-08 Angus Leeming <leeming@lyx.org>
3093 * graph.C: #include <config.h>.
3095 2003-09-08 Angus Leeming <leeming@lyx.org>
3099 * BufferView_pimpl.C:
3128 * toc.C: remove redundant using directives.
3130 2003-09-07 Angus Leeming <leeming@lyx.org>
3132 * LaTeXFeatures.h: remove #include "support/types.h".
3133 * ToolbarBackend.h: remove #include <algorithm>.
3134 * changes.h: remove #include <ctime>.
3135 * debug.h: remove #include <iosfwd>.
3136 * graph.h: remove #include "support/std_string.h".
3137 * lyx_main.h: remove #include <csignal>.
3138 * lyxlex_pimpl.h: remove #include <fstream>.
3139 * sgml.h: remove #include <algorithm>, <utility>.
3140 * toc.h: remove #include "support/std_ostream.h".
3141 Add #include <iosfwd>.
3143 2003-09-07 Angus Leeming <leeming@lyx.org>
3145 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3147 * converter.h: forward declare LatexRunParams.
3148 * encoding.h: remove #include "lyxrc.h".
3149 * lyxtext.h: remove #include "LColor.h".
3150 * lyxtextclass.h: remove #include "support/types.h".
3151 * trans.h: remove #include "tex-accent.h".
3152 * trans_mgr.h: remove #include "tex-accent.h".
3153 * insets/inset.h: remove #include "support/types.h", <vector>.
3154 * insets/insetcollapsable.h: remove #include "LColor.h".
3155 * insets/insetinclude.h: remove #include "dimension.h".
3156 * insets/insetlatexaccent.h: remove #include "dimension.h".
3157 * insets/insetoptarg.h:: remove #include "insettext.h".
3158 * insets/insettext.h: remove #include "dimension.h",
3159 <boost/shared_ptr.hpp>
3161 * insets/renderers.h: add #include "dimension.h".
3162 * insets/updatableinset.h: add #include "support/types.h".
3164 * many .C files: Associated changes.
3166 2003-09-06 Angus Leeming <leeming@lyx.org>
3168 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3169 one, inside testInvariant.
3171 * PrinterParams.C: new file.
3172 * PrinterParams.[Ch]: move the function bodies out of line.
3174 2003-09-06 Angus Leeming <leeming@lyx.org>
3176 * ParagraphParameters.h: forward declare ParameterStruct rather than
3177 including its header file.
3178 (depth): moved out-of-line.
3180 2003-09-06 Angus Leeming <leeming@lyx.org>
3182 * BufferView_pimpl.h:
3185 * lyxfunc.h: forward declare LyXKeySym rather than
3186 #include "frontends/LyXKeySym.h".
3188 * BufferView_pimpl.C:
3191 * lyxfunc.C: associated changes.
3193 2003-09-06 Angus Leeming <leeming@lyx.org>
3195 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3196 As a result, can remove the #include "insets/inset.h" from BufferView.h
3198 2003-09-06 Angus Leeming <leeming@lyx.org>
3200 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3201 As a result, can remove the #include "insets/inset.h" from BufferView.h
3203 2003-09-06 Angus Leeming <leeming@lyx.org>
3209 * bufferview_funcs.C:
3210 * BufferView_pimpl.C:
3215 * ParagraphParameters.C:
3220 * frontends/controllers/ControlDocument.C:
3221 * insets/insetcaption.C: rearrange the #includes into some sort of
3224 * buffer.h: remove #includes ErrorList.h, undo.h
3226 2003-09-06 Angus Leeming <leeming@lyx.org>
3228 * support/types.h: add a 'depth_type' typedef, used to store the
3229 nesting depth of a paragraph.
3232 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3233 defining explicitly.
3236 * paragraph_funcs.h:
3237 * ParagraphParameters.h:
3238 * sgml.h: use lyx::depth_type rather than Paragraph or
3239 ParameterStruct's depth_type.
3242 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3245 * BufferView_pimpl.C:
3247 * ParagraphParameters.C:
3250 * bufferview_funcs.C:
3257 * frontends/LyXView.C:
3258 * frontends/controllers/ControlDocument.C:
3259 * frontends/controllers/ControlErrorList.C:
3260 * insets/insetbibitem.C:
3261 * insets/insetbranch.C:
3262 * insets/insetcaption.C:
3263 * insets/insetcollapsable.C:
3264 * insets/insetenv.C:
3265 * insets/insetert.C:
3266 * insets/insetfloat.C:
3267 * insets/insetfoot.C:
3268 * insets/insetfootlike.C:
3269 * insets/insetnewline.C:
3270 * insets/insetquotes.C:
3271 * insets/insettabular.C:
3272 * insets/insettext.C:
3273 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3275 * frontends/controllers/ControlChanges.C: #include "changes.h".
3277 2003-09-06 Angus Leeming <leeming@lyx.org>
3279 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3280 than #including paragraph.h.
3283 * RowList.h: deleted. Superfluous.
3293 * insets/insettext.h: use ParagraphList_fwd.h rather than
3296 * paragraph.h: don't forward declare ParagraphList.
3299 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3300 rather than ParagraphList.h. paragraph.h is still needed for the
3301 Paragraph::depth_type parameters.
3303 * textcursor.h: enable it to compile stand-alone in light of the
3306 * bufferview_funcs.C:
3318 * frontends/controllers/ControlParagraph.C:
3319 * frontends/controllers/ControlTabular.C:
3320 * insets/insetmarginal.C:
3321 * insets/insetminipage.C:
3322 * insets/insetnote.C:
3323 * insets/insetoptarg.C: add header files needed to compile again.
3325 2003-09-06 Angus Leeming <leeming@lyx.org>
3327 * RowList_fwd.h: new file, forward-declaring Row rather than
3328 #including lyxrow.h.
3333 * insets/insettext.h: use it instead of RowList.h
3335 * bufferview_funcs.C:
3342 * text3.C: #include "RowList.h".
3344 2003-09-05 Angus Leeming <leeming@lyx.org>
3346 * factory.C (createInset):
3347 * vspace.C (c-tor): replace sscanf call with an istringstream.
3348 * ispell.C: re-add missing HP/UX headers.
3349 * lyxserver.C: re-add missing os2 headers.
3351 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3360 * text3.C: re-add missing system headers, needed for 2.95.2.
3362 2003-09-05 Angus Leeming <leeming@lyx.org>
3364 Changes most place everywhere due to the removal of using directives
3365 from support/std_sstream.h.
3367 2003-09-05 Angus Leeming <leeming@lyx.org>
3369 Replace LString.h with support/std_string.h,
3370 Lsstream.h with support/std_sstream.h,
3371 support/LIstream.h with support/std_istream.h,
3372 support/LOstream.h with support/std_ostream.h.
3374 Changes resulting throughout the tree.
3376 2003-09-05 Angus Leeming <leeming@lyx.org>
3378 * sgml.h: ensure that the header file can be compiled stand-alone.
3379 * *.C: strip out redundant #includes. (320 in total.)
3381 2003-09-04 Angus Leeming <leeming@lyx.org>
3383 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3384 here (from getPackages).
3386 * debug.[Ch]: add a new EXTERNAL tag.
3388 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3390 * text2.C (cursorEnd): simplify
3392 (getColumnNearX): adjust
3394 * text.C (computeBidiTables): adjust
3397 * rowpainter.C (paintChars): adjust
3398 (paintSelection): adjust
3399 (paintChangeBar): adjust
3402 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3404 (numberOfSeparators): adjust
3406 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3412 * text3.C: Restricts the mouse click functionality
3413 of insets like bibtex, include, toc and floatlist to the visible
3414 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3415 up the dialogs. Cursor has to be in front of the inset (i.e.
3416 start of row) for this to function.
3418 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3420 * bufferview_funcs.C (currentState): output row information
3422 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3424 * bufferview_funcs.C (currentState): output paragraph position
3426 2003-09-04 Angus Leeming <leeming@lyx.org>
3428 * FloatList.h: move out #include "Floating.h".
3429 * LaTeX.h: move out #include "DepTable.h".
3430 * LyXAction.h: move out #include "funcrequest.h".
3431 * buffer.h: move out #include "author.h", "iterators.h".
3432 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3433 * lyx_main.h: move out #include "errorlist.h".
3434 * lyxfunc.h: move out #include "FuncStatus.h".
3435 * lyxtext: move out #include "lyxcursor.h".
3436 * paragraph_pimpl.h: move out #include "counters.h".
3438 2003-09-03 Angus Leeming <leeming@lyx.org>
3440 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3441 preamble_snippets list, enabling us to add snippets to the preamble
3442 only if the snippet was not there already.
3444 2003-09-04 Angus Leeming <leeming@lyx.org>
3446 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3448 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3453 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3455 * BranchList.C: point fix, earlier forgotten
3457 2003-09-02 Angus Leeming <leeming@lyx.org>
3459 * box.C (contains): renamed from 'contained' after a fantastic
3462 2003-09-02 John Levon <levon@movementarian.org>
3468 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3470 2003-09-02 John Levon <levon@movementarian.org>
3472 * text2.C: simplification of cursorEnd(), including partial
3475 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * buffer.C (readFile): add a space
3479 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3481 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3483 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * buffer.C (readFile): new function, take a filename and a
3486 ParagraphList::iterator
3488 (readFile): adjust, make it private. don't use setStream, make
3489 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3490 always contain the filename.
3492 * BufferView.C (insertLyXFile): simplify and make it work for
3495 2003-08-30 John Levon <levon@movementarian.org>
3497 * Makefile.am: fix dist (from Kayvan)
3499 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3501 * most files: change to use const Buffer refs
3503 2003-08-27 André Pönitz <poenitz@gmx.net>
3505 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3506 on top of ownerPar().
3508 2003-08-27 John Levon <levon@movementarian.org>
3510 * funcrequest.C: properly initialise POD members
3512 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3514 * lyxtext.h (top_y): move top_y from here
3519 * BufferView_pimpl.[Ch]: to here
3520 * frontends/screen.C:
3521 * insets/insettabular.C:
3522 * insets/insettext.C: adjust
3523 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3525 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3528 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3530 2003-08-26 André Pönitz <poenitz@gmx.net>
3532 * paragraph_func.[Ch] (outerPar): new function
3535 * paragraph_funcs.C:
3536 * paragraph_funcs.h:
3537 * paragraph_pimpl.C:
3538 * text2.C: remove Inset::par_owner
3540 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3545 * text2.C: eliminates the needFullRow/display() stuff
3546 altogether, putting the logic in metrics/draw in the insets.
3548 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3550 * text2.C (redoParagraphInternal, redoParagraphs):
3551 * text.C (redoParagraph): add a call to updateRowPositions at the
3552 end of each 'metrics-like' call. Remove all others.
3553 (getRow): remove the 'y-computing' version.
3554 (getRowNearY): do not compute nor return the real y. Solve the
3555 'y < 0' problem and simplify.
3557 2003-08-22 Angus Leeming <leeming@lyx.org>
3559 * *.[Ch]: clean-up of licence and author blurbs.
3560 Also move config.h out of a few .h files and into a few .C files.
3562 2003-08-22 André Pönitz <poenitz@gmx.net>
3564 * lyxrow.[Ch]: add x_ and *fill_ members
3569 * text2.C: adjust/remove prepareToPrint() calls
3571 2003-08-22 André Pönitz <poenitz@gmx.net>
3573 * lyxrow.[Ch]: add end_ member
3575 * lyxrow_funcs.C: use LyXRow::end_
3577 * lyxtext.h (singleWidth): add LyXFont parameter
3580 * text2.C: adjust LyXText::singleWidth() calls
3582 * text.C (redoParagraph): simplify row breaking logic
3585 2003-08-19 André Pönitz <poenitz@gmx.net>
3587 * funcrequest.C: initialize button_ member
3590 * rowpainter.[Ch]: interface consolidation
3592 2003-08-18 André Pönitz <poenitz@gmx.net>
3595 * BufferView_pimpl.C:
3597 * paragraph_funcs.C:
3599 * text3.C: remove LyXScreen::draw() and fitCursor calls
3601 * BranchList.h: remove spurious semicolons
3603 * MenuBackend.C: fix branchlist related crash
3605 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3613 * bufferparams.[Ch]:
3617 * text3.C: implements the 'branch inset'
3618 idea. This allows the output of various versions of a document
3619 from a single source version, selectively outputing or suppressing
3620 output of parts of the text.
3621 This implementation contains a 'branch list editor' in a separate
3622 tab of the document settings dialog. Branches are user definable
3623 and have a "display colour" to distinguish them on-screen.
3625 ColorHandler was somewhat cleaned up.
3626 (1) make possible a dynamically growing LColor list by allowing
3627 the graphic context cache to grow along (vector);
3628 (2) eliminate an IMHO unnecessary step in colour allocation.
3630 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3632 * BufferView_pimpl.C: compile fix
3634 2003-08-15 André Pönitz <poenitz@gmx.net>
3636 * rowpainter.C: remove extra metrics calls
3638 * lyxtext.h: merge the two constructors into a single one,
3639 pass reference to owner's par list
3641 * BufferView_pimpl.C:
3645 2003-08-15 André Pönitz <poenitz@gmx.net>
3647 * lyxrow_funcs.[Ch]:
3650 * paragraph_funcs.C:
3655 * text_funcs.C: split LyXText::rowlist_ into individual
3656 Paragraph::rows_ chunks
3659 * BufferView_pimpl.[Ch]:
3662 * text3.C: remove toggleSelection()
3664 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3666 * bufferlist.C: beautify two alerts (shorter text of buttons)
3667 * buffer.C: Remove redundant ' ' from message
3669 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3670 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3671 rename VALIGN_CENTER to VALIGN_MIDDLE
3673 2003-08-11 André Pönitz <poenitz@gmx.net>
3675 * lyxtext.h (getPar):
3676 * text.C: new function
3678 2003-08-11 André Pönitz <poenitz@gmx.net>
3681 * tracer.[Ch]: remove unneeded files
3683 * InsetList.[Ch]: remove resizeInsetsLyXText()
3688 * text3.C: merge insertParagraphs() and appendParagraph()
3689 remove breakAgain(), update()
3691 * BufferView_pimpl.[Ch]:
3692 * bufferview_funcs.[Ch]:
3696 * tabular.C: adjust after text & InsetList changes.
3698 2003-08-08 André Pönitz <poenitz@gmx.net>
3700 * text.C (insertChar, backspace): replace rowlist fiddling
3701 with rebreak of full par
3704 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3705 checkParagraph, updateInset): removed
3707 2003-08-07 André Pönitz <poenitz@gmx.net>
3710 * text3.C: merge some LFUN handlers, remove dead code
3712 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3714 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3716 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3718 * text2.C (DEPM): fix part of bug 1255 and 1256
3720 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3722 * BufferView_pimpl.C (workAreaDispatch): change to use
3723 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3724 that are no mouse related.
3726 2003-08-05 André Pönitz <poenitz@gmx.net>
3729 * BufferView_pimpl.[Ch]:
3730 * bufferview_funcs.C:
3732 * text3.C: rip out "deep update"
3734 * textcursor.[Ch] (last_sel_cursor): remove unused member
3736 2003-08-04 André Pönitz <poenitz@gmx.net>
3739 * BufferView_pimpl.[Ch]:
3740 * ParagraphParameters.C:
3741 * bufferview_funcs.C:
3747 * text3.C: replace "complicated" BufferView::update(...) calls with
3750 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3752 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3754 * Makefile.am (lyx_SOURCES): add paper.h
3756 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3758 * Makefile.am: move things around so that both lyx-qt and
3759 lyx-xforms can be built (according to --with-frontend). Then lyx
3760 is a symbolic link to lyx-[firstfrontend]
3762 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3764 * Always use std::endl with lyxerr
3766 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3768 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3770 2003-08-01 André Pönitz <poenitz@gmx.net>
3773 * BufferView_pimpl.[Ch]:
3775 * text3.C: merge BufferView::repaint() and BufferView::update()
3777 2003-08-01 José Matos <jamatos@lyx.org>
3779 * buffer.[Ch]: file_format is no longer a buffer data element.
3781 2003-08-01 André Pönitz <poenitz@gmx.net>
3786 * text2.C: make redoParagraph more independent of current cursor
3788 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3790 * text2.C: remove unneeded members
3792 2003-07-30 André Pönitz <poenitz@gmx.net>
3794 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3796 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3797 create a single function...
3799 * paragraph_funcs.C (moveItem): ... here.
3802 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3804 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3806 * LColor.[Ch]: Add comment and greyedout logical colors.
3808 2003-07-30 André Pönitz <poenitz@gmx.net>
3810 * tabular.C: don't use Assert too heavily. This crashes where it
3813 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3815 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3816 is disabled (bug 1232)
3818 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3820 * factory.C: limited 'arg' scope
3822 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3824 * factory.C: fixed Note submenu issues
3826 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3828 * factory.C: submenu for Note/Comment/Greyedout
3830 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3833 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3835 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3838 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3839 greyedout. Patch provided by Jürgen Spitzmüller.
3841 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3843 * kbmap.C (read): fix error message when reading bind files
3845 2003-07-29 Angus Leeming <leeming@lyx.org>
3847 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3848 certainly does not do what it purports to do. I am doing it, and
3849 us, a favour by killing it.
3851 2003-07-28 José Matos <jamatos@lyx.org>
3853 * buffer.C (readBody, do_writeFile):
3854 * paragraph.C(readParagraph): \end_document replaces \the_end.
3856 2003-07-29 André Pönitz <poenitz@gmx.net>
3859 * BufferView_pimpl.[Ch]:
3863 * textcursor.[Ch]: remove toggleToggle & Co
3865 2003-07-28 José Matos <jamatos@fep.up.pt>
3867 * buffer.C (readParagraph):
3868 * params_func (readParToken, readParagraph):
3869 * paragraph.C (write): \layout -> \begin_layout.
3871 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * lyxlex_pimpl.C (setFile): clean up slightly.
3875 * bufferparams.h: add compressed var
3877 * buffer_funcs.C (readFile): adjust for LyXLex change
3878 (newFile): ditto + simplify
3880 * buffer.C (writeFile): handle writing of compressed files
3882 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3883 Check if the file is compressed and set a bufferparm if so.
3885 * Makefile.am (lyx_LDADD): remove explicit -lz
3887 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3889 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3890 makeDocBookFile): put the real LyX version in the first line of
3894 * version.C.in: remove lyx_docversion
3896 * tabular.C (write_attribute): add a template-based version to
3897 write enums properly
3899 2003-07-28 André Pönitz <poenitz@gmx.net>
3904 * text3.C: use doubles again for x-coordinates. They are needed.
3906 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * messages.C (getLocaleDir): use lyx_localedir()
3910 * lyxlex_pimpl.C (setFile): compress stuff
3912 * buffer.C (writeFile): add some compression stuff
3913 (do_writeFile): new func, dont call expliti close... will this
3916 * Makefile.am (lyx_LDADD): add -lz
3918 2003-07-28 José Matos <jamatos@fep.up.pt>
3920 * buffer.C: increment file format.
3921 * paragraph_funcs (readParagraph, readParToken):
3922 * paragraph.C (readParagraph): add \end_layout.
3924 2003-07-27 Angus Leeming <leeming@lyx.org>
3926 * Makefile.am: remove special casing for configure-time setting of
3927 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3929 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3930 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3932 2003-07-26 André Pönitz <poenitz@gmx.net>
3934 * paragraph_func.[Ch]:
3935 * paragraph.C (realizeFont): inline it whereever it is used
3940 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3943 2003-07-26 André Pönitz <poenitz@gmx.net>
3947 * text2.C: get rid of LyXText::need_break_row
3949 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * toc.[Ch]: put namespace toc inside namespace lyx
3953 * MenuBackend.C (expandToc2): adjust for lyx::toc
3956 * lyxfunc.C (dispatch): adjust for lyx::find
3958 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3959 lyx::find instead. Reorganize a bit.
3960 (LyXReplace): rename to replace
3961 (LyXFind): rename to find
3963 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3966 2003-07-26 André Pönitz <poenitz@gmx.net>
3968 * text.C (setHeightOfRow): restrict scope of temporary variable
3970 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3971 code (never has been used?)
3973 2003-07-27 Asger Alstrup <alstrup@local>
3975 * text.C (fill): Optimise algorithm to exploit that we can reuse
3976 the LyXFont for many characters.
3977 (setHeightOfRow): Same thing.
3978 (rowBreakPoint): Same thing.
3980 2003-07-26 Asger Alstrup <alstrup@local>
3982 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3984 * text.C (singleWidth): Spurious font copying in hot-spot
3985 singleWidth avoided. Reorder tests for arabic for efficiency.
3987 * text.C (fill): handle empty paragraphs better.
3989 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3992 * encoding.h: add includes
3994 * lyxrc.C: remove reading of bind files
3996 * lyx_main.C (init): setup bindings and menus only if we have a
3999 * kbmap.C (read): new method. Do the actual reading of bind
4002 * converter.C (dvipdfm_options):
4005 (output): adapt PAPER_* enums.
4007 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4009 * bufferparams.h: remove paper-related enums from there
4011 * paper.h: New file. A trivial header file to hold paper-related
4012 enums. It should later expand to contain many paper-related
4015 * lyxrc.C: declare extern displayTranslator
4017 2003-07-27 José Matos <jamatos@fep.up.pt>
4019 * tabular.[Ch] (linuxdoc): add support for tables and figures
4022 2003-07-27 José Matos <jamatos@fep.up.pt>
4024 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4025 consistency in both functions.
4026 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4028 2003-07-26 Asger Alstrup <alstrup@local>
4030 * rowpainter.C (paintRows): Change algorithm to work directly on
4031 the insets rather than asking every character in the document
4032 whether its an inset.
4034 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4036 * buffer.C (openFileWrite): factorize some code
4038 2003-07-26 Angus Leeming <leeming@lyx.org>
4041 * lyx_main.[Ch]: replace occurances of system_tempdir with
4044 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * rename Inset to InsetOld
4048 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4050 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4051 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4052 which I think is a bit clearer. EDIT is gone, since it was
4053 premature optimisation, and broken for mathed anyway.
4054 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4055 with cursor positioning in insets as well (math insets still do not
4056 work, but that's a different story anyway.) It mysteriously
4057 crashes sometimes with undo in the first paragraph, but I'm fairly
4058 confident that this is a compiler bug.
4060 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * paragraph.C (Paragraph): adjust for new clone return type
4064 (copyIntoMinibuffer): ditto
4066 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4068 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4069 by not having a special case, and always doing a full rebreak of
4070 the document after undo.
4072 2003-07-23 Angus Leeming <leeming@lyx.org>
4074 * factory.C (createInset): InsetExternal::setParams now takes a
4077 2003-07-23 Angus Leeming <leeming@lyx.org>
4079 * factory.C (createInset): changed interface to the external and
4080 graphics mailers' string2params functions.
4082 2003-07-23 Angus Leeming <leeming@lyx.org>
4084 * factory.C (createInset): pass a
4085 Buffer const * parameter to InsetExternalMailer's string2params.
4087 2003-07-22 John Levon <levon@movementarian.org>
4089 * Thesaurus.h: include the right aiksaurus header
4091 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4093 * MenuBackend.C (expand): check menu shortcuts unconditionally
4095 2003-07-21 Angus Leeming <leeming@lyx.org>
4097 * factory.C (createInset): pass a
4098 buffer_path parameter to InsetGraphicsMailer's string2params.
4100 2003-07-21 Angus Leeming <leeming@lyx.org>
4102 * BufferView_pimpl.C (buffer):
4105 * lyxfunc.C (dispatch):
4106 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4107 rather than the grfx shortcut.
4109 2003-07-21 André Pönitz <poenitz@gmx.net>
4111 * rowpainter.C: remove unused variables
4114 * tabular_funcs.h: move to tabular.C
4115 * Makefile.am: adjust
4117 * tabular.[Ch]: basic optical cleaning
4119 * author.h: pass references, not values
4121 2003-07-18 André Pönitz <poenitz@gmx.net>
4129 * text3.C: two-phase drawing for InsetText and InsetTabular
4130 some float -> int changes.
4132 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4134 * lyx_main.C: fix the fix
4136 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4138 * lyx_main.C: fix a crash in batch mode if no files specified
4141 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4143 * format.[Ch] (papersize): moved to BufferParams
4144 * converter.[Ch] (dvips_options): moved to BufferParams
4145 (dvipdfm_options): moved to anon namespace
4146 * bufferparams.[Ch]: added above functions.
4148 2003-07-17 André Pönitz <poenitz@gmx.net>
4152 * text2.C: don't call inset->update() anymore
4154 * metricsinfo.[Ch]: add convenience constructor
4156 2003-07-16 André Pönitz <poenitz@gmx.net>
4161 * text2.C: replace the LyXCursor::irow_ member with
4162 on-demand computation of the value
4164 2003-07-16 John Levon <levon@movementarian.org>
4166 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4168 2003-07-15 André Pönitz <poenitz@gmx.net>
4171 * text2.C: remove no more needed refresh_row
4173 2003-07-15 André Pönitz <poenitz@gmx.net>
4178 * text3.C: refresh_status tristate -> need_update bool
4180 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4182 * lyxtext.h (init): remove reinit argument (act as if always true)
4183 * text2.C: adjust to that
4185 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4187 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4188 * text3.C: use it to delete selections in some cases
4189 (bugs 441, 673, 702, 954).
4191 2003-07-14 André Pönitz <poenitz@gmx.net>
4193 * rowpainter.[Ch]: reduce interface
4195 2003-07-14 André Pönitz <poenitz@gmx.net>
4197 * BufferView_pimpl.C:
4198 * text2.C: adjust after removing unused BufferView * argument
4200 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4202 * text2.C (init): fix a crash fired on resize
4204 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4206 * buffer.[Ch]: added new closing signal
4207 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4208 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4209 BufferView::Pimpl via the closing the signal
4211 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4213 * buffer.[Ch]: take out all bv-related from buffer
4215 * BufferView_pimpl.[Ch]: connect to new signals
4216 * CutAndPaste.C: removed useless asserts
4217 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4220 * lyxfunc.C: moved view-related funciontality from vc here
4221 * paragraph.C: removed outdated comments
4224 2003-07-10 André Pönitz <poenitz@gmx.net>
4226 * BufferView_pimpl.C:
4230 * text2.C: remove InsetText::InnerCache, clean up consequences
4232 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4234 * ispell.C: fix two typos in error messages
4236 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4238 * Extend Note inset to other forms of annotation like Comment
4239 and Greyedout. Right button click gives dialog.
4241 Files modified or added (+):
4245 * ControlNote.[Ch] +
4247 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4248 frontends/controllers
4252 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4254 * aspell.C: add missing namespace lyx::support
4256 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4258 * BufferView.[Ch] (newFile): Add
4259 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4260 * LaTeX.[Ch] (message): added this signal and use it
4261 * buffer.[Ch] (busy, message): added these signals and use them
4262 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4266 * importer.C: use buffer signals instead of direct bv calling
4267 * lyx_cb.[Ch] (ShowMessage): removed
4270 * paragraph_funcs.C:
4271 * text2.C: use buffer signals
4273 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * introduce namespace lyx::graphics
4277 2003-07-02 André Pönitz <poenitz@gmx.net>
4279 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4281 2003-07-01 André Pönitz <poenitz@gmx.net>
4288 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4289 text*.C to text_func.C
4291 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * introduce namespace lyx::support
4295 2003-06-30 André Pönitz <poenitz@gmx.net>
4300 * text.C: re-enable --with-included-string
4302 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * textcursor.C: add <config.h>
4306 * text.C (getWord): remove const from word_location arg
4308 * lyxvc.C (getLogFile): fix const type order
4310 * lyxtext.h: remove const from word_location arg, add arg name
4312 * lyxlayout.h: currect type on labeltype.
4314 * importer.C: correct \file
4316 * converter.C (intToFormat): use std:: on ret val, ws changes
4318 * bufferlist.h: correct \file
4320 * buffer.C (makeLinuxDocFile): fix const type order
4321 (makeDocBookFile): ditto
4322 (fillWithBibKeys): use std:: on stdlib args.
4324 * CutAndPaste.C: fix authors.
4325 (availableSelections): use std:: on return vector
4327 2003-06-27 André Pönitz <poenitz@gmx.net>
4329 * BufferView_pimpl.C:
4330 * bufferview_funcs.C:
4338 * text3.C: remove LyXCursor::row_ member
4341 * text.C: rename fullRebreak() to partialRebreak() and implement
4342 a fullRebreak() that really bereks fully
4344 * textcursor.h: new struct for cursor-related data
4346 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4348 * lyx_main.C (LyX): get full path of document loaded on the
4351 2003-06-26 André Pönitz <poenitz@gmx.net>
4353 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4354 remove unused/broken operator>,<,>=.
4356 * text.C: remove only use of broken operator<= in an Assert().
4358 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4360 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4361 moved errorlist_.clear to showErrorList
4363 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4365 * converter.C (scanLog, runLaTeX):
4366 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4367 move the bv->showErrorList call to the callers
4368 * lyxfunc.C: i.e. here...
4370 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4371 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4372 namespace, the second to...
4373 * buffer_funcs (BufferFormat, parseErrors): added
4374 * errorlist.C (ErrorList(TeXErrors const &)): removed
4376 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4378 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4380 2003-06-24 "Garst R. Reese" <reese@isn.net>
4384 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4386 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4388 * version.C.in: change docversion to 1.4
4390 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4392 * buffer.C: fix a bug just introduced
4394 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4396 * buffer.[Ch]: added the parseError signal and use it, removed
4398 * BufferView.[Ch] (addError): moved to ...
4399 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4400 to the Buffer::parseError signal to catch (guess what) parse errors
4401 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4403 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4405 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4406 ability to create a buffer and to return an existing one from
4407 the list. Moved these functions to...
4408 * buffer_funcs.[Ch]: added
4409 * BufferView.[Ch] (loadLyXFile): added
4410 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4411 job removed from bufferlist::loadLyXFile.
4412 * buffer.C (setReadOnly): make it work without view
4413 (i.e added an if (users))
4415 2003-06-19 Angus Leeming <leeming@lyx.org>
4418 * LyXAction.C (init):
4419 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4420 with LFUN_DIALOG_SHOW <name> <data>.
4422 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4424 * CutAndPaste.C (availableSelections): small compilation fix for
4425 ancient (gcc 2.9x) compilers
4427 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * text3.C (cursorNext): add tmp var
4431 * text2.C (updateCounters): for function calling out of for clause
4432 (replaceSelectionWithString): ditto
4433 (insertStringAsParagraphs): ditto
4434 (getColumnNearX): add tmp var
4435 (setCursorFromCoordinates): add tmp var
4436 (cursorDownParagraph): add tmp var
4437 (deleteEmptyParagraphMechanism): add tmp var
4439 * text.C (insertChar): add tmp var
4441 * rowpainter.C (paintDepthBar): add tmp var
4443 * CutAndPaste.C (availableSelections): potentially check all
4444 paragraphs in a cut to fill the shown strings.
4446 2003-06-18 André Pönitz <poenitz@gmx.net>
4448 * kbmap.[Ch]: use vector<> instead of list<>
4450 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4452 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4453 pasteSelection with index
4455 * text2.C (pasteSelection): modify, call pasteSelection with index
4457 * paragraph.C (asString): reimplement version with no interval to
4458 call the one with interval.
4460 * lyxtext.h: add index arg to pasteSelection
4462 * MenuBackend.C (MenuItem): handle PasteRecent
4463 (Menu::read::Menutags): add md_pasterecent
4465 (expandPasteRecent): new function
4468 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4470 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4472 (availableSelections): new function
4474 2003-06-17 Angus Leeming <leeming@lyx.org>
4476 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4478 2003-06-17 Angus Leeming <leeming@lyx.org>
4481 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4483 * lyxfunc.C (dispatch): invoke it.
4485 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4487 * iterators.C (operator++, ParPosition): reintroduce some
4488 const_cast for the benefit of older compilers.
4490 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4492 * text3.C (dispatch): do not modify clipboard when doing
4493 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4494 LFUN_DELETE_SKIP on a selection selection
4496 2003-06-16 André Pönitz <poenitz@gmx.net>
4502 * tabular.[Ch]: IU of clone() and getLabelList();
4504 2003-06-13 André Pönitz <poenitz@gmx.net>
4506 * tabular.h: compactification
4508 2003-06-12 André Pönitz <poenitz@gmx.net>
4512 * tabular_funcs.h: some renaming plus whitespace
4514 2003-06-12 André Pönitz <poenitz@gmx.net>
4517 * BufferView_pimpl.C:
4523 * toc.C: Return a Paragraph & for ParIterator::operator*()
4525 2003-06-11 John Levon <levon@movementarian.org>
4529 * ToolbarBackend.C: add "Toolbars" section and
4532 2003-06-10 Angus Leeming <leeming@lyx.org>
4535 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4537 * lyxfunc.C (dispatch): invoke it.
4539 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * main.C: protect <ios> with HAVE_IOS
4542 (main): protect sync_with_stdio with HAVE_IOS
4544 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4546 * text2.C (cutSelection): adjust
4547 (pasteSelection): adjust
4549 * messages.C: handle get of empty string
4551 * main.C (main): use sync_with_stdio(false)
4553 * lyxfunc.C (dispatch): adjust
4555 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4556 (WriteAs): remove unneeded BufferView arg.
4558 * bufferparams.h: use correct types on papersize, papersize2 and
4561 * bufferparams.C (readToken): adjust for type
4562 (writeLaTeX): add missing cases to switch.
4564 * bufferlist.C (quitWriteBuffer): adjust
4567 * buffer.C (asciiParagraph): remove some commented code.
4569 * CutAndPaste.C: remove current_view extern variable.
4570 (cutSelection): add BufferParams arg.
4571 (eraseSelection): add BufferParams arg.
4572 (pasteSelection): add Buffer const & arg
4574 2003-06-07 John Levon <levon@movementarian.org>
4577 * paragraph_funcs.C:
4578 * paragraph_pimpl.C:
4582 * paragraph.C: allow InsetERT to freely space lines,
4583 and some consolidation of code
4585 2003-06-06 José Matos <jamatos@fep.up.pt>
4587 * buffer.C (makeDocBookFile): fix bug #821
4589 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4591 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4593 2003-06-04 Angus Leeming <leeming@lyx.org>
4595 * buffer.C: bump format to 224.
4597 2003-06-05 André Pönitz <poenitz@gmx.net>
4599 * text2.C (redoParagraphs): remove two const_cast<>
4601 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4603 * ParagraphList.h: remove last remnants of NO_STD_LIST
4605 2003-06-03 Angus Leeming <leeming@lyx.org>
4607 * factory.C (createInset): small change to the way InsetExternal's params
4610 2003-06-04 André Pönitz <poenitz@gmx.net>
4612 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4614 * paragraph_pimpl.h:
4615 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4617 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4619 * undo_funcs.C: make some simple cases of undo work again
4621 2003-06-03 John Levon <levon@movementarian.org>
4623 * ispell.C: HPUX doesn't have sys/select.h
4626 2003-06-03 John Levon <levon@movementarian.org>
4628 * CutAndPaste.C: update tabular and include inset
4633 * paragraph.C: remove owningBuffer(), don't pass Buffer
4636 * factory.C: insetGraphicsParams changed
4638 2003-06-02 John Levon <levon@movementarian.org>
4644 * text3.C: remove insetparent
4646 2003-06-02 John Levon <levon@movementarian.org>
4649 * buffer.C: fix inset_iterator.end(), move out of line
4652 2003-06-01 John Levon <levon@movementarian.org>
4654 * text3.C: use a proper cut/paste when doing inset
4655 insert (from Jürgen Spitzmüller)
4657 2003-06-01 John Levon <levon@movementarian.org>
4659 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4661 2003-05-30 André Pönitz <poenitz@gmx.net>
4663 * rowpainter.C: unify second drawing phase
4665 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * trans_mgr.C: remove one case of current_view
4669 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4671 * paragraph_funcs.h: remove paragraph.h include
4673 * paragraph.h: delete NO_STD_LIST stuff
4675 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4677 * buffer.h: remove paragraph.h include
4679 * ParagraphList.C: delete file
4681 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4683 * toc.C (getTocList): adjust
4685 * paragraph_pimpl.C (validate): adjust
4687 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4689 * paragraph.C (Paragraph): adjust
4690 (getPositionOfInset): use const_iterator, adjust
4691 (bibitem): use const_iterator, adjust
4692 (setInsetOwner): adjust
4694 * iterators.C (operator++): adjust
4696 * InsetList.[Ch]: Replace selfmade iterator with standard
4697 vector::iterator also introduce const_iterator. Remove getPos,
4698 getInset and setInset from InsetTable. Adjust accordingly.
4700 * BufferView.C (lockInset): adjust
4701 (ChangeInsets): adjust
4703 * tabular.[Ch]: delete commented same_id functions
4705 2003-05-28 John Levon <levon@movementarian.org>
4707 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4709 2003-05-28 André Pönitz <poenitz@gmx.net>
4711 * metricsinfo.[Ch]: remove 'fullredraw' member
4713 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4715 * lyxtextclass.C (operator): remove caching.
4717 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * text2.C (cursorBottom): adjust
4722 (setCounter): use ParagraphList::find, adjust
4724 * text.C (workWidth): use ParagraphList::find, adjust
4726 * lyxcursor.C (LyXCursor): adjust
4728 * buffer.C (inset_iterator): adjust
4730 * ParagraphList.h: make iterator(value_type) private, make
4731 ParagraphList a friend of iterator.
4733 * ParagraphList.C (find): new function
4735 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4737 2003-05-27 André Pönitz <poenitz@gmx.net>
4739 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4741 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4743 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4745 2003-05-26 John Levon <levon@movementarian.org>
4747 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4749 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * remove same_id from function signatures, adjust.
4753 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4757 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4759 * paragraph.C (Paragraph): get rid of same_ids parameter
4761 * ParagraphList.C (insert): adjust
4764 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * paragraph_funcs.C (breakParagraph): adjust
4767 (breakParagraphConservative): adjust
4769 * buffer.C (readParagraph): adjust
4771 * ParagraphList.C (insert): take a reference instead of a pointer
4774 * paragraph.[Ch] (id): new function
4776 * bufferlist.C (newFile): adjust
4778 * ParagraphList.C (ParagraphList): adjust
4780 (push_back): take a reference instead of a pointer.
4782 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4784 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4787 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4788 set else use old code.
4790 * ParagraphList.C: remove all NO_NEXT code and only compile this
4791 code of NO_STD_LIST is set.
4793 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4795 * BufferView_pimpl.C:
4805 * graphics/GraphicsConverter.C:
4806 * graphics/PreviewLoader.C: header adjustment
4808 2003-05-23 Angus Leeming <leeming@lyx.org>
4810 * LaTeXFeatures.[Ch] (useBabel): new method.
4811 * bufferparams.C (writeLaTeX): use it.
4813 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * ParagraphList.h (set): remove unused function.
4817 2003-05-23 André Pönitz <poenitz@gmx.net>
4820 * BufferView_pimpl.C:
4824 * undo_funcs.C: setUndo reworked
4826 * iterators.[Ch]: add access to topmost ParagraphList
4828 * lyxtext.[Ch] (workWidth): add a const
4830 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4832 * texrow.[Ch] (increasePos): remove function
4833 * exporter.C (export): removed unused var and outdated comment
4835 2003-05-23 Angus Leeming <leeming@lyx.org>
4837 * latexrunparams.h: rename fragile as moving_arg.
4838 * paragraph.C (simpleTeXOnePar): ditto.
4839 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4841 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4845 (textUndoOrRedo): comment out a currently unused var.
4847 * paragraph.h (NO_NEXT): enable NO_NEXT
4849 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4851 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4853 * exporter.C (Export): adjust for removeAutoInsets removal.
4855 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4857 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4859 * BufferView.[Ch] (removeAutoInsets): delete function
4861 2003-05-22 Angus Leeming <leeming@lyx.org>
4863 * latexrunparams.h: add a free_spacing variable.
4865 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4866 to pass moving_arg, as the data is stored in runparams.fragile.
4868 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4869 to Inset::latexOptional or to simpleTeXOnePar.
4871 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4872 free_spacing arg to Inset::latexOptional.
4874 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4877 2003-05-22 Angus Leeming <leeming@lyx.org>
4879 * latexrunparams.h: add fragile and use_babel variables.
4881 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4882 * buffer.C (makeLaTeXFile): store this returned value in
4883 runparams.use_babel, thus passing it to the inset::latex methods.
4885 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4886 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4888 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4889 longer has a fragile arg, as it is stored in runparams.fragile.
4891 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4892 moving_arg parameter as the data is stored in runparams.fragile.
4894 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4895 a fragile parameter as the data is stored in runparams.fragile.
4897 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4901 2003-05-22 Angus Leeming <leeming@lyx.org>
4903 * latexrunparams.h: add a 'bool nice' which defaults to false.
4905 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4906 now encapsulated within runparams.
4908 * bufferlist.C (updateIncludedTeXfiles):
4909 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4911 2003-05-22 Angus Leeming <leeming@lyx.org>
4913 * latexrunparams.h: new file containing struct LatexRunParams.
4914 * Makefile.am: add new file.
4916 * LaTeX.[Ch] (c-tor, run):
4917 * buffer.[Ch] (makeLaTeXFile):
4918 * bufferlist.[Ch] (updateIncludedTeXfiles):
4919 * converter.C (convert, scanLog):
4920 * converter.[Ch] (runLaTeX):
4921 * exporter.C (Export):
4922 * paragraph.[Ch] (simpleTeXOnePar):
4923 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4924 * paragraph_funcs.[Ch] (latexParagraphs):
4925 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4926 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4927 pass around a LatexRunParams parameter.
4929 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * paragraph.[Ch]: remove unused constructor
4933 * ParagraphList.C (erase): new function, taking two iterators
4935 2003-05-22 André Pönitz <poenitz@gmx.net>
4937 * undo_funcs.C: remove duplicated code
4939 * iterator.[Ch]: operator=
4941 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * tabular.C (SetMultiColumn): ws changes
4945 * rowpainter.C (paintFirst): get rid of a ->previous
4947 * lyx_cb.C (getPossibleLabel): parlist simplification
4949 * BufferView.C (ChangeInsets): simplify slightly.
4951 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4953 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4954 * lfuns.h: new LFUN_SPACE
4955 * lyxfunc.C: protected space has a new lfun
4956 * paragraph_funcs.C: read new space insets
4958 * factory.C: handle new space insets
4960 2003-05-22 André Pönitz <poenitz@gmx.net>
4963 * BufferView_pimpl.C:
4966 * undo_funcs.C: return a ParIterator from getParFromID.
4968 * iterators.[Ch]: add two const's
4970 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * toc.C (getTocList): adjust
4974 * iterators.[Ch]: rework for parlist
4976 * buffer.C (par_iterator_begin): adjust
4977 (par_iterator_end): adjust
4979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4981 * BufferView.C (removeAutoInsets): adjust
4982 (ChangeInsets): adjust
4984 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4986 * text.C (top_y): fix bug 1110
4988 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4990 * errorlist.[Ch]: added
4993 * BufferView_pimpl.C:
4994 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4997 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * Makefile.am: ensure that lyx is relinked upon changes to the
5000 various "convenience" libs.
5002 2003-05-20 Angus Leeming <leeming@lyx.org>
5004 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5005 files are compiled in alphabetical order again.
5007 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5009 2003-05-19 Angus Leeming <leeming@lyx.org>
5011 * gettext.[Ch]: remove "char const * _(char const *)".
5013 2003-05-19 André Pönitz <poenitz@gmx.net>
5015 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5024 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5026 2003-05-19 André Pönitz <poenitz@gmx.net>
5030 * lyxtextclass.[Ch]:
5032 * paragraph_funcs.[Ch]:
5034 * text3.C: more insetenv work
5036 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5038 * ParagraphParameters.C (params2string): small bug fixed
5040 2003-05-16 André Pönitz <poenitz@gmx.net>
5043 * bufferview_funcs.C: patch from Kornel Benko to prevent
5044 crash when _(...) is called twice in a statement
5046 2003-05-16 André Pönitz <poenitz@gmx.net>
5053 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5055 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5057 * lyx_main.C (init): remove spurious static_cast
5059 2003-05-14 André Pönitz <poenitz@gmx.net>
5061 * BufferView.C: fix format string
5063 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5065 * BufferView.[Ch] (insertErrors): removed
5066 * BufferView.[Ch] (showErrorList): added
5067 * buffer.C (runChkTeX):
5068 * converter.C (scanLog): call showErrorList instead of inserterrors
5070 2003-05-13 André Pönitz <poenitz@gmx.net>
5072 * BufferView_pimpl.C:
5074 * bufferview_func.C:
5081 * tabular_funcs.h: tostr() from its own header
5083 * ParagraphParameters.C:
5088 * text3.C: STRCONV()
5090 2003-05-12 André Pönitz <poenitz@gmx.net>
5093 * BufferView_pimpl.C:
5097 * ParagraphParameters.C:
5101 * bufferview_funcs.C:
5114 * paragraph_funcs.C:
5118 * text3.C: boost::format -> bformat all over the place
5121 2003-05-09 André Pönitz <poenitz@gmx.net>
5123 * LColor.[Ch]: Pimpl the #include <map> away
5125 2003-05-09 John Levon <levon@movementarian.org>
5127 * bufferlist.C: never remove emergency saves
5129 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * Makefile.am: better lib building
5133 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5137 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5138 (simpleTeXSpecialChars): adjust
5139 (simpleTeXSpecialChars): adjust
5140 * paragraph.C (simpleTeXOnePar): adjust
5141 * buffer.C (makeLaTeXFile): adjust
5143 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5145 * text2.C (changeDepth): parlist cleanup
5146 (getColumnNearX): ditto
5148 * rowpainter.C (getLabelFont): parlist cleanup
5150 * bufferlist.C (newFile): parlist cleanup
5152 * CutAndPaste.C (eraseSelection): parlist cleanup
5154 * BufferView_pimpl.C (trackChanges): parlist cleanup
5157 * BufferView.C (lockInset): parlist cleanup.
5158 (ChangeInsets): ditto
5160 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * CutAndPaste.h: Update file header.
5164 * CutAndPaste.C: Update file header.
5165 Store the parts cut out of the Document in a limited_stack.
5166 (copySelection): adjust
5167 (pasteSelection): new function, takes the index in the limited stack.
5168 (nrOfParagraphs): adjust
5169 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5170 simplify error inset insertion.
5171 (checkPastePossible): adjust
5173 2003-05-06 John Levon <levon@movementarian.org>
5175 * text2.C: don't cast wrap inset to float
5177 2003-05-05 André Pönitz <poenitz@gmx.net>
5180 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5182 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5183 few naked Paragraph *.
5185 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5187 * bufferparams.C: Output warning if a document with missing
5188 TeX document class is loaded
5189 * exporter.C: Disable TeX exports if the document class is missing
5192 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5193 isTeXClassAvailable()
5195 2003-05-03 John Levon <levon@movementarian.org>
5198 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5199 explicit cursor show/hide
5201 * BufferView_pimpl.h:
5202 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5203 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5205 * lyxfunc.C: hide cursor before dispatching.
5210 * text3.C: remove explicit cursor hides
5212 2003-05-02 André Pönitz <poenitz@gmx.net>
5214 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5217 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5220 * text2.C: tiny whitespace
5222 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * undo_funcs.C: almost only ws changes.
5226 * ParagraphList.C (splice): just return if pl is empty.
5228 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * ParagraphList.C (splice): new function.
5232 * CutAndPaste.C (pasteSelection): use it
5234 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5236 * CutAndPaste.C (pasteSelection): remove the last next and
5237 previous from this file.
5239 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * CutAndPaste.C (pasteSelection): more clean up, user proper
5242 ParagraphList functions for pasteing.
5244 * ParagraphList.C (insert): new function, three arg insert
5246 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * ParagraphList.C (insert): new function, three arg insert
5250 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5257 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5261 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5264 (copySelection): clean up a bit.
5265 (pasteSelection): use make_pair
5267 * ParagraphList.C (ParagraphList): implement copy constructor
5268 (operator=): implement, base on copy constructor.
5271 * paragraph.C (erase): return a bool
5273 * paragraph_pimpl.C (erasePos): remove function, move contents...
5274 (erase): ... here. Return a bool.
5275 (erase): call erase instead of erasePos.
5277 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5279 * ParagraphList.h: define PitPosPair
5280 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5281 ParagraphList, fix a bug on pasting multiple pars
5282 * text2.C: change interface to C&P
5284 2003-04-30 André Pönitz <poenitz@gmx.net>
5286 * undo_func.C: revert part of yesterday's patch 2
5288 2003-04-30 John Levon <levon@movementarian.org>
5290 * LColor.C: s/tabular/table/
5292 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * text3.C (dispatch): do not convert iterator -> pointer
5295 * undo_funcs.C (setCursorParUndo): ditto
5296 * text_funcs.C (transposeChars): ditto
5298 * text2.C (setLayout): ws changes only
5300 * text.C (breakParagraph): do not convert iterator -> pointer
5302 (acceptChange): ditto
5303 (rejectChange): ditto
5308 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5311 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5313 * text3.C (gotoInset): YABG (yet another bad getChar)
5315 2003-04-29 André Pönitz <poenitz@gmx.net>
5317 * paragraph.h: make operator= private unimplemented as long as
5320 * ParagraphList.C: whitespace
5323 * paragraph_pimpl.[Ch]:
5324 * paragraph_funcs.C:
5326 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5329 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5331 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5333 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5334 * paragraph.[Ch] (erase):
5335 * paragraph_pimpl.[Ch] (erase): change return type and value
5336 * text2.C (cutSelection): some rework
5338 2003-04-28 John Levon <levon@movementarian.org>
5340 * bufferlist.C: changes for unsaved changes dialog
5342 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5344 * bufferlist.C (newFile): set language (messages_) for new
5347 * buffer.C (readFile): ws changes only.
5349 2003-04-28 André Pönitz <poenitz@gmx.net>
5354 * BufferView_pimpl.C:
5355 * BufferView.C: getParFromID related ParagraphList::iterator changes
5357 2003-04-28 André Pönitz <poenitz@gmx.net>
5359 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5362 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * messages.C: remove one more localedir class variable.
5366 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * messages.C (getLocaleDir): singleton generation function
5370 (Messages): add a default constructor.
5372 * main.C (main): do not setup localedir here, do not call
5375 * gettext.C (_): use it.
5376 (gettext_init): delete funciton
5378 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * gettext.C (getLyXMessages): new singleton generating function.
5382 * buffer.C (updateDocLang): adjust
5384 * Makefile.am (messages.o): add target
5385 (main.o): remove target
5387 2003-04-27 John Levon <levon@movementarian.org>
5392 * lyxvc.C: specify cancel button in Alert::prompt
5394 2003-04-26 John Levon <levon@movementarian.org>
5399 * LyXAction.C: add LFUN_INSET_SETTINGS
5401 * lyxfunc.C: don't enable tabular-feature when there's
5402 just any locking inset
5404 2003-04-26 John Levon <levon@movementarian.org>
5406 * bufferlist.C: re-add Cancel to buffer close question
5408 * lyxfunc.C: fix import UI a bit
5410 2003-04-25 John Levon <levon@movementarian.org>
5412 * gettext.C: remove the broken asserts for now
5414 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * messages.C: make case where setlocale cannot comply work better.
5418 * buffer.C (updateDocLang): new function
5419 (changeLanguage): use it
5422 * text2.C (setCounter): use B_ a bit.
5424 * lyxlayout.C (Read): be sure to trim the label strings.
5426 * messages.C (Messages): fix typo in comment
5428 * buffer.C (readFile): set message_ after file is loaded.
5429 (makeDocBookFile): remove double return
5430 (changeLanguage): reset message_ upon language change.
5431 (B_): new func, use this to get translated buffer strings.
5433 * main.C: add myself and Jean Marc as authors.
5435 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * messages.[hC]: pimplify Messages, and three different pimpls to be
5438 used in different circumstances.
5440 * gettext.[Ch]: change for use with new message code.
5442 2003-04-24 André Pönitz <poenitz@gmx.net>
5444 * factory.C: support for eqref
5446 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * messages.[Ch]: add missing char
5450 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5452 * messages.[Ch]: New files
5454 2003-04-18 John Levon <levon@movementarian.org>
5458 * BufferView_pimpl.C:
5462 * text2.C: remove layout-copy/paste (bug 778)
5464 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5466 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5468 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5470 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5471 if they succeed. Act accordingly.
5473 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * text2.C (setCharFont): adjust
5476 (setCounter): adjust
5477 (insertStringAsLines): adjust
5479 * text.C (leftMargin): adjust
5480 (setHeightOfRow): adjust
5482 * rowpainter.C (paintFirst): adjust
5485 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5487 (isFirstInSequence): ditto
5488 (getEndLabel): ditto
5491 * paragraph.C (getParLanguage): comment out some hard stuff.
5493 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5495 (simpleDocBookOnePar): ditto
5496 (makeDocBookFile): use ParagraphList::iterator
5498 * CutAndPaste.C (pasteSelection): adjust
5500 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5502 * text2.C (getFont): adjust
5503 (getLayoutFont): adjust
5504 (getLabelFont): adjust
5506 * paragraph_funcs.C (TeXOnePar): adjust
5508 * buffer.C (simpleLinuxDocOnePar): adjust
5509 (simpleDocBookOnePar): adjust
5511 * CutAndPaste.C (pasteSelection): adjust
5513 * BufferView.C (getEncoding): adjust
5515 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5517 2003-04-16 John Levon <levon@movementarian.org>
5519 * lyxfind.C: use parlist stuff for search/changes
5521 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5525 * text2.C (deleteEmptyParagraphMechanism): adjust
5527 * text2.[Ch] (ownerParagraph): delete func (both of them
5529 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5533 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * ParagraphList.C: prepare for NO_NEXT
5537 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * text2.C (getFont): adjust
5540 (getLayoutFont): adjust
5541 (getLabelFont): adjust
5543 * paragraph.C (getFont): adjust
5544 (getLabelFont): adjust
5545 (getLayoutFont): adjust
5547 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5549 2003-04-15 John Levon <levon@movementarian.org>
5553 * lyx_main.C: handle Include in .ui files
5555 2003-04-15 John Levon <levon@movementarian.org>
5557 * MenuBackend.C: make the doc files length shorter
5560 * ToolbarBackend.C: handle toolbar placement flags,
5563 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5568 * paragraph_funcs.C (TeXOnePar): adjust
5570 * paragraph.C (getLabelFont): add outerfont arg, adjust
5571 (getLayoutFont): ditto
5572 (simpleTeXOnePar): adjust
5574 * paragraph_pimpl.C (realizeFont): delete func
5576 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5578 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5579 row argument, constify cur argument.
5581 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * text2.C (getFont): adjust
5584 (getLayoutFont): adjust
5585 (getLabelFont): adjust
5587 * paragraph_funcs.C (TeXOnePar): adjust
5588 (outerFont): new func...
5589 (realizeFont): ...moved out from here, changed this to facilitate
5592 * paragraph.C (getFont): take outerfont as arg, adjust
5593 (simpleTeXOnePar): add outerfont arg, adjust
5595 * buffer.C (simpleLinuxDocOnePar): adjust
5596 (simpleDocBookOnePar): adjust
5598 * CutAndPaste.C (pasteSelection): adjust
5600 * BufferView.C (getEncoding): adjust
5602 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * text2.C (setCharFont): adjust
5605 (setCounter): adjust
5607 * text.C (leftMargin): adjust
5608 (setHeightOfRow): adjust
5610 * rowpainter.C (paintFirst): adjust
5613 * paragraph_pimpl.C (realizeFont): adjust
5615 * paragraph.C (isFirstInSequence): move from here...
5616 * paragraph_funcs.C (isFirstInSequence): ...to here
5618 * paragraph.C (outerHook): move from here...
5619 * paragraph_funcs.C (outerHook): ...to here
5621 * paragraph.C (depthHook): move from here...
5622 * paragraph_funcs.C (depthHook): ...to here
5624 * paragraph.C (getEndLabel): move from here...
5625 * paragraph_funcs.C (getEndLabel): ...to here
5627 * text2.C (realizeFont): move from here...
5628 * paragraph_funcs.C (realizeFont): ...to here
5630 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5634 2003-04-14 Angus Leeming <leeming@lyx.org>
5636 * LColor.[Ch]: scrap LColor mathcursor.
5638 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * lyxlex.[Ch] (text): delete function
5641 * trans.C (Load): adjust
5642 * paragraph_funcs.C (readParToken): adjust
5644 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5647 vector<char> instead of a char[].
5649 * lyxlex_pimpl.C (getString): adjust
5651 (lex): use getString
5655 * lyxlex.C (text): use pimpl_->getString()
5659 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5662 (makeFontEntriesLayoutSpecific): temp var for par.size()
5663 (setLayout): temp var for ownerParagraphs().end()
5664 (fullRebreak): temp var for rows().end()
5665 (selectionAsString): temp var for boost::next(startpit), realize
5666 that the while really is a regular for loop.
5667 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5668 setCursor in one place.
5669 (setParagraph): temp vr for ownerParagraphs().end()
5670 (updateCounters): make the while loop a for loop
5671 (cutSelection): temp var for ownerParagraphs().end()
5672 (updateInset): make the do {} while() a regular for loop
5673 (getCursorX): use temp vars
5674 (setCurrentFont): use temp vars
5675 (getColumnNearX): use temp vars
5677 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * text.C (transformChar): use temp var for getChar
5680 (computeBidiTables): use temp var for row->par()
5681 (fill): move temp vars for row->par() and pit->layout() earlier in
5683 (labelFill): use temp var for row->par()
5684 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5685 asc and desc, realize that pit never changes and that firstpit is
5686 just a duplicate and not needed. Exchange rit->par() with pit in a
5688 (breakAgain): use a temp var for boost::next(rit)
5689 (breakAgainOneRow): ditto
5690 (breakParagraph): use a temp var for rows().begin()
5691 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5692 (cursorRightOneWord): use temp var for cursor.par() and
5693 cursor.pos(), remove usage of tmpcursor.
5694 (cursorLeftOneWord): use temp var for cursor.par() and
5695 cursor.pos() only set cur at end of function.
5697 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5699 * text.C, text2.C: exchange all usage of Paragraph::next with
5700 boost::next(ParagraphList::iterator)
5702 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5704 * text2.C (cursorTop): simplify implementation
5705 (cursorBottom): ditto
5706 (setParagraph): use ParagraphList::iterator
5707 (setCurrentFont): adjust
5708 (getColumnNearX): adjust
5709 (cursorRight): adjust
5710 (cursorLeft): remove usage of Paragraph::previous
5711 (cursorUpParagraph): ditto
5712 (deleteEmptyParagraphMechanism): slight cleanup
5714 * text.C (isBoundary): take a Paragraph const & instead of a
5716 (addressBreakPoint): ditto
5717 (leftMargin): remove usage of Paragraph::previous.
5718 (setHeightOfRow): ditto
5719 (cursorLeftOneWord): ditto
5720 (selectNextWordToSpellcheck): ditto
5723 (breakParagraph): remove one usage of Paragraph::next
5724 (redoParagraph): ditto
5725 (acceptChange): ditto
5726 (insertChar): adjust
5727 (rowBreakPoint): adjust
5729 * bufferview_funcs.C (toggleAndShow): adjust
5731 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5733 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5734 methods to access it.
5736 * text.C: Added updateRowPositions to compute all row positions.
5737 Make top_y and getRowNearY() to use the cached y position
5739 2003-04-11 John Levon <levon@movementarian.org>
5741 * text.C (rowBreakPoint): reintroduce the labelEnd
5742 checks, code copied from the row fill stuff. Deep voodoo.
5744 * text.C (fill): add a comment and debugging for the
5747 2003-04-11 John Levon <levon@movementarian.org>
5749 * text.C: make sure fullrow insets get wrapped to the next line,
5750 even when they're in a manual label
5752 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * text2.C (insertParagraph): make it take ParagraphList::iterator
5756 (setLayout): make it return ParagraphList::iterator
5757 (redoParagraphs): ditto
5759 (checkParagraph): ditto
5761 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5763 * text2.C: adjust several funcs.
5764 (realizeFont): take a ParagraphList::iterator as arg.
5765 (getLayoutFont): ditto
5766 (getLabelFont): ditto
5767 (setCharFont): ditto
5769 * text.C: adjust several funcs.
5771 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5773 * text.C (selectNextWordToSpellcheck): don't accidentally
5776 2003-04-10 John Levon <levon@movementarian.org>
5778 * ToolbarBackend.C (getIcon): special handling for
5781 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5783 * text2.C (cursorRight): a getChar assert fixed
5785 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * text2.C (getFont): change to take a ParagraphList::iterator
5788 instead of Paragraph*
5789 Adjust several functions.
5791 * text.C (transformChar): change to take a ParagraphList::iterator
5792 instead of Paragraph*
5793 (singleWidth): ditto
5794 Adjust several functions.
5796 * rowpainter.C: adjust several functions
5797 * rowpainter.h:store a ParagraphList::iterator and not a
5801 2003-04-09 John Levon <levon@movementarian.org>
5806 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5807 and the "help" bits as well
5809 2003-04-09 John Levon <levon@movementarian.org>
5812 * ToolbarBackend.C: allow multiple toolbars
5814 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5816 * undo_funcs.C (setCursorParUndo): adjust
5818 * text_funcs.C (transposeChars): adjust
5820 * text3.C (gotoNextInset): adjust
5823 * text2.C (setLayout): adjust
5824 (changeDepth): adjust
5826 (redoParagraphs): adjust
5827 (selectionAsString): adjust
5828 (setParagraph): adjust
5829 (insertInset): adjust
5830 (cutSelection): adjust
5831 (copySelection): adjust
5832 (pasteSelection): adjust
5833 (insertStringAsLines): adjust
5834 (updateInset): adjust
5835 (setCursor): change to take a ParagraphList::iterator parameter
5836 (setCursorIntern): change to take a ParagraphList::iterator parameter
5837 (setCurrentFont): adjust
5838 (cursorLeft): adjust
5839 (cursorRight): adjust
5840 (deleteEmptyParagraphMechanism): adjust
5842 * text.C (breakParagraph): adjust
5843 (insertChar): adjust
5844 (acceptChange): adjust
5845 (rejectChange): adjust
5846 (selectNextWordToSpellcheck): adjust
5847 (changeCase): adjust
5851 * lyxfind.C (SearchForward): adjust
5852 (SearchBackward): adjust
5853 (nextChange): adjust
5855 * lyxcursor.C (par): adjust
5857 * lyxcursor.h: store a ParagraphList::iterator instead of a
5860 * lyx_cb.C (getPossibleLabel): adjust
5862 * bufferview_funcs.C (toggleAndShow): adjust
5864 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5867 * BufferView.C (removeAutoInsets): adjust
5868 (lockedInsetStoreUndo): adjust
5870 2003-04-09 John Levon <levon@movementarian.org>
5872 * ToolbarBackend.C: try icon without argument
5873 if with argument fails
5875 2003-04-08 John Levon <levon@movementarian.org>
5878 * ToolbarBackend.C: add getIcon(), handle tooltip,
5879 and change from "Icon" to "Item".
5881 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5883 * BufferView.C (lockInset): another bad getchar crunched
5885 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5887 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5890 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5892 * lyxfind.C (searchForward, searchBackwards): bug 782
5894 2003-04-07 John Levon <levon@movementarian.org>
5896 * paragraph.C: remove dead comment
5898 * text.C: remove troublesome depth-fiddling code
5899 in leftMargin() and rightMargin() (bug 1017)
5901 * text.C: fix breaking of rows in nested lists
5904 * text2.C (updateCounters): fix up depth values
5907 2003-04-07 John Levon <levon@movementarian.org>
5909 * BufferView_pimpl.C: clear message when doc finishes resizing,
5910 and after a mouse event
5912 * lyxfunc.C: clear message after exiting inset
5914 2003-04-07 John Levon <levon@movementarian.org>
5916 * bufferview_funcs.C: show math status not outside
5917 status in the statusbar
5919 2003-04-07 John Levon <levon@movementarian.org>
5921 * lyxfunc.C: note status changed after a depth change
5923 2003-04-04 Angus Leeming <leeming@lyx.org>
5925 * LaTeX.h: move AuxInfo operator==, != out of line.
5926 Remove LaTeX virtual destructor; nothing derives from it.
5927 Move operator()() out of public area and rename it startscript().
5928 Change protected for private.
5930 2003-04-04 Angus Leeming <leeming@lyx.org>
5933 * text2.C: remove unneeded #includes.
5935 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5937 * text2.C (dEPM): fix the heigth of the next row
5939 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5941 * text.C: squashed an invalid getChar requester + some ws changes
5943 2003-04-03 John Levon <levon@movementarian.org>
5945 * bufferview_funcs.h:
5946 * bufferview_funcs.C:
5949 * text2.C: make getStatus work for the env depth lfuns
5951 2003-04-03 John Levon <levon@movementarian.org>
5953 * bufferview_funcs.h:
5954 * bufferview_funcs.C:
5957 * text2.C: parlistize decDepth(), by merging it with incDepth()
5959 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * lyxrow.h: store a ParagraphList::iterator instead of a
5962 Paragraph* and adjust other class functions to suit.
5964 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5967 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5969 * text2.C (setCursor): do not anchor to cursor row for the time being
5971 2003-04-02 John Levon <levon@movementarian.org>
5978 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5980 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * paragraph.h: make ParagraphList and ParagraphList::iterator
5983 friends of Paragraph.
5985 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5987 * ParagraphList.C: Use the private next_ and previous_ from
5990 2003-04-01 John Levon <levon@movementarian.org>
5994 * Makefile.am: rename, remove defaults gunk
5997 * MenuBackend.C: remove defaults gunk
6000 * Languages.C: remove defaults gunk
6003 * lyx_main.C: error out if files couldn't be found.
6005 2003-04-02 John Levon <levon@movementarian.org>
6007 * text2.C: make incDepth() use parlist
6009 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6011 * undo_funcs.C (firstUndoParagraph): adjust
6013 * text3.C (gotoInset): adjust
6014 (dispatch): adjust, and rewrite loop.
6016 * text2.C (init): adjust, and rewrite loop.
6017 (redoParagraphs): adjust
6018 (updateInset): adjust, and rewrite loop.
6019 (deleteEmptyParagraphMechanism): adjust
6021 * tabular.C (LyXTabular): adjust
6022 (SetMultiColumn): adjust
6025 * lyxtext.[Ch] (ownerParagraph): delete function
6026 (ownerParagraphs): new function returns a ParagraphList.
6028 * BufferView.C (removeAutoInsets): adjust
6029 (insertErrors): adjust
6030 (setCursorFromRow): adjust
6032 2003-04-01 Angus Leeming <leeming@lyx.org>
6034 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6037 2003-04-02 John Levon <levon@movementarian.org>
6043 * text_funcs.C: make transposeChars a free function
6045 * lyxrow_funcs.C: remove wrong comment
6047 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * rowpainter.C: adjust
6055 * lyxrow_funcs. [Ch]: new files
6057 * lyxrow.[Ch]: remove next and previous pointers
6058 (next,previous): remove accessor functions
6059 (isParEnd): move to lyxrow_funcs
6060 (lastPos): move to lyxrow_funcs
6061 (nextRowIsAllInset): move to lyxrow_funcs
6062 (lastPrintablePos): move to lyxrow_funcs
6063 (numberOfSeparators): move to lyxrow_funcs
6064 (numberOfHfills): move to lyxrow_funcs
6065 (numberOfLabelHfills): move to lyxrow_funcs
6066 (hfillExpansion): move to lyxrow_funcs
6070 * bufferview_funcs.C (toggleAndShow): adjust
6072 * RowList.h: Remove class RowList from file leave just a
6075 * RowList.C: delete file
6077 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6080 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * text3.C (cursorPrevious): adjust
6083 (cursorNext): adjust
6086 * text2.C (redoHeightOfParagraph): adjust
6087 (redoDrawingOfParagraph): adjust
6090 * text.C (breakParagraph): adjust
6091 (insertChar): adjust
6094 * rowpainter.C (RowPainter): adjust
6095 (leftMargin): simplify and adjust
6096 (most rowpainter functions): adjust.
6098 * rowpainter.h: store the row as RowList::iterator not as Row*
6100 * lyxcursor.C (row): taka RowList::iterator as arg
6103 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6106 2003-04-01 Angus Leeming <leeming@lyx.org>
6108 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6109 stuff like bool Bool.
6111 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6113 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6116 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6121 * lyxtext.h (rows): drop one version and leve a const variant that
6122 returns a RowList::iterator.
6124 2003-03-31 Angus Leeming <leeming@lyx.org>
6126 * text.C (fill): ensure that the signature is the same as that in the
6129 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * text2.C (redoParagraphs): adjust
6132 (updateCounters): adjust
6133 (checkParagraph): adjust
6134 (getColumnNearX): adjust and reformat a bit.
6136 * text.C (top_y): adjust
6138 (leftMargin): adjust
6139 (prepareToPrint): adjust
6141 (getRowNearY): adjust
6143 * lyxtext.h: make rowlist_ mutable.
6145 * RowList.h: add const_iterator
6146 * RowList.C: adjust for RowList::const_iterator.
6148 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6151 2003-03-31 John Levon <levon@movementarian.org>
6154 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6156 * lyx_main.C: set default fonts from using lyx_gui funcs
6158 * exporter.C: pdf_mode moved from lyxrc
6161 * lyxfunc.C: changes from above
6163 2003-03-31 John Levon <levon@movementarian.org>
6165 * lyx_main.C: fix to the last fix
6167 2003-03-31 John Levon <levon@movementarian.org>
6169 * bufferlist.C: "Load original" -> "Load Original"
6175 * format.C: more Alert cleanups
6177 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * text2.C (removeParagraph): make it take a RowList::iterator as
6181 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6182 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6184 * text.C (anchor_row): make it take a RowList::iterator as arg,
6186 (computeBidiTables): make it take a const reference to Row instead
6187 of Row pointer, adjust.
6188 (leftMargin): make it take a RowList::iterator as arg, adjust.
6189 (rowBreakPoint): adjust
6190 (breakAgainOneRow): make it take a RowList::iterator as arg,
6192 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6194 * bufferview_funcs.C (toggleAndShow): adjust
6196 2003-03-30 John Levon <levon@movementarian.org>
6200 * boost-inst.C: moved to support
6202 * several files: changes as a result
6204 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * text2.C (LyXText): adjust.
6208 (removeRow): make it take a RowList::iterator as arg, adjust.
6209 (fullRebreak): adjust
6210 (deleteEmptyParagraphMechanism): adjust
6211 (clearPaint): adjust
6214 * text.C (top_y): adjust
6215 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6216 (breakAgain): make it take a RowList::iterator as arg, adjust.
6217 (breakParagraph): adjust
6218 (insertChar): adjust
6221 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6222 need_break_row, and refresh_row.
6224 * text3.C (dispatch): adjust
6226 * text2.C (checkParagraph): adjust
6228 (setCursorFromCoordinates): adjust
6230 * text.C (top_y): adjust
6232 (getRow): make it return a RowList::iterator, adjust
6233 (getRowNearY): make it return a RowList::iterator, adjust
6235 * text2.C (init): adjust
6236 (insertRow): remove function
6237 (insertParagraph): adjust
6238 (redoParagraphs): adjust
6239 (fullRebreak): adjust
6240 (updateCounters): adjust
6242 * text.C (top_y): rewrite to use RowList iterators.
6244 (setHeightOfRow): rewrite to sue RowList iterators.
6245 (appendParagraph): adjust
6246 (breakAgain): adjust
6247 (breakAgainOneRow): adjust
6248 (breakParagraph): adjust
6250 (getRowNearY): adjust, and remove commented code.
6252 * lyxtext.h (firstRow): delete function
6253 (lastRow): delete function
6254 (rows): new function (const and non-const versions.)
6255 (insertRow): delete function
6257 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6259 2003-03-29 John Levon <levon@movementarian.org>
6261 * BufferView_pimpl.C: always update scrollbar top
6262 because pasting text when we're anchored could mean we
6263 miss an update altogether
6265 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * text2.C (init): use rowlist_.end() and not 0.
6268 (insertRow): change to take a RowList::iterator as arg, adjust
6270 (insertParagraph): change to take a RowList::iterator as arg,
6272 (redoParagraphs): remove some debug msgs.
6274 * text.C (appendParagraph): change to take a RowList::iterator
6275 arg, adjust for this.
6276 (breakAgain): add an assert
6277 (breakAgainOneRow): ditto
6279 2003-03-29 John Levon <levon@movementarian.org>
6281 * text2.C: do not clear selection after inc/decDepth
6284 2003-03-29 John Levon <levon@movementarian.org>
6287 * buffer.C: fix broken strerrors according to Lars
6289 2003-03-29 John Levon <levon@movementarian.org>
6291 * converters.C: more Alert cleanups
6293 2003-03-29 John Levon <levon@movementarian.org>
6295 * bufferview_funcs.C: remove pointless Alert
6297 * buffer.C: fix confusing error message when
6298 a template is chmoded 000
6300 2003-03-29 John Levon <levon@movementarian.org>
6304 * BufferView_pimpl.C: Alert fixes
6308 * tabular-old.C: remove unused table compat reading
6310 2003-03-29 John Levon <levon@movementarian.org>
6315 * lyx_cb.C: more Alert cleanups
6317 * lyxfunc.C: don't allow chktex if not latex document
6319 2003-03-29 John Levon <levon@movementarian.org>
6323 * buffer.C: warnings pushed down from support/,
6326 2003-03-29 John Levon <levon@movementarian.org>
6328 * lyxfunc.C: safety check for C-r (revert)
6330 2003-03-29 John Levon <levon@movementarian.org>
6333 * bufferlist.C: several UI fixes using Alert::prompt.
6334 Fix the pointless looping quit code. Fix stupid revert
6339 * lyx_cb.C: use Alert::prompt
6341 * lyx_main.C: remove a silly question
6343 * lyxfunc.C: remove a couple of silly questions,
6346 2003-03-28 John Levon <levon@movementarian.org>
6348 * text2.C: fix bug 974 (End on empty par)
6350 2003-03-28 John Levon <levon@movementarian.org>
6352 * BufferView_pimpl.C:
6354 * lfuns.h: remove do-nothing math greek lfuns
6356 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6358 * lyxgluelength.h (isValidGlueLength): add default arg on
6359 parameter 2. Remove default arg from friend in class.
6361 * lyxlength.h (isValidLength): add default arg on parameter 2.
6362 Remove default arg from friend in class.
6364 * text2.C (LyXText): adjust, initialize refresh_row.
6368 (insertParagraph): adjst
6369 (redoParagraphs): adjust
6370 (fullRebreak): adjust
6371 (updateCounters): adjust
6372 (deleteEmptyParagraphMechanism): first attempt at fixing a
6375 * text.C (top_y): adjust
6376 (setHeightOfRow): adjust
6378 (getRowNearY): adjust
6380 * lyxtext.h: include RowList.h
6381 (~LyXText): not needed anymore, deleted.
6382 (firstRow): modify for RowList
6383 (lastRow): new function
6384 Delete firstrow and lastrow class variables, add a Rowlist
6385 rowlist_ class variable.
6387 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6390 * RowList.C (insert): fix case where it == begin().
6392 2003-03-26 Angus Leeming <leeming@lyx.org>
6394 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6395 the thesaurus dialog.
6397 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6401 * RowList.[Ch]: new files
6403 * ParagraphList.C (erase): handle the case where it == begin
6406 2003-03-25 John Levon <levon@movementarian.org>
6410 * aspell.C: add new aspell support
6413 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6416 2003-03-25 Angus Leeming <leeming@lyx.org>
6419 * LyXAction.C (init): new LFUN_INSET_INSERT.
6421 * BufferView_pimpl.C (dispatch): split out part of the
6422 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6424 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6427 2003-03-25 Angus Leeming <leeming@lyx.org>
6429 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6431 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6434 * text3.C: remove useless row->height(0)
6436 2003-03-25 John Levon <levon@movementarian.org>
6440 * text3.C: rename the refreshing stuff to better names
6442 2003-03-24 John Levon <levon@movementarian.org>
6444 * BufferView_pimpl.h:
6445 * BufferView_pimpl.C: update layout choice on a mouse
6448 2003-03-23 John Levon <levon@movementarian.org>
6450 * Makefile.am: fix commandtags.h reference
6452 2003-03-22 John Levon <levon@movementarian.org>
6454 * BufferView_pimpl.C:
6459 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6461 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6464 * text.C: take the rtl methods out of line
6466 2003-03-21 André Pönitz <poenitz@gmx.net>
6468 * metricsinfo.[Ch]: new files containing structures to be passed around
6469 during the two-phase-drawing...
6471 2003-03-21 André Pönitz <poenitz@gmx.net>
6473 * lyxtextclass.C: read 'environment' tag.
6475 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6477 * text2.C (removeRow): fix bug 964
6479 2003-03-20 John Levon <levon@movementarian.org>
6483 * text2.C: paint cleanups. Inset::update() dropped font
6486 2003-03-19 John Levon <levon@movementarian.org>
6488 * lyxfunc.C: only fitcursor/markDirty if available()
6490 2003-03-19 John Levon <levon@movementarian.org>
6492 * commandtags.h: rename to ...
6494 * lfuns.h: ... this, and renumber / cleanup
6496 2003-03-19 John Levon <levon@movementarian.org>
6498 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6499 fit the cursor after an lfun
6503 * BufferView_pimpl.h:
6504 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6506 * LyXAction.C: layout-character should have ReadOnly
6508 * ParagraphParameters.C:
6510 * bufferview_funcs.C:
6517 * undo_funcs.C: changes from above
6519 2003-03-18 John Levon <levon@movementarian.org>
6521 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6522 remove it from update()
6524 * lyxfunc.C: update layout choice after an lfun
6526 * text3.C: remove extra updateLayoutChoice()s
6528 2003-03-18 John Levon <levon@movementarian.org>
6530 * text.C: top_y change means full repaint, fix
6531 a drawing bug with cursor movement
6533 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6537 * text2.C: anchor row on setCursor
6539 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6541 * lyxtext.h: remove almost all mutable keywords
6544 * text3.C: remove const keywords accordingly
6546 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6550 (TeXEnvironment): ditto
6553 2003-03-17 John Levon <levon@movementarian.org>
6555 * text.C (rowBreakPoint): remove attempt to fix displayed
6556 math insets inside a manual label
6558 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * lyxtext.h: remove BufferView* as first arg from almost all class
6562 * other files: adjust.
6564 2003-03-17 John Levon <levon@movementarian.org>
6568 * text2.C: more paint cleanups
6570 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6573 * rowpainter.C: remove "smart" background painting code
6575 2003-03-16 John Levon <levon@movementarian.org>
6580 * text3.C: add helper functions for setting refresh_row/y
6582 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6584 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6585 newline inset which *can* get inserted in the pass_thru layouts.
6586 This is primarily for literate documents.
6588 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6590 * buffer.C: increment LYX_FORMAT to 223
6592 2003-03-14 André Pönitz <poenitz@gmx.net>
6594 * textclass.h: prepare for environment handling, ws changes
6595 * lyxlayout.C: read latexheader and latexfooter tags
6597 2003-03-14 John Levon <levon@movementarian.org>
6599 * text2.C: rewrite ::status() a bit
6601 2003-03-13 John Levon <levon@movementarian.org>
6603 * lyxtext.h: add some docs
6605 2003-03-13 John Levon <levon@movementarian.org>
6610 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6612 2003-03-13 John Levon <levon@movementarian.org>
6614 * text3.C: fix appendix redrawing
6616 2003-03-13 John Levon <levon@movementarian.org>
6618 * text.C (setHeightOfRow):
6620 * rowpainter.C: make appendix mark have the text
6621 "Appendix" so the user knows what it is
6624 * LColor.C: s/appendixline/appendix/ from above
6626 2003-03-13 John Levon <levon@movementarian.org>
6628 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6630 * text.C: fix a getChar(pos) bug properly
6632 2003-03-13 Angus Leeming <leeming@lyx.org>
6635 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6636 Probably only temporary. Let's see how things pan out.
6638 * BufferView.C (unlockInset):
6639 * BufferView_pimpl.C (fitCursor):
6640 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6642 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6643 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6645 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6646 new functions that convert ParagraphParameters to and from a string.
6648 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6649 BufferView::Pimpl's dispatch.
6650 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6652 2003-03-13 André Pönitz <poenitz@gmx.net>
6656 * factory.C: make it aware of InsetEnv
6658 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * text2.C (setCursor): never ask for one past last
6661 (setCursor): add some debugging messages.
6663 * text.C (singleWidth): never ask for one past last
6664 (singleWidth): ditto
6666 (rightMargin): ditto
6667 (rowBreakPoint): ditto
6668 (setHeightOfRow): ditto
6669 (prepareToPrint): ditto
6671 * rowpainter.C (paintBackground): never ask for one past last
6672 (paintText): never ask for one past last
6674 * paragraph_pimpl.C (getChar): make the assert stricter, never
6675 allow the one past last pos to be taken
6677 * paragraph.C (getChar): ws changes only
6679 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6680 (numberOfSeparators): ditto
6681 (numberOfHfills): ditto
6683 2003-03-12 John Levon <levon@movementarian.org>
6689 * paragraph_funcs.C: fix per-buffer authorlists
6691 2003-03-12 John Levon <levon@movementarian.org>
6693 * text.C: fix newline in right address
6695 2003-03-12 Angus Leeming <leeming@lyx.org>
6697 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6698 duplicate those in LyXFunc::dispatch.
6702 * ToolbarDefaults.C:
6703 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6704 Add LFUN_FONTFREE_UPDATE.
6706 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6707 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6709 * bufferview_func.[Ch]: several new functions to facilliate
6710 transfer of data to and from the character dialog.
6712 2003-03-12 John Levon <levon@movementarian.org>
6717 * paragraph_funcs.C:
6718 * paragraph_pimpl.C:
6722 * text3.C: remove META_NEWLINE in favour of an inset
6725 * rowpainter.C: remove paintNewline (done by inset)
6727 2003-03-12 John Levon <levon@movementarian.org>
6729 * paragraph_pimpl.C: complain about bad getChar()s
6730 for a while at least
6732 2003-03-12 John Levon <levon@movementarian.org>
6735 * buffer.C: move paragraph read into a separate function,
6736 a little renaming to reflect that.
6739 * bufferparams.C: remove the author_ids map, not necessary now
6742 * factory.C: moved Buffer::readInset to here
6744 * paragraph_funcs.h:
6745 * paragraph_funcs.C: readParagraph free function moved from
6748 * tabular.C: name change
6750 2003-03-12 John Levon <levon@movementarian.org>
6753 * ParagraphParameters.C: move par params input to
6756 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6757 behave like a normal read from the stream wrt reading
6758 a line vs. a \\token
6760 2003-03-12 John Levon <levon@movementarian.org>
6763 * ParagraphParameters.h:
6764 * ParagraphParameters.C: move output code to a
6767 2003-03-12 John Levon <levon@movementarian.org>
6769 * BufferView.C (insertLyXFile):
6772 * tabular.C: use a parlist iterator for creating the
6775 2003-03-12 John Levon <levon@movementarian.org>
6777 * buffer.C: make current_change static local not
6780 2003-03-12 John Levon <levon@movementarian.org>
6782 * buffer.C: fix insertStringAsLines for change tracking
6784 2003-03-12 John Levon <levon@movementarian.org>
6791 * bufferparams.C: move author list into params. Rename some
6792 functions. Move the header reading into a separate token
6793 loop. Move the header token reading into BufferParams.
6795 2003-03-12 John Levon <levon@movementarian.org>
6797 * changes.C: put debug inside lyxerr.debugging() checks
6799 2003-03-11 André Pönitz <poenitz@gmx.net>
6801 * factory.C: make it aware of InsetHFill
6803 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6805 * buffer.C (latexParagraphs): move function from here...
6806 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6809 2003-03-10 Angus Leeming <leeming@lyx.org>
6811 * LyXAction.C (init): fix bug in poplating array with multiple entries
6812 with the same LFUN (spotted by JMarc).
6814 2003-03-10 John Levon <levon@movementarian.org>
6817 * text2.C: move getColumnNearX() near its
6820 2003-03-10 John Levon <levon@movementarian.org>
6822 * text.C: fix break before a minipage
6824 2003-03-10 John Levon <levon@movementarian.org>
6826 * text.C: fix the last commit
6828 2003-03-09 John Levon <levon@movementarian.org>
6832 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6833 bug 365 (don't break before insets unless needed). Don't
6834 return a value > last under any circumstances.
6836 2003-03-09 Angus Leeming <leeming@lyx.org>
6838 * BufferView_pimpl.C (trackChanges, dispatch): call
6839 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6841 2003-03-09 Angus Leeming <leeming@lyx.org>
6843 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6844 than Dialogs::showAboutlyx().
6846 2003-03-09 Angus Leeming <leeming@lyx.org>
6848 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6849 than Dialogs::showTabularCreate().
6851 2003-03-09 John Levon <levon@movementarian.org>
6855 * text2.C: 3rd arg to nextBreakPoint was always the same.
6858 2003-03-08 John Levon <levon@movementarian.org>
6865 * text2.C: Remove the "main" bit from the "main body"
6868 2003-03-08 John Levon <levon@movementarian.org>
6870 * text.C (leftMargin): The left margin of an empty
6871 manual label paragraph should not include the label width
6874 * text.C (prepareToPrint): don't attempt to measure hfills
6875 for empty manual label paragraphs - the answer should be 0
6877 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6879 * CutAndPaste.C: remove commented code and reindent.
6881 2003-03-08 John Levon <levon@movementarian.org>
6884 * lyxfunc.C: move reloadBuffer()
6887 * BufferView.C: to here
6889 * lyxvc.C: add comment
6892 * vc-backend.C: call bv->reload() to avoid
6893 getStatus() check on MENURELOAD
6895 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6897 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6898 to an old format .dep file.
6900 2003-03-07 Angus Leeming <leeming@lyx.org>
6902 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6903 when the LFUN_MOUSE_RELEASE should have been handled by
6904 inset->localDispatch.
6906 2003-03-07 Angus Leeming <leeming@lyx.org>
6908 * BufferView_pimpl.C (dispatch):
6909 * LyXAction.C (init):
6910 * ToolbarDefaults.C (init):
6912 * lyxfunc.C (getStatus):
6913 remove LFUN_INSET_GRAPHICS.
6915 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6917 2003-03-07 Angus Leeming <leeming@lyx.org>
6920 * LyXAction.C (init):
6921 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6923 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6926 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6928 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6929 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6931 2003-03-07 Angus Leeming <leeming@lyx.org>
6933 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6936 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6938 * ParagraphList.C (front): new function
6941 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6943 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6944 and top_row_offset_. removed var first_y.
6946 * text2.C (LyXText, removeRow):
6948 * BufferView_pimpl.C:
6949 use these methods instead of using first_y
6951 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * text2.C (pasteSelection): adjust for checkPastePossible
6955 * CutAndPaste.C: remove Paragraph * buf and replace with
6956 ParagraphList paragraphs.
6957 (DeleteBuffer): delete
6958 (cutSelection): change the tc type to textclass_type
6959 (copySelection): change the tc type to textclass_type
6960 (copySelection): adjust for ParagraphList
6961 (pasteSelection): change the tc type to textclass_type
6962 (pasteSelection): adjust for Paragraphlist
6963 (nrOfParagraphs): simplify for ParagraphList
6964 (checkPastePossible): simplify for ParagraphList
6965 (checkPastePossible): remove unused arg
6967 * ParagraphList.C (insert): handle the case where there are no
6970 * CutAndPaste.h: make CutAndPaste a namespace.
6972 * text3.C (dispatch): adjust
6974 * text.C (breakParagraph): add a ParagraphList as arg
6976 * paragraph_funcs.C (breakParagraph): change to take a
6977 BufferParams and a ParagraphList as args.
6978 (breakParagraphConservative): ditto
6979 (mergeParagraph): ditto
6980 (TeXDeeper): add a ParagraphList arg
6981 (TeXEnvironment): ditto
6984 * buffer.C (readLyXformat2): adjust
6985 (insertStringAsLines): adjust
6986 (latexParagraphs): adjust
6988 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6989 (cutSelection): adjust
6990 (pasteSelection): adjust
6992 * BufferView_pimpl.C (insertInset): adjust
6994 2003-03-05 Angus Leeming <leeming@lyx.org>
6997 * LyXAction.C (init):
6998 * BufferView_pimpl.C (dispatch):
6999 * lyxfunc.C (getStatus):
7000 remove LFUN_CHILD_INSERT.
7002 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7004 2003-03-05 Angus Leeming <leeming@lyx.org>
7007 * LyXAction.C (init):
7008 * src/factory.C (createInset):
7009 * lyxfunc.C (getStatus):
7010 * text3.C (dispatch):
7011 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7013 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7015 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * ParagraphList.C (insert): handle insert right before end()
7018 (erase): fix cases where it can be first or last paragraph.
7020 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7023 Paragraph::next and Paragraph::previous
7026 * text.C (breakParagraph): adjust
7028 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7029 BufferParams& as arg.
7030 (breakParagraph): use ParagraphList::insert
7031 (breakParagraphConservative): take a Buffer* instead of a
7032 BufferParams& as arg.
7033 (breakParagraphConservative): use ParagraphList::insert.
7035 * buffer.C (insertStringAsLines): un-const it
7036 (insertStringAsLines): adjust
7038 * ParagraphList.C (insert): new function
7040 * CutAndPaste.C (pasteSelection): adjust
7042 * text.C (backspace): adjust
7044 * tabular.C (SetMultiColumn): adjust
7046 * CutAndPaste.C (cutSelection): adjust
7047 (pasteSelection): adjust
7049 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7050 Buffer const * as arg
7052 * ParagraphList.C (erase): new function
7053 * paragraph_funcs.C (mergeParagraph): use it
7054 (mergeParagraph): make it take a Buffer* instead of a
7055 BufferParams* as arg
7057 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7059 (breakParagraphConservative): ditto
7061 * paragraph.h: remove the breakParagraph friend
7063 * paragraph.C (eraseIntern): new function
7064 (setChange): new function
7066 * paragraph_funcs.C (mergeParagraph): make it take a
7067 ParagraphList::iterator instead of a Paragraph *, adjust
7070 * paragraph.h: move an #endif so that the change tracking stuff
7071 also works in the NO_NEXT case.
7073 2003-03-04 Angus Leeming <leeming@lyx.org>
7076 * LyXAction.C: new LFUN_INSET_MODIFY.
7078 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7079 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7081 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * several files: ws changes only
7085 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7086 (TeXEnvironment): ditto
7089 * buffer.C (makeLaTeXFile): adjust
7090 (latexParagraphs): make it take ParagraphList::iterator as args
7092 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * buffer.C (latexParagraphs): adjust
7096 * paragraph.C (TeXOnePar): move function...
7097 (optArgInset): move function...
7098 (TeXEnvironment): move function...
7099 * paragraph_pimpl.C (TeXDeeper): move function...
7100 * paragraph_funcs.C: ...here
7102 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7104 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * buffer.C (readInset): remove compability code for old Figure and
7109 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7111 * buffer.C: ws changes
7114 * BufferView_pimpl.C: ditto
7117 * bufferlist.h: ditto
7121 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7123 * converter.[Ch]: split into itself +
7126 * Makefile.am: += graph.[Ch] + format.[Ch]
7133 * lyxrc.C: added #include "format.h"
7135 2003-02-27 Angus Leeming <leeming@lyx.org>
7137 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7140 * factory.C (createInset): add "label" to the factory.
7142 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7143 string and do no more.
7145 2003-02-27 Angus Leeming <leeming@lyx.org>
7148 * LyXAction.C (init):
7149 * factory.C (createInset):
7150 * BufferView_pimpl.C (dispatch):
7151 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7153 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7155 * lyxfunc.C (dispatch):
7156 * text3.C (dispatch): pass name to params2string.
7158 2003-02-26 Angus Leeming <leeming@lyx.org>
7160 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7162 Rearrange the ~includes. Strip out the unnecessary ones.
7164 * factory.C (createInset): reformat.
7165 create new insets for the various LFUN_XYZ_APPLY lfuns.
7167 2003-02-26 John Levon <levon@movementarian.org>
7170 * lyxrow.C: add isParStart,isParEnd helpers
7172 * paragraph.h: make isInserted/DeletedText take refs
7174 * paragraph_funcs.h:
7175 * paragraph_funcs.C: remove #if 0'd code
7180 * text.C: use lyxrow helpers above.
7181 Move draw and paint routines to RowPainter.
7182 Make several methods use refs not pointers.
7183 Make backgroundColor() const.
7184 Add markChangeInDraw(), isInInset().
7185 Merge changeRegionCase into changeCase.
7186 Make workWidth() shouldn't-happen code into an Assert.
7189 * rowpainter.C: new class for painting a row.
7192 * vspace.C: make inPixels take a ref
7194 2003-02-26 Angus Leeming <leeming@lyx.org>
7196 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7199 2003-02-25 John Levon <levon@movementarian.org>
7201 * ispell.C: give the forked command a more accurate name
7203 2003-02-22 John Levon <levon@movementarian.org>
7206 * toc.C: make TocItem store an id not a Paragraph *
7209 2003-02-21 Angus Leeming <leeming@lyx.org>
7211 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7212 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7213 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7214 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7215 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7216 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7218 * BufferView_pimpl.C (dispatch):
7219 * LyXAction.C (init):
7220 * factory.C (createInset):
7221 * lyxfunc.C (getStatus, dispatch):
7222 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7224 2003-02-21 Angus Leeming <leeming@lyx.org>
7226 * BufferView_pimpl.C (MenuInsertLyXFile):
7227 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7228 * lyxfunc.C (menuNew, open, doImport):
7229 no longer pass a LyXView & to fileDlg.
7231 2003-02-21 Angus Leeming <leeming@lyx.org>
7233 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7234 * LyXAction.C: change, BIBKEY to BIBITEM.
7235 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7236 Change InsetBibKey to InsetBibitem.
7237 Change BIBKEY_CODE to BIBITEM_CODE.
7238 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7239 * factory.C: replace insetbib.h with insetbibitem.h.
7240 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7241 * paragraph.C: replace insetbib.h with insetbibitem.h.
7242 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7243 Change bibkey() to bibitem().
7244 * text.C: remove insetbib.h.
7245 * text2.C: replace insetbib.h with insetbibitem.h.
7246 change bibkey() to bibitem().
7247 * text3.C: remove insetbib.h.
7248 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7250 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7252 * lyxrc.C (output): enclose user email in quotes (in case there are
7255 2003-02-18 John Levon <levon@movementarian.org>
7257 * buffer.h: add std::
7259 2003-02-17 John Levon <levon@movementarian.org>
7265 * pspell.C: reworking. Especially in ispell, a large
7266 number of clean ups and bug fixes.
7268 * lyxfunc.C: fix revert to behave sensibly
7270 2003-02-17 André Pönitz <poenitz@gmx.net>
7273 * commandtags.h: new LFUN_INSERT_BIBKEY
7283 * paragraph_func.C: remove special bibkey handling
7285 2003-02-17 John Levon <levon@movementarian.org>
7287 * text.C (Delete): fix case where delete at the end of
7288 the very first paragraph would not merge the pars
7290 2003-02-17 John Levon <levon@movementarian.org>
7292 * lyxrow.C: fix lastPrintablePos()
7294 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7296 * bufferparams.C (writeLaTeX): add a std:here
7298 * buffer.C: and remove a using directive there
7300 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * buffer.C (makeLaTeXFile): move the code that generates the
7305 * bufferparams.C (writeLaTeX): ... in this new method
7307 * LaTeXFeatures.C (getEncodingSet): make const
7308 (getLanguages): make const
7310 * MenuBackend.C (binding): returns the binding associated to this
7312 (add): sets the status of each item by calling getStatus. Adds
7314 (read): add support for OptSubMenu
7315 (expand): remove extra separator at the end of expanded menu
7317 2003-02-15 John Levon <levon@movementarian.org>
7320 * BufferView_pimpl.C:
7322 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7323 inset code that had no actual effect. Remove unneeded status
7326 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7331 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7333 * text.C (drawLengthMarker): also draw an arrow marker for
7334 symbolic lengths (medskip...)
7336 2003-02-14 John Levon <levon@movementarian.org>
7339 * tabular.C: better method names
7341 2003-02-14 John Levon <levon@movementarian.org>
7343 * BufferView_pimpl.C:
7348 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7349 it's a more accurate name. Remove some pointless uses.
7351 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7353 * text2.C (LyXText): change order of initilizers to shut off
7356 2003-02-14 John Levon <levon@movementarian.org>
7358 * buffer.C: use ParIterator for getParFromID()
7362 * paragraph_pimpl.h:
7363 * paragraph_pimpl.C: remove unused getParFromID()
7365 2003-02-14 John Levon <levon@movementarian.org>
7367 * buffer.C: remove some very old #if 0'd parse code
7369 2003-02-13 John Levon <levon@movementarian.org>
7373 * text2.C: move hfillExpansion(), numberOfSeparators(),
7374 rowLast(), rowLastPrintable(), numberofHfills(),
7375 numberOfLabelHfills() ...
7378 * lyxrow.C: ... to member functions here.
7383 * text.C: remove LyXText::beginningOfMainBody(), and call
7384 p->beginningOfMainBody() directly. Move the check for
7385 LABEL_MANUAL into the latter.
7392 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7398 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7399 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7401 2003-02-13 John Levon <levon@movementarian.org>
7403 * CutAndPaste.C: remove debug
7405 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7407 * paragraph.C (asString): remove two unused variables
7409 * lyxtextclass.C (readTitleType):
7411 (LyXTextClass): handle new members titletype_ and titlename_
7413 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7415 2003-02-09 John Levon <levon@movementarian.org>
7418 * buffer.C: replace hand-coded list with a map for the dep clean
7420 2003-02-08 John Levon <levon@movementarian.org>
7422 * LaTeX.C: consolidate code into showRunMessage() helper
7424 2003-02-08 John Levon <levon@movementarian.org>
7429 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7430 and pass the size in explicitly
7432 * BufferView_pimpl.h:
7433 * BufferView_pimpl.C:
7435 * BufferView.C: add getCurrentChange()
7437 * BufferView_pimpl.h:
7438 * BufferView_pimpl.C: handle change lfuns
7440 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7441 for changes. Mark pasted paragraphs as new.
7443 * support/lyxtime.h:
7444 * support/lyxtime.C:
7445 * DepTable.C: abstract time_t as lyx::time_type
7448 * LColor.C: add colours for new text, deleted text, changebars
7450 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7451 package use "usenames" option.
7455 * LyXAction.C: add change lfuns
7459 * author.C: author handling
7462 * buffer.C: add a per-buffer author list, with first entry as
7463 current author. Handle new .lyx tokens for change tracking. Output
7464 author list to .lyx file. Output dvipost stuff to .tex preamble.
7465 Bump lyx format to 222.
7468 * bufferlist.C: add setCurrentAuthor() to reset current author details
7472 * bufferparams.C: add param for tracking
7474 * bufferview_funcs.C: output change info in minibuffer
7478 * changes.C: add change-tracking structure
7481 * debug.C: add CHANGES debug flag
7484 * lyxfind.C: add code for finding the next change piece
7487 * lyxrc.C: add user_name and user_email
7490 * lyxrow.C: add a metric for the top of the text line
7493 * text.C: implement accept/rejectChange()
7496 * text.C: paint changebars. Paint new/deleted text in the chosen
7497 colours. Strike through deleted text.
7501 * paragraph_pimpl.h:
7502 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7503 in the current change to the insert functions. Rework erase to
7504 mark text as deleted, adding an eraseIntern() and a range-based
7505 erase(). Implement per-paragraph change lookup and
7508 * paragraph_funcs.C: Fixup paste for change tracking.
7510 * tabular.C: mark added row/columns as new.
7512 * text.C: fix rowLast() to never return -1. Don't allow
7513 spellchecking of deleted text. Track transpose changes. Don't
7514 allow paragraph break or merge where appropriate.
7516 * text2.C: leave cursor at end of selection after a cut.
7518 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7520 * text.C (getLengthMarkerHeight):
7521 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7522 visible on screen too.
7524 2003-02-07 John Levon <levon@movementarian.org>
7526 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7528 2003-02-05 Angus Leeming <leeming@lyx.org>
7530 * lyxserver.C (read_ready): revert my patch of 11 September last year
7531 as it sends PC cpu through the roof. Presumably this means that
7532 the lyxserver will no longer run on an Alpha...
7534 2003-01-30 Angus Leeming <leeming@lyx.org>
7536 * factory.C (createInset): create an InsetCommandParam of type "index"
7537 and use it to 'do the right thing'.
7539 * text2.C (getStringToIndex): ensure that cursor position is always
7540 reset to the reset_cursor position.
7542 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7544 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7547 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7551 * lyxfunc.C: Output messages with identical spelling, punctuation,
7554 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7556 * MenuBackend.C (expandFormats): List only viewable export formats
7559 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7562 * lyxfunc.C (getStatus): Make sure that formats other than
7563 "fax" can also be disabled
7565 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * text3.C (dispatch): put the lfuns that insert insets in 3
7568 groups, and call doInsertInset with appropriate arguments.
7569 (doInsertInset): new function, that creates an inset and inserts
7570 it according to some boolean parameters.
7572 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * buffer.C (readFile): remember to pass on 'par' when calling
7575 readFile recursively.
7577 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7579 * MenuBackend.C (expandFormats): add "..." to import formats.
7581 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7583 * paragraph.C (asString): Remove XForms RTL hacks.
7585 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7586 * buffer.C: fix typo
7588 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * Makefile.am (LIBS): delete var
7591 (lyx_LDADD): add @LIBS@ here instead.
7593 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7595 * Clarify the meaning of "wheel mouse jump"
7597 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7599 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7602 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7604 * importer.C (Loaders): do not preallocate 3 elements in the
7605 vector, since one ends up with 6 elements otherwise
7607 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7609 * DepTable.C (write): write the file name as last element of the
7610 .dep file (because it may contain spaces)
7611 (read): read info in the right order
7613 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7615 * paragraph_pimpl.C (simpleTeXBlanks):
7616 (simpleTeXSpecialChars):
7617 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7619 * tabular.C (latex): add some missing case statements. Reindent.
7621 * MenuBackend.C (expandToc): remove unused variable.
7623 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7632 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7635 2003-01-05 John Levon <levon@movementarian.org>
7638 * BufferView.C: add getEncoding()
7641 * kbsequence.C: do not store last keypress
7644 * lyxfunc.C: store last keypress here instead. Pass encoding
7647 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7649 * lyx_main.C (init): remove annoying error message when following
7650 symbolic links (bug #780)
7652 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * text.C (insertChar):
7655 * lyxrc.C (getDescription): remove extra spaces
7657 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7659 * lyxrc.C (getDescription): remove extra spaces
7661 2002-12-20 John Levon <levon@movementarian.org>
7663 * text3.C: hack fix for page up/down across tall rows
7665 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7667 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7670 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7672 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7673 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7674 thesaurus is not compiled in
7676 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7678 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7680 2002-12-16 Angus Leeming <leeming@lyx.org>
7683 * lyx_main.C (init): remove override_x_deadkeys stuff.
7685 2002-12-12 John Levon <levon@movementarian.org>
7687 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7688 insert. Only remove shift modifier under strict
7691 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * MenuBackend.C (expandToc): fix crash.
7695 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * MenuBackend.C (expandToc): gettext on float names.
7699 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7701 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7702 implement bool empty() [bug 490]
7704 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7708 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * several files: ws changes
7712 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * text2.C (setCounter): clean up a bit, use boost.format.
7715 (updateCounters): initialize par upon declaration.
7717 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7718 if the layout exists. We do not just store the layout any more.
7719 (SwitchLayoutsBetweenClasses): use boost.format
7721 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7723 * converter.C (convert): if from and to files are the same, use a
7724 temporary files as intermediary
7726 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7729 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7731 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7733 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7735 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * tabular.C (asciiPrintCell): use string(size, char) instead of
7740 * sgml.C (openTag): fix order of arguments to string constructor
7743 * lyxfunc.C (dispatch): use boost.format
7745 * lots of files: change "c" -> 'c'
7747 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7749 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7751 2002-11-25 Angus Leeming <leeming@lyx.org>
7753 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7755 * lyx_main.C (init): compile fix.
7757 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * lyx_cb.C (start): boost.formatify
7760 do not include <iostream>
7762 * lengthcommon.C: ws only
7764 * boost-inst.C,BoostFormat.h: add more explict instantations
7766 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7768 * lots of files: handle USE_BOOST_FORMAT
7770 2002-11-21 John Levon <levon@movementarian.org>
7772 * pspell.C: fix compile
7774 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7776 * lyxfunc.C (dispatch): use boost::format
7780 * lyxfont.C (stateText): use boost::format
7782 * lyx_main.C (LyX): use boost::format
7784 (queryUserLyXDir): ditto
7787 (typedef boost::function): use the recommened syntax.
7789 * importer.C (Import): use boost::format
7791 * debug.C (showLevel): use boost::format
7793 * converter.C (view): use boost::format
7798 * bufferview_funcs.C (currentState): use boost::format
7800 * bufferlist.C (emergencyWrite): use boost::format
7802 * buffer.C (readLyXformat2): use boost::format
7803 (parseSingleLyXformat2Token): ditto
7805 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7807 * LaTeX.C (run): use boost::format
7809 * Chktex.C (scanLogFile): use boost::format
7811 * BufferView_pimpl.C (savePosition): use boost::format
7812 (restorePosition): ditto
7813 (MenuInsertLyXFile): ditto
7815 * BoostFormat.h: help file for explicit instation.
7817 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7819 * tabular.C (latex): Support for block alignment in fixed width
7822 2002-11-17 John Levon <levon@movementarian.org>
7824 * BufferView_pimpl.C:
7826 * lyxfunc.C: split filedialog into open/save
7828 2002-11-08 Juergen Vigna <jug@sad.it>
7830 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7831 by my last patch (hopefully).
7833 2002-11-08 John Levon <levon@movementarian.org>
7842 * toc.C: ParConstIterator, and use it (from Lars)
7844 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7846 * lyxtextclass.[Ch]: revise and add doxygen comments
7848 2002-11-07 John Levon <levon@movementarian.org>
7850 * text.C: fix progress value for spellchecker
7852 * toc.C: fix navigate menu for insetwrap inside minipage
7854 * paragraph_funcs.C: added FIXME for suspect code
7856 2002-11-07 John Levon <levon@movementarian.org>
7858 * BufferView_pimpl.C: fix redrawing of insets
7861 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7863 * text2.C (updateCounters): fix bug 668
7865 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7867 * text3.C (dispatch): Do not make the buffer dirty when moving the
7870 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * vc-backend.C: STRCONV
7875 * text2.C (setCounter): STRCONV
7877 * paragraph.C (asString): STRCONV
7879 * lyxlength.C (asString): STRCONV
7880 (asLatexString): ditto
7882 * lyxgluelength.C (asString): STRCONV
7883 (asLatexString): ditto
7885 * lyxfunc.C (dispatch): STRCONV
7888 * lyxfont.C (stateText): STRCONV
7890 * importer.C (Import): STRCONV
7892 * counters.C (labelItem): STRCONV
7893 (numberLabel): ditto
7894 (numberLabel): remove unused ostringstream o
7899 * bufferview_funcs.C (currentState): STRCONV
7901 * buffer.C (readFile): STRCONV
7902 (asciiParagraph): ditto
7903 (makeLaTeXFile): ditto
7905 * Spacing.C (writeEnvirBegin): STRCONV
7907 * LaTeXFeatures.C (getLanguages): STRCONV
7908 (getPackages): ditto
7910 (getBabelOptions): ditto
7911 (getTClassPreamble): ditto
7912 (getLyXSGMLEntities): ditto
7913 (getIncludedFiles): ditto
7917 (scanAuxFile): ditto
7920 * LString.h: add the STRCONV macros
7922 * BufferView_pimpl.C (savePosition): STRCONV
7923 (restorePosition): ditto
7924 (MenuInsertLyXFile): ditto
7926 * vc-backend.C (scanMaster): change from submatch[...] to
7929 * funcrequest.C: include config.h
7931 * factory.C: include config.h
7933 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7935 * box.C: include config.h
7937 * LaTeX.C (scanAuxFile): change from submatch[...] to
7941 2002-10-25 Angus Leeming <leeming@lyx.org>
7943 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7945 * ispell.[Ch] (setError): new method.
7946 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7947 Use setError() insetead of goto END.
7949 * lyx_cb.C (AutoSave): move out child process into new class
7952 2002-10-30 John Levon <levon@movementarian.org>
7954 * text3.C: make start appendix undoable
7956 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7958 * lyxlength.C (inPixels): Fix returned value.
7960 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7963 2002-10-24 Angus Leeming <leeming@lyx.org>
7965 * lyxgluelength.h: no need to forward declare BufferParams
7966 or BufferView, so don't.
7968 2002-10-21 John Levon <levon@movementarian.org>
7970 * BufferView.C: menuUndo ->undo, redo
7972 * BufferView.h: document, remove dead, make some methods private
7974 * paragraph_funcs.h:
7975 * paragraph_funcs.C:
7976 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7981 * sgml.C: move sgml open/close tag into sgml.C
7983 * bufferview_funcs.h: unused prototype
7986 * lyxfunc.C: remove unused
7989 * text.C: remove unused
7991 2002-10-21 John Levon <levon@movementarian.org>
7995 * BufferView_pimpl.h:
7996 * BufferView_pimpl.C: fix mouse wheel handling based on
7997 patch from Darren Freeman
7999 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8001 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8003 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8005 * lyxlength.C (inPixels): Fix hanfling of negative length.
8006 Fix LyXLength::MU case.
8008 2002-10-16 John Levon <levon@movementarian.org>
8010 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8012 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8014 * converter.C (view): add support for $$i (file name) and $$p
8015 (file path) for the viewer command. If $$i is not specified, then
8016 it is appended to the command (for compatibility with old syntax)
8018 2002-10-14 Juergen Vigna <jug@sad.it>
8020 * undo_funcs.C (textHandleUndo): alter the order in which the
8021 new undopar is added to the LyXText, as we have to set first
8022 the right prev/next and then add it as otherwise the rebuild of
8023 LyXText is not correct. Also reset the cursor to the right paragraph,
8024 with this IMO we could remove the hack in "redoParagraphs()".
8026 2002-10-09 Angus Leeming <leeming@lyx.org>
8028 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8029 to turn off an optimisation if a new inset is to be inserted.
8031 2002-10-11 André Pönitz <poenitz@gmx.net>
8033 * lyxtext.h: make some functions public to allow access
8034 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8036 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8038 * text3.C (dispatch): when changing layout, avoid an infinite loop
8041 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8043 * lyxrc.C (read): treat a viewer or converter command of "none" as
8046 * MenuBackend.C (expandFormats): for an update, also allow the
8047 formats that are not viewable
8049 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8050 script if it is newer than the lyxrc.defaults in user directory
8052 2002-10-07 André Pönitz <poenitz@gmx.net>
8054 * text.C: Vitaly Lipatov's small i18n fix
8056 2002-09-25 Angus Leeming <leeming@lyx.org>
8058 * ispell.h: doxygen fix.
8060 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8062 * buffer.h (readFile): Add a new argument to the method, to allow
8063 reading of old-format templates.
8065 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8067 * toc.C (getTocList): Get TOC from InsetWrap.
8069 2002-09-16 John Levon <levon@movementarian.org>
8071 * lyxfunc.C: check tabular for cut/copy too
8073 2002-09-12 John Levon <levon@movementarian.org>
8078 * factory.C: add header
8080 * paragraph_funcs.h:
8081 * paragraph_funcs.C: cleanup
8083 2002-09-11 John Levon <levon@movementarian.org>
8085 * PrinterParams.h: odd/even default to true
8087 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8089 * PrinterParams.h: update printer parameters for new xforms dialog
8091 2002-09-11 Angus Leeming <leeming@lyx.org>
8093 * lyxserver.C (read_ready): re-write to make it more transparent
8094 and to make it work in coherent fashion under Tru64 Unix.
8096 2002-09-11 André Pönitz <poenitz@gmx.net>
8100 * text3.C: implement LFUN_WORDSEL
8102 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8105 make floatlist_ a boost::shared_ptr<FloatList>
8107 * lyxtextclass.C: include FloatList.h
8108 (LyXTextClass): initialize floatlist_
8109 (TextClassTags): add TC_NOFLOAT
8110 (Read): match "nofloat" to TC_NOFLOAT and use it.
8111 (readFloat): modify call to floatlist_
8115 * FloatList.[Ch] (FloatList): remove commented out float
8117 (erase): new function
8119 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * MenuBackend.C (expandToc): fix crash when there is no document
8124 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8126 * many files: Add insetwrap.
8128 2002-09-09 John Levon <levon@movementarian.org>
8130 * text2.C: remove confusing and awkward depth wraparound
8132 2002-09-09 John Levon <levon@movementarian.org>
8134 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8137 * buffer.C: remove getIncludeonlyList()
8140 * lyxfunc.C: remove headers
8142 2002-09-09 Juergen Vigna <jug@sad.it>
8144 * text.C (getColumnNearX): fix form Michael this is most
8145 probably a cut&paste bug.
8147 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8149 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8151 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8152 references, ws changes.
8154 * text2.C (init): update counters after init
8155 (insertParagraph): no need to set counter on idividual paragraphs.
8156 (setCounter): access the counters object in the textclass object
8157 on in the buffer object.
8158 (updateCounters): ditto
8160 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8161 shared_ptr<Counters> to avoid loading counters.h in all
8163 (LyXTextClass): initialize ctrs_
8164 (TextClassTags): add TC_COUNTER, and ...
8165 (Read): use it here.
8166 (CounterTags): new tags
8167 (readCounter): new function
8168 (counters): new funtion
8169 (defaultLayoutName): return a const reference
8171 * counters.C (Counters): remove contructor
8172 (newCounter): remove a couple of unneeded statements.
8173 (newCounter): simplify a bit.
8174 (numberLabel): some small formatting changes.
8176 * buffer.[Ch]: remove all traces of counters, move the Counters
8177 object to the LyXTextClass.
8179 2002-09-06 Alain Castera <castera@in2p3.fr>
8181 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8182 package to set the horizontal alignment on fixed width columns.
8185 * lyx_sty.h: added tabularnewline macro def.
8187 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8189 2002-09-06 John Levon <levon@movementarian.org>
8191 * LyXAction.C: tooltips for sub/superscript
8193 * MenuBackend.C: a bit more verbose
8195 * lyxfunc.C: tiny clean
8197 * undo_funcs.C: document undo_frozen
8199 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * counters.C (Counters): add missing algorithm counter.
8203 * text2.C (setCounter): lookup the counter with layouts latexname
8204 instead of by section number.
8205 (setCounter): use a hackish way to lookup the correct enum
8207 a float name->type change
8208 reset enum couners with counter name directly instead of depth value.
8210 * counters.C (Counters): remove the push_backs, change to use the
8211 float type not the float name.
8212 (labelItem): remove unused string, float name->type change
8214 * counters.h: don't include vector, loose the enums and sects vectors
8216 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8219 (Read): add float->TC_FLOAT to textclassTags
8220 (Read): and handle it in the switch
8221 (readFloat): new function
8223 * FloatList.C (FloatList): comment out the hardcoded float
8226 * lyxlayout.h: ws change.
8228 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8230 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8232 2002-09-03 Angus Leeming <leeming@lyx.org>
8234 * BufferView_pimpl.h: qualified name is not allowed in member
8235 declaration: WorkArea & Pimpl::workarea() const;
8237 * factory.C: added using std::endl directive.
8239 * text3.C: added using std::find and std::vector directives.
8241 2002-08-29 André Pönitz <poenitz@gmx.net>
8244 * text2.C: remove unused member number_of_rows
8247 * BufferView2.C: remove file, move contents to...
8248 * BufferView.C: ... here
8250 * BufferView_pimpl.C:
8251 * factory.C: move more inset creation to factory
8253 * vspace.C: avoid direct usage of LyXText, ws changes
8256 don't provide direct access to WorkArea, use two simple
8257 acessors haveSelction() and workHeight() instead
8260 2002-08-29 John Levon <levon@movementarian.org>
8262 * BufferView_pimpl.C (dispatch): do not continue when
8265 2002-08-28 André Pönitz <poenitz@gmx.net>
8267 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8270 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8272 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8274 * buffer.C: increment LYX_FORMAT to 221
8276 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8277 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8279 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8281 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8283 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8285 * factory.C (createInset): use LyXTextClass::floats
8287 * MenuBackend.C (expandFloatListInsert):
8288 (expandFloatInsert):
8291 * text2.C (setCounter):
8293 * LaTeXFeatures.C (useFloat):
8294 (getFloatDefinitions):
8296 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8298 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8299 floatlist_, with accessor floats().
8301 * FloatList.h: remove global FloatList
8303 2002-08-26 André Pönitz <poenitz@gmx.net>
8305 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8309 * BufferView_pimpl.C:
8310 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8312 2002-08-25 John Levon <levon@movementarian.org>
8314 * LyXAction.C: fix margin note description
8316 2002-08-24 John Levon <levon@movementarian.org>
8320 * bufferview_funcs.C:
8322 * undo_funcs.C: cleanups
8324 * lyxfunc.C: disable CUT/COPY when no selection
8326 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8328 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8329 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8331 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8332 Add backward compatibility to "mono", "gray" and "no".
8334 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8336 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8337 (and file_format >= 200).
8339 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8343 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8345 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8347 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8349 * BufferView_pimpl.C:
8356 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8357 inset and code to make it work with the paragraph code. The inset
8358 can be anywhere in the paragraph, but will only do the expected
8359 thing in LaTeX if the layout file contains the parameter line
8361 (or more generally, a nonzero value) for that layout.
8363 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8365 * paragraph.h: remove the declaration of undefined counters class
8368 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8370 * text2.C (setCounter): fixed enumeration mis-count as reported by
8371 Dr. Richard Hawkins.
8373 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8375 * paragraph_funcs.h: remove some unneeded includes
8377 * text.C (backspace): pasteParagraph now in global scipe
8379 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8380 (pasteSelection): ditto
8382 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8383 * paragraph_funcs.C (pasteParagraph): ... here
8385 2002-08-20 André Pönitz <poenitz@gmx.net>
8387 * commandtags.h: new LFUNs for swapping/copying table row/colums
8390 * lyxfunc.C: support for new lfuns
8392 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * buffer.[Ch]: remove NO_COMPABILITY stuff
8397 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * boost.C (throw_exception): new file, with helper function for
8400 boost compiled without exceptions.
8405 * ParameterStruct.h:
8406 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8408 * bufferlist.C (emergencyWriteAll): use boost bind
8410 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8412 * text.C: include paragraph_funcs.h
8413 (breakParagraph): breakParagraph is now in global scope
8415 * paragraph_funcs.[Ch]: new files
8417 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8420 * buffer.C: include paragraph_funcs.h
8421 (insertStringAsLines): breakParagraph is now in global scope
8423 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8426 * CutAndPaste.C: include paragraph_funcs.h
8427 (cutSelection): breakParagraphConservative is now in global scope
8428 (pasteSelection): ditto
8430 * buffer.h: declare oprator== and operator!= for
8431 Buffer::inset_iterator
8433 * bufferlist.C (emergencyWrite): don't use fmt(...)
8435 * text3.C: add using std::endl
8437 * BufferView.C (moveCursorUpdate): remove default arg
8439 2002-08-20 André Pönitz <poenitz@gmx.net>
8441 * buffer.[Ch]: move inline functions to .C
8444 * BufferView_pimpl.C:
8446 * buffer.[Ch]: use improved inset_iterator
8449 * paragraph.[Ch]: write one paragraph at a time
8451 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8453 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8454 style if style is not specified.
8456 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8458 * text2.C (setCounter): when searching for right label for a
8459 caption, make sure to recurse to parent insets (so that a caption
8460 in a minipage in a figure float works) (bug #568)
8462 2002-08-20 André Pönitz <poenitz@gmx.net>
8464 * text3.C: new file for LyXText::dispatch() and helpers
8466 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8468 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8470 2002-08-19 André Pönitz <poenitz@gmx.net>
8473 * text.C: new LyXText::dispatch()
8475 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8477 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8479 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8481 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8484 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8486 * Makefile.am: use $(variables) instead of @substitutions@
8488 2002-08-15 André Pönitz <poenitz@gmx.net>
8491 * BufferView_pimpl.C: streamlining mathed <-> outer world
8495 * LyXAction.C: remove unused LFUN_MATH
8497 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8501 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8503 * paragraph.C (Paragraph): reformat a bit
8504 (cutIntoMinibuffer): use builtin InsetList function instad of
8508 * buffer.C: include boost/bind.hpp, add using std::for_each
8509 (writeFileAscii): use ParagraphList iterators
8510 (validate): use for_each for validate traversal of paragraphs
8511 (getBibkeyList): use ParagraphList iterators
8512 (resizeInsets): use for_each to resizeInsetsLyXText for all
8514 (getParFromID): use ParagraphList iterators
8516 * BufferView2.C (lockInset): use paragraph list and iterators
8518 2002-08-14 John Levon <levon@movementarian.org>
8520 * lyxserver.C: remove spurious xforms include
8522 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8524 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8526 2002-08-13 André Pönitz <poenitz@gmx.net>
8529 * lyxfunc.C: further cleaning
8531 2002-08-13 André Pönitz <poenitz@gmx.net>
8533 * funcrequest.h: new constructor
8535 * funcrequest.C: move stuff here from .h
8538 * BufferView_pimpl.C:
8541 * lyxfunc.C: subsequent changes
8543 * lyxfunc.h: new view() member function
8545 * lyxfunc.C: subsequent changes
8547 2002-08-13 Angus Leeming <leeming@lyx.org>
8550 * BufferView_pimpl.C:
8558 changes due to the changed LyXView interface that now returns references
8559 to member variables not pointers.
8561 2002-08-13 Angus Leeming <leeming@lyx.org>
8563 * WordLangTuple (word, lang_code): return references to strings,
8568 * lyxtext.h: forward-declare WordLangTuple.
8573 * text.C: #include "WordLangTuple.h".
8576 * text.C: (selectNextWordToSpellcheck): constify return type.
8578 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8584 * paragraph_pimpl.h:
8587 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8589 Made updateCounter always count from start of buffer, and removed
8590 second argument (par).
8591 Reverted floats number display to '#'. Perhaps I'll try again when the
8592 code base is sanitized a bit.
8594 2002-08-12 Angus Leeming <leeming@lyx.org>
8596 * buffer.[Ch] (getLabelList): constify.
8598 2002-08-07 André Pönitz <poenitz@gmx.net>
8600 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8602 * funcrequest.h: extension to keep mouse (x,y) position
8604 2002-08-12 Juergen Vigna <jug@sad.it>
8606 * BufferView2.C (insertErrors): forbid undo when inserting error
8609 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8611 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * ParagraphList.[Ch]: new files
8615 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8617 * BufferView2.C (lockInset): ParagraphList changes
8620 * bufferlist.C: ditto
8624 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8626 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8627 unused class variable counter_,
8629 * paragraph.[Ch] (getFirstCounter): delete unused function
8631 * counters.C: include LAssert.h
8632 (reset): add a new function with no arg, change other version to
8633 not have def. arg and to not allow empty arg.
8635 * text2.C (setCounter): remove empty arg from call to Counters::reset
8637 2002-08-11 John Levon <levon@movementarian.org>
8639 * Makefile.am: add WordLangTuple.h
8641 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8643 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8644 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8646 * insets/insettext.C: InsetList changes
8648 * graphics/GraphicsSupport.C (operator()): InsetList changes
8650 * toc.C (getTocList): InsetList changes
8652 * paragraph_pimpl.[Ch]: InsetList changes
8654 * paragraph.[Ch]: InsetList changes
8656 * buffer.C (inset_iterator): InsetList changes
8657 (setParagraph): ditto
8658 * buffer.h (inset_iterator): ditto
8659 * iterators.C (operator++): ditto
8660 * iterators.h: ditto
8662 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8664 * InsetList.[Ch]: new files, most InsetList handling moved out of
8667 * BufferView2.C (removeAutoInsets): InsetList changes
8669 (ChangeInsets): ditto
8671 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8673 * paragraph_pimpl.h (empty): new function
8675 * paragraph.[Ch] (empty): new function
8677 * other files: use the new Paragraph::empty function
8679 2002-08-09 John Levon <levon@movementarian.org>
8681 * lyxtext.h: remove unused refresh_height
8683 2002-08-09 John Levon <levon@movementarian.org>
8690 * paragraph.C: move sgml char escaping out of paragraph
8693 * paragraph.C: remove id setter
8697 * paragraph_pimpl.C: remove dead tex_code_break_column
8699 * bufferview_funcs.C: small cleanup
8701 * lyxfunc.C: remove dead proto
8703 * lyxtext.h: make some stuff private. Remove some dead stuff.
8705 * lyxgluelength.C: make as[LyX]String() readable
8707 2002-08-08 John Levon <levon@movementarian.org>
8712 * ToolbarDefaults.C:
8715 * toc.C: lyxaction cleanup
8717 2002-08-08 John Levon <levon@movementarian.org>
8719 * BufferView2.C: small cleanup
8722 * lyxfind.C: move unnecessary header into the .C
8724 2002-08-08 John Levon <levon@movementarian.org>
8726 * funcrequest.h: just tedious nonsense
8729 * lyx_main.C: cleanups
8732 * vspace.C: remove dead header lyx_main.h
8734 2002-08-07 Angus Leeming <leeming@lyx.org>
8737 * paragraph_pimpl.h:
8738 Forward declare class Counters in paragraph.h by moving the ctrs member
8739 variable into Paragraph::Pimpl.
8740 (counters): new method, returning a reference to pimpl_->ctrs.
8742 * text2.C: ensuing changes.
8744 2002-08-07 John Levon <levon@movementarian.org>
8746 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8748 * BufferView_pimpl.C: announce X selection on double/triple
8751 * lyx_main.C: use correct bool in batch dispatch
8753 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8755 2002-08-07 André Pönitz <poenitz@gmx.net>
8757 * funcrequest.h: new class to wrap a kb_action and its argument
8760 * BufferView_pimpl[Ch]:
8764 * lyxrc.C: subsequent changes
8767 2002-08-07 John Levon <levon@movementarian.org>
8769 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8770 document options change.
8772 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8777 * makefile.am: move counters functionality over from
8778 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8780 2002-08-06 John Levon <levon@movementarian.org>
8782 * WordLangTuple.h: new file for word + language code tuple
8793 * BufferView2.C: use WordLangTuple
8796 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8798 2002-08-06 John Levon <levon@movementarian.org>
8800 * lyx_main.C: fix cmdline batch handling
8802 2002-08-06 André Pönitz <poenitz@gmx.net>
8804 * lyxrc.C: set default for show_banner to true
8806 2002-08-06 John Levon <levon@movementarian.org>
8808 * pspell.C: fix a crash, and allow new aspell to work
8810 2002-08-06 John Levon <levon@movementarian.org>
8813 * kbmap.C: small cleanup
8816 * vspace.C: add const
8818 2002-08-05 John Levon <levon@movementarian.org>
8820 * LyXAction.C: back to tabular-insert
8822 2002-08-04 John Levon <levon@movementarian.org>
8825 * BufferView.C: cosmetic change
8827 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8837 * BufferView2.C: purge all "Lyx" not "LyX" strings
8840 * lyxcursor.C: attempt to add some documentation
8845 * ToolbarDefaults.C:
8846 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8847 merge with LFUN_TABULAR_INSERT
8854 * pspell.C: split up i/pspell implementations into separate
8855 files, many cleanups
8857 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8859 * text2.C: some cleanup
8861 * lyxfunc.C: don't check for isp_command == "none" any more, it
8862 didn't make any sense
8864 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8869 * makefile.am: move counters functionality over
8870 from text2.C/paragraph.[Ch] to counters.[Ch], and
8872 2002-08-02 John Levon <levon@movementarian.org>
8874 * buffer.C: s/lyxconvert/lyx2lyx/
8876 2002-08-02 Angus Leeming <leeming@lyx.org>
8878 * lyxlex.C: revert John's change as it breaks reading of the user
8881 2002-08-02 Angus Leeming <leeming@lyx.org>
8883 * importer.C (Import):
8884 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8885 changes due to LyXView::view() now returning a boost::shared_ptr.
8887 2002-08-02 John Levon <levon@movementarian.org>
8889 * lyxlex.C: small cleanup
8891 2002-08-02 John Levon <levon@movementarian.org>
8893 * text2.C (status): small cleanup, no logic change
8895 2002-08-01 John Levon <levon@movementarian.org>
8898 * buffer.C (writeFile): don't output alerts, caller
8902 * lyx_cb.C: from above
8904 * lyxfunc.C: allow to open non-existent files
8906 2002-07-31 John Levon <levon@movementarian.org>
8908 * lyxserver.C: don't let incidental errors get
8911 2002-07-30 John Levon <levon@movementarian.org>
8913 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8915 2002-07-30 John Levon <levon@movementarian.org>
8918 * lyxserver.C: remove I/O callback too
8920 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8922 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8925 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8927 * many files: strip,frontStrip -> trim,ltrim,rtrim
8929 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8931 * PrinterParams.h: remove extern containsOnly, and include
8932 support/lstrings.h instead.
8934 * LaTeX.C (scanAuxFile): modify because of strip changes
8936 * buffer.C (makeLaTeXFile): ditto
8937 * bufferparams.C (writeFile): ditt
8938 * lyxfont.C (stateText): ditto
8939 * lyxserver.C (read_ready): ditto
8940 * vc-backend.C (scanMaster): ditto
8942 * BufferView_pimpl.h: ws changes
8944 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8946 2002-07-26 André Pönitz <poenitz@gmx.net>
8948 * kb_sequence.C: remove unnedred usings
8950 2002-07-26 Juergen Vigna <jug@sad.it>
8952 * lyxfind.C (LyXReplace): we have to check better if the returned
8953 text is not of theLockingInset()->getLockingInset().
8955 2002-07-25 Juergen Vigna <jug@sad.it>
8957 * lyxfind.C (LyXReplace): don't replace if we don't get the
8960 * undo_funcs.C (createUndo): remove debugging code.
8962 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8964 * buffer.C (parseSingleLyXformat2Token): Use default placement
8965 when reading old floats.
8967 * FloatList.C (FloatList): Change the default placement of figure
8968 and tables to "tbp".
8970 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8972 * MenuBackend.C: using std::max
8974 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8976 * MenuBackend.C (expandToc):
8977 (expandToc2): code moved from xforms menu frontend. It is now
8978 generic and TOCs are transparent to menu frontends.
8980 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8982 * toc.C (getTocList): protect against buf=0
8984 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8985 Menu as first parameter. Now, this calls itself recursively to
8986 expand a whole tree (this will be useful for TOC handling)
8987 (expandFloatInsert): remove 'wide' version of floats
8989 * MenuBackend.h (submenuname): returns the name of the submenu.
8990 (submenu): returns the submenu itself, provided it has been
8991 created by MenuBackend::expand
8993 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8995 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8996 insets which have noFontChange == true. (bug #172)
8998 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9000 * BufferView_pimpl.C: add connection objects and use them...
9003 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9005 * MenuBackend.C (expandLastfiles):
9008 (expandFloatListInsert):
9009 (expandFloatInsert):
9010 (expand): split expand in parts
9012 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9014 * lyx_gui.C: use lyx_gui::exit()
9016 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9018 * LyXAction.C: show the failing pseudo action
9020 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9022 * buffer.C (readFile): Run the lyxconvert script in order to read
9025 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9029 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9031 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9035 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9037 2002-07-22 Herbert Voss <voss@lyx.org>
9040 * lyxlength.[Ch]: add support for the vertical lengths
9042 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9044 * toc.[Ch]: std:: fixes
9046 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * lyxrc.C: do not include lyx_main.h
9050 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9056 * BufferView2.C: include "lyxlex.h"
9059 * bufferparams.h: do not #include "lyxlex.h"
9061 * lyxtextclasslist.C (Add): remove method
9062 (classlist): renamed to classlist_
9064 * paragraph_pimpl.C:
9068 * bufferview_funcs.C:
9073 * toc.C (getTocList): use BufferParams::getLyXTextClass
9075 * toc.C (getTocList): use InsetFloat::addToToc
9077 * toc.[Ch]: new files, containing helper functions to handle table
9080 * lyxfunc.C (dispatch): no need to remove spaces around command
9082 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9083 first command of the sequence; it is not very clever, but I do not
9084 have a better idea, actually
9086 * LyXAction.C (LookupFunc): make sure to remove space at the
9087 beginning and end of the command
9089 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9091 * MenuBackend.C (getMenubar): new method: return the menubar of
9093 (read): treat differently reading of menu and menubar (in
9094 particular, the menubar has no name now)
9095 (Menu::menubar): remove
9097 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9100 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9102 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9103 a bibitem inset in a RTL paragraph.
9105 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9107 * paragraph_pimpl.C: constify
9109 * BufferView_pimpl.C:
9111 * lyxfunc.C: fix dispatch in a nicer way
9113 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9115 * lyxfunc.C (dispatch):
9116 * BufferView_pimpl.C:
9117 * BufferView_pimpl.h:
9119 * BufferView.h: rename Dispatch() to dispatch()
9121 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9123 * lyxlayout.C (Read): honor DependsOn tag
9125 * lyxlayout.[Ch] (depends_on): new method
9127 * version.C.in: update lyx_docversion
9129 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9131 * paragraph.C (validate): remove from here...
9132 * paragraph_pimpl.C (validate): ... and move here
9133 (isTextAt): make it const
9135 * buffer.C (getLists): ws cleanup
9137 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9139 * language.C (read): Use iso8859-1 encoding in latex_lang
9140 (this prevents LyX from crashing when using iso10646-1 encoding).
9142 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9144 * text2.C (toggleInset): if cursor is inside an inset, close the
9145 inset and leave cursor _after_ it
9147 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9149 * lyxfunc.C: move minibuffer completion handling out of here
9151 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9153 * BufferView_pimpl.C:
9154 * LaTeX.C: fix dispatch calls
9156 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9158 * text.C (drawChars): Fix Arabic text rendering.
9160 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9164 * lyxfunc.C: remove message-push/pop
9168 * lyxfunc.C: rationalise some code by removing verboseDispatch
9169 in favour of a bool argument to dispatch()
9171 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9173 * lyx_main.C (init): make sure to read symlinks as absolute paths
9175 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9178 * lyxfunc.C: no need for commandshortcut to be a member
9180 2002-07-15 André Pönitz <poenitz@gmx.net>
9182 * converter.C: add support for $$s (scripts from lib/scripts dir)
9183 * lyx_main.C: white space
9185 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9189 * lyxrc.C: remove second exit confirmation
9191 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9196 * BufferView_pimpl.h:
9197 * BufferView_pimpl.C:
9198 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9200 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9202 * MenuBackend.C (expand): add numeric shortcuts to document menu
9204 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9206 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * lyxfont.C (setLyXFamily):
9215 * buffer.C (asciiParagraph): use ascii_lowercase
9217 2002-07-15 Mike Fabian <mfabian@suse.de>
9219 * lyxlex_pimpl.C (search_kw):
9220 * lyxlex.C (getLongString):
9221 * converter.h (operator<):
9222 * converter.C (operator<):
9223 * buffer.C (parseSingleLyXformat2Token):
9225 * ToolbarDefaults.C (read):
9226 * MenuBackend.C (checkShortcuts):
9228 * LColor.C (getFromGUIName):
9229 (getFromLyXName): use the compare_ascii_no_case instead of
9230 compare_no_case, because in turkish, 'i' is not the lowercase
9231 version of 'I', and thus turkish locale breaks parsing of tags.
9233 2002-07-16 Angus Leeming <leeming@lyx.org>
9235 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9236 now takes a Buffer const & argument.
9238 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9240 * BufferView.C (resize): check there's a buffer to resize
9242 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9244 * lyxfunc.C: remove dead code
9247 * lyxserver.C: use lyx_guii::set_read_callback
9249 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9251 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9252 an inset in a RTL paragraph.
9254 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9256 * lyxfunc.C: repaint after a font size update
9258 2002-07-15 André Pönitz <poenitz@gmx.net>
9260 * lyxlength.C: inBP should be able to return negative values
9262 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9264 * lyxfunc.C: use lyx_gui::update_fonts()
9266 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9268 * lyxfunc.C: use lyx_gui::update_color()
9270 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9276 * lyxrc.C: remove file->new asks for name option, and let
9277 buffer-new take an argument
9279 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9281 * BufferView_pimpl.C: remove unneeded extra repaint()
9283 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9285 * LyXAction.C: allow command-sequence with NoBuffer
9287 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9289 2002-07-10 Angus Leeming <leeming@lyx.org>
9291 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9293 2002-07-09 Angus Leeming <leeming@lyx.org>
9295 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9297 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9299 * lengthcommon.h: whitespace
9301 * lyxfunc.C: update scrollbar after goto paragraph
9303 * lyxtext.h: factor out page break drawing, and fix it so
9304 page break/added space paints as selected nicely
9306 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9308 * BufferView_pimpl.C: add FIXMEs, clean up a little
9310 2002-07-09 André Pönitz <poenitz@gmx.net>
9312 * lyxfont.[Ch]: support for wasy symbols
9314 2002-07-08 André Pönitz <poenitz@gmx.net>
9316 * BufferView_pimpl.C: apply John's patch for #93.
9318 2002-07-05 Angus Leeming <leeming@lyx.org>
9320 * BufferView_pimpl.C (buffer): generate previews if desired.
9322 * LColor.h: add "preview" to the color enum.
9324 * LColor.C (LColor): add a corresponding entry to the items array.
9326 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9329 2002-07-05 Angus Leeming <leeming@lyx.org>
9331 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9332 The body of the code is now in the method that is passed an ostream &
9333 rather than a file name.
9334 Pass an additional only_preamble parameter, useful for the forthcoming
9337 2002-07-03 André Pönitz <poenitz@gmx.net>
9339 * lyxfunc.C: simplify getStatus() a bit for math stuff
9341 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9343 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9345 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9347 * text.C (changeRegionCase): do not change case of all the
9348 document when region ends at paragraph end (bug #461)
9350 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9352 * paragraph.C (startTeXParParams):
9353 (endTeXParParams): add \protect when necessary
9355 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9357 * BufferView_pimpl.C (workAreaExpose): remove warning
9359 2002-06-27 Angus Leeming <leeming@lyx.org>
9361 * Makefile.am: add lyxlayout_ptr_fwd.h.
9363 2002-06-26 André Pönitz <poenitz@gmx.net>
9365 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9367 2002-06-25 Angus Leeming <leeming@lyx.org>
9369 * lyxfunc.C (dispatch): Comment out the call to
9370 grfx::GCache::changeDisplay. The method no longer exists now that the
9371 pixmap generation part of the graphics loader has been moved into
9374 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9376 * text2.C: layout as layout
9378 * text.C: layout as layout
9380 * tabular.C (OldFormatRead): layout as layout
9382 * paragraph_pimpl.C (TeXDeeper): layout as layout
9383 (realizeFont): layout as layout
9385 * paragraph.C (writeFile): layout as layout
9386 (validate): layout as layout
9387 (getFont): layout as layout
9388 (getLabelFont): layout as layout
9389 (getLayoutFont): layout as layout
9390 (breakParagraph): layout as layout
9391 (stripLeadingSpaces): layout as layout
9392 (getEndLabel): layout as layout
9393 (getMaxDepthAfter): layout as layout
9394 (applyLayout): layout as layout
9395 (TeXOnePar): layout as layout
9396 (simpleTeXOnePar): layout as layout
9397 (TeXEnvironment): layout as layout
9398 (layout): layout as layout
9399 (layout): layout as layout
9401 * lyxtextclass.C (compare_name): new functor to work with
9402 shared_ptr, layout as layout
9403 (Read): layout as layout
9404 (hasLayout): layout as layout
9405 (operator): layout as layout
9406 (delete_layout): layout as layout
9407 (defaultLayout): layout as layout
9409 * lyxlayout_ptr_fwd.h: new file
9411 * lyxlayout.C (Read): layout as layout
9413 * lyx_cb.C (MenuInsertLabel): layout as layout
9415 * bufferlist.C (newFile): layout as layout
9417 * buffer.C (readLyXformat2): layout as layout
9418 (parseSingleLyXformat2Token): layout as layout
9419 (insertStringAsLines): layout as layout
9420 (asciiParagraph): layout as layout
9421 (latexParagraphs): layout as layout
9422 (makeLinuxDocFile): layout as layout
9423 (simpleLinuxDocOnePar): layout as layout
9424 (makeDocBookFile): layout as layout
9425 (simpleDocBookOnePar): layout as layout
9426 (getLists): layout as layout
9428 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9430 * CutAndPaste.C (cutSelection): layout as layout
9431 (pasteSelection): layout as layout
9432 (SwitchLayoutsBetweenClasses): layout as layout
9434 * BufferView_pimpl.C (Dispatch): layout as layout
9435 (smartQuote): layout as layout
9437 * BufferView2.C (unlockInset): layout as layout
9439 2002-06-24 André Pönitz <poenitz@gmx.net>
9441 * lyxfunc.C: fix #487
9443 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9447 * lyxfunc.C: remove display_shortcuts, show_banner
9449 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9451 * Buffer_pimpl.C: oops, update on resize
9453 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9460 * BufferView.C: use repaint()
9462 * BufferView_pimpl.h:
9463 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9464 as it's a clearer description. Remove superfluous
9467 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9469 * text.C: fix bug 488. Not ideal, but getting
9470 getWord() to work properly for the insets that
9471 matter is more difficult ...
9473 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9475 * BufferView_pimpl.C:
9478 * lyxfunc.C: remove the six million index lyxfuncs to just
9479 one, and DTRT (bug 458)
9481 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9485 * BufferView_pimpl.h:
9486 * BufferView_pimpl.C: clean up resize() stuff,
9487 and unnecessary updateScreen()s
9489 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9493 * BufferView_pimpl.h:
9494 * BufferView_pimpl.C:
9497 * minibuffer.C: remove focus management of workarea,
9498 not needed. Use screen's greyOut()
9500 2002-06-17 Herbert Voss <voss@lyx.org>
9502 * converter.C: (convert) do not post a message, when converting
9503 fails, let the calling function decide what to do in this case
9505 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9507 * lyxfunc.C: tidy up a little
9509 2002-06-16 <alstrup@diku.dk>
9511 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9512 Got rid of FORMS_H_LOCATION include. Now we are
9515 2002-06-15 LyX Development team <lyx@rilke>
9517 * buffer.[Ch] (sgmlOpenTag):
9518 (sgmlCloseTag): Added support for avoiding pernicious mixed
9519 content. Return number of lines written.
9522 (makeDocBookFile): Fixed calls to sgml*Tag.
9523 Simple white space clean.
9525 (simpleDocBookOnePar): Simple white space clean.
9527 * tabular.[Ch] (docBook): Renamed to docbook and got another
9528 argument to related with the pernicious mixed content.
9530 (docbookRow): Fixed calls for docbook inset method.
9532 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9534 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9535 so it's X11 independent.
9539 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9541 2002-06-15 Lyx Development team <lyx@electronia>
9543 * intl.h: Renamed getTrans to getTransManager.
9545 2002-06-14 Angus Leeming <leeming@lyx.org>
9547 * Makefile.am: nuke forgotten stl_string_fwd.h.
9549 2002-06-12 Angus Leeming <leeming@lyx.org>
9551 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9553 2002-06-13 Angus Leeming <leeming@lyx.org>
9556 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9558 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9560 * kbmap.C (getiso): add support for cyrillic and greek
9562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9566 * BufferView_pimpl.h:
9567 * BufferView_pimpl.C: move bogus scrolling logic
9570 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView_pimpl.C: view->resize() change
9575 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9577 * BufferView_pimpl.C: topCursorVisible
9580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9584 * lyx_gui.C: move to frontends/
9588 * lyx_main.C: changes from above
9590 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9597 * lyx_main.C: minor tidy
9599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9601 * BufferView_pimpl.h:
9602 * BufferView_pimpl.C:
9604 * BufferView.C: make painter() const,
9607 * BufferView2.C: use screen() accessor
9610 * lyx_main.C: some minor cleanup
9612 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9614 * BufferView_pimpl.h:
9615 * BufferView_pimpl.C: remove enter/leaveView,
9618 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9623 * BufferView_pimpl.h:
9624 * BufferView_pimpl.C: only construct screen once,
9627 * lyxrc.C: remove pointless comment
9629 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9632 * BufferView.C: remove active() and belowMouse()
9634 * BufferView_pimpl.h:
9635 * BufferView_pimpl.C: use workarea() not workarea_,
9636 and make it use a scoped_ptr instead
9638 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9640 * lyx_gui.C: add debug message on BadWindow
9642 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * sp_spell.C: fdopen is not part of the C++ standard.
9646 * paragraph.C (InsetIterator): use >= instead of ==
9648 2002-06-07 Angus Leeming <leeming@lyx.org>
9650 Fixes needed to compile with Compaq cxx 6.5.
9651 * BufferView_pimpl.C:
9658 * lyxtextclasslist.C:
9663 all c-library variables have been moved into namespace std. Wrap
9664 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9669 Add a using std::abs declaration.
9671 * kbmap.h (modifier_pair):
9672 * paragraph.h (InsetTable, InsetList):
9673 * lyxfont.h (FontBits):
9674 type definition made public.
9676 * bufferlist.C (emergencyWriteAll): the compiler complains that
9677 there is more than one possible lyx::class_fun template to choose from.
9678 I re-named the void specialisation as lyx::void_class_fun.
9680 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9682 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9683 the compiler is is unable to find tostr in write_attribute.
9685 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9687 * buffer.C (sgmlError): hide #warning
9689 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9691 * xtl/*: get rid of xtl, which is not in use anyway
9693 * LyXAction.C (init):
9694 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9695 were unimplemented xtl experimentation
9697 2002-06-04 André Pönitz <poenitz@gmx.net>
9699 * lyxfunc.C: disable array operation on simple formulae
9701 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9703 * converter.C: constify a bit
9705 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9707 * lyx_gui.C: check xforms version correctly
9709 2002-04-30 Herbert Voss <voss@lyx.org>
9711 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9714 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9716 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9717 attempt to register it with a VCS)
9719 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9721 * lyx_main.C (init): honor variables LYX_DIR_13x and
9724 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9728 * lyx_main.C: fix a crash on bad command line,
9729 and give a useful exit status on error
9731 * lyxfunc.C (doImport): allow -i lyx to work
9733 2002-03-30 André Pönitz <poenitz@gmx.net>
9735 * lyxfunc.C: mathed font changes
9737 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9752 * trans_mgr.h: srcdocs, and some minor cleanups
9754 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9757 call getFont all the time)
9759 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * switch from SigC signals to boost::signals
9763 2002-05-29 André Pönitz <poenitz@gmx.net>
9765 * paragraph_pimpl.C (getChar): don't call size() too often...
9767 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * paragraph_pimpl.C (insertChar): do not try to update tables when
9770 appending (pos == size())
9772 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9773 in order to reduce drastically the number of comparisons needed to
9774 parse a large document
9776 2002-05-29 André Pönitz <poenitz@gmx.net>
9782 * textclasslist.[Ch]:
9783 * sp_ispell.h: whitespace change
9785 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9788 lyxaction directly now.
9790 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9794 * lyxvc.C: remove unused headers
9796 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9803 * undo_funcs.C: some cleanups. Use shared_ptr
9804 and a template for the undo stacks.
9806 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9808 * BufferView_pimpl.h:
9809 * BufferView_pimpl.C:
9816 * text2.C: use key_state/mouse_state
9818 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9820 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9823 * chset.C: change include order
9824 (loadFile): use boost regex and get rid of LRegex and LSubstring
9826 * Makefile.am (BOOST_LIBS): new variable
9829 * LaTeX.C: change include order.
9830 (scanAuxFile): use boost regex and get rid of LRegex and
9834 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9839 * FontInfo.C: moved to frontends/xforms/
9842 * FontLoader.C: moved into frontends for GUIIzation
9847 * lyxfunc.C: changes from above
9849 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9851 * LColor.C: remove spurious X include
9853 * BufferView_pimpl.C:
9858 * text2.C: move font metrics to frontends/
9860 2002-05-24 Juergen Vigna <jug@sad.it>
9862 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9863 setting the undo_cursor.
9865 * ParagraphParameters.h: include local includes first.
9867 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9869 * BufferView_pimpl.C:
9870 * BufferView_pimpl.h:
9874 * screen.C: move WorkArea into frontends/
9880 * BufferView2.C: move LyXScreen into frontends/
9884 * lyx_gui.C: move lyxlookup into frontends/xforms/
9886 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9889 * BufferView_pimpl.C:
9899 * bufferview_funcs.C:
9912 * vc-backend.C: move LyX/XFormsView into frontends/
9914 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9926 * text2.C: move Painter to frontends/
9928 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9930 * buffer.C: comment out some some code that depend upon lyx_format
9933 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9934 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9936 * buffer.h (NO_COMPABILITY): turn off compability
9938 * ColorHandler.C: include scoped_array.hpp
9940 * font.C: Use more specific smart_ptr header.
9943 * ShareContainer.h: ditto
9947 * BufferView_pimpl.h: ditto
9948 * ColorHandler.h: ditto
9950 * kbmap.C (defkey): change call to shared_ptr::reset
9952 2002-05-21 Juergen Vigna <jug@sad.it>
9954 * buffer.C (insertErtContents): fix to insert ert asis if it is
9955 non empty. Skip it completely if it contains only whitespaces.
9957 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView_pimpl.C:
9960 * BufferView2.C: clear selection on paste (bug 393)
9962 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * DepTable.C: include ctime
9966 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9968 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9970 2002-05-14 Juergen Vigna <jug@sad.it>
9972 * text.C (breakParagraph): fixed function to honor the keepempty
9973 layout in the right maner and also to permit the right breaking
9974 algorithm on empty or non empyt keepempty paragraphs.
9976 * paragraph.C (breakParagraph): we have to check also if the par
9977 is really empty (!size()) for isempty otherwise we do the wrong
9980 2002-05-10 Juergen Vigna <jug@sad.it>
9982 * buffer.[Ch] : The following are only changes to the ert
9983 compatibility read reading old LaTeX layout and font stuff and
9984 convert it to ERTInsets.
9986 * buffer.h: added isErtInset().
9988 * buffer.C (struct ErtComp): add a fromlayout bool to check
9989 if we're inside a LaTeX layout.
9990 (isErtInset): new helper function.
9991 (insertErtContents): look for other ert insets before this one
9992 and insert the contents there, so that we don't have subsequent
9993 ERT insets with nothing between them. This way we create only one
9994 inset with multiple paragraphs. Also check if we don't insert only
9995 spaces ' ' as they are ignored anyway afterwards in the .tex file
9996 so if we have only spaces we will ignore this latex part in the
9998 (parseSingleLyXformat2Token \\layout): better compatibility when
9999 reading layout-latex stuff.
10000 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10002 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10003 stuff after reading the inset only get the information back from
10006 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10008 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10010 * LaTeXFeatures.C (getBabelOptions): New method.
10012 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * BufferView_pimpl.C (Dispatch): work around missing argument for
10017 2002-05-08 Juergen Vigna <jug@sad.it>
10019 * text.C (leftMargin): handle paragraph leftindent.
10021 * paragraph.C (writeFile): write the new \\leftindent tag.
10022 (validate): handle leftindent code.
10023 (TeXEnvironment): handle paragraphleftindent code again.
10025 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10027 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10028 for paragrap_extra indent code and new token \\leftindent.
10029 (latexParagraphs): handle the leftindent as environment.
10031 * ParameterStruct.h: added leftindent support.
10033 * ParagraphParameters.C (leftIndent): added support functions for
10034 the paragraph left indent.
10036 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10039 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10041 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10044 * text.C (computeBidiTables): No bidi in insetERT.
10046 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10049 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10051 * version.C.in: pre 5
10053 2002-05-02 José Matos <jamatos@fep.up.pt>
10054 * buffer.C (makeDocBookFile): white space changes, add newline to
10056 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10058 * tabular.C (docBook): fix typo.
10060 2002-05-03 Juergen Vigna <jug@sad.it>
10062 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10063 change in LyXText as we can not be sure it was not freed.
10064 (drawOneRow): remove unused code.
10066 * text.C (drawInset): redo the calculation of the need_break_row as
10067 it could have a row which was already freed.
10068 (draw): look at the return value of drawInset and return false if
10069 it also returned false.
10070 (paintRowText): look at the return value of draw and return false if
10071 it also returned false.
10073 * lyxtext.h: added bool return type to drawInset() and draw() so that
10074 if we have a change in the row so that the rowbreak has to be redone
10075 we abort drawing as it will be called again.
10077 2002-05-02 Juergen Vigna <jug@sad.it>
10079 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10080 a change in the maintext also if we're inside an inset.
10081 (Dispatch): set the cursor again after a break line and after the
10082 screen has been updated as it could be we're in a different row.
10084 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10085 to set the cursor behind the pargraph with > size().
10086 (setCursor): check also for the same paragraph when checking where
10087 to put the cursor if we have a NFR inset.
10089 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10090 parts of layout read further up as it still was in the wrong
10093 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10095 * screen.C (drawFromTo): change sine fullRebreak always return
10098 * buffer.C (parseSingleLyXformat2Token): reindent some
10100 * BufferView_pimpl.C (update): change since fullRebreak always
10102 (Dispatch): git rid of the last hardcoded "Standard"s.
10104 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10106 * text2.[Ch] (fullRebreak): make it return void now that we always
10109 2002-04-30 Juergen Vigna <jug@sad.it>
10111 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10112 ert compatibility check for "latex" layout.
10114 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10116 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10117 minipages: use col% instead of p%, and also use the current font.
10118 (makeLaTeXFile): Fix use babel condition.
10119 (parseSingleLyXformat2Token): Correct font when reading old floats.
10121 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10123 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10124 inserting list of floats.
10126 2002-04-25 Herbert Voss <voss@lyx.org>
10128 * MenuBackend.C (expand): don't add the graphics extensions to the
10131 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10134 non-existing layout, do not complain if it was the default layout
10135 of the original class (bug #342)
10137 2002-04-24 Juergen Vigna <jug@sad.it>
10139 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10140 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10142 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10144 * buffer.C (getBibkeyList): If using \bibliography, return the
10145 option field with the reference itself. Enables us to provide natbib
10146 support when using \bibliography.
10148 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10150 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10152 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10153 natbib is provided by the LaTeX class.
10155 2002-04-23 Juergen Vigna <jug@sad.it>
10157 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10160 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10162 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10166 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10167 ensuremath around textordmasculine, textordfeminine and
10170 2002-04-19 Juergen Vigna <jug@sad.it>
10172 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10173 reinitializing the buffer otherwise row-dimensions may be wrong.
10174 (update): reset also the selection cursors if they do exits otherwise
10175 their x/y positions may be wrong.
10177 * text2.C (cursorDown): don't enter the inset if we came from a row
10178 above and are one row over the inset.
10180 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10181 really leaving an inset.
10183 2002-04-18 Juergen Vigna <jug@sad.it>
10185 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10186 of the selected paragraph does not have the selected layout also if
10189 * text2.C (setLayout): fixed bug which did not change last selected
10192 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10193 changed the read and substituted \\end_float with \\end_inset!
10195 * BufferView_pimpl.C (cursorPrevious):
10196 (cursorNext): fixed to make it work with rows heigher than the work
10197 area without moving the cursor only the draw of the row.
10198 (workAreaMotionNotify): fix jumping over high rows.
10200 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10205 2002-04-16 Juergen Vigna <jug@sad.it>
10207 * text2.C (setCursor): set also the irow().
10208 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10210 (cursorDown): support for locking an inset if the x_fix value goes
10211 inside it. That way I can transverse insets too with cursor up/down.
10213 * lyxrow.h: added irow helper function same as other (i) functions.
10215 * BufferView_pimpl.C (cursorPrevious):
10216 (cursorNext): fixed for insets!
10218 2002-04-15 Juergen Vigna <jug@sad.it>
10220 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10221 position otherwise it is wrong in some cases.
10223 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10224 inside the inset before the call.
10226 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10228 * buffer.[Ch] (getBibkeyList): make it const.
10230 2002-04-12 Juergen Vigna <jug@sad.it>
10232 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10234 * text2.C (getCursorX): new helper function
10235 (setCursor): compute also ix_
10236 (setCursorFromCoordinates): set also ix.
10238 * lyxcursor.h: added ix_ and helper functions.
10240 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10242 * buffer.C (insertStringAsLines): dont break paragraph if the this
10243 paragraph is inside an inset which does not permit it!
10245 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10246 also with no chars on this paragraph.
10247 (paintRowText): only paint stuff if it's inside the workarea!
10249 * paragraph.C (breakParagraph): honor keepempty flag and break the
10250 paragraph always below not above.
10252 * BufferView2.C (unlockInset): update the paragraph layout on inset
10253 unlock as we changed paragraph in such a case.
10255 * lyxfind.C (LyXFind): clear the former selection if not found!
10257 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10258 again called in insertChar().
10260 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10261 an inset which uses the whole row!
10262 (rightMargin): ditto.
10263 (insertChar): force a rebreak if we inserted an inset!
10265 2002-03-28 Herbert Voss <voss@lyx.org>
10267 * lyxlength.[Ch]: add inBP() to get the right PS-point
10268 units (BigPoint). With inPixels we have rounding errors
10270 2002-04-11 Juergen Vigna <jug@sad.it>
10272 * text2.C (setCursorFromCoordinates): set iy to the right value.
10273 (setCursor): add check if row->previous exists!
10275 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10276 an old float_type as this was the case in the old code!
10278 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10280 * BufferView2.C (showLockedInsetCursor): use iy
10281 (fitLockedInsetCursor): ditto
10283 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10284 locked insets as there we have the right value now.
10286 * lyxcursor.C: added iy_ variable and iy functions to set to the
10287 baseline of cursor-y of the locked inset.
10289 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10290 (setCursor): fixed for insets which need a full row.
10292 * text.C (rowLastPrintable): don't ignore the last space when before
10293 an inset which needs a full row.
10294 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10295 as last character of a row when before a inset which needs a full row.
10297 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * version.C.in: update date
10301 * text2.C (fullRebreak): try to always return true and see what
10304 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10306 * MenuBackend.C (expand): use Floating::listName
10308 * FloatList.C (FloatList): add listName argument to the built-in
10311 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10312 text associated with the float.
10314 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10316 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10318 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10320 * ShareContainer.h: add a couple of missing typenames.
10322 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10324 * lyxrc.C (getDescription): use _() correctly rather than N_().
10326 2002-03-28 Herbert Voss <voss@lyx.org>
10328 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10329 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10331 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10334 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10336 2002-03-29 Juergen Vigna <jug@sad.it>
10338 * lyxfunc.C (dispatch): add a missing fitCursor call.
10340 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10341 it was scrolled by a cursor move, so return the bool status.
10343 * BufferView.C (fitCursor): return the bool flag also to the outside
10344 world as this is needed.
10346 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10348 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10349 call the edit() as it is not needed (and wrong) IMO.
10350 (workAreaButtonPress): set the screen_first variable before evt.
10351 unlock the inset as this may change screen_first and then we have
10352 a wrong y position for the click!
10354 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * MenuBackend.C (expand): another translation that I missed
10358 2002-03-28 Juergen Vigna <jug@sad.it>
10360 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10362 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10364 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10366 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10368 * MenuBackend.C (expand): fix export/view/update when there is no
10371 2002-03-27 Herbert Voss <voss@lyx.org>
10373 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10376 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10378 * bufferview_funcs.C (currentState): only show paragraph number
10379 for is DEVEL_VERSION is set.
10381 * lyxfunc.C (dispatch): put warning in INFO channel
10383 * MenuBackend.C (expand): translate the name of floats
10385 * FloatList.C (FloatList): mark the float names for translation
10387 * converter.C (convert): use LibScriptSearch
10389 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10391 * MenuBackend.C (defaults): fix default menu (we might as well get
10394 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10396 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10399 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * lyxvc.C: reorder includes.
10403 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10405 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10408 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10410 * CutAndPaste.C: change layouts earlier on paste
10411 to avoid crashing when calling getFont()
10413 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10415 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10418 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10420 * WorkArea.C: remove 'Pending' debug message.
10422 * most files: ws cleanup
10424 * buffer.[Ch]: ws changes
10426 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10428 2002-03-21 Juergen Vigna <jug@sad.it>
10430 * tabular.C (SetMultiColumn): collapse also the contents of the
10431 cells and set the last border right. Added a Buffer const * param.
10433 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10438 2002-03-19 Juergen Vigna <jug@sad.it>
10440 * text2.C (clearSelection): reset also xsel_cache.
10442 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10443 where it needs to be called (John tells us to do so too :)
10444 (selectionLost): reset sel_cache.
10446 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10448 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * text2.C (setCursorIntern): put debuging code in INSETS channel
10452 2002-03-19 André Pönitz <poenitz@gmx.net>
10454 * lyxfunc.C: tiny whitespace change
10456 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * ToolbarDefaults.C (init):
10459 * LyXAction.C (init):
10461 * BufferView_pimpl.C (Dispatch):
10462 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10464 2002-03-19 Allan Rae <rae@lyx.org>
10466 * exporter.C (Export): removeAutoInsets before doing anything else.
10467 While I've just introduced a dependency on BufferView this really is
10468 the best place to clean the buffer otherwise you need to cleanup in
10469 a dozen places before calling export or cleanup in a dozen functions
10472 * converter.C (runLaTeX):
10473 (scanLog): Better handling of removeAutoInsets and screen updates.
10475 * lyxfunc.C (dispatch): small whitespace changes
10477 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * WorkArea.C (C_WorkAreaEvent): return a value.
10480 (event_cb): return 1 if we handled the event, 0 otherwise.
10482 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10484 2002-03-18 Juergen Vigna <jug@sad.it>
10486 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10487 (GetAdditionalWidth): ditto.
10488 (RightLine): ditto.
10491 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10492 inset if we're there actually (probably not used right now but this
10493 is the direction to go for unifying code).
10494 (paste): disable code to clear the selection.
10496 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10497 inside an InsetText and move the check further up as it is in the
10500 * text2.C (pasteSelection): set a selection over the pasted text.
10502 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10504 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10505 and libgraphics to build on Cygwin.
10507 2002-03-15 Juergen Vigna <jug@sad.it>
10509 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10510 inserting an Inset into the paragraph. I know this is not the best
10511 fix but we already use current_view in CutAndPaste so we will remove
10512 all of it's using at the same time.
10514 * buffer.C (sgmlError): deactivated function till it is rewritten in
10515 the right mode, now it can create problems.
10517 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10518 before accessing it.
10520 2002-03-14 Juergen Vigna <jug@sad.it>
10522 * undo_funcs.C (textHandleUndo): do the right thing when updating
10523 the inset after the undo/redo.
10525 * text2.C (setCursor): just some testcode for #44 not ready yet.
10527 * undo_funcs.C (textHandleUndo): set the next() and previous()
10528 pointers of the paragraph to 0 before deleting otherwise we have
10529 problems with the Paragraph::[destructor].
10531 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10532 on a paragraph insertion.
10534 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * buffer.C (asciiParagraph): use += operator for char append to
10539 * paragraph.C (getFontSettings): compare >= not just >
10540 (highestFontInRange): ditto
10543 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * paragraph.C: change several algorithm to be more appripriate for
10546 the problem domain. This is lookip in FontList and in the InsetList.
10548 2002-03-13 André Pönitz <poenitz@gmx.net>
10551 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10553 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10558 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10560 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10562 * Painter.C (display): anon helper function, adjust code for this
10564 (pixmap): remove function.
10566 * Painter.h: remove private display variable.
10568 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10570 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10572 * WorkArea.[Ch]: remove figinset_canvas cruft.
10574 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10576 * lyxtextclass.C (operator): add one item cache optimization.
10578 * bufferlist.h: doxy changes
10580 * bufferlist.C: ws changes
10582 * DepTable.[Ch] (ext_exist): place const in the right spot.
10584 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10586 (workAreaExpose): call resizeInsets when the with BufferView changes.
10587 (Dispatch): adjust for protectedBlank removal
10588 (specialChar): call updateInset if the insert went ok.
10590 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10591 specialChar instead.
10593 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10595 * BufferView.h: doxy change
10597 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10599 * lyxtextclass.C (operator[]): remove non-const version
10600 (defaultLayout): remove non-const version
10602 2002-03-12 Juergen Vigna <jug@sad.it>
10604 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10605 did resize the LyXText too.
10607 * buffer.C (readLyXformat2): set layout information on newly allocated
10610 * tabular.C (OldFormatRead): set layout information on the paragraph.
10612 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10614 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10616 2002-03-11 Juergen Vigna <jug@sad.it>
10618 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10620 (resizeCurrentBuffer): force also the insets to resize themselfes.
10621 (moveCursorUpdate): fixed up for InsetText.
10623 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10626 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10627 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10628 value of Dialogs::tooltipsEnabled().
10629 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10631 2002-03-08 Juergen Vigna <jug@sad.it>
10633 * BufferView_pimpl.C (updateInset): update inset inside inset also
10634 if it isn't inside theLockingInset().
10636 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10638 * buffer.C (asciiParagraph): redo some of the word and line length
10640 (getLists): look for Caption instead of caption.
10642 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * buffer.C (Buffer): initialize niceFile to true
10646 (makeLinuxDocFile):
10647 (makeDocBookFile): make sure niceFile is true on exit
10649 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10651 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10653 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10655 * LyXSendto.C: remove.
10656 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10657 * lyx_gui.C: remove now-redundant comment.
10658 * ColorHandler.h: remove forward declaration of class WorkArea.
10659 * lyxfunc.C: remove #include "WorkArea.h".
10661 2002-03-07 Juergen Vigna <jug@sad.it>
10663 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10664 got moved away with the DEPM and also set the inset_owner always
10665 right which before could have been omitted.
10667 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10670 wanted layout is not found.
10672 2002-03-07 Juergen Vigna <jug@sad.it>
10674 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10676 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10678 * paragraph.C (breakParagraph): use default layout not layout of
10680 (Paragraph): clear ParagraphParameters.
10682 2002-03-06 Juergen Vigna <jug@sad.it>
10684 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10685 otherwise it would not be a valid lenght. Fixed a special case in
10686 the minipage compatibility read where we end the document with a
10689 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10690 was set as it could be 0 for InsetTexts first entry.
10692 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10694 * paragraph.C (writeFile): if layout is empty write out
10695 defaultLayoutName().
10697 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10698 file without named layout we set layout to defaultLayoutName().
10700 2002-03-06 Juergen Vigna <jug@sad.it>
10702 * CutAndPaste.C (copySelection): set layout for new paragraph.
10704 * text.C (prepareToPrint): leave ERT inset left aligned
10705 (leftMargin): don't indent paragraphs inside ERT insets
10707 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10709 * paragraph.C (breakParagraph): dont call clear do the work manually
10711 * paragraph.[Ch] (clear): remove function
10713 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * paragraph.C (Paragraph): dont call clear, the work has already
10718 * lyxtextclass.C (operator): assert if n is empty
10720 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10721 work manually instead.
10723 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10725 * BufferView_pimpl.C: protect selectionLost against text == 0
10727 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * text.C (breakParagraph): fix a setting layout to '0' problem.
10731 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10733 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10734 final location of file, for the included files, and graphics.
10736 2002-03-05 Juergen Vigna <jug@sad.it>
10738 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10740 2002-03-04 Juergen Vigna <jug@sad.it>
10742 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10744 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10745 last column of multicolumn cells.
10746 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10748 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10750 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10751 file if it doesn't go to a temporary file.
10753 * buffer.C (sgmlOpenTag):
10754 (sgmlCloseTag): remove extra newline insertion.
10756 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10758 * text.C (getRowNearY): comment out debug msg
10760 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10762 * text2.C: first -> first_y
10764 * text.C (getRowNearY): add some attemts at a possible
10765 optimization, not working.
10767 * tabular.[Ch]: add BufferParams to several function so that newly
10768 created paragraph can be initialized to he default layotu for the
10771 * tabular-old.C (ReadOld): add buf->params to call of Init
10773 * screen.C: rename text->first to text->first_y
10775 * paragraph.C (breakParagraph): always set layout in the broken
10778 * lyxtextclass.C (Read): remove lowercase
10781 (delete_layout): ditto
10783 * lyxtext.h: rename first -> first_y
10785 * lyxlayout.C (Read): remove lowercase
10788 (obsoleted_by): ditto
10790 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10792 * buffer.C (insertErtContents): add params are to InsetERT
10793 (parseSingleLyXformat2Token): add code to check if a paragraphs
10794 layout really exist.
10795 (parseSingleLyXformat2Token): add params to several inset
10797 (asciiParagraph): remove lowercase, do the layout comparisons with
10800 * BufferView_pimpl.C (cursorNext): first -> first_y
10801 (resizeCurrentBuffer): first -> first_y
10802 (updateScrollbar): first -> first_y
10803 (scrollCB): first -> first_y
10804 (workAreaMotionNotify): first -> first_y
10805 (workAreaButtonPress): first -> first_y
10806 (checkInsetHit): first -> first_y
10807 (cursorPrevious): first -> first_y
10808 (cursorNext): first -> first_y
10809 (Dispatch): add buffer_->params to severl inset contructors
10811 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * lyxlayout.C (Read): remove some debug info that I forgot.
10815 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10816 clean up the code slightly.
10817 (makeLinuxDocFile): ditto
10818 (makeDocBookFile): ditto
10820 * text2.C: layout as string
10822 * text.C: layout as string
10824 * paragraph_pimpl.C: layout as string
10826 * paragraph.[Ch]: layout as string
10828 * lyxtextclasslist.[Ch]: layout as string
10830 * lyxtextclass.[Ch]: layout as string
10832 * lyxtext.h: layout as string
10834 * lyxlayout.[Ch]: layout as string
10836 * lyx_cb.C: layout as string
10838 * bufferview_funcs.C: layout as string
10840 * bufferparams.C: layout as string
10842 * buffer.C: layout as string
10844 * LyXView.[Ch]: layout as string
10846 * LaTeXFeatures.[Ch]: layout as string
10848 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10850 * BufferView_pimpl.C: change current_layout to string, remove
10855 (workAreaButtonRelease): layout as string
10857 * BufferView2.C (unlockInset): adjust
10859 * vspace.C (asLatexCommand): use an explict temp variable.
10861 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10863 * Makefile.am: use FRONTEND_*
10865 2002-03-01 Juergen Vigna <jug@sad.it>
10867 * tabular.C (SetWidthOfMulticolCell): changed to something better
10868 I hope but still work in progress.
10869 (recalculateMulticolumnsOfColumn): renamed function from
10870 recalculateMulticolCells as it is more appropriate now.
10871 (SetWidthOfCell): calculate multicols better.
10873 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10875 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10877 * lyxfunc.C (processKeySym): print sequence also if it is
10878 `deleted' (complete)
10880 * kbsequence.C (print): print sequence even if it is deleted
10881 (complete would be a better word, actually).
10883 * lyxfunc.C (dispatch): print complete options after a prefix key
10885 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10887 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10889 * text2.C (setCharFont): eliminate setCharFont code duplication.
10891 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10894 LFUN_TABULAR_FEATURE (bug #177)
10896 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10898 * Makefile.am: remove figure.h
10900 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10902 * Bufferview_pimpl.C:
10914 * text2.C: remove #include "lyx_gui_misc.h".
10916 * LaTeX.C: added #include <cstdio>
10918 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10921 that the paragraph following this one can have.
10923 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10925 * vspace.C (asLatexCommand): fix bogus gcc warning
10927 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10929 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10931 * text2.C (setLayout): get rid of redundant code
10933 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10935 * text2.C (incDepth): make sure depth cannot be increased beyond
10938 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10940 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10941 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10943 * PainterBase.h (image):
10944 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10945 a LyXImage const *.
10947 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10951 * BufferView_pimpl.C:
10952 * BufferView_pimpl.h:
10972 * sp_spell.C: remove fig inset, and the crap house of
10973 cards that follows it
10975 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10980 * os2_errortable.h:
10981 * nt_defines.h: move .h into support/
10983 * vms_defines.h: remove
10985 * WorkArea.C: add space in debug output
10989 * buffer.C: add WITH_WARNINGS
10993 * bufferlist.C: s/retrive/retrieve/, add docs
11002 * chset.C: add docs
11004 * lyxgui.C: add ID to X error handler
11006 * lyxtestclass.c: fix typo
11008 2002-02-26 Juergen Vigna <jug@sad.it>
11010 * tabular_funcs.C (write_attribute): changed so that some default
11011 attributes are not written at all.
11012 (getTokenValue): set default values before trying to read the
11013 value so we have the return value always set as default if we don't
11014 find the token we search for.
11016 * tabular.C (Write): write bools as bools not as strings!
11018 2002-02-22 Juergen Vigna <jug@sad.it>
11020 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11021 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11023 * text.C (leftMargin): don't add an indent for paragraphs inside
11024 tabular cells (fix #208).
11026 2002-02-21 José Matos <jamatos@fep.up.pt>
11028 * tabular.C (docBook): fixed support for long tables.
11030 2002-02-20 Juergen Vigna <jug@sad.it>
11032 * text2.C (getFont): get the drawing font of the Inset if this
11033 paragraph is inside an inset (only important for InsetERT for now).
11035 * buffer.C (insertErtContents): use new lanugage params in ERT
11038 * CutAndPaste.C: commenting out seemingly uneeded code.
11040 2002-02-19 Allan Rae <rae@lyx.org>
11042 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11043 Iterators might be simple to use but they also get invalidated.
11044 (removeAutoInsets): renamed saved cursor tracking variables and added
11045 some comments to clarify what everything does.
11047 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11054 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11055 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11058 * vc-backend.h: remove #include "support/syscall.h"
11062 * converter.C: rearrange #includes in Lars' approved fashion.
11064 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11065 forward declare class Timeout in the header file.
11067 * XFormsView.C: changes due to the above.
11069 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11070 similar to LyXView.
11072 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11073 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11075 2002-02-18 José Matos <jamatos@fep.up.pt>
11077 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11080 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11082 * a lot of small ws changes
11083 * add a lot of using std::XXX
11084 * use std construcs some places where approp.
11085 * use some exisint stuff from lyxfunctional where approp.
11086 * Make file changes to use partial linking (lets test this now...)
11088 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11092 remove #include "support/syscontr.h" as it's redundant. Always has been.
11100 change Systemcalls::System to Systemcalls::Wait and
11101 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11102 No change of functionality, just reflects the stripped down Systemcalls
11105 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11107 * debug.[Ch]: add a GRAPHICS type to the enum.
11109 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11113 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11116 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11119 match the changes below.
11121 * text2.C (toggleInset): if there is not editable inset at cursor
11122 position, try to see if cursor is _inside_ a collapsable inset
11125 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11127 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11128 document menu has a nice checkbox
11130 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11132 * lyxlength.C (asLatexString): change PW to output as percent of
11135 * lengthcommon.C: change '%' to 't%'
11137 * lyxfunc.C (dispatch): a few comments from Martin
11139 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11143 * BufferView_pimpl.h:
11144 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11147 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * vspace.C (inPixels): fix compiler warning
11151 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * lyxfunc.C (getStatus): fix status message for disabled commands.
11155 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11157 * BufferView_pimpl.C: fix crash on close buffer
11158 during selection (#227)
11160 2002-01-27 Herbert Voss <voss@lyx.org>
11162 * buffer.C: link old Figure to new graphic inset
11164 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11166 * FontLoader.C (getFontinfo): Change the latex font names in order
11167 to match the names of type1inst.
11169 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11173 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11174 (extchanged): ditto
11176 (remove_files_with_extension): ditto
11177 (remove_file): ditto
11180 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11181 document is smaller than the work area height. Do not initialize
11182 static variables to 0.
11184 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11186 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11188 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11189 LFUN_LAYOUT_PARAGRAPHS.
11191 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11192 tabular. It is possible to provide a possible cell, which will
11193 typically be the actcell from the corresponding insettabular
11195 * lyxfunc.C (getStatus): small cleanup; disable
11196 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11199 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11201 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11203 * paragraph.C (startTeXParParams):
11204 (endTeXParParams): new methods. The LaTeX code to
11205 start/end paragraph formatting
11206 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11207 empty (fixes bug #200)
11209 * vspace.C (inPixels): adapt to the change below
11210 (inPixels): [later] more cleanups (remove unused variables)
11212 * lyxlength.C (inPixels): change to use a width and a height as
11215 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11218 Replaced with \paperwidth
11220 * DepTable.C (insert): add std:: qualifier
11222 2002-01-18 Allan Rae <rae@lyx.org>
11224 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11227 * text.C (drawInset): Turned out I didn't know enough about how
11228 rebreaking worked. This fixes most of the redraw problems. I see
11229 an occasional cursor trail when a line is broken now and the cursor
11230 placement can seem out by a few pixels also after a rebreak.
11232 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11234 * buffer.C (parseSingleLyXformat2Token): update because minipage
11235 width is now a LyXLength
11237 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11239 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11242 2002-01-17 Juergen Vigna <jug@sad.it>
11244 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11246 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11247 is set correctly and the inset is updated correctly.
11249 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11252 the beginning of the loop.
11254 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11256 * lyxrc.C: improve help for use_scalable_fonts
11258 2002-01-17 Allan Rae <rae@lyx.org>
11260 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11262 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11265 make sure to set their inset_owner to the right value (bug #171)
11267 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11270 * DepTable.C: Implement mtime checking to reduce time spent doing
11273 2002-01-16 Juergen Vigna <jug@sad.it>
11275 * tabular.C (GetAdditionalHeight): one of error fixed.
11277 * lyxrc.C (output): small fix in writing use_pspell.
11279 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11281 * sp_base.h: #include LString.h
11283 2002-01-16 Allan Rae <rae@lyx.org>
11285 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11286 Can someone check this please?
11288 * text.C (drawInset): It was possible that p.row would be removed by
11289 breakAgainOneRow upsetting a few other settings. There may be another
11290 small tweak possible by setting need_break_row = 0 when p.row has been
11291 removed but I don't know enough about the logic here.
11293 2002-01-15 Allan Rae <rae@lyx.org>
11295 * text.C (insertChar): removed conditional truism.
11297 * BufferView2.C (removeAutoInsets): More tweaks.
11298 cur_par_prev could be a stray pointer. Check for trailing empty line
11299 in case last line was cur_par and only had an error inset on it.
11301 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11306 * vc-backend.C (most methods):
11307 * exporter.C (Export):
11308 * converter.C (convert):
11310 * LyXSendto.C (SendtoApplyCB):
11311 * lyxfunc.C (dispatch):
11315 * lyx_cb.C (AutoSave):
11317 * BufferView_pimpl.C (MenuInsertLyXFile):
11318 * buffer.C (runChktex): use Buffer::filePath().
11320 * buffer.h: rename filename to filename_; rename filepath to
11321 filepath_ and make it private
11322 (filePath): new method
11324 * buffer.C (writeFile): use fileName()
11327 * lyx_main.C (init): fix starting of LyX when the binary is a
11328 link from so,ewhere else.
11330 * minibuffer.C: include <cctype> for isprint
11332 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11334 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11335 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11336 name clash with InsetCollapsable's width function.
11338 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * lastfiles.C: include <iterator>
11342 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11344 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11347 * buffer.C (makeLaTeXFile): ditto.
11348 Also make loop operation more transparent.
11350 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11352 * ToolbarDefaults.C: remove trailing comma closing namespace.
11354 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11356 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11359 * trans.C (Load): comment out unused variable, allowed.
11361 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11363 * minibuffer.[Ch] (append_char): new method to recieve input from the
11364 drop-down completion browser. If a key was pressed, then recieve this
11365 char and append it to the existing string.
11366 (peek_event): modify the positioning data passed to the completion
11367 browser so that it can be placed above the minibuffer rather than below.
11368 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11370 * LyXAction.C (init): alloe error-next for readonly documents.
11372 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11375 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * bufferlist.C (readFile): create the buffer _after_ checking that
11380 * lyxfunc.C (verboseDispatch): fix handling of arguments
11382 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11384 * lyxrc.C: use string::erase() instead of initializing to "".
11387 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11389 * BufferView_pimpl.h:
11390 * BufferView_pimpl.C:
11393 * text2.C: tell X when we have made a selection for copying
11395 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11397 * BufferView_pimpl.C (MenuInsertLyXFile):
11398 * lyxfunc.C (menuNew):
11400 (doImport): add shortcuts to directory buttons
11402 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11405 * lyxfunc.C (setStatusMessage):
11406 (getStatusMessage): new methods
11407 (getStatus):use setStatusMessage instead of setErrorMessage
11408 (dispatch): when function is disabled, set error message here
11409 [instead of in getStatus previously]
11411 * BufferView_pimpl.C (workAreaButtonRelease): update
11412 toolbar/menubar here too.
11414 2002-01-13 Allan Rae <rae@lyx.org>
11416 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11417 Now seems indestructible. Remaining task is to audit all other
11418 code affected by deleteEmptyParagraphMechanism. One small quirk
11419 left is that an empty document with an error in the preamble can
11420 be made to report an error but no error box appears. I don't know
11422 (removeAutoInsets): Improved comments.
11424 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11427 * Thesaurus.C: update for Aiksaurus 0.14
11429 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11431 * text2.C (firstParagraph): removed member function, all uses
11432 replaces with ownerParagraph
11433 (redoParagraphs): here
11434 (updateInset): here
11435 (toggleAppendix): here
11436 * BufferView2.C (insertErrors): here
11437 (setCursorFromRow): here
11439 2002-01-13 Allan Rae <rae@lyx.org>
11441 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11442 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11443 There is still a way to segfault this although you may have to do this
11444 multiple times: Have an InsetERT with an unknown command in it.
11445 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11446 <down-arrow>, <Enter> again, View->DVI, BANG!
11448 * text2.C (setCursor):
11449 (deleteEmptyParagraphMechanism):
11450 * lyxtext.h (setCursor):
11451 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11452 Making use of the return value may help fix other bugs.
11454 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11456 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11458 * LyXView.C (updateMenubar): call MenuBar::update here
11459 (updateToolbar): but not here
11460 (showState): do not update toolbar/menubar
11462 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11463 should need to care about that.
11465 * lyxfunc.C (verboseDispatch): simplify a bit
11466 (getStatus): have a version which takes a pseudoaction, and
11467 another which requires a (kb_action,string).
11469 * LyXAction.C (retrieveActionArg): make it work also when action
11470 is not a pseudo-action.
11471 (getActionName): simplify a bit
11474 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * lyxfunc.C (verboseDispatch): new families of methods with
11477 several ways to specify a command and a bool to indicate whether
11478 the command name and shortcut should be displayed in minibuffer
11479 (eventually, we could extend that to a finer bitmask like
11480 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11481 (dispatch): the pristine dispatch command which just, well,
11482 dispatchs! Note it still sets its result to minibuffer; I'm not
11485 * lyxfunc.h: remove setHintMessage
11487 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11489 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * BufferView_pimpl.C (specialChar): delete new inset if we have
11492 not been able to insert it.
11494 * kbmap.C: revert to using int instead of kb_action, since all we
11495 are dealing with is pseudo-actions.
11497 * LyXAction.C (searchActionArg): change to return int instead of
11498 kb_action, since the result is a pseudoaction.
11500 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11502 * buffer.C (insertErtContents): Fix (partially) the font bug.
11504 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11506 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11507 as the other one is broken on my machine!
11509 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11512 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11514 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11516 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11517 reflect their actual use. Provide compatibility code for older lyxrc
11520 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11522 change names of popup font variables in line with the changes to lyxrc.C
11524 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * buffer.C (asciiParagraph): avoid outputing a word twice after
11529 * lyxrc.C (getDescription): document that document_path and
11530 template_path can be empty.
11532 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * LaTeXFeatures.C (getMacros):
11535 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11537 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11539 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11541 (getPackages): rename feature "floats" to "float". Use an array to
11542 iterate over 'simple' features (i.e. just a \usepackage). Add
11543 handling of "amsmath" (renamed from "amsstyle").
11545 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11547 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11550 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11552 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11553 FuncStaus::FuncStatus & FuncStaus::some_method().
11555 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11557 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11558 of the func_satus stuff. Edited and massaged in various ways by
11561 * lyxfunc.C (getStatus): use FuncStatus
11563 2002-01-08 Juergen Vigna <jug@sad.it>
11565 * text.C (nextBreakPoint): use function Inset::isChar().
11567 * paragraph.C (TeXOnePar): use function
11568 Inset::forceDefaultParagraphs.
11570 * buffer.C (latexParagraphs): use function
11571 Inset::forceDefaultParagraphs.
11573 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11575 * lyx_gui.C (init): set the style of the menu popups to
11576 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11578 2002-01-07 Juergen Vigna <jug@sad.it>
11580 * text.C (setHeightOfRow): small fix
11581 (prepareToPrint): don't look at alignment if we don't have the place
11584 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11586 * box.C: New file. Move the Box methods and functions out of box.h,
11587 following Lars' suggestion.
11589 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11591 * box.h: #include "support/LOstream.h", needed for inlined function.
11594 * lyxtextclasslist.C: added some using std declarations.
11596 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11598 * box.h: make signed dimensions to allow insets wider than
11599 the screen (bug #162)
11601 * BufferView_pimpl.C: add some insetHit debug
11603 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11605 * vc-backend.C: add FIXME
11607 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * lyxfunc.C (getStatus): enable code for showing math font status
11612 2002-01-07 Juergen Vigna <jug@sad.it>
11614 * text.C (nextBreakPoint): removed debug output not needed anymore.
11616 2002-01-06 Juergen Vigna <jug@sad.it>
11618 * text.C (nextBreakPoint): fixed up this function we had this bug
11619 since ever but now hopefully we break row better.
11620 (insertChar): we have to check if an inset is the next char as it
11621 could now happen that a large inset is causing a break.
11623 2002-01-05 Juergen Vigna <jug@sad.it>
11625 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11626 if it doesn't like to be drawed.
11628 2002-01-04 Juergen Vigna <jug@sad.it>
11630 * BufferView2.C (lockInset): forgot to set a cursor.
11632 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11634 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11636 * FormMathsPanel.C:
11639 * form_maths_panel.C:
11640 * form_maths_panel.h:
11641 * form_maths_panel.fd: implemented sub- and super- buttons in math
11644 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11645 (or ^ space) to be used as in TeX (req'd by André).
11647 * lyxfunc.C: Allow ^ and _ again to be used both as
11648 super/subscript (mathed) and as themselves (in text).
11650 2002-01-03 Allan Rae <rae@lyx.org>
11652 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11653 "LyX" or the filename of the current buffer if it has one. This is a
11654 modified form of John Levon's patch.
11656 * XFormsView.C (setWindowTitle): also set icon title.
11658 * LyXView.h (setWindowTitle): signature changed.
11659 * XFormsView.h (setWindowTitle): ditto.
11661 2002-01-02 Juergen Vigna <jug@sad.it>
11663 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11665 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11667 * screen.C (topCursorVisible): introduce a temp var for
11668 text->cursor.row(), handle the case where this row is null. (kindo
11671 * text2.C (setCursor): add a couple of asserts.
11673 * paragraph.h (inset_iterator): add -> operator
11675 * paragraph.[Ch] (autoDeleteInsets): remove member function
11677 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11678 cursor pos correctly and handle inset deletion by itself.
11679 (insertErrors): move iterator declaration out of for expression
11681 * lyxtextclass.C: add <algorithm>
11683 * Makefile.am: added the new files to sources, removed layout.C
11685 * layout.C: removed file
11687 * layout.h: remove LYX_DUMMY_LAYOUT
11689 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11693 * lyxtextclass.[Ch]:
11694 * lyxtextclasslist.[Ch]: new files
11696 * include order changes to a lot of files, also changes because of
11699 2001-12-27 Juergen Vigna <jug@sad.it>
11701 * buffer.C (asciiParagraph): more fixes.
11703 * tabular.C (ascii): make ascii export support export of only the
11704 data separated by a column-delimiter.
11705 (ascii): better support for ascii export.
11707 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11709 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11711 * tabular_funcs.C: use a "using std::getline" instead of the
11712 previous fix from Angus (necessary for cxx + lyxstring)
11714 2001-12-24 Juergen Vigna <jug@sad.it>
11716 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11718 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11719 problems. First check a minipage also if we have some ert-contents
11720 (not only on par->size(), second set the right depth of the paragraph
11721 on the relink to the root-paragraph-list!
11723 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11724 which then did not anymore update the main paragraphs on undo/redo!
11726 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11728 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11729 code. Support all font-changing funcs (even those which are not in
11730 menu currently). Support for reporting font settings in
11731 mathed (disabled until Andre provides a function on mathed's side).
11733 * func_status.h (toggle): small helper function to set toggle
11736 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11738 * tabular_funcs.C: getline -> std::getline
11740 2001-12-21 Juergen Vigna <jug@sad.it>
11742 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11743 accessed and could be 0 (I couldn't generate this but it seems
11746 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11749 * tabular_funcs.h: here and include iosfwd
11751 2001-12-20 Juergen Vigna <jug@sad.it>
11753 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11754 inside inset but undo_par was.
11756 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * Thesaurus.C: always include <config.h> in sources.
11762 * box.h: do not include <config.h> in header files
11764 * text.C (paintLastRow): remove unused variable
11766 * text.C (transformChar):
11768 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11770 * Painter.C (text):
11771 * font.C (width): rewrite to use uppercase() instead of
11774 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11776 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11778 * lyxfind.C: clean up of find failure position change
11780 2001-12-20 Juergen Vigna <jug@sad.it>
11782 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11784 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11785 (TeXRow): added to LaTeX a single tabular row.
11786 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11787 (Latex): simplified and finally good LT-h/f support.
11788 (various_functions): just small adaptions for LT-h/f support.
11790 * tabular_funcs.[hC]: added and moved here all not classfunctions
11793 2001-12-19 Juergen Vigna <jug@sad.it>
11795 * tabular.[Ch]: better support for longtabular options (not finished
11798 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * text.C (paintLastRow): use the label font instead of the font of
11801 the last character to compute the size of *_BOX. This makes more
11802 sense and avoids a crash with empty paragraphs.
11803 Use Painter::rectangle to draw EMPTY_BOX.
11805 2001-12-19 Juergen Vigna <jug@sad.it>
11807 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11808 the paragraphs if the replaced paragraph is not the first one!
11809 Tried to delete not used paragraphs but does not work yet so for
11810 now it's inside #ifdef's and by default off!
11812 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11814 * MenuBackend.C: include "lyx_main.h" instead of declaring
11815 lastfiles (actually was declared as LastFiles* instead of a
11818 2001-12-17 Juergen Vigna <jug@sad.it>
11820 * tabular.C (AppendColumn): applied John's fix
11822 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11826 * BufferView_pimpl.h:
11827 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11830 * box.h: new start of class for above
11832 * lyxfunc.C: ignore space-only minibuffer dispatches.
11833 Show the command name when it doesn't exist
11835 * minibuffer.C: don't add empty lines to the history
11837 * minibuffer.C: add a space on dropdown completion
11839 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11841 * text.C: fix line above/below drawing in insets
11843 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * lyxlength.C (LyXLength): Initialize private variables.
11847 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11849 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11850 when inserting error insets.
11852 2001-12-13 Juergen Vigna <jug@sad.it>
11854 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11855 actually sometimes the before-paragraph.
11856 (setUndo): don't clear the redostack if we're not actually undoing!
11858 2001-12-06 Juergen Vigna <jug@sad.it>
11860 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11861 and fixed redoing of main paragraph, so we can use it now ;)
11863 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11865 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11870 2001-12-13 André Pönitz <poenitz@gmx.net>
11873 * undo_func.C: minor cleanup
11875 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11877 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11878 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11879 font in urw-fonts package which is marked as -urw-fontspecific and
11880 does not work (incidentally, changing the encoding in the
11881 fonts.dir of this package to -adobe-fontspecific fixes the
11884 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11885 is a crash when undoing first paragraph (Juergen, please take a
11886 look). THis does not mean the undo fix is wrong, just that it
11889 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11890 the (Paragraph*) version when needed instead of duplicating the
11893 * text.C (workWidth): use Inset::parOwner to find out where the
11894 inset has been inserted. This is a huge performance gain for large
11895 documents with lots of insets. If Inset::parOwner is not set, fall
11896 back on the brute force method
11898 * paragraph_pimpl.C (insertInset):
11899 * paragraph.C (Paragraph):
11900 (cutIntoMinibuffer): set parOwner of insets when
11901 inserting/removing them
11903 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11905 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11911 * mathed/formulabase.C:
11912 * mathed/math_cursor.[Ch]:
11913 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11916 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * lyxlength.[Ch] (operator!=): new function
11920 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * text.C (workWidth): use Inset::parOwner to find out where the
11923 inset has been inserted. This is a huge performance gain for large
11924 documents with lots of insets. If Inset::parOwner is not set, fall
11925 back on the brute force method
11927 * paragraph_pimpl.C (insertInset):
11928 * paragraph.C (Paragraph):
11929 (cutIntoMinibuffer): set parOwner of insets when
11930 inserting/removing them
11932 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11934 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * tabular-old.C (getTokenValue):
11937 * tabular.C (getTokenValue):
11938 (write_attribute): new versions for LyXLength
11939 (everywhere): adjust the use of widths
11941 * tabular.h: change the type of widths from string to LyXLength
11943 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11945 * paragraph.C: fixed missing line number count when exporting
11946 Environments to LaTeX file
11948 * buffer.C: added informational message for checking line numbers.
11950 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11952 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11953 paragraph, do the 'double space' part, but not the 'empty
11956 * text.C (workWidth): small optimization
11957 (getLengthMarkerHeight): use minimal size for negative lengths.
11959 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11961 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11963 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11965 2001-12-11 André Pönitz <poenitz@gmx.net>
11968 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11970 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11972 * text2.C: keep selection on a setFont()
11974 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11976 * lyx_cb.C: another bv->text misuse, from insert label
11978 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11981 * kbsequence.C: re-instate nmodifier mask
11983 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11985 * lyx_main.h: make lyxGUI private.
11987 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11989 * lyxfind.C: place the cursor correctly on failed search
11991 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * text.C (getLengthMarkerHeight): for small heights, the arrows
11994 are not always on top/bottom of the text
11995 (drawLengthMarker): smaller arrows; take the left margin in
11996 account; draw also vfills.
11998 (paintLastRow): remove special code for vfill and standard spaces,
11999 since everything is handled in drawLengthMarker now.
12001 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12003 * buffer.C (insertErtContents): try to handle font and language
12004 interaction a bit better.g
12006 * ColorHandler.C (updateColor): change the hash to cover the whole
12007 LColor enum, ws cleanup
12008 (getGCLinepars): ditto
12009 (getGCLinepars): only lookup in the linecache once.
12011 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12013 * iterators.C (operator++): Make the iterator more robust
12015 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12017 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12019 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12022 * text.C: better added space drawing
12024 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12027 * BufferView2.C: fix layout combo update on inset unlock
12029 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12031 * Makefile.am: don't compile unused files
12033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12037 * LyXAction.C: remove old LFUN_LAYOUTNO
12039 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12041 * paragraph_pimpl.h:
12042 * paragraph_pimpl.C: isTextAt() doesn't need font param
12044 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12047 * lyxlex.C: little cleanup
12049 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12051 * BufferView_pimpl.C: fix insertAscii for insets
12053 2001-12-05 Juergen Vigna <jug@sad.it>
12055 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12056 set the right font on the "multi" paragraph paste!
12058 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * lyxlength.C: remove out-commented code.
12066 * BufferView_pimpl:
12080 * vc-backend.C: change "while(" to "while ("
12082 * lyxlength.[Ch]: add zero function to check if length is zero or
12084 * lyxgluelength.C: use it
12086 2001-12-05 Allan Rae <rae@lyx.org>
12088 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12089 Works for 2.95.3, from what I understand of Garst's reports this should
12090 work for other g++ versions. We're screwed if the abs(int) definition
12091 changed between bugfix releases of gcc.
12093 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12095 * text.C: fix chapter label offset !
12097 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12100 * text.C: fix hfill at end of line, clean up
12102 2001-12-04 Juergen Vigna <jug@sad.it>
12104 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12105 that we force an update of the inset and it's owners if neccessary.
12107 2001-12-03 Juergen Vigna <jug@sad.it>
12109 * text.C (rowLast): simplified code
12111 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12113 * lyxfunc.C: fix show options on timeout
12115 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * screen.C (topCursorVisible): scroll half a page when the cursor
12118 reached top of bottom of screen
12120 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12122 * minibuffer.C: deactivate on loss of focus
12124 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * vspace.[Ch] (operator!=): add operator.
12128 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12130 * BufferView_pimpl.C: refuse to open an inset when
12131 there's a selection.
12133 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12135 * BufferView_pimpl.C: allow to click on RHS of full row insets
12137 2001-11-30 Juergen Vigna <jug@sad.it>
12139 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12140 insets for undo reasons.
12142 2001-11-28 André Pönitz <poenitz@gmx.net>
12144 * vspace.[Ch]: cosmetical changes
12146 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12156 * kbsequence.C: part re-write of old kb code
12159 * WorkArea.C: remove Lgb_bug_find_hack
12161 2001-11-30 José Matos <jamatos@fep.up.pt>
12163 * buffer.C (makeDocBookFile): add a comment to point a hack.
12164 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12165 Fixed a double write of labels.
12167 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12170 * LaTeX.h Fixed bug in LaTeX class where it would not
12171 re-run latex if no depfiles were changed, but the .dvi was removed.
12173 2001-11-28 André Pönitz <poenitz@gmx.net>
12175 * all the files from the change on 2001/11/26:
12176 use lyx::layout_type instead of LyXTextClass::size_type
12177 use lyx::textclass_type instead of LyXTextClassList::size_type
12179 2001-11-29 Juergen Vigna <jug@sad.it>
12181 * text.C: added support for paragraph::isFreeSpacing()
12183 * buffer.C: same as above
12185 * paragraph.h: inserted isFreeSpacing() function to enable
12186 FreeSpacing inside InsetERT.
12188 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12189 of the paragraph's in the cut/copy buffer to 0!
12191 * text2.C (removeRow): remove the assert as it can!
12193 * lyxtext.h: added helper function firstRow returning firstrow and
12194 made firstrow private again.
12196 * BufferView2.C (lockInset): don't relock if we're already locked!
12198 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12199 the only paragraph.
12200 (removeRow): added Assert::(firstrow)
12202 * debug.C: forgot to add INSETTEXT here.
12204 2001-11-28 Juergen Vigna <jug@sad.it>
12206 * sp_spell.C (initialize): changed error text to more general
12207 spellchecker command use (not only ispell!)
12209 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12211 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12213 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12215 * vspace.C: initialise lyxgluelength on failure
12217 2001-11-28 Allan Rae <rae@lyx.org>
12219 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12220 declaration & definition that looks like a function declaration.
12222 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12224 * BufferView2.C (copy):
12225 (copyEnvironment): do not clear the selection when doing a copy.
12227 * text.C (paintFirstRow): compilation fix
12229 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12231 * tabular.C (Latex): correct line count when writing latex.
12233 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12235 * paragraph_pimpl.h:
12236 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12239 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12243 * LColor.C: change vfillline->added_space
12245 * text.C: add markers and text for added space
12247 * vspace.C: fix comment
12249 2001-11-28 André Pönitz <poenitz@gmx.net>
12251 * paragraph.C: whitespace changes
12252 * all the other files from the change on 2001/11/26:
12253 change *::pos_type into lyx::pos_type
12255 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12257 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12258 language of the document when inserting error insets.
12260 2001-11-26 André Pönitz <poenitz@gmx.net>
12262 * BufferView_pimpl.[Ch]:
12270 * paragraph_pimpl.[Ch]:
12273 * text2.C: reduce header dependencies, introduce type for positions
12275 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12277 * <various>: change to use Alert.h
12279 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12281 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12282 when encountering an unknown token.
12283 (readLyXformat2): Show an error message if there were unknown tokens.
12285 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12288 * BufferView_pimpl.C:
12292 * text2.C: use par->isInset()
12294 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12296 * paragraph_pimpl.h:
12297 * paragraph_pimpl.C: cleanup
12299 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12301 * text2.C (removeRow):
12302 * text.C (setHeightOfRow): remove useless (and costly) call to
12305 2001-11-20 Allan Rae <rae@lyx.org>
12307 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12308 Now need Inset*::checkInsertChar() to return true for appropriate
12309 cases so that the characters in the minibuffer will actually be
12312 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12314 * text.C: change the order of the includes.
12315 (workWidth): initialize it at once.
12316 (workWidth): make maxw unsigned
12317 (setHeightOfRow): remove unused variable (inset)
12318 (selectSelectedWord): remove unused variable (inset)
12319 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12321 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12324 server is not running.
12326 (closeConnection): add debug info when server is disabled.
12328 * ColorHandler.C (getGCForeground): send debug message to GUI
12331 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12333 * kbmap.C (bind): modify because return conventions of
12334 kb_sequence::parse have changed.
12336 * kbsequence.C (parse): only ignore spaces and not any stupid
12337 control character. This avoids tests like s[i] <= ' ', which are
12338 guaranteed to fail with 8bit characters and signed chars.
12339 Change return code to string::npos when there have been no error
12340 (0 was a bad idea when error is at first character)
12342 2001-11-14 José Matos <jamatos@fep.up.pt>
12345 * buffer.C (simpleDocBookOnePar): removed unused argument.
12347 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12349 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12350 insets which are part of a word. Paragraph::isLetter takes care of
12351 that now. Use Paragraph::isInset to identify insets.
12352 (selectSelectedWord): do not test for hyphenation break.
12354 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12355 that protected spaces are considered as spaces.
12357 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12360 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12363 * lyxserver.C: fix it. and small cleanup.
12365 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12367 * BufferView_pimpl.C: use inline helpers
12370 * LaTeXFeatures.C: fix typos
12373 * Spacing.C: move spacing_string into class
12375 * ToolbarDefaults.C: move stuff into namespace anon
12377 * layout.h: update enum
12379 * lyxfunc.C: use better debug
12381 * minibuffer.h: fix typo
12385 * WorkArea.C: add and use Debug::WORKAREA
12389 * text2.C: code re-organisation, inline helpers
12391 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12393 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12394 std::vector.empty().
12396 2001-11-09 Allan Rae <rae@lyx.org>
12398 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12399 '\n's after tables. Tabular and ERT inset work now makes this no
12402 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12405 * minibuffer.C: fix crash, improve drop-down completion
12407 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12410 * lyxserver.C: invalidate fd's when doing endPipe()
12412 2001-11-08 José Matos <jamatos@fep.up.pt>
12414 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12415 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12418 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12420 2001-11-07 José Matos <jamatos@fep.up.pt>
12423 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12426 * buffer.C (sgmlOpenTag):
12427 * buffer.C (sgmlCloseTag): removed debug info.
12429 * buffer.h (sgmlOpenTag):
12430 * buffer.h (sgmlCloseTag): made public.
12432 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * buffer.C (saveParamsAsDefaults):
12435 * lyx_cb.C (MenuLayoutSave): remove
12437 * LyXAction.C (init):
12439 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12441 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12443 * buffer.C (setPaperStuff): removed from here...
12445 * bufferparams.C (setPaperStuff): ... and moved there.
12447 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12451 * XFormsView.C: add support for drop-down completion
12453 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12455 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12458 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12463 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12465 * lyx_main.C: change ref to known bugs
12467 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12469 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12470 to work around older babel problems.
12472 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12474 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12476 2001-10-24 Juergen Vigna <jug@sad.it>
12478 * tabular-old.C (ReadOld): below variable changes reflected.
12480 * tabular.[Ch]: added ltType struct for longtable header/footer
12481 defines and changed all instances where they are used. Added
12482 future support for double top/bottom rows.
12484 2001-10-24 José Matos <jamatos@fep.up.pt>
12486 * buffer.h (docbookHandleCaption):
12487 * buffer.C (docbookHandleCaption): removed unused function.
12488 (makeDocBookFile): moved docbook supported version to v4.1.
12490 2001-10-24 José Matos <jamatos@fep.up.pt>
12493 * tabular.C (docbookRow): new function to export docbook code of a row.
12494 (DocBook): now honors the longtable flags.
12496 2001-10-23 José Matos <jamatos@fep.up.pt>
12499 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12500 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12502 * buffer.C (makeLinuxDocFile):
12503 (makeDocBookFile): reworked the preamble, more clean, and with
12504 support for lyx defined entities. Changed the document declaration
12505 to be more XML friendly.
12507 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12508 if we need to output XML that should be done with a filter.
12510 2001-10-22 Juergen Vigna <jug@sad.it>
12512 * sp_pspell.h (class PSpell): add alive function needed in the
12513 controller to see if the spellchecker could be started.
12515 2001-10-22 Juergen Vigna <jug@sad.it>
12517 * buffer.C (insertStringAsLines): modify the font for inserting
12518 chars in certain conditions by calling checkInsertChar(font).
12520 2001-10-19 Juergen Vigna <jug@sad.it>
12522 * text.C (workWidth): use getRow instead of wrong algorithm.
12523 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12525 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12530 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12532 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12534 * text.C (workWidth): do not search for the exact row when
12535 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12536 optimization for big documents.
12538 2001-10-18 Juergen Vigna <jug@sad.it>
12540 * text.C (workWidth): new function with added Inset * parameter.
12542 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12546 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12547 change return type of getColumnNearX.
12550 * text.C (changeRegionCase): use uppercase/lowercase instead of
12553 (rightMargin): simplify code by factoring out the uses of
12558 (appendParagraph): use Paragraph::size_type
12560 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12562 * vspace.C (asLatexString): add a missing break
12564 2001-10-15 Herbert Voss <voss@perce.de>
12566 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12568 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12570 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12573 2001-10-10 André Pönitz <poenitz@gmx.net>
12575 * lyxfunc.C: removed greek_kb_flag.
12577 2001-10-10 Herbert Voss <voss@perce.de>
12579 * lyx_main.C: delete global string help_lyxdir.
12581 2001-10-09 Herbert Voss <voss@perce.de>
12583 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12585 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12587 * lyx_main.C: added global string help_lyxdir.
12589 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12591 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12593 * lyxrc.C (set_font_norm_type): support iso8859-4
12595 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12597 * LaTeX.C (deplog): add another regex for MikTeX
12599 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12601 * lyxrc.C (set_font_norm_type): support iso8859-3
12603 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12605 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12607 * LaTeXFeatures.C: remove special case of french and index
12609 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12610 before \begin{document}). This solves several incompatibilities.
12612 2001-10-03 Garst Reese <reese@isn.net>
12614 * lyx_cb.C: change CheckTex error msg.
12616 2001-10-03 José Matos <jamatos@fep.up.pt>
12618 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12620 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12622 * .cvsignore: update
12624 * lyx_main.C (commandLineVersionInfo): use new style version info.
12626 * buffer.C (writeFile):
12628 (makeLinuxDocFile):
12629 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12631 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12633 * version.h: update to use stuff in version.C
12635 * version.C.in: new file. Contains version information determined
12636 at compile time. This is a merging of version.h and
12639 2001-10-03 Juergen Vigna <jug@sad.it>
12641 * BufferView_pimpl.C (update): don't change "dirty" status in
12644 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12646 * WorkArea.C (c-tor): re-position version string slightly.
12648 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12650 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12651 revert to previous code.
12653 WorkArea.[Ch]: (show, destroySplash): methods removed.
12655 WorkArea.C: rework code so that it's an amalgam of the codes before and
12656 after the splash screen was moved to WorkArea.
12658 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12661 * vspace.C (inPixels):
12664 * buffer.C (insertStringAsLines):
12665 (asciiParagraph): fix types to be large enough
12667 * lyxlex_pimpl.h: change member status from short to int
12669 * layout.h: fix type of endlabeltype
12672 * kbsequence.C (parse): change return type to string::size_type
12674 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12677 * Bullet.C (bulletSize):
12678 (bulletEntry): do not use short ints as parameters
12680 * BufferView2.C (insertLyXFile): change a char to an int.
12682 * WorkArea.C (WorkArea): remove unneeded floats in computation
12684 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12686 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12688 * paragraph.C (asString): Do not ignore newline/hfill chars when
12689 copying to the clipboard.
12691 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12693 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12694 after a multi-line inset.
12696 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12698 * paragraph.C (validate): Set NeedLyXFootnoteCode
12700 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12702 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12703 and decrease-error to decrease.
12705 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12707 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12708 it more readable (should be equivalent)
12710 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12712 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12714 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12716 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12717 of a cursor (row, etc.) after a character has been deleted
12718 (deleteEmptyParagraphMechanism): call the method above on _all_
12719 cursors held by the LyXText when a double space has been
12722 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12724 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12726 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12728 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12729 background. Use greyOut() and the new show() methods to toggle between
12730 the foreground and background. Add code to remove the splash after
12731 its initial showing.
12733 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12734 (create_forms): no longer call Dialogs::showSplash.
12736 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * .cvsignore: add version_info.h
12740 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * version_info.h.in: new file
12744 * Makefile.am: add version_info.h.in
12746 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12747 version_info.h instead of VERSION_INFO
12749 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12751 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12752 The ERT inset now returns string().
12754 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12756 * lyxtext.h, text.C (selectNextWord): renamed as
12757 selectNextWordToSpellcheck.
12759 * text.C (selectNextWordToSpellcheck): Modified to not select
12760 words inside an ERT inset.
12762 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12764 * lyx_cb.C (MenuLayoutSave): change a bit the question
12766 * sp_base.h: include <sys/types.h>
12768 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12770 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12772 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12774 * several files: fix typos in user-visible strings
12776 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12778 * text2.C (pasteSelection): do not set the selection, since it
12779 will be cleared later. Actually, the intent was to fix the way the
12780 selection was set, but I figured rmoving the code was just as good.
12782 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12784 * FontLoader.C (available): Check if font is available without
12787 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12789 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12791 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12793 * lyxrc.[Ch]: added display_graphics variable and associated code.
12795 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * bufferparams.C (hasClassDefaults): new method. Returns true if
12798 the buffer parameters correspond to known class defaults
12800 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12802 * XFormsView.C (show): set minimum size to the main window.
12804 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12806 * text2.C (copySelection):
12808 * lyxfind.C (LyXReplace):
12809 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12810 LyXText::selectionAsString.
12812 * paragraph.C (asString): add "label" argument to the second form
12814 * text2.C (selectionAsString): add "label" argument and pass it to
12815 Paragraph::asString.
12817 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12819 * lyx_main.C (commandLineHelp): remove version information
12821 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12823 * lyx_main.C: add -version commandline option
12825 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12827 * paragraph.h: make the optional constructor arg required instead.
12828 some modifications to other files because of this.
12830 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12832 * lyxserver.C (C_LyXComm_callback): make it static
12834 * lyx_main.C (error_handler): make it static
12836 * lyx_gui.C (LyX_XErrHandler): make it static
12838 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12840 * WorkArea.C: make the extern "C" methods static.
12842 * Makefile.am (lyx_LDADD): simplify
12844 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12846 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12847 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12849 * LyXAction.C (init):
12850 * lyxfunc.C (dispatch): associated code removal.
12852 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12854 * lyxfont.h (isSymbolFont): shut off warning
12856 * text.C (setHeightOfRow):
12857 (getVisibleRow): fix crash with empty paragraphs which have a
12860 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12862 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12865 2001-09-04 José Matos <jamatos@fep.up.pt>
12868 * tabular.C (docbook): rename docBook method to docbook.
12870 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12872 * Makefile.am: add dependencies to main.o.
12874 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12876 * FontLoader.C (available): Return false if !lyxrc.use_gui
12878 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12880 * FontInfo.C (query):
12881 * converter.C (view):
12882 * importer.C (Import):
12883 * exporter.C (Export): Can not -> cannot.
12885 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12887 * BufferView_pimpl.C: allow to create index inset even if
12890 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12892 * buffer.C (getLists): replace boost::tie code with an explicit pair
12893 as boost::tie can break some compilers.
12895 * iterators.h: Added a std:: declaration to the return type of
12898 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12900 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12903 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12905 * iterators.[Ch]: New files. Provide paragraph iterators.
12907 * buffer.C (changeLanguage): Use paragraph iterators.
12908 (isMultiLingual): ditto
12910 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12912 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12914 * FontLoader.C: Support for cmr font.
12916 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12918 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12919 (available): New method.
12921 * FontInfo.C (getFontname): Use scalable fonts even when
12922 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12925 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12927 * converter.C (Formats::view): reverted! Incorrect fix.
12929 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12931 * converter.C (Formats::view): only output the -paper option
12932 if the dvi viewer is xdvi, thereby fixing bug #233429.
12934 2001-08-23 Herbert Voss <voss@perce>
12936 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12938 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12940 * Spacing.h (Spacing): Set space to Default on in the default
12943 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * vc-backend.h (RCS::versionString): add RCS to version
12946 (CVS::versionString): add CVS to version
12948 * vc-backend.C (scanMaster): do not add CVS to version.
12949 (scanMaster): do not add RCS to version
12951 * lyxvc.C (versionString): new method
12953 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12955 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12957 * Spacing.C (set): initialize fval
12959 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12961 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12964 2001-08-16 Juergen Vigna <jug@sad.it>
12966 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12968 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12970 * BufferView_pimpl.C:
12973 * text2.C: setParagraph takes linespacing now
12975 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12977 * LyxAction.C: add internal LFUN_CITATION_INSERT
12979 * LyXView.C: actually apply fix
12981 * bufferlist.C: fix open non-existent file
12983 * lyxfind.C: fix indentation
12985 * lyxfunc.C: remove unneeded assert, fix typo
12987 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12989 * MenuBackend.C: use "Floatname List"
12991 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12993 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12994 when converting LaTeX layout to insetERT.
12995 Generate a non-collapsed float when reading old float
12997 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12999 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13002 2001-08-13 Juergen Vigna <jug@sad.it>
13004 * text.C (fill): return 0 instead of 20 as this seems to be the more
13007 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13009 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13012 2001-08-13 Juergen Vigna <jug@sad.it>
13014 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13016 (SearchBackward): comment out the unlocking of the inset_owner this
13017 should not be needed!
13019 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13021 * Many files: Remove inherit_language, and add latex_language
13023 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13024 collapsible insets.
13026 2001-08-10 Juergen Vigna <jug@sad.it>
13028 * text.C (prepareToPrint): fixed hfill-width in draw!
13030 * BufferView2.C (selectLastWord): save the selection cursor as this
13031 now is cleared in the function LyXText::clearSelection!
13033 2001-08-08 Juergen Vigna <jug@sad.it>
13035 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13036 BACKSPACE type functions.
13038 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13039 is only cutted from the document but not put in the cut-buffer, where
13040 still the old stuff should be.
13042 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13044 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13046 * tabular.C (SetWidthOfCell): fixed special case where the width
13048 (LeftLine): handle '|' in align_special.
13050 (LeftAlreadyDrawed): ditto
13051 (SetWidthOfCell): ditto
13053 2001-08-07 Juergen Vigna <jug@sad.it>
13055 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13057 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13060 * lyxlex.[hC]: ditto
13062 2001-08-06 Juergen Vigna <jug@sad.it>
13064 * text.C (getVisibleRow): fix up row clearing a bit.
13066 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * minibuffer.C: make sure the X server sees the changes in the input.
13070 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * paragraph.C (getFont): split into...
13073 (getLabelFont): this
13074 (getLayoutFont): and this
13075 * paragraph_pimpl.C (realizeFont): calling this
13077 * text2.C (getFont): split into...
13078 (getLayoutFont): this
13079 (getLabelFont): and this
13080 (realizeFont): all three calling this
13082 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13085 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13089 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13091 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13092 layouts from the Quote inset insertion.
13094 2001-08-03 Juergen Vigna <jug@sad.it>
13096 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13098 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13099 only if status not is already CHANGED_IN_DRAW (second level).
13101 * text.C (draw): don't set the need_break_row when inside an
13104 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * buffer.C (parseSingleLyXformat2Token): handle more latex
13109 * bufferview_funcs.[hC]: change function names to
13110 begin with small char, adjust other files.
13112 2001-08-02 André Pönitz <poenitz@gmx.net>
13115 BufferView_pimpl.C: remove broken special code for math-greek
13117 2001-08-02 Juergen Vigna <jug@sad.it>
13119 * BufferView_pimpl.C (update): redone this function so that we
13120 update the text again if there was a CHANGE_IN_DRAW.
13122 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13123 (drawFromTo): added a new internal bool which is used by draw() and
13125 (general): some cursor drawing problems fixed.
13127 2001-08-01 Juergen Vigna <jug@sad.it>
13129 * lyxfind.C (LyXFind): fixed
13130 (SearchForward): ditto
13131 (SearchBackward): ditto
13133 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13134 spurius drawing of the cursor in the main area.
13136 * text2.C (status): small fix which could lead to a segfault!
13137 (clearSelection): remove unneeded BufferView param.
13139 2001-08-01 André Pönitz <poenitz@gmx.net>
13141 * lyxfunc.C: small change due to changed mathed interface
13143 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13147 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13149 * lyxfunc.c: fail gracefully if file doesn't exist
13154 * BufferView_pimpl.C: IsDirWriteable() proto changed
13156 * LyXView.C: fix updateWindowTitle() to store the last title
13158 2001-07-31 Juergen Vigna <jug@sad.it>
13160 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13161 the font (wrong since using of Paragraph::highestFontInRange).
13163 * paragraph.C (highestFontInRange): added a default_size parameter.
13165 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13166 (setHeightOfRow): reformat
13168 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * converter.[hC] + affected files: move to (inital-char)lowercase
13173 * ParagraphParameters.C (ParagraphParameters): remove commented code
13175 * PainterBase.[Ch]: remove commented code
13177 * LaTeXFeatures.h: add "bool floats" for float.sty
13179 * LaTeXFeatures.C (LaTeXFeatures): init floats
13180 (require): handle float
13181 (getPackages): do it with floats
13183 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13185 * BufferView_pimpl.C (Dispatch): improve handling of
13186 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13188 * commandtags.h: #include lyxfont.h here temporarily to avoid
13191 * bufferlist.h: include LString.h here.
13193 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * text2.C (getStringToIndex): new method.
13197 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13199 * *: Reduced header file dependencies all over.
13201 2001-07-30 Baruch Even <baruch@lyx.org>
13203 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13205 2001-07-29 Baruch Even <baruch@lyx.org>
13207 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13209 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * ParameterStruct.h (endif): add a default constructor to make
13212 sure that all variables is initialized.
13214 * ParagraphParameters.C (ParagraphParameters): adjust
13216 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13219 index; also, check that there is something to index, and that it
13220 does not span over several paragraphs.
13221 (doubleClick): use WHOLE_WORD_STRICT for double click.
13223 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13225 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13228 2001-07-26 Baruch Even <baruch@lyx.org>
13230 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13231 an InsetFig figure, backwards compatible reading of old figure code.
13233 2001-07-27 Juergen Vigna <jug@sad.it>
13235 * text2.C: font.realize function adaption.
13237 * text.C (draw): add a warnings lyxerr text if needed.
13239 * layout.C: font.realize function adaption.
13241 * language.C: add inherit_language and implement it's handlings
13243 * bufferview_funcs.C (StyleReset): remove language parameter from
13244 font creation (should be language_inherit now).
13246 * bufferparams.C (writeFile): handle ignore_language.
13248 * paragraph.C (getFontSettings): the language has to be resolved
13249 otherwise we have problems in LyXFont!
13251 * lyxfont.C (lyxWriteChanges): added document_language parameter
13252 (update): removed unneeded language parameter
13254 * paragraph.C (validate): fixed wrong output of color-package when
13255 using interface colors for certain fonts in certain environments,
13256 which should not seen as that on the final output.
13258 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13260 * BufferView_pimpl.C:
13265 * LyXAction.C: add thesaurus support
13268 * lyxfind.C: add "once" parameter, for thesaurus, to not
13269 move to the next match
13271 2001-07-26 Juergen Vigna <jug@sad.it>
13273 * lyxfont.C (realize): honor ignore_language too!
13276 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13278 * text.C (draw): one place more for ignore_language to not draw
13281 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13283 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13285 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13288 the minipage conversion problem.
13290 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13295 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13297 * BufferView.h: don't forward declare WorkArea
13299 * BufferView.C: don't include WorkArea.h
13301 2001-07-25 André Pönitz <poenitz@gmx.net>
13305 * lyxfunc.C: new LFUN 'math-space'
13307 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13309 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13311 * text2.C (toggleInset): call open/close
13313 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13315 * lyxfunc.C (dispatch): add debug for the disabled case
13317 * font.C (buttonText): make similar to rectText
13319 * buffer.C (readInset): comment out parsing of insetlist and
13322 * PainterBase.C (rectText): small correction
13324 * BufferView_pimpl.C: comment out insettheorem and insetlist
13325 * LyXAction.C: ditto
13326 * commandtags.h: ditto
13328 2001-07-24 Juergen Vigna <jug@sad.it>
13330 * text.C (draw): honor the ignore_language.
13332 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13334 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13339 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13341 * lyxtext.h: remove unused (and unimplemented) methods
13343 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13345 * text.C (getVisibleRow): honor background color
13348 * Painter.h: remove default color argument for fillRectangle
13350 * text.C (backgroundColor): new method
13352 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * text.C (getVisibleRow): adjust
13356 * font.[Ch] (rectText): new method, metrics
13357 (buttonText): new method, metrics
13359 * PainterBase.[hC]: make rectText and buttonText always draw and take
13362 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13364 * ToolbarDefaults.C (read):
13365 * MenuBackend.C (read): allow escaping in all strings
13367 * BufferView_pimpl.C (insertAndEditInset): new method.
13368 (Dispatch): use insertAndEditInset whenever appropriate.
13370 * BufferView_pimpl.C (insertNote): removed
13372 * BufferView_pimpl.C (smartQuote): new method, moved from
13373 BufferView; if an insetquote cannot be inserted, insert a '"'
13376 * BufferView2.C: remove insertCorrectQuote();
13378 * lyxfunc.C (getStatus): Add support for all remaingin
13379 inset-insert lfuns.
13381 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13383 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13384 command (necessary to pass " as parameter of self-insert.
13386 * text.C (selectWordWhenUnderCursor):
13387 (selectWord): add word_location parameter
13388 (selectWordWhenUnderCursor): same + remove special code for word
13390 (selectNextWord): use kind() to guess type of insetspecialchar,
13393 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13394 (insertErtContents): create ert insets as collapsed.
13395 (readInset): better compatibility code for Info inset.
13397 2001-07-20 Juergen Vigna <jug@sad.it>
13399 * lyxfunc.C (dispatch): use always LyXFind now!
13401 * text2.C (init): add a reinit flag so that the LyXText can be
13402 reinited instead of deleted and reallocated (used in InsetText).
13404 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13410 2001-07-18 Juergen Vigna <jug@sad.it>
13412 * text.C (selectNextWord): handle insets inside inset by calling
13413 always the bv->text functions so that we can go up the_locking_inset!
13415 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13416 in strange locations when inside an inset!
13418 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13419 handling to include insets.
13421 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13423 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13425 * LyXAction.C (init):
13427 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13428 LIGATURE_BREAK, since the name is so stupid.
13430 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13432 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13435 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13437 * sp_form.[Ch]: remove.
13439 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13441 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13444 * src/buffer.C (readInset): ditto.
13446 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13448 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13449 menuSeparator(), endOfSentenceDot(), ldots() and
13450 hyphenationPoint(), which are therefore removed.
13451 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13453 * LyXAction.C (init):
13454 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13456 * paragraph.C (getWord): removed.
13458 * BufferView_pimpl.C (Dispatch): use last word or selection for
13459 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13461 * lyx_main.C (queryUserLyXDir): do not ask before creating
13462 user_dir, except if it has been named explicitely.
13464 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13466 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13467 a document of zero size.
13469 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13471 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13472 approriately in the c-tor and in require().
13473 (getPackages): output the appropriate LaTeX for natbib support.
13475 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13476 variables "use_natbib" and "use_numerical_citations" when reading the
13478 (readInset): read the various natbib cite commands.
13479 (validate): white-space change.
13481 * bufferparams.[Ch]: new variables "bool use_natbib" and
13482 "bool use_numerical_citations".
13483 (writeFile): output them in the LyX file.
13485 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13487 * lyxfunc.C (getStatus): add support for all the inset insertion
13490 * text2.C (insertInset):
13491 * paragraph.C (insetAllowed):
13492 * BufferView_pimpl.C (insertInset): update to take in account the
13493 renaming of insertInsetAllowed
13495 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13497 * text2.C (getInset): new method. returns inset at cursor position.
13499 * BufferView_pimpl.C (Dispatch): changes because of this.
13501 * LyXAction.C (init): rename open-stuff to inset-toggle.
13503 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13505 * text2.C (toggleInset): renamed from openStuff; use
13508 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13510 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13512 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13514 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13516 * buffer.C (readLyXformat2): Add filename to the error dialog
13518 2001-07-18 Juergen Vigna <jug@sad.it>
13520 * tabular.C (GetCellNumber): put an assert here instead of the check!
13522 2001-07-17 Juergen Vigna <jug@sad.it>
13524 * BufferView_pimpl.C (toggleSelection): adapted too.
13526 * text.C (selectNextWord): adapted for use with insets.
13527 (selectSelectedWord): ditto
13529 2001-07-17 Juergen Vigna <jug@sad.it>
13531 * sp_spell.C (PSpell): fix initialitation order.
13533 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13535 * paragraph.C: spacing
13537 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13539 * sp_spell.C: repair language selection for pspell
13541 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * lyxfunc.h: change more methods to begin with lower char.
13545 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13547 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13548 for unknown layouts.
13550 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13552 * buffer.C (readLyXformat2): Generate an error dialog if there are
13555 2001-07-16 Juergen Vigna <jug@sad.it>
13557 * sp_spell.C: always compile ISpell part.
13559 * lyxrc.C: added use_pspell entry and it's handling.
13561 2001-07-13 Juergen Vigna <jug@sad.it>
13563 * sp_spell.C: removed double includes.
13565 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13567 Consistent use of Lsstream.h:
13568 * Lsstream.h: added using std::stringstream for consistencies sake.
13570 * buffer.C: removed using std::stringstream
13572 * lyxfont.C (stateText):
13573 * paragraph.C (asString):
13574 * text.C (selectNextWord, selectSelectedWord):
13575 * text2.C (setCounter):
13576 * vspace.C (asString, asLatexString):
13577 std::ostringstream -> ostringstream.
13579 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13581 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13582 * commandtags.h: add LFUN_HELP_ABOUTLYX
13583 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13585 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13587 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13589 * lyx_gui_misc.C: remove spellchecker
13590 * lyxfunc.C: showSpellchecker
13592 * sp_ispell.h: added
13593 * sp_pspell.h: added
13594 * sp_spell.C: added
13595 * sp_form.[Ch]: removed
13596 * spellchecker.[Ch]: removed
13598 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13600 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13602 (simpleTeXSpecialChars): Simply print the input character without
13603 any special translation if pass_thru is set.
13605 * layout.h: Added bool pass_thru to layout class for being able to
13606 implement pass through of a paragraph for Literate Programming.
13608 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13609 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13610 * layout.C (Read): add "passthru" to list of layout tags and add
13611 code to set the pass_thru boolean when it is read.
13613 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * trans_decl.h: remove allowed from KmodInfo
13617 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13618 remove allowed code
13621 * paragraph_pimpl.C (erase): use boost::prior
13623 * Painter.C (text): use data() instead of c_str() when length is
13625 * WorkArea.C (putClipboard): ditto
13626 * font.h (width): ditto
13628 * BufferView2.C: use it-> instead of (*it). for iterators
13630 * paragraph_pimpl.C: ditto
13631 * paragraph.C: ditto
13632 * minibuffer.C: ditto
13633 * language.C: ditto
13635 * encoding.C: ditto
13636 * counters.C: ditto
13637 * converter.C: ditto
13639 * Variables.C: ditto
13640 * TextCache.C: ditto
13641 * MenuBackend.C: ditto
13642 * LyXAction.C: ditto
13644 * FloatList.C: ditto
13645 * DepTable.C: ditto
13646 * ColorHandler.C (LyXColorHandler): ditto
13648 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13652 * text2.C (openStuff): reintroduce this method (which had been
13653 nuked in NEW_INSETS frenzy).
13655 * lyxfunc.C (Dispatch): when an action has not been handled, use
13656 its name in the error message, not its number.
13658 * paragraph.C (inInset): change method name to begin with lowercase.
13661 * text2.C: updates because of this.
13663 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * ToolbarDefaults.C (add): add spaces in error message
13667 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13670 (readLyXformat2): rename return_par to first_par, use lyxlex's
13671 pushToken and remove the manual push handling.
13672 (parseSingleLyXformat2Token): add another ert comp. variable:
13673 in_tabular, rename return_par to first_par. handle newlines better
13675 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13677 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13679 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13681 * text2.C (getParFromID): removed
13683 * buffer.C (getParFromID): new method moved form lyxtext.
13684 * BufferView2.C (insertErrors): adjust
13685 (setCursorFromRow): adjust
13686 * BufferView_pimpl.C (restorePosition): adjust
13687 * lyxfunc.C (Dispatch): adjust
13688 * undo_funcs.C (textUndo): adjust
13690 (textHandleUndo): adjust
13691 (textHandleUndo): adjust
13693 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * buffer.C: up' the LYX_FORMAT
13697 * lyxfont.h: turn NO_LATEX on as default
13699 * buffer.C (insertErtContents): new methods of tex style compability.
13700 (parseSingleLyXformat2Token): use it several places.
13701 * tabular.C (OldFormatRead): and here
13703 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13705 * text2.C: remove some commented code.
13708 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13709 * trans.C: changes because of the above.
13711 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13713 * text2.C (setCounter): Fix counters bug with bibliography layout.
13715 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13718 own member functions
13719 (simpleTeXSpecialChars): ditto
13721 2001-07-06 Juergen Vigna <jug@sad.it>
13723 * a lot of files: changed the access to LyXText::status and the
13724 call of undo-functions.
13726 * undo.[Ch]: added a inset_id to the undo informations.
13728 * undo_funcs.[Ch]: added and moved here all undo functions.
13730 * lyxtext.h: give the status enum a weight, made status_ a private
13731 variable and made accessor functions for it, removed the whole bunch
13732 of undo-functions as they are now in their own file, make some
13733 functions publically available. Added function ownerParagraph with
13736 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13737 made InInset() a const function, added getParFromID() function.
13739 * buffer.[Ch]: added const version for inset_iterator functions,
13740 added getInsetFromID() function.
13742 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13743 changed undo functions for new version.
13745 2001-07-05 Juergen Vigna <jug@sad.it>
13747 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13748 unknow mechanism does not call the proper constructor but only this
13749 one also if I request the other!?
13751 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13753 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13755 * text2.C (LyXText): use initialization lists.
13757 * lyxtext.h (Selection): initialize set_ and mark_
13758 (init): remove method
13760 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13762 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13764 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * screen.[Ch]: change method names to begin with lowercase
13768 * BufferView_pimpl.C (updateScrollbar): simplify further and
13769 hopefully make it a bit faster.
13771 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13773 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13774 calling directly xforms functions.
13776 * Painter.C (Painter):
13777 * lyx_cb.C (MenuWrite):
13778 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13781 * lyx_gui.C: remove bogus guiruntime extern declaration.
13783 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13785 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13787 (redoDrawingOfParagraph): ditto
13788 (redoParagraphs): ditto
13789 (cutSelection): don't create a object for CutAndPaste use the
13790 static method directly
13791 (pasteSelection): ditto
13793 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13796 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13798 * modifications to some other files because of this.
13800 * Makefile.am (lyx_SOURCES): add XFormsView
13802 * XFormsView.[Ch]: new files
13804 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13805 the main window. Move the gui dependent stuff to XFormsView
13807 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * tabular.C (GetCellInset): update cur_cell also in the row/col
13810 version of this function.
13812 * lyxfunc.C: no need to include figure_form.h here.
13818 * lyxvc.C: no need to include forms.h here.
13820 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13822 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13824 * lyxfunc.C (Dispatch):
13826 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13827 constructor argument.
13829 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * paragraph.C (Paragraph): dont't clear, and just set layout.
13832 (makeSameLayout): use params's copy contructor.
13834 * ParagraphParameters.[Ch] (makeSame): delete method
13836 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13838 * Variables.[Ch]: fix indentation, rename set to isSet
13840 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13842 * lyxfunc.C (Dispatch): fix typo
13844 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13846 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13849 * bufferlist.C: include assert.h for emergencyWrite().
13851 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13853 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13854 give up at last (bug #425202) !
13856 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13862 * spellchecker.C: strip spellchecker options and bring up
13863 preferences tab instead
13865 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13867 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13868 the istringstream constructor
13870 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * paragraph.C (getLayout): fix return value
13874 * paragraph.h: do not declare getLayout as inline.
13876 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13878 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * lyxcursor.h (operator<): new func
13881 (operator>): new func
13882 (operator>=): new func
13883 (operator<=): new func
13885 * text.C (changeCase): use selection.start and selection.end
13886 (changeRegionCase): require from to be <= to. Require par to be a
13889 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13891 2001-06-27 Juergen Vigna <jug@sad.it>
13893 * text.C (cursorLeftOneWord): changed to return the cursor and added
13894 overlay with BufferView * parameter which calls this one.
13896 (selectWord): use new getWord function.
13897 (changeCase): renamed from changeWordCase as and extended to work
13898 also on selections.
13900 * lyxtext.h: added enum word_location
13902 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13903 changeCase as this operates now also on selections.
13905 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13907 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13909 * many files: send debug output to Debug::INFO instead of
13912 * converter.C (View):
13914 (Move): send debug output to Debug::FILES instead of console.
13916 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13918 * lyxfunc.C (getStatus): use func_status
13920 * func_status.h: new header, describing the results of
13921 LyXFunc::getStatus;
13923 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13926 2001-06-25 The LyX Project <jug@sad.it>
13928 * buffer.C (sgmlOpenTag):
13930 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13932 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * text2.C: remove some dead code
13936 * tabular.C (GetCellInset): store the last cell checked (gotten)
13938 * tabular.h: add the helper for the speedup
13940 * lyxtext.h: remove some dead code
13942 2001-06-26 The LyX Project <Asger>
13944 * paragraph.C: Change export to LaTeX of alignment to
13945 \begin{center} and family for better roundtrip work with reLyX.
13947 * Tune the math drawing a bit.
13949 2001-06-25 The LyX Project <Asger>
13951 * LColor.C (LColor): New color for math background. New color
13954 2001-06-25 The LyX Project <jug@sad.it>
13956 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13958 * lyxfunc.C (Open):
13959 * bufferlist.C (newFile): do not restrict to files ending with
13962 * BufferView_pimpl.C (MenuInsertLyXFile):
13964 2001-06-24 The LyX Project <jug@sad.it>
13966 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13969 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13971 * lyxtext.h: rename most methods to begin with a small char.
13972 Lots of changes because of this.
13974 * paragraph.C (Paragraph): do not call fitToSize
13975 (erase): call Pimpl::erase
13976 (insertChar): call Pimpl::insertChar
13977 (insertInset): call Pipl::insertInset
13978 (breakParagraph): do not call fitToSize
13979 (breakParagraphConservative): do not call fitToSize
13980 (fitToSize): remove method
13982 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13984 2001-06-24 The LyX Project <Asger>
13986 * Fix Qt compilation^2
13988 2001-06-24 The LyX Project <jug@sad.it>
13990 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13991 depthHook(getDepth()-1).
13994 * ParagraphParameters.h:
13995 * ParameterStruct.h: change type of depth to unsigned int ==
13996 depth_type. Many adaptations to other files before of that.
13998 2001-06-24 The LyX Project <Asger>
14000 * Fix Qt compilation.
14002 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14004 * paragraph.h: renamed several methods to begin with small letter.
14005 several changes to many parts of the code because of this.
14007 2001-06-23 The LyX Project <jug@sad.it>
14009 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14010 rewritten to discard all double spaces when KeepEmpty is off
14011 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14012 to only handle newlines but not fiddle with spaces and friends.
14014 * lyxfunc.C (MenuNew): when doing 'new from template', use
14015 template_path as default directory
14017 2001-06-23 The LyX Project <Asger>
14019 * Clean-up of header file includes all over
14020 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14022 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14024 * paragraph.h: renamed from lyxparagraph.h
14026 2001-06-23 Asger <lyx@violet.home.sad.it>
14028 * Buffer.h: Removed Buffer::resize
14029 * BufferList.h: Removed BufferList::resize
14030 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14031 the document lazily when we change the width, or the font settings.
14033 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14035 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14037 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14039 * buffer.h: remove out of date comment
14041 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14044 * screen.C: fix "theoretical" GC leak
14046 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * LaTeX.C (scanAuxFile):
14049 (deplog): remove trailing \r when reading stream (useful under
14052 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14054 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14055 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14056 and BufferView::theLockingInset(Inset*), so should use them and not
14057 access bv_->text->the_locking_inset directly.
14059 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14061 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14064 * tex-defs.h: remove old unused file
14066 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14068 * BufferView_pimpl.C: fix typo, remove minibuffer message
14069 when buffer has loaded
14071 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14073 * lyxfunc.C (Dispatch): use stringstream
14074 (MenuNew): use stringstream
14075 (Open): use stringstream
14077 * importer.C (Import): use stringstream
14079 * bufferview_funcs.C (CurrentState): use stringstream
14081 * LaTeX.C (run): use stringstream
14083 * BufferView_pimpl.C (savePosition): use stringstream
14084 (restorePosition): use stringstream
14085 (MenuInsertLyXFile): use stringstream
14087 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14100 * vspace.C: removed // -*- C++ -*- as first line.
14103 * version.h: added // -*- C++ -*- as first line.
14105 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14107 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14109 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14112 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14117 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14119 * gettext.C: include LString.h even when --disable-nls is on.
14121 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14123 * converter.h (Get): changed argument type from int to
14124 FormatList::size_type to avoid unnecessary conversion.
14126 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14129 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * gettext.h: include LString.h even when --disable-nls is on.
14133 2001-06-07 Juergen Vigna <jug@sad.it>
14135 * text.C (BreakAgain): subst spaces with tabs.
14137 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14138 (resizeInsetsLyXText): set force on resizeLyXText.
14140 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14142 * gettext.h (gettext_init):
14143 (locale_init): use a real definition instead of a macro
14145 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14147 * Bufferview_pimpl.C:
14149 * LColor.C: further lcolor tidies
14151 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * BufferView_pimpl.C (updateScrollbar): simplify.
14155 * BufferView2.C: don't include insets/insetinfo.h, change
14156 prototype for insertInset and call the Pimpl version. let
14157 updateInset call Pimpl version.
14159 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14160 gotoInset to BufferView::Pimpl
14162 2001-06-01 Juergen Vigna <jug@sad.it>
14164 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14165 inside a LockingInset (is the update needed at all?).
14167 2001-05-31 Juergen Vigna <jug@sad.it>
14169 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14170 here not the old one otherwise how should we compare it afterwards
14173 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14178 * FontInfo.C: bring C functions into global namespace when
14181 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14183 * LString.h: make sure config.h has been loaded before LString.h.
14185 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14186 (one for each char read by EatLine!).
14188 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14191 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14193 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14194 to the same as the par we break from
14196 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14200 * MenuBackend.C (expand): also create menu entries for wide
14201 versions of the floats.
14203 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14205 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14207 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14208 frontends/Makefile.am
14214 * tabular.C (getTokenValue): add std::
14216 * tabular-old.C (getTokenValue): add std::
14217 (getTokenValue): ditto
14218 (getTokenValue): ditto
14220 * screen.C (ToggleSelection): adjust
14222 * lyxtext.h: put selection cursors inside a Selection struct.
14224 * lyxfunc.C (moveCursorUpdate): adjust
14226 * lyxfont.C (latexWriteStartChanges): add std::
14228 * lyxfind.C: adjust
14230 * font.h: delete with(char const *, LyXFont const &)
14232 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14234 * FontInfo.C (getFontname): add std::
14236 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14237 (workAreaButtonPress): adjust
14238 (tripleClick): adjust
14240 (moveCursorUpdate): adjust
14243 * BufferView2.C (gotoInset): adjust
14245 2001-05-30 Juergen Vigna <jug@sad.it>
14247 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14248 to check pspell I add this as default as I now have new pspell
14249 libraries and they seem to use this.
14251 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14253 * text2.C (CutSelection): make the cursor valid before the call to
14256 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14259 relied on 0 terminated strings and other horrors. Bug found due to
14260 the new assert in lyxstring!
14262 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14265 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14270 * lyxfunc.C (processKeySym): change method of getting to the
14273 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14274 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14275 * BufferView_pimpl.[Ch]: here as private methods.
14277 2001-05-28 Juergen Vigna <jug@sad.it>
14279 * text.C (SetHeightOfRow): added the update() call again as it is
14280 needed to initialize inset dimensions!
14282 2001-05-16 Juergen Vigna <jug@sad.it>
14284 * text2.C (SetCharFont): Add new function with BufferView * and
14285 bool toggleall parameters for setting insets internal fonts.
14286 (SetFont): Freeze the undo as we may change fonts in Insets and
14287 all this change should be inside only one Undo!
14289 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14290 setting font's in insets as for them we have the SetFont function!
14292 2001-05-15 Juergen Vigna <jug@sad.it>
14294 * text2.C (ClearSelection): to be sure we REALLY don't have any
14297 * tabular.C (TeXCellPreamble): fixed the left border problem for
14300 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14302 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14305 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14307 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14308 LFUN_BREAKPARAGRAPH.
14310 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14311 help test to "internal only", similar for LFUN_INSERT_URL
14313 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14314 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14315 auto_region_delete and deadkeys.
14317 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14320 * LColor.C: remove some dead entries, tidy a little
14322 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14326 (Dispatch): implement LFUN_ESCAPE
14328 * commandtags.h: add LFUN_ESCAPE
14330 * LyXAction.C (init): add entry for LFUN_ESCAPE
14332 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14333 Remove commented code.
14334 (insertNote): moved here
14335 (open_new_inset): moved here
14337 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14340 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * kbmap.C (findbinding): clean it up and make it work correctly.
14344 * lyx_main.C (init): do not pass argc and argv as parameters
14346 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14348 * buffer.C: fix path for OS/2 & Win32
14352 * lyx_main.C: Added os:: class.
14354 * os2_defines.h: update
14356 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14358 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14359 better by trying again with reduced state.
14361 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14363 * lyxrc.C (read): print error about invalid key sequence only when
14364 debugging (because not all latinX keysyms are known to some X
14367 * kbsequence.C (getiso): add a few std:: qualifiers
14368 (getiso): comment out extra return statement.
14370 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14372 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14374 (Dispatch): enhance the accent inset a bit. (not perfect)
14376 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14378 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14380 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14382 * bufferlist.C (emergencyWrite): fix assert() call
14384 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14386 * text.C (InsertChar): Added trivial patch to only send the "you
14387 can not do multiple spaces this way" message once during a
14390 2001-05-08 Baruch Even <baruch@lyx.org>
14392 * Makefile.am: Changed order of libraries to get LyX to link properly
14393 with the gnome frontend.
14395 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14397 * LaTeXFeatures.h: add a std:: qualifier
14399 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14401 * paragraph.C (String): use stringstream
14403 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14405 * paragraph.C (writeFile): remove footflag arg
14407 * buffer.C (makeLaTeXFile): use stringstream
14408 (latexParagraphs): remove footnot gurba
14410 * LaTeXFeatures.C (getPackages): use stringstream
14411 (getMacros): likewise
14412 (getTClassPreamble): likewise
14413 (getFloatDefinitions): new method
14415 * paragraph.C (writeFile): reindent
14418 * WorkArea.h: revert the xpos + etc changes.
14420 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14422 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14424 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14425 (pasteSelection): likewise
14426 * text2.C (CreateUndo): likewise
14428 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * minibuffer.C (peek_event): temporarily reduce the functionality
14431 of the minibuffer (to allow args on lfuns)
14433 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14434 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14436 * buffer.C (readInset): add compability reading of old float
14437 lists, add reading of new style float list.
14438 (readInset): avoid reevaluation of inscmd.getCmdName()
14439 (getLists): reindent
14441 * MenuBackend.C (MenuItem): implement parsing of
14442 md_floatlistinsert and md_floatinsert.
14443 (expand::LastFiles): move initalizaton of iterators out of loop,
14444 avoid reevaluation.
14445 (expand::Documents): introduce typdedef vector<string> Strings,
14447 (expand::ExportFormats): introduce typedef vector<Format const *>
14448 Formats, and use it.
14449 (expand): implement FloatListInsert and FloatInsert.
14451 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14452 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14453 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14455 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14457 (Dispatch::LFUN_FLOAT_LIST): implement
14459 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14461 * LaTeX.C (run): Fix problem with --export code.
14463 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14465 * BufferView.[Ch] (workarea): removed.
14466 (getClipboard) new method; wrapper for workarea()->getClipboard()
14468 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14471 * WorkArea.h (width, height, xpos, ypos): These methods all
14472 returned the dimensions of the work_area sub-area of WorkArea,
14473 resulting in a position error if the WorkArea were resized. Now
14474 return the dimensions of the entire WorkArea.
14476 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14478 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * LaTeX.C (deplog): correct the syntax of regex reg1
14482 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14484 * undo.C: remove !NEW_INSETS cruft
14486 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * text2.C: remove !NEW_INSETS cruft
14490 * text.C: remove !NEW_INSETS cruft
14492 * tabular.C: remove !NEW_INSETS cruft
14494 * spellchecker.C: remove !NEW_INSETS cruft
14496 * lyxtext.h: remove !NEW_INSETS cruft
14498 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14500 * lyxfunc.C: remove !NEW_INSETS cruft
14502 * lyxfind.C: remove !NEW_INSETS cruft
14504 * lyx_cb.C: remove !NEW_INSETS cruft
14506 * figureForm.C: remove !NEW_INSETS cruft
14508 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14510 * buffer.[Ch]: remove !NEW_INSETS cruft
14512 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14514 * CutAndPaste.C: remove !NEW_INSETS cruft
14516 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14518 * BufferView2.C: remove !NEW_INSETS cruft
14520 * BufferView.h: remove !NEW_INSETS cruft
14522 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * Lsstream.h: include LString.h before the sstream headers to
14525 fix problem with gcc 2.95.3 and lyxstring
14527 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * lyx_main.C: add using directives when needed for C functions
14530 declared in std:: namespace.
14532 2001-04-27 Juergen Vigna <jug@sad.it>
14534 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14535 (SetHeightOfRow): comment out the update call should not be needed!
14537 2001-04-13 Juergen Vigna <jug@sad.it>
14539 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14540 (LyXTabular): tried to minimize operator= operations (and realized
14541 hopfully Lars wish).
14543 2001-04-27 Juergen Vigna <jug@sad.it>
14545 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14547 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14551 * buffer.C (readInset): hack to make listof algorithm work
14553 * BufferView_pimpl.C: hack to make listof algorithm work
14555 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14557 * LyXAction.C: removed all !NEW_INSETS cruft
14558 (init): moved lfun_item in method
14560 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14562 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14564 * BufferView2.C (theLockingInset): white space.
14566 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14568 * minibuffer.C: include <iostream>
14570 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14572 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14574 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14576 * text.[Ch] (TransposeChars): new method
14578 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14580 * call message directly through LyXView instead of through LyXFunc
14581 * BufferView2.C: adjust
14582 * BufferView_pimpl.C: adjust
14583 * FontLoader.C: adjust
14585 * bufferview_funcs.C: adjust
14586 * converter.C: adjust
14587 * figureForm.C: adjust
14588 * importer.C: adjust
14590 * lyx_gui_misc.C: adjust
14591 * lyxfunc.C: adjust
14594 + more files in subdirs
14596 * lyxparagraph.h (size): move up int file
14599 * adjust all uses of Assert to lyx::Assert.
14601 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14602 lyxfunctional in namespace lyx
14603 * layout.C (hasLayout): ditto
14606 (delete_layout): ditto
14607 (NumberOfClass): ditto
14608 * converter.C (GetFormat): ditto
14613 * bufferlist.C (getFileNames): ditto
14614 (emergencyWriteAll): ditto
14617 * MenuBackend.C (hasSubmenu): ditto
14620 * BufferView_pimpl.C (getInsetByCode): ditto
14622 2001-04-18 Juergen Vigna <jug@sad.it>
14624 * vspace.C (asLatexString): fixed the 100% problem.
14626 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14628 * lyxfunc.C (Dispatch):
14630 * minibuffer.h: add a few std:: qualifiers
14632 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14634 * minibuffer.[Ch]: reimplement so that commands is initiated and
14635 run from lyxfunc, simplified som handling, and made the completion
14636 and history code for complete. wip.
14638 * lyxfunc.C (processKeySym): call message
14639 (miniDispatch): new temporary method
14640 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14641 (LFUN_MESSAGE): implement
14642 (LFUN_MESSAGE_PUSH): implement
14643 (LFUN_MESSAGE_POP): implement
14644 (initMiniBuffer): the initial/defualt minibuffer message.
14646 * lyxfont.[Ch]: inline some more getters
14648 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14650 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14652 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14653 (AutoSave): use LFUN_MESSAGE
14654 (Reconfigure): ditto
14656 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14658 * figureForm.C: use LFUN_MESSAGE
14660 * converter.C (runLaTeX): use LFUN_MESSAGE
14662 * bufferview_funcs.C: use LFUN_MESSAGE
14664 (changeDepth): ditto
14666 * bufferparams.h: use boost::
14668 * bufferlist.h: inherit privately from noncopyable
14670 * bufferlist.C (loadLyXFile): remove some commented code.
14672 * buffer.C (runChktex): use LFUN_MESSAGE
14674 * ShareContainer.h: inherit privately from noncopyable
14676 * ParagraphParameters.[hC] (depth): inline it.
14678 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14680 (message): new method
14681 (messagePush): ditto
14682 (messagePop): ditto
14683 (show): init minibuffer
14684 (showState): direct call
14686 * LaTeX.[Ch]: inherit privately from noncopyable
14687 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14688 instead of WriteStatus.
14690 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14692 * BufferView_pimpl.C (buffer): don't init minibuffer
14693 (workAreaButtonPress): use LFUN_MESSAGE
14694 (workAreaButtonRelease): ditto
14695 (savePosition): ditto
14696 (restorePosition): ditto
14697 (MenuInsertLyXFile): ditto
14698 (workAreaExpose): don't init minibuffer
14699 (update): remove commented code, simplify
14701 * BufferView2.C (openStuff): use LFUN_MESSAGE
14702 (toggleFloat): ditto
14705 (copyEnvironment): ditto
14706 (pasteEnvironment): ditto
14711 (updateInset): remove some commented code
14713 * lastfiles.h: inherit privately from noncopyable
14716 * lyx_main.h: ditto
14718 * lyxlex_pimpl.h: ditto
14720 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14721 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14722 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14724 * LyXAction.h: inherit privately from noncopyable, add methods
14725 func_begin, func_end, returning iterators to the func map.
14727 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14728 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14729 (func_begin): new method
14730 (func_end): new method
14732 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14734 (copySelection): ditto
14735 (pasteSelection): ditto
14737 * BufferView.C: whitespace change
14738 * BufferView.h: inherit privately from noncopyable
14740 2001-04-16 Allan Rae <rae@lyx.org>
14742 * tabular-old.C (l_getline):
14743 * spellchecker.C (sc_check_word):
14744 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14745 an unrecognised preprocessor directive. So ensure they're wrapped.
14747 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14749 * src/exporter.C (Export): Give an error message when path to file
14752 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14754 * LaTeX.C (deplog): Always check that foundfile exists.
14756 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14761 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * tabular.[Ch] (getLabelList): implement new method
14765 * minibuffer.h: comment ouf setTiimer
14767 * minibuffer.C (ExecutingCB): constify res
14768 (peek_event): constify s
14769 (Set): constify ntext
14770 (Init): constify nicename
14772 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14774 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14775 (savePosition): use two params to Minibuffer::Set
14776 (restorePosition): ditto
14778 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14780 * lyx_main.C: include language.h
14782 * Makefile.am (lyx_main.o): add language.h
14784 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * CutAndPaste.C: include gettext.h
14792 * lyxfont.h: remove old hack with ON and OFF.
14795 * lyxfont.h: do not include language.h...
14800 * bufferview_funcs.C:
14806 * paragraph.C: ... but do it here instead
14808 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14810 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14812 * tabular.C: small reformat
14814 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14817 (BreakParagraph): ditto
14818 (SetOnlyLayout): ditto
14821 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14824 * lastfiles.C: removed most using decl, add std:: where needed
14826 * buffer.C: ws changes
14828 * MenuBackend.C (class compare_format): put into anon namespace
14829 (expand): constify label, names, action, action2
14832 * text.C (SingleWidth): constify font
14833 (IsBoundary): constify rtl2
14834 (GetVisibleRow): constify ww
14836 * LaTeX.C (deplog): constify logfile
14838 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14840 (workAreaExpose): constify widthChange, heightChange
14842 * lyxrow.C (par): moved
14845 * lyxrow.h: as inlines here
14847 * lyxfont.h (shape): moved from lyxfont.C
14848 (emph): moved from lyxfont.C
14850 * lyxfont.C (LyXFont): use initialization list for all
14852 (shape): move to lyxfont.h as inline
14853 (emph): move to lyxfont.h as inline
14856 2001-04-04 Juergen Vigna <jug@sad.it>
14858 * vspace.C: had to include stdio.h for use of sscanf
14860 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14863 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14864 independent of xforms.
14866 2001-04-02 Juergen Vigna <jug@sad.it>
14868 * spellchecker.C: fixed namespace placing!
14870 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14872 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14873 the LyXParagraph * is 0.
14875 2001-03-29 Juergen Vigna <jug@sad.it>
14877 * vspace.C: added support for %, c%, p%, l%.
14878 (stringFromUnit): added helper function.
14879 (asLatexString): changed to give right results for the %-values.
14881 * buffer.C: convert the widthp in a width%.
14883 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14885 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14888 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14889 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14891 * lyx_cb.[Ch]: see above.
14893 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14897 * lyx.[Ch]: replaced by figure_form.[Ch].
14901 * lyxfunc.C: changed headers associated with above changes.
14903 2001-03-27 Juergen Vigna <jug@sad.it>
14905 * BufferView_pimpl.C: set the temporary cursor right!
14907 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14909 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14911 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14913 * LString.h: removed "using std::getline"!
14915 * BufferView_pimpl.C (Dispatch): changes due to changes in
14916 InsetInclude::Params.
14918 * buffer.C (tag_name): removed redundant break statements as they were
14919 producing lots of warnings with my compiler.
14921 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * LString.h: add "using std::getline" when using the real <string>.
14925 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14927 * buffer.C: removed bitset usage.
14928 PAR_TAG moved to an anonymous name space.
14929 (tag_name): new funtion, also in the anonymous namespace.
14930 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14931 (makeDocBookFile): clean code. Completed transition from string arrays
14933 (SimpleDocBookOnePar): code clean.
14935 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14937 * tabular.C: add some comments.
14939 2001-03-22 Juergen Vigna <jug@sad.it>
14941 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14942 compatibility read a bit and fixed bug with minipage in different
14945 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14947 * buffer.C (pop_tag): removed.
14948 (push_tag): removed.
14949 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14950 array replaced with vector. Added support for CDATA sections.
14951 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14953 (makeDocBookFile): XML conformant declaration of CDATA section,
14954 fixed bug related to <emphasis> in the first paragraph char.
14955 (sgmlOpenTag): exclude empty tags.
14956 (sgmlCloseTag): ditto.
14958 * buffer.h (pop_tag): removed.
14959 (push_tag): removed.
14961 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14963 * language.h (Languages): added size_type and size().
14965 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14967 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14968 response on compability reading of minipages. One probliem is that
14969 the old usage of minipages was «flertydig»
14971 * several files here and in subdirs: don't use static at file
14972 scope use anon namespaces instead.
14974 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14976 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14977 LaTeX output. This is necessary for Literate document
14980 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14982 * buffer.C: insert hfill when needed.
14984 * tabular.C (l_getline): use string::erase, small whitespace change.
14986 * BufferView_pimpl.C: try the anon namespace.
14987 * WorkArea.C: ditto
14989 2001-03-16 Juergen Vigna <jug@sad.it>
14991 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14992 otherwise it won't open options-dialogs.
14994 * buffer.C: honor pextraWidth(p) on converting minipages.
14996 * tabular.C (l_getline): changed the functions to strip trailing \r.
14998 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15000 * BufferView_pimpl.C:
15001 * minibuffer..C: added "using SigC::slot" declaration.
15003 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15005 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15011 * paragraph.C: ditto
15013 * lyxtext.h: NO_PEXTRA
15015 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15017 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15018 * ParameterStruct.h: ditto
15019 * ParagraphParameters.h: ditto
15020 * lyxparagraph.h: ditto
15022 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15024 * buffer.C: add compability for minipage alignment.
15025 (latexParagraphs): remove unwanted pextra check.
15027 * several files: remove CXX_WORKING_NAMESPACES
15029 * buffer.C (pop_tag): tie is in namespace boost
15031 * BufferView.h: noncopyable is in namespace boost
15033 * lyx_main.h: ditto
15036 * lastfiles.h: ditto
15037 * bufferlist.h: ditto
15038 * ShareContainer.h: ditto
15040 * LyXAction.h: ditto
15043 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15045 * Merging changes from BRANCH_MVC back into HEAD.
15047 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15049 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15051 * BufferView_pimpl.C: change from intl.C
15055 * Makefile.am: move combox.*
15061 * intl.C: remove dialog (covered by prefs)
15063 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15065 * lyxfunc.C (Dispatch): removed redundant break statement.
15067 2001-03-14 Juergen Vigna <jug@sad.it>
15069 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15071 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15073 * buffer.C: add hack to fix compability reading of minipages.
15075 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15077 * buffer.C (getLists): Cleanup.
15079 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * lyxfont.C (update): don't honor toggleall on font size.
15083 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15087 * Makefile.am: moved to frontends/xforms/
15091 * BufferView_pimpl.C: changes for moved mathpanel
15093 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15095 * gettext.h: fix gettext_init() in --disable-nls
15097 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15101 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15104 * lyx.h: strip external form
15106 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15108 * BufferView_pimpl.C: add comment, destroySplash()
15110 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15112 * BufferView_pimpl.C:
15116 * lyxfunc.C: use re-worked insetinclude
15118 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15120 * buffer.C: add using std::stringstream.
15122 * lyx_cb.C: readd using std::ios.
15124 * buffer.C: add using std::map.
15126 * BufferView_pimpl.C: add using std::vector.
15128 * ShareContainer.h: add std:: to swap.
15130 * buffer.h: add some typedefs
15131 * buffer.C (getLists): use them
15132 (getLists): renamed from getTocList.
15133 add a counter for the different float types and use it in the
15135 (getLists): use the same counter for the NEW_INSETS and the "non"
15138 * lyx_cb.h: remove unused items, includes, using etc.
15140 * ShareContainer.h: remove some commented code, add more comments
15141 and "documentation".
15143 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15145 * buffer.C (getTocList): make the list also when NEW_INSETS is
15148 * buffer.h: remove TocType
15150 * buffer.C (getTocList): change to return a map<string,
15151 vector<TocItem> >, implement for dynamic number of list.
15153 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15154 * text2.C (PasteSelection): adjust
15155 * CutAndPaste.C (pasteSelection): adjust
15157 * FloatList.C (FloatList): update from the new_insets branch.
15158 * Floating.[Ch]: ditto
15159 * LaTeXFeatures.C: ditto
15161 * lyxlex_pimpl.C: ditto
15163 * paragraph.C (Last): remove when NEW_INSETS is defined.
15165 * other file: changes because of the above.
15167 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15169 * lyxparagraph.h: rename next to next_, previous to previous_,
15170 make them private for NEW_INSETS. Rename Next() to next(),
15171 Previous() to previous().
15173 * other files: changes because of the above.
15175 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15178 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15181 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * main.C (main): pass lyx_localedir to gettext_init().
15185 * gettext.h: remove locale_init and gettext_init macros
15187 * gettext.C (locale_init): new function
15188 (gettext_init): new function
15190 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15193 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15195 * Moved credits to frontends:
15196 * credits.[Ch]: removed
15197 * credits_form.[Ch]: removed
15198 * lyx_gui_misc.C: remove credits stuff
15201 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15203 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15205 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15206 unneeded destructor.
15208 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15209 a standalone pointer again.
15211 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15213 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15219 * ToolbarDefaults.C:
15228 * BufferView_pimpl.C: use new file dialog in GUII
15231 * lyx_cb.C: remove LayoutsCB to Toolbar
15233 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15235 * ShareContainer.h (get): add std:: qualifier
15237 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15239 * ShareContainer.h: define a proper ShareContainer::value_type
15240 type (and use typename to please compaq cxx)
15242 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15244 * lyxparagraph.h: move serveral local vars to
15245 ParameterStruct/ParagraphParameters., use ShareContainer in
15246 FontTable., make vars in FontTable private and add getter and
15249 * paragraph.C: changes because of the above.
15251 * lyxfont.h: remove copy constructor and copy assignment. (the
15252 default ones is ok), move number inside FontBits. move inlines to
15255 * lyxfont.C: add number to initializaton of statics, move several
15256 inlines here. constify several local vars. some whitespace
15257 cleanup. Dont hide outerscope variables.
15259 * Spacing.h: add two new constructors to match the set methods.
15261 * ShareContainer.h: new file, will perhaps be moved to support
15263 * ParameterStruct.h: new file
15265 * ParagraphParameters.h: new file
15267 * ParagraphParameters.C: new file
15269 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15270 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15272 * BufferView_pimpl.C: ParagraphParameter changes.
15273 * buffer.C: Likewise.
15274 * bufferview_funcs.C: Likewise.
15275 * text.C: Likewise.
15276 * text2.C: Likewise.
15278 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * lyxfind.C (LyXReplace): do not redefine default argument in
15282 (IsStringInText): ditto
15283 (SearchForward): ditto
15284 (SearchBackward): ditto
15286 2001-03-06 Juergen Vigna <jug@sad.it>
15288 * lyxfind.C (IsStringInText): put parentes around expressions.
15290 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15292 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15294 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15296 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15298 * stl_string_fwd.h: add comment
15300 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15303 * tabular.C: remove unused DocBook methods
15309 killed DO_USE_DEFAULT_LANGUAGE
15311 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * lyx_gui.C: do not include language.h.
15315 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15316 arguments in function implementation.
15318 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15320 * BufferView_pimpl.C: add <ctime>
15322 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15324 * BufferView_pimpl.C: add using std::find_if
15326 2001-02-27 José Matos <jamatos@fep.up.pt>
15328 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15331 2001-02-11 José Matos <jamatos@fep.up.pt>
15333 * buffer.C (makeDocBookFile): command styles now have a parameter as
15334 "title" by default.
15336 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15338 * layout_forms.[Ch]: removed
15339 * lyx_cb.[Ch]: out character
15340 * lyx_gui.C: out character
15341 * lyx_gui_misc.C: out character
15342 * bufferview_funcs.C: : out character,
15343 added toggleall as parameter in ToggleAndShow
15345 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15347 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15349 * text2.C (SetCurrentFont): Disable number property at boundary.
15351 2001-02-26 Juergen Vigna <jug@sad.it>
15353 * lyxfunc.C (getStatus): added a string argument override function so
15354 that this is correctly called from LyXFunc::Dispatch if it contains a
15355 do_not_use_argument which is used!
15356 (Dispatch): added check for "custom" export and call appropriate func.
15358 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15360 * lyxrc.C: Add language_command_local, language_use_babel and
15361 language_global_options.
15363 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15365 * buffer.C (makeLaTeXFile): Use language_use_babel and
15366 language_global_options.
15368 2001-02-23 Juergen Vigna <jug@sad.it>
15370 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15371 which works with LyXText and putted it inside BufferView. Here now we
15372 only call for that part the BufferView::Dispatch() function.
15374 * BufferView.C (Dispatch): added.
15376 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15377 functions which needs to use a LyXText over from LyXFunc.
15378 (MenuInsertLyXFile): added
15379 (getInsetByCode): added
15380 (moveCursorUpdate): added
15381 (static TEXT): added
15383 2001-02-22 Juergen Vigna <jug@sad.it>
15385 * BufferView_pimpl.C (update): call a status update to see if LyXText
15388 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15390 * vc-backend.C (revert): implement for CVS
15391 (getLog): implement for CVS
15393 2001-02-20 Juergen Vigna <jug@sad.it>
15395 * text2.C (ClearSelection): added BufferView param for inset_owner call
15397 * lyxfunc.C (TEXT): added this function and use it instead of
15398 directly owner->view()-text of getLyXText().
15400 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15402 * src/layout_forms.C: out preamble
15403 * src/layout_forms.h: out preamble
15404 * src/lyx_cb.C: out preamble
15405 * src/lyx_cb.h: out preamble
15406 * src/lyx_gui.C: out preamble
15407 * src/lyx_gui_misc.C: out preamble
15408 * src/lyxfunc.C: connect with guii preamble
15410 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15412 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15414 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15416 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15417 whether to run bibtex.
15419 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15421 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15423 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15425 * Makefile.am (lyx_SOURCES): removed bibforms.h
15427 * vspace.h: doxygen
15429 * text.C (GetVisibleRow): make several local vars const
15431 * tabular.C: small cleanup.
15433 * lyxserver.C (callback): use compare instead of strncmp
15435 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15436 inlines to after class or to paragraph.C
15438 * lyxfont.h: remove friend operator!=
15440 * converter.h: move friend bool operator< to non friend and after
15443 * combox.h: small cleanup
15445 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15446 to inlines after class def.
15448 * buffer.C (pop_tag): use string operations instead of strcmp
15450 * bmtable.c: doxygen, small cleanup
15452 * LaTeX.h: remove friend operator==
15454 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15466 * BufferView_pimpl.C:
15467 * BufferView.[Ch]: remove cruft
15469 2001-02-14 Juergen Vigna <jug@sad.it>
15471 * lyxfunc.C: removed #if 0 unused code
15473 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15475 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15477 * text2.C (SetSelection): added a BufferView * parameter
15479 2001-02-13 Juergen Vigna <jug@sad.it>
15481 * lyxfunc.C (Dispatch): fixed protected blank problem.
15482 * BufferView2.C (protectedBlank): added LyxText * parameter.
15484 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15485 (AppendColumn): same as above for column_info.
15487 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15488 (moveCursorUpdate): use a LyXText param for support of InsetText.
15490 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15491 (tripleClick): ditto
15493 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15495 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15497 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15499 * text2.C (SetSelection): set correct update status if inset_owner
15500 (ToggleFree): ditto
15502 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15504 * tabular.C: remove some commented code.
15506 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15508 * BufferView_pimpl.C: call hideSplash()
15510 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15513 * bibforms.h: remove
15516 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15517 add LFUN_CHILD_CREATE
15519 * counters.h: fix tiny typo
15524 * lyx.C: move splash to frontends/xforms/
15526 * lyx_gui_misc.C: move Include and Bibform to frontends
15528 * lyxvc.h: clarify comment
15530 * vspace.C: tiny housekeeping
15532 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15534 * text.C (PrepareToPrint): RTL Fix.
15536 * paragraph.C (GetUChar): New method.
15537 (String): Use GetUChar.
15539 * buffer.C (asciiParagraph): Use GetUChar.
15541 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15543 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15545 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15548 * buffer.C: rename to getLogName(), handle
15549 build log / latex log nicely
15551 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15554 * MenuBackend.h: remove support for reference menuitem type.
15556 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15558 * BufferView_pimpl.C: housekeeping
15559 * BufferView_pimpl.h:
15564 * minibuffer.h: move Timeout GUI-I
15566 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15568 * lyxrc.C (read): Update converters data-structures.
15570 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15572 * LaTeX.h (operator!=): add operator != for Aux_Info
15574 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15576 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15578 * LaTeXLog.C: deleted, useful code moved to Buffer
15581 * buffer.C: new function getLatexLogName()
15587 * lyxfunc.C: use frontends for LaTeX and VC logs
15589 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * LaTeX.h: yet another std:: that Allan forgot.
15593 * Variables.C (set): renamed from isset(), because this clashes
15594 with some HP-UX macros (grr).
15596 2001-02-06 Allan Rae <rae@lyx.org>
15598 * LaTeX.h: Another bug fix. Missing std:: this time.
15600 2001-02-04 Allan Rae <rae@lyx.org>
15602 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15603 floats problem. I've left it commented out because it's not quite
15604 correct. It should also test that the current object is a table or
15605 figure inset. But I haven't gotten around to figuring out how to do
15606 that. I *think* it'll be something like: "table" == inset.type()
15608 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15611 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15613 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15614 all the citation/databases/styles in the auxilary file.
15615 (run): Rerun latex if there was a babel language error.
15617 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15619 * text.C (Backspace): Preserve the font when changing newline char
15621 (BreakParagraph): If the cursor is before a space, delete the space.
15623 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15625 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15627 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15628 new argument (code).
15629 (ChangeCitationsIfUnique): New method.
15631 * paragraph.C (GetPositionOfInset): Handle bibkey.
15633 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15635 * BufferView_pimpl.h: change type of Position::par_pos to
15636 LyXParagraph::size_type.
15638 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15640 * BufferView_pimpl.C (savePosition, restorePosition): Write
15641 messages to minibuffer.
15643 2001-01-28 José Matos <jamatos@fep.up.pt>
15645 * buffer.C (makeDocBookFile): adds support for document language.
15646 A silly restriction on the name of LatexCommand types where removed.
15647 Added support for CDATA sections, allows to chars unescaped, used
15648 among others in code, to avoid escape < and >.
15650 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15652 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15653 saved positions instrad of a stack. Furthermore, a position is
15654 stored using paragraph id/paragraph position.
15656 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15657 Remove LFUN_REF_BACK.
15659 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15661 * converter.C (dvipdfm_options): New method.
15663 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15665 * vspace.C (isValidLength): Fix for empty input string.
15667 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15669 * LyXAction.C (init): change description of LFUN_FIGURE to
15672 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15674 * LaTeX.C: add using directive
15676 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15678 * MenuBackend.C (expand): Fix the sorting of the formats.
15680 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15682 * lyx_main.C: tiny error message fix
15684 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15686 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15687 calling fl_initialize(). This fixes the problem with ',' as
15688 decimal separator in text files.
15690 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15692 * trans.C (process): Fix the keymap bug.
15694 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15696 * LaTeX.C (scanAuxFiles): New method. Provides support for
15697 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15698 (scanLogFile) Scan for "run BibTeX" messages.
15700 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15701 OT1 font encoding. Also, load the aecompl package if the ae
15704 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15706 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15708 * texrow.C (increasePos): turn two error messages into debug
15711 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15713 * LaTeX.C (scanAux): Handle the \@input macro.
15714 (runBibTeX): Use scanAux().
15716 * language.C (latex_options_): New field.
15718 * LaTeXFeatures.C (getMacros): Add language macros.
15720 * buffer.C (makeLaTeXFile): Small fix.
15722 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15726 * text2.C: add a using directive.
15728 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15733 * lyxfunc.C: kill LyXBell.
15735 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15737 * text.C (IsBoundary): Remove the error message
15739 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15741 * lyxrc.C (setDefaults): Correct initialization value for
15744 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15746 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15749 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15750 and GotoNextNote().
15752 * src/LyXAction.C: Added reference-next.
15754 * text.C (InsertChar): Use contains instead of strchr.
15756 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15758 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15760 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15761 alignment commands (when needed).
15763 * text.C (InsertChar): Add ':' to number separator chars.