1 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
4 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
5 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
6 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
7 * ParagraphParameters.C, LaTeXFeatures.C: replace
8 "support/std_sstream.h" with <sstream>
10 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
12 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
13 * lyxsocket.C (LyXServerSocket): ditto
14 (serverCallback): ditto
16 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
18 * LaTeXFeatures.C: check release date when loading jurabib.
20 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
22 * lyxserver.C (startPipe): call register_socket_callback
23 (endPipe): call unregister_socket_callback
25 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
27 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
28 (LyXServerSocket): register the callback
29 (LyXServerSocket): unregister the callback
31 (serverCallback): improve error checking and setup the callbacks.
32 (dataCallback): change arg to fd.
33 (writeln): new func (copied fro the client socket) used for server
35 (LyXDataSocket): simplify
36 (~LyXDataSocket): close ann unregiser callback
37 (server): delete function
39 (readln): small changes, improve some std::string usage
40 (writeln): constify a bit
42 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
47 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * BufferView_pimpl.C (setBuffer): set the layout combox value only
50 after it has been populated
52 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * text2.C (insertInset): move cursor when inserting inset.
56 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * kbmap.C (findbindings): a couple of new methods. returns a
59 container of kb_sequence objects. The real work is done by the
60 private recursive version
61 (printbindings): uses findbindings to print out a bracketed list
62 of bindings (renamed from findbinding).
64 * MenuBackend.C (binding): use kb_keymap::findbindings
66 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
68 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
72 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * paragraph.C (isWord): return true on insets that report
77 * text.C (getWord): use Paragraph::isWord to decide what is in a
78 word and what is not; fix bug 1609.
80 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * tex-strings.C: add "none" to string_paperpackages[], fixes
83 off-by-one-error in the paperpackage selection.
86 * tex-strings.[Ch]: char const * string[n]
87 -> char const * const string[]
89 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
92 command, return early.
94 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
96 * debug.h: add DEBUG to enum and fix size of ANY.
98 * debug.C: add support for Debug::DEBUG
99 (showTags): cast errorTags.level to unsigned int
101 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
102 (redoCurrentBuffer): ditto
103 (updateScrollbar): ditto
104 * cursor.C (dispatch): ditto
105 * text2.C (setLayout): ditto
107 (updateCounters): ditto
109 (deleteEmptyParagraphMechanism): ditto
111 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
113 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
114 annotations to cleanup the Makefile slightly.
116 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * lyxrc.C: do not set user_email to a default value but use empty
119 instead. The entry used to be translated, which does not work
120 since at the point where lyxrc is constructed there is no
121 translation service available
123 * messages.C (getLocaleDir): remove and use directly
124 lyx_localedir() instead
126 2004-06-02 Angus Leeming <leeming@lyx.org>
128 Fix crash caused by dereferencing null pointer 'exportdata' in
129 OutputParams by creating a new ExportData variable on the heap,
130 storing it in a boost::shared_ptr.
131 The crash was triggered when generating an Instant Preview
132 of an external inset.
134 * Makefile.am: add outputparams.C
136 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
137 (c-tor): allocate memory to it.
139 * exporter.C (c-tor): associated changes.
141 2004-06-01 Angus Leeming <leeming@lyx.org>
143 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
144 contains data before calling isInset(0). (Bug 1513.)
146 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * exporter.C (checkOverwrite): new method
149 * exporter.C (copyFile): new method
150 * exporter.C (Export): copy referenced files to the document dir
151 * exporter.[Ch]: new class ExportedFile
152 * exporter.[Ch]: new class ExportData. Contains currently the
153 names of referenced external files
154 * outputparams.h: add exportdata member.
156 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
158 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
161 2004-05-19 Angus Leeming <leeming@lyx.org>
166 * lyxfunc.C: small changes due to the introduction of namespace
167 lyx::frontend and the moving of namespace biblio to lyx::biblio.
169 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
171 * text3.C (dispatch): supress update when only moving the cursor
172 * cursor.C (selHandle): remove commented code
174 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
176 * paragraph.C (startTeXParParams): correct column count
177 * CutAndPaste.C (pasteSelection): remove const_cast
178 * output_docbook.C (docbookParagraphs): remove const_cast
179 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
180 const_cast and return ParagraphList::const_iterator
181 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
182 * output_plaintext.C (writeFileAscii): remove const_cast
183 * paragraph.[Ch] (simpleTeXOnePar): make const
184 * paragraph_funcs.C (outerPar): use const iterators
185 * paragraph_pimpl.C (validate): use const iterators
186 * text.C (setHeightOfRow): use const iterators
188 2004-05-17 Angus Leeming <leeming@lyx.org>
191 * LyXAction.C (init): new LFUN_INSET_REFRESH.
193 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
194 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
195 if the citation engine has changed.
197 2004-05-14 José Matos <jamatos@lyx.org>
199 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
200 if the textclass does not provide it. Have it different for sgml and
202 support the language of document.
203 * output_docbook.C (docbookParagraphs):
204 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
205 first anchor as the id of the paragraph, remove special case code.
206 * sgml.C (escapeChar): escape only < & >.
208 2004-05-14 Angus Leeming <leeming@lyx.org>
210 * bufferparams.h: move biblio::CiteEngine enum here to minimize
211 dependencies on src/frontends/controllers/biblio.h. Define a
212 CiteEngine_enum wrapper class to enable the enum to be forward
215 2004-05-12 Angus Leeming <leeming@lyx.org>
217 * buffer.C: up LYX_FORMAT to 234.
218 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
219 use_numerical_citations with a single biblio::CiteEngine cite_engine
221 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
223 2004-05-13 José Matos <jamatos@lyx.org>
226 * converter.C (Converter, readFlags): add xml member.
227 * outputparams.h: add XML flavor.
228 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
230 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * lyxfunc.C (dispatch):
233 (getStatus): fix handling of LFUN_SEQUENCE
235 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * debug.C (showLevel): do not forget the end-of-line marker
239 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * kbmap.C (read): do not stop parsing a bind file when an error
244 2004-04-29 Angus Leeming <leeming@lyx.org>
249 * text2.C: wrap a bunch of #warning statements
250 inside #ifdef WITH_WARNINGS blocks.
252 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
254 * buffer.C: increment format to 233.
256 2004-04-28 Angus Leeming <leeming@lyx.org>
258 * BufferView_pimpl.C:
261 s/updateToolbar()/updateToolbars()/
262 s/Toolbar.h/Toolbars.h/
264 2004-04-28 Angus Leeming <leeming@lyx.org>
266 * BufferView.[Ch] (c-tor):
267 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
268 No longer passes these data to the WorkArea generator.
270 2004-04-28 Angus Leeming <leeming@lyx.org>
272 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
274 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
276 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
278 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * output_latex.C (TeXEnvironment): make sure that there is a line
281 break before \end{foo} for the last paragraph of a document
282 (TeXOnePar): if the paragraph is at the end of the document (or
283 inset) and the language has to be reset, then make sure that the
284 line break is _before_ the language command, not after (fixes bug
285 1225); also make sure that the language reset command is the first
286 thing after the paragraph (to ensure proper nesting of
287 environments and thus fix bug 1404)
289 2004-04-21 John Levon <levon@movementarian.org>
292 * ToolbarBackend.C: make "name" be a programmatic name
293 and a gui_name field.
295 * lyxfunc.C: display the minibuffer on M-x
297 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
302 2004-04-19 Angus Leeming <leeming@lyx.org>
304 * BufferView_pimpl.C (setBuffer): changed preview interface.
306 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
309 2004-04-19 John Levon <levon@movementarian.org>
311 * BufferView_pimpl.C:
312 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
314 2004-04-05 Angus Leeming <leeming@lyx.org>
316 * text.C (redoParagraphs): add call to updateCounters(), thereby
317 fixing the missing "Figure #:" label from the caption of a
320 2004-04-13 Angus Leeming <leeming@lyx.org>
322 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
323 cursor is clicked out of an inset.
325 2004-04-13 Angus Leeming <leeming@lyx.org>
327 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
328 than an InsetOld one.
330 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
332 * format.[Ch]: add editor to Format
333 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
334 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
336 2004-04-08 André Pönitz <poenitz@gmx.net>
338 * metricsinfo.h: remove PainterInfo::width member
340 2004-04-08 Angus Leeming <leeming@lyx.org>
342 * lyx_sty.C (boldsymbol_def): modify so that it outputs
343 "\providecommand" rather than "\newcommand", thereby preventing
344 clashes with packages that define "\boldsymbol" themselves.
347 2004-04-08 Angus Leeming <leeming@lyx.org>
349 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
350 thereby squashing an unnecessary warning.
352 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
357 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
359 * BufferView.C (setCursor): call redoParagraph (some insets could
361 (putSelectionAt): remove the 'double update' trick
363 * BufferView_pimpl.C (fitCursor): call refreshPar
364 (workAreaDispatch): remove an uneeded update call
365 (dispatch): remove some manual update calls
367 * cursor.[Ch]: remove cached_y_, updatePos
368 (selHandle): set noUpdate when appropriate
370 * lyxfunc.C (dispatch): track if we need an update
372 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
374 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
375 (paintSelection): cheap optimization, do not call cursorX when not
377 (paintPars): change signature
380 (paintTextInset): adjust
384 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * lengthcommon.C: compilation fix: remove explicit array size from
387 unit_name[] and friends
389 2004-04-05 Angus Leeming <leeming@lyx.org>
391 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
393 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
394 present only for the preferences dialog.
395 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
397 2004-04-05 Angus Leeming <leeming@lyx.org>
399 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
400 to enable the frontends to export changes to lyxrc correctly.
402 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
404 2004-04-07 André Pönitz <poenitz@gmx.net>
406 * cursor.[Ch] (selClear, adjust): remove math
408 * cursor_slice.C: more agressive assert
411 * BufferView_pimpl.C: rework mouse event dispatch
418 2004-04-05 André Pönitz <poenitz@gmx.net>
420 * cursor.[Ch] (valign, halign...): remove unneeded functions
422 2004-04-05 Angus Leeming <leeming@lyx.org>
424 * lyxlength.[Ch] (unit_name et al.): const-correct.
426 2004-04-05 Angus Leeming <leeming@lyx.org>
428 * BufferView_pimpl.C:
437 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
439 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
441 * text3.C (getStatus): add LFUN_BEGINNINGBUF
443 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
445 * lyxfind.C: add a couple of inTexted() tests + other small fixes
446 * BufferView_pimpl.[Ch] (getStatus)
447 * BufferView.[Ch] (getStatus): add
448 * lyxfunc.C (getStatus): move lfuns handled in
449 BufferView::dispatch to te function above
450 * Cursor.C (setSelection): set selection() = true
452 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
454 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
456 2004-03-31 Angus Leeming <leeming@lyx.org>
458 * lyxfunc.C (dispatch): Fall through to the generic
459 Dialogs::show("preamble").
461 2004-03-31 Angus Leeming <leeming@lyx.org>
463 * lyxfunc.C (dispatch): Fall through to the generic
464 Dialogs::show("spellchecker").
466 2004-03-31 Angus Leeming <leeming@lyx.org>
468 * lyxfunc.C (getStatus, dispatch): changed invocation of the
471 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
476 * insetiterator.[Ch]:
481 * undo.[Ch]: s/DocumentIterator/DocIterator/g
483 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
485 * BufferView.C (setCursor, putSelectionAt): call edit to open the
486 insets where we are putting the cursor.
488 2004-03-31 Angus Leeming <leeming@lyx.org>
491 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
493 * lyxrc.[Ch] (read, write): overloaded member functions taking
494 a std::[io]stream arguments.
496 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
498 2004-03-31 Angus Leeming <leeming@lyx.org>
500 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
501 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
503 * lyxtextclass.C (load): if the text class couldn't be loaded, then
504 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
506 2004-03-31 Angus Leeming <leeming@lyx.org>
508 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
509 the LFUN_ALL_INSETS_TOGGLE code.
511 2004-03-30 Angus Leeming <leeming@lyx.org>
513 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
514 has died. Fall through to the generic Dialogs::show("document").
516 2004-03-30 Angus Leeming <leeming@lyx.org>
519 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
520 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
522 * lyxfunc.C (getStatus, dispatch): define the actions for these
523 lfuns. Little more than a cut and pste job from ControlDocument.C
525 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
527 2004-03-30 Angus Leeming <leeming@lyx.org>
530 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
531 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
533 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
534 open/closed state of ollapsable insets. Usage:
536 all-inset-toggle <state> <name>, where
537 <state> == "open" || "closed" || "toggle" and
538 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
540 * lyxtext.h, text2.C (toggleInset): removed.
542 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
543 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
544 now passes LFUN_INSET_TOGGLE to the found inset.
546 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
547 is now invoked as "all-insets-toggle toggle branch".
549 2004-03-30 Angus Leeming <leeming@lyx.org>
553 * pariterator.[Ch]: added/corrected header blurb.
555 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
557 * dociterator.[Ch]: add an inset_ member
558 (backwardPos): implemented
559 (backwardPos, forwardPos): use inset_ when the stack is empty.
560 (doc_iterator_begin, doc_iterator_end): implemented
561 * pariterator.[Ch]: adjust, add begin, end
562 * insetiterator.[Ch]: adjust, add begin, end
566 * BufferView_pimpl.C:
567 * CutAndPaste.C: adjust
569 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
571 * buffer.C: increment file format to 232.
572 * LaTeXFeatures.C: add bibtopic package.
573 * bufferparams.[Ch]: param \use_bibtopic.
575 * lyxrc.[Ch]: add lyxrc bibtex_command
576 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
578 * buffer.C: increment file format to 231.
580 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
582 * dociterator.C: implement forwardPar
583 * iterators.[Ch]: remove, replaced by
584 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
586 * BufferView_pimpl.C:
589 * bufferview_funcs.C:
595 * Makefile.am: adjust
597 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
599 * CutAndPaste.C (pasteSelection): fix 2 crashes
600 (eraseSelection): fix a crash
601 * paragraph_funcs.C: remove a warning
603 2004-03-28 Angus Leeming <leeming@lyx.org>
606 * LyXAction.C (init): new LFUN_PRINT.
608 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
610 2004-03-27 Angus Leeming <leeming@lyx.org>
613 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
615 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
617 2004-03-27 Angus Leeming <leeming@lyx.org>
619 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
620 insetlist always contains non-null pointers to insets.
622 2004-03-26 Angus Leeming <leeming@lyx.org>
624 * src/BufferView_pimpl.C:
628 * src/output_plaintext.C:
629 * src/outputparams.h:
630 * src/paragraph_funcs.C:
634 * src/frontends/controllers/ControlErrorList.C:
635 * src/frontends/gtk/FileDialogPrivate.C:
636 * src/frontends/gtk/GPainter.C:
637 * src/frontends/gtk/GToolbar.C:
638 * src/frontends/qt2/QRef.C:
639 * src/mathed/math_scriptinset.C: squash compiler warnings.
641 2004-03-26 Angus Leeming <leeming@lyx.org>
643 * ispell.C (LaunchIspell::start):
644 * lyx_cb.C (AutoSaveBuffer::start):
645 invoke run(DontWait) rather than runNonBlocking().
647 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
649 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
651 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * kbsequence.C (print): adjust
655 * kbmap.C (printKeySym): rename and change signature
656 (printKey): use LyXKeySym::print()
658 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
660 * undo.C: add using std::advance to compile for stlport
662 2004-03-24 Angus Leeming <leeming@lyx.org>
664 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
665 it leads to a crash when no buffer is present.
667 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 Martin Vermeer <martin.vermeer@hut.fi>
670 * lyxfunc.C (dispatch):
671 * bufferparams.C (readToken): use the new LColor::setColor
673 * LColor.[Ch] (setColor): new version that takes two strings as
674 argument and creates a new color entry if necessary
676 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
678 * buffer.C (makeLaTeXFile): if the main latex file that is
679 processed is usually a subdocument of some master, then pretend
680 for a while that it is actually the master
682 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
684 * buffer.C (getLabelList):
685 (getBibkeyList): use getMasterBuffer()
686 (getMasterBuffer): new method. Returns the main document in the
687 case where one is using included documents.
689 2004-03-25 André Pönitz <poenitz@gmx.net>
693 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
695 * ParagraphList_fwd.h: change ParagraphList to a std::vector
697 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
698 text*.C over here. Rename namespace CutAndPaste to lyx::cap
700 * ParameterStruct.h: merge with ParagraphParameters
702 * lyxtext.h: remove LyXText::parOffset() and getPar()
704 * text3.C: Remove all 'manual' update calls. We do now one per user
705 interaction which is completely sufficient.
709 * BufferView_pimpl.C:
712 * ParagraphParameters.[Ch]:
724 * output_docbook.[Ch]:
726 * output_linuxdoc.[Ch]:
727 * output_plaintext.[Ch]:
729 * paragraph_funcs.[Ch]:
730 * paragraph_pimpl.[Ch]:
738 * frontends/controllers/ControlDocument.C:
739 * frontends/controllers/ControlErrorList.C:
740 * frontends/controllers/ControlSpellchecker.C:
743 * insets/insetbase.h:
744 * insets/insetbibitem.C:
746 * insets/insetbranch.C:
747 * insets/insetcaption.C:
748 * insets/insetcharstyle.C:
749 * insets/insetcharstyle.h:
750 * insets/insetcollapsable.C:
751 * insets/insetcollapsable.h:
753 * insets/insetfloat.C:
754 * insets/insetfoot.C:
755 * insets/insetmarginal.C:
756 * insets/insetnote.C:
757 * insets/insetoptarg.C:
758 * insets/insettabular.C:
759 * insets/insettext.C:
760 * insets/insettext.h:
761 * insets/insetwrap.C:
762 * mathed/math_mboxinset.C:
763 * mathed/math_nestinset.C:
764 * mathed/math_scriptinset.C:
765 * mathed/math_scriptinset.h:
768 2004-03-24 Angus Leeming <leeming@lyx.org>
770 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
771 deal with any child processes that have finished but are waiting to
772 communicate this fact to the rest of LyX.
774 2004-03-24 Angus Leeming <leeming@lyx.org>
776 64-bit compile fixes.
778 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
779 (c-tor): pass lyx::pos_types rather than ints.
781 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
784 * text.C (Delete): compile fix.
785 (getPar): ensure that function declaration is the same as that in
788 2004-03-23 Angus Leeming <leeming@lyx.org>
790 * ispell.C (LaunchIspell):
791 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
792 a boost::shred_ptr rather than a std::auto_ptr.
794 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * lyxfunc.C (getStatus): handle read-only buffers correctly;
797 handle LFUN_FILE_INSERT_*
799 * lyxrc.C (setDefaults, getDescription, output, read):
800 * lyxrc.h: remove ps_command
802 2004-03-22 Angus Leeming <leeming@lyx.org>
804 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
805 Ensure that error_handler is processed once only and that all data
806 is saved before attempting to output any warning messages.
808 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
810 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
812 * tabular.C (TeXRow): crash fix (from Kayvan and André)
814 2004-03-19 André Pönitz <poenitz@gmx.net>
816 * cursor.[Ch] (reset): take main text inset as argument
819 * BufferView_pimpl.C: adjust
821 * paragraph.[Ch]: fix completely broken operator=()
823 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
825 * LColor.C (getFromLyXName): make sure that the color name is used
828 2004-03-17 Angus Leeming <leeming@lyx.org>
831 * LyXAction.C (init): remove LFUN_FORKS_KILL.
833 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
834 dialog and to kill a forked process.
836 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
838 * text2.C (setCursorFromCoordinates): fix font problem
840 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
842 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
843 bogus "rebuild cursor" code
845 2004-03-11 André Pönitz <poenitz@gmx.net>
847 * buffer.[Ch]: use InsetText instead of LyXText as container for
850 * dociterator.[Ch]: drop the BufferView * member which is not needed
851 anymore after the change to buffer.C
857 * BufferView_pimpl.[Ch]:
859 * cursor_slice.[Ch]: adjust
861 * text3.C: fix bug in mathDispatch
863 2004-03-08 André Pönitz <poenitz@gmx.net>
865 * undo.[Ch]: use 'StableDocumentIterator' as base for
868 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
871 * bufferparams.[Ch]: add jurabib support and param.
873 * LaTeX.C: add FIXME/comment.
875 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
877 * buffer.C: increment file format to 230.
879 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
881 * cursor.C (dispatch): avoid infinite loops
883 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
885 * rowpainter.C (paintSelection): fix x coordinates
887 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
889 * text.C (rowBreakPoint): fix breaking before displayed insets
891 2004-03-01 André Pönitz <poenitz@gmx.net>
893 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
895 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
899 * BufferView_pimpl.C:
907 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
913 * BufferView_pimpl.C: rename textwidth -> maxwidth,
914 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
916 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
918 * Bidi.[Ch] (computeTables): const correctness
919 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
920 fill_hfill, fill_label_hfill and x from Row
921 * lyxtext.h: prepareToPrint returns a RowMetrics
922 * rowPainter.C: adjust
923 * text.C (prepareToPrint): use width, not textWidth. adjust
924 (redoParagraphInternal, cursorX): adjust
925 * text2.C (getColumnNearX): adjust
926 (init): put a default value to the top LyXText::width
928 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
930 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
932 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
934 * lyxtext.h: add FontIterator class
936 * text.C (FontIterator, operator*, operator->, operator++): add
937 (rowBreakPoint, setRowWidth): adjust (fixing a
940 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
942 * BufferView_pimpl.C (workAreaDispatch): allow also
943 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
945 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
947 * text.C (rowBreakPoint): fix a bug showing with very large insets
949 2004-02-25 André Pönitz <poenitz@gmx.net>
952 * cursor.[Ch]: move some mathed specific code to mathed
954 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
956 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
957 use_tempdir in preferences
958 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
960 * lyx_main.C: ensure that tempdir is valid
961 * lyxlex.h: correct typo
962 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
963 * paragraph.[Ch] (isMultiLingual): make const
964 * cursor.[Ch] (openable): make const
966 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
968 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
970 2004-02-20 André Pönitz <poenitz@gmx.net>
972 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
974 * cursor.[Ch]: prepare for localized getStatus()
980 * text3.C: streamlines the LyXText cursor movement handlers a bit.
982 2004-02-20 André Pönitz <poenitz@gmx.net>
984 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
986 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
988 * text2.C (setCursorFromCoordinates): switch to absolute coords
991 * text3.C (dispatch): adjust
993 2004-02-16 André Pönitz <poenitz@gmx.net>
995 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
998 * cursor_slice.[Ch]: remove unneeded acessor function
1000 * lyxtext.h: rename rtl() to isRTL()
1008 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1010 * rowpainter.C (paintSelection): coord fix
1012 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * Spacing.C: compile fix
1016 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1018 * cursor.C (dispatch): restore current_ before returning
1020 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1022 * text2.C (cursorUp, cursorDown): fix coords
1025 2004-02-12 André Pönitz <poenitz@gmx.net>
1030 * text3.C: add LCursor & parameter to most cursor movement functions
1031 remove usage of LyXText::cursorRow() and cursorPar()
1033 * cursor.[Ch]: add textRow() needed members
1036 * BufferView_pimpl.C:
1039 * BufferView_pimpl.C: adjust
1041 2004-02-11 André Pönitz <poenitz@gmx.net>
1045 * BufferView_pimpl.C: shift undo/redo handling
1047 * cursor.[Ch]: fix mathed crash
1050 * lyxtext.h: move selectionAsText to LCursor
1058 * rowpainter.C: fix excessive drawing
1060 2004-02-06 André Pönitz <poenitz@gmx.net>
1063 * BufferView_pimpl.[Ch]:
1064 * text3.C: move some text specific LFUN handling
1066 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1068 * text3.C (checkInsetHit): adjust coords
1069 * text2.C (getColumnNearX): adjust coords
1070 (edit): adjust coords
1071 * text.C (getRowNearY): add two asserts
1073 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1076 * format.C: add using std::distance to compile on gcc 2.95/stlport
1078 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1080 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1082 2004-02-04 André Pönitz <poenitz@gmx.net>
1084 * BufferView.[Ch] (insertInset):
1085 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1090 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1092 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1093 on the default clause of the switch
1094 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1095 wasn't catched by LCursor::dispatch
1097 2004-02-03 André Pönitz <poenitz@gmx.net>
1100 * cursor.[Ch]: some additional asserts
1102 * undo.[Ch]: remove LyXText dependency in interface
1106 * lyxtext.h (firstPar, lastPar): remove dead functions
1111 * paragraph.[Ch]: adjust
1113 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1115 * lyxfind.C (find): fix argument order in call to ::find
1117 2004-02-02 André Pönitz <poenitz@gmx.net>
1119 * cursor.[Ch]: remove direct access to anchor
1121 * text.C: remove findText() hack
1123 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1125 * iterators.[Ch] (lockPath): remove in favour of...
1126 * BufferView.[Ch] (setCursor): this addition
1127 * BufferView.C (putSelectionAt): adjust
1128 * undo.C (performUndoOrRedo): adjust
1129 * lyxfunc.C (dispatch): adjust
1131 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1133 * iterators.C (lockPath): add a missing slice
1134 * undo.C (performUndoOrRedo): remove redundant positioning code
1136 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1138 * vc-backend.C (scanMaster): ";" -> ';'
1140 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1142 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1143 std::binary_function
1145 * lyxtextclass.C (compare_name): rename to...
1146 (LayoutNamesEqual): ...this
1148 * lyxlex_pimpl.C (compare_tags): inherit from
1149 std::binary_function, put back into anon namespace
1151 * lyxfind.C (MatchString): inherig from std::binary_function
1152 (findChange): use empty() istead of !size()
1154 * format.C (FormatNamesEqual): new functor
1161 * converter.C (compare_Converter): rename to...
1162 (ConverterEqual): ...this, and fixup a bit.
1163 (getConverter): use it, and make function const
1164 (getNumber): use it, and make function const
1168 * bufferlist.C: add using boost::bind
1170 * MenuBackend.C (MenuNamesEqual): new functor
1171 (hasMenu): use it, and make function const
1172 (hasSubmenu): use nested bind to get rid of compare_memfun.
1174 2004-01-30 André Pönitz <poenitz@gmx.net>
1176 * BufferView_pimpl.C:
1179 * cursor_slice.[Ch]:
1182 * paragraph_funcs.C:
1183 * paragraph_funcs.h:
1187 * text3.C: move some of the edit(x,y) handling to the insets
1188 some coordinate changes.
1190 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1192 * text.C: add using statements for std::advance and std::distance
1194 * paragraph.C: add using statement for std::distance
1196 * lyxfind.C: add using statement for std::advance
1198 * cursor.C (region): remove std:: from swap
1199 (openable): use nucleus in stead of operator->
1201 * BufferView.C: add using statements for std::distance and std::swap
1203 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1205 * iterators.C: Remove the pimple, move the needed structures to
1206 the header file. Create accessor for the positions stack.
1207 (asPosIterator): remove function
1209 * PosIterator.C (PosIterator): move constructors to top of file
1210 (PosIterator): reimplement the constructor taking a ParIterator in
1212 (setFrom): new function
1213 (operator!=): inline it
1215 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1217 * lyxfind.C (replaceAll): use std::advance
1219 * iterators.h: inherit from std::iterator.
1221 * PosIterator.C (advance, distance): remove
1222 * PosIterator.h: interit from std::iterator.
1224 2004-01-26 André Pönitz <poenitz@gmx.net>
1227 * BufferView_pimpl.[Ch]:
1231 * bufferview_funcs.C:
1241 * output_linuxdoc.C:
1242 * output_plaintext.C:
1244 * paragraph_funcs.[Ch]:
1245 * paragraph_pimpl.[Ch]:
1251 * text3.C: more IU: dumps most of the rest of the mathcursor
1252 implementation into cursor.[Ch]; "globalize" a bit of it.
1254 2004-01-25 Angus Leeming <leeming@lyx.org>
1256 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1258 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260 * LaTeXFeatures.h: add nice_ and nice() const
1261 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1263 2004-01-20 André Pönitz <poenitz@gmx.net>
1266 * BufferView_pimpl.C:
1268 * bufferview_funcs.C:
1270 * cursor_slice.[Ch]:
1281 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1282 LCursor and mathcursor parts to LCursor and InsetBase.
1284 2004-01-15 André Pönitz <poenitz@gmx.net>
1286 * cursor_slice.[Ch]: add a few covienience functions
1288 * funcrequest.[Ch]: remove BufferView * member
1290 * BufferView_pimpl.C:
1297 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1299 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1301 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1302 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1304 2004-01-13 André Pönitz <poenitz@gmx.net>
1307 * lyxtext.h: hide cursor and selection anchor behind accessor function
1310 * BufferView_pimpl.[Ch]:
1312 * bufferview_funcs.C:
1322 * cursor_slice.[Ch]: some integer type changes for inset unification
1324 * lyxcursor.[hC]: remove, it's CursorSlice now.
1327 * BufferView_pimpl.[Ch]:
1328 * bufferview_funcs.C:
1334 * textcursor.[Ch]: adjust
1336 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1338 * text2.C (undoSpan): add and use
1339 * text.C (breakParagraph): use undoSpan (fix bug 578)
1342 2004-01-08 Angus Leeming <leeming@lyx.org>
1344 * BufferView_pimpl.C (MenuInsertLyXFile):
1345 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1346 * lyxfunc.C (menuNew, open, doImport):
1347 FileFilterList change to the FileDialog open and save functions.
1349 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1351 * ShareContainer.h: make isEqual and isUnique adaptable
1353 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1355 2004-01-07 Angus Leeming <leeming@lyx.org>
1358 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1360 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1362 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1363 functions replacing find, replace and replaceAll.
1365 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1366 LFUN_WORDFIND(FORWARD|BACKWARD).
1368 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1370 * text.C (breakParagraph): remove an outdated #warning
1372 2004-01-07 André Pönitz <poenitz@gmx.net>
1374 * lyxfind.C: somewhat clearer logic
1376 * text.C: prevent crash in cursorX on unitialized row cache
1378 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1380 * lyxcursor.[Ch] (operator>): add
1381 * textcursor.C (selStart, selEnd): use std::min and std::max
1383 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1385 * Chktex.C: include boost/format.hpp
1387 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1389 * InsetList.C: replace functor MathcIt with adaptable functor
1391 (insetIterator): modify accordingly
1393 * BranchList.h: move the BranchNamesEqual functor here from...
1394 * BranchList.C: ... to here
1396 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1398 (add): replace a finding loop with std::find_if.
1400 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1402 * output_docbook.C: moving LatexParam functionality into
1405 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1407 * buffer.C: increment format to 229.
1409 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1412 * lyx_sty.[Ch]: remove minipageindent_def
1418 * text3.C: remove LFUN_INSET_MINIPAGE
1420 2003-12-28 Angus Leeming <leeming@lyx.org>
1422 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1424 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1426 * text2.C (setParagraph): fix off-by-one crash
1428 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1430 * output_docbook.C: header stuff for AGU
1432 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1434 * text2.C (redoCursor): remove
1437 * BufferView_pimpl.C: remove calls to redoCursor and
1438 setCursor(cursor.par(), cursor.pos()) all around
1440 2003-12-15 Angus Leeming <leeming@lyx.org>
1442 * buffer.C: up the format to 228.
1444 2003-12-15 André Pönitz <poenitz@gmx.net>
1446 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1451 * BufferView_pimpl.C:
1460 2003-12-15 Angus Leeming <leeming@lyx.org>
1462 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1463 than getFromGUIName to manipulate the color.
1465 2003-12-14 Angus Leeming <leeming@lyx.org>
1467 * BranchList.[Ch]: minimize the API.
1468 (Branch::getBranch, getColor): now return a 'const &'.
1469 (Branch::setSelected) now returns a bool set to true if the
1470 selection status changes.
1471 (BranchList::clear, size, getColor, setColor, setSelected,
1472 allBranches, allSelected, separator): removed.
1473 (BranchList::find): new functions, returning the Branch with
1475 (BranchList::add, remove): return a bool indicating that
1476 the operation was successful.
1478 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1479 new InsetBranch::isBranchSlected member function.
1481 * LColor.[Ch]: mimimize the API.
1482 (fill): renamed as addColor and made private.
1483 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1484 versions of these functions taking a string arg have been removed.
1486 * bufferparams.C (readToken):
1487 * lyxfunc.C (dispatch):
1488 * lyxrc.C (read): changes due to the altered BranchList and
1491 * factory.C (createInset, readInset): changes due to altered
1494 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1497 * lyxfunc.C: remove insetminipage. "minipage-insert"
1498 now produces a frameless minipage box inset.
1500 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1502 * textcursor.[Ch] (selStart,selEnd): add new methods
1503 remove selection::start, end, use LyXCursor::operator<
1504 * lyxcursor.[Ch] (operator<): add
1505 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1506 * BufferView.[Ch] (unsetXSel): add
1507 * text2.C (clearSelection): use unsetXSel,adjust
1510 * rowpainter.C: adjust
1511 * bufferview_funcs.C (put_selection_at): adjust
1513 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1515 * BufferView_pimpl.C: small coord. correction
1517 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1519 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1520 dragging over the splash screen.
1522 2003-12-11 Angus Leeming <leeming@lyx.org>
1524 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1525 as it is now handled in LyXText::dispatch.
1527 * text3.C (doInsertInset): remove a level of nesting.
1529 2003-12-11 Angus Leeming <leeming@lyx.org>
1531 * factory.C (createInset): changes due to the changed interface to
1532 InsetCommandMailer::string2params.
1534 2003-12-10 Angus Leeming <leeming@lyx.org>
1536 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1537 'dialog-show-new-inset <inset name>'
1539 2003-12-10 Angus Leeming <leeming@lyx.org>
1541 * buffer.C: up the format to 227.
1543 * factory.C: the box inset is now identified simply by 'Box'.
1545 2003-12-10 Angus Leeming <leeming@lyx.org>
1547 * buffer.C: up the format to 226.
1549 * factory.C: the note inset is now identified simply by 'Note'.
1551 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1553 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1554 when a pit is enough. Standarize a couple of loops.
1556 2003-12-05 Angus Leeming <leeming@lyx.org>
1558 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1559 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1560 data to the re-worked "log" dialog.
1562 2003-12-03 André Pönitz <poenitz@gmx.net>
1568 * paragraph_funcs.C:
1570 * text2.C: use Inset::getText instead of Inset::getParagraph
1572 2003-12-03 André Pönitz <poenitz@gmx.net>
1576 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1577 InsetText::read() as LyXText::read()
1579 2003-12-02 Angus Leeming <leeming@lyx.org>
1581 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1582 type. Add a comment in the implementation that the function uses
1583 the stream's bad() function rather than fail() as the std::streams
1586 2003-12-02 André Pönitz <poenitz@gmx.net>
1588 * lyxlex.[Ch]: make interface more similar to std::stream
1590 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1592 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1594 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1596 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1598 * vspace.[Ch]: remove VSpace::NONE
1600 2003-12-01 André Pönitz <poenitz@gmx.net>
1603 * lyxtext.h: move ParagraphList member to LyXText
1604 rename LyXText::ownerParagraphs to LyXText::paragraph
1607 * bufferview_funcs.C:
1617 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1619 * undo.C: fix cursor positioning
1621 2003-12-01 John Levon <levon@movementarian.org>
1623 * BufferView_pimpl.C: fix a crash on exit with
1626 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1628 * BranchList.C: fix setSelected() method.
1630 2003-11-28 André Pönitz <poenitz@gmx.net>
1632 * ParagraphParameters.[Ch]:
1633 * ParameterStruct.h: remove space above/below from Paragraph to
1636 * BufferView_pimpl.C:
1642 * paragraph_funcs.C:
1648 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1650 * factory.C: Syntax change for CharStyles
1652 2003-11-28 André Pönitz <poenitz@gmx.net>
1657 * buffer.[Ch]: move LyXText member
1659 2003-11-28 André Pönitz <poenitz@gmx.net>
1661 * BufferView.[Ch]: make LyXText * text a private member
1663 * BufferView_pimpl.C:
1674 * output_plaintext.C: cleanup
1676 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1679 * lyxtextclass.[Ch]: parametrize SGML document header
1681 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1684 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1687 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1689 * text2.C (setFont): rework using PosIterator (no more recursive)
1690 (setCharFont): no more needed
1691 (setLayout): no more selection cursors fiddling (done by redoCursor)
1692 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1693 destroy remaining ones)
1695 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1697 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1699 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1702 * text3.C: adjust + re-allow multi par depth changes
1703 * textcursor.C: simplify a bit
1705 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1711 * src/output_docbook.C:
1712 * src/output_latex.C:
1717 * src/text2.C: Introducing a number of tags parametrizing various
1718 XML formats that we may want to support
1720 2003-11-25 André Pönitz <poenitz@gmx.net>
1722 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1724 * lyxtext.h (leftMargin/rightMargin): simplify interface
1731 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1733 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1734 master file to any child files. Fixes bug 546.
1736 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1738 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1740 2003-11-24 André Pönitz <poenitz@gmx.net>
1742 * rowpainter.C: simplification
1744 * text2.C (updateCounters): remove call to redoParagraph on
1745 changed labels as this is far too expensive.
1747 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1749 * converter.C (convert): fix a crash: this function gets
1750 called with buffer == 0 from importer code.
1752 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1754 * text3.C (cursorPrevious): make sure that we do not compare
1755 iterators form different containers.
1758 * rowpainter.C (paintSelection): make sure that we do not compare
1759 iterators from different containers.
1761 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1762 iterators from different ParagraphList containers.
1765 * text2.C (LyXText): change order of initialization slightly
1766 (operator=): new function. copy all variables except cache_par_
1767 (moveUp): make sure that we do not compare iterators from
1768 different ParagraphList constainers.
1771 * text.C (firstPar): new function
1772 (lastPar): new function
1773 (endPar): new function
1775 * lyxtext.h: move things around and group public functions, public
1776 variables, private functions, private variables
1778 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1780 * factory.C: change call to InsetERT constructor to avoid
1781 additional invocation of method status
1782 * text2.C (toggleInset): remove redundant update() call
1783 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1784 instead of a Bufferview pointer
1786 2003-11-21 André Pönitz <poenitz@gmx.net>
1788 * rowpainter.C: simplification
1790 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1792 * text3.C (dispatch): make possible to extend a word/row selection
1795 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1797 * lyxtext.h: x0_,y0_ -> xo_,yo_
1798 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1799 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1800 * rowpainter.C (paintRows): paint full paragraphs
1802 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1804 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1807 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1809 * lyxtext.h: add x0_, y0_
1810 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1811 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1813 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1815 * text2.C (setCursorIntern): move the x_target update here *
1816 * text3.C: change some bv() to true/false in calls to
1817 cursorUp/Down/Right/Left
1818 * cursor.C: use helper function.
1820 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1822 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1823 * paragraph_funcs.[Ch]: correct comment
1824 * rowpainter.C: do not paint selections away from bv->cursor()
1825 Fix a long standing selection painting bug.
1826 * text3.C: generalize mouse-selection code to LyXTexts other that
1828 * textcursor.C: do not use y coords if we can use par offsets
1830 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1832 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1833 cursor position after e.g. inset insert)
1835 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1837 * lyxfind.C (replace): adjust to locking removal + some
1840 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1842 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1845 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1848 * output_docbook.C: XML sanitation: new layout
1849 parameters InnerTag and CommandDepth
1851 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1853 * BufferView_pimpl.C:
1855 * text3.C: Fix the insertion and modification of button-style
1858 2003-11-13 André Pönitz <poenitz@gmx.net>
1860 * InsetList.[Ch]: remove deleteLyXText
1862 * paragraph.[Ch]: cache beginOfBody position
1867 * text3.C: remove superfluous update() calls
1871 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1873 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1874 * BufferView.C (fitLockedInsetCursor): remove
1875 * cursor.[Ch] (getDim): add
1876 * text.C (getRowNearY): add faster version
1877 * text3.C: remove some update calls
1879 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1891 * text3.C: The Character Style /XML short element patch.
1893 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1896 * factory.C: Small step to solving 'unable to insert some insets'
1899 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1901 * cursor.[Ch] (updatePos): new function for updating the y
1902 position of the tip inset
1903 * bufferview_funcs.C (put_selection_at):
1904 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1906 2003-11-11 André Pönitz <poenitz@gmx.net>
1908 * text.C: remove big comment on invalid Paragraph pointers as it is
1911 2003-11-11 André Pönitz <poenitz@gmx.net>
1913 * text_funcs.[Ch]: merge with ...
1921 * Makefile.am: remove text_funcs.[Ch]
1923 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1925 * cursor.C (getPos): return absolute cached y coord
1927 * BufferView_pimpl.C (fitCursor): new simplistic code
1928 (workAreaDispatch): add a fitCursor call
1930 2003-11-10 André Pönitz <poenitz@gmx.net>
1933 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1935 2003-11-10 André Pönitz <poenitz@gmx.net>
1937 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1938 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1939 indicate that the cursor needs to leave an inset
1941 * lyxtext.h: remove inset locking
1943 * cursor.[Ch]: re-implement functionality provided by inset locking
1946 * BufferView_pimpl.[Ch]:
1948 * bufferview_funcs.[Ch]:
1960 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1962 * PosIterator.[Ch]: replace the stack with a vector, add inset
1964 * iterators.[C]: adjust
1966 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1968 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1970 * paragraph_funcs.C (readParToken): put the correct id in the
1971 error item, not the id of the top paragraph
1973 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1975 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1976 * bufferview_funcs.C (put_selection_at): use the above
1978 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1980 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1982 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * output_linuxdoc.h:
1985 * output_plaintext.h:
1987 * output_docbook.h: add #include statements
1989 2003-11-05 José Matos <jamatos@lyx.org>
1991 * output_docbook.[Ch]:
1992 * output_latex.[Ch]:
1993 * output_linuxdoc.[Ch]:
1994 * output_plaintext.[Ch]: New files for output formats.
1995 * output.[Ch]: New file for helper functions.
1998 * paragraph_funcs.[Ch]: output functions moved to new files.
2000 * outputparams.h: rename of latexrunparams.h
2008 * paragraph_funcs.[Ch]:
2009 * paragraph_pimpl.[Ch]:
2010 * tabular.[Ch]: rename ascii to plaintext
2011 and LatexRunParams to OutputParams.
2013 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2015 * iterators.[Ch] (text): require bv argument
2016 * undo.C (recordUndo):
2017 * lyxfunc.C (dispatch):
2018 * bufferview_funcs.C (put_selection_at): adjust
2020 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2022 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2024 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2026 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2029 2003-11-04 André Pönitz <poenitz@gmx.net>
2031 * cursor.[Ch]: restructure
2034 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2036 * iterators.[Ch] (asCursor): remove
2038 * lfuns.h: remove LFUN_INSET_EDIT
2044 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2046 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2048 * lyxfind.[Ch]: complete overhaul
2049 * BufferView_pimpl.C:
2051 * paragraph.[Ch] (insert): add
2053 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2057 * text.C: remove dead spellcheck code
2059 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * dispatchresult.h: add a val setter
2063 * cursor.C (dispatch): use a tempvar for data_[i]
2065 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2067 * PosIterator.[Ch]: compile fix
2069 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2071 * text.C (cursorPar): deactivate the cursor cache
2073 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2075 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2077 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * text3.C (dispatch): adjust for new DisptchResult semantics.
2081 * lyxfunc.C (dispatch): handle update when return from
2082 Cursor::dispatch, adjust for new DispatchResult semantics.
2084 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2085 DispatchResult(true) mean to not update. Add class functions for
2086 setting dispatched and update, as well as reading.
2088 * cursor.C (dispatch): don't handle update here
2090 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2092 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2093 * trans_mgr.C: adjust
2095 * paragraph_funcs.C (readParToken): exception safety
2097 * lyxvc.h: store the vcs pointer in a scoped_ptr
2100 * lyxsocket.C (serverCallback): exception safety
2102 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2104 * ispell.C (clone): make it return a auto_ptr
2106 * factory.C (createInset): exception safety
2107 (readInset): exception safety
2109 * bufferlist.C (newBuffer): exception safety
2111 * Thesaurus.C (Thesaurus): use initialization for aik_
2113 * MenuBackend.C (expandToc): exception safety.
2115 2003-11-03 André Pönitz <poenitz@gmx.net>
2119 * bufferview_funcs.C: remove getInsetFromId()
2122 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2128 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2130 * PosIterator.C (distance, advance): new
2131 * bufferview_funcs.[Ch] (put_selection_at): new
2132 * iterators.[Ch] (lockPath): new
2134 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2136 * iterators.[Ch] (asPosIterator): added
2137 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2138 * PosIterator.[Ch]: added
2140 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * cursor.C (dispatch):
2145 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2147 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2148 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2149 contructor, add a class function dispatched. Remove operator>=
2151 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * debug.C: only use the default constructor for debugstream
2156 * main.C (main): include debug.h and setup the lyxerr streambuf
2159 2003-10-31 José Matos <jamatos@lyx.org>
2161 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2163 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2164 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2165 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2166 * paragraph_pimpl.C (simpleTeXSpecialC):
2167 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2168 add LatexRunParams argument.
2170 * exporter.C (Export): change call accordingly.
2172 * latexrunparams.h: add new member to take care of the other backends.
2173 2003-10-30 José Matos <jamatos@lyx.org>
2175 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2176 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2177 factorise code for paragraph output.
2179 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2182 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * text3.C (dispatch):
2185 * lyxfunc.C (dispatch):
2186 * cursor.C (dispatch):
2187 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2189 * dispatchresult.h: make the dispatch_result_t ctor explicit
2191 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2194 * buffer.C: small refactoring of docbook stuff
2196 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2201 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2204 operator dispatch_result_t, and operators for == != and >=
2206 * cursor.C (dispatch): adjust for operator dispatch_result_t
2207 removal. comment out call to update
2209 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2211 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2222 * dispatchresult.h: new file, DispatchResult broken out of
2225 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2227 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2229 * text.C (rowBreakPoint): put a hack inside #if 0
2231 2003-10-28 André Pönitz <poenitz@gmx.net>
2235 * paragraph_funcs.C:
2238 * text2.C: general cleanup (lots of small stuff)
2240 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2242 * text2.C (cursorEnd): simple fix to the "end key goes to one
2243 before the end on last row" bug
2245 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2247 * text.C (backspace): fix the "zombie characters"
2249 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2251 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2253 2003-10-27 André Pönitz <poenitz@gmx.net>
2255 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2257 * factory.C: handle new InsetPagebreak, InsetLine
2259 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2260 and move handling into new InsetPagebreak, InsetLine
2262 * BufferView_pimpl.C:
2264 * ParagraphParameters.C:
2265 * ParameterStruct.h:
2270 * paragraph_funcs.C:
2271 * paragraph_pimpl.C:
2277 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2280 * lyxrow_funcs.[Ch]:
2286 * text3.C: remove lastPos uses in favour of Row::endpos
2288 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2290 * undo.C (performUndoOrRedo): fix two crashes by setting a
2291 cursor by hand and reordering some calls. Use bv->lockInset instead
2292 of inset->edit because the latter loses cursor information
2294 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2296 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2298 (rowBreakPoint): fix width. change point to point + 1.
2299 Add a missing check.
2301 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2304 * lyxfunc.C: fix (at least partly) the problems
2305 with the Nav menu and headers inside branch insets
2308 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2310 * paragraph.C (getChar): add strong asserts
2312 * lyxrow_funcs.C (lastPos): remove hideous hack
2314 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2315 (fill): adjust to that (avoid an infinite loop)
2317 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2319 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2321 2003-10-23 André Pönitz <poenitz@gmx.net>
2323 * RowList_fwd.h: change list<> to vector<> to gain speed
2324 after suggestion from Alfredo
2326 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2328 * lyxtext.h: move the bidi stuff from here...
2331 * Bidi.[Ch]: ... to here
2333 2003-10-23 André Pönitz <poenitz@gmx.net>
2336 * text.C (isLastRow, isFirstRow): new functions
2338 * paragraph.h: new width cache member
2340 * rowpainter.C: replace RowList::iterator with Row & where possible
2342 * lyxfunc.C: replace several view()->text with a single call
2344 * toc.C: fix 'unused' warning
2346 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2348 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2349 when woring with stream::pos_type
2350 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2352 2003-10-22 André Pönitz <poenitz@gmx.net>
2355 * text.C: use Row & instead of RowList::iterator
2357 * lyxrow.h: rename end() to endpos()
2363 2003-10-22 Angus Leeming <leeming@lyx.org>
2365 * buffer.[Ch] (fully_loaded): new member function, returning true
2366 only when the file has been loaded fully.
2367 Used to prevent the premature generation of previews and by the
2368 citation inset to prevent computation of the natbib-style label.
2370 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2371 templates are all set up.
2373 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2375 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2377 * text.C: fixed an "oops" in the "is a bit silly"
2380 2003-10-21 André Pönitz <poenitz@gmx.net>
2382 * FuncStatus.[Ch]: small stuff, whitespace
2384 * lyxfont.[Ch]: operator<<() for debug reasons
2388 * lyxtext.h: whitespace, spelling
2390 * paragraph.C: naming of variables
2393 * text2.C: small stuff
2396 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2398 * text.C: (1) finish off the inset display() work;
2399 (2) fix the "is a bit silly" bug (accessing char
2402 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2404 * text.C: re-introduce display() for insets, fixing the
2405 various bugs (stretch of line above, math inset
2408 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2410 * text.C (rightMargin): remove spurious semicolon
2412 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2415 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2417 * text3.C: fix one crash due to wrong cursor def
2419 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * vc-backend.C (scanMaster): make the regex static
2423 * LaTeX.C (scanAuxFile): make the regexs static
2425 * text3.C (doInsertInset, dispatch, dispatch):
2426 * text2.C (cursorUp, cursorDown):
2427 * text.C (selectNextWordToSpellcheck):
2428 * BufferView_pimpl.C (dispatch):
2429 * lyxfunc.C (dispatch): localDispatch -> dispatch
2431 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * lyxsocket.C: include <cerrno>
2435 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * lyxfunc.C (dispatch): remove textcache stuff
2439 * bufferlist.C (release): remove textcache stuff
2442 * TextCache.C: delete file
2443 * TextCache.h: delete file
2445 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2447 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2448 delete of the bv_->text.
2449 (resizeCurrentBuffer): remove texcache stuff
2450 (workAreaResize): ditto
2452 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2457 2003-10-16 André Pönitz <poenitz@gmx.net>
2464 * text3.C: speed up by storing y positions per paragraph plus per-row
2465 offset instead of having a 'full' y position in the row.
2467 2003-10-15 André Pönitz <poenitz@gmx.net>
2471 * undo.[Ch]: make undo aware of inner insets
2473 2003-10-14 Angus Leeming <leeming@lyx.org>
2475 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2476 static member functions LyX::ref() and LyX::cref.
2477 (lastfiles): new accessor functions for the new lastfiles_ member var.
2478 (addLyXView, views_): add a new LyXView to the list of views_.
2479 (updateInset): loop over all LyXViews to call their own updateInset
2480 member function, returning a pointer to the Buffer owning the inset.
2482 * BufferView_pimpl.C (loadLyXFile):
2483 * MenuBackend.C (expandLastfiles):
2484 * bufferlist.C (MenuWrite, QuitLyX):
2485 lastfiles is no longer a global variable.
2486 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2488 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2489 static function. Access through LyX::cref().emergencyCleanup().
2491 2003-10-14 André Pönitz <poenitz@gmx.net>
2493 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2495 * undo.[Ch]: restoring part of 'undo in insets'
2498 * undo_funcs.[Ch]: merge with undo.[Ch]
2500 * tabular.C: small cleansing stuff
2502 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2504 * paragraph_funcs.C (readParToken): report unknown insets as error
2505 boxes. Use the outer paragraph as location (also for unknown
2508 * factory.C (readInset): do not abort on reading an unknown inset.
2509 Eat it and return 0.
2511 2003-10-13 Angus Leeming <leeming@lyx.org>
2513 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2515 * lyxrc.C: displayTranslator is now a function,
2516 declared in GraphicsTypes.h.
2518 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2520 * format.C: new placeholder $$a to pass the socket address.
2522 * bufferlist.[Ch]: new function getBufferFromTmp.
2524 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2525 files in the temporary dir.
2527 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2529 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2531 * Makefile.am: add lyxsocket.[Ch].
2533 * lyx_main.C (error_handler): handle SIGPIPE.
2535 2003-10-13 André Pönitz <poenitz@gmx.net>
2537 * BufferView_pimpl.C:
2542 * undo_funcs.[Ch]: use paroffset_type instead of
2543 ParagraphList::iterators to prevent multiple conversion
2544 (and get a more robust interface)
2546 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2548 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2550 * text3.C (dispatch): ditto
2552 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2554 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2555 move the onlyfile, use onlyfile instead of foundfile in a couple
2558 * DepTable.C (update): flush the error stream a bit more
2560 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * lyxserver.C (callback): adjust
2564 * lyxfunc.C (getStatus): add a missing brace in commented code
2565 (ensureBufferClean): reindent
2566 (dispatch): delete version taking a string
2568 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * LaTeX.C (deplog): move found file handlig from here...
2571 (handleFoundFile): .. to new function here.
2572 (deplog): make sure to discover several files mentioned on the
2575 2003-10-10 André Pönitz <poenitz@gmx.net>
2582 * text3.C: fix some of the tabular crashes
2584 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2586 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2588 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2590 2003-10-09 André Pönitz <poenitz@gmx.net>
2592 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2595 * BufferView_pimpl.C:
2596 * bufferview_funcs.C:
2607 * undo_funcs.C: adjust
2609 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * text2.C (incrementItemDepth): new function, use a backtracking
2612 algorithm to discover the correct item depth.
2613 (resetEnumCounterIfNeeded): new function, use a backtracking
2614 algorithm to discover if counter reset is needed.
2615 (setCounter): use them. Simplify a bit. Add different labels for
2616 different item depths for itemize.
2618 * paragraph.C (Paragraph): remove initialization of enumdepth
2621 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2622 enumerate and itemize. Change the type of itemdepth to signed char.
2624 2003-10-08 André Pönitz <poenitz@gmx.net>
2626 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2631 * tabular.[Ch]: fix crash after 'row-insert'
2633 2003-10-08 Angus Leeming <leeming@lyx.org>
2635 Fix doxygen warnings.
2637 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2638 Remove CutAndPaste:: prefix from header file declaration.
2640 * LColor.h (fill): remove LColor:: prefix from declaration.
2642 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2643 use lyx::depth_type rather than Paragraph::depth_type so that
2644 header file and .C file match.
2646 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2648 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2649 * aspell.C: \file aspell_local.C -> \file aspell.C
2650 * gettext.C: \file gettext.C -> \file src/gettext.C
2651 * gettext.h: \file gettext.h -> \file src/gettext.h
2652 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2653 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2654 * text.C: \file text.C -> \file src/text.C
2656 * toc.C: move comment so that doxygen is not confused.
2658 2003-10-07 Angus Leeming <leeming@lyx.org>
2660 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2662 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2665 * aspell_local.h: add forgotten std::string's.
2667 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2674 * text3.C: The Box patch. Fancybox support, minipage, parbox
2676 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2682 * ParagraphParameters.h:
2692 * lyxtextclasslist.h:
2695 * paragraph_pimpl.C:
2696 * textcursor.h: add <string> and other small fixes to make Lars'
2697 std::string patch compile with STLport.
2699 2003-10-06 Angus Leeming <leeming@lyx.org>
2701 * LColor.h: Add missing #include <string>.
2703 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * All most all file in all subdirs: Make <string> be the prefered
2706 way of getting to std::string, add using declarations.
2708 2003-10-06 André Pönitz <poenitz@gmx.net>
2710 * metricsinfo.C: initialize LyXFont before changing attribute.
2711 (fixes the 'math in \emph is upright' bug)
2713 2003-10-06 André Pönitz <poenitz@gmx.net>
2715 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2717 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2720 * paragraph_pimpl.C: Small fixes to build using STLport
2722 2003-10-02 André Pönitz <poenitz@gmx.net>
2725 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2727 2003-10-01 André Pönitz <poenitz@gmx.net>
2729 * factory.C: assert early
2731 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * lyx_main.C: remove the global debug object
2735 * debug.h: adjust for new debugstream
2737 * debug.C: adjust for new debugstream and keep the global debug
2740 2003-09-22 Angus Leeming <leeming@lyx.org>
2742 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2743 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2744 an incomplete class LyXFont.
2746 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2748 * factory.C: bug fix in branches
2750 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * lyxfunc.C (processKeySym): adjust
2754 (dispatch): change arg name from ev to func, adjust
2755 (sendDispatchMessage): ditto
2757 * lyx_main.C (defaultKeyBindings): adjust keybindings
2758 (deadKeyBindings): ditto
2760 * kbsequence.C (addkey): return a FuncRequest
2762 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2764 * kbmap.C (bind): take a FuncRequest as arg, adjust
2767 (defkey): change to take a FuncRequest as arg, adjust
2768 (findbinding): take a FuncRequest as arg, adjust.
2770 * funcrequest.h (operator=): added
2772 * funcrequest.C (FuncRequest): default kb_action changed from
2773 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2775 * buffer.C (dispatch): simplify
2776 (dispatch): adjust to take a FuncRequest as arg, adjust
2778 * boost.C (assertion_failed): change assertion message slightly
2780 * ToolbarBackend.C (read): simplify
2782 * MenuBackend.C (binding): adjust call to findbinding, add a
2783 message if no binding is found.
2785 (expandToc): correct by adding a empty FuncRequest
2787 * LyXAction.C: include <boost/assert.hpp>
2788 (isPseudoAction): delete function
2789 (LookupFunc): change name to...
2790 (lookupFunc): this. change return type to FuncRequest.
2791 (getActionName): take kb_action as arg, simplify
2792 (funcHasFlag): add an assert, simplify.
2794 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * toc.C (action): return a FuncRequest, simplify
2798 * lyxfunc.C (processKeySym): adjust
2799 (getStatus): delete version that takes an int.
2801 (dispatch): delete version that takes action as int
2803 (sendDispatchMessage): simplify and adjust
2805 * funcrequest.C (getArg): take unsigned int as arg
2807 * ToolbarBackend.C (read): adjust
2808 (add): delete version that takes func as a string.
2809 (getIton): take a FuncRequest as arg
2811 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2814 * MenuBackend.C (MenuItem): add a new construct that only takes a
2815 Kind, simplify the constructor use for submenus.
2817 (expandLastfiles): adjust
2818 (expandDocuments): adjust
2819 (expandFormats): adjust
2820 (expandFloatListInsert): adjust
2821 (expandFloatInsert): adjust
2822 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2824 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2825 Remove class variables lyx_pseudo_map and lyx_arg_map
2827 * LyXAction.C (searchActionArg): delete function
2828 (getPseudoAction): delete function
2829 (retrieveActionArg): delete function
2830 (LookupFunc): make it return kb_action, simplify.
2831 (getActionName): simplify
2833 * factory.C (createInset): fix new bug
2835 2003-09-19 Angus Leeming <leeming@lyx.org>
2837 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2838 masterFilename_ parameter in the include inset.
2840 * factory.C (createInset): changes due to the changes to InsetInclude.
2842 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2844 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2846 2003-09-18 Angus Leeming <leeming@lyx.org>
2849 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2850 Inset::fillWithBibKeys.
2851 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2853 2003-09-18 Angus Leeming <leeming@lyx.org>
2855 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2857 (ctor): pass and store a 'Buffer const &'
2858 (buffer): new member function.
2860 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2861 '*this' to the LaTeXFeatures ctor.
2863 2003-09-18 Angus Leeming <leeming@lyx.org>
2869 * text.C: rename EnumLColor as LColor_color.
2871 2003-09-18 Angus Leeming <leeming@lyx.org>
2873 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2874 remove #include "insets/insetbase.h" from cursor.h.
2876 2003-09-18 Angus Leeming <leeming@lyx.org>
2878 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2879 InsetOld_code to remove #include "inset.h".
2881 * iterators.C: add #include "insets/inset.h"
2883 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2885 * BufferView.C: remove more locking stuff that apparently doesn't
2886 do anything sensible.
2888 2003-09-16 André Pönitz <poenitz@gmx.net>
2891 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2894 2003-09-16 Angus Leeming <leeming@lyx.org>
2896 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2898 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2901 * paragraph.h: remove #include "lyxfont.h". Forward declare
2904 2003-09-16 Angus Leeming <leeming@lyx.org>
2906 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2907 of support/textutils.h.
2908 (isWord): move the contents of support/textutils.h's IsWordChar here.
2914 * text2.C: add #include "paragraph.h".
2917 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2919 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * LaTeX.C: use namespace alias for lyx::support::os
2927 2003-09-16 Angus Leeming <leeming@lyx.org>
2930 * bufferview_funcs.C:
2933 * paragraph_pimpl.C:
2935 * text.C: add #include "LColor.h".
2937 2003-09-16 Angus Leeming <leeming@lyx.org>
2939 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2940 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2942 Store the FontBits::color variable as an int rather than as an
2943 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2946 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2947 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2948 string calls together.
2950 * lyxrc.C: add #include "LColor.h".
2952 2003-09-15 Angus Leeming <leeming@lyx.org>
2954 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2957 2003-09-15 Angus Leeming <leeming@lyx.org>
2959 * LColor.h: add an EnumLColor wrapper for LColor::color.
2961 * lyxfont.[Ch] (color, setColor, realColor):
2962 * lyxtext.h, text.C (backgroundColor):
2963 pass EnumLColor args to/from the functions, rather than LColor::color
2967 * lyxtext.h: forward declare EnumLColor.
2969 * lyx_main.C: add #include "LColor.h".
2971 2003-09-15 Angus Leeming <leeming@lyx.org>
2973 * .cvsignore: add lyx-gtk.
2975 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * ParagraphParameters.C
2984 * bufferview_funcs.C
2994 * vc-backend.C: remove usage of STRCONV
2996 2003-09-15 Angus Leeming <leeming@lyx.org>
2998 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2999 explicitly define the color passed to the painter.
3001 2003-09-15 Angus Leeming <leeming@lyx.org>
3003 * bufferparams.C (BufferParams): reorder member initializers to avoid
3006 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3008 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3009 * text.C (updateRowPositions): remove an unusual nop
3011 2003-09-12 André Pönitz <poenitz@gmx.net>
3013 * BufferView_pimpl.C:
3022 * Counters.[Ch]: finish the 'automatic counters' job
3024 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3026 * aspell.C: include <boost/assert.cpp> (compile fix)
3028 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3030 * boost.C (assertion_failed): use lyx::support::abort instead of
3033 2003-09-10 Angus Leeming <leeming@lyx.org>
3035 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3036 with their _fwd progeny.
3038 2003-09-09 Angus Leeming <leeming@lyx.org>
3040 134 files throughtout the source tree: replace 'using namespace abc;'
3041 directives with the appropriate 'using abc::xyz;' declarations.
3043 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3045 * boost.C (emergencyCleanup): moved here from LAssert.c
3046 (assertion_failed): new function, called by BOOST_ASSERT
3048 * several files: change Assert to BOOST_ASSERT
3050 2003-09-09 Angus Leeming <leeming@lyx.org>
3052 * buffer.[Ch]: Add an Impl class and move Buffer's member
3053 variables into it. As a result move several header files out of
3056 Add header files to lots of .C files all over the tree as a result.
3058 2003-09-09 Angus Leeming <leeming@lyx.org>
3060 * buffer.[Ch]: make Buffer's member variables private. Add
3063 Lots of changes all over the tree as a result.
3065 2003-09-08 Angus Leeming <leeming@lyx.org>
3067 * graph.C: #include <config.h>.
3069 2003-09-08 Angus Leeming <leeming@lyx.org>
3073 * BufferView_pimpl.C:
3102 * toc.C: remove redundant using directives.
3104 2003-09-07 Angus Leeming <leeming@lyx.org>
3106 * LaTeXFeatures.h: remove #include "support/types.h".
3107 * ToolbarBackend.h: remove #include <algorithm>.
3108 * changes.h: remove #include <ctime>.
3109 * debug.h: remove #include <iosfwd>.
3110 * graph.h: remove #include "support/std_string.h".
3111 * lyx_main.h: remove #include <csignal>.
3112 * lyxlex_pimpl.h: remove #include <fstream>.
3113 * sgml.h: remove #include <algorithm>, <utility>.
3114 * toc.h: remove #include "support/std_ostream.h".
3115 Add #include <iosfwd>.
3117 2003-09-07 Angus Leeming <leeming@lyx.org>
3119 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3121 * converter.h: forward declare LatexRunParams.
3122 * encoding.h: remove #include "lyxrc.h".
3123 * lyxtext.h: remove #include "LColor.h".
3124 * lyxtextclass.h: remove #include "support/types.h".
3125 * trans.h: remove #include "tex-accent.h".
3126 * trans_mgr.h: remove #include "tex-accent.h".
3127 * insets/inset.h: remove #include "support/types.h", <vector>.
3128 * insets/insetcollapsable.h: remove #include "LColor.h".
3129 * insets/insetinclude.h: remove #include "dimension.h".
3130 * insets/insetlatexaccent.h: remove #include "dimension.h".
3131 * insets/insetoptarg.h:: remove #include "insettext.h".
3132 * insets/insettext.h: remove #include "dimension.h",
3133 <boost/shared_ptr.hpp>
3135 * insets/renderers.h: add #include "dimension.h".
3136 * insets/updatableinset.h: add #include "support/types.h".
3138 * many .C files: Associated changes.
3140 2003-09-06 Angus Leeming <leeming@lyx.org>
3142 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3143 one, inside testInvariant.
3145 * PrinterParams.C: new file.
3146 * PrinterParams.[Ch]: move the function bodies out of line.
3148 2003-09-06 Angus Leeming <leeming@lyx.org>
3150 * ParagraphParameters.h: forward declare ParameterStruct rather than
3151 including its header file.
3152 (depth): moved out-of-line.
3154 2003-09-06 Angus Leeming <leeming@lyx.org>
3156 * BufferView_pimpl.h:
3159 * lyxfunc.h: forward declare LyXKeySym rather than
3160 #include "frontends/LyXKeySym.h".
3162 * BufferView_pimpl.C:
3165 * lyxfunc.C: associated changes.
3167 2003-09-06 Angus Leeming <leeming@lyx.org>
3169 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3170 As a result, can remove the #include "insets/inset.h" from BufferView.h
3172 2003-09-06 Angus Leeming <leeming@lyx.org>
3174 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3175 As a result, can remove the #include "insets/inset.h" from BufferView.h
3177 2003-09-06 Angus Leeming <leeming@lyx.org>
3183 * bufferview_funcs.C:
3184 * BufferView_pimpl.C:
3189 * ParagraphParameters.C:
3194 * frontends/controllers/ControlDocument.C:
3195 * insets/insetcaption.C: rearrange the #includes into some sort of
3198 * buffer.h: remove #includes ErrorList.h, undo.h
3200 2003-09-06 Angus Leeming <leeming@lyx.org>
3202 * support/types.h: add a 'depth_type' typedef, used to store the
3203 nesting depth of a paragraph.
3206 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3207 defining explicitly.
3210 * paragraph_funcs.h:
3211 * ParagraphParameters.h:
3212 * sgml.h: use lyx::depth_type rather than Paragraph or
3213 ParameterStruct's depth_type.
3216 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3219 * BufferView_pimpl.C:
3221 * ParagraphParameters.C:
3224 * bufferview_funcs.C:
3231 * frontends/LyXView.C:
3232 * frontends/controllers/ControlDocument.C:
3233 * frontends/controllers/ControlErrorList.C:
3234 * insets/insetbibitem.C:
3235 * insets/insetbranch.C:
3236 * insets/insetcaption.C:
3237 * insets/insetcollapsable.C:
3238 * insets/insetenv.C:
3239 * insets/insetert.C:
3240 * insets/insetfloat.C:
3241 * insets/insetfoot.C:
3242 * insets/insetfootlike.C:
3243 * insets/insetnewline.C:
3244 * insets/insetquotes.C:
3245 * insets/insettabular.C:
3246 * insets/insettext.C:
3247 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3249 * frontends/controllers/ControlChanges.C: #include "changes.h".
3251 2003-09-06 Angus Leeming <leeming@lyx.org>
3253 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3254 than #including paragraph.h.
3257 * RowList.h: deleted. Superfluous.
3267 * insets/insettext.h: use ParagraphList_fwd.h rather than
3270 * paragraph.h: don't forward declare ParagraphList.
3273 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3274 rather than ParagraphList.h. paragraph.h is still needed for the
3275 Paragraph::depth_type parameters.
3277 * textcursor.h: enable it to compile stand-alone in light of the
3280 * bufferview_funcs.C:
3292 * frontends/controllers/ControlParagraph.C:
3293 * frontends/controllers/ControlTabular.C:
3294 * insets/insetmarginal.C:
3295 * insets/insetminipage.C:
3296 * insets/insetnote.C:
3297 * insets/insetoptarg.C: add header files needed to compile again.
3299 2003-09-06 Angus Leeming <leeming@lyx.org>
3301 * RowList_fwd.h: new file, forward-declaring Row rather than
3302 #including lyxrow.h.
3307 * insets/insettext.h: use it instead of RowList.h
3309 * bufferview_funcs.C:
3316 * text3.C: #include "RowList.h".
3318 2003-09-05 Angus Leeming <leeming@lyx.org>
3320 * factory.C (createInset):
3321 * vspace.C (c-tor): replace sscanf call with an istringstream.
3322 * ispell.C: re-add missing HP/UX headers.
3323 * lyxserver.C: re-add missing os2 headers.
3325 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3334 * text3.C: re-add missing system headers, needed for 2.95.2.
3336 2003-09-05 Angus Leeming <leeming@lyx.org>
3338 Changes most place everywhere due to the removal of using directives
3339 from support/std_sstream.h.
3341 2003-09-05 Angus Leeming <leeming@lyx.org>
3343 Replace LString.h with support/std_string.h,
3344 Lsstream.h with support/std_sstream.h,
3345 support/LIstream.h with support/std_istream.h,
3346 support/LOstream.h with support/std_ostream.h.
3348 Changes resulting throughout the tree.
3350 2003-09-05 Angus Leeming <leeming@lyx.org>
3352 * sgml.h: ensure that the header file can be compiled stand-alone.
3353 * *.C: strip out redundant #includes. (320 in total.)
3355 2003-09-04 Angus Leeming <leeming@lyx.org>
3357 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3358 here (from getPackages).
3360 * debug.[Ch]: add a new EXTERNAL tag.
3362 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3364 * text2.C (cursorEnd): simplify
3366 (getColumnNearX): adjust
3368 * text.C (computeBidiTables): adjust
3371 * rowpainter.C (paintChars): adjust
3372 (paintSelection): adjust
3373 (paintChangeBar): adjust
3376 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3378 (numberOfSeparators): adjust
3380 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3386 * text3.C: Restricts the mouse click functionality
3387 of insets like bibtex, include, toc and floatlist to the visible
3388 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3389 up the dialogs. Cursor has to be in front of the inset (i.e.
3390 start of row) for this to function.
3392 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3394 * bufferview_funcs.C (currentState): output row information
3396 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3398 * bufferview_funcs.C (currentState): output paragraph position
3400 2003-09-04 Angus Leeming <leeming@lyx.org>
3402 * FloatList.h: move out #include "Floating.h".
3403 * LaTeX.h: move out #include "DepTable.h".
3404 * LyXAction.h: move out #include "funcrequest.h".
3405 * buffer.h: move out #include "author.h", "iterators.h".
3406 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3407 * lyx_main.h: move out #include "errorlist.h".
3408 * lyxfunc.h: move out #include "FuncStatus.h".
3409 * lyxtext: move out #include "lyxcursor.h".
3410 * paragraph_pimpl.h: move out #include "counters.h".
3412 2003-09-03 Angus Leeming <leeming@lyx.org>
3414 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3415 preamble_snippets list, enabling us to add snippets to the preamble
3416 only if the snippet was not there already.
3418 2003-09-04 Angus Leeming <leeming@lyx.org>
3420 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3422 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3427 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3429 * BranchList.C: point fix, earlier forgotten
3431 2003-09-02 Angus Leeming <leeming@lyx.org>
3433 * box.C (contains): renamed from 'contained' after a fantastic
3436 2003-09-02 John Levon <levon@movementarian.org>
3442 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3444 2003-09-02 John Levon <levon@movementarian.org>
3446 * text2.C: simplification of cursorEnd(), including partial
3449 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * buffer.C (readFile): add a space
3453 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3455 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3457 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * buffer.C (readFile): new function, take a filename and a
3460 ParagraphList::iterator
3462 (readFile): adjust, make it private. don't use setStream, make
3463 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3464 always contain the filename.
3466 * BufferView.C (insertLyXFile): simplify and make it work for
3469 2003-08-30 John Levon <levon@movementarian.org>
3471 * Makefile.am: fix dist (from Kayvan)
3473 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * most files: change to use const Buffer refs
3477 2003-08-27 André Pönitz <poenitz@gmx.net>
3479 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3480 on top of ownerPar().
3482 2003-08-27 John Levon <levon@movementarian.org>
3484 * funcrequest.C: properly initialise POD members
3486 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3488 * lyxtext.h (top_y): move top_y from here
3493 * BufferView_pimpl.[Ch]: to here
3494 * frontends/screen.C:
3495 * insets/insettabular.C:
3496 * insets/insettext.C: adjust
3497 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3499 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3502 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3504 2003-08-26 André Pönitz <poenitz@gmx.net>
3506 * paragraph_func.[Ch] (outerPar): new function
3509 * paragraph_funcs.C:
3510 * paragraph_funcs.h:
3511 * paragraph_pimpl.C:
3512 * text2.C: remove Inset::par_owner
3514 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3519 * text2.C: eliminates the needFullRow/display() stuff
3520 altogether, putting the logic in metrics/draw in the insets.
3522 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3524 * text2.C (redoParagraphInternal, redoParagraphs):
3525 * text.C (redoParagraph): add a call to updateRowPositions at the
3526 end of each 'metrics-like' call. Remove all others.
3527 (getRow): remove the 'y-computing' version.
3528 (getRowNearY): do not compute nor return the real y. Solve the
3529 'y < 0' problem and simplify.
3531 2003-08-22 Angus Leeming <leeming@lyx.org>
3533 * *.[Ch]: clean-up of licence and author blurbs.
3534 Also move config.h out of a few .h files and into a few .C files.
3536 2003-08-22 André Pönitz <poenitz@gmx.net>
3538 * lyxrow.[Ch]: add x_ and *fill_ members
3543 * text2.C: adjust/remove prepareToPrint() calls
3545 2003-08-22 André Pönitz <poenitz@gmx.net>
3547 * lyxrow.[Ch]: add end_ member
3549 * lyxrow_funcs.C: use LyXRow::end_
3551 * lyxtext.h (singleWidth): add LyXFont parameter
3554 * text2.C: adjust LyXText::singleWidth() calls
3556 * text.C (redoParagraph): simplify row breaking logic
3559 2003-08-19 André Pönitz <poenitz@gmx.net>
3561 * funcrequest.C: initialize button_ member
3564 * rowpainter.[Ch]: interface consolidation
3566 2003-08-18 André Pönitz <poenitz@gmx.net>
3569 * BufferView_pimpl.C:
3571 * paragraph_funcs.C:
3573 * text3.C: remove LyXScreen::draw() and fitCursor calls
3575 * BranchList.h: remove spurious semicolons
3577 * MenuBackend.C: fix branchlist related crash
3579 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3587 * bufferparams.[Ch]:
3591 * text3.C: implements the 'branch inset'
3592 idea. This allows the output of various versions of a document
3593 from a single source version, selectively outputing or suppressing
3594 output of parts of the text.
3595 This implementation contains a 'branch list editor' in a separate
3596 tab of the document settings dialog. Branches are user definable
3597 and have a "display colour" to distinguish them on-screen.
3599 ColorHandler was somewhat cleaned up.
3600 (1) make possible a dynamically growing LColor list by allowing
3601 the graphic context cache to grow along (vector);
3602 (2) eliminate an IMHO unnecessary step in colour allocation.
3604 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3606 * BufferView_pimpl.C: compile fix
3608 2003-08-15 André Pönitz <poenitz@gmx.net>
3610 * rowpainter.C: remove extra metrics calls
3612 * lyxtext.h: merge the two constructors into a single one,
3613 pass reference to owner's par list
3615 * BufferView_pimpl.C:
3619 2003-08-15 André Pönitz <poenitz@gmx.net>
3621 * lyxrow_funcs.[Ch]:
3624 * paragraph_funcs.C:
3629 * text_funcs.C: split LyXText::rowlist_ into individual
3630 Paragraph::rows_ chunks
3633 * BufferView_pimpl.[Ch]:
3636 * text3.C: remove toggleSelection()
3638 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3640 * bufferlist.C: beautify two alerts (shorter text of buttons)
3641 * buffer.C: Remove redundant ' ' from message
3643 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3644 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3645 rename VALIGN_CENTER to VALIGN_MIDDLE
3647 2003-08-11 André Pönitz <poenitz@gmx.net>
3649 * lyxtext.h (getPar):
3650 * text.C: new function
3652 2003-08-11 André Pönitz <poenitz@gmx.net>
3655 * tracer.[Ch]: remove unneeded files
3657 * InsetList.[Ch]: remove resizeInsetsLyXText()
3662 * text3.C: merge insertParagraphs() and appendParagraph()
3663 remove breakAgain(), update()
3665 * BufferView_pimpl.[Ch]:
3666 * bufferview_funcs.[Ch]:
3670 * tabular.C: adjust after text & InsetList changes.
3672 2003-08-08 André Pönitz <poenitz@gmx.net>
3674 * text.C (insertChar, backspace): replace rowlist fiddling
3675 with rebreak of full par
3678 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3679 checkParagraph, updateInset): removed
3681 2003-08-07 André Pönitz <poenitz@gmx.net>
3684 * text3.C: merge some LFUN handlers, remove dead code
3686 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3688 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3690 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3692 * text2.C (DEPM): fix part of bug 1255 and 1256
3694 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3696 * BufferView_pimpl.C (workAreaDispatch): change to use
3697 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3698 that are no mouse related.
3700 2003-08-05 André Pönitz <poenitz@gmx.net>
3703 * BufferView_pimpl.[Ch]:
3704 * bufferview_funcs.C:
3706 * text3.C: rip out "deep update"
3708 * textcursor.[Ch] (last_sel_cursor): remove unused member
3710 2003-08-04 André Pönitz <poenitz@gmx.net>
3713 * BufferView_pimpl.[Ch]:
3714 * ParagraphParameters.C:
3715 * bufferview_funcs.C:
3721 * text3.C: replace "complicated" BufferView::update(...) calls with
3724 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3726 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3728 * Makefile.am (lyx_SOURCES): add paper.h
3730 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3732 * Makefile.am: move things around so that both lyx-qt and
3733 lyx-xforms can be built (according to --with-frontend). Then lyx
3734 is a symbolic link to lyx-[firstfrontend]
3736 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3738 * Always use std::endl with lyxerr
3740 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3742 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3744 2003-08-01 André Pönitz <poenitz@gmx.net>
3747 * BufferView_pimpl.[Ch]:
3749 * text3.C: merge BufferView::repaint() and BufferView::update()
3751 2003-08-01 José Matos <jamatos@lyx.org>
3753 * buffer.[Ch]: file_format is no longer a buffer data element.
3755 2003-08-01 André Pönitz <poenitz@gmx.net>
3760 * text2.C: make redoParagraph more independent of current cursor
3762 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3764 * text2.C: remove unneeded members
3766 2003-07-30 André Pönitz <poenitz@gmx.net>
3768 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3770 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3771 create a single function...
3773 * paragraph_funcs.C (moveItem): ... here.
3776 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3778 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3780 * LColor.[Ch]: Add comment and greyedout logical colors.
3782 2003-07-30 André Pönitz <poenitz@gmx.net>
3784 * tabular.C: don't use Assert too heavily. This crashes where it
3787 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3789 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3790 is disabled (bug 1232)
3792 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3794 * factory.C: limited 'arg' scope
3796 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3798 * factory.C: fixed Note submenu issues
3800 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3802 * factory.C: submenu for Note/Comment/Greyedout
3804 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3807 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3809 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3812 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3813 greyedout. Patch provided by Jürgen Spitzmüller.
3815 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3817 * kbmap.C (read): fix error message when reading bind files
3819 2003-07-29 Angus Leeming <leeming@lyx.org>
3821 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3822 certainly does not do what it purports to do. I am doing it, and
3823 us, a favour by killing it.
3825 2003-07-28 José Matos <jamatos@lyx.org>
3827 * buffer.C (readBody, do_writeFile):
3828 * paragraph.C(readParagraph): \end_document replaces \the_end.
3830 2003-07-29 André Pönitz <poenitz@gmx.net>
3833 * BufferView_pimpl.[Ch]:
3837 * textcursor.[Ch]: remove toggleToggle & Co
3839 2003-07-28 José Matos <jamatos@fep.up.pt>
3841 * buffer.C (readParagraph):
3842 * params_func (readParToken, readParagraph):
3843 * paragraph.C (write): \layout -> \begin_layout.
3845 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * lyxlex_pimpl.C (setFile): clean up slightly.
3849 * bufferparams.h: add compressed var
3851 * buffer_funcs.C (readFile): adjust for LyXLex change
3852 (newFile): ditto + simplify
3854 * buffer.C (writeFile): handle writing of compressed files
3856 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3857 Check if the file is compressed and set a bufferparm if so.
3859 * Makefile.am (lyx_LDADD): remove explicit -lz
3861 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3863 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3864 makeDocBookFile): put the real LyX version in the first line of
3868 * version.C.in: remove lyx_docversion
3870 * tabular.C (write_attribute): add a template-based version to
3871 write enums properly
3873 2003-07-28 André Pönitz <poenitz@gmx.net>
3878 * text3.C: use doubles again for x-coordinates. They are needed.
3880 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * messages.C (getLocaleDir): use lyx_localedir()
3884 * lyxlex_pimpl.C (setFile): compress stuff
3886 * buffer.C (writeFile): add some compression stuff
3887 (do_writeFile): new func, dont call expliti close... will this
3890 * Makefile.am (lyx_LDADD): add -lz
3892 2003-07-28 José Matos <jamatos@fep.up.pt>
3894 * buffer.C: increment file format.
3895 * paragraph_funcs (readParagraph, readParToken):
3896 * paragraph.C (readParagraph): add \end_layout.
3898 2003-07-27 Angus Leeming <leeming@lyx.org>
3900 * Makefile.am: remove special casing for configure-time setting of
3901 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3903 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3904 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3906 2003-07-26 André Pönitz <poenitz@gmx.net>
3908 * paragraph_func.[Ch]:
3909 * paragraph.C (realizeFont): inline it whereever it is used
3914 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3917 2003-07-26 André Pönitz <poenitz@gmx.net>
3921 * text2.C: get rid of LyXText::need_break_row
3923 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * toc.[Ch]: put namespace toc inside namespace lyx
3927 * MenuBackend.C (expandToc2): adjust for lyx::toc
3930 * lyxfunc.C (dispatch): adjust for lyx::find
3932 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3933 lyx::find instead. Reorganize a bit.
3934 (LyXReplace): rename to replace
3935 (LyXFind): rename to find
3937 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3940 2003-07-26 André Pönitz <poenitz@gmx.net>
3942 * text.C (setHeightOfRow): restrict scope of temporary variable
3944 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3945 code (never has been used?)
3947 2003-07-27 Asger Alstrup <alstrup@local>
3949 * text.C (fill): Optimise algorithm to exploit that we can reuse
3950 the LyXFont for many characters.
3951 (setHeightOfRow): Same thing.
3952 (rowBreakPoint): Same thing.
3954 2003-07-26 Asger Alstrup <alstrup@local>
3956 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3958 * text.C (singleWidth): Spurious font copying in hot-spot
3959 singleWidth avoided. Reorder tests for arabic for efficiency.
3961 * text.C (fill): handle empty paragraphs better.
3963 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3966 * encoding.h: add includes
3968 * lyxrc.C: remove reading of bind files
3970 * lyx_main.C (init): setup bindings and menus only if we have a
3973 * kbmap.C (read): new method. Do the actual reading of bind
3976 * converter.C (dvipdfm_options):
3979 (output): adapt PAPER_* enums.
3981 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3983 * bufferparams.h: remove paper-related enums from there
3985 * paper.h: New file. A trivial header file to hold paper-related
3986 enums. It should later expand to contain many paper-related
3989 * lyxrc.C: declare extern displayTranslator
3991 2003-07-27 José Matos <jamatos@fep.up.pt>
3993 * tabular.[Ch] (linuxdoc): add support for tables and figures
3996 2003-07-27 José Matos <jamatos@fep.up.pt>
3998 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3999 consistency in both functions.
4000 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4002 2003-07-26 Asger Alstrup <alstrup@local>
4004 * rowpainter.C (paintRows): Change algorithm to work directly on
4005 the insets rather than asking every character in the document
4006 whether its an inset.
4008 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4010 * buffer.C (openFileWrite): factorize some code
4012 2003-07-26 Angus Leeming <leeming@lyx.org>
4015 * lyx_main.[Ch]: replace occurances of system_tempdir with
4018 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * rename Inset to InsetOld
4022 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4024 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4025 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4026 which I think is a bit clearer. EDIT is gone, since it was
4027 premature optimisation, and broken for mathed anyway.
4028 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4029 with cursor positioning in insets as well (math insets still do not
4030 work, but that's a different story anyway.) It mysteriously
4031 crashes sometimes with undo in the first paragraph, but I'm fairly
4032 confident that this is a compiler bug.
4034 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * paragraph.C (Paragraph): adjust for new clone return type
4038 (copyIntoMinibuffer): ditto
4040 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4042 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4043 by not having a special case, and always doing a full rebreak of
4044 the document after undo.
4046 2003-07-23 Angus Leeming <leeming@lyx.org>
4048 * factory.C (createInset): InsetExternal::setParams now takes a
4051 2003-07-23 Angus Leeming <leeming@lyx.org>
4053 * factory.C (createInset): changed interface to the external and
4054 graphics mailers' string2params functions.
4056 2003-07-23 Angus Leeming <leeming@lyx.org>
4058 * factory.C (createInset): pass a
4059 Buffer const * parameter to InsetExternalMailer's string2params.
4061 2003-07-22 John Levon <levon@movementarian.org>
4063 * Thesaurus.h: include the right aiksaurus header
4065 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4067 * MenuBackend.C (expand): check menu shortcuts unconditionally
4069 2003-07-21 Angus Leeming <leeming@lyx.org>
4071 * factory.C (createInset): pass a
4072 buffer_path parameter to InsetGraphicsMailer's string2params.
4074 2003-07-21 Angus Leeming <leeming@lyx.org>
4076 * BufferView_pimpl.C (buffer):
4079 * lyxfunc.C (dispatch):
4080 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4081 rather than the grfx shortcut.
4083 2003-07-21 André Pönitz <poenitz@gmx.net>
4085 * rowpainter.C: remove unused variables
4088 * tabular_funcs.h: move to tabular.C
4089 * Makefile.am: adjust
4091 * tabular.[Ch]: basic optical cleaning
4093 * author.h: pass references, not values
4095 2003-07-18 André Pönitz <poenitz@gmx.net>
4103 * text3.C: two-phase drawing for InsetText and InsetTabular
4104 some float -> int changes.
4106 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4108 * lyx_main.C: fix the fix
4110 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4112 * lyx_main.C: fix a crash in batch mode if no files specified
4115 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4117 * format.[Ch] (papersize): moved to BufferParams
4118 * converter.[Ch] (dvips_options): moved to BufferParams
4119 (dvipdfm_options): moved to anon namespace
4120 * bufferparams.[Ch]: added above functions.
4122 2003-07-17 André Pönitz <poenitz@gmx.net>
4126 * text2.C: don't call inset->update() anymore
4128 * metricsinfo.[Ch]: add convenience constructor
4130 2003-07-16 André Pönitz <poenitz@gmx.net>
4135 * text2.C: replace the LyXCursor::irow_ member with
4136 on-demand computation of the value
4138 2003-07-16 John Levon <levon@movementarian.org>
4140 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4142 2003-07-15 André Pönitz <poenitz@gmx.net>
4145 * text2.C: remove no more needed refresh_row
4147 2003-07-15 André Pönitz <poenitz@gmx.net>
4152 * text3.C: refresh_status tristate -> need_update bool
4154 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4156 * lyxtext.h (init): remove reinit argument (act as if always true)
4157 * text2.C: adjust to that
4159 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4161 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4162 * text3.C: use it to delete selections in some cases
4163 (bugs 441, 673, 702, 954).
4165 2003-07-14 André Pönitz <poenitz@gmx.net>
4167 * rowpainter.[Ch]: reduce interface
4169 2003-07-14 André Pönitz <poenitz@gmx.net>
4171 * BufferView_pimpl.C:
4172 * text2.C: adjust after removing unused BufferView * argument
4174 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4176 * text2.C (init): fix a crash fired on resize
4178 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4180 * buffer.[Ch]: added new closing signal
4181 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4182 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4183 BufferView::Pimpl via the closing the signal
4185 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4187 * buffer.[Ch]: take out all bv-related from buffer
4189 * BufferView_pimpl.[Ch]: connect to new signals
4190 * CutAndPaste.C: removed useless asserts
4191 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4194 * lyxfunc.C: moved view-related funciontality from vc here
4195 * paragraph.C: removed outdated comments
4198 2003-07-10 André Pönitz <poenitz@gmx.net>
4200 * BufferView_pimpl.C:
4204 * text2.C: remove InsetText::InnerCache, clean up consequences
4206 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4208 * ispell.C: fix two typos in error messages
4210 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4212 * Extend Note inset to other forms of annotation like Comment
4213 and Greyedout. Right button click gives dialog.
4215 Files modified or added (+):
4219 * ControlNote.[Ch] +
4221 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4222 frontends/controllers
4226 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4228 * aspell.C: add missing namespace lyx::support
4230 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4232 * BufferView.[Ch] (newFile): Add
4233 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4234 * LaTeX.[Ch] (message): added this signal and use it
4235 * buffer.[Ch] (busy, message): added these signals and use them
4236 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4240 * importer.C: use buffer signals instead of direct bv calling
4241 * lyx_cb.[Ch] (ShowMessage): removed
4244 * paragraph_funcs.C:
4245 * text2.C: use buffer signals
4247 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * introduce namespace lyx::graphics
4251 2003-07-02 André Pönitz <poenitz@gmx.net>
4253 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4255 2003-07-01 André Pönitz <poenitz@gmx.net>
4262 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4263 text*.C to text_func.C
4265 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * introduce namespace lyx::support
4269 2003-06-30 André Pönitz <poenitz@gmx.net>
4274 * text.C: re-enable --with-included-string
4276 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * textcursor.C: add <config.h>
4280 * text.C (getWord): remove const from word_location arg
4282 * lyxvc.C (getLogFile): fix const type order
4284 * lyxtext.h: remove const from word_location arg, add arg name
4286 * lyxlayout.h: currect type on labeltype.
4288 * importer.C: correct \file
4290 * converter.C (intToFormat): use std:: on ret val, ws changes
4292 * bufferlist.h: correct \file
4294 * buffer.C (makeLinuxDocFile): fix const type order
4295 (makeDocBookFile): ditto
4296 (fillWithBibKeys): use std:: on stdlib args.
4298 * CutAndPaste.C: fix authors.
4299 (availableSelections): use std:: on return vector
4301 2003-06-27 André Pönitz <poenitz@gmx.net>
4303 * BufferView_pimpl.C:
4304 * bufferview_funcs.C:
4312 * text3.C: remove LyXCursor::row_ member
4315 * text.C: rename fullRebreak() to partialRebreak() and implement
4316 a fullRebreak() that really bereks fully
4318 * textcursor.h: new struct for cursor-related data
4320 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4322 * lyx_main.C (LyX): get full path of document loaded on the
4325 2003-06-26 André Pönitz <poenitz@gmx.net>
4327 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4328 remove unused/broken operator>,<,>=.
4330 * text.C: remove only use of broken operator<= in an Assert().
4332 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4334 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4335 moved errorlist_.clear to showErrorList
4337 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4339 * converter.C (scanLog, runLaTeX):
4340 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4341 move the bv->showErrorList call to the callers
4342 * lyxfunc.C: i.e. here...
4344 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4345 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4346 namespace, the second to...
4347 * buffer_funcs (BufferFormat, parseErrors): added
4348 * errorlist.C (ErrorList(TeXErrors const &)): removed
4350 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4352 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4354 2003-06-24 "Garst R. Reese" <reese@isn.net>
4358 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4360 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4362 * version.C.in: change docversion to 1.4
4364 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4366 * buffer.C: fix a bug just introduced
4368 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4370 * buffer.[Ch]: added the parseError signal and use it, removed
4372 * BufferView.[Ch] (addError): moved to ...
4373 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4374 to the Buffer::parseError signal to catch (guess what) parse errors
4375 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4377 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4379 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4380 ability to create a buffer and to return an existing one from
4381 the list. Moved these functions to...
4382 * buffer_funcs.[Ch]: added
4383 * BufferView.[Ch] (loadLyXFile): added
4384 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4385 job removed from bufferlist::loadLyXFile.
4386 * buffer.C (setReadOnly): make it work without view
4387 (i.e added an if (users))
4389 2003-06-19 Angus Leeming <leeming@lyx.org>
4392 * LyXAction.C (init):
4393 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4394 with LFUN_DIALOG_SHOW <name> <data>.
4396 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4398 * CutAndPaste.C (availableSelections): small compilation fix for
4399 ancient (gcc 2.9x) compilers
4401 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4403 * text3.C (cursorNext): add tmp var
4405 * text2.C (updateCounters): for function calling out of for clause
4406 (replaceSelectionWithString): ditto
4407 (insertStringAsParagraphs): ditto
4408 (getColumnNearX): add tmp var
4409 (setCursorFromCoordinates): add tmp var
4410 (cursorDownParagraph): add tmp var
4411 (deleteEmptyParagraphMechanism): add tmp var
4413 * text.C (insertChar): add tmp var
4415 * rowpainter.C (paintDepthBar): add tmp var
4417 * CutAndPaste.C (availableSelections): potentially check all
4418 paragraphs in a cut to fill the shown strings.
4420 2003-06-18 André Pönitz <poenitz@gmx.net>
4422 * kbmap.[Ch]: use vector<> instead of list<>
4424 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4426 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4427 pasteSelection with index
4429 * text2.C (pasteSelection): modify, call pasteSelection with index
4431 * paragraph.C (asString): reimplement version with no interval to
4432 call the one with interval.
4434 * lyxtext.h: add index arg to pasteSelection
4436 * MenuBackend.C (MenuItem): handle PasteRecent
4437 (Menu::read::Menutags): add md_pasterecent
4439 (expandPasteRecent): new function
4442 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4444 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4446 (availableSelections): new function
4448 2003-06-17 Angus Leeming <leeming@lyx.org>
4450 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4452 2003-06-17 Angus Leeming <leeming@lyx.org>
4455 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4457 * lyxfunc.C (dispatch): invoke it.
4459 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4461 * iterators.C (operator++, ParPosition): reintroduce some
4462 const_cast for the benefit of older compilers.
4464 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4466 * text3.C (dispatch): do not modify clipboard when doing
4467 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4468 LFUN_DELETE_SKIP on a selection selection
4470 2003-06-16 André Pönitz <poenitz@gmx.net>
4476 * tabular.[Ch]: IU of clone() and getLabelList();
4478 2003-06-13 André Pönitz <poenitz@gmx.net>
4480 * tabular.h: compactification
4482 2003-06-12 André Pönitz <poenitz@gmx.net>
4486 * tabular_funcs.h: some renaming plus whitespace
4488 2003-06-12 André Pönitz <poenitz@gmx.net>
4491 * BufferView_pimpl.C:
4497 * toc.C: Return a Paragraph & for ParIterator::operator*()
4499 2003-06-11 John Levon <levon@movementarian.org>
4503 * ToolbarBackend.C: add "Toolbars" section and
4506 2003-06-10 Angus Leeming <leeming@lyx.org>
4509 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4511 * lyxfunc.C (dispatch): invoke it.
4513 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * main.C: protect <ios> with HAVE_IOS
4516 (main): protect sync_with_stdio with HAVE_IOS
4518 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4520 * text2.C (cutSelection): adjust
4521 (pasteSelection): adjust
4523 * messages.C: handle get of empty string
4525 * main.C (main): use sync_with_stdio(false)
4527 * lyxfunc.C (dispatch): adjust
4529 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4530 (WriteAs): remove unneeded BufferView arg.
4532 * bufferparams.h: use correct types on papersize, papersize2 and
4535 * bufferparams.C (readToken): adjust for type
4536 (writeLaTeX): add missing cases to switch.
4538 * bufferlist.C (quitWriteBuffer): adjust
4541 * buffer.C (asciiParagraph): remove some commented code.
4543 * CutAndPaste.C: remove current_view extern variable.
4544 (cutSelection): add BufferParams arg.
4545 (eraseSelection): add BufferParams arg.
4546 (pasteSelection): add Buffer const & arg
4548 2003-06-07 John Levon <levon@movementarian.org>
4551 * paragraph_funcs.C:
4552 * paragraph_pimpl.C:
4556 * paragraph.C: allow InsetERT to freely space lines,
4557 and some consolidation of code
4559 2003-06-06 José Matos <jamatos@fep.up.pt>
4561 * buffer.C (makeDocBookFile): fix bug #821
4563 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4565 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4567 2003-06-04 Angus Leeming <leeming@lyx.org>
4569 * buffer.C: bump format to 224.
4571 2003-06-05 André Pönitz <poenitz@gmx.net>
4573 * text2.C (redoParagraphs): remove two const_cast<>
4575 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4577 * ParagraphList.h: remove last remnants of NO_STD_LIST
4579 2003-06-03 Angus Leeming <leeming@lyx.org>
4581 * factory.C (createInset): small change to the way InsetExternal's params
4584 2003-06-04 André Pönitz <poenitz@gmx.net>
4586 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4588 * paragraph_pimpl.h:
4589 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4591 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4593 * undo_funcs.C: make some simple cases of undo work again
4595 2003-06-03 John Levon <levon@movementarian.org>
4597 * ispell.C: HPUX doesn't have sys/select.h
4600 2003-06-03 John Levon <levon@movementarian.org>
4602 * CutAndPaste.C: update tabular and include inset
4607 * paragraph.C: remove owningBuffer(), don't pass Buffer
4610 * factory.C: insetGraphicsParams changed
4612 2003-06-02 John Levon <levon@movementarian.org>
4618 * text3.C: remove insetparent
4620 2003-06-02 John Levon <levon@movementarian.org>
4623 * buffer.C: fix inset_iterator.end(), move out of line
4626 2003-06-01 John Levon <levon@movementarian.org>
4628 * text3.C: use a proper cut/paste when doing inset
4629 insert (from Jürgen Spitzmüller)
4631 2003-06-01 John Levon <levon@movementarian.org>
4633 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4635 2003-05-30 André Pönitz <poenitz@gmx.net>
4637 * rowpainter.C: unify second drawing phase
4639 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * trans_mgr.C: remove one case of current_view
4643 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4645 * paragraph_funcs.h: remove paragraph.h include
4647 * paragraph.h: delete NO_STD_LIST stuff
4649 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4651 * buffer.h: remove paragraph.h include
4653 * ParagraphList.C: delete file
4655 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4657 * toc.C (getTocList): adjust
4659 * paragraph_pimpl.C (validate): adjust
4661 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4663 * paragraph.C (Paragraph): adjust
4664 (getPositionOfInset): use const_iterator, adjust
4665 (bibitem): use const_iterator, adjust
4666 (setInsetOwner): adjust
4668 * iterators.C (operator++): adjust
4670 * InsetList.[Ch]: Replace selfmade iterator with standard
4671 vector::iterator also introduce const_iterator. Remove getPos,
4672 getInset and setInset from InsetTable. Adjust accordingly.
4674 * BufferView.C (lockInset): adjust
4675 (ChangeInsets): adjust
4677 * tabular.[Ch]: delete commented same_id functions
4679 2003-05-28 John Levon <levon@movementarian.org>
4681 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4683 2003-05-28 André Pönitz <poenitz@gmx.net>
4685 * metricsinfo.[Ch]: remove 'fullredraw' member
4687 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4689 * lyxtextclass.C (operator): remove caching.
4691 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * text2.C (cursorBottom): adjust
4696 (setCounter): use ParagraphList::find, adjust
4698 * text.C (workWidth): use ParagraphList::find, adjust
4700 * lyxcursor.C (LyXCursor): adjust
4702 * buffer.C (inset_iterator): adjust
4704 * ParagraphList.h: make iterator(value_type) private, make
4705 ParagraphList a friend of iterator.
4707 * ParagraphList.C (find): new function
4709 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4711 2003-05-27 André Pönitz <poenitz@gmx.net>
4713 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4715 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4717 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4719 2003-05-26 John Levon <levon@movementarian.org>
4721 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4723 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * remove same_id from function signatures, adjust.
4727 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4731 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4733 * paragraph.C (Paragraph): get rid of same_ids parameter
4735 * ParagraphList.C (insert): adjust
4738 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * paragraph_funcs.C (breakParagraph): adjust
4741 (breakParagraphConservative): adjust
4743 * buffer.C (readParagraph): adjust
4745 * ParagraphList.C (insert): take a reference instead of a pointer
4748 * paragraph.[Ch] (id): new function
4750 * bufferlist.C (newFile): adjust
4752 * ParagraphList.C (ParagraphList): adjust
4754 (push_back): take a reference instead of a pointer.
4756 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4758 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4761 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4762 set else use old code.
4764 * ParagraphList.C: remove all NO_NEXT code and only compile this
4765 code of NO_STD_LIST is set.
4767 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4769 * BufferView_pimpl.C:
4779 * graphics/GraphicsConverter.C:
4780 * graphics/PreviewLoader.C: header adjustment
4782 2003-05-23 Angus Leeming <leeming@lyx.org>
4784 * LaTeXFeatures.[Ch] (useBabel): new method.
4785 * bufferparams.C (writeLaTeX): use it.
4787 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * ParagraphList.h (set): remove unused function.
4791 2003-05-23 André Pönitz <poenitz@gmx.net>
4794 * BufferView_pimpl.C:
4798 * undo_funcs.C: setUndo reworked
4800 * iterators.[Ch]: add access to topmost ParagraphList
4802 * lyxtext.[Ch] (workWidth): add a const
4804 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4806 * texrow.[Ch] (increasePos): remove function
4807 * exporter.C (export): removed unused var and outdated comment
4809 2003-05-23 Angus Leeming <leeming@lyx.org>
4811 * latexrunparams.h: rename fragile as moving_arg.
4812 * paragraph.C (simpleTeXOnePar): ditto.
4813 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4815 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4819 (textUndoOrRedo): comment out a currently unused var.
4821 * paragraph.h (NO_NEXT): enable NO_NEXT
4823 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4825 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4827 * exporter.C (Export): adjust for removeAutoInsets removal.
4829 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4831 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4833 * BufferView.[Ch] (removeAutoInsets): delete function
4835 2003-05-22 Angus Leeming <leeming@lyx.org>
4837 * latexrunparams.h: add a free_spacing variable.
4839 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4840 to pass moving_arg, as the data is stored in runparams.fragile.
4842 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4843 to Inset::latexOptional or to simpleTeXOnePar.
4845 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4846 free_spacing arg to Inset::latexOptional.
4848 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4851 2003-05-22 Angus Leeming <leeming@lyx.org>
4853 * latexrunparams.h: add fragile and use_babel variables.
4855 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4856 * buffer.C (makeLaTeXFile): store this returned value in
4857 runparams.use_babel, thus passing it to the inset::latex methods.
4859 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4860 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4862 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4863 longer has a fragile arg, as it is stored in runparams.fragile.
4865 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4866 moving_arg parameter as the data is stored in runparams.fragile.
4868 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4869 a fragile parameter as the data is stored in runparams.fragile.
4871 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4875 2003-05-22 Angus Leeming <leeming@lyx.org>
4877 * latexrunparams.h: add a 'bool nice' which defaults to false.
4879 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4880 now encapsulated within runparams.
4882 * bufferlist.C (updateIncludedTeXfiles):
4883 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4885 2003-05-22 Angus Leeming <leeming@lyx.org>
4887 * latexrunparams.h: new file containing struct LatexRunParams.
4888 * Makefile.am: add new file.
4890 * LaTeX.[Ch] (c-tor, run):
4891 * buffer.[Ch] (makeLaTeXFile):
4892 * bufferlist.[Ch] (updateIncludedTeXfiles):
4893 * converter.C (convert, scanLog):
4894 * converter.[Ch] (runLaTeX):
4895 * exporter.C (Export):
4896 * paragraph.[Ch] (simpleTeXOnePar):
4897 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4898 * paragraph_funcs.[Ch] (latexParagraphs):
4899 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4900 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4901 pass around a LatexRunParams parameter.
4903 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * paragraph.[Ch]: remove unused constructor
4907 * ParagraphList.C (erase): new function, taking two iterators
4909 2003-05-22 André Pönitz <poenitz@gmx.net>
4911 * undo_funcs.C: remove duplicated code
4913 * iterator.[Ch]: operator=
4915 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * tabular.C (SetMultiColumn): ws changes
4919 * rowpainter.C (paintFirst): get rid of a ->previous
4921 * lyx_cb.C (getPossibleLabel): parlist simplification
4923 * BufferView.C (ChangeInsets): simplify slightly.
4925 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4927 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4928 * lfuns.h: new LFUN_SPACE
4929 * lyxfunc.C: protected space has a new lfun
4930 * paragraph_funcs.C: read new space insets
4932 * factory.C: handle new space insets
4934 2003-05-22 André Pönitz <poenitz@gmx.net>
4937 * BufferView_pimpl.C:
4940 * undo_funcs.C: return a ParIterator from getParFromID.
4942 * iterators.[Ch]: add two const's
4944 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * toc.C (getTocList): adjust
4948 * iterators.[Ch]: rework for parlist
4950 * buffer.C (par_iterator_begin): adjust
4951 (par_iterator_end): adjust
4953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4955 * BufferView.C (removeAutoInsets): adjust
4956 (ChangeInsets): adjust
4958 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4960 * text.C (top_y): fix bug 1110
4962 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4964 * errorlist.[Ch]: added
4967 * BufferView_pimpl.C:
4968 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4971 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * Makefile.am: ensure that lyx is relinked upon changes to the
4974 various "convenience" libs.
4976 2003-05-20 Angus Leeming <leeming@lyx.org>
4978 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4979 files are compiled in alphabetical order again.
4981 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4983 2003-05-19 Angus Leeming <leeming@lyx.org>
4985 * gettext.[Ch]: remove "char const * _(char const *)".
4987 2003-05-19 André Pönitz <poenitz@gmx.net>
4989 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4998 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5000 2003-05-19 André Pönitz <poenitz@gmx.net>
5004 * lyxtextclass.[Ch]:
5006 * paragraph_funcs.[Ch]:
5008 * text3.C: more insetenv work
5010 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5012 * ParagraphParameters.C (params2string): small bug fixed
5014 2003-05-16 André Pönitz <poenitz@gmx.net>
5017 * bufferview_funcs.C: patch from Kornel Benko to prevent
5018 crash when _(...) is called twice in a statement
5020 2003-05-16 André Pönitz <poenitz@gmx.net>
5027 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5029 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5031 * lyx_main.C (init): remove spurious static_cast
5033 2003-05-14 André Pönitz <poenitz@gmx.net>
5035 * BufferView.C: fix format string
5037 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5039 * BufferView.[Ch] (insertErrors): removed
5040 * BufferView.[Ch] (showErrorList): added
5041 * buffer.C (runChkTeX):
5042 * converter.C (scanLog): call showErrorList instead of inserterrors
5044 2003-05-13 André Pönitz <poenitz@gmx.net>
5046 * BufferView_pimpl.C:
5048 * bufferview_func.C:
5055 * tabular_funcs.h: tostr() from its own header
5057 * ParagraphParameters.C:
5062 * text3.C: STRCONV()
5064 2003-05-12 André Pönitz <poenitz@gmx.net>
5067 * BufferView_pimpl.C:
5071 * ParagraphParameters.C:
5075 * bufferview_funcs.C:
5088 * paragraph_funcs.C:
5092 * text3.C: boost::format -> bformat all over the place
5095 2003-05-09 André Pönitz <poenitz@gmx.net>
5097 * LColor.[Ch]: Pimpl the #include <map> away
5099 2003-05-09 John Levon <levon@movementarian.org>
5101 * bufferlist.C: never remove emergency saves
5103 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * Makefile.am: better lib building
5107 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5111 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5112 (simpleTeXSpecialChars): adjust
5113 (simpleTeXSpecialChars): adjust
5114 * paragraph.C (simpleTeXOnePar): adjust
5115 * buffer.C (makeLaTeXFile): adjust
5117 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5119 * text2.C (changeDepth): parlist cleanup
5120 (getColumnNearX): ditto
5122 * rowpainter.C (getLabelFont): parlist cleanup
5124 * bufferlist.C (newFile): parlist cleanup
5126 * CutAndPaste.C (eraseSelection): parlist cleanup
5128 * BufferView_pimpl.C (trackChanges): parlist cleanup
5131 * BufferView.C (lockInset): parlist cleanup.
5132 (ChangeInsets): ditto
5134 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * CutAndPaste.h: Update file header.
5138 * CutAndPaste.C: Update file header.
5139 Store the parts cut out of the Document in a limited_stack.
5140 (copySelection): adjust
5141 (pasteSelection): new function, takes the index in the limited stack.
5142 (nrOfParagraphs): adjust
5143 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5144 simplify error inset insertion.
5145 (checkPastePossible): adjust
5147 2003-05-06 John Levon <levon@movementarian.org>
5149 * text2.C: don't cast wrap inset to float
5151 2003-05-05 André Pönitz <poenitz@gmx.net>
5154 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5156 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5157 few naked Paragraph *.
5159 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5161 * bufferparams.C: Output warning if a document with missing
5162 TeX document class is loaded
5163 * exporter.C: Disable TeX exports if the document class is missing
5166 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5167 isTeXClassAvailable()
5169 2003-05-03 John Levon <levon@movementarian.org>
5172 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5173 explicit cursor show/hide
5175 * BufferView_pimpl.h:
5176 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5177 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5179 * lyxfunc.C: hide cursor before dispatching.
5184 * text3.C: remove explicit cursor hides
5186 2003-05-02 André Pönitz <poenitz@gmx.net>
5188 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5191 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5194 * text2.C: tiny whitespace
5196 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * undo_funcs.C: almost only ws changes.
5200 * ParagraphList.C (splice): just return if pl is empty.
5202 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * ParagraphList.C (splice): new function.
5206 * CutAndPaste.C (pasteSelection): use it
5208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * CutAndPaste.C (pasteSelection): remove the last next and
5211 previous from this file.
5213 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * CutAndPaste.C (pasteSelection): more clean up, user proper
5216 ParagraphList functions for pasteing.
5218 * ParagraphList.C (insert): new function, three arg insert
5220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * ParagraphList.C (insert): new function, three arg insert
5224 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5227 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5231 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5235 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5238 (copySelection): clean up a bit.
5239 (pasteSelection): use make_pair
5241 * ParagraphList.C (ParagraphList): implement copy constructor
5242 (operator=): implement, base on copy constructor.
5245 * paragraph.C (erase): return a bool
5247 * paragraph_pimpl.C (erasePos): remove function, move contents...
5248 (erase): ... here. Return a bool.
5249 (erase): call erase instead of erasePos.
5251 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5253 * ParagraphList.h: define PitPosPair
5254 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5255 ParagraphList, fix a bug on pasting multiple pars
5256 * text2.C: change interface to C&P
5258 2003-04-30 André Pönitz <poenitz@gmx.net>
5260 * undo_func.C: revert part of yesterday's patch 2
5262 2003-04-30 John Levon <levon@movementarian.org>
5264 * LColor.C: s/tabular/table/
5266 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * text3.C (dispatch): do not convert iterator -> pointer
5269 * undo_funcs.C (setCursorParUndo): ditto
5270 * text_funcs.C (transposeChars): ditto
5272 * text2.C (setLayout): ws changes only
5274 * text.C (breakParagraph): do not convert iterator -> pointer
5276 (acceptChange): ditto
5277 (rejectChange): ditto
5282 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5285 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5287 * text3.C (gotoInset): YABG (yet another bad getChar)
5289 2003-04-29 André Pönitz <poenitz@gmx.net>
5291 * paragraph.h: make operator= private unimplemented as long as
5294 * ParagraphList.C: whitespace
5297 * paragraph_pimpl.[Ch]:
5298 * paragraph_funcs.C:
5300 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5303 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5305 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5307 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5308 * paragraph.[Ch] (erase):
5309 * paragraph_pimpl.[Ch] (erase): change return type and value
5310 * text2.C (cutSelection): some rework
5312 2003-04-28 John Levon <levon@movementarian.org>
5314 * bufferlist.C: changes for unsaved changes dialog
5316 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * bufferlist.C (newFile): set language (messages_) for new
5321 * buffer.C (readFile): ws changes only.
5323 2003-04-28 André Pönitz <poenitz@gmx.net>
5328 * BufferView_pimpl.C:
5329 * BufferView.C: getParFromID related ParagraphList::iterator changes
5331 2003-04-28 André Pönitz <poenitz@gmx.net>
5333 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5336 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * messages.C: remove one more localedir class variable.
5340 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * messages.C (getLocaleDir): singleton generation function
5344 (Messages): add a default constructor.
5346 * main.C (main): do not setup localedir here, do not call
5349 * gettext.C (_): use it.
5350 (gettext_init): delete funciton
5352 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5354 * gettext.C (getLyXMessages): new singleton generating function.
5356 * buffer.C (updateDocLang): adjust
5358 * Makefile.am (messages.o): add target
5359 (main.o): remove target
5361 2003-04-27 John Levon <levon@movementarian.org>
5366 * lyxvc.C: specify cancel button in Alert::prompt
5368 2003-04-26 John Levon <levon@movementarian.org>
5373 * LyXAction.C: add LFUN_INSET_SETTINGS
5375 * lyxfunc.C: don't enable tabular-feature when there's
5376 just any locking inset
5378 2003-04-26 John Levon <levon@movementarian.org>
5380 * bufferlist.C: re-add Cancel to buffer close question
5382 * lyxfunc.C: fix import UI a bit
5384 2003-04-25 John Levon <levon@movementarian.org>
5386 * gettext.C: remove the broken asserts for now
5388 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * messages.C: make case where setlocale cannot comply work better.
5392 * buffer.C (updateDocLang): new function
5393 (changeLanguage): use it
5396 * text2.C (setCounter): use B_ a bit.
5398 * lyxlayout.C (Read): be sure to trim the label strings.
5400 * messages.C (Messages): fix typo in comment
5402 * buffer.C (readFile): set message_ after file is loaded.
5403 (makeDocBookFile): remove double return
5404 (changeLanguage): reset message_ upon language change.
5405 (B_): new func, use this to get translated buffer strings.
5407 * main.C: add myself and Jean Marc as authors.
5409 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * messages.[hC]: pimplify Messages, and three different pimpls to be
5412 used in different circumstances.
5414 * gettext.[Ch]: change for use with new message code.
5416 2003-04-24 André Pönitz <poenitz@gmx.net>
5418 * factory.C: support for eqref
5420 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * messages.[Ch]: add missing char
5424 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5426 * messages.[Ch]: New files
5428 2003-04-18 John Levon <levon@movementarian.org>
5432 * BufferView_pimpl.C:
5436 * text2.C: remove layout-copy/paste (bug 778)
5438 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5440 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5442 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5444 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5445 if they succeed. Act accordingly.
5447 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * text2.C (setCharFont): adjust
5450 (setCounter): adjust
5451 (insertStringAsLines): adjust
5453 * text.C (leftMargin): adjust
5454 (setHeightOfRow): adjust
5456 * rowpainter.C (paintFirst): adjust
5459 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5461 (isFirstInSequence): ditto
5462 (getEndLabel): ditto
5465 * paragraph.C (getParLanguage): comment out some hard stuff.
5467 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5469 (simpleDocBookOnePar): ditto
5470 (makeDocBookFile): use ParagraphList::iterator
5472 * CutAndPaste.C (pasteSelection): adjust
5474 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * text2.C (getFont): adjust
5477 (getLayoutFont): adjust
5478 (getLabelFont): adjust
5480 * paragraph_funcs.C (TeXOnePar): adjust
5482 * buffer.C (simpleLinuxDocOnePar): adjust
5483 (simpleDocBookOnePar): adjust
5485 * CutAndPaste.C (pasteSelection): adjust
5487 * BufferView.C (getEncoding): adjust
5489 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5491 2003-04-16 John Levon <levon@movementarian.org>
5493 * lyxfind.C: use parlist stuff for search/changes
5495 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5499 * text2.C (deleteEmptyParagraphMechanism): adjust
5501 * text2.[Ch] (ownerParagraph): delete func (both of them
5503 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5507 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5509 * ParagraphList.C: prepare for NO_NEXT
5511 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * text2.C (getFont): adjust
5514 (getLayoutFont): adjust
5515 (getLabelFont): adjust
5517 * paragraph.C (getFont): adjust
5518 (getLabelFont): adjust
5519 (getLayoutFont): adjust
5521 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5523 2003-04-15 John Levon <levon@movementarian.org>
5527 * lyx_main.C: handle Include in .ui files
5529 2003-04-15 John Levon <levon@movementarian.org>
5531 * MenuBackend.C: make the doc files length shorter
5534 * ToolbarBackend.C: handle toolbar placement flags,
5537 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5542 * paragraph_funcs.C (TeXOnePar): adjust
5544 * paragraph.C (getLabelFont): add outerfont arg, adjust
5545 (getLayoutFont): ditto
5546 (simpleTeXOnePar): adjust
5548 * paragraph_pimpl.C (realizeFont): delete func
5550 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5552 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5553 row argument, constify cur argument.
5555 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * text2.C (getFont): adjust
5558 (getLayoutFont): adjust
5559 (getLabelFont): adjust
5561 * paragraph_funcs.C (TeXOnePar): adjust
5562 (outerFont): new func...
5563 (realizeFont): ...moved out from here, changed this to facilitate
5566 * paragraph.C (getFont): take outerfont as arg, adjust
5567 (simpleTeXOnePar): add outerfont arg, adjust
5569 * buffer.C (simpleLinuxDocOnePar): adjust
5570 (simpleDocBookOnePar): adjust
5572 * CutAndPaste.C (pasteSelection): adjust
5574 * BufferView.C (getEncoding): adjust
5576 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * text2.C (setCharFont): adjust
5579 (setCounter): adjust
5581 * text.C (leftMargin): adjust
5582 (setHeightOfRow): adjust
5584 * rowpainter.C (paintFirst): adjust
5587 * paragraph_pimpl.C (realizeFont): adjust
5589 * paragraph.C (isFirstInSequence): move from here...
5590 * paragraph_funcs.C (isFirstInSequence): ...to here
5592 * paragraph.C (outerHook): move from here...
5593 * paragraph_funcs.C (outerHook): ...to here
5595 * paragraph.C (depthHook): move from here...
5596 * paragraph_funcs.C (depthHook): ...to here
5598 * paragraph.C (getEndLabel): move from here...
5599 * paragraph_funcs.C (getEndLabel): ...to here
5601 * text2.C (realizeFont): move from here...
5602 * paragraph_funcs.C (realizeFont): ...to here
5604 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5606 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5608 2003-04-14 Angus Leeming <leeming@lyx.org>
5610 * LColor.[Ch]: scrap LColor mathcursor.
5612 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * lyxlex.[Ch] (text): delete function
5615 * trans.C (Load): adjust
5616 * paragraph_funcs.C (readParToken): adjust
5618 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5621 vector<char> instead of a char[].
5623 * lyxlex_pimpl.C (getString): adjust
5625 (lex): use getString
5629 * lyxlex.C (text): use pimpl_->getString()
5633 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5636 (makeFontEntriesLayoutSpecific): temp var for par.size()
5637 (setLayout): temp var for ownerParagraphs().end()
5638 (fullRebreak): temp var for rows().end()
5639 (selectionAsString): temp var for boost::next(startpit), realize
5640 that the while really is a regular for loop.
5641 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5642 setCursor in one place.
5643 (setParagraph): temp vr for ownerParagraphs().end()
5644 (updateCounters): make the while loop a for loop
5645 (cutSelection): temp var for ownerParagraphs().end()
5646 (updateInset): make the do {} while() a regular for loop
5647 (getCursorX): use temp vars
5648 (setCurrentFont): use temp vars
5649 (getColumnNearX): use temp vars
5651 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * text.C (transformChar): use temp var for getChar
5654 (computeBidiTables): use temp var for row->par()
5655 (fill): move temp vars for row->par() and pit->layout() earlier in
5657 (labelFill): use temp var for row->par()
5658 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5659 asc and desc, realize that pit never changes and that firstpit is
5660 just a duplicate and not needed. Exchange rit->par() with pit in a
5662 (breakAgain): use a temp var for boost::next(rit)
5663 (breakAgainOneRow): ditto
5664 (breakParagraph): use a temp var for rows().begin()
5665 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5666 (cursorRightOneWord): use temp var for cursor.par() and
5667 cursor.pos(), remove usage of tmpcursor.
5668 (cursorLeftOneWord): use temp var for cursor.par() and
5669 cursor.pos() only set cur at end of function.
5671 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * text.C, text2.C: exchange all usage of Paragraph::next with
5674 boost::next(ParagraphList::iterator)
5676 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5678 * text2.C (cursorTop): simplify implementation
5679 (cursorBottom): ditto
5680 (setParagraph): use ParagraphList::iterator
5681 (setCurrentFont): adjust
5682 (getColumnNearX): adjust
5683 (cursorRight): adjust
5684 (cursorLeft): remove usage of Paragraph::previous
5685 (cursorUpParagraph): ditto
5686 (deleteEmptyParagraphMechanism): slight cleanup
5688 * text.C (isBoundary): take a Paragraph const & instead of a
5690 (addressBreakPoint): ditto
5691 (leftMargin): remove usage of Paragraph::previous.
5692 (setHeightOfRow): ditto
5693 (cursorLeftOneWord): ditto
5694 (selectNextWordToSpellcheck): ditto
5697 (breakParagraph): remove one usage of Paragraph::next
5698 (redoParagraph): ditto
5699 (acceptChange): ditto
5700 (insertChar): adjust
5701 (rowBreakPoint): adjust
5703 * bufferview_funcs.C (toggleAndShow): adjust
5705 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5707 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5708 methods to access it.
5710 * text.C: Added updateRowPositions to compute all row positions.
5711 Make top_y and getRowNearY() to use the cached y position
5713 2003-04-11 John Levon <levon@movementarian.org>
5715 * text.C (rowBreakPoint): reintroduce the labelEnd
5716 checks, code copied from the row fill stuff. Deep voodoo.
5718 * text.C (fill): add a comment and debugging for the
5721 2003-04-11 John Levon <levon@movementarian.org>
5723 * text.C: make sure fullrow insets get wrapped to the next line,
5724 even when they're in a manual label
5726 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * text2.C (insertParagraph): make it take ParagraphList::iterator
5730 (setLayout): make it return ParagraphList::iterator
5731 (redoParagraphs): ditto
5733 (checkParagraph): ditto
5735 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5737 * text2.C: adjust several funcs.
5738 (realizeFont): take a ParagraphList::iterator as arg.
5739 (getLayoutFont): ditto
5740 (getLabelFont): ditto
5741 (setCharFont): ditto
5743 * text.C: adjust several funcs.
5745 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5747 * text.C (selectNextWordToSpellcheck): don't accidentally
5750 2003-04-10 John Levon <levon@movementarian.org>
5752 * ToolbarBackend.C (getIcon): special handling for
5755 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5757 * text2.C (cursorRight): a getChar assert fixed
5759 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * text2.C (getFont): change to take a ParagraphList::iterator
5762 instead of Paragraph*
5763 Adjust several functions.
5765 * text.C (transformChar): change to take a ParagraphList::iterator
5766 instead of Paragraph*
5767 (singleWidth): ditto
5768 Adjust several functions.
5770 * rowpainter.C: adjust several functions
5771 * rowpainter.h:store a ParagraphList::iterator and not a
5775 2003-04-09 John Levon <levon@movementarian.org>
5780 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5781 and the "help" bits as well
5783 2003-04-09 John Levon <levon@movementarian.org>
5786 * ToolbarBackend.C: allow multiple toolbars
5788 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * undo_funcs.C (setCursorParUndo): adjust
5792 * text_funcs.C (transposeChars): adjust
5794 * text3.C (gotoNextInset): adjust
5797 * text2.C (setLayout): adjust
5798 (changeDepth): adjust
5800 (redoParagraphs): adjust
5801 (selectionAsString): adjust
5802 (setParagraph): adjust
5803 (insertInset): adjust
5804 (cutSelection): adjust
5805 (copySelection): adjust
5806 (pasteSelection): adjust
5807 (insertStringAsLines): adjust
5808 (updateInset): adjust
5809 (setCursor): change to take a ParagraphList::iterator parameter
5810 (setCursorIntern): change to take a ParagraphList::iterator parameter
5811 (setCurrentFont): adjust
5812 (cursorLeft): adjust
5813 (cursorRight): adjust
5814 (deleteEmptyParagraphMechanism): adjust
5816 * text.C (breakParagraph): adjust
5817 (insertChar): adjust
5818 (acceptChange): adjust
5819 (rejectChange): adjust
5820 (selectNextWordToSpellcheck): adjust
5821 (changeCase): adjust
5825 * lyxfind.C (SearchForward): adjust
5826 (SearchBackward): adjust
5827 (nextChange): adjust
5829 * lyxcursor.C (par): adjust
5831 * lyxcursor.h: store a ParagraphList::iterator instead of a
5834 * lyx_cb.C (getPossibleLabel): adjust
5836 * bufferview_funcs.C (toggleAndShow): adjust
5838 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5841 * BufferView.C (removeAutoInsets): adjust
5842 (lockedInsetStoreUndo): adjust
5844 2003-04-09 John Levon <levon@movementarian.org>
5846 * ToolbarBackend.C: try icon without argument
5847 if with argument fails
5849 2003-04-08 John Levon <levon@movementarian.org>
5852 * ToolbarBackend.C: add getIcon(), handle tooltip,
5853 and change from "Icon" to "Item".
5855 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5857 * BufferView.C (lockInset): another bad getchar crunched
5859 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5861 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5864 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5866 * lyxfind.C (searchForward, searchBackwards): bug 782
5868 2003-04-07 John Levon <levon@movementarian.org>
5870 * paragraph.C: remove dead comment
5872 * text.C: remove troublesome depth-fiddling code
5873 in leftMargin() and rightMargin() (bug 1017)
5875 * text.C: fix breaking of rows in nested lists
5878 * text2.C (updateCounters): fix up depth values
5881 2003-04-07 John Levon <levon@movementarian.org>
5883 * BufferView_pimpl.C: clear message when doc finishes resizing,
5884 and after a mouse event
5886 * lyxfunc.C: clear message after exiting inset
5888 2003-04-07 John Levon <levon@movementarian.org>
5890 * bufferview_funcs.C: show math status not outside
5891 status in the statusbar
5893 2003-04-07 John Levon <levon@movementarian.org>
5895 * lyxfunc.C: note status changed after a depth change
5897 2003-04-04 Angus Leeming <leeming@lyx.org>
5899 * LaTeX.h: move AuxInfo operator==, != out of line.
5900 Remove LaTeX virtual destructor; nothing derives from it.
5901 Move operator()() out of public area and rename it startscript().
5902 Change protected for private.
5904 2003-04-04 Angus Leeming <leeming@lyx.org>
5907 * text2.C: remove unneeded #includes.
5909 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5911 * text2.C (dEPM): fix the heigth of the next row
5913 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5915 * text.C: squashed an invalid getChar requester + some ws changes
5917 2003-04-03 John Levon <levon@movementarian.org>
5919 * bufferview_funcs.h:
5920 * bufferview_funcs.C:
5923 * text2.C: make getStatus work for the env depth lfuns
5925 2003-04-03 John Levon <levon@movementarian.org>
5927 * bufferview_funcs.h:
5928 * bufferview_funcs.C:
5931 * text2.C: parlistize decDepth(), by merging it with incDepth()
5933 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * lyxrow.h: store a ParagraphList::iterator instead of a
5936 Paragraph* and adjust other class functions to suit.
5938 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5941 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5943 * text2.C (setCursor): do not anchor to cursor row for the time being
5945 2003-04-02 John Levon <levon@movementarian.org>
5952 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5954 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5956 * paragraph.h: make ParagraphList and ParagraphList::iterator
5957 friends of Paragraph.
5959 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5961 * ParagraphList.C: Use the private next_ and previous_ from
5964 2003-04-01 John Levon <levon@movementarian.org>
5968 * Makefile.am: rename, remove defaults gunk
5971 * MenuBackend.C: remove defaults gunk
5974 * Languages.C: remove defaults gunk
5977 * lyx_main.C: error out if files couldn't be found.
5979 2003-04-02 John Levon <levon@movementarian.org>
5981 * text2.C: make incDepth() use parlist
5983 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * undo_funcs.C (firstUndoParagraph): adjust
5987 * text3.C (gotoInset): adjust
5988 (dispatch): adjust, and rewrite loop.
5990 * text2.C (init): adjust, and rewrite loop.
5991 (redoParagraphs): adjust
5992 (updateInset): adjust, and rewrite loop.
5993 (deleteEmptyParagraphMechanism): adjust
5995 * tabular.C (LyXTabular): adjust
5996 (SetMultiColumn): adjust
5999 * lyxtext.[Ch] (ownerParagraph): delete function
6000 (ownerParagraphs): new function returns a ParagraphList.
6002 * BufferView.C (removeAutoInsets): adjust
6003 (insertErrors): adjust
6004 (setCursorFromRow): adjust
6006 2003-04-01 Angus Leeming <leeming@lyx.org>
6008 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6011 2003-04-02 John Levon <levon@movementarian.org>
6017 * text_funcs.C: make transposeChars a free function
6019 * lyxrow_funcs.C: remove wrong comment
6021 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * rowpainter.C: adjust
6029 * lyxrow_funcs. [Ch]: new files
6031 * lyxrow.[Ch]: remove next and previous pointers
6032 (next,previous): remove accessor functions
6033 (isParEnd): move to lyxrow_funcs
6034 (lastPos): move to lyxrow_funcs
6035 (nextRowIsAllInset): move to lyxrow_funcs
6036 (lastPrintablePos): move to lyxrow_funcs
6037 (numberOfSeparators): move to lyxrow_funcs
6038 (numberOfHfills): move to lyxrow_funcs
6039 (numberOfLabelHfills): move to lyxrow_funcs
6040 (hfillExpansion): move to lyxrow_funcs
6044 * bufferview_funcs.C (toggleAndShow): adjust
6046 * RowList.h: Remove class RowList from file leave just a
6049 * RowList.C: delete file
6051 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6054 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * text3.C (cursorPrevious): adjust
6057 (cursorNext): adjust
6060 * text2.C (redoHeightOfParagraph): adjust
6061 (redoDrawingOfParagraph): adjust
6064 * text.C (breakParagraph): adjust
6065 (insertChar): adjust
6068 * rowpainter.C (RowPainter): adjust
6069 (leftMargin): simplify and adjust
6070 (most rowpainter functions): adjust.
6072 * rowpainter.h: store the row as RowList::iterator not as Row*
6074 * lyxcursor.C (row): taka RowList::iterator as arg
6077 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6080 2003-04-01 Angus Leeming <leeming@lyx.org>
6082 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6083 stuff like bool Bool.
6085 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6087 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6090 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6095 * lyxtext.h (rows): drop one version and leve a const variant that
6096 returns a RowList::iterator.
6098 2003-03-31 Angus Leeming <leeming@lyx.org>
6100 * text.C (fill): ensure that the signature is the same as that in the
6103 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * text2.C (redoParagraphs): adjust
6106 (updateCounters): adjust
6107 (checkParagraph): adjust
6108 (getColumnNearX): adjust and reformat a bit.
6110 * text.C (top_y): adjust
6112 (leftMargin): adjust
6113 (prepareToPrint): adjust
6115 (getRowNearY): adjust
6117 * lyxtext.h: make rowlist_ mutable.
6119 * RowList.h: add const_iterator
6120 * RowList.C: adjust for RowList::const_iterator.
6122 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6125 2003-03-31 John Levon <levon@movementarian.org>
6128 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6130 * lyx_main.C: set default fonts from using lyx_gui funcs
6132 * exporter.C: pdf_mode moved from lyxrc
6135 * lyxfunc.C: changes from above
6137 2003-03-31 John Levon <levon@movementarian.org>
6139 * lyx_main.C: fix to the last fix
6141 2003-03-31 John Levon <levon@movementarian.org>
6143 * bufferlist.C: "Load original" -> "Load Original"
6149 * format.C: more Alert cleanups
6151 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * text2.C (removeParagraph): make it take a RowList::iterator as
6155 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6156 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6158 * text.C (anchor_row): make it take a RowList::iterator as arg,
6160 (computeBidiTables): make it take a const reference to Row instead
6161 of Row pointer, adjust.
6162 (leftMargin): make it take a RowList::iterator as arg, adjust.
6163 (rowBreakPoint): adjust
6164 (breakAgainOneRow): make it take a RowList::iterator as arg,
6166 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6168 * bufferview_funcs.C (toggleAndShow): adjust
6170 2003-03-30 John Levon <levon@movementarian.org>
6174 * boost-inst.C: moved to support
6176 * several files: changes as a result
6178 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * text2.C (LyXText): adjust.
6182 (removeRow): make it take a RowList::iterator as arg, adjust.
6183 (fullRebreak): adjust
6184 (deleteEmptyParagraphMechanism): adjust
6185 (clearPaint): adjust
6188 * text.C (top_y): adjust
6189 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6190 (breakAgain): make it take a RowList::iterator as arg, adjust.
6191 (breakParagraph): adjust
6192 (insertChar): adjust
6195 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6196 need_break_row, and refresh_row.
6198 * text3.C (dispatch): adjust
6200 * text2.C (checkParagraph): adjust
6202 (setCursorFromCoordinates): adjust
6204 * text.C (top_y): adjust
6206 (getRow): make it return a RowList::iterator, adjust
6207 (getRowNearY): make it return a RowList::iterator, adjust
6209 * text2.C (init): adjust
6210 (insertRow): remove function
6211 (insertParagraph): adjust
6212 (redoParagraphs): adjust
6213 (fullRebreak): adjust
6214 (updateCounters): adjust
6216 * text.C (top_y): rewrite to use RowList iterators.
6218 (setHeightOfRow): rewrite to sue RowList iterators.
6219 (appendParagraph): adjust
6220 (breakAgain): adjust
6221 (breakAgainOneRow): adjust
6222 (breakParagraph): adjust
6224 (getRowNearY): adjust, and remove commented code.
6226 * lyxtext.h (firstRow): delete function
6227 (lastRow): delete function
6228 (rows): new function (const and non-const versions.)
6229 (insertRow): delete function
6231 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6233 2003-03-29 John Levon <levon@movementarian.org>
6235 * BufferView_pimpl.C: always update scrollbar top
6236 because pasting text when we're anchored could mean we
6237 miss an update altogether
6239 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * text2.C (init): use rowlist_.end() and not 0.
6242 (insertRow): change to take a RowList::iterator as arg, adjust
6244 (insertParagraph): change to take a RowList::iterator as arg,
6246 (redoParagraphs): remove some debug msgs.
6248 * text.C (appendParagraph): change to take a RowList::iterator
6249 arg, adjust for this.
6250 (breakAgain): add an assert
6251 (breakAgainOneRow): ditto
6253 2003-03-29 John Levon <levon@movementarian.org>
6255 * text2.C: do not clear selection after inc/decDepth
6258 2003-03-29 John Levon <levon@movementarian.org>
6261 * buffer.C: fix broken strerrors according to Lars
6263 2003-03-29 John Levon <levon@movementarian.org>
6265 * converters.C: more Alert cleanups
6267 2003-03-29 John Levon <levon@movementarian.org>
6269 * bufferview_funcs.C: remove pointless Alert
6271 * buffer.C: fix confusing error message when
6272 a template is chmoded 000
6274 2003-03-29 John Levon <levon@movementarian.org>
6278 * BufferView_pimpl.C: Alert fixes
6282 * tabular-old.C: remove unused table compat reading
6284 2003-03-29 John Levon <levon@movementarian.org>
6289 * lyx_cb.C: more Alert cleanups
6291 * lyxfunc.C: don't allow chktex if not latex document
6293 2003-03-29 John Levon <levon@movementarian.org>
6297 * buffer.C: warnings pushed down from support/,
6300 2003-03-29 John Levon <levon@movementarian.org>
6302 * lyxfunc.C: safety check for C-r (revert)
6304 2003-03-29 John Levon <levon@movementarian.org>
6307 * bufferlist.C: several UI fixes using Alert::prompt.
6308 Fix the pointless looping quit code. Fix stupid revert
6313 * lyx_cb.C: use Alert::prompt
6315 * lyx_main.C: remove a silly question
6317 * lyxfunc.C: remove a couple of silly questions,
6320 2003-03-28 John Levon <levon@movementarian.org>
6322 * text2.C: fix bug 974 (End on empty par)
6324 2003-03-28 John Levon <levon@movementarian.org>
6326 * BufferView_pimpl.C:
6328 * lfuns.h: remove do-nothing math greek lfuns
6330 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * lyxgluelength.h (isValidGlueLength): add default arg on
6333 parameter 2. Remove default arg from friend in class.
6335 * lyxlength.h (isValidLength): add default arg on parameter 2.
6336 Remove default arg from friend in class.
6338 * text2.C (LyXText): adjust, initialize refresh_row.
6342 (insertParagraph): adjst
6343 (redoParagraphs): adjust
6344 (fullRebreak): adjust
6345 (updateCounters): adjust
6346 (deleteEmptyParagraphMechanism): first attempt at fixing a
6349 * text.C (top_y): adjust
6350 (setHeightOfRow): adjust
6352 (getRowNearY): adjust
6354 * lyxtext.h: include RowList.h
6355 (~LyXText): not needed anymore, deleted.
6356 (firstRow): modify for RowList
6357 (lastRow): new function
6358 Delete firstrow and lastrow class variables, add a Rowlist
6359 rowlist_ class variable.
6361 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6364 * RowList.C (insert): fix case where it == begin().
6366 2003-03-26 Angus Leeming <leeming@lyx.org>
6368 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6369 the thesaurus dialog.
6371 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6375 * RowList.[Ch]: new files
6377 * ParagraphList.C (erase): handle the case where it == begin
6380 2003-03-25 John Levon <levon@movementarian.org>
6384 * aspell.C: add new aspell support
6387 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6390 2003-03-25 Angus Leeming <leeming@lyx.org>
6393 * LyXAction.C (init): new LFUN_INSET_INSERT.
6395 * BufferView_pimpl.C (dispatch): split out part of the
6396 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6398 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6401 2003-03-25 Angus Leeming <leeming@lyx.org>
6403 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6405 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6408 * text3.C: remove useless row->height(0)
6410 2003-03-25 John Levon <levon@movementarian.org>
6414 * text3.C: rename the refreshing stuff to better names
6416 2003-03-24 John Levon <levon@movementarian.org>
6418 * BufferView_pimpl.h:
6419 * BufferView_pimpl.C: update layout choice on a mouse
6422 2003-03-23 John Levon <levon@movementarian.org>
6424 * Makefile.am: fix commandtags.h reference
6426 2003-03-22 John Levon <levon@movementarian.org>
6428 * BufferView_pimpl.C:
6433 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6435 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6438 * text.C: take the rtl methods out of line
6440 2003-03-21 André Pönitz <poenitz@gmx.net>
6442 * metricsinfo.[Ch]: new files containing structures to be passed around
6443 during the two-phase-drawing...
6445 2003-03-21 André Pönitz <poenitz@gmx.net>
6447 * lyxtextclass.C: read 'environment' tag.
6449 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6451 * text2.C (removeRow): fix bug 964
6453 2003-03-20 John Levon <levon@movementarian.org>
6457 * text2.C: paint cleanups. Inset::update() dropped font
6460 2003-03-19 John Levon <levon@movementarian.org>
6462 * lyxfunc.C: only fitcursor/markDirty if available()
6464 2003-03-19 John Levon <levon@movementarian.org>
6466 * commandtags.h: rename to ...
6468 * lfuns.h: ... this, and renumber / cleanup
6470 2003-03-19 John Levon <levon@movementarian.org>
6472 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6473 fit the cursor after an lfun
6477 * BufferView_pimpl.h:
6478 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6480 * LyXAction.C: layout-character should have ReadOnly
6482 * ParagraphParameters.C:
6484 * bufferview_funcs.C:
6491 * undo_funcs.C: changes from above
6493 2003-03-18 John Levon <levon@movementarian.org>
6495 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6496 remove it from update()
6498 * lyxfunc.C: update layout choice after an lfun
6500 * text3.C: remove extra updateLayoutChoice()s
6502 2003-03-18 John Levon <levon@movementarian.org>
6504 * text.C: top_y change means full repaint, fix
6505 a drawing bug with cursor movement
6507 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6511 * text2.C: anchor row on setCursor
6513 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6515 * lyxtext.h: remove almost all mutable keywords
6518 * text3.C: remove const keywords accordingly
6520 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6522 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6524 (TeXEnvironment): ditto
6527 2003-03-17 John Levon <levon@movementarian.org>
6529 * text.C (rowBreakPoint): remove attempt to fix displayed
6530 math insets inside a manual label
6532 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * lyxtext.h: remove BufferView* as first arg from almost all class
6536 * other files: adjust.
6538 2003-03-17 John Levon <levon@movementarian.org>
6542 * text2.C: more paint cleanups
6544 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6547 * rowpainter.C: remove "smart" background painting code
6549 2003-03-16 John Levon <levon@movementarian.org>
6554 * text3.C: add helper functions for setting refresh_row/y
6556 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6558 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6559 newline inset which *can* get inserted in the pass_thru layouts.
6560 This is primarily for literate documents.
6562 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6564 * buffer.C: increment LYX_FORMAT to 223
6566 2003-03-14 André Pönitz <poenitz@gmx.net>
6568 * textclass.h: prepare for environment handling, ws changes
6569 * lyxlayout.C: read latexheader and latexfooter tags
6571 2003-03-14 John Levon <levon@movementarian.org>
6573 * text2.C: rewrite ::status() a bit
6575 2003-03-13 John Levon <levon@movementarian.org>
6577 * lyxtext.h: add some docs
6579 2003-03-13 John Levon <levon@movementarian.org>
6584 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6586 2003-03-13 John Levon <levon@movementarian.org>
6588 * text3.C: fix appendix redrawing
6590 2003-03-13 John Levon <levon@movementarian.org>
6592 * text.C (setHeightOfRow):
6594 * rowpainter.C: make appendix mark have the text
6595 "Appendix" so the user knows what it is
6598 * LColor.C: s/appendixline/appendix/ from above
6600 2003-03-13 John Levon <levon@movementarian.org>
6602 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6604 * text.C: fix a getChar(pos) bug properly
6606 2003-03-13 Angus Leeming <leeming@lyx.org>
6609 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6610 Probably only temporary. Let's see how things pan out.
6612 * BufferView.C (unlockInset):
6613 * BufferView_pimpl.C (fitCursor):
6614 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6616 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6617 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6619 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6620 new functions that convert ParagraphParameters to and from a string.
6622 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6623 BufferView::Pimpl's dispatch.
6624 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6626 2003-03-13 André Pönitz <poenitz@gmx.net>
6630 * factory.C: make it aware of InsetEnv
6632 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * text2.C (setCursor): never ask for one past last
6635 (setCursor): add some debugging messages.
6637 * text.C (singleWidth): never ask for one past last
6638 (singleWidth): ditto
6640 (rightMargin): ditto
6641 (rowBreakPoint): ditto
6642 (setHeightOfRow): ditto
6643 (prepareToPrint): ditto
6645 * rowpainter.C (paintBackground): never ask for one past last
6646 (paintText): never ask for one past last
6648 * paragraph_pimpl.C (getChar): make the assert stricter, never
6649 allow the one past last pos to be taken
6651 * paragraph.C (getChar): ws changes only
6653 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6654 (numberOfSeparators): ditto
6655 (numberOfHfills): ditto
6657 2003-03-12 John Levon <levon@movementarian.org>
6663 * paragraph_funcs.C: fix per-buffer authorlists
6665 2003-03-12 John Levon <levon@movementarian.org>
6667 * text.C: fix newline in right address
6669 2003-03-12 Angus Leeming <leeming@lyx.org>
6671 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6672 duplicate those in LyXFunc::dispatch.
6676 * ToolbarDefaults.C:
6677 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6678 Add LFUN_FONTFREE_UPDATE.
6680 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6681 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6683 * bufferview_func.[Ch]: several new functions to facilliate
6684 transfer of data to and from the character dialog.
6686 2003-03-12 John Levon <levon@movementarian.org>
6691 * paragraph_funcs.C:
6692 * paragraph_pimpl.C:
6696 * text3.C: remove META_NEWLINE in favour of an inset
6699 * rowpainter.C: remove paintNewline (done by inset)
6701 2003-03-12 John Levon <levon@movementarian.org>
6703 * paragraph_pimpl.C: complain about bad getChar()s
6704 for a while at least
6706 2003-03-12 John Levon <levon@movementarian.org>
6709 * buffer.C: move paragraph read into a separate function,
6710 a little renaming to reflect that.
6713 * bufferparams.C: remove the author_ids map, not necessary now
6716 * factory.C: moved Buffer::readInset to here
6718 * paragraph_funcs.h:
6719 * paragraph_funcs.C: readParagraph free function moved from
6722 * tabular.C: name change
6724 2003-03-12 John Levon <levon@movementarian.org>
6727 * ParagraphParameters.C: move par params input to
6730 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6731 behave like a normal read from the stream wrt reading
6732 a line vs. a \\token
6734 2003-03-12 John Levon <levon@movementarian.org>
6737 * ParagraphParameters.h:
6738 * ParagraphParameters.C: move output code to a
6741 2003-03-12 John Levon <levon@movementarian.org>
6743 * BufferView.C (insertLyXFile):
6746 * tabular.C: use a parlist iterator for creating the
6749 2003-03-12 John Levon <levon@movementarian.org>
6751 * buffer.C: make current_change static local not
6754 2003-03-12 John Levon <levon@movementarian.org>
6756 * buffer.C: fix insertStringAsLines for change tracking
6758 2003-03-12 John Levon <levon@movementarian.org>
6765 * bufferparams.C: move author list into params. Rename some
6766 functions. Move the header reading into a separate token
6767 loop. Move the header token reading into BufferParams.
6769 2003-03-12 John Levon <levon@movementarian.org>
6771 * changes.C: put debug inside lyxerr.debugging() checks
6773 2003-03-11 André Pönitz <poenitz@gmx.net>
6775 * factory.C: make it aware of InsetHFill
6777 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6779 * buffer.C (latexParagraphs): move function from here...
6780 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6783 2003-03-10 Angus Leeming <leeming@lyx.org>
6785 * LyXAction.C (init): fix bug in poplating array with multiple entries
6786 with the same LFUN (spotted by JMarc).
6788 2003-03-10 John Levon <levon@movementarian.org>
6791 * text2.C: move getColumnNearX() near its
6794 2003-03-10 John Levon <levon@movementarian.org>
6796 * text.C: fix break before a minipage
6798 2003-03-10 John Levon <levon@movementarian.org>
6800 * text.C: fix the last commit
6802 2003-03-09 John Levon <levon@movementarian.org>
6806 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6807 bug 365 (don't break before insets unless needed). Don't
6808 return a value > last under any circumstances.
6810 2003-03-09 Angus Leeming <leeming@lyx.org>
6812 * BufferView_pimpl.C (trackChanges, dispatch): call
6813 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6815 2003-03-09 Angus Leeming <leeming@lyx.org>
6817 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6818 than Dialogs::showAboutlyx().
6820 2003-03-09 Angus Leeming <leeming@lyx.org>
6822 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6823 than Dialogs::showTabularCreate().
6825 2003-03-09 John Levon <levon@movementarian.org>
6829 * text2.C: 3rd arg to nextBreakPoint was always the same.
6832 2003-03-08 John Levon <levon@movementarian.org>
6839 * text2.C: Remove the "main" bit from the "main body"
6842 2003-03-08 John Levon <levon@movementarian.org>
6844 * text.C (leftMargin): The left margin of an empty
6845 manual label paragraph should not include the label width
6848 * text.C (prepareToPrint): don't attempt to measure hfills
6849 for empty manual label paragraphs - the answer should be 0
6851 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * CutAndPaste.C: remove commented code and reindent.
6855 2003-03-08 John Levon <levon@movementarian.org>
6858 * lyxfunc.C: move reloadBuffer()
6861 * BufferView.C: to here
6863 * lyxvc.C: add comment
6866 * vc-backend.C: call bv->reload() to avoid
6867 getStatus() check on MENURELOAD
6869 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6871 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6872 to an old format .dep file.
6874 2003-03-07 Angus Leeming <leeming@lyx.org>
6876 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6877 when the LFUN_MOUSE_RELEASE should have been handled by
6878 inset->localDispatch.
6880 2003-03-07 Angus Leeming <leeming@lyx.org>
6882 * BufferView_pimpl.C (dispatch):
6883 * LyXAction.C (init):
6884 * ToolbarDefaults.C (init):
6886 * lyxfunc.C (getStatus):
6887 remove LFUN_INSET_GRAPHICS.
6889 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6891 2003-03-07 Angus Leeming <leeming@lyx.org>
6894 * LyXAction.C (init):
6895 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6897 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6900 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6902 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6903 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6905 2003-03-07 Angus Leeming <leeming@lyx.org>
6907 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6910 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * ParagraphList.C (front): new function
6915 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6917 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6918 and top_row_offset_. removed var first_y.
6920 * text2.C (LyXText, removeRow):
6922 * BufferView_pimpl.C:
6923 use these methods instead of using first_y
6925 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6927 * text2.C (pasteSelection): adjust for checkPastePossible
6929 * CutAndPaste.C: remove Paragraph * buf and replace with
6930 ParagraphList paragraphs.
6931 (DeleteBuffer): delete
6932 (cutSelection): change the tc type to textclass_type
6933 (copySelection): change the tc type to textclass_type
6934 (copySelection): adjust for ParagraphList
6935 (pasteSelection): change the tc type to textclass_type
6936 (pasteSelection): adjust for Paragraphlist
6937 (nrOfParagraphs): simplify for ParagraphList
6938 (checkPastePossible): simplify for ParagraphList
6939 (checkPastePossible): remove unused arg
6941 * ParagraphList.C (insert): handle the case where there are no
6944 * CutAndPaste.h: make CutAndPaste a namespace.
6946 * text3.C (dispatch): adjust
6948 * text.C (breakParagraph): add a ParagraphList as arg
6950 * paragraph_funcs.C (breakParagraph): change to take a
6951 BufferParams and a ParagraphList as args.
6952 (breakParagraphConservative): ditto
6953 (mergeParagraph): ditto
6954 (TeXDeeper): add a ParagraphList arg
6955 (TeXEnvironment): ditto
6958 * buffer.C (readLyXformat2): adjust
6959 (insertStringAsLines): adjust
6960 (latexParagraphs): adjust
6962 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6963 (cutSelection): adjust
6964 (pasteSelection): adjust
6966 * BufferView_pimpl.C (insertInset): adjust
6968 2003-03-05 Angus Leeming <leeming@lyx.org>
6971 * LyXAction.C (init):
6972 * BufferView_pimpl.C (dispatch):
6973 * lyxfunc.C (getStatus):
6974 remove LFUN_CHILD_INSERT.
6976 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6978 2003-03-05 Angus Leeming <leeming@lyx.org>
6981 * LyXAction.C (init):
6982 * src/factory.C (createInset):
6983 * lyxfunc.C (getStatus):
6984 * text3.C (dispatch):
6985 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6987 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6989 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * ParagraphList.C (insert): handle insert right before end()
6992 (erase): fix cases where it can be first or last paragraph.
6994 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6997 Paragraph::next and Paragraph::previous
7000 * text.C (breakParagraph): adjust
7002 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7003 BufferParams& as arg.
7004 (breakParagraph): use ParagraphList::insert
7005 (breakParagraphConservative): take a Buffer* instead of a
7006 BufferParams& as arg.
7007 (breakParagraphConservative): use ParagraphList::insert.
7009 * buffer.C (insertStringAsLines): un-const it
7010 (insertStringAsLines): adjust
7012 * ParagraphList.C (insert): new function
7014 * CutAndPaste.C (pasteSelection): adjust
7016 * text.C (backspace): adjust
7018 * tabular.C (SetMultiColumn): adjust
7020 * CutAndPaste.C (cutSelection): adjust
7021 (pasteSelection): adjust
7023 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7024 Buffer const * as arg
7026 * ParagraphList.C (erase): new function
7027 * paragraph_funcs.C (mergeParagraph): use it
7028 (mergeParagraph): make it take a Buffer* instead of a
7029 BufferParams* as arg
7031 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7033 (breakParagraphConservative): ditto
7035 * paragraph.h: remove the breakParagraph friend
7037 * paragraph.C (eraseIntern): new function
7038 (setChange): new function
7040 * paragraph_funcs.C (mergeParagraph): make it take a
7041 ParagraphList::iterator instead of a Paragraph *, adjust
7044 * paragraph.h: move an #endif so that the change tracking stuff
7045 also works in the NO_NEXT case.
7047 2003-03-04 Angus Leeming <leeming@lyx.org>
7050 * LyXAction.C: new LFUN_INSET_MODIFY.
7052 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7053 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7055 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * several files: ws changes only
7059 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7060 (TeXEnvironment): ditto
7063 * buffer.C (makeLaTeXFile): adjust
7064 (latexParagraphs): make it take ParagraphList::iterator as args
7066 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * buffer.C (latexParagraphs): adjust
7070 * paragraph.C (TeXOnePar): move function...
7071 (optArgInset): move function...
7072 (TeXEnvironment): move function...
7073 * paragraph_pimpl.C (TeXDeeper): move function...
7074 * paragraph_funcs.C: ...here
7076 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7078 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * buffer.C (readInset): remove compability code for old Figure and
7083 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * buffer.C: ws changes
7088 * BufferView_pimpl.C: ditto
7091 * bufferlist.h: ditto
7095 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7097 * converter.[Ch]: split into itself +
7100 * Makefile.am: += graph.[Ch] + format.[Ch]
7107 * lyxrc.C: added #include "format.h"
7109 2003-02-27 Angus Leeming <leeming@lyx.org>
7111 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7114 * factory.C (createInset): add "label" to the factory.
7116 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7117 string and do no more.
7119 2003-02-27 Angus Leeming <leeming@lyx.org>
7122 * LyXAction.C (init):
7123 * factory.C (createInset):
7124 * BufferView_pimpl.C (dispatch):
7125 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7127 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7129 * lyxfunc.C (dispatch):
7130 * text3.C (dispatch): pass name to params2string.
7132 2003-02-26 Angus Leeming <leeming@lyx.org>
7134 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7136 Rearrange the ~includes. Strip out the unnecessary ones.
7138 * factory.C (createInset): reformat.
7139 create new insets for the various LFUN_XYZ_APPLY lfuns.
7141 2003-02-26 John Levon <levon@movementarian.org>
7144 * lyxrow.C: add isParStart,isParEnd helpers
7146 * paragraph.h: make isInserted/DeletedText take refs
7148 * paragraph_funcs.h:
7149 * paragraph_funcs.C: remove #if 0'd code
7154 * text.C: use lyxrow helpers above.
7155 Move draw and paint routines to RowPainter.
7156 Make several methods use refs not pointers.
7157 Make backgroundColor() const.
7158 Add markChangeInDraw(), isInInset().
7159 Merge changeRegionCase into changeCase.
7160 Make workWidth() shouldn't-happen code into an Assert.
7163 * rowpainter.C: new class for painting a row.
7166 * vspace.C: make inPixels take a ref
7168 2003-02-26 Angus Leeming <leeming@lyx.org>
7170 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7173 2003-02-25 John Levon <levon@movementarian.org>
7175 * ispell.C: give the forked command a more accurate name
7177 2003-02-22 John Levon <levon@movementarian.org>
7180 * toc.C: make TocItem store an id not a Paragraph *
7183 2003-02-21 Angus Leeming <leeming@lyx.org>
7185 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7186 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7187 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7188 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7189 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7190 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7192 * BufferView_pimpl.C (dispatch):
7193 * LyXAction.C (init):
7194 * factory.C (createInset):
7195 * lyxfunc.C (getStatus, dispatch):
7196 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7198 2003-02-21 Angus Leeming <leeming@lyx.org>
7200 * BufferView_pimpl.C (MenuInsertLyXFile):
7201 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7202 * lyxfunc.C (menuNew, open, doImport):
7203 no longer pass a LyXView & to fileDlg.
7205 2003-02-21 Angus Leeming <leeming@lyx.org>
7207 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7208 * LyXAction.C: change, BIBKEY to BIBITEM.
7209 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7210 Change InsetBibKey to InsetBibitem.
7211 Change BIBKEY_CODE to BIBITEM_CODE.
7212 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7213 * factory.C: replace insetbib.h with insetbibitem.h.
7214 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7215 * paragraph.C: replace insetbib.h with insetbibitem.h.
7216 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7217 Change bibkey() to bibitem().
7218 * text.C: remove insetbib.h.
7219 * text2.C: replace insetbib.h with insetbibitem.h.
7220 change bibkey() to bibitem().
7221 * text3.C: remove insetbib.h.
7222 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7224 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7226 * lyxrc.C (output): enclose user email in quotes (in case there are
7229 2003-02-18 John Levon <levon@movementarian.org>
7231 * buffer.h: add std::
7233 2003-02-17 John Levon <levon@movementarian.org>
7239 * pspell.C: reworking. Especially in ispell, a large
7240 number of clean ups and bug fixes.
7242 * lyxfunc.C: fix revert to behave sensibly
7244 2003-02-17 André Pönitz <poenitz@gmx.net>
7247 * commandtags.h: new LFUN_INSERT_BIBKEY
7257 * paragraph_func.C: remove special bibkey handling
7259 2003-02-17 John Levon <levon@movementarian.org>
7261 * text.C (Delete): fix case where delete at the end of
7262 the very first paragraph would not merge the pars
7264 2003-02-17 John Levon <levon@movementarian.org>
7266 * lyxrow.C: fix lastPrintablePos()
7268 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7270 * bufferparams.C (writeLaTeX): add a std:here
7272 * buffer.C: and remove a using directive there
7274 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7276 * buffer.C (makeLaTeXFile): move the code that generates the
7279 * bufferparams.C (writeLaTeX): ... in this new method
7281 * LaTeXFeatures.C (getEncodingSet): make const
7282 (getLanguages): make const
7284 * MenuBackend.C (binding): returns the binding associated to this
7286 (add): sets the status of each item by calling getStatus. Adds
7288 (read): add support for OptSubMenu
7289 (expand): remove extra separator at the end of expanded menu
7291 2003-02-15 John Levon <levon@movementarian.org>
7294 * BufferView_pimpl.C:
7296 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7297 inset code that had no actual effect. Remove unneeded status
7300 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7305 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7307 * text.C (drawLengthMarker): also draw an arrow marker for
7308 symbolic lengths (medskip...)
7310 2003-02-14 John Levon <levon@movementarian.org>
7313 * tabular.C: better method names
7315 2003-02-14 John Levon <levon@movementarian.org>
7317 * BufferView_pimpl.C:
7322 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7323 it's a more accurate name. Remove some pointless uses.
7325 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * text2.C (LyXText): change order of initilizers to shut off
7330 2003-02-14 John Levon <levon@movementarian.org>
7332 * buffer.C: use ParIterator for getParFromID()
7336 * paragraph_pimpl.h:
7337 * paragraph_pimpl.C: remove unused getParFromID()
7339 2003-02-14 John Levon <levon@movementarian.org>
7341 * buffer.C: remove some very old #if 0'd parse code
7343 2003-02-13 John Levon <levon@movementarian.org>
7347 * text2.C: move hfillExpansion(), numberOfSeparators(),
7348 rowLast(), rowLastPrintable(), numberofHfills(),
7349 numberOfLabelHfills() ...
7352 * lyxrow.C: ... to member functions here.
7357 * text.C: remove LyXText::beginningOfMainBody(), and call
7358 p->beginningOfMainBody() directly. Move the check for
7359 LABEL_MANUAL into the latter.
7366 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7372 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7373 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7375 2003-02-13 John Levon <levon@movementarian.org>
7377 * CutAndPaste.C: remove debug
7379 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7381 * paragraph.C (asString): remove two unused variables
7383 * lyxtextclass.C (readTitleType):
7385 (LyXTextClass): handle new members titletype_ and titlename_
7387 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7389 2003-02-09 John Levon <levon@movementarian.org>
7392 * buffer.C: replace hand-coded list with a map for the dep clean
7394 2003-02-08 John Levon <levon@movementarian.org>
7396 * LaTeX.C: consolidate code into showRunMessage() helper
7398 2003-02-08 John Levon <levon@movementarian.org>
7403 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7404 and pass the size in explicitly
7406 * BufferView_pimpl.h:
7407 * BufferView_pimpl.C:
7409 * BufferView.C: add getCurrentChange()
7411 * BufferView_pimpl.h:
7412 * BufferView_pimpl.C: handle change lfuns
7414 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7415 for changes. Mark pasted paragraphs as new.
7417 * support/lyxtime.h:
7418 * support/lyxtime.C:
7419 * DepTable.C: abstract time_t as lyx::time_type
7422 * LColor.C: add colours for new text, deleted text, changebars
7424 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7425 package use "usenames" option.
7429 * LyXAction.C: add change lfuns
7433 * author.C: author handling
7436 * buffer.C: add a per-buffer author list, with first entry as
7437 current author. Handle new .lyx tokens for change tracking. Output
7438 author list to .lyx file. Output dvipost stuff to .tex preamble.
7439 Bump lyx format to 222.
7442 * bufferlist.C: add setCurrentAuthor() to reset current author details
7446 * bufferparams.C: add param for tracking
7448 * bufferview_funcs.C: output change info in minibuffer
7452 * changes.C: add change-tracking structure
7455 * debug.C: add CHANGES debug flag
7458 * lyxfind.C: add code for finding the next change piece
7461 * lyxrc.C: add user_name and user_email
7464 * lyxrow.C: add a metric for the top of the text line
7467 * text.C: implement accept/rejectChange()
7470 * text.C: paint changebars. Paint new/deleted text in the chosen
7471 colours. Strike through deleted text.
7475 * paragraph_pimpl.h:
7476 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7477 in the current change to the insert functions. Rework erase to
7478 mark text as deleted, adding an eraseIntern() and a range-based
7479 erase(). Implement per-paragraph change lookup and
7482 * paragraph_funcs.C: Fixup paste for change tracking.
7484 * tabular.C: mark added row/columns as new.
7486 * text.C: fix rowLast() to never return -1. Don't allow
7487 spellchecking of deleted text. Track transpose changes. Don't
7488 allow paragraph break or merge where appropriate.
7490 * text2.C: leave cursor at end of selection after a cut.
7492 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7494 * text.C (getLengthMarkerHeight):
7495 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7496 visible on screen too.
7498 2003-02-07 John Levon <levon@movementarian.org>
7500 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7502 2003-02-05 Angus Leeming <leeming@lyx.org>
7504 * lyxserver.C (read_ready): revert my patch of 11 September last year
7505 as it sends PC cpu through the roof. Presumably this means that
7506 the lyxserver will no longer run on an Alpha...
7508 2003-01-30 Angus Leeming <leeming@lyx.org>
7510 * factory.C (createInset): create an InsetCommandParam of type "index"
7511 and use it to 'do the right thing'.
7513 * text2.C (getStringToIndex): ensure that cursor position is always
7514 reset to the reset_cursor position.
7516 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7518 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7521 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7525 * lyxfunc.C: Output messages with identical spelling, punctuation,
7528 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7530 * MenuBackend.C (expandFormats): List only viewable export formats
7533 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7536 * lyxfunc.C (getStatus): Make sure that formats other than
7537 "fax" can also be disabled
7539 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7541 * text3.C (dispatch): put the lfuns that insert insets in 3
7542 groups, and call doInsertInset with appropriate arguments.
7543 (doInsertInset): new function, that creates an inset and inserts
7544 it according to some boolean parameters.
7546 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * buffer.C (readFile): remember to pass on 'par' when calling
7549 readFile recursively.
7551 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7553 * MenuBackend.C (expandFormats): add "..." to import formats.
7555 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7557 * paragraph.C (asString): Remove XForms RTL hacks.
7559 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7560 * buffer.C: fix typo
7562 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * Makefile.am (LIBS): delete var
7565 (lyx_LDADD): add @LIBS@ here instead.
7567 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7569 * Clarify the meaning of "wheel mouse jump"
7571 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7573 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7576 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7578 * importer.C (Loaders): do not preallocate 3 elements in the
7579 vector, since one ends up with 6 elements otherwise
7581 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7583 * DepTable.C (write): write the file name as last element of the
7584 .dep file (because it may contain spaces)
7585 (read): read info in the right order
7587 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7589 * paragraph_pimpl.C (simpleTeXBlanks):
7590 (simpleTeXSpecialChars):
7591 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7593 * tabular.C (latex): add some missing case statements. Reindent.
7595 * MenuBackend.C (expandToc): remove unused variable.
7597 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7606 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7609 2003-01-05 John Levon <levon@movementarian.org>
7612 * BufferView.C: add getEncoding()
7615 * kbsequence.C: do not store last keypress
7618 * lyxfunc.C: store last keypress here instead. Pass encoding
7621 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7623 * lyx_main.C (init): remove annoying error message when following
7624 symbolic links (bug #780)
7626 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7628 * text.C (insertChar):
7629 * lyxrc.C (getDescription): remove extra spaces
7631 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7633 * lyxrc.C (getDescription): remove extra spaces
7635 2002-12-20 John Levon <levon@movementarian.org>
7637 * text3.C: hack fix for page up/down across tall rows
7639 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7644 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7646 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7647 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7648 thesaurus is not compiled in
7650 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7652 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7654 2002-12-16 Angus Leeming <leeming@lyx.org>
7657 * lyx_main.C (init): remove override_x_deadkeys stuff.
7659 2002-12-12 John Levon <levon@movementarian.org>
7661 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7662 insert. Only remove shift modifier under strict
7665 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * MenuBackend.C (expandToc): fix crash.
7669 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7671 * MenuBackend.C (expandToc): gettext on float names.
7673 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7675 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7676 implement bool empty() [bug 490]
7678 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7682 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * several files: ws changes
7686 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7688 * text2.C (setCounter): clean up a bit, use boost.format.
7689 (updateCounters): initialize par upon declaration.
7691 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7692 if the layout exists. We do not just store the layout any more.
7693 (SwitchLayoutsBetweenClasses): use boost.format
7695 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7697 * converter.C (convert): if from and to files are the same, use a
7698 temporary files as intermediary
7700 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7703 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7705 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7707 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7709 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7711 * tabular.C (asciiPrintCell): use string(size, char) instead of
7714 * sgml.C (openTag): fix order of arguments to string constructor
7717 * lyxfunc.C (dispatch): use boost.format
7719 * lots of files: change "c" -> 'c'
7721 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7723 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7725 2002-11-25 Angus Leeming <leeming@lyx.org>
7727 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7729 * lyx_main.C (init): compile fix.
7731 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * lyx_cb.C (start): boost.formatify
7734 do not include <iostream>
7736 * lengthcommon.C: ws only
7738 * boost-inst.C,BoostFormat.h: add more explict instantations
7740 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * lots of files: handle USE_BOOST_FORMAT
7744 2002-11-21 John Levon <levon@movementarian.org>
7746 * pspell.C: fix compile
7748 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7750 * lyxfunc.C (dispatch): use boost::format
7754 * lyxfont.C (stateText): use boost::format
7756 * lyx_main.C (LyX): use boost::format
7758 (queryUserLyXDir): ditto
7761 (typedef boost::function): use the recommened syntax.
7763 * importer.C (Import): use boost::format
7765 * debug.C (showLevel): use boost::format
7767 * converter.C (view): use boost::format
7772 * bufferview_funcs.C (currentState): use boost::format
7774 * bufferlist.C (emergencyWrite): use boost::format
7776 * buffer.C (readLyXformat2): use boost::format
7777 (parseSingleLyXformat2Token): ditto
7779 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7781 * LaTeX.C (run): use boost::format
7783 * Chktex.C (scanLogFile): use boost::format
7785 * BufferView_pimpl.C (savePosition): use boost::format
7786 (restorePosition): ditto
7787 (MenuInsertLyXFile): ditto
7789 * BoostFormat.h: help file for explicit instation.
7791 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7793 * tabular.C (latex): Support for block alignment in fixed width
7796 2002-11-17 John Levon <levon@movementarian.org>
7798 * BufferView_pimpl.C:
7800 * lyxfunc.C: split filedialog into open/save
7802 2002-11-08 Juergen Vigna <jug@sad.it>
7804 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7805 by my last patch (hopefully).
7807 2002-11-08 John Levon <levon@movementarian.org>
7816 * toc.C: ParConstIterator, and use it (from Lars)
7818 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7820 * lyxtextclass.[Ch]: revise and add doxygen comments
7822 2002-11-07 John Levon <levon@movementarian.org>
7824 * text.C: fix progress value for spellchecker
7826 * toc.C: fix navigate menu for insetwrap inside minipage
7828 * paragraph_funcs.C: added FIXME for suspect code
7830 2002-11-07 John Levon <levon@movementarian.org>
7832 * BufferView_pimpl.C: fix redrawing of insets
7835 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7837 * text2.C (updateCounters): fix bug 668
7839 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7841 * text3.C (dispatch): Do not make the buffer dirty when moving the
7844 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * vc-backend.C: STRCONV
7849 * text2.C (setCounter): STRCONV
7851 * paragraph.C (asString): STRCONV
7853 * lyxlength.C (asString): STRCONV
7854 (asLatexString): ditto
7856 * lyxgluelength.C (asString): STRCONV
7857 (asLatexString): ditto
7859 * lyxfunc.C (dispatch): STRCONV
7862 * lyxfont.C (stateText): STRCONV
7864 * importer.C (Import): STRCONV
7866 * counters.C (labelItem): STRCONV
7867 (numberLabel): ditto
7868 (numberLabel): remove unused ostringstream o
7873 * bufferview_funcs.C (currentState): STRCONV
7875 * buffer.C (readFile): STRCONV
7876 (asciiParagraph): ditto
7877 (makeLaTeXFile): ditto
7879 * Spacing.C (writeEnvirBegin): STRCONV
7881 * LaTeXFeatures.C (getLanguages): STRCONV
7882 (getPackages): ditto
7884 (getBabelOptions): ditto
7885 (getTClassPreamble): ditto
7886 (getLyXSGMLEntities): ditto
7887 (getIncludedFiles): ditto
7891 (scanAuxFile): ditto
7894 * LString.h: add the STRCONV macros
7896 * BufferView_pimpl.C (savePosition): STRCONV
7897 (restorePosition): ditto
7898 (MenuInsertLyXFile): ditto
7900 * vc-backend.C (scanMaster): change from submatch[...] to
7903 * funcrequest.C: include config.h
7905 * factory.C: include config.h
7907 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7909 * box.C: include config.h
7911 * LaTeX.C (scanAuxFile): change from submatch[...] to
7915 2002-10-25 Angus Leeming <leeming@lyx.org>
7917 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7919 * ispell.[Ch] (setError): new method.
7920 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7921 Use setError() insetead of goto END.
7923 * lyx_cb.C (AutoSave): move out child process into new class
7926 2002-10-30 John Levon <levon@movementarian.org>
7928 * text3.C: make start appendix undoable
7930 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7932 * lyxlength.C (inPixels): Fix returned value.
7934 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7937 2002-10-24 Angus Leeming <leeming@lyx.org>
7939 * lyxgluelength.h: no need to forward declare BufferParams
7940 or BufferView, so don't.
7942 2002-10-21 John Levon <levon@movementarian.org>
7944 * BufferView.C: menuUndo ->undo, redo
7946 * BufferView.h: document, remove dead, make some methods private
7948 * paragraph_funcs.h:
7949 * paragraph_funcs.C:
7950 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7955 * sgml.C: move sgml open/close tag into sgml.C
7957 * bufferview_funcs.h: unused prototype
7960 * lyxfunc.C: remove unused
7963 * text.C: remove unused
7965 2002-10-21 John Levon <levon@movementarian.org>
7969 * BufferView_pimpl.h:
7970 * BufferView_pimpl.C: fix mouse wheel handling based on
7971 patch from Darren Freeman
7973 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7975 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7977 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7979 * lyxlength.C (inPixels): Fix hanfling of negative length.
7980 Fix LyXLength::MU case.
7982 2002-10-16 John Levon <levon@movementarian.org>
7984 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7986 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7988 * converter.C (view): add support for $$i (file name) and $$p
7989 (file path) for the viewer command. If $$i is not specified, then
7990 it is appended to the command (for compatibility with old syntax)
7992 2002-10-14 Juergen Vigna <jug@sad.it>
7994 * undo_funcs.C (textHandleUndo): alter the order in which the
7995 new undopar is added to the LyXText, as we have to set first
7996 the right prev/next and then add it as otherwise the rebuild of
7997 LyXText is not correct. Also reset the cursor to the right paragraph,
7998 with this IMO we could remove the hack in "redoParagraphs()".
8000 2002-10-09 Angus Leeming <leeming@lyx.org>
8002 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8003 to turn off an optimisation if a new inset is to be inserted.
8005 2002-10-11 André Pönitz <poenitz@gmx.net>
8007 * lyxtext.h: make some functions public to allow access
8008 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8010 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8012 * text3.C (dispatch): when changing layout, avoid an infinite loop
8015 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8017 * lyxrc.C (read): treat a viewer or converter command of "none" as
8020 * MenuBackend.C (expandFormats): for an update, also allow the
8021 formats that are not viewable
8023 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8024 script if it is newer than the lyxrc.defaults in user directory
8026 2002-10-07 André Pönitz <poenitz@gmx.net>
8028 * text.C: Vitaly Lipatov's small i18n fix
8030 2002-09-25 Angus Leeming <leeming@lyx.org>
8032 * ispell.h: doxygen fix.
8034 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8036 * buffer.h (readFile): Add a new argument to the method, to allow
8037 reading of old-format templates.
8039 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8041 * toc.C (getTocList): Get TOC from InsetWrap.
8043 2002-09-16 John Levon <levon@movementarian.org>
8045 * lyxfunc.C: check tabular for cut/copy too
8047 2002-09-12 John Levon <levon@movementarian.org>
8052 * factory.C: add header
8054 * paragraph_funcs.h:
8055 * paragraph_funcs.C: cleanup
8057 2002-09-11 John Levon <levon@movementarian.org>
8059 * PrinterParams.h: odd/even default to true
8061 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8063 * PrinterParams.h: update printer parameters for new xforms dialog
8065 2002-09-11 Angus Leeming <leeming@lyx.org>
8067 * lyxserver.C (read_ready): re-write to make it more transparent
8068 and to make it work in coherent fashion under Tru64 Unix.
8070 2002-09-11 André Pönitz <poenitz@gmx.net>
8074 * text3.C: implement LFUN_WORDSEL
8076 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8079 make floatlist_ a boost::shared_ptr<FloatList>
8081 * lyxtextclass.C: include FloatList.h
8082 (LyXTextClass): initialize floatlist_
8083 (TextClassTags): add TC_NOFLOAT
8084 (Read): match "nofloat" to TC_NOFLOAT and use it.
8085 (readFloat): modify call to floatlist_
8089 * FloatList.[Ch] (FloatList): remove commented out float
8091 (erase): new function
8093 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8095 * MenuBackend.C (expandToc): fix crash when there is no document
8098 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8100 * many files: Add insetwrap.
8102 2002-09-09 John Levon <levon@movementarian.org>
8104 * text2.C: remove confusing and awkward depth wraparound
8106 2002-09-09 John Levon <levon@movementarian.org>
8108 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8111 * buffer.C: remove getIncludeonlyList()
8114 * lyxfunc.C: remove headers
8116 2002-09-09 Juergen Vigna <jug@sad.it>
8118 * text.C (getColumnNearX): fix form Michael this is most
8119 probably a cut&paste bug.
8121 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8125 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8126 references, ws changes.
8128 * text2.C (init): update counters after init
8129 (insertParagraph): no need to set counter on idividual paragraphs.
8130 (setCounter): access the counters object in the textclass object
8131 on in the buffer object.
8132 (updateCounters): ditto
8134 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8135 shared_ptr<Counters> to avoid loading counters.h in all
8137 (LyXTextClass): initialize ctrs_
8138 (TextClassTags): add TC_COUNTER, and ...
8139 (Read): use it here.
8140 (CounterTags): new tags
8141 (readCounter): new function
8142 (counters): new funtion
8143 (defaultLayoutName): return a const reference
8145 * counters.C (Counters): remove contructor
8146 (newCounter): remove a couple of unneeded statements.
8147 (newCounter): simplify a bit.
8148 (numberLabel): some small formatting changes.
8150 * buffer.[Ch]: remove all traces of counters, move the Counters
8151 object to the LyXTextClass.
8153 2002-09-06 Alain Castera <castera@in2p3.fr>
8155 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8156 package to set the horizontal alignment on fixed width columns.
8159 * lyx_sty.h: added tabularnewline macro def.
8161 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8163 2002-09-06 John Levon <levon@movementarian.org>
8165 * LyXAction.C: tooltips for sub/superscript
8167 * MenuBackend.C: a bit more verbose
8169 * lyxfunc.C: tiny clean
8171 * undo_funcs.C: document undo_frozen
8173 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * counters.C (Counters): add missing algorithm counter.
8177 * text2.C (setCounter): lookup the counter with layouts latexname
8178 instead of by section number.
8179 (setCounter): use a hackish way to lookup the correct enum
8181 a float name->type change
8182 reset enum couners with counter name directly instead of depth value.
8184 * counters.C (Counters): remove the push_backs, change to use the
8185 float type not the float name.
8186 (labelItem): remove unused string, float name->type change
8188 * counters.h: don't include vector, loose the enums and sects vectors
8190 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8193 (Read): add float->TC_FLOAT to textclassTags
8194 (Read): and handle it in the switch
8195 (readFloat): new function
8197 * FloatList.C (FloatList): comment out the hardcoded float
8200 * lyxlayout.h: ws change.
8202 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8204 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8206 2002-09-03 Angus Leeming <leeming@lyx.org>
8208 * BufferView_pimpl.h: qualified name is not allowed in member
8209 declaration: WorkArea & Pimpl::workarea() const;
8211 * factory.C: added using std::endl directive.
8213 * text3.C: added using std::find and std::vector directives.
8215 2002-08-29 André Pönitz <poenitz@gmx.net>
8218 * text2.C: remove unused member number_of_rows
8221 * BufferView2.C: remove file, move contents to...
8222 * BufferView.C: ... here
8224 * BufferView_pimpl.C:
8225 * factory.C: move more inset creation to factory
8227 * vspace.C: avoid direct usage of LyXText, ws changes
8230 don't provide direct access to WorkArea, use two simple
8231 acessors haveSelction() and workHeight() instead
8234 2002-08-29 John Levon <levon@movementarian.org>
8236 * BufferView_pimpl.C (dispatch): do not continue when
8239 2002-08-28 André Pönitz <poenitz@gmx.net>
8241 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8244 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8246 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8248 * buffer.C: increment LYX_FORMAT to 221
8250 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8251 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8253 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8255 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8257 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8259 * factory.C (createInset): use LyXTextClass::floats
8261 * MenuBackend.C (expandFloatListInsert):
8262 (expandFloatInsert):
8265 * text2.C (setCounter):
8267 * LaTeXFeatures.C (useFloat):
8268 (getFloatDefinitions):
8270 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8272 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8273 floatlist_, with accessor floats().
8275 * FloatList.h: remove global FloatList
8277 2002-08-26 André Pönitz <poenitz@gmx.net>
8279 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8283 * BufferView_pimpl.C:
8284 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8286 2002-08-25 John Levon <levon@movementarian.org>
8288 * LyXAction.C: fix margin note description
8290 2002-08-24 John Levon <levon@movementarian.org>
8294 * bufferview_funcs.C:
8296 * undo_funcs.C: cleanups
8298 * lyxfunc.C: disable CUT/COPY when no selection
8300 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8302 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8303 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8305 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8306 Add backward compatibility to "mono", "gray" and "no".
8308 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8310 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8311 (and file_format >= 200).
8313 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8317 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8319 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8321 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8323 * BufferView_pimpl.C:
8330 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8331 inset and code to make it work with the paragraph code. The inset
8332 can be anywhere in the paragraph, but will only do the expected
8333 thing in LaTeX if the layout file contains the parameter line
8335 (or more generally, a nonzero value) for that layout.
8337 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * paragraph.h: remove the declaration of undefined counters class
8342 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8344 * text2.C (setCounter): fixed enumeration mis-count as reported by
8345 Dr. Richard Hawkins.
8347 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8349 * paragraph_funcs.h: remove some unneeded includes
8351 * text.C (backspace): pasteParagraph now in global scipe
8353 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8354 (pasteSelection): ditto
8356 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8357 * paragraph_funcs.C (pasteParagraph): ... here
8359 2002-08-20 André Pönitz <poenitz@gmx.net>
8361 * commandtags.h: new LFUNs for swapping/copying table row/colums
8364 * lyxfunc.C: support for new lfuns
8366 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8369 * buffer.[Ch]: remove NO_COMPABILITY stuff
8371 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * boost.C (throw_exception): new file, with helper function for
8374 boost compiled without exceptions.
8379 * ParameterStruct.h:
8380 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8382 * bufferlist.C (emergencyWriteAll): use boost bind
8384 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8386 * text.C: include paragraph_funcs.h
8387 (breakParagraph): breakParagraph is now in global scope
8389 * paragraph_funcs.[Ch]: new files
8391 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8394 * buffer.C: include paragraph_funcs.h
8395 (insertStringAsLines): breakParagraph is now in global scope
8397 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8400 * CutAndPaste.C: include paragraph_funcs.h
8401 (cutSelection): breakParagraphConservative is now in global scope
8402 (pasteSelection): ditto
8404 * buffer.h: declare oprator== and operator!= for
8405 Buffer::inset_iterator
8407 * bufferlist.C (emergencyWrite): don't use fmt(...)
8409 * text3.C: add using std::endl
8411 * BufferView.C (moveCursorUpdate): remove default arg
8413 2002-08-20 André Pönitz <poenitz@gmx.net>
8415 * buffer.[Ch]: move inline functions to .C
8418 * BufferView_pimpl.C:
8420 * buffer.[Ch]: use improved inset_iterator
8423 * paragraph.[Ch]: write one paragraph at a time
8425 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8427 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8428 style if style is not specified.
8430 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8432 * text2.C (setCounter): when searching for right label for a
8433 caption, make sure to recurse to parent insets (so that a caption
8434 in a minipage in a figure float works) (bug #568)
8436 2002-08-20 André Pönitz <poenitz@gmx.net>
8438 * text3.C: new file for LyXText::dispatch() and helpers
8440 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8442 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8444 2002-08-19 André Pönitz <poenitz@gmx.net>
8447 * text.C: new LyXText::dispatch()
8449 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8451 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8453 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8455 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8458 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8460 * Makefile.am: use $(variables) instead of @substitutions@
8462 2002-08-15 André Pönitz <poenitz@gmx.net>
8465 * BufferView_pimpl.C: streamlining mathed <-> outer world
8469 * LyXAction.C: remove unused LFUN_MATH
8471 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8473 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8475 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * paragraph.C (Paragraph): reformat a bit
8478 (cutIntoMinibuffer): use builtin InsetList function instad of
8482 * buffer.C: include boost/bind.hpp, add using std::for_each
8483 (writeFileAscii): use ParagraphList iterators
8484 (validate): use for_each for validate traversal of paragraphs
8485 (getBibkeyList): use ParagraphList iterators
8486 (resizeInsets): use for_each to resizeInsetsLyXText for all
8488 (getParFromID): use ParagraphList iterators
8490 * BufferView2.C (lockInset): use paragraph list and iterators
8492 2002-08-14 John Levon <levon@movementarian.org>
8494 * lyxserver.C: remove spurious xforms include
8496 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8498 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8500 2002-08-13 André Pönitz <poenitz@gmx.net>
8503 * lyxfunc.C: further cleaning
8505 2002-08-13 André Pönitz <poenitz@gmx.net>
8507 * funcrequest.h: new constructor
8509 * funcrequest.C: move stuff here from .h
8512 * BufferView_pimpl.C:
8515 * lyxfunc.C: subsequent changes
8517 * lyxfunc.h: new view() member function
8519 * lyxfunc.C: subsequent changes
8521 2002-08-13 Angus Leeming <leeming@lyx.org>
8524 * BufferView_pimpl.C:
8532 changes due to the changed LyXView interface that now returns references
8533 to member variables not pointers.
8535 2002-08-13 Angus Leeming <leeming@lyx.org>
8537 * WordLangTuple (word, lang_code): return references to strings,
8542 * lyxtext.h: forward-declare WordLangTuple.
8547 * text.C: #include "WordLangTuple.h".
8550 * text.C: (selectNextWordToSpellcheck): constify return type.
8552 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8558 * paragraph_pimpl.h:
8561 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8563 Made updateCounter always count from start of buffer, and removed
8564 second argument (par).
8565 Reverted floats number display to '#'. Perhaps I'll try again when the
8566 code base is sanitized a bit.
8568 2002-08-12 Angus Leeming <leeming@lyx.org>
8570 * buffer.[Ch] (getLabelList): constify.
8572 2002-08-07 André Pönitz <poenitz@gmx.net>
8574 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8576 * funcrequest.h: extension to keep mouse (x,y) position
8578 2002-08-12 Juergen Vigna <jug@sad.it>
8580 * BufferView2.C (insertErrors): forbid undo when inserting error
8583 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8585 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8587 * ParagraphList.[Ch]: new files
8589 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8591 * BufferView2.C (lockInset): ParagraphList changes
8594 * bufferlist.C: ditto
8598 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8600 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8601 unused class variable counter_,
8603 * paragraph.[Ch] (getFirstCounter): delete unused function
8605 * counters.C: include LAssert.h
8606 (reset): add a new function with no arg, change other version to
8607 not have def. arg and to not allow empty arg.
8609 * text2.C (setCounter): remove empty arg from call to Counters::reset
8611 2002-08-11 John Levon <levon@movementarian.org>
8613 * Makefile.am: add WordLangTuple.h
8615 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8617 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8618 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8620 * insets/insettext.C: InsetList changes
8622 * graphics/GraphicsSupport.C (operator()): InsetList changes
8624 * toc.C (getTocList): InsetList changes
8626 * paragraph_pimpl.[Ch]: InsetList changes
8628 * paragraph.[Ch]: InsetList changes
8630 * buffer.C (inset_iterator): InsetList changes
8631 (setParagraph): ditto
8632 * buffer.h (inset_iterator): ditto
8633 * iterators.C (operator++): ditto
8634 * iterators.h: ditto
8636 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8638 * InsetList.[Ch]: new files, most InsetList handling moved out of
8641 * BufferView2.C (removeAutoInsets): InsetList changes
8643 (ChangeInsets): ditto
8645 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8647 * paragraph_pimpl.h (empty): new function
8649 * paragraph.[Ch] (empty): new function
8651 * other files: use the new Paragraph::empty function
8653 2002-08-09 John Levon <levon@movementarian.org>
8655 * lyxtext.h: remove unused refresh_height
8657 2002-08-09 John Levon <levon@movementarian.org>
8664 * paragraph.C: move sgml char escaping out of paragraph
8667 * paragraph.C: remove id setter
8671 * paragraph_pimpl.C: remove dead tex_code_break_column
8673 * bufferview_funcs.C: small cleanup
8675 * lyxfunc.C: remove dead proto
8677 * lyxtext.h: make some stuff private. Remove some dead stuff.
8679 * lyxgluelength.C: make as[LyX]String() readable
8681 2002-08-08 John Levon <levon@movementarian.org>
8686 * ToolbarDefaults.C:
8689 * toc.C: lyxaction cleanup
8691 2002-08-08 John Levon <levon@movementarian.org>
8693 * BufferView2.C: small cleanup
8696 * lyxfind.C: move unnecessary header into the .C
8698 2002-08-08 John Levon <levon@movementarian.org>
8700 * funcrequest.h: just tedious nonsense
8703 * lyx_main.C: cleanups
8706 * vspace.C: remove dead header lyx_main.h
8708 2002-08-07 Angus Leeming <leeming@lyx.org>
8711 * paragraph_pimpl.h:
8712 Forward declare class Counters in paragraph.h by moving the ctrs member
8713 variable into Paragraph::Pimpl.
8714 (counters): new method, returning a reference to pimpl_->ctrs.
8716 * text2.C: ensuing changes.
8718 2002-08-07 John Levon <levon@movementarian.org>
8720 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8722 * BufferView_pimpl.C: announce X selection on double/triple
8725 * lyx_main.C: use correct bool in batch dispatch
8727 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8729 2002-08-07 André Pönitz <poenitz@gmx.net>
8731 * funcrequest.h: new class to wrap a kb_action and its argument
8734 * BufferView_pimpl[Ch]:
8738 * lyxrc.C: subsequent changes
8741 2002-08-07 John Levon <levon@movementarian.org>
8743 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8744 document options change.
8746 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8751 * makefile.am: move counters functionality over from
8752 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8754 2002-08-06 John Levon <levon@movementarian.org>
8756 * WordLangTuple.h: new file for word + language code tuple
8767 * BufferView2.C: use WordLangTuple
8770 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8772 2002-08-06 John Levon <levon@movementarian.org>
8774 * lyx_main.C: fix cmdline batch handling
8776 2002-08-06 André Pönitz <poenitz@gmx.net>
8778 * lyxrc.C: set default for show_banner to true
8780 2002-08-06 John Levon <levon@movementarian.org>
8782 * pspell.C: fix a crash, and allow new aspell to work
8784 2002-08-06 John Levon <levon@movementarian.org>
8787 * kbmap.C: small cleanup
8790 * vspace.C: add const
8792 2002-08-05 John Levon <levon@movementarian.org>
8794 * LyXAction.C: back to tabular-insert
8796 2002-08-04 John Levon <levon@movementarian.org>
8799 * BufferView.C: cosmetic change
8801 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8811 * BufferView2.C: purge all "Lyx" not "LyX" strings
8814 * lyxcursor.C: attempt to add some documentation
8819 * ToolbarDefaults.C:
8820 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8821 merge with LFUN_TABULAR_INSERT
8828 * pspell.C: split up i/pspell implementations into separate
8829 files, many cleanups
8831 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8833 * text2.C: some cleanup
8835 * lyxfunc.C: don't check for isp_command == "none" any more, it
8836 didn't make any sense
8838 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8843 * makefile.am: move counters functionality over
8844 from text2.C/paragraph.[Ch] to counters.[Ch], and
8846 2002-08-02 John Levon <levon@movementarian.org>
8848 * buffer.C: s/lyxconvert/lyx2lyx/
8850 2002-08-02 Angus Leeming <leeming@lyx.org>
8852 * lyxlex.C: revert John's change as it breaks reading of the user
8855 2002-08-02 Angus Leeming <leeming@lyx.org>
8857 * importer.C (Import):
8858 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8859 changes due to LyXView::view() now returning a boost::shared_ptr.
8861 2002-08-02 John Levon <levon@movementarian.org>
8863 * lyxlex.C: small cleanup
8865 2002-08-02 John Levon <levon@movementarian.org>
8867 * text2.C (status): small cleanup, no logic change
8869 2002-08-01 John Levon <levon@movementarian.org>
8872 * buffer.C (writeFile): don't output alerts, caller
8876 * lyx_cb.C: from above
8878 * lyxfunc.C: allow to open non-existent files
8880 2002-07-31 John Levon <levon@movementarian.org>
8882 * lyxserver.C: don't let incidental errors get
8885 2002-07-30 John Levon <levon@movementarian.org>
8887 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8889 2002-07-30 John Levon <levon@movementarian.org>
8892 * lyxserver.C: remove I/O callback too
8894 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8896 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8899 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * many files: strip,frontStrip -> trim,ltrim,rtrim
8903 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * PrinterParams.h: remove extern containsOnly, and include
8906 support/lstrings.h instead.
8908 * LaTeX.C (scanAuxFile): modify because of strip changes
8910 * buffer.C (makeLaTeXFile): ditto
8911 * bufferparams.C (writeFile): ditt
8912 * lyxfont.C (stateText): ditto
8913 * lyxserver.C (read_ready): ditto
8914 * vc-backend.C (scanMaster): ditto
8916 * BufferView_pimpl.h: ws changes
8918 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8920 2002-07-26 André Pönitz <poenitz@gmx.net>
8922 * kb_sequence.C: remove unnedred usings
8924 2002-07-26 Juergen Vigna <jug@sad.it>
8926 * lyxfind.C (LyXReplace): we have to check better if the returned
8927 text is not of theLockingInset()->getLockingInset().
8929 2002-07-25 Juergen Vigna <jug@sad.it>
8931 * lyxfind.C (LyXReplace): don't replace if we don't get the
8934 * undo_funcs.C (createUndo): remove debugging code.
8936 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8938 * buffer.C (parseSingleLyXformat2Token): Use default placement
8939 when reading old floats.
8941 * FloatList.C (FloatList): Change the default placement of figure
8942 and tables to "tbp".
8944 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8946 * MenuBackend.C: using std::max
8948 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8950 * MenuBackend.C (expandToc):
8951 (expandToc2): code moved from xforms menu frontend. It is now
8952 generic and TOCs are transparent to menu frontends.
8954 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8956 * toc.C (getTocList): protect against buf=0
8958 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8959 Menu as first parameter. Now, this calls itself recursively to
8960 expand a whole tree (this will be useful for TOC handling)
8961 (expandFloatInsert): remove 'wide' version of floats
8963 * MenuBackend.h (submenuname): returns the name of the submenu.
8964 (submenu): returns the submenu itself, provided it has been
8965 created by MenuBackend::expand
8967 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8969 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8970 insets which have noFontChange == true. (bug #172)
8972 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * BufferView_pimpl.C: add connection objects and use them...
8977 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8979 * MenuBackend.C (expandLastfiles):
8982 (expandFloatListInsert):
8983 (expandFloatInsert):
8984 (expand): split expand in parts
8986 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8988 * lyx_gui.C: use lyx_gui::exit()
8990 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8992 * LyXAction.C: show the failing pseudo action
8994 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8996 * buffer.C (readFile): Run the lyxconvert script in order to read
8999 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9003 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9005 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9009 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9011 2002-07-22 Herbert Voss <voss@lyx.org>
9014 * lyxlength.[Ch]: add support for the vertical lengths
9016 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9018 * toc.[Ch]: std:: fixes
9020 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9022 * lyxrc.C: do not include lyx_main.h
9024 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9030 * BufferView2.C: include "lyxlex.h"
9033 * bufferparams.h: do not #include "lyxlex.h"
9035 * lyxtextclasslist.C (Add): remove method
9036 (classlist): renamed to classlist_
9038 * paragraph_pimpl.C:
9042 * bufferview_funcs.C:
9047 * toc.C (getTocList): use BufferParams::getLyXTextClass
9049 * toc.C (getTocList): use InsetFloat::addToToc
9051 * toc.[Ch]: new files, containing helper functions to handle table
9054 * lyxfunc.C (dispatch): no need to remove spaces around command
9056 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9057 first command of the sequence; it is not very clever, but I do not
9058 have a better idea, actually
9060 * LyXAction.C (LookupFunc): make sure to remove space at the
9061 beginning and end of the command
9063 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * MenuBackend.C (getMenubar): new method: return the menubar of
9067 (read): treat differently reading of menu and menubar (in
9068 particular, the menubar has no name now)
9069 (Menu::menubar): remove
9071 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9074 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9076 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9077 a bibitem inset in a RTL paragraph.
9079 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9081 * paragraph_pimpl.C: constify
9083 * BufferView_pimpl.C:
9085 * lyxfunc.C: fix dispatch in a nicer way
9087 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9089 * lyxfunc.C (dispatch):
9090 * BufferView_pimpl.C:
9091 * BufferView_pimpl.h:
9093 * BufferView.h: rename Dispatch() to dispatch()
9095 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9097 * lyxlayout.C (Read): honor DependsOn tag
9099 * lyxlayout.[Ch] (depends_on): new method
9101 * version.C.in: update lyx_docversion
9103 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9105 * paragraph.C (validate): remove from here...
9106 * paragraph_pimpl.C (validate): ... and move here
9107 (isTextAt): make it const
9109 * buffer.C (getLists): ws cleanup
9111 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9113 * language.C (read): Use iso8859-1 encoding in latex_lang
9114 (this prevents LyX from crashing when using iso10646-1 encoding).
9116 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9118 * text2.C (toggleInset): if cursor is inside an inset, close the
9119 inset and leave cursor _after_ it
9121 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9123 * lyxfunc.C: move minibuffer completion handling out of here
9125 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9127 * BufferView_pimpl.C:
9128 * LaTeX.C: fix dispatch calls
9130 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9132 * text.C (drawChars): Fix Arabic text rendering.
9134 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9138 * lyxfunc.C: remove message-push/pop
9142 * lyxfunc.C: rationalise some code by removing verboseDispatch
9143 in favour of a bool argument to dispatch()
9145 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9147 * lyx_main.C (init): make sure to read symlinks as absolute paths
9149 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9152 * lyxfunc.C: no need for commandshortcut to be a member
9154 2002-07-15 André Pönitz <poenitz@gmx.net>
9156 * converter.C: add support for $$s (scripts from lib/scripts dir)
9157 * lyx_main.C: white space
9159 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9163 * lyxrc.C: remove second exit confirmation
9165 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9170 * BufferView_pimpl.h:
9171 * BufferView_pimpl.C:
9172 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9174 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9176 * MenuBackend.C (expand): add numeric shortcuts to document menu
9178 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9180 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9182 * lyxfont.C (setLyXFamily):
9189 * buffer.C (asciiParagraph): use ascii_lowercase
9191 2002-07-15 Mike Fabian <mfabian@suse.de>
9193 * lyxlex_pimpl.C (search_kw):
9194 * lyxlex.C (getLongString):
9195 * converter.h (operator<):
9196 * converter.C (operator<):
9197 * buffer.C (parseSingleLyXformat2Token):
9199 * ToolbarDefaults.C (read):
9200 * MenuBackend.C (checkShortcuts):
9202 * LColor.C (getFromGUIName):
9203 (getFromLyXName): use the compare_ascii_no_case instead of
9204 compare_no_case, because in turkish, 'i' is not the lowercase
9205 version of 'I', and thus turkish locale breaks parsing of tags.
9207 2002-07-16 Angus Leeming <leeming@lyx.org>
9209 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9210 now takes a Buffer const & argument.
9212 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9214 * BufferView.C (resize): check there's a buffer to resize
9216 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9218 * lyxfunc.C: remove dead code
9221 * lyxserver.C: use lyx_guii::set_read_callback
9223 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9225 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9226 an inset in a RTL paragraph.
9228 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9230 * lyxfunc.C: repaint after a font size update
9232 2002-07-15 André Pönitz <poenitz@gmx.net>
9234 * lyxlength.C: inBP should be able to return negative values
9236 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9238 * lyxfunc.C: use lyx_gui::update_fonts()
9240 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9242 * lyxfunc.C: use lyx_gui::update_color()
9244 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9250 * lyxrc.C: remove file->new asks for name option, and let
9251 buffer-new take an argument
9253 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9255 * BufferView_pimpl.C: remove unneeded extra repaint()
9257 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9259 * LyXAction.C: allow command-sequence with NoBuffer
9261 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9263 2002-07-10 Angus Leeming <leeming@lyx.org>
9265 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9267 2002-07-09 Angus Leeming <leeming@lyx.org>
9269 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9271 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9273 * lengthcommon.h: whitespace
9275 * lyxfunc.C: update scrollbar after goto paragraph
9277 * lyxtext.h: factor out page break drawing, and fix it so
9278 page break/added space paints as selected nicely
9280 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9282 * BufferView_pimpl.C: add FIXMEs, clean up a little
9284 2002-07-09 André Pönitz <poenitz@gmx.net>
9286 * lyxfont.[Ch]: support for wasy symbols
9288 2002-07-08 André Pönitz <poenitz@gmx.net>
9290 * BufferView_pimpl.C: apply John's patch for #93.
9292 2002-07-05 Angus Leeming <leeming@lyx.org>
9294 * BufferView_pimpl.C (buffer): generate previews if desired.
9296 * LColor.h: add "preview" to the color enum.
9298 * LColor.C (LColor): add a corresponding entry to the items array.
9300 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9303 2002-07-05 Angus Leeming <leeming@lyx.org>
9305 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9306 The body of the code is now in the method that is passed an ostream &
9307 rather than a file name.
9308 Pass an additional only_preamble parameter, useful for the forthcoming
9311 2002-07-03 André Pönitz <poenitz@gmx.net>
9313 * lyxfunc.C: simplify getStatus() a bit for math stuff
9315 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9319 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9321 * text.C (changeRegionCase): do not change case of all the
9322 document when region ends at paragraph end (bug #461)
9324 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9326 * paragraph.C (startTeXParParams):
9327 (endTeXParParams): add \protect when necessary
9329 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9331 * BufferView_pimpl.C (workAreaExpose): remove warning
9333 2002-06-27 Angus Leeming <leeming@lyx.org>
9335 * Makefile.am: add lyxlayout_ptr_fwd.h.
9337 2002-06-26 André Pönitz <poenitz@gmx.net>
9339 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9341 2002-06-25 Angus Leeming <leeming@lyx.org>
9343 * lyxfunc.C (dispatch): Comment out the call to
9344 grfx::GCache::changeDisplay. The method no longer exists now that the
9345 pixmap generation part of the graphics loader has been moved into
9348 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9350 * text2.C: layout as layout
9352 * text.C: layout as layout
9354 * tabular.C (OldFormatRead): layout as layout
9356 * paragraph_pimpl.C (TeXDeeper): layout as layout
9357 (realizeFont): layout as layout
9359 * paragraph.C (writeFile): layout as layout
9360 (validate): layout as layout
9361 (getFont): layout as layout
9362 (getLabelFont): layout as layout
9363 (getLayoutFont): layout as layout
9364 (breakParagraph): layout as layout
9365 (stripLeadingSpaces): layout as layout
9366 (getEndLabel): layout as layout
9367 (getMaxDepthAfter): layout as layout
9368 (applyLayout): layout as layout
9369 (TeXOnePar): layout as layout
9370 (simpleTeXOnePar): layout as layout
9371 (TeXEnvironment): layout as layout
9372 (layout): layout as layout
9373 (layout): layout as layout
9375 * lyxtextclass.C (compare_name): new functor to work with
9376 shared_ptr, layout as layout
9377 (Read): layout as layout
9378 (hasLayout): layout as layout
9379 (operator): layout as layout
9380 (delete_layout): layout as layout
9381 (defaultLayout): layout as layout
9383 * lyxlayout_ptr_fwd.h: new file
9385 * lyxlayout.C (Read): layout as layout
9387 * lyx_cb.C (MenuInsertLabel): layout as layout
9389 * bufferlist.C (newFile): layout as layout
9391 * buffer.C (readLyXformat2): layout as layout
9392 (parseSingleLyXformat2Token): layout as layout
9393 (insertStringAsLines): layout as layout
9394 (asciiParagraph): layout as layout
9395 (latexParagraphs): layout as layout
9396 (makeLinuxDocFile): layout as layout
9397 (simpleLinuxDocOnePar): layout as layout
9398 (makeDocBookFile): layout as layout
9399 (simpleDocBookOnePar): layout as layout
9400 (getLists): layout as layout
9402 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9404 * CutAndPaste.C (cutSelection): layout as layout
9405 (pasteSelection): layout as layout
9406 (SwitchLayoutsBetweenClasses): layout as layout
9408 * BufferView_pimpl.C (Dispatch): layout as layout
9409 (smartQuote): layout as layout
9411 * BufferView2.C (unlockInset): layout as layout
9413 2002-06-24 André Pönitz <poenitz@gmx.net>
9415 * lyxfunc.C: fix #487
9417 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9421 * lyxfunc.C: remove display_shortcuts, show_banner
9423 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9425 * Buffer_pimpl.C: oops, update on resize
9427 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9434 * BufferView.C: use repaint()
9436 * BufferView_pimpl.h:
9437 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9438 as it's a clearer description. Remove superfluous
9441 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9443 * text.C: fix bug 488. Not ideal, but getting
9444 getWord() to work properly for the insets that
9445 matter is more difficult ...
9447 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9449 * BufferView_pimpl.C:
9452 * lyxfunc.C: remove the six million index lyxfuncs to just
9453 one, and DTRT (bug 458)
9455 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9459 * BufferView_pimpl.h:
9460 * BufferView_pimpl.C: clean up resize() stuff,
9461 and unnecessary updateScreen()s
9463 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9467 * BufferView_pimpl.h:
9468 * BufferView_pimpl.C:
9471 * minibuffer.C: remove focus management of workarea,
9472 not needed. Use screen's greyOut()
9474 2002-06-17 Herbert Voss <voss@lyx.org>
9476 * converter.C: (convert) do not post a message, when converting
9477 fails, let the calling function decide what to do in this case
9479 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9481 * lyxfunc.C: tidy up a little
9483 2002-06-16 <alstrup@diku.dk>
9485 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9486 Got rid of FORMS_H_LOCATION include. Now we are
9489 2002-06-15 LyX Development team <lyx@rilke>
9491 * buffer.[Ch] (sgmlOpenTag):
9492 (sgmlCloseTag): Added support for avoiding pernicious mixed
9493 content. Return number of lines written.
9496 (makeDocBookFile): Fixed calls to sgml*Tag.
9497 Simple white space clean.
9499 (simpleDocBookOnePar): Simple white space clean.
9501 * tabular.[Ch] (docBook): Renamed to docbook and got another
9502 argument to related with the pernicious mixed content.
9504 (docbookRow): Fixed calls for docbook inset method.
9506 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9508 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9509 so it's X11 independent.
9513 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9515 2002-06-15 Lyx Development team <lyx@electronia>
9517 * intl.h: Renamed getTrans to getTransManager.
9519 2002-06-14 Angus Leeming <leeming@lyx.org>
9521 * Makefile.am: nuke forgotten stl_string_fwd.h.
9523 2002-06-12 Angus Leeming <leeming@lyx.org>
9525 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9527 2002-06-13 Angus Leeming <leeming@lyx.org>
9530 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9532 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9534 * kbmap.C (getiso): add support for cyrillic and greek
9536 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9540 * BufferView_pimpl.h:
9541 * BufferView_pimpl.C: move bogus scrolling logic
9544 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9547 * BufferView_pimpl.C: view->resize() change
9549 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9551 * BufferView_pimpl.C: topCursorVisible
9554 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9558 * lyx_gui.C: move to frontends/
9562 * lyx_main.C: changes from above
9564 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9571 * lyx_main.C: minor tidy
9573 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9575 * BufferView_pimpl.h:
9576 * BufferView_pimpl.C:
9578 * BufferView.C: make painter() const,
9581 * BufferView2.C: use screen() accessor
9584 * lyx_main.C: some minor cleanup
9586 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9588 * BufferView_pimpl.h:
9589 * BufferView_pimpl.C: remove enter/leaveView,
9592 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9597 * BufferView_pimpl.h:
9598 * BufferView_pimpl.C: only construct screen once,
9601 * lyxrc.C: remove pointless comment
9603 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9606 * BufferView.C: remove active() and belowMouse()
9608 * BufferView_pimpl.h:
9609 * BufferView_pimpl.C: use workarea() not workarea_,
9610 and make it use a scoped_ptr instead
9612 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9614 * lyx_gui.C: add debug message on BadWindow
9616 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * sp_spell.C: fdopen is not part of the C++ standard.
9620 * paragraph.C (InsetIterator): use >= instead of ==
9622 2002-06-07 Angus Leeming <leeming@lyx.org>
9624 Fixes needed to compile with Compaq cxx 6.5.
9625 * BufferView_pimpl.C:
9632 * lyxtextclasslist.C:
9637 all c-library variables have been moved into namespace std. Wrap
9638 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9643 Add a using std::abs declaration.
9645 * kbmap.h (modifier_pair):
9646 * paragraph.h (InsetTable, InsetList):
9647 * lyxfont.h (FontBits):
9648 type definition made public.
9650 * bufferlist.C (emergencyWriteAll): the compiler complains that
9651 there is more than one possible lyx::class_fun template to choose from.
9652 I re-named the void specialisation as lyx::void_class_fun.
9654 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9656 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9657 the compiler is is unable to find tostr in write_attribute.
9659 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * buffer.C (sgmlError): hide #warning
9663 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9665 * xtl/*: get rid of xtl, which is not in use anyway
9667 * LyXAction.C (init):
9668 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9669 were unimplemented xtl experimentation
9671 2002-06-04 André Pönitz <poenitz@gmx.net>
9673 * lyxfunc.C: disable array operation on simple formulae
9675 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9677 * converter.C: constify a bit
9679 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9681 * lyx_gui.C: check xforms version correctly
9683 2002-04-30 Herbert Voss <voss@lyx.org>
9685 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9688 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9690 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9691 attempt to register it with a VCS)
9693 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * lyx_main.C (init): honor variables LYX_DIR_13x and
9698 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9702 * lyx_main.C: fix a crash on bad command line,
9703 and give a useful exit status on error
9705 * lyxfunc.C (doImport): allow -i lyx to work
9707 2002-03-30 André Pönitz <poenitz@gmx.net>
9709 * lyxfunc.C: mathed font changes
9711 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9726 * trans_mgr.h: srcdocs, and some minor cleanups
9728 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9731 call getFont all the time)
9733 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * switch from SigC signals to boost::signals
9737 2002-05-29 André Pönitz <poenitz@gmx.net>
9739 * paragraph_pimpl.C (getChar): don't call size() too often...
9741 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * paragraph_pimpl.C (insertChar): do not try to update tables when
9744 appending (pos == size())
9746 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9747 in order to reduce drastically the number of comparisons needed to
9748 parse a large document
9750 2002-05-29 André Pönitz <poenitz@gmx.net>
9756 * textclasslist.[Ch]:
9757 * sp_ispell.h: whitespace change
9759 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9762 lyxaction directly now.
9764 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9768 * lyxvc.C: remove unused headers
9770 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9777 * undo_funcs.C: some cleanups. Use shared_ptr
9778 and a template for the undo stacks.
9780 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9782 * BufferView_pimpl.h:
9783 * BufferView_pimpl.C:
9790 * text2.C: use key_state/mouse_state
9792 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9797 * chset.C: change include order
9798 (loadFile): use boost regex and get rid of LRegex and LSubstring
9800 * Makefile.am (BOOST_LIBS): new variable
9803 * LaTeX.C: change include order.
9804 (scanAuxFile): use boost regex and get rid of LRegex and
9808 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9813 * FontInfo.C: moved to frontends/xforms/
9816 * FontLoader.C: moved into frontends for GUIIzation
9821 * lyxfunc.C: changes from above
9823 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9825 * LColor.C: remove spurious X include
9827 * BufferView_pimpl.C:
9832 * text2.C: move font metrics to frontends/
9834 2002-05-24 Juergen Vigna <jug@sad.it>
9836 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9837 setting the undo_cursor.
9839 * ParagraphParameters.h: include local includes first.
9841 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9843 * BufferView_pimpl.C:
9844 * BufferView_pimpl.h:
9848 * screen.C: move WorkArea into frontends/
9854 * BufferView2.C: move LyXScreen into frontends/
9858 * lyx_gui.C: move lyxlookup into frontends/xforms/
9860 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9863 * BufferView_pimpl.C:
9873 * bufferview_funcs.C:
9886 * vc-backend.C: move LyX/XFormsView into frontends/
9888 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9900 * text2.C: move Painter to frontends/
9902 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * buffer.C: comment out some some code that depend upon lyx_format
9907 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9908 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9910 * buffer.h (NO_COMPABILITY): turn off compability
9912 * ColorHandler.C: include scoped_array.hpp
9914 * font.C: Use more specific smart_ptr header.
9917 * ShareContainer.h: ditto
9921 * BufferView_pimpl.h: ditto
9922 * ColorHandler.h: ditto
9924 * kbmap.C (defkey): change call to shared_ptr::reset
9926 2002-05-21 Juergen Vigna <jug@sad.it>
9928 * buffer.C (insertErtContents): fix to insert ert asis if it is
9929 non empty. Skip it completely if it contains only whitespaces.
9931 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9933 * BufferView_pimpl.C:
9934 * BufferView2.C: clear selection on paste (bug 393)
9936 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * DepTable.C: include ctime
9940 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9942 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9944 2002-05-14 Juergen Vigna <jug@sad.it>
9946 * text.C (breakParagraph): fixed function to honor the keepempty
9947 layout in the right maner and also to permit the right breaking
9948 algorithm on empty or non empyt keepempty paragraphs.
9950 * paragraph.C (breakParagraph): we have to check also if the par
9951 is really empty (!size()) for isempty otherwise we do the wrong
9954 2002-05-10 Juergen Vigna <jug@sad.it>
9956 * buffer.[Ch] : The following are only changes to the ert
9957 compatibility read reading old LaTeX layout and font stuff and
9958 convert it to ERTInsets.
9960 * buffer.h: added isErtInset().
9962 * buffer.C (struct ErtComp): add a fromlayout bool to check
9963 if we're inside a LaTeX layout.
9964 (isErtInset): new helper function.
9965 (insertErtContents): look for other ert insets before this one
9966 and insert the contents there, so that we don't have subsequent
9967 ERT insets with nothing between them. This way we create only one
9968 inset with multiple paragraphs. Also check if we don't insert only
9969 spaces ' ' as they are ignored anyway afterwards in the .tex file
9970 so if we have only spaces we will ignore this latex part in the
9972 (parseSingleLyXformat2Token \\layout): better compatibility when
9973 reading layout-latex stuff.
9974 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9976 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9977 stuff after reading the inset only get the information back from
9980 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9982 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9984 * LaTeXFeatures.C (getBabelOptions): New method.
9986 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * BufferView_pimpl.C (Dispatch): work around missing argument for
9991 2002-05-08 Juergen Vigna <jug@sad.it>
9993 * text.C (leftMargin): handle paragraph leftindent.
9995 * paragraph.C (writeFile): write the new \\leftindent tag.
9996 (validate): handle leftindent code.
9997 (TeXEnvironment): handle paragraphleftindent code again.
9999 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10001 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10002 for paragrap_extra indent code and new token \\leftindent.
10003 (latexParagraphs): handle the leftindent as environment.
10005 * ParameterStruct.h: added leftindent support.
10007 * ParagraphParameters.C (leftIndent): added support functions for
10008 the paragraph left indent.
10010 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10013 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10015 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10018 * text.C (computeBidiTables): No bidi in insetERT.
10020 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10023 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10025 * version.C.in: pre 5
10027 2002-05-02 José Matos <jamatos@fep.up.pt>
10028 * buffer.C (makeDocBookFile): white space changes, add newline to
10030 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10032 * tabular.C (docBook): fix typo.
10034 2002-05-03 Juergen Vigna <jug@sad.it>
10036 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10037 change in LyXText as we can not be sure it was not freed.
10038 (drawOneRow): remove unused code.
10040 * text.C (drawInset): redo the calculation of the need_break_row as
10041 it could have a row which was already freed.
10042 (draw): look at the return value of drawInset and return false if
10043 it also returned false.
10044 (paintRowText): look at the return value of draw and return false if
10045 it also returned false.
10047 * lyxtext.h: added bool return type to drawInset() and draw() so that
10048 if we have a change in the row so that the rowbreak has to be redone
10049 we abort drawing as it will be called again.
10051 2002-05-02 Juergen Vigna <jug@sad.it>
10053 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10054 a change in the maintext also if we're inside an inset.
10055 (Dispatch): set the cursor again after a break line and after the
10056 screen has been updated as it could be we're in a different row.
10058 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10059 to set the cursor behind the pargraph with > size().
10060 (setCursor): check also for the same paragraph when checking where
10061 to put the cursor if we have a NFR inset.
10063 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10064 parts of layout read further up as it still was in the wrong
10067 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * screen.C (drawFromTo): change sine fullRebreak always return
10072 * buffer.C (parseSingleLyXformat2Token): reindent some
10074 * BufferView_pimpl.C (update): change since fullRebreak always
10076 (Dispatch): git rid of the last hardcoded "Standard"s.
10078 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10080 * text2.[Ch] (fullRebreak): make it return void now that we always
10083 2002-04-30 Juergen Vigna <jug@sad.it>
10085 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10086 ert compatibility check for "latex" layout.
10088 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10090 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10091 minipages: use col% instead of p%, and also use the current font.
10092 (makeLaTeXFile): Fix use babel condition.
10093 (parseSingleLyXformat2Token): Correct font when reading old floats.
10095 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10097 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10098 inserting list of floats.
10100 2002-04-25 Herbert Voss <voss@lyx.org>
10102 * MenuBackend.C (expand): don't add the graphics extensions to the
10105 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10108 non-existing layout, do not complain if it was the default layout
10109 of the original class (bug #342)
10111 2002-04-24 Juergen Vigna <jug@sad.it>
10113 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10114 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10116 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10118 * buffer.C (getBibkeyList): If using \bibliography, return the
10119 option field with the reference itself. Enables us to provide natbib
10120 support when using \bibliography.
10122 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10124 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10126 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10127 natbib is provided by the LaTeX class.
10129 2002-04-23 Juergen Vigna <jug@sad.it>
10131 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10134 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10136 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10140 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10141 ensuremath around textordmasculine, textordfeminine and
10144 2002-04-19 Juergen Vigna <jug@sad.it>
10146 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10147 reinitializing the buffer otherwise row-dimensions may be wrong.
10148 (update): reset also the selection cursors if they do exits otherwise
10149 their x/y positions may be wrong.
10151 * text2.C (cursorDown): don't enter the inset if we came from a row
10152 above and are one row over the inset.
10154 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10155 really leaving an inset.
10157 2002-04-18 Juergen Vigna <jug@sad.it>
10159 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10160 of the selected paragraph does not have the selected layout also if
10163 * text2.C (setLayout): fixed bug which did not change last selected
10166 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10167 changed the read and substituted \\end_float with \\end_inset!
10169 * BufferView_pimpl.C (cursorPrevious):
10170 (cursorNext): fixed to make it work with rows heigher than the work
10171 area without moving the cursor only the draw of the row.
10172 (workAreaMotionNotify): fix jumping over high rows.
10174 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10179 2002-04-16 Juergen Vigna <jug@sad.it>
10181 * text2.C (setCursor): set also the irow().
10182 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10184 (cursorDown): support for locking an inset if the x_fix value goes
10185 inside it. That way I can transverse insets too with cursor up/down.
10187 * lyxrow.h: added irow helper function same as other (i) functions.
10189 * BufferView_pimpl.C (cursorPrevious):
10190 (cursorNext): fixed for insets!
10192 2002-04-15 Juergen Vigna <jug@sad.it>
10194 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10195 position otherwise it is wrong in some cases.
10197 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10198 inside the inset before the call.
10200 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10202 * buffer.[Ch] (getBibkeyList): make it const.
10204 2002-04-12 Juergen Vigna <jug@sad.it>
10206 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10208 * text2.C (getCursorX): new helper function
10209 (setCursor): compute also ix_
10210 (setCursorFromCoordinates): set also ix.
10212 * lyxcursor.h: added ix_ and helper functions.
10214 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10216 * buffer.C (insertStringAsLines): dont break paragraph if the this
10217 paragraph is inside an inset which does not permit it!
10219 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10220 also with no chars on this paragraph.
10221 (paintRowText): only paint stuff if it's inside the workarea!
10223 * paragraph.C (breakParagraph): honor keepempty flag and break the
10224 paragraph always below not above.
10226 * BufferView2.C (unlockInset): update the paragraph layout on inset
10227 unlock as we changed paragraph in such a case.
10229 * lyxfind.C (LyXFind): clear the former selection if not found!
10231 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10232 again called in insertChar().
10234 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10235 an inset which uses the whole row!
10236 (rightMargin): ditto.
10237 (insertChar): force a rebreak if we inserted an inset!
10239 2002-03-28 Herbert Voss <voss@lyx.org>
10241 * lyxlength.[Ch]: add inBP() to get the right PS-point
10242 units (BigPoint). With inPixels we have rounding errors
10244 2002-04-11 Juergen Vigna <jug@sad.it>
10246 * text2.C (setCursorFromCoordinates): set iy to the right value.
10247 (setCursor): add check if row->previous exists!
10249 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10250 an old float_type as this was the case in the old code!
10252 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10254 * BufferView2.C (showLockedInsetCursor): use iy
10255 (fitLockedInsetCursor): ditto
10257 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10258 locked insets as there we have the right value now.
10260 * lyxcursor.C: added iy_ variable and iy functions to set to the
10261 baseline of cursor-y of the locked inset.
10263 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10264 (setCursor): fixed for insets which need a full row.
10266 * text.C (rowLastPrintable): don't ignore the last space when before
10267 an inset which needs a full row.
10268 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10269 as last character of a row when before a inset which needs a full row.
10271 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10273 * version.C.in: update date
10275 * text2.C (fullRebreak): try to always return true and see what
10278 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10280 * MenuBackend.C (expand): use Floating::listName
10282 * FloatList.C (FloatList): add listName argument to the built-in
10285 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10286 text associated with the float.
10288 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10290 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10292 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10294 * ShareContainer.h: add a couple of missing typenames.
10296 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10298 * lyxrc.C (getDescription): use _() correctly rather than N_().
10300 2002-03-28 Herbert Voss <voss@lyx.org>
10302 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10303 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10305 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10308 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10310 2002-03-29 Juergen Vigna <jug@sad.it>
10312 * lyxfunc.C (dispatch): add a missing fitCursor call.
10314 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10315 it was scrolled by a cursor move, so return the bool status.
10317 * BufferView.C (fitCursor): return the bool flag also to the outside
10318 world as this is needed.
10320 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10322 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10323 call the edit() as it is not needed (and wrong) IMO.
10324 (workAreaButtonPress): set the screen_first variable before evt.
10325 unlock the inset as this may change screen_first and then we have
10326 a wrong y position for the click!
10328 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10330 * MenuBackend.C (expand): another translation that I missed
10332 2002-03-28 Juergen Vigna <jug@sad.it>
10334 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10336 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10338 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10342 * MenuBackend.C (expand): fix export/view/update when there is no
10345 2002-03-27 Herbert Voss <voss@lyx.org>
10347 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10350 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * bufferview_funcs.C (currentState): only show paragraph number
10353 for is DEVEL_VERSION is set.
10355 * lyxfunc.C (dispatch): put warning in INFO channel
10357 * MenuBackend.C (expand): translate the name of floats
10359 * FloatList.C (FloatList): mark the float names for translation
10361 * converter.C (convert): use LibScriptSearch
10363 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * MenuBackend.C (defaults): fix default menu (we might as well get
10368 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10373 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10375 * lyxvc.C: reorder includes.
10377 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10379 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10382 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10384 * CutAndPaste.C: change layouts earlier on paste
10385 to avoid crashing when calling getFont()
10387 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10389 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10392 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10394 * WorkArea.C: remove 'Pending' debug message.
10396 * most files: ws cleanup
10398 * buffer.[Ch]: ws changes
10400 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10402 2002-03-21 Juergen Vigna <jug@sad.it>
10404 * tabular.C (SetMultiColumn): collapse also the contents of the
10405 cells and set the last border right. Added a Buffer const * param.
10407 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10409 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10412 2002-03-19 Juergen Vigna <jug@sad.it>
10414 * text2.C (clearSelection): reset also xsel_cache.
10416 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10417 where it needs to be called (John tells us to do so too :)
10418 (selectionLost): reset sel_cache.
10420 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10422 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * text2.C (setCursorIntern): put debuging code in INSETS channel
10426 2002-03-19 André Pönitz <poenitz@gmx.net>
10428 * lyxfunc.C: tiny whitespace change
10430 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * ToolbarDefaults.C (init):
10433 * LyXAction.C (init):
10435 * BufferView_pimpl.C (Dispatch):
10436 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10438 2002-03-19 Allan Rae <rae@lyx.org>
10440 * exporter.C (Export): removeAutoInsets before doing anything else.
10441 While I've just introduced a dependency on BufferView this really is
10442 the best place to clean the buffer otherwise you need to cleanup in
10443 a dozen places before calling export or cleanup in a dozen functions
10446 * converter.C (runLaTeX):
10447 (scanLog): Better handling of removeAutoInsets and screen updates.
10449 * lyxfunc.C (dispatch): small whitespace changes
10451 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10453 * WorkArea.C (C_WorkAreaEvent): return a value.
10454 (event_cb): return 1 if we handled the event, 0 otherwise.
10456 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10458 2002-03-18 Juergen Vigna <jug@sad.it>
10460 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10461 (GetAdditionalWidth): ditto.
10462 (RightLine): ditto.
10465 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10466 inset if we're there actually (probably not used right now but this
10467 is the direction to go for unifying code).
10468 (paste): disable code to clear the selection.
10470 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10471 inside an InsetText and move the check further up as it is in the
10474 * text2.C (pasteSelection): set a selection over the pasted text.
10476 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10478 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10479 and libgraphics to build on Cygwin.
10481 2002-03-15 Juergen Vigna <jug@sad.it>
10483 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10484 inserting an Inset into the paragraph. I know this is not the best
10485 fix but we already use current_view in CutAndPaste so we will remove
10486 all of it's using at the same time.
10488 * buffer.C (sgmlError): deactivated function till it is rewritten in
10489 the right mode, now it can create problems.
10491 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10492 before accessing it.
10494 2002-03-14 Juergen Vigna <jug@sad.it>
10496 * undo_funcs.C (textHandleUndo): do the right thing when updating
10497 the inset after the undo/redo.
10499 * text2.C (setCursor): just some testcode for #44 not ready yet.
10501 * undo_funcs.C (textHandleUndo): set the next() and previous()
10502 pointers of the paragraph to 0 before deleting otherwise we have
10503 problems with the Paragraph::[destructor].
10505 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10506 on a paragraph insertion.
10508 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * buffer.C (asciiParagraph): use += operator for char append to
10513 * paragraph.C (getFontSettings): compare >= not just >
10514 (highestFontInRange): ditto
10517 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * paragraph.C: change several algorithm to be more appripriate for
10520 the problem domain. This is lookip in FontList and in the InsetList.
10522 2002-03-13 André Pönitz <poenitz@gmx.net>
10525 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10527 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10534 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * Painter.C (display): anon helper function, adjust code for this
10538 (pixmap): remove function.
10540 * Painter.h: remove private display variable.
10542 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10544 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10546 * WorkArea.[Ch]: remove figinset_canvas cruft.
10548 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * lyxtextclass.C (operator): add one item cache optimization.
10552 * bufferlist.h: doxy changes
10554 * bufferlist.C: ws changes
10556 * DepTable.[Ch] (ext_exist): place const in the right spot.
10558 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10560 (workAreaExpose): call resizeInsets when the with BufferView changes.
10561 (Dispatch): adjust for protectedBlank removal
10562 (specialChar): call updateInset if the insert went ok.
10564 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10565 specialChar instead.
10567 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10569 * BufferView.h: doxy change
10571 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10573 * lyxtextclass.C (operator[]): remove non-const version
10574 (defaultLayout): remove non-const version
10576 2002-03-12 Juergen Vigna <jug@sad.it>
10578 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10579 did resize the LyXText too.
10581 * buffer.C (readLyXformat2): set layout information on newly allocated
10584 * tabular.C (OldFormatRead): set layout information on the paragraph.
10586 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10588 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10590 2002-03-11 Juergen Vigna <jug@sad.it>
10592 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10594 (resizeCurrentBuffer): force also the insets to resize themselfes.
10595 (moveCursorUpdate): fixed up for InsetText.
10597 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10600 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10601 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10602 value of Dialogs::tooltipsEnabled().
10603 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10605 2002-03-08 Juergen Vigna <jug@sad.it>
10607 * BufferView_pimpl.C (updateInset): update inset inside inset also
10608 if it isn't inside theLockingInset().
10610 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * buffer.C (asciiParagraph): redo some of the word and line length
10614 (getLists): look for Caption instead of caption.
10616 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10618 * buffer.C (Buffer): initialize niceFile to true
10620 (makeLinuxDocFile):
10621 (makeDocBookFile): make sure niceFile is true on exit
10623 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10625 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10627 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10629 * LyXSendto.C: remove.
10630 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10631 * lyx_gui.C: remove now-redundant comment.
10632 * ColorHandler.h: remove forward declaration of class WorkArea.
10633 * lyxfunc.C: remove #include "WorkArea.h".
10635 2002-03-07 Juergen Vigna <jug@sad.it>
10637 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10638 got moved away with the DEPM and also set the inset_owner always
10639 right which before could have been omitted.
10641 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10644 wanted layout is not found.
10646 2002-03-07 Juergen Vigna <jug@sad.it>
10648 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10650 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * paragraph.C (breakParagraph): use default layout not layout of
10654 (Paragraph): clear ParagraphParameters.
10656 2002-03-06 Juergen Vigna <jug@sad.it>
10658 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10659 otherwise it would not be a valid lenght. Fixed a special case in
10660 the minipage compatibility read where we end the document with a
10663 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10664 was set as it could be 0 for InsetTexts first entry.
10666 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10668 * paragraph.C (writeFile): if layout is empty write out
10669 defaultLayoutName().
10671 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10672 file without named layout we set layout to defaultLayoutName().
10674 2002-03-06 Juergen Vigna <jug@sad.it>
10676 * CutAndPaste.C (copySelection): set layout for new paragraph.
10678 * text.C (prepareToPrint): leave ERT inset left aligned
10679 (leftMargin): don't indent paragraphs inside ERT insets
10681 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10683 * paragraph.C (breakParagraph): dont call clear do the work manually
10685 * paragraph.[Ch] (clear): remove function
10687 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10689 * paragraph.C (Paragraph): dont call clear, the work has already
10692 * lyxtextclass.C (operator): assert if n is empty
10694 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10695 work manually instead.
10697 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10699 * BufferView_pimpl.C: protect selectionLost against text == 0
10701 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10703 * text.C (breakParagraph): fix a setting layout to '0' problem.
10705 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10707 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10708 final location of file, for the included files, and graphics.
10710 2002-03-05 Juergen Vigna <jug@sad.it>
10712 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10714 2002-03-04 Juergen Vigna <jug@sad.it>
10716 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10718 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10719 last column of multicolumn cells.
10720 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10722 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10724 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10725 file if it doesn't go to a temporary file.
10727 * buffer.C (sgmlOpenTag):
10728 (sgmlCloseTag): remove extra newline insertion.
10730 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10732 * text.C (getRowNearY): comment out debug msg
10734 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * text2.C: first -> first_y
10738 * text.C (getRowNearY): add some attemts at a possible
10739 optimization, not working.
10741 * tabular.[Ch]: add BufferParams to several function so that newly
10742 created paragraph can be initialized to he default layotu for the
10745 * tabular-old.C (ReadOld): add buf->params to call of Init
10747 * screen.C: rename text->first to text->first_y
10749 * paragraph.C (breakParagraph): always set layout in the broken
10752 * lyxtextclass.C (Read): remove lowercase
10755 (delete_layout): ditto
10757 * lyxtext.h: rename first -> first_y
10759 * lyxlayout.C (Read): remove lowercase
10762 (obsoleted_by): ditto
10764 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10766 * buffer.C (insertErtContents): add params are to InsetERT
10767 (parseSingleLyXformat2Token): add code to check if a paragraphs
10768 layout really exist.
10769 (parseSingleLyXformat2Token): add params to several inset
10771 (asciiParagraph): remove lowercase, do the layout comparisons with
10774 * BufferView_pimpl.C (cursorNext): first -> first_y
10775 (resizeCurrentBuffer): first -> first_y
10776 (updateScrollbar): first -> first_y
10777 (scrollCB): first -> first_y
10778 (workAreaMotionNotify): first -> first_y
10779 (workAreaButtonPress): first -> first_y
10780 (checkInsetHit): first -> first_y
10781 (cursorPrevious): first -> first_y
10782 (cursorNext): first -> first_y
10783 (Dispatch): add buffer_->params to severl inset contructors
10785 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * lyxlayout.C (Read): remove some debug info that I forgot.
10789 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10790 clean up the code slightly.
10791 (makeLinuxDocFile): ditto
10792 (makeDocBookFile): ditto
10794 * text2.C: layout as string
10796 * text.C: layout as string
10798 * paragraph_pimpl.C: layout as string
10800 * paragraph.[Ch]: layout as string
10802 * lyxtextclasslist.[Ch]: layout as string
10804 * lyxtextclass.[Ch]: layout as string
10806 * lyxtext.h: layout as string
10808 * lyxlayout.[Ch]: layout as string
10810 * lyx_cb.C: layout as string
10812 * bufferview_funcs.C: layout as string
10814 * bufferparams.C: layout as string
10816 * buffer.C: layout as string
10818 * LyXView.[Ch]: layout as string
10820 * LaTeXFeatures.[Ch]: layout as string
10822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10824 * BufferView_pimpl.C: change current_layout to string, remove
10829 (workAreaButtonRelease): layout as string
10831 * BufferView2.C (unlockInset): adjust
10833 * vspace.C (asLatexCommand): use an explict temp variable.
10835 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10837 * Makefile.am: use FRONTEND_*
10839 2002-03-01 Juergen Vigna <jug@sad.it>
10841 * tabular.C (SetWidthOfMulticolCell): changed to something better
10842 I hope but still work in progress.
10843 (recalculateMulticolumnsOfColumn): renamed function from
10844 recalculateMulticolCells as it is more appropriate now.
10845 (SetWidthOfCell): calculate multicols better.
10847 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10849 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10851 * lyxfunc.C (processKeySym): print sequence also if it is
10852 `deleted' (complete)
10854 * kbsequence.C (print): print sequence even if it is deleted
10855 (complete would be a better word, actually).
10857 * lyxfunc.C (dispatch): print complete options after a prefix key
10859 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10861 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10863 * text2.C (setCharFont): eliminate setCharFont code duplication.
10865 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10867 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10868 LFUN_TABULAR_FEATURE (bug #177)
10870 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10872 * Makefile.am: remove figure.h
10874 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10876 * Bufferview_pimpl.C:
10888 * text2.C: remove #include "lyx_gui_misc.h".
10890 * LaTeX.C: added #include <cstdio>
10892 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10894 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10895 that the paragraph following this one can have.
10897 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10899 * vspace.C (asLatexCommand): fix bogus gcc warning
10901 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10903 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10905 * text2.C (setLayout): get rid of redundant code
10907 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10909 * text2.C (incDepth): make sure depth cannot be increased beyond
10912 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10914 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10915 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10917 * PainterBase.h (image):
10918 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10919 a LyXImage const *.
10921 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10925 * BufferView_pimpl.C:
10926 * BufferView_pimpl.h:
10946 * sp_spell.C: remove fig inset, and the crap house of
10947 cards that follows it
10949 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10954 * os2_errortable.h:
10955 * nt_defines.h: move .h into support/
10957 * vms_defines.h: remove
10959 * WorkArea.C: add space in debug output
10963 * buffer.C: add WITH_WARNINGS
10967 * bufferlist.C: s/retrive/retrieve/, add docs
10976 * chset.C: add docs
10978 * lyxgui.C: add ID to X error handler
10980 * lyxtestclass.c: fix typo
10982 2002-02-26 Juergen Vigna <jug@sad.it>
10984 * tabular_funcs.C (write_attribute): changed so that some default
10985 attributes are not written at all.
10986 (getTokenValue): set default values before trying to read the
10987 value so we have the return value always set as default if we don't
10988 find the token we search for.
10990 * tabular.C (Write): write bools as bools not as strings!
10992 2002-02-22 Juergen Vigna <jug@sad.it>
10994 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10995 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10997 * text.C (leftMargin): don't add an indent for paragraphs inside
10998 tabular cells (fix #208).
11000 2002-02-21 José Matos <jamatos@fep.up.pt>
11002 * tabular.C (docBook): fixed support for long tables.
11004 2002-02-20 Juergen Vigna <jug@sad.it>
11006 * text2.C (getFont): get the drawing font of the Inset if this
11007 paragraph is inside an inset (only important for InsetERT for now).
11009 * buffer.C (insertErtContents): use new lanugage params in ERT
11012 * CutAndPaste.C: commenting out seemingly uneeded code.
11014 2002-02-19 Allan Rae <rae@lyx.org>
11016 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11017 Iterators might be simple to use but they also get invalidated.
11018 (removeAutoInsets): renamed saved cursor tracking variables and added
11019 some comments to clarify what everything does.
11021 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11028 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11029 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11032 * vc-backend.h: remove #include "support/syscall.h"
11036 * converter.C: rearrange #includes in Lars' approved fashion.
11038 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11039 forward declare class Timeout in the header file.
11041 * XFormsView.C: changes due to the above.
11043 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11044 similar to LyXView.
11046 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11047 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11049 2002-02-18 José Matos <jamatos@fep.up.pt>
11051 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11054 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11056 * a lot of small ws changes
11057 * add a lot of using std::XXX
11058 * use std construcs some places where approp.
11059 * use some exisint stuff from lyxfunctional where approp.
11060 * Make file changes to use partial linking (lets test this now...)
11062 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11066 remove #include "support/syscontr.h" as it's redundant. Always has been.
11074 change Systemcalls::System to Systemcalls::Wait and
11075 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11076 No change of functionality, just reflects the stripped down Systemcalls
11079 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11081 * debug.[Ch]: add a GRAPHICS type to the enum.
11083 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11087 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11090 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11092 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11093 match the changes below.
11095 * text2.C (toggleInset): if there is not editable inset at cursor
11096 position, try to see if cursor is _inside_ a collapsable inset
11099 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11101 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11102 document menu has a nice checkbox
11104 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11106 * lyxlength.C (asLatexString): change PW to output as percent of
11109 * lengthcommon.C: change '%' to 't%'
11111 * lyxfunc.C (dispatch): a few comments from Martin
11113 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11117 * BufferView_pimpl.h:
11118 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11121 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * vspace.C (inPixels): fix compiler warning
11125 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11127 * lyxfunc.C (getStatus): fix status message for disabled commands.
11129 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11131 * BufferView_pimpl.C: fix crash on close buffer
11132 during selection (#227)
11134 2002-01-27 Herbert Voss <voss@lyx.org>
11136 * buffer.C: link old Figure to new graphic inset
11138 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11140 * FontLoader.C (getFontinfo): Change the latex font names in order
11141 to match the names of type1inst.
11143 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11145 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11147 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11148 (extchanged): ditto
11150 (remove_files_with_extension): ditto
11151 (remove_file): ditto
11154 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11155 document is smaller than the work area height. Do not initialize
11156 static variables to 0.
11158 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11162 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11163 LFUN_LAYOUT_PARAGRAPHS.
11165 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11166 tabular. It is possible to provide a possible cell, which will
11167 typically be the actcell from the corresponding insettabular
11169 * lyxfunc.C (getStatus): small cleanup; disable
11170 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11173 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11177 * paragraph.C (startTeXParParams):
11178 (endTeXParParams): new methods. The LaTeX code to
11179 start/end paragraph formatting
11180 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11181 empty (fixes bug #200)
11183 * vspace.C (inPixels): adapt to the change below
11184 (inPixels): [later] more cleanups (remove unused variables)
11186 * lyxlength.C (inPixels): change to use a width and a height as
11189 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11192 Replaced with \paperwidth
11194 * DepTable.C (insert): add std:: qualifier
11196 2002-01-18 Allan Rae <rae@lyx.org>
11198 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11201 * text.C (drawInset): Turned out I didn't know enough about how
11202 rebreaking worked. This fixes most of the redraw problems. I see
11203 an occasional cursor trail when a line is broken now and the cursor
11204 placement can seem out by a few pixels also after a rebreak.
11206 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * buffer.C (parseSingleLyXformat2Token): update because minipage
11209 width is now a LyXLength
11211 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11213 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11216 2002-01-17 Juergen Vigna <jug@sad.it>
11218 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11220 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11221 is set correctly and the inset is updated correctly.
11223 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11226 the beginning of the loop.
11228 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11230 * lyxrc.C: improve help for use_scalable_fonts
11232 2002-01-17 Allan Rae <rae@lyx.org>
11234 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11236 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11238 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11239 make sure to set their inset_owner to the right value (bug #171)
11241 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11244 * DepTable.C: Implement mtime checking to reduce time spent doing
11247 2002-01-16 Juergen Vigna <jug@sad.it>
11249 * tabular.C (GetAdditionalHeight): one of error fixed.
11251 * lyxrc.C (output): small fix in writing use_pspell.
11253 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11255 * sp_base.h: #include LString.h
11257 2002-01-16 Allan Rae <rae@lyx.org>
11259 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11260 Can someone check this please?
11262 * text.C (drawInset): It was possible that p.row would be removed by
11263 breakAgainOneRow upsetting a few other settings. There may be another
11264 small tweak possible by setting need_break_row = 0 when p.row has been
11265 removed but I don't know enough about the logic here.
11267 2002-01-15 Allan Rae <rae@lyx.org>
11269 * text.C (insertChar): removed conditional truism.
11271 * BufferView2.C (removeAutoInsets): More tweaks.
11272 cur_par_prev could be a stray pointer. Check for trailing empty line
11273 in case last line was cur_par and only had an error inset on it.
11275 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11277 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11280 * vc-backend.C (most methods):
11281 * exporter.C (Export):
11282 * converter.C (convert):
11284 * LyXSendto.C (SendtoApplyCB):
11285 * lyxfunc.C (dispatch):
11289 * lyx_cb.C (AutoSave):
11291 * BufferView_pimpl.C (MenuInsertLyXFile):
11292 * buffer.C (runChktex): use Buffer::filePath().
11294 * buffer.h: rename filename to filename_; rename filepath to
11295 filepath_ and make it private
11296 (filePath): new method
11298 * buffer.C (writeFile): use fileName()
11301 * lyx_main.C (init): fix starting of LyX when the binary is a
11302 link from so,ewhere else.
11304 * minibuffer.C: include <cctype> for isprint
11306 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11308 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11309 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11310 name clash with InsetCollapsable's width function.
11312 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * lastfiles.C: include <iterator>
11316 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11318 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11321 * buffer.C (makeLaTeXFile): ditto.
11322 Also make loop operation more transparent.
11324 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11326 * ToolbarDefaults.C: remove trailing comma closing namespace.
11328 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11330 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11333 * trans.C (Load): comment out unused variable, allowed.
11335 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11337 * minibuffer.[Ch] (append_char): new method to recieve input from the
11338 drop-down completion browser. If a key was pressed, then recieve this
11339 char and append it to the existing string.
11340 (peek_event): modify the positioning data passed to the completion
11341 browser so that it can be placed above the minibuffer rather than below.
11342 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11344 * LyXAction.C (init): alloe error-next for readonly documents.
11346 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11349 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * bufferlist.C (readFile): create the buffer _after_ checking that
11354 * lyxfunc.C (verboseDispatch): fix handling of arguments
11356 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11358 * lyxrc.C: use string::erase() instead of initializing to "".
11361 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11363 * BufferView_pimpl.h:
11364 * BufferView_pimpl.C:
11367 * text2.C: tell X when we have made a selection for copying
11369 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11371 * BufferView_pimpl.C (MenuInsertLyXFile):
11372 * lyxfunc.C (menuNew):
11374 (doImport): add shortcuts to directory buttons
11376 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11379 * lyxfunc.C (setStatusMessage):
11380 (getStatusMessage): new methods
11381 (getStatus):use setStatusMessage instead of setErrorMessage
11382 (dispatch): when function is disabled, set error message here
11383 [instead of in getStatus previously]
11385 * BufferView_pimpl.C (workAreaButtonRelease): update
11386 toolbar/menubar here too.
11388 2002-01-13 Allan Rae <rae@lyx.org>
11390 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11391 Now seems indestructible. Remaining task is to audit all other
11392 code affected by deleteEmptyParagraphMechanism. One small quirk
11393 left is that an empty document with an error in the preamble can
11394 be made to report an error but no error box appears. I don't know
11396 (removeAutoInsets): Improved comments.
11398 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11401 * Thesaurus.C: update for Aiksaurus 0.14
11403 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11405 * text2.C (firstParagraph): removed member function, all uses
11406 replaces with ownerParagraph
11407 (redoParagraphs): here
11408 (updateInset): here
11409 (toggleAppendix): here
11410 * BufferView2.C (insertErrors): here
11411 (setCursorFromRow): here
11413 2002-01-13 Allan Rae <rae@lyx.org>
11415 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11416 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11417 There is still a way to segfault this although you may have to do this
11418 multiple times: Have an InsetERT with an unknown command in it.
11419 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11420 <down-arrow>, <Enter> again, View->DVI, BANG!
11422 * text2.C (setCursor):
11423 (deleteEmptyParagraphMechanism):
11424 * lyxtext.h (setCursor):
11425 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11426 Making use of the return value may help fix other bugs.
11428 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11432 * LyXView.C (updateMenubar): call MenuBar::update here
11433 (updateToolbar): but not here
11434 (showState): do not update toolbar/menubar
11436 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11437 should need to care about that.
11439 * lyxfunc.C (verboseDispatch): simplify a bit
11440 (getStatus): have a version which takes a pseudoaction, and
11441 another which requires a (kb_action,string).
11443 * LyXAction.C (retrieveActionArg): make it work also when action
11444 is not a pseudo-action.
11445 (getActionName): simplify a bit
11448 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11450 * lyxfunc.C (verboseDispatch): new families of methods with
11451 several ways to specify a command and a bool to indicate whether
11452 the command name and shortcut should be displayed in minibuffer
11453 (eventually, we could extend that to a finer bitmask like
11454 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11455 (dispatch): the pristine dispatch command which just, well,
11456 dispatchs! Note it still sets its result to minibuffer; I'm not
11459 * lyxfunc.h: remove setHintMessage
11461 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11463 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11465 * BufferView_pimpl.C (specialChar): delete new inset if we have
11466 not been able to insert it.
11468 * kbmap.C: revert to using int instead of kb_action, since all we
11469 are dealing with is pseudo-actions.
11471 * LyXAction.C (searchActionArg): change to return int instead of
11472 kb_action, since the result is a pseudoaction.
11474 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11476 * buffer.C (insertErtContents): Fix (partially) the font bug.
11478 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11480 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11481 as the other one is broken on my machine!
11483 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11486 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11488 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11490 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11491 reflect their actual use. Provide compatibility code for older lyxrc
11494 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11496 change names of popup font variables in line with the changes to lyxrc.C
11498 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * buffer.C (asciiParagraph): avoid outputing a word twice after
11503 * lyxrc.C (getDescription): document that document_path and
11504 template_path can be empty.
11506 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11508 * LaTeXFeatures.C (getMacros):
11509 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11511 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11513 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11515 (getPackages): rename feature "floats" to "float". Use an array to
11516 iterate over 'simple' features (i.e. just a \usepackage). Add
11517 handling of "amsmath" (renamed from "amsstyle").
11519 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11521 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11524 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11526 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11527 FuncStaus::FuncStatus & FuncStaus::some_method().
11529 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11531 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11532 of the func_satus stuff. Edited and massaged in various ways by
11535 * lyxfunc.C (getStatus): use FuncStatus
11537 2002-01-08 Juergen Vigna <jug@sad.it>
11539 * text.C (nextBreakPoint): use function Inset::isChar().
11541 * paragraph.C (TeXOnePar): use function
11542 Inset::forceDefaultParagraphs.
11544 * buffer.C (latexParagraphs): use function
11545 Inset::forceDefaultParagraphs.
11547 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11549 * lyx_gui.C (init): set the style of the menu popups to
11550 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11552 2002-01-07 Juergen Vigna <jug@sad.it>
11554 * text.C (setHeightOfRow): small fix
11555 (prepareToPrint): don't look at alignment if we don't have the place
11558 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11560 * box.C: New file. Move the Box methods and functions out of box.h,
11561 following Lars' suggestion.
11563 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11565 * box.h: #include "support/LOstream.h", needed for inlined function.
11568 * lyxtextclasslist.C: added some using std declarations.
11570 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11572 * box.h: make signed dimensions to allow insets wider than
11573 the screen (bug #162)
11575 * BufferView_pimpl.C: add some insetHit debug
11577 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11579 * vc-backend.C: add FIXME
11581 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11583 * lyxfunc.C (getStatus): enable code for showing math font status
11586 2002-01-07 Juergen Vigna <jug@sad.it>
11588 * text.C (nextBreakPoint): removed debug output not needed anymore.
11590 2002-01-06 Juergen Vigna <jug@sad.it>
11592 * text.C (nextBreakPoint): fixed up this function we had this bug
11593 since ever but now hopefully we break row better.
11594 (insertChar): we have to check if an inset is the next char as it
11595 could now happen that a large inset is causing a break.
11597 2002-01-05 Juergen Vigna <jug@sad.it>
11599 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11600 if it doesn't like to be drawed.
11602 2002-01-04 Juergen Vigna <jug@sad.it>
11604 * BufferView2.C (lockInset): forgot to set a cursor.
11606 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11608 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11610 * FormMathsPanel.C:
11613 * form_maths_panel.C:
11614 * form_maths_panel.h:
11615 * form_maths_panel.fd: implemented sub- and super- buttons in math
11618 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11619 (or ^ space) to be used as in TeX (req'd by André).
11621 * lyxfunc.C: Allow ^ and _ again to be used both as
11622 super/subscript (mathed) and as themselves (in text).
11624 2002-01-03 Allan Rae <rae@lyx.org>
11626 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11627 "LyX" or the filename of the current buffer if it has one. This is a
11628 modified form of John Levon's patch.
11630 * XFormsView.C (setWindowTitle): also set icon title.
11632 * LyXView.h (setWindowTitle): signature changed.
11633 * XFormsView.h (setWindowTitle): ditto.
11635 2002-01-02 Juergen Vigna <jug@sad.it>
11637 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11639 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * screen.C (topCursorVisible): introduce a temp var for
11642 text->cursor.row(), handle the case where this row is null. (kindo
11645 * text2.C (setCursor): add a couple of asserts.
11647 * paragraph.h (inset_iterator): add -> operator
11649 * paragraph.[Ch] (autoDeleteInsets): remove member function
11651 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11652 cursor pos correctly and handle inset deletion by itself.
11653 (insertErrors): move iterator declaration out of for expression
11655 * lyxtextclass.C: add <algorithm>
11657 * Makefile.am: added the new files to sources, removed layout.C
11659 * layout.C: removed file
11661 * layout.h: remove LYX_DUMMY_LAYOUT
11663 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11667 * lyxtextclass.[Ch]:
11668 * lyxtextclasslist.[Ch]: new files
11670 * include order changes to a lot of files, also changes because of
11673 2001-12-27 Juergen Vigna <jug@sad.it>
11675 * buffer.C (asciiParagraph): more fixes.
11677 * tabular.C (ascii): make ascii export support export of only the
11678 data separated by a column-delimiter.
11679 (ascii): better support for ascii export.
11681 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11683 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11685 * tabular_funcs.C: use a "using std::getline" instead of the
11686 previous fix from Angus (necessary for cxx + lyxstring)
11688 2001-12-24 Juergen Vigna <jug@sad.it>
11690 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11692 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11693 problems. First check a minipage also if we have some ert-contents
11694 (not only on par->size(), second set the right depth of the paragraph
11695 on the relink to the root-paragraph-list!
11697 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11698 which then did not anymore update the main paragraphs on undo/redo!
11700 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11702 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11703 code. Support all font-changing funcs (even those which are not in
11704 menu currently). Support for reporting font settings in
11705 mathed (disabled until Andre provides a function on mathed's side).
11707 * func_status.h (toggle): small helper function to set toggle
11710 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11712 * tabular_funcs.C: getline -> std::getline
11714 2001-12-21 Juergen Vigna <jug@sad.it>
11716 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11717 accessed and could be 0 (I couldn't generate this but it seems
11720 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11723 * tabular_funcs.h: here and include iosfwd
11725 2001-12-20 Juergen Vigna <jug@sad.it>
11727 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11728 inside inset but undo_par was.
11730 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11732 * Thesaurus.C: always include <config.h> in sources.
11736 * box.h: do not include <config.h> in header files
11738 * text.C (paintLastRow): remove unused variable
11740 * text.C (transformChar):
11742 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11744 * Painter.C (text):
11745 * font.C (width): rewrite to use uppercase() instead of
11748 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11750 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11752 * lyxfind.C: clean up of find failure position change
11754 2001-12-20 Juergen Vigna <jug@sad.it>
11756 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11758 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11759 (TeXRow): added to LaTeX a single tabular row.
11760 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11761 (Latex): simplified and finally good LT-h/f support.
11762 (various_functions): just small adaptions for LT-h/f support.
11764 * tabular_funcs.[hC]: added and moved here all not classfunctions
11767 2001-12-19 Juergen Vigna <jug@sad.it>
11769 * tabular.[Ch]: better support for longtabular options (not finished
11772 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * text.C (paintLastRow): use the label font instead of the font of
11775 the last character to compute the size of *_BOX. This makes more
11776 sense and avoids a crash with empty paragraphs.
11777 Use Painter::rectangle to draw EMPTY_BOX.
11779 2001-12-19 Juergen Vigna <jug@sad.it>
11781 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11782 the paragraphs if the replaced paragraph is not the first one!
11783 Tried to delete not used paragraphs but does not work yet so for
11784 now it's inside #ifdef's and by default off!
11786 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11788 * MenuBackend.C: include "lyx_main.h" instead of declaring
11789 lastfiles (actually was declared as LastFiles* instead of a
11792 2001-12-17 Juergen Vigna <jug@sad.it>
11794 * tabular.C (AppendColumn): applied John's fix
11796 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11800 * BufferView_pimpl.h:
11801 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11804 * box.h: new start of class for above
11806 * lyxfunc.C: ignore space-only minibuffer dispatches.
11807 Show the command name when it doesn't exist
11809 * minibuffer.C: don't add empty lines to the history
11811 * minibuffer.C: add a space on dropdown completion
11813 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11815 * text.C: fix line above/below drawing in insets
11817 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * lyxlength.C (LyXLength): Initialize private variables.
11821 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11823 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11824 when inserting error insets.
11826 2001-12-13 Juergen Vigna <jug@sad.it>
11828 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11829 actually sometimes the before-paragraph.
11830 (setUndo): don't clear the redostack if we're not actually undoing!
11832 2001-12-06 Juergen Vigna <jug@sad.it>
11834 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11835 and fixed redoing of main paragraph, so we can use it now ;)
11837 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11839 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11841 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11844 2001-12-13 André Pönitz <poenitz@gmx.net>
11847 * undo_func.C: minor cleanup
11849 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11852 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11853 font in urw-fonts package which is marked as -urw-fontspecific and
11854 does not work (incidentally, changing the encoding in the
11855 fonts.dir of this package to -adobe-fontspecific fixes the
11858 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11859 is a crash when undoing first paragraph (Juergen, please take a
11860 look). THis does not mean the undo fix is wrong, just that it
11863 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11864 the (Paragraph*) version when needed instead of duplicating the
11867 * text.C (workWidth): use Inset::parOwner to find out where the
11868 inset has been inserted. This is a huge performance gain for large
11869 documents with lots of insets. If Inset::parOwner is not set, fall
11870 back on the brute force method
11872 * paragraph_pimpl.C (insertInset):
11873 * paragraph.C (Paragraph):
11874 (cutIntoMinibuffer): set parOwner of insets when
11875 inserting/removing them
11877 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11879 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11885 * mathed/formulabase.C:
11886 * mathed/math_cursor.[Ch]:
11887 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11890 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * lyxlength.[Ch] (operator!=): new function
11894 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * text.C (workWidth): use Inset::parOwner to find out where the
11897 inset has been inserted. This is a huge performance gain for large
11898 documents with lots of insets. If Inset::parOwner is not set, fall
11899 back on the brute force method
11901 * paragraph_pimpl.C (insertInset):
11902 * paragraph.C (Paragraph):
11903 (cutIntoMinibuffer): set parOwner of insets when
11904 inserting/removing them
11906 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11908 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11910 * tabular-old.C (getTokenValue):
11911 * tabular.C (getTokenValue):
11912 (write_attribute): new versions for LyXLength
11913 (everywhere): adjust the use of widths
11915 * tabular.h: change the type of widths from string to LyXLength
11917 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11919 * paragraph.C: fixed missing line number count when exporting
11920 Environments to LaTeX file
11922 * buffer.C: added informational message for checking line numbers.
11924 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11926 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11927 paragraph, do the 'double space' part, but not the 'empty
11930 * text.C (workWidth): small optimization
11931 (getLengthMarkerHeight): use minimal size for negative lengths.
11933 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11935 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11937 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11939 2001-12-11 André Pönitz <poenitz@gmx.net>
11942 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11944 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11946 * text2.C: keep selection on a setFont()
11948 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11950 * lyx_cb.C: another bv->text misuse, from insert label
11952 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11955 * kbsequence.C: re-instate nmodifier mask
11957 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11959 * lyx_main.h: make lyxGUI private.
11961 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11963 * lyxfind.C: place the cursor correctly on failed search
11965 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11967 * text.C (getLengthMarkerHeight): for small heights, the arrows
11968 are not always on top/bottom of the text
11969 (drawLengthMarker): smaller arrows; take the left margin in
11970 account; draw also vfills.
11972 (paintLastRow): remove special code for vfill and standard spaces,
11973 since everything is handled in drawLengthMarker now.
11975 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * buffer.C (insertErtContents): try to handle font and language
11978 interaction a bit better.g
11980 * ColorHandler.C (updateColor): change the hash to cover the whole
11981 LColor enum, ws cleanup
11982 (getGCLinepars): ditto
11983 (getGCLinepars): only lookup in the linecache once.
11985 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11987 * iterators.C (operator++): Make the iterator more robust
11989 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11991 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11993 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11996 * text.C: better added space drawing
11998 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12001 * BufferView2.C: fix layout combo update on inset unlock
12003 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12005 * Makefile.am: don't compile unused files
12007 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12011 * LyXAction.C: remove old LFUN_LAYOUTNO
12013 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12015 * paragraph_pimpl.h:
12016 * paragraph_pimpl.C: isTextAt() doesn't need font param
12018 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12021 * lyxlex.C: little cleanup
12023 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12025 * BufferView_pimpl.C: fix insertAscii for insets
12027 2001-12-05 Juergen Vigna <jug@sad.it>
12029 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12030 set the right font on the "multi" paragraph paste!
12032 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * lyxlength.C: remove out-commented code.
12040 * BufferView_pimpl:
12054 * vc-backend.C: change "while(" to "while ("
12056 * lyxlength.[Ch]: add zero function to check if length is zero or
12058 * lyxgluelength.C: use it
12060 2001-12-05 Allan Rae <rae@lyx.org>
12062 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12063 Works for 2.95.3, from what I understand of Garst's reports this should
12064 work for other g++ versions. We're screwed if the abs(int) definition
12065 changed between bugfix releases of gcc.
12067 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12069 * text.C: fix chapter label offset !
12071 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12074 * text.C: fix hfill at end of line, clean up
12076 2001-12-04 Juergen Vigna <jug@sad.it>
12078 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12079 that we force an update of the inset and it's owners if neccessary.
12081 2001-12-03 Juergen Vigna <jug@sad.it>
12083 * text.C (rowLast): simplified code
12085 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12087 * lyxfunc.C: fix show options on timeout
12089 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * screen.C (topCursorVisible): scroll half a page when the cursor
12092 reached top of bottom of screen
12094 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12096 * minibuffer.C: deactivate on loss of focus
12098 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12100 * vspace.[Ch] (operator!=): add operator.
12102 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12104 * BufferView_pimpl.C: refuse to open an inset when
12105 there's a selection.
12107 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12109 * BufferView_pimpl.C: allow to click on RHS of full row insets
12111 2001-11-30 Juergen Vigna <jug@sad.it>
12113 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12114 insets for undo reasons.
12116 2001-11-28 André Pönitz <poenitz@gmx.net>
12118 * vspace.[Ch]: cosmetical changes
12120 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12130 * kbsequence.C: part re-write of old kb code
12133 * WorkArea.C: remove Lgb_bug_find_hack
12135 2001-11-30 José Matos <jamatos@fep.up.pt>
12137 * buffer.C (makeDocBookFile): add a comment to point a hack.
12138 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12139 Fixed a double write of labels.
12141 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12144 * LaTeX.h Fixed bug in LaTeX class where it would not
12145 re-run latex if no depfiles were changed, but the .dvi was removed.
12147 2001-11-28 André Pönitz <poenitz@gmx.net>
12149 * all the files from the change on 2001/11/26:
12150 use lyx::layout_type instead of LyXTextClass::size_type
12151 use lyx::textclass_type instead of LyXTextClassList::size_type
12153 2001-11-29 Juergen Vigna <jug@sad.it>
12155 * text.C: added support for paragraph::isFreeSpacing()
12157 * buffer.C: same as above
12159 * paragraph.h: inserted isFreeSpacing() function to enable
12160 FreeSpacing inside InsetERT.
12162 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12163 of the paragraph's in the cut/copy buffer to 0!
12165 * text2.C (removeRow): remove the assert as it can!
12167 * lyxtext.h: added helper function firstRow returning firstrow and
12168 made firstrow private again.
12170 * BufferView2.C (lockInset): don't relock if we're already locked!
12172 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12173 the only paragraph.
12174 (removeRow): added Assert::(firstrow)
12176 * debug.C: forgot to add INSETTEXT here.
12178 2001-11-28 Juergen Vigna <jug@sad.it>
12180 * sp_spell.C (initialize): changed error text to more general
12181 spellchecker command use (not only ispell!)
12183 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12185 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12187 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12189 * vspace.C: initialise lyxgluelength on failure
12191 2001-11-28 Allan Rae <rae@lyx.org>
12193 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12194 declaration & definition that looks like a function declaration.
12196 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * BufferView2.C (copy):
12199 (copyEnvironment): do not clear the selection when doing a copy.
12201 * text.C (paintFirstRow): compilation fix
12203 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12205 * tabular.C (Latex): correct line count when writing latex.
12207 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12209 * paragraph_pimpl.h:
12210 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12213 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12217 * LColor.C: change vfillline->added_space
12219 * text.C: add markers and text for added space
12221 * vspace.C: fix comment
12223 2001-11-28 André Pönitz <poenitz@gmx.net>
12225 * paragraph.C: whitespace changes
12226 * all the other files from the change on 2001/11/26:
12227 change *::pos_type into lyx::pos_type
12229 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12231 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12232 language of the document when inserting error insets.
12234 2001-11-26 André Pönitz <poenitz@gmx.net>
12236 * BufferView_pimpl.[Ch]:
12244 * paragraph_pimpl.[Ch]:
12247 * text2.C: reduce header dependencies, introduce type for positions
12249 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12251 * <various>: change to use Alert.h
12253 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12255 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12256 when encountering an unknown token.
12257 (readLyXformat2): Show an error message if there were unknown tokens.
12259 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12262 * BufferView_pimpl.C:
12266 * text2.C: use par->isInset()
12268 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12270 * paragraph_pimpl.h:
12271 * paragraph_pimpl.C: cleanup
12273 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * text2.C (removeRow):
12276 * text.C (setHeightOfRow): remove useless (and costly) call to
12279 2001-11-20 Allan Rae <rae@lyx.org>
12281 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12282 Now need Inset*::checkInsertChar() to return true for appropriate
12283 cases so that the characters in the minibuffer will actually be
12286 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * text.C: change the order of the includes.
12289 (workWidth): initialize it at once.
12290 (workWidth): make maxw unsigned
12291 (setHeightOfRow): remove unused variable (inset)
12292 (selectSelectedWord): remove unused variable (inset)
12293 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12295 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12297 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12298 server is not running.
12300 (closeConnection): add debug info when server is disabled.
12302 * ColorHandler.C (getGCForeground): send debug message to GUI
12305 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12307 * kbmap.C (bind): modify because return conventions of
12308 kb_sequence::parse have changed.
12310 * kbsequence.C (parse): only ignore spaces and not any stupid
12311 control character. This avoids tests like s[i] <= ' ', which are
12312 guaranteed to fail with 8bit characters and signed chars.
12313 Change return code to string::npos when there have been no error
12314 (0 was a bad idea when error is at first character)
12316 2001-11-14 José Matos <jamatos@fep.up.pt>
12319 * buffer.C (simpleDocBookOnePar): removed unused argument.
12321 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12324 insets which are part of a word. Paragraph::isLetter takes care of
12325 that now. Use Paragraph::isInset to identify insets.
12326 (selectSelectedWord): do not test for hyphenation break.
12328 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12329 that protected spaces are considered as spaces.
12331 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12334 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12337 * lyxserver.C: fix it. and small cleanup.
12339 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView_pimpl.C: use inline helpers
12344 * LaTeXFeatures.C: fix typos
12347 * Spacing.C: move spacing_string into class
12349 * ToolbarDefaults.C: move stuff into namespace anon
12351 * layout.h: update enum
12353 * lyxfunc.C: use better debug
12355 * minibuffer.h: fix typo
12359 * WorkArea.C: add and use Debug::WORKAREA
12363 * text2.C: code re-organisation, inline helpers
12365 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12367 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12368 std::vector.empty().
12370 2001-11-09 Allan Rae <rae@lyx.org>
12372 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12373 '\n's after tables. Tabular and ERT inset work now makes this no
12376 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12379 * minibuffer.C: fix crash, improve drop-down completion
12381 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12384 * lyxserver.C: invalidate fd's when doing endPipe()
12386 2001-11-08 José Matos <jamatos@fep.up.pt>
12388 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12389 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12392 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12394 2001-11-07 José Matos <jamatos@fep.up.pt>
12397 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12400 * buffer.C (sgmlOpenTag):
12401 * buffer.C (sgmlCloseTag): removed debug info.
12403 * buffer.h (sgmlOpenTag):
12404 * buffer.h (sgmlCloseTag): made public.
12406 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12408 * buffer.C (saveParamsAsDefaults):
12409 * lyx_cb.C (MenuLayoutSave): remove
12411 * LyXAction.C (init):
12413 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12415 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12417 * buffer.C (setPaperStuff): removed from here...
12419 * bufferparams.C (setPaperStuff): ... and moved there.
12421 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12425 * XFormsView.C: add support for drop-down completion
12427 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12429 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12432 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12437 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12439 * lyx_main.C: change ref to known bugs
12441 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12443 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12444 to work around older babel problems.
12446 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12448 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12450 2001-10-24 Juergen Vigna <jug@sad.it>
12452 * tabular-old.C (ReadOld): below variable changes reflected.
12454 * tabular.[Ch]: added ltType struct for longtable header/footer
12455 defines and changed all instances where they are used. Added
12456 future support for double top/bottom rows.
12458 2001-10-24 José Matos <jamatos@fep.up.pt>
12460 * buffer.h (docbookHandleCaption):
12461 * buffer.C (docbookHandleCaption): removed unused function.
12462 (makeDocBookFile): moved docbook supported version to v4.1.
12464 2001-10-24 José Matos <jamatos@fep.up.pt>
12467 * tabular.C (docbookRow): new function to export docbook code of a row.
12468 (DocBook): now honors the longtable flags.
12470 2001-10-23 José Matos <jamatos@fep.up.pt>
12473 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12474 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12476 * buffer.C (makeLinuxDocFile):
12477 (makeDocBookFile): reworked the preamble, more clean, and with
12478 support for lyx defined entities. Changed the document declaration
12479 to be more XML friendly.
12481 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12482 if we need to output XML that should be done with a filter.
12484 2001-10-22 Juergen Vigna <jug@sad.it>
12486 * sp_pspell.h (class PSpell): add alive function needed in the
12487 controller to see if the spellchecker could be started.
12489 2001-10-22 Juergen Vigna <jug@sad.it>
12491 * buffer.C (insertStringAsLines): modify the font for inserting
12492 chars in certain conditions by calling checkInsertChar(font).
12494 2001-10-19 Juergen Vigna <jug@sad.it>
12496 * text.C (workWidth): use getRow instead of wrong algorithm.
12497 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12499 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12504 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12506 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12508 * text.C (workWidth): do not search for the exact row when
12509 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12510 optimization for big documents.
12512 2001-10-18 Juergen Vigna <jug@sad.it>
12514 * text.C (workWidth): new function with added Inset * parameter.
12516 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12518 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12520 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12521 change return type of getColumnNearX.
12524 * text.C (changeRegionCase): use uppercase/lowercase instead of
12527 (rightMargin): simplify code by factoring out the uses of
12532 (appendParagraph): use Paragraph::size_type
12534 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12536 * vspace.C (asLatexString): add a missing break
12538 2001-10-15 Herbert Voss <voss@perce.de>
12540 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12542 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12547 2001-10-10 André Pönitz <poenitz@gmx.net>
12549 * lyxfunc.C: removed greek_kb_flag.
12551 2001-10-10 Herbert Voss <voss@perce.de>
12553 * lyx_main.C: delete global string help_lyxdir.
12555 2001-10-09 Herbert Voss <voss@perce.de>
12557 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12559 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12561 * lyx_main.C: added global string help_lyxdir.
12563 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12565 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12567 * lyxrc.C (set_font_norm_type): support iso8859-4
12569 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12571 * LaTeX.C (deplog): add another regex for MikTeX
12573 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12575 * lyxrc.C (set_font_norm_type): support iso8859-3
12577 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12581 * LaTeXFeatures.C: remove special case of french and index
12583 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12584 before \begin{document}). This solves several incompatibilities.
12586 2001-10-03 Garst Reese <reese@isn.net>
12588 * lyx_cb.C: change CheckTex error msg.
12590 2001-10-03 José Matos <jamatos@fep.up.pt>
12592 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12594 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12596 * .cvsignore: update
12598 * lyx_main.C (commandLineVersionInfo): use new style version info.
12600 * buffer.C (writeFile):
12602 (makeLinuxDocFile):
12603 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12605 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12607 * version.h: update to use stuff in version.C
12609 * version.C.in: new file. Contains version information determined
12610 at compile time. This is a merging of version.h and
12613 2001-10-03 Juergen Vigna <jug@sad.it>
12615 * BufferView_pimpl.C (update): don't change "dirty" status in
12618 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12620 * WorkArea.C (c-tor): re-position version string slightly.
12622 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12624 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12625 revert to previous code.
12627 WorkArea.[Ch]: (show, destroySplash): methods removed.
12629 WorkArea.C: rework code so that it's an amalgam of the codes before and
12630 after the splash screen was moved to WorkArea.
12632 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12635 * vspace.C (inPixels):
12638 * buffer.C (insertStringAsLines):
12639 (asciiParagraph): fix types to be large enough
12641 * lyxlex_pimpl.h: change member status from short to int
12643 * layout.h: fix type of endlabeltype
12646 * kbsequence.C (parse): change return type to string::size_type
12648 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12651 * Bullet.C (bulletSize):
12652 (bulletEntry): do not use short ints as parameters
12654 * BufferView2.C (insertLyXFile): change a char to an int.
12656 * WorkArea.C (WorkArea): remove unneeded floats in computation
12658 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12660 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12662 * paragraph.C (asString): Do not ignore newline/hfill chars when
12663 copying to the clipboard.
12665 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12667 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12668 after a multi-line inset.
12670 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12672 * paragraph.C (validate): Set NeedLyXFootnoteCode
12674 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12676 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12677 and decrease-error to decrease.
12679 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12682 it more readable (should be equivalent)
12684 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12686 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12688 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12690 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12691 of a cursor (row, etc.) after a character has been deleted
12692 (deleteEmptyParagraphMechanism): call the method above on _all_
12693 cursors held by the LyXText when a double space has been
12696 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12698 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12700 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12702 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12703 background. Use greyOut() and the new show() methods to toggle between
12704 the foreground and background. Add code to remove the splash after
12705 its initial showing.
12707 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12708 (create_forms): no longer call Dialogs::showSplash.
12710 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * .cvsignore: add version_info.h
12714 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12716 * version_info.h.in: new file
12718 * Makefile.am: add version_info.h.in
12720 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12721 version_info.h instead of VERSION_INFO
12723 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12725 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12726 The ERT inset now returns string().
12728 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12730 * lyxtext.h, text.C (selectNextWord): renamed as
12731 selectNextWordToSpellcheck.
12733 * text.C (selectNextWordToSpellcheck): Modified to not select
12734 words inside an ERT inset.
12736 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * lyx_cb.C (MenuLayoutSave): change a bit the question
12740 * sp_base.h: include <sys/types.h>
12742 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12744 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12746 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12748 * several files: fix typos in user-visible strings
12750 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12752 * text2.C (pasteSelection): do not set the selection, since it
12753 will be cleared later. Actually, the intent was to fix the way the
12754 selection was set, but I figured rmoving the code was just as good.
12756 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12758 * FontLoader.C (available): Check if font is available without
12761 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12763 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12765 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12767 * lyxrc.[Ch]: added display_graphics variable and associated code.
12769 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * bufferparams.C (hasClassDefaults): new method. Returns true if
12772 the buffer parameters correspond to known class defaults
12774 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12776 * XFormsView.C (show): set minimum size to the main window.
12778 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * text2.C (copySelection):
12782 * lyxfind.C (LyXReplace):
12783 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12784 LyXText::selectionAsString.
12786 * paragraph.C (asString): add "label" argument to the second form
12788 * text2.C (selectionAsString): add "label" argument and pass it to
12789 Paragraph::asString.
12791 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * lyx_main.C (commandLineHelp): remove version information
12795 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12797 * lyx_main.C: add -version commandline option
12799 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * paragraph.h: make the optional constructor arg required instead.
12802 some modifications to other files because of this.
12804 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12806 * lyxserver.C (C_LyXComm_callback): make it static
12808 * lyx_main.C (error_handler): make it static
12810 * lyx_gui.C (LyX_XErrHandler): make it static
12812 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12814 * WorkArea.C: make the extern "C" methods static.
12816 * Makefile.am (lyx_LDADD): simplify
12818 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12820 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12821 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12823 * LyXAction.C (init):
12824 * lyxfunc.C (dispatch): associated code removal.
12826 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * lyxfont.h (isSymbolFont): shut off warning
12830 * text.C (setHeightOfRow):
12831 (getVisibleRow): fix crash with empty paragraphs which have a
12834 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12836 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12839 2001-09-04 José Matos <jamatos@fep.up.pt>
12842 * tabular.C (docbook): rename docBook method to docbook.
12844 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12846 * Makefile.am: add dependencies to main.o.
12848 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12850 * FontLoader.C (available): Return false if !lyxrc.use_gui
12852 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12854 * FontInfo.C (query):
12855 * converter.C (view):
12856 * importer.C (Import):
12857 * exporter.C (Export): Can not -> cannot.
12859 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12861 * BufferView_pimpl.C: allow to create index inset even if
12864 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12866 * buffer.C (getLists): replace boost::tie code with an explicit pair
12867 as boost::tie can break some compilers.
12869 * iterators.h: Added a std:: declaration to the return type of
12872 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12874 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12877 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12879 * iterators.[Ch]: New files. Provide paragraph iterators.
12881 * buffer.C (changeLanguage): Use paragraph iterators.
12882 (isMultiLingual): ditto
12884 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12886 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12888 * FontLoader.C: Support for cmr font.
12890 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12892 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12893 (available): New method.
12895 * FontInfo.C (getFontname): Use scalable fonts even when
12896 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12899 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12901 * converter.C (Formats::view): reverted! Incorrect fix.
12903 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12905 * converter.C (Formats::view): only output the -paper option
12906 if the dvi viewer is xdvi, thereby fixing bug #233429.
12908 2001-08-23 Herbert Voss <voss@perce>
12910 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12912 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12914 * Spacing.h (Spacing): Set space to Default on in the default
12917 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * vc-backend.h (RCS::versionString): add RCS to version
12920 (CVS::versionString): add CVS to version
12922 * vc-backend.C (scanMaster): do not add CVS to version.
12923 (scanMaster): do not add RCS to version
12925 * lyxvc.C (versionString): new method
12927 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12929 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * Spacing.C (set): initialize fval
12933 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12935 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12938 2001-08-16 Juergen Vigna <jug@sad.it>
12940 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12942 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12944 * BufferView_pimpl.C:
12947 * text2.C: setParagraph takes linespacing now
12949 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12951 * LyxAction.C: add internal LFUN_CITATION_INSERT
12953 * LyXView.C: actually apply fix
12955 * bufferlist.C: fix open non-existent file
12957 * lyxfind.C: fix indentation
12959 * lyxfunc.C: remove unneeded assert, fix typo
12961 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12963 * MenuBackend.C: use "Floatname List"
12965 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12967 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12968 when converting LaTeX layout to insetERT.
12969 Generate a non-collapsed float when reading old float
12971 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12973 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12976 2001-08-13 Juergen Vigna <jug@sad.it>
12978 * text.C (fill): return 0 instead of 20 as this seems to be the more
12981 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12983 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12986 2001-08-13 Juergen Vigna <jug@sad.it>
12988 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12990 (SearchBackward): comment out the unlocking of the inset_owner this
12991 should not be needed!
12993 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12995 * Many files: Remove inherit_language, and add latex_language
12997 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12998 collapsible insets.
13000 2001-08-10 Juergen Vigna <jug@sad.it>
13002 * text.C (prepareToPrint): fixed hfill-width in draw!
13004 * BufferView2.C (selectLastWord): save the selection cursor as this
13005 now is cleared in the function LyXText::clearSelection!
13007 2001-08-08 Juergen Vigna <jug@sad.it>
13009 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13010 BACKSPACE type functions.
13012 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13013 is only cutted from the document but not put in the cut-buffer, where
13014 still the old stuff should be.
13016 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13018 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13020 * tabular.C (SetWidthOfCell): fixed special case where the width
13022 (LeftLine): handle '|' in align_special.
13024 (LeftAlreadyDrawed): ditto
13025 (SetWidthOfCell): ditto
13027 2001-08-07 Juergen Vigna <jug@sad.it>
13029 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13031 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13034 * lyxlex.[hC]: ditto
13036 2001-08-06 Juergen Vigna <jug@sad.it>
13038 * text.C (getVisibleRow): fix up row clearing a bit.
13040 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * minibuffer.C: make sure the X server sees the changes in the input.
13044 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * paragraph.C (getFont): split into...
13047 (getLabelFont): this
13048 (getLayoutFont): and this
13049 * paragraph_pimpl.C (realizeFont): calling this
13051 * text2.C (getFont): split into...
13052 (getLayoutFont): this
13053 (getLabelFont): and this
13054 (realizeFont): all three calling this
13056 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13059 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13061 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13063 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13065 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13066 layouts from the Quote inset insertion.
13068 2001-08-03 Juergen Vigna <jug@sad.it>
13070 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13072 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13073 only if status not is already CHANGED_IN_DRAW (second level).
13075 * text.C (draw): don't set the need_break_row when inside an
13078 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13080 * buffer.C (parseSingleLyXformat2Token): handle more latex
13083 * bufferview_funcs.[hC]: change function names to
13084 begin with small char, adjust other files.
13086 2001-08-02 André Pönitz <poenitz@gmx.net>
13089 BufferView_pimpl.C: remove broken special code for math-greek
13091 2001-08-02 Juergen Vigna <jug@sad.it>
13093 * BufferView_pimpl.C (update): redone this function so that we
13094 update the text again if there was a CHANGE_IN_DRAW.
13096 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13097 (drawFromTo): added a new internal bool which is used by draw() and
13099 (general): some cursor drawing problems fixed.
13101 2001-08-01 Juergen Vigna <jug@sad.it>
13103 * lyxfind.C (LyXFind): fixed
13104 (SearchForward): ditto
13105 (SearchBackward): ditto
13107 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13108 spurius drawing of the cursor in the main area.
13110 * text2.C (status): small fix which could lead to a segfault!
13111 (clearSelection): remove unneeded BufferView param.
13113 2001-08-01 André Pönitz <poenitz@gmx.net>
13115 * lyxfunc.C: small change due to changed mathed interface
13117 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13119 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13121 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13123 * lyxfunc.c: fail gracefully if file doesn't exist
13128 * BufferView_pimpl.C: IsDirWriteable() proto changed
13130 * LyXView.C: fix updateWindowTitle() to store the last title
13132 2001-07-31 Juergen Vigna <jug@sad.it>
13134 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13135 the font (wrong since using of Paragraph::highestFontInRange).
13137 * paragraph.C (highestFontInRange): added a default_size parameter.
13139 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13140 (setHeightOfRow): reformat
13142 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * converter.[hC] + affected files: move to (inital-char)lowercase
13147 * ParagraphParameters.C (ParagraphParameters): remove commented code
13149 * PainterBase.[Ch]: remove commented code
13151 * LaTeXFeatures.h: add "bool floats" for float.sty
13153 * LaTeXFeatures.C (LaTeXFeatures): init floats
13154 (require): handle float
13155 (getPackages): do it with floats
13157 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13159 * BufferView_pimpl.C (Dispatch): improve handling of
13160 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13162 * commandtags.h: #include lyxfont.h here temporarily to avoid
13165 * bufferlist.h: include LString.h here.
13167 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * text2.C (getStringToIndex): new method.
13171 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13173 * *: Reduced header file dependencies all over.
13175 2001-07-30 Baruch Even <baruch@lyx.org>
13177 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13179 2001-07-29 Baruch Even <baruch@lyx.org>
13181 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13183 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13185 * ParameterStruct.h (endif): add a default constructor to make
13186 sure that all variables is initialized.
13188 * ParagraphParameters.C (ParagraphParameters): adjust
13190 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13192 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13193 index; also, check that there is something to index, and that it
13194 does not span over several paragraphs.
13195 (doubleClick): use WHOLE_WORD_STRICT for double click.
13197 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13199 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13202 2001-07-26 Baruch Even <baruch@lyx.org>
13204 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13205 an InsetFig figure, backwards compatible reading of old figure code.
13207 2001-07-27 Juergen Vigna <jug@sad.it>
13209 * text2.C: font.realize function adaption.
13211 * text.C (draw): add a warnings lyxerr text if needed.
13213 * layout.C: font.realize function adaption.
13215 * language.C: add inherit_language and implement it's handlings
13217 * bufferview_funcs.C (StyleReset): remove language parameter from
13218 font creation (should be language_inherit now).
13220 * bufferparams.C (writeFile): handle ignore_language.
13222 * paragraph.C (getFontSettings): the language has to be resolved
13223 otherwise we have problems in LyXFont!
13225 * lyxfont.C (lyxWriteChanges): added document_language parameter
13226 (update): removed unneeded language parameter
13228 * paragraph.C (validate): fixed wrong output of color-package when
13229 using interface colors for certain fonts in certain environments,
13230 which should not seen as that on the final output.
13232 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13234 * BufferView_pimpl.C:
13239 * LyXAction.C: add thesaurus support
13242 * lyxfind.C: add "once" parameter, for thesaurus, to not
13243 move to the next match
13245 2001-07-26 Juergen Vigna <jug@sad.it>
13247 * lyxfont.C (realize): honor ignore_language too!
13250 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13252 * text.C (draw): one place more for ignore_language to not draw
13255 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13257 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13259 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13262 the minipage conversion problem.
13264 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13269 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13271 * BufferView.h: don't forward declare WorkArea
13273 * BufferView.C: don't include WorkArea.h
13275 2001-07-25 André Pönitz <poenitz@gmx.net>
13279 * lyxfunc.C: new LFUN 'math-space'
13281 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13283 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * text2.C (toggleInset): call open/close
13287 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * lyxfunc.C (dispatch): add debug for the disabled case
13291 * font.C (buttonText): make similar to rectText
13293 * buffer.C (readInset): comment out parsing of insetlist and
13296 * PainterBase.C (rectText): small correction
13298 * BufferView_pimpl.C: comment out insettheorem and insetlist
13299 * LyXAction.C: ditto
13300 * commandtags.h: ditto
13302 2001-07-24 Juergen Vigna <jug@sad.it>
13304 * text.C (draw): honor the ignore_language.
13306 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13308 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13310 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13313 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13315 * lyxtext.h: remove unused (and unimplemented) methods
13317 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13319 * text.C (getVisibleRow): honor background color
13322 * Painter.h: remove default color argument for fillRectangle
13324 * text.C (backgroundColor): new method
13326 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13328 * text.C (getVisibleRow): adjust
13330 * font.[Ch] (rectText): new method, metrics
13331 (buttonText): new method, metrics
13333 * PainterBase.[hC]: make rectText and buttonText always draw and take
13336 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13338 * ToolbarDefaults.C (read):
13339 * MenuBackend.C (read): allow escaping in all strings
13341 * BufferView_pimpl.C (insertAndEditInset): new method.
13342 (Dispatch): use insertAndEditInset whenever appropriate.
13344 * BufferView_pimpl.C (insertNote): removed
13346 * BufferView_pimpl.C (smartQuote): new method, moved from
13347 BufferView; if an insetquote cannot be inserted, insert a '"'
13350 * BufferView2.C: remove insertCorrectQuote();
13352 * lyxfunc.C (getStatus): Add support for all remaingin
13353 inset-insert lfuns.
13355 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13357 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13358 command (necessary to pass " as parameter of self-insert.
13360 * text.C (selectWordWhenUnderCursor):
13361 (selectWord): add word_location parameter
13362 (selectWordWhenUnderCursor): same + remove special code for word
13364 (selectNextWord): use kind() to guess type of insetspecialchar,
13367 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13368 (insertErtContents): create ert insets as collapsed.
13369 (readInset): better compatibility code for Info inset.
13371 2001-07-20 Juergen Vigna <jug@sad.it>
13373 * lyxfunc.C (dispatch): use always LyXFind now!
13375 * text2.C (init): add a reinit flag so that the LyXText can be
13376 reinited instead of deleted and reallocated (used in InsetText).
13378 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13384 2001-07-18 Juergen Vigna <jug@sad.it>
13386 * text.C (selectNextWord): handle insets inside inset by calling
13387 always the bv->text functions so that we can go up the_locking_inset!
13389 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13390 in strange locations when inside an inset!
13392 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13393 handling to include insets.
13395 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13397 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * LyXAction.C (init):
13401 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13402 LIGATURE_BREAK, since the name is so stupid.
13404 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13406 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13409 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13411 * sp_form.[Ch]: remove.
13413 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13415 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13418 * src/buffer.C (readInset): ditto.
13420 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13422 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13423 menuSeparator(), endOfSentenceDot(), ldots() and
13424 hyphenationPoint(), which are therefore removed.
13425 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13427 * LyXAction.C (init):
13428 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13430 * paragraph.C (getWord): removed.
13432 * BufferView_pimpl.C (Dispatch): use last word or selection for
13433 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13435 * lyx_main.C (queryUserLyXDir): do not ask before creating
13436 user_dir, except if it has been named explicitely.
13438 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13440 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13441 a document of zero size.
13443 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13445 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13446 approriately in the c-tor and in require().
13447 (getPackages): output the appropriate LaTeX for natbib support.
13449 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13450 variables "use_natbib" and "use_numerical_citations" when reading the
13452 (readInset): read the various natbib cite commands.
13453 (validate): white-space change.
13455 * bufferparams.[Ch]: new variables "bool use_natbib" and
13456 "bool use_numerical_citations".
13457 (writeFile): output them in the LyX file.
13459 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13461 * lyxfunc.C (getStatus): add support for all the inset insertion
13464 * text2.C (insertInset):
13465 * paragraph.C (insetAllowed):
13466 * BufferView_pimpl.C (insertInset): update to take in account the
13467 renaming of insertInsetAllowed
13469 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13471 * text2.C (getInset): new method. returns inset at cursor position.
13473 * BufferView_pimpl.C (Dispatch): changes because of this.
13475 * LyXAction.C (init): rename open-stuff to inset-toggle.
13477 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13479 * text2.C (toggleInset): renamed from openStuff; use
13482 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13484 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13486 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13488 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13490 * buffer.C (readLyXformat2): Add filename to the error dialog
13492 2001-07-18 Juergen Vigna <jug@sad.it>
13494 * tabular.C (GetCellNumber): put an assert here instead of the check!
13496 2001-07-17 Juergen Vigna <jug@sad.it>
13498 * BufferView_pimpl.C (toggleSelection): adapted too.
13500 * text.C (selectNextWord): adapted for use with insets.
13501 (selectSelectedWord): ditto
13503 2001-07-17 Juergen Vigna <jug@sad.it>
13505 * sp_spell.C (PSpell): fix initialitation order.
13507 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * paragraph.C: spacing
13511 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13513 * sp_spell.C: repair language selection for pspell
13515 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * lyxfunc.h: change more methods to begin with lower char.
13519 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13521 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13522 for unknown layouts.
13524 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13526 * buffer.C (readLyXformat2): Generate an error dialog if there are
13529 2001-07-16 Juergen Vigna <jug@sad.it>
13531 * sp_spell.C: always compile ISpell part.
13533 * lyxrc.C: added use_pspell entry and it's handling.
13535 2001-07-13 Juergen Vigna <jug@sad.it>
13537 * sp_spell.C: removed double includes.
13539 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13541 Consistent use of Lsstream.h:
13542 * Lsstream.h: added using std::stringstream for consistencies sake.
13544 * buffer.C: removed using std::stringstream
13546 * lyxfont.C (stateText):
13547 * paragraph.C (asString):
13548 * text.C (selectNextWord, selectSelectedWord):
13549 * text2.C (setCounter):
13550 * vspace.C (asString, asLatexString):
13551 std::ostringstream -> ostringstream.
13553 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13555 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13556 * commandtags.h: add LFUN_HELP_ABOUTLYX
13557 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13559 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13561 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13563 * lyx_gui_misc.C: remove spellchecker
13564 * lyxfunc.C: showSpellchecker
13566 * sp_ispell.h: added
13567 * sp_pspell.h: added
13568 * sp_spell.C: added
13569 * sp_form.[Ch]: removed
13570 * spellchecker.[Ch]: removed
13572 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13574 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13576 (simpleTeXSpecialChars): Simply print the input character without
13577 any special translation if pass_thru is set.
13579 * layout.h: Added bool pass_thru to layout class for being able to
13580 implement pass through of a paragraph for Literate Programming.
13582 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13583 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13584 * layout.C (Read): add "passthru" to list of layout tags and add
13585 code to set the pass_thru boolean when it is read.
13587 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13589 * trans_decl.h: remove allowed from KmodInfo
13591 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13592 remove allowed code
13595 * paragraph_pimpl.C (erase): use boost::prior
13597 * Painter.C (text): use data() instead of c_str() when length is
13599 * WorkArea.C (putClipboard): ditto
13600 * font.h (width): ditto
13602 * BufferView2.C: use it-> instead of (*it). for iterators
13604 * paragraph_pimpl.C: ditto
13605 * paragraph.C: ditto
13606 * minibuffer.C: ditto
13607 * language.C: ditto
13609 * encoding.C: ditto
13610 * counters.C: ditto
13611 * converter.C: ditto
13613 * Variables.C: ditto
13614 * TextCache.C: ditto
13615 * MenuBackend.C: ditto
13616 * LyXAction.C: ditto
13618 * FloatList.C: ditto
13619 * DepTable.C: ditto
13620 * ColorHandler.C (LyXColorHandler): ditto
13622 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13624 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13626 * text2.C (openStuff): reintroduce this method (which had been
13627 nuked in NEW_INSETS frenzy).
13629 * lyxfunc.C (Dispatch): when an action has not been handled, use
13630 its name in the error message, not its number.
13632 * paragraph.C (inInset): change method name to begin with lowercase.
13635 * text2.C: updates because of this.
13637 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13639 * ToolbarDefaults.C (add): add spaces in error message
13641 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13643 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13644 (readLyXformat2): rename return_par to first_par, use lyxlex's
13645 pushToken and remove the manual push handling.
13646 (parseSingleLyXformat2Token): add another ert comp. variable:
13647 in_tabular, rename return_par to first_par. handle newlines better
13649 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13653 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * text2.C (getParFromID): removed
13657 * buffer.C (getParFromID): new method moved form lyxtext.
13658 * BufferView2.C (insertErrors): adjust
13659 (setCursorFromRow): adjust
13660 * BufferView_pimpl.C (restorePosition): adjust
13661 * lyxfunc.C (Dispatch): adjust
13662 * undo_funcs.C (textUndo): adjust
13664 (textHandleUndo): adjust
13665 (textHandleUndo): adjust
13667 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * buffer.C: up' the LYX_FORMAT
13671 * lyxfont.h: turn NO_LATEX on as default
13673 * buffer.C (insertErtContents): new methods of tex style compability.
13674 (parseSingleLyXformat2Token): use it several places.
13675 * tabular.C (OldFormatRead): and here
13677 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * text2.C: remove some commented code.
13682 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13683 * trans.C: changes because of the above.
13685 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13687 * text2.C (setCounter): Fix counters bug with bibliography layout.
13689 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13692 own member functions
13693 (simpleTeXSpecialChars): ditto
13695 2001-07-06 Juergen Vigna <jug@sad.it>
13697 * a lot of files: changed the access to LyXText::status and the
13698 call of undo-functions.
13700 * undo.[Ch]: added a inset_id to the undo informations.
13702 * undo_funcs.[Ch]: added and moved here all undo functions.
13704 * lyxtext.h: give the status enum a weight, made status_ a private
13705 variable and made accessor functions for it, removed the whole bunch
13706 of undo-functions as they are now in their own file, make some
13707 functions publically available. Added function ownerParagraph with
13710 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13711 made InInset() a const function, added getParFromID() function.
13713 * buffer.[Ch]: added const version for inset_iterator functions,
13714 added getInsetFromID() function.
13716 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13717 changed undo functions for new version.
13719 2001-07-05 Juergen Vigna <jug@sad.it>
13721 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13722 unknow mechanism does not call the proper constructor but only this
13723 one also if I request the other!?
13725 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13729 * text2.C (LyXText): use initialization lists.
13731 * lyxtext.h (Selection): initialize set_ and mark_
13732 (init): remove method
13734 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13736 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13738 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * screen.[Ch]: change method names to begin with lowercase
13742 * BufferView_pimpl.C (updateScrollbar): simplify further and
13743 hopefully make it a bit faster.
13745 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13747 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13748 calling directly xforms functions.
13750 * Painter.C (Painter):
13751 * lyx_cb.C (MenuWrite):
13752 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13755 * lyx_gui.C: remove bogus guiruntime extern declaration.
13757 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13759 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13761 (redoDrawingOfParagraph): ditto
13762 (redoParagraphs): ditto
13763 (cutSelection): don't create a object for CutAndPaste use the
13764 static method directly
13765 (pasteSelection): ditto
13767 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13770 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13772 * modifications to some other files because of this.
13774 * Makefile.am (lyx_SOURCES): add XFormsView
13776 * XFormsView.[Ch]: new files
13778 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13779 the main window. Move the gui dependent stuff to XFormsView
13781 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13783 * tabular.C (GetCellInset): update cur_cell also in the row/col
13784 version of this function.
13786 * lyxfunc.C: no need to include figure_form.h here.
13792 * lyxvc.C: no need to include forms.h here.
13794 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13796 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13798 * lyxfunc.C (Dispatch):
13800 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13801 constructor argument.
13803 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * paragraph.C (Paragraph): dont't clear, and just set layout.
13806 (makeSameLayout): use params's copy contructor.
13808 * ParagraphParameters.[Ch] (makeSame): delete method
13810 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13812 * Variables.[Ch]: fix indentation, rename set to isSet
13814 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * lyxfunc.C (Dispatch): fix typo
13818 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13823 * bufferlist.C: include assert.h for emergencyWrite().
13825 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13827 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13828 give up at last (bug #425202) !
13830 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13836 * spellchecker.C: strip spellchecker options and bring up
13837 preferences tab instead
13839 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13842 the istringstream constructor
13844 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13846 * paragraph.C (getLayout): fix return value
13848 * paragraph.h: do not declare getLayout as inline.
13850 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13852 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * lyxcursor.h (operator<): new func
13855 (operator>): new func
13856 (operator>=): new func
13857 (operator<=): new func
13859 * text.C (changeCase): use selection.start and selection.end
13860 (changeRegionCase): require from to be <= to. Require par to be a
13863 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13865 2001-06-27 Juergen Vigna <jug@sad.it>
13867 * text.C (cursorLeftOneWord): changed to return the cursor and added
13868 overlay with BufferView * parameter which calls this one.
13870 (selectWord): use new getWord function.
13871 (changeCase): renamed from changeWordCase as and extended to work
13872 also on selections.
13874 * lyxtext.h: added enum word_location
13876 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13877 changeCase as this operates now also on selections.
13879 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13881 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13883 * many files: send debug output to Debug::INFO instead of
13886 * converter.C (View):
13888 (Move): send debug output to Debug::FILES instead of console.
13890 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13892 * lyxfunc.C (getStatus): use func_status
13894 * func_status.h: new header, describing the results of
13895 LyXFunc::getStatus;
13897 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13900 2001-06-25 The LyX Project <jug@sad.it>
13902 * buffer.C (sgmlOpenTag):
13904 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13906 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * text2.C: remove some dead code
13910 * tabular.C (GetCellInset): store the last cell checked (gotten)
13912 * tabular.h: add the helper for the speedup
13914 * lyxtext.h: remove some dead code
13916 2001-06-26 The LyX Project <Asger>
13918 * paragraph.C: Change export to LaTeX of alignment to
13919 \begin{center} and family for better roundtrip work with reLyX.
13921 * Tune the math drawing a bit.
13923 2001-06-25 The LyX Project <Asger>
13925 * LColor.C (LColor): New color for math background. New color
13928 2001-06-25 The LyX Project <jug@sad.it>
13930 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13932 * lyxfunc.C (Open):
13933 * bufferlist.C (newFile): do not restrict to files ending with
13936 * BufferView_pimpl.C (MenuInsertLyXFile):
13938 2001-06-24 The LyX Project <jug@sad.it>
13940 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13943 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * lyxtext.h: rename most methods to begin with a small char.
13946 Lots of changes because of this.
13948 * paragraph.C (Paragraph): do not call fitToSize
13949 (erase): call Pimpl::erase
13950 (insertChar): call Pimpl::insertChar
13951 (insertInset): call Pipl::insertInset
13952 (breakParagraph): do not call fitToSize
13953 (breakParagraphConservative): do not call fitToSize
13954 (fitToSize): remove method
13956 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13958 2001-06-24 The LyX Project <Asger>
13960 * Fix Qt compilation^2
13962 2001-06-24 The LyX Project <jug@sad.it>
13964 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13965 depthHook(getDepth()-1).
13968 * ParagraphParameters.h:
13969 * ParameterStruct.h: change type of depth to unsigned int ==
13970 depth_type. Many adaptations to other files before of that.
13972 2001-06-24 The LyX Project <Asger>
13974 * Fix Qt compilation.
13976 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13978 * paragraph.h: renamed several methods to begin with small letter.
13979 several changes to many parts of the code because of this.
13981 2001-06-23 The LyX Project <jug@sad.it>
13983 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13984 rewritten to discard all double spaces when KeepEmpty is off
13985 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13986 to only handle newlines but not fiddle with spaces and friends.
13988 * lyxfunc.C (MenuNew): when doing 'new from template', use
13989 template_path as default directory
13991 2001-06-23 The LyX Project <Asger>
13993 * Clean-up of header file includes all over
13994 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13996 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13998 * paragraph.h: renamed from lyxparagraph.h
14000 2001-06-23 Asger <lyx@violet.home.sad.it>
14002 * Buffer.h: Removed Buffer::resize
14003 * BufferList.h: Removed BufferList::resize
14004 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14005 the document lazily when we change the width, or the font settings.
14007 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14009 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14011 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14013 * buffer.h: remove out of date comment
14015 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14018 * screen.C: fix "theoretical" GC leak
14020 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14022 * LaTeX.C (scanAuxFile):
14023 (deplog): remove trailing \r when reading stream (useful under
14026 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14028 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14029 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14030 and BufferView::theLockingInset(Inset*), so should use them and not
14031 access bv_->text->the_locking_inset directly.
14033 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14035 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14038 * tex-defs.h: remove old unused file
14040 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14042 * BufferView_pimpl.C: fix typo, remove minibuffer message
14043 when buffer has loaded
14045 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * lyxfunc.C (Dispatch): use stringstream
14048 (MenuNew): use stringstream
14049 (Open): use stringstream
14051 * importer.C (Import): use stringstream
14053 * bufferview_funcs.C (CurrentState): use stringstream
14055 * LaTeX.C (run): use stringstream
14057 * BufferView_pimpl.C (savePosition): use stringstream
14058 (restorePosition): use stringstream
14059 (MenuInsertLyXFile): use stringstream
14061 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14074 * vspace.C: removed // -*- C++ -*- as first line.
14077 * version.h: added // -*- C++ -*- as first line.
14079 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14081 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14083 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14086 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14088 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14091 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * gettext.C: include LString.h even when --disable-nls is on.
14095 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14097 * converter.h (Get): changed argument type from int to
14098 FormatList::size_type to avoid unnecessary conversion.
14100 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14103 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * gettext.h: include LString.h even when --disable-nls is on.
14107 2001-06-07 Juergen Vigna <jug@sad.it>
14109 * text.C (BreakAgain): subst spaces with tabs.
14111 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14112 (resizeInsetsLyXText): set force on resizeLyXText.
14114 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * gettext.h (gettext_init):
14117 (locale_init): use a real definition instead of a macro
14119 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14121 * Bufferview_pimpl.C:
14123 * LColor.C: further lcolor tidies
14125 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14127 * BufferView_pimpl.C (updateScrollbar): simplify.
14129 * BufferView2.C: don't include insets/insetinfo.h, change
14130 prototype for insertInset and call the Pimpl version. let
14131 updateInset call Pimpl version.
14133 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14134 gotoInset to BufferView::Pimpl
14136 2001-06-01 Juergen Vigna <jug@sad.it>
14138 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14139 inside a LockingInset (is the update needed at all?).
14141 2001-05-31 Juergen Vigna <jug@sad.it>
14143 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14144 here not the old one otherwise how should we compare it afterwards
14147 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14152 * FontInfo.C: bring C functions into global namespace when
14155 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * LString.h: make sure config.h has been loaded before LString.h.
14159 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14160 (one for each char read by EatLine!).
14162 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14165 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14168 to the same as the par we break from
14170 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14174 * MenuBackend.C (expand): also create menu entries for wide
14175 versions of the floats.
14177 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14179 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14181 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14182 frontends/Makefile.am
14188 * tabular.C (getTokenValue): add std::
14190 * tabular-old.C (getTokenValue): add std::
14191 (getTokenValue): ditto
14192 (getTokenValue): ditto
14194 * screen.C (ToggleSelection): adjust
14196 * lyxtext.h: put selection cursors inside a Selection struct.
14198 * lyxfunc.C (moveCursorUpdate): adjust
14200 * lyxfont.C (latexWriteStartChanges): add std::
14202 * lyxfind.C: adjust
14204 * font.h: delete with(char const *, LyXFont const &)
14206 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14208 * FontInfo.C (getFontname): add std::
14210 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14211 (workAreaButtonPress): adjust
14212 (tripleClick): adjust
14214 (moveCursorUpdate): adjust
14217 * BufferView2.C (gotoInset): adjust
14219 2001-05-30 Juergen Vigna <jug@sad.it>
14221 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14222 to check pspell I add this as default as I now have new pspell
14223 libraries and they seem to use this.
14225 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * text2.C (CutSelection): make the cursor valid before the call to
14230 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14233 relied on 0 terminated strings and other horrors. Bug found due to
14234 the new assert in lyxstring!
14236 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14239 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14244 * lyxfunc.C (processKeySym): change method of getting to the
14247 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14248 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14249 * BufferView_pimpl.[Ch]: here as private methods.
14251 2001-05-28 Juergen Vigna <jug@sad.it>
14253 * text.C (SetHeightOfRow): added the update() call again as it is
14254 needed to initialize inset dimensions!
14256 2001-05-16 Juergen Vigna <jug@sad.it>
14258 * text2.C (SetCharFont): Add new function with BufferView * and
14259 bool toggleall parameters for setting insets internal fonts.
14260 (SetFont): Freeze the undo as we may change fonts in Insets and
14261 all this change should be inside only one Undo!
14263 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14264 setting font's in insets as for them we have the SetFont function!
14266 2001-05-15 Juergen Vigna <jug@sad.it>
14268 * text2.C (ClearSelection): to be sure we REALLY don't have any
14271 * tabular.C (TeXCellPreamble): fixed the left border problem for
14274 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14276 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14279 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14282 LFUN_BREAKPARAGRAPH.
14284 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14285 help test to "internal only", similar for LFUN_INSERT_URL
14287 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14288 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14289 auto_region_delete and deadkeys.
14291 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14294 * LColor.C: remove some dead entries, tidy a little
14296 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14298 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14300 (Dispatch): implement LFUN_ESCAPE
14302 * commandtags.h: add LFUN_ESCAPE
14304 * LyXAction.C (init): add entry for LFUN_ESCAPE
14306 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14307 Remove commented code.
14308 (insertNote): moved here
14309 (open_new_inset): moved here
14311 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14314 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14316 * kbmap.C (findbinding): clean it up and make it work correctly.
14318 * lyx_main.C (init): do not pass argc and argv as parameters
14320 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14322 * buffer.C: fix path for OS/2 & Win32
14326 * lyx_main.C: Added os:: class.
14328 * os2_defines.h: update
14330 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14332 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14333 better by trying again with reduced state.
14335 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14337 * lyxrc.C (read): print error about invalid key sequence only when
14338 debugging (because not all latinX keysyms are known to some X
14341 * kbsequence.C (getiso): add a few std:: qualifiers
14342 (getiso): comment out extra return statement.
14344 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14346 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14348 (Dispatch): enhance the accent inset a bit. (not perfect)
14350 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14354 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * bufferlist.C (emergencyWrite): fix assert() call
14358 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14360 * text.C (InsertChar): Added trivial patch to only send the "you
14361 can not do multiple spaces this way" message once during a
14364 2001-05-08 Baruch Even <baruch@lyx.org>
14366 * Makefile.am: Changed order of libraries to get LyX to link properly
14367 with the gnome frontend.
14369 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * LaTeXFeatures.h: add a std:: qualifier
14373 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14375 * paragraph.C (String): use stringstream
14377 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14379 * paragraph.C (writeFile): remove footflag arg
14381 * buffer.C (makeLaTeXFile): use stringstream
14382 (latexParagraphs): remove footnot gurba
14384 * LaTeXFeatures.C (getPackages): use stringstream
14385 (getMacros): likewise
14386 (getTClassPreamble): likewise
14387 (getFloatDefinitions): new method
14389 * paragraph.C (writeFile): reindent
14392 * WorkArea.h: revert the xpos + etc changes.
14394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14396 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14398 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14399 (pasteSelection): likewise
14400 * text2.C (CreateUndo): likewise
14402 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14404 * minibuffer.C (peek_event): temporarily reduce the functionality
14405 of the minibuffer (to allow args on lfuns)
14407 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14408 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14410 * buffer.C (readInset): add compability reading of old float
14411 lists, add reading of new style float list.
14412 (readInset): avoid reevaluation of inscmd.getCmdName()
14413 (getLists): reindent
14415 * MenuBackend.C (MenuItem): implement parsing of
14416 md_floatlistinsert and md_floatinsert.
14417 (expand::LastFiles): move initalizaton of iterators out of loop,
14418 avoid reevaluation.
14419 (expand::Documents): introduce typdedef vector<string> Strings,
14421 (expand::ExportFormats): introduce typedef vector<Format const *>
14422 Formats, and use it.
14423 (expand): implement FloatListInsert and FloatInsert.
14425 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14426 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14427 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14429 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14431 (Dispatch::LFUN_FLOAT_LIST): implement
14433 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14435 * LaTeX.C (run): Fix problem with --export code.
14437 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14439 * BufferView.[Ch] (workarea): removed.
14440 (getClipboard) new method; wrapper for workarea()->getClipboard()
14442 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14445 * WorkArea.h (width, height, xpos, ypos): These methods all
14446 returned the dimensions of the work_area sub-area of WorkArea,
14447 resulting in a position error if the WorkArea were resized. Now
14448 return the dimensions of the entire WorkArea.
14450 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14452 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14454 * LaTeX.C (deplog): correct the syntax of regex reg1
14456 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14458 * undo.C: remove !NEW_INSETS cruft
14460 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * text2.C: remove !NEW_INSETS cruft
14464 * text.C: remove !NEW_INSETS cruft
14466 * tabular.C: remove !NEW_INSETS cruft
14468 * spellchecker.C: remove !NEW_INSETS cruft
14470 * lyxtext.h: remove !NEW_INSETS cruft
14472 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14474 * lyxfunc.C: remove !NEW_INSETS cruft
14476 * lyxfind.C: remove !NEW_INSETS cruft
14478 * lyx_cb.C: remove !NEW_INSETS cruft
14480 * figureForm.C: remove !NEW_INSETS cruft
14482 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14484 * buffer.[Ch]: remove !NEW_INSETS cruft
14486 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14488 * CutAndPaste.C: remove !NEW_INSETS cruft
14490 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14492 * BufferView2.C: remove !NEW_INSETS cruft
14494 * BufferView.h: remove !NEW_INSETS cruft
14496 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14498 * Lsstream.h: include LString.h before the sstream headers to
14499 fix problem with gcc 2.95.3 and lyxstring
14501 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14503 * lyx_main.C: add using directives when needed for C functions
14504 declared in std:: namespace.
14506 2001-04-27 Juergen Vigna <jug@sad.it>
14508 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14509 (SetHeightOfRow): comment out the update call should not be needed!
14511 2001-04-13 Juergen Vigna <jug@sad.it>
14513 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14514 (LyXTabular): tried to minimize operator= operations (and realized
14515 hopfully Lars wish).
14517 2001-04-27 Juergen Vigna <jug@sad.it>
14519 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14521 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14525 * buffer.C (readInset): hack to make listof algorithm work
14527 * BufferView_pimpl.C: hack to make listof algorithm work
14529 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14531 * LyXAction.C: removed all !NEW_INSETS cruft
14532 (init): moved lfun_item in method
14534 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14536 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14538 * BufferView2.C (theLockingInset): white space.
14540 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * minibuffer.C: include <iostream>
14544 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14546 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14548 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14550 * text.[Ch] (TransposeChars): new method
14552 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14554 * call message directly through LyXView instead of through LyXFunc
14555 * BufferView2.C: adjust
14556 * BufferView_pimpl.C: adjust
14557 * FontLoader.C: adjust
14559 * bufferview_funcs.C: adjust
14560 * converter.C: adjust
14561 * figureForm.C: adjust
14562 * importer.C: adjust
14564 * lyx_gui_misc.C: adjust
14565 * lyxfunc.C: adjust
14568 + more files in subdirs
14570 * lyxparagraph.h (size): move up int file
14573 * adjust all uses of Assert to lyx::Assert.
14575 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14576 lyxfunctional in namespace lyx
14577 * layout.C (hasLayout): ditto
14580 (delete_layout): ditto
14581 (NumberOfClass): ditto
14582 * converter.C (GetFormat): ditto
14587 * bufferlist.C (getFileNames): ditto
14588 (emergencyWriteAll): ditto
14591 * MenuBackend.C (hasSubmenu): ditto
14594 * BufferView_pimpl.C (getInsetByCode): ditto
14596 2001-04-18 Juergen Vigna <jug@sad.it>
14598 * vspace.C (asLatexString): fixed the 100% problem.
14600 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14602 * lyxfunc.C (Dispatch):
14604 * minibuffer.h: add a few std:: qualifiers
14606 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14608 * minibuffer.[Ch]: reimplement so that commands is initiated and
14609 run from lyxfunc, simplified som handling, and made the completion
14610 and history code for complete. wip.
14612 * lyxfunc.C (processKeySym): call message
14613 (miniDispatch): new temporary method
14614 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14615 (LFUN_MESSAGE): implement
14616 (LFUN_MESSAGE_PUSH): implement
14617 (LFUN_MESSAGE_POP): implement
14618 (initMiniBuffer): the initial/defualt minibuffer message.
14620 * lyxfont.[Ch]: inline some more getters
14622 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14624 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14626 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14627 (AutoSave): use LFUN_MESSAGE
14628 (Reconfigure): ditto
14630 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14632 * figureForm.C: use LFUN_MESSAGE
14634 * converter.C (runLaTeX): use LFUN_MESSAGE
14636 * bufferview_funcs.C: use LFUN_MESSAGE
14638 (changeDepth): ditto
14640 * bufferparams.h: use boost::
14642 * bufferlist.h: inherit privately from noncopyable
14644 * bufferlist.C (loadLyXFile): remove some commented code.
14646 * buffer.C (runChktex): use LFUN_MESSAGE
14648 * ShareContainer.h: inherit privately from noncopyable
14650 * ParagraphParameters.[hC] (depth): inline it.
14652 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14654 (message): new method
14655 (messagePush): ditto
14656 (messagePop): ditto
14657 (show): init minibuffer
14658 (showState): direct call
14660 * LaTeX.[Ch]: inherit privately from noncopyable
14661 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14662 instead of WriteStatus.
14664 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14666 * BufferView_pimpl.C (buffer): don't init minibuffer
14667 (workAreaButtonPress): use LFUN_MESSAGE
14668 (workAreaButtonRelease): ditto
14669 (savePosition): ditto
14670 (restorePosition): ditto
14671 (MenuInsertLyXFile): ditto
14672 (workAreaExpose): don't init minibuffer
14673 (update): remove commented code, simplify
14675 * BufferView2.C (openStuff): use LFUN_MESSAGE
14676 (toggleFloat): ditto
14679 (copyEnvironment): ditto
14680 (pasteEnvironment): ditto
14685 (updateInset): remove some commented code
14687 * lastfiles.h: inherit privately from noncopyable
14690 * lyx_main.h: ditto
14692 * lyxlex_pimpl.h: ditto
14694 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14695 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14696 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14698 * LyXAction.h: inherit privately from noncopyable, add methods
14699 func_begin, func_end, returning iterators to the func map.
14701 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14702 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14703 (func_begin): new method
14704 (func_end): new method
14706 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14708 (copySelection): ditto
14709 (pasteSelection): ditto
14711 * BufferView.C: whitespace change
14712 * BufferView.h: inherit privately from noncopyable
14714 2001-04-16 Allan Rae <rae@lyx.org>
14716 * tabular-old.C (l_getline):
14717 * spellchecker.C (sc_check_word):
14718 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14719 an unrecognised preprocessor directive. So ensure they're wrapped.
14721 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14723 * src/exporter.C (Export): Give an error message when path to file
14726 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14728 * LaTeX.C (deplog): Always check that foundfile exists.
14730 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14733 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14735 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14737 * tabular.[Ch] (getLabelList): implement new method
14739 * minibuffer.h: comment ouf setTiimer
14741 * minibuffer.C (ExecutingCB): constify res
14742 (peek_event): constify s
14743 (Set): constify ntext
14744 (Init): constify nicename
14746 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14748 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14749 (savePosition): use two params to Minibuffer::Set
14750 (restorePosition): ditto
14752 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * lyx_main.C: include language.h
14756 * Makefile.am (lyx_main.o): add language.h
14758 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * CutAndPaste.C: include gettext.h
14766 * lyxfont.h: remove old hack with ON and OFF.
14769 * lyxfont.h: do not include language.h...
14774 * bufferview_funcs.C:
14780 * paragraph.C: ... but do it here instead
14782 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14784 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14786 * tabular.C: small reformat
14788 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14791 (BreakParagraph): ditto
14792 (SetOnlyLayout): ditto
14795 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14798 * lastfiles.C: removed most using decl, add std:: where needed
14800 * buffer.C: ws changes
14802 * MenuBackend.C (class compare_format): put into anon namespace
14803 (expand): constify label, names, action, action2
14806 * text.C (SingleWidth): constify font
14807 (IsBoundary): constify rtl2
14808 (GetVisibleRow): constify ww
14810 * LaTeX.C (deplog): constify logfile
14812 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14814 (workAreaExpose): constify widthChange, heightChange
14816 * lyxrow.C (par): moved
14819 * lyxrow.h: as inlines here
14821 * lyxfont.h (shape): moved from lyxfont.C
14822 (emph): moved from lyxfont.C
14824 * lyxfont.C (LyXFont): use initialization list for all
14826 (shape): move to lyxfont.h as inline
14827 (emph): move to lyxfont.h as inline
14830 2001-04-04 Juergen Vigna <jug@sad.it>
14832 * vspace.C: had to include stdio.h for use of sscanf
14834 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14837 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14838 independent of xforms.
14840 2001-04-02 Juergen Vigna <jug@sad.it>
14842 * spellchecker.C: fixed namespace placing!
14844 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14846 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14847 the LyXParagraph * is 0.
14849 2001-03-29 Juergen Vigna <jug@sad.it>
14851 * vspace.C: added support for %, c%, p%, l%.
14852 (stringFromUnit): added helper function.
14853 (asLatexString): changed to give right results for the %-values.
14855 * buffer.C: convert the widthp in a width%.
14857 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14859 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14862 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14863 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14865 * lyx_cb.[Ch]: see above.
14867 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14871 * lyx.[Ch]: replaced by figure_form.[Ch].
14875 * lyxfunc.C: changed headers associated with above changes.
14877 2001-03-27 Juergen Vigna <jug@sad.it>
14879 * BufferView_pimpl.C: set the temporary cursor right!
14881 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14883 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14885 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14887 * LString.h: removed "using std::getline"!
14889 * BufferView_pimpl.C (Dispatch): changes due to changes in
14890 InsetInclude::Params.
14892 * buffer.C (tag_name): removed redundant break statements as they were
14893 producing lots of warnings with my compiler.
14895 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * LString.h: add "using std::getline" when using the real <string>.
14899 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14901 * buffer.C: removed bitset usage.
14902 PAR_TAG moved to an anonymous name space.
14903 (tag_name): new funtion, also in the anonymous namespace.
14904 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14905 (makeDocBookFile): clean code. Completed transition from string arrays
14907 (SimpleDocBookOnePar): code clean.
14909 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14911 * tabular.C: add some comments.
14913 2001-03-22 Juergen Vigna <jug@sad.it>
14915 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14916 compatibility read a bit and fixed bug with minipage in different
14919 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14921 * buffer.C (pop_tag): removed.
14922 (push_tag): removed.
14923 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14924 array replaced with vector. Added support for CDATA sections.
14925 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14927 (makeDocBookFile): XML conformant declaration of CDATA section,
14928 fixed bug related to <emphasis> in the first paragraph char.
14929 (sgmlOpenTag): exclude empty tags.
14930 (sgmlCloseTag): ditto.
14932 * buffer.h (pop_tag): removed.
14933 (push_tag): removed.
14935 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14937 * language.h (Languages): added size_type and size().
14939 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14941 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14942 response on compability reading of minipages. One probliem is that
14943 the old usage of minipages was «flertydig»
14945 * several files here and in subdirs: don't use static at file
14946 scope use anon namespaces instead.
14948 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14950 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14951 LaTeX output. This is necessary for Literate document
14954 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14956 * buffer.C: insert hfill when needed.
14958 * tabular.C (l_getline): use string::erase, small whitespace change.
14960 * BufferView_pimpl.C: try the anon namespace.
14961 * WorkArea.C: ditto
14963 2001-03-16 Juergen Vigna <jug@sad.it>
14965 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14966 otherwise it won't open options-dialogs.
14968 * buffer.C: honor pextraWidth(p) on converting minipages.
14970 * tabular.C (l_getline): changed the functions to strip trailing \r.
14972 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14974 * BufferView_pimpl.C:
14975 * minibuffer..C: added "using SigC::slot" declaration.
14977 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14979 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14985 * paragraph.C: ditto
14987 * lyxtext.h: NO_PEXTRA
14989 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14991 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14992 * ParameterStruct.h: ditto
14993 * ParagraphParameters.h: ditto
14994 * lyxparagraph.h: ditto
14996 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14998 * buffer.C: add compability for minipage alignment.
14999 (latexParagraphs): remove unwanted pextra check.
15001 * several files: remove CXX_WORKING_NAMESPACES
15003 * buffer.C (pop_tag): tie is in namespace boost
15005 * BufferView.h: noncopyable is in namespace boost
15007 * lyx_main.h: ditto
15010 * lastfiles.h: ditto
15011 * bufferlist.h: ditto
15012 * ShareContainer.h: ditto
15014 * LyXAction.h: ditto
15017 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15019 * Merging changes from BRANCH_MVC back into HEAD.
15021 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15023 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15025 * BufferView_pimpl.C: change from intl.C
15029 * Makefile.am: move combox.*
15035 * intl.C: remove dialog (covered by prefs)
15037 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15039 * lyxfunc.C (Dispatch): removed redundant break statement.
15041 2001-03-14 Juergen Vigna <jug@sad.it>
15043 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15045 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15047 * buffer.C: add hack to fix compability reading of minipages.
15049 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15051 * buffer.C (getLists): Cleanup.
15053 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15055 * lyxfont.C (update): don't honor toggleall on font size.
15057 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15061 * Makefile.am: moved to frontends/xforms/
15065 * BufferView_pimpl.C: changes for moved mathpanel
15067 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15069 * gettext.h: fix gettext_init() in --disable-nls
15071 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15075 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15078 * lyx.h: strip external form
15080 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15082 * BufferView_pimpl.C: add comment, destroySplash()
15084 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15086 * BufferView_pimpl.C:
15090 * lyxfunc.C: use re-worked insetinclude
15092 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15094 * buffer.C: add using std::stringstream.
15096 * lyx_cb.C: readd using std::ios.
15098 * buffer.C: add using std::map.
15100 * BufferView_pimpl.C: add using std::vector.
15102 * ShareContainer.h: add std:: to swap.
15104 * buffer.h: add some typedefs
15105 * buffer.C (getLists): use them
15106 (getLists): renamed from getTocList.
15107 add a counter for the different float types and use it in the
15109 (getLists): use the same counter for the NEW_INSETS and the "non"
15112 * lyx_cb.h: remove unused items, includes, using etc.
15114 * ShareContainer.h: remove some commented code, add more comments
15115 and "documentation".
15117 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15119 * buffer.C (getTocList): make the list also when NEW_INSETS is
15122 * buffer.h: remove TocType
15124 * buffer.C (getTocList): change to return a map<string,
15125 vector<TocItem> >, implement for dynamic number of list.
15127 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15128 * text2.C (PasteSelection): adjust
15129 * CutAndPaste.C (pasteSelection): adjust
15131 * FloatList.C (FloatList): update from the new_insets branch.
15132 * Floating.[Ch]: ditto
15133 * LaTeXFeatures.C: ditto
15135 * lyxlex_pimpl.C: ditto
15137 * paragraph.C (Last): remove when NEW_INSETS is defined.
15139 * other file: changes because of the above.
15141 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15143 * lyxparagraph.h: rename next to next_, previous to previous_,
15144 make them private for NEW_INSETS. Rename Next() to next(),
15145 Previous() to previous().
15147 * other files: changes because of the above.
15149 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15152 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15155 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15157 * main.C (main): pass lyx_localedir to gettext_init().
15159 * gettext.h: remove locale_init and gettext_init macros
15161 * gettext.C (locale_init): new function
15162 (gettext_init): new function
15164 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15167 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15169 * Moved credits to frontends:
15170 * credits.[Ch]: removed
15171 * credits_form.[Ch]: removed
15172 * lyx_gui_misc.C: remove credits stuff
15175 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15177 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15179 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15180 unneeded destructor.
15182 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15183 a standalone pointer again.
15185 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15187 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15193 * ToolbarDefaults.C:
15202 * BufferView_pimpl.C: use new file dialog in GUII
15205 * lyx_cb.C: remove LayoutsCB to Toolbar
15207 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15209 * ShareContainer.h (get): add std:: qualifier
15211 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * ShareContainer.h: define a proper ShareContainer::value_type
15214 type (and use typename to please compaq cxx)
15216 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15218 * lyxparagraph.h: move serveral local vars to
15219 ParameterStruct/ParagraphParameters., use ShareContainer in
15220 FontTable., make vars in FontTable private and add getter and
15223 * paragraph.C: changes because of the above.
15225 * lyxfont.h: remove copy constructor and copy assignment. (the
15226 default ones is ok), move number inside FontBits. move inlines to
15229 * lyxfont.C: add number to initializaton of statics, move several
15230 inlines here. constify several local vars. some whitespace
15231 cleanup. Dont hide outerscope variables.
15233 * Spacing.h: add two new constructors to match the set methods.
15235 * ShareContainer.h: new file, will perhaps be moved to support
15237 * ParameterStruct.h: new file
15239 * ParagraphParameters.h: new file
15241 * ParagraphParameters.C: new file
15243 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15244 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15246 * BufferView_pimpl.C: ParagraphParameter changes.
15247 * buffer.C: Likewise.
15248 * bufferview_funcs.C: Likewise.
15249 * text.C: Likewise.
15250 * text2.C: Likewise.
15252 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15254 * lyxfind.C (LyXReplace): do not redefine default argument in
15256 (IsStringInText): ditto
15257 (SearchForward): ditto
15258 (SearchBackward): ditto
15260 2001-03-06 Juergen Vigna <jug@sad.it>
15262 * lyxfind.C (IsStringInText): put parentes around expressions.
15264 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15266 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15268 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15270 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15272 * stl_string_fwd.h: add comment
15274 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15277 * tabular.C: remove unused DocBook methods
15283 killed DO_USE_DEFAULT_LANGUAGE
15285 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15287 * lyx_gui.C: do not include language.h.
15289 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15290 arguments in function implementation.
15292 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15294 * BufferView_pimpl.C: add <ctime>
15296 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15298 * BufferView_pimpl.C: add using std::find_if
15300 2001-02-27 José Matos <jamatos@fep.up.pt>
15302 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15305 2001-02-11 José Matos <jamatos@fep.up.pt>
15307 * buffer.C (makeDocBookFile): command styles now have a parameter as
15308 "title" by default.
15310 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15312 * layout_forms.[Ch]: removed
15313 * lyx_cb.[Ch]: out character
15314 * lyx_gui.C: out character
15315 * lyx_gui_misc.C: out character
15316 * bufferview_funcs.C: : out character,
15317 added toggleall as parameter in ToggleAndShow
15319 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15321 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15323 * text2.C (SetCurrentFont): Disable number property at boundary.
15325 2001-02-26 Juergen Vigna <jug@sad.it>
15327 * lyxfunc.C (getStatus): added a string argument override function so
15328 that this is correctly called from LyXFunc::Dispatch if it contains a
15329 do_not_use_argument which is used!
15330 (Dispatch): added check for "custom" export and call appropriate func.
15332 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15334 * lyxrc.C: Add language_command_local, language_use_babel and
15335 language_global_options.
15337 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15339 * buffer.C (makeLaTeXFile): Use language_use_babel and
15340 language_global_options.
15342 2001-02-23 Juergen Vigna <jug@sad.it>
15344 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15345 which works with LyXText and putted it inside BufferView. Here now we
15346 only call for that part the BufferView::Dispatch() function.
15348 * BufferView.C (Dispatch): added.
15350 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15351 functions which needs to use a LyXText over from LyXFunc.
15352 (MenuInsertLyXFile): added
15353 (getInsetByCode): added
15354 (moveCursorUpdate): added
15355 (static TEXT): added
15357 2001-02-22 Juergen Vigna <jug@sad.it>
15359 * BufferView_pimpl.C (update): call a status update to see if LyXText
15362 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15364 * vc-backend.C (revert): implement for CVS
15365 (getLog): implement for CVS
15367 2001-02-20 Juergen Vigna <jug@sad.it>
15369 * text2.C (ClearSelection): added BufferView param for inset_owner call
15371 * lyxfunc.C (TEXT): added this function and use it instead of
15372 directly owner->view()-text of getLyXText().
15374 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15376 * src/layout_forms.C: out preamble
15377 * src/layout_forms.h: out preamble
15378 * src/lyx_cb.C: out preamble
15379 * src/lyx_cb.h: out preamble
15380 * src/lyx_gui.C: out preamble
15381 * src/lyx_gui_misc.C: out preamble
15382 * src/lyxfunc.C: connect with guii preamble
15384 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15386 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15388 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15390 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15391 whether to run bibtex.
15393 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15395 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15397 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15399 * Makefile.am (lyx_SOURCES): removed bibforms.h
15401 * vspace.h: doxygen
15403 * text.C (GetVisibleRow): make several local vars const
15405 * tabular.C: small cleanup.
15407 * lyxserver.C (callback): use compare instead of strncmp
15409 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15410 inlines to after class or to paragraph.C
15412 * lyxfont.h: remove friend operator!=
15414 * converter.h: move friend bool operator< to non friend and after
15417 * combox.h: small cleanup
15419 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15420 to inlines after class def.
15422 * buffer.C (pop_tag): use string operations instead of strcmp
15424 * bmtable.c: doxygen, small cleanup
15426 * LaTeX.h: remove friend operator==
15428 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15440 * BufferView_pimpl.C:
15441 * BufferView.[Ch]: remove cruft
15443 2001-02-14 Juergen Vigna <jug@sad.it>
15445 * lyxfunc.C: removed #if 0 unused code
15447 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15449 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15451 * text2.C (SetSelection): added a BufferView * parameter
15453 2001-02-13 Juergen Vigna <jug@sad.it>
15455 * lyxfunc.C (Dispatch): fixed protected blank problem.
15456 * BufferView2.C (protectedBlank): added LyxText * parameter.
15458 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15459 (AppendColumn): same as above for column_info.
15461 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15462 (moveCursorUpdate): use a LyXText param for support of InsetText.
15464 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15465 (tripleClick): ditto
15467 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15469 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15471 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15473 * text2.C (SetSelection): set correct update status if inset_owner
15474 (ToggleFree): ditto
15476 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15478 * tabular.C: remove some commented code.
15480 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15482 * BufferView_pimpl.C: call hideSplash()
15484 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15487 * bibforms.h: remove
15490 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15491 add LFUN_CHILD_CREATE
15493 * counters.h: fix tiny typo
15498 * lyx.C: move splash to frontends/xforms/
15500 * lyx_gui_misc.C: move Include and Bibform to frontends
15502 * lyxvc.h: clarify comment
15504 * vspace.C: tiny housekeeping
15506 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15508 * text.C (PrepareToPrint): RTL Fix.
15510 * paragraph.C (GetUChar): New method.
15511 (String): Use GetUChar.
15513 * buffer.C (asciiParagraph): Use GetUChar.
15515 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15517 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15519 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15522 * buffer.C: rename to getLogName(), handle
15523 build log / latex log nicely
15525 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * MenuBackend.h: remove support for reference menuitem type.
15530 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15532 * BufferView_pimpl.C: housekeeping
15533 * BufferView_pimpl.h:
15538 * minibuffer.h: move Timeout GUI-I
15540 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15542 * lyxrc.C (read): Update converters data-structures.
15544 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15546 * LaTeX.h (operator!=): add operator != for Aux_Info
15548 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15550 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15552 * LaTeXLog.C: deleted, useful code moved to Buffer
15555 * buffer.C: new function getLatexLogName()
15561 * lyxfunc.C: use frontends for LaTeX and VC logs
15563 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * LaTeX.h: yet another std:: that Allan forgot.
15567 * Variables.C (set): renamed from isset(), because this clashes
15568 with some HP-UX macros (grr).
15570 2001-02-06 Allan Rae <rae@lyx.org>
15572 * LaTeX.h: Another bug fix. Missing std:: this time.
15574 2001-02-04 Allan Rae <rae@lyx.org>
15576 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15577 floats problem. I've left it commented out because it's not quite
15578 correct. It should also test that the current object is a table or
15579 figure inset. But I haven't gotten around to figuring out how to do
15580 that. I *think* it'll be something like: "table" == inset.type()
15582 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15585 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15587 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15588 all the citation/databases/styles in the auxilary file.
15589 (run): Rerun latex if there was a babel language error.
15591 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15593 * text.C (Backspace): Preserve the font when changing newline char
15595 (BreakParagraph): If the cursor is before a space, delete the space.
15597 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15599 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15601 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15602 new argument (code).
15603 (ChangeCitationsIfUnique): New method.
15605 * paragraph.C (GetPositionOfInset): Handle bibkey.
15607 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15609 * BufferView_pimpl.h: change type of Position::par_pos to
15610 LyXParagraph::size_type.
15612 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15614 * BufferView_pimpl.C (savePosition, restorePosition): Write
15615 messages to minibuffer.
15617 2001-01-28 José Matos <jamatos@fep.up.pt>
15619 * buffer.C (makeDocBookFile): adds support for document language.
15620 A silly restriction on the name of LatexCommand types where removed.
15621 Added support for CDATA sections, allows to chars unescaped, used
15622 among others in code, to avoid escape < and >.
15624 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15626 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15627 saved positions instrad of a stack. Furthermore, a position is
15628 stored using paragraph id/paragraph position.
15630 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15631 Remove LFUN_REF_BACK.
15633 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15635 * converter.C (dvipdfm_options): New method.
15637 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15639 * vspace.C (isValidLength): Fix for empty input string.
15641 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15643 * LyXAction.C (init): change description of LFUN_FIGURE to
15646 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15648 * LaTeX.C: add using directive
15650 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15652 * MenuBackend.C (expand): Fix the sorting of the formats.
15654 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15656 * lyx_main.C: tiny error message fix
15658 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15660 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15661 calling fl_initialize(). This fixes the problem with ',' as
15662 decimal separator in text files.
15664 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15666 * trans.C (process): Fix the keymap bug.
15668 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15670 * LaTeX.C (scanAuxFiles): New method. Provides support for
15671 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15672 (scanLogFile) Scan for "run BibTeX" messages.
15674 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15675 OT1 font encoding. Also, load the aecompl package if the ae
15678 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15680 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15682 * texrow.C (increasePos): turn two error messages into debug
15685 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15687 * LaTeX.C (scanAux): Handle the \@input macro.
15688 (runBibTeX): Use scanAux().
15690 * language.C (latex_options_): New field.
15692 * LaTeXFeatures.C (getMacros): Add language macros.
15694 * buffer.C (makeLaTeXFile): Small fix.
15696 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15698 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15700 * text2.C: add a using directive.
15702 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15707 * lyxfunc.C: kill LyXBell.
15709 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15711 * text.C (IsBoundary): Remove the error message
15713 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15715 * lyxrc.C (setDefaults): Correct initialization value for
15718 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15720 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15723 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15724 and GotoNextNote().
15726 * src/LyXAction.C: Added reference-next.
15728 * text.C (InsertChar): Use contains instead of strchr.
15730 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15732 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15734 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15735 alignment commands (when needed).
15737 * text.C (InsertChar): Add ':' to number separator chars.