1 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * text3.C (dispatch): remove special handling of button 4 and 5,
4 it is now taken care of in the frontend code.
6 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * Spacing.h: add <string> (STLPort compile fix)
10 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
12 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
15 * converter.C (showMessage): inherit from unary_function, make
18 * buffer.C (writeFile): initialize retval
20 * InsetList.h: rename private variable list to list_
21 * InsetList.[Ch]: adjust accordingly.
23 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
25 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
26 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
27 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
28 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
29 * ParagraphParameters.C, LaTeXFeatures.C: replace
30 "support/std_sstream.h" with <sstream>
32 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
35 * lyxsocket.C (LyXServerSocket): ditto
36 (serverCallback): ditto
38 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
40 * LaTeXFeatures.C: check release date when loading jurabib.
42 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
44 * lyxserver.C (startPipe): call register_socket_callback
45 (endPipe): call unregister_socket_callback
47 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
49 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
50 (LyXServerSocket): register the callback
51 (LyXServerSocket): unregister the callback
53 (serverCallback): improve error checking and setup the callbacks.
54 (dataCallback): change arg to fd.
55 (writeln): new func (copied fro the client socket) used for server
57 (LyXDataSocket): simplify
58 (~LyXDataSocket): close ann unregiser callback
59 (server): delete function
61 (readln): small changes, improve some std::string usage
62 (writeln): constify a bit
64 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
69 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * BufferView_pimpl.C (setBuffer): set the layout combox value only
72 after it has been populated
74 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * text2.C (insertInset): move cursor when inserting inset.
78 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * kbmap.C (findbindings): a couple of new methods. returns a
81 container of kb_sequence objects. The real work is done by the
82 private recursive version
83 (printbindings): uses findbindings to print out a bracketed list
84 of bindings (renamed from findbinding).
86 * MenuBackend.C (binding): use kb_keymap::findbindings
88 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
90 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
92 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
94 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * paragraph.C (isWord): return true on insets that report
99 * text.C (getWord): use Paragraph::isWord to decide what is in a
100 word and what is not; fix bug 1609.
102 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
104 * tex-strings.C: add "none" to string_paperpackages[], fixes
105 off-by-one-error in the paperpackage selection.
108 * tex-strings.[Ch]: char const * string[n]
109 -> char const * const string[]
111 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
114 command, return early.
116 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
118 * debug.h: add DEBUG to enum and fix size of ANY.
120 * debug.C: add support for Debug::DEBUG
121 (showTags): cast errorTags.level to unsigned int
123 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
124 (redoCurrentBuffer): ditto
125 (updateScrollbar): ditto
126 * cursor.C (dispatch): ditto
127 * text2.C (setLayout): ditto
129 (updateCounters): ditto
131 (deleteEmptyParagraphMechanism): ditto
133 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
135 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
136 annotations to cleanup the Makefile slightly.
138 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * lyxrc.C: do not set user_email to a default value but use empty
141 instead. The entry used to be translated, which does not work
142 since at the point where lyxrc is constructed there is no
143 translation service available
145 * messages.C (getLocaleDir): remove and use directly
146 lyx_localedir() instead
148 2004-06-02 Angus Leeming <leeming@lyx.org>
150 Fix crash caused by dereferencing null pointer 'exportdata' in
151 OutputParams by creating a new ExportData variable on the heap,
152 storing it in a boost::shared_ptr.
153 The crash was triggered when generating an Instant Preview
154 of an external inset.
156 * Makefile.am: add outputparams.C
158 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
159 (c-tor): allocate memory to it.
161 * exporter.C (c-tor): associated changes.
163 2004-06-01 Angus Leeming <leeming@lyx.org>
165 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
166 contains data before calling isInset(0). (Bug 1513.)
168 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
170 * exporter.C (checkOverwrite): new method
171 * exporter.C (copyFile): new method
172 * exporter.C (Export): copy referenced files to the document dir
173 * exporter.[Ch]: new class ExportedFile
174 * exporter.[Ch]: new class ExportData. Contains currently the
175 names of referenced external files
176 * outputparams.h: add exportdata member.
178 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
183 2004-05-19 Angus Leeming <leeming@lyx.org>
188 * lyxfunc.C: small changes due to the introduction of namespace
189 lyx::frontend and the moving of namespace biblio to lyx::biblio.
191 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
193 * text3.C (dispatch): supress update when only moving the cursor
194 * cursor.C (selHandle): remove commented code
196 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
198 * paragraph.C (startTeXParParams): correct column count
199 * CutAndPaste.C (pasteSelection): remove const_cast
200 * output_docbook.C (docbookParagraphs): remove const_cast
201 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
202 const_cast and return ParagraphList::const_iterator
203 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
204 * output_plaintext.C (writeFileAscii): remove const_cast
205 * paragraph.[Ch] (simpleTeXOnePar): make const
206 * paragraph_funcs.C (outerPar): use const iterators
207 * paragraph_pimpl.C (validate): use const iterators
208 * text.C (setHeightOfRow): use const iterators
210 2004-05-17 Angus Leeming <leeming@lyx.org>
213 * LyXAction.C (init): new LFUN_INSET_REFRESH.
215 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
216 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
217 if the citation engine has changed.
219 2004-05-14 José Matos <jamatos@lyx.org>
221 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
222 if the textclass does not provide it. Have it different for sgml and
224 support the language of document.
225 * output_docbook.C (docbookParagraphs):
226 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
227 first anchor as the id of the paragraph, remove special case code.
228 * sgml.C (escapeChar): escape only < & >.
230 2004-05-14 Angus Leeming <leeming@lyx.org>
232 * bufferparams.h: move biblio::CiteEngine enum here to minimize
233 dependencies on src/frontends/controllers/biblio.h. Define a
234 CiteEngine_enum wrapper class to enable the enum to be forward
237 2004-05-12 Angus Leeming <leeming@lyx.org>
239 * buffer.C: up LYX_FORMAT to 234.
240 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
241 use_numerical_citations with a single biblio::CiteEngine cite_engine
243 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
245 2004-05-13 José Matos <jamatos@lyx.org>
248 * converter.C (Converter, readFlags): add xml member.
249 * outputparams.h: add XML flavor.
250 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
252 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * lyxfunc.C (dispatch):
255 (getStatus): fix handling of LFUN_SEQUENCE
257 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * debug.C (showLevel): do not forget the end-of-line marker
261 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * kbmap.C (read): do not stop parsing a bind file when an error
266 2004-04-29 Angus Leeming <leeming@lyx.org>
271 * text2.C: wrap a bunch of #warning statements
272 inside #ifdef WITH_WARNINGS blocks.
274 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
276 * buffer.C: increment format to 233.
278 2004-04-28 Angus Leeming <leeming@lyx.org>
280 * BufferView_pimpl.C:
283 s/updateToolbar()/updateToolbars()/
284 s/Toolbar.h/Toolbars.h/
286 2004-04-28 Angus Leeming <leeming@lyx.org>
288 * BufferView.[Ch] (c-tor):
289 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
290 No longer passes these data to the WorkArea generator.
292 2004-04-28 Angus Leeming <leeming@lyx.org>
294 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
296 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
298 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
300 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * output_latex.C (TeXEnvironment): make sure that there is a line
303 break before \end{foo} for the last paragraph of a document
304 (TeXOnePar): if the paragraph is at the end of the document (or
305 inset) and the language has to be reset, then make sure that the
306 line break is _before_ the language command, not after (fixes bug
307 1225); also make sure that the language reset command is the first
308 thing after the paragraph (to ensure proper nesting of
309 environments and thus fix bug 1404)
311 2004-04-21 John Levon <levon@movementarian.org>
314 * ToolbarBackend.C: make "name" be a programmatic name
315 and a gui_name field.
317 * lyxfunc.C: display the minibuffer on M-x
319 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
324 2004-04-19 Angus Leeming <leeming@lyx.org>
326 * BufferView_pimpl.C (setBuffer): changed preview interface.
328 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
331 2004-04-19 John Levon <levon@movementarian.org>
333 * BufferView_pimpl.C:
334 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
336 2004-04-05 Angus Leeming <leeming@lyx.org>
338 * text.C (redoParagraphs): add call to updateCounters(), thereby
339 fixing the missing "Figure #:" label from the caption of a
342 2004-04-13 Angus Leeming <leeming@lyx.org>
344 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
345 cursor is clicked out of an inset.
347 2004-04-13 Angus Leeming <leeming@lyx.org>
349 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
350 than an InsetOld one.
352 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * format.[Ch]: add editor to Format
355 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
356 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
358 2004-04-08 André Pönitz <poenitz@gmx.net>
360 * metricsinfo.h: remove PainterInfo::width member
362 2004-04-08 Angus Leeming <leeming@lyx.org>
364 * lyx_sty.C (boldsymbol_def): modify so that it outputs
365 "\providecommand" rather than "\newcommand", thereby preventing
366 clashes with packages that define "\boldsymbol" themselves.
369 2004-04-08 Angus Leeming <leeming@lyx.org>
371 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
372 thereby squashing an unnecessary warning.
374 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
376 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
379 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
381 * BufferView.C (setCursor): call redoParagraph (some insets could
383 (putSelectionAt): remove the 'double update' trick
385 * BufferView_pimpl.C (fitCursor): call refreshPar
386 (workAreaDispatch): remove an uneeded update call
387 (dispatch): remove some manual update calls
389 * cursor.[Ch]: remove cached_y_, updatePos
390 (selHandle): set noUpdate when appropriate
392 * lyxfunc.C (dispatch): track if we need an update
394 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
396 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
397 (paintSelection): cheap optimization, do not call cursorX when not
399 (paintPars): change signature
402 (paintTextInset): adjust
406 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
408 * lengthcommon.C: compilation fix: remove explicit array size from
409 unit_name[] and friends
411 2004-04-05 Angus Leeming <leeming@lyx.org>
413 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
415 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
416 present only for the preferences dialog.
417 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
419 2004-04-05 Angus Leeming <leeming@lyx.org>
421 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
422 to enable the frontends to export changes to lyxrc correctly.
424 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
426 2004-04-07 André Pönitz <poenitz@gmx.net>
428 * cursor.[Ch] (selClear, adjust): remove math
430 * cursor_slice.C: more agressive assert
433 * BufferView_pimpl.C: rework mouse event dispatch
440 2004-04-05 André Pönitz <poenitz@gmx.net>
442 * cursor.[Ch] (valign, halign...): remove unneeded functions
444 2004-04-05 Angus Leeming <leeming@lyx.org>
446 * lyxlength.[Ch] (unit_name et al.): const-correct.
448 2004-04-05 Angus Leeming <leeming@lyx.org>
450 * BufferView_pimpl.C:
459 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
461 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
463 * text3.C (getStatus): add LFUN_BEGINNINGBUF
465 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
467 * lyxfind.C: add a couple of inTexted() tests + other small fixes
468 * BufferView_pimpl.[Ch] (getStatus)
469 * BufferView.[Ch] (getStatus): add
470 * lyxfunc.C (getStatus): move lfuns handled in
471 BufferView::dispatch to te function above
472 * Cursor.C (setSelection): set selection() = true
474 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
476 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
478 2004-03-31 Angus Leeming <leeming@lyx.org>
480 * lyxfunc.C (dispatch): Fall through to the generic
481 Dialogs::show("preamble").
483 2004-03-31 Angus Leeming <leeming@lyx.org>
485 * lyxfunc.C (dispatch): Fall through to the generic
486 Dialogs::show("spellchecker").
488 2004-03-31 Angus Leeming <leeming@lyx.org>
490 * lyxfunc.C (getStatus, dispatch): changed invocation of the
493 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
498 * insetiterator.[Ch]:
503 * undo.[Ch]: s/DocumentIterator/DocIterator/g
505 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
507 * BufferView.C (setCursor, putSelectionAt): call edit to open the
508 insets where we are putting the cursor.
510 2004-03-31 Angus Leeming <leeming@lyx.org>
513 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
515 * lyxrc.[Ch] (read, write): overloaded member functions taking
516 a std::[io]stream arguments.
518 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
520 2004-03-31 Angus Leeming <leeming@lyx.org>
522 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
523 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
525 * lyxtextclass.C (load): if the text class couldn't be loaded, then
526 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
528 2004-03-31 Angus Leeming <leeming@lyx.org>
530 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
531 the LFUN_ALL_INSETS_TOGGLE code.
533 2004-03-30 Angus Leeming <leeming@lyx.org>
535 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
536 has died. Fall through to the generic Dialogs::show("document").
538 2004-03-30 Angus Leeming <leeming@lyx.org>
541 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
542 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
544 * lyxfunc.C (getStatus, dispatch): define the actions for these
545 lfuns. Little more than a cut and pste job from ControlDocument.C
547 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
549 2004-03-30 Angus Leeming <leeming@lyx.org>
552 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
553 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
555 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
556 open/closed state of ollapsable insets. Usage:
558 all-inset-toggle <state> <name>, where
559 <state> == "open" || "closed" || "toggle" and
560 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
562 * lyxtext.h, text2.C (toggleInset): removed.
564 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
565 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
566 now passes LFUN_INSET_TOGGLE to the found inset.
568 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
569 is now invoked as "all-insets-toggle toggle branch".
571 2004-03-30 Angus Leeming <leeming@lyx.org>
575 * pariterator.[Ch]: added/corrected header blurb.
577 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
579 * dociterator.[Ch]: add an inset_ member
580 (backwardPos): implemented
581 (backwardPos, forwardPos): use inset_ when the stack is empty.
582 (doc_iterator_begin, doc_iterator_end): implemented
583 * pariterator.[Ch]: adjust, add begin, end
584 * insetiterator.[Ch]: adjust, add begin, end
588 * BufferView_pimpl.C:
589 * CutAndPaste.C: adjust
591 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
593 * buffer.C: increment file format to 232.
594 * LaTeXFeatures.C: add bibtopic package.
595 * bufferparams.[Ch]: param \use_bibtopic.
597 * lyxrc.[Ch]: add lyxrc bibtex_command
598 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
600 * buffer.C: increment file format to 231.
602 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
604 * dociterator.C: implement forwardPar
605 * iterators.[Ch]: remove, replaced by
606 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
608 * BufferView_pimpl.C:
611 * bufferview_funcs.C:
617 * Makefile.am: adjust
619 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
621 * CutAndPaste.C (pasteSelection): fix 2 crashes
622 (eraseSelection): fix a crash
623 * paragraph_funcs.C: remove a warning
625 2004-03-28 Angus Leeming <leeming@lyx.org>
628 * LyXAction.C (init): new LFUN_PRINT.
630 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
632 2004-03-27 Angus Leeming <leeming@lyx.org>
635 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
637 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
639 2004-03-27 Angus Leeming <leeming@lyx.org>
641 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
642 insetlist always contains non-null pointers to insets.
644 2004-03-26 Angus Leeming <leeming@lyx.org>
646 * src/BufferView_pimpl.C:
650 * src/output_plaintext.C:
651 * src/outputparams.h:
652 * src/paragraph_funcs.C:
656 * src/frontends/controllers/ControlErrorList.C:
657 * src/frontends/gtk/FileDialogPrivate.C:
658 * src/frontends/gtk/GPainter.C:
659 * src/frontends/gtk/GToolbar.C:
660 * src/frontends/qt2/QRef.C:
661 * src/mathed/math_scriptinset.C: squash compiler warnings.
663 2004-03-26 Angus Leeming <leeming@lyx.org>
665 * ispell.C (LaunchIspell::start):
666 * lyx_cb.C (AutoSaveBuffer::start):
667 invoke run(DontWait) rather than runNonBlocking().
669 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
671 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
673 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * kbsequence.C (print): adjust
677 * kbmap.C (printKeySym): rename and change signature
678 (printKey): use LyXKeySym::print()
680 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
682 * undo.C: add using std::advance to compile for stlport
684 2004-03-24 Angus Leeming <leeming@lyx.org>
686 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
687 it leads to a crash when no buffer is present.
689 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 Martin Vermeer <martin.vermeer@hut.fi>
692 * lyxfunc.C (dispatch):
693 * bufferparams.C (readToken): use the new LColor::setColor
695 * LColor.[Ch] (setColor): new version that takes two strings as
696 argument and creates a new color entry if necessary
698 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
700 * buffer.C (makeLaTeXFile): if the main latex file that is
701 processed is usually a subdocument of some master, then pretend
702 for a while that it is actually the master
704 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
706 * buffer.C (getLabelList):
707 (getBibkeyList): use getMasterBuffer()
708 (getMasterBuffer): new method. Returns the main document in the
709 case where one is using included documents.
711 2004-03-25 André Pönitz <poenitz@gmx.net>
715 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
717 * ParagraphList_fwd.h: change ParagraphList to a std::vector
719 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
720 text*.C over here. Rename namespace CutAndPaste to lyx::cap
722 * ParameterStruct.h: merge with ParagraphParameters
724 * lyxtext.h: remove LyXText::parOffset() and getPar()
726 * text3.C: Remove all 'manual' update calls. We do now one per user
727 interaction which is completely sufficient.
731 * BufferView_pimpl.C:
734 * ParagraphParameters.[Ch]:
746 * output_docbook.[Ch]:
748 * output_linuxdoc.[Ch]:
749 * output_plaintext.[Ch]:
751 * paragraph_funcs.[Ch]:
752 * paragraph_pimpl.[Ch]:
760 * frontends/controllers/ControlDocument.C:
761 * frontends/controllers/ControlErrorList.C:
762 * frontends/controllers/ControlSpellchecker.C:
765 * insets/insetbase.h:
766 * insets/insetbibitem.C:
768 * insets/insetbranch.C:
769 * insets/insetcaption.C:
770 * insets/insetcharstyle.C:
771 * insets/insetcharstyle.h:
772 * insets/insetcollapsable.C:
773 * insets/insetcollapsable.h:
775 * insets/insetfloat.C:
776 * insets/insetfoot.C:
777 * insets/insetmarginal.C:
778 * insets/insetnote.C:
779 * insets/insetoptarg.C:
780 * insets/insettabular.C:
781 * insets/insettext.C:
782 * insets/insettext.h:
783 * insets/insetwrap.C:
784 * mathed/math_mboxinset.C:
785 * mathed/math_nestinset.C:
786 * mathed/math_scriptinset.C:
787 * mathed/math_scriptinset.h:
790 2004-03-24 Angus Leeming <leeming@lyx.org>
792 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
793 deal with any child processes that have finished but are waiting to
794 communicate this fact to the rest of LyX.
796 2004-03-24 Angus Leeming <leeming@lyx.org>
798 64-bit compile fixes.
800 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
801 (c-tor): pass lyx::pos_types rather than ints.
803 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
806 * text.C (Delete): compile fix.
807 (getPar): ensure that function declaration is the same as that in
810 2004-03-23 Angus Leeming <leeming@lyx.org>
812 * ispell.C (LaunchIspell):
813 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
814 a boost::shred_ptr rather than a std::auto_ptr.
816 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * lyxfunc.C (getStatus): handle read-only buffers correctly;
819 handle LFUN_FILE_INSERT_*
821 * lyxrc.C (setDefaults, getDescription, output, read):
822 * lyxrc.h: remove ps_command
824 2004-03-22 Angus Leeming <leeming@lyx.org>
826 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
827 Ensure that error_handler is processed once only and that all data
828 is saved before attempting to output any warning messages.
830 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
832 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
834 * tabular.C (TeXRow): crash fix (from Kayvan and André)
836 2004-03-19 André Pönitz <poenitz@gmx.net>
838 * cursor.[Ch] (reset): take main text inset as argument
841 * BufferView_pimpl.C: adjust
843 * paragraph.[Ch]: fix completely broken operator=()
845 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * LColor.C (getFromLyXName): make sure that the color name is used
850 2004-03-17 Angus Leeming <leeming@lyx.org>
853 * LyXAction.C (init): remove LFUN_FORKS_KILL.
855 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
856 dialog and to kill a forked process.
858 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
860 * text2.C (setCursorFromCoordinates): fix font problem
862 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
864 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
865 bogus "rebuild cursor" code
867 2004-03-11 André Pönitz <poenitz@gmx.net>
869 * buffer.[Ch]: use InsetText instead of LyXText as container for
872 * dociterator.[Ch]: drop the BufferView * member which is not needed
873 anymore after the change to buffer.C
879 * BufferView_pimpl.[Ch]:
881 * cursor_slice.[Ch]: adjust
883 * text3.C: fix bug in mathDispatch
885 2004-03-08 André Pönitz <poenitz@gmx.net>
887 * undo.[Ch]: use 'StableDocumentIterator' as base for
890 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
893 * bufferparams.[Ch]: add jurabib support and param.
895 * LaTeX.C: add FIXME/comment.
897 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
899 * buffer.C: increment file format to 230.
901 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
903 * cursor.C (dispatch): avoid infinite loops
905 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
907 * rowpainter.C (paintSelection): fix x coordinates
909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
911 * text.C (rowBreakPoint): fix breaking before displayed insets
913 2004-03-01 André Pönitz <poenitz@gmx.net>
915 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
917 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
921 * BufferView_pimpl.C:
929 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
935 * BufferView_pimpl.C: rename textwidth -> maxwidth,
936 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
938 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
940 * Bidi.[Ch] (computeTables): const correctness
941 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
942 fill_hfill, fill_label_hfill and x from Row
943 * lyxtext.h: prepareToPrint returns a RowMetrics
944 * rowPainter.C: adjust
945 * text.C (prepareToPrint): use width, not textWidth. adjust
946 (redoParagraphInternal, cursorX): adjust
947 * text2.C (getColumnNearX): adjust
948 (init): put a default value to the top LyXText::width
950 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
952 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
954 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
956 * lyxtext.h: add FontIterator class
958 * text.C (FontIterator, operator*, operator->, operator++): add
959 (rowBreakPoint, setRowWidth): adjust (fixing a
962 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * BufferView_pimpl.C (workAreaDispatch): allow also
965 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
967 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
969 * text.C (rowBreakPoint): fix a bug showing with very large insets
971 2004-02-25 André Pönitz <poenitz@gmx.net>
974 * cursor.[Ch]: move some mathed specific code to mathed
976 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
978 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
979 use_tempdir in preferences
980 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
982 * lyx_main.C: ensure that tempdir is valid
983 * lyxlex.h: correct typo
984 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
985 * paragraph.[Ch] (isMultiLingual): make const
986 * cursor.[Ch] (openable): make const
988 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
990 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
992 2004-02-20 André Pönitz <poenitz@gmx.net>
994 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
996 * cursor.[Ch]: prepare for localized getStatus()
1002 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1004 2004-02-20 André Pönitz <poenitz@gmx.net>
1006 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1008 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1010 * text2.C (setCursorFromCoordinates): switch to absolute coords
1012 (cursorDown): adjust
1013 * text3.C (dispatch): adjust
1015 2004-02-16 André Pönitz <poenitz@gmx.net>
1017 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1020 * cursor_slice.[Ch]: remove unneeded acessor function
1022 * lyxtext.h: rename rtl() to isRTL()
1030 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1032 * rowpainter.C (paintSelection): coord fix
1034 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * Spacing.C: compile fix
1038 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1040 * cursor.C (dispatch): restore current_ before returning
1042 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1044 * text2.C (cursorUp, cursorDown): fix coords
1047 2004-02-12 André Pönitz <poenitz@gmx.net>
1052 * text3.C: add LCursor & parameter to most cursor movement functions
1053 remove usage of LyXText::cursorRow() and cursorPar()
1055 * cursor.[Ch]: add textRow() needed members
1058 * BufferView_pimpl.C:
1061 * BufferView_pimpl.C: adjust
1063 2004-02-11 André Pönitz <poenitz@gmx.net>
1067 * BufferView_pimpl.C: shift undo/redo handling
1069 * cursor.[Ch]: fix mathed crash
1072 * lyxtext.h: move selectionAsText to LCursor
1080 * rowpainter.C: fix excessive drawing
1082 2004-02-06 André Pönitz <poenitz@gmx.net>
1085 * BufferView_pimpl.[Ch]:
1086 * text3.C: move some text specific LFUN handling
1088 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1090 * text3.C (checkInsetHit): adjust coords
1091 * text2.C (getColumnNearX): adjust coords
1092 (edit): adjust coords
1093 * text.C (getRowNearY): add two asserts
1095 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1098 * format.C: add using std::distance to compile on gcc 2.95/stlport
1100 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1102 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1104 2004-02-04 André Pönitz <poenitz@gmx.net>
1106 * BufferView.[Ch] (insertInset):
1107 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1112 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1114 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1115 on the default clause of the switch
1116 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1117 wasn't catched by LCursor::dispatch
1119 2004-02-03 André Pönitz <poenitz@gmx.net>
1122 * cursor.[Ch]: some additional asserts
1124 * undo.[Ch]: remove LyXText dependency in interface
1128 * lyxtext.h (firstPar, lastPar): remove dead functions
1133 * paragraph.[Ch]: adjust
1135 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1137 * lyxfind.C (find): fix argument order in call to ::find
1139 2004-02-02 André Pönitz <poenitz@gmx.net>
1141 * cursor.[Ch]: remove direct access to anchor
1143 * text.C: remove findText() hack
1145 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1147 * iterators.[Ch] (lockPath): remove in favour of...
1148 * BufferView.[Ch] (setCursor): this addition
1149 * BufferView.C (putSelectionAt): adjust
1150 * undo.C (performUndoOrRedo): adjust
1151 * lyxfunc.C (dispatch): adjust
1153 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1155 * iterators.C (lockPath): add a missing slice
1156 * undo.C (performUndoOrRedo): remove redundant positioning code
1158 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1160 * vc-backend.C (scanMaster): ";" -> ';'
1162 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1164 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1165 std::binary_function
1167 * lyxtextclass.C (compare_name): rename to...
1168 (LayoutNamesEqual): ...this
1170 * lyxlex_pimpl.C (compare_tags): inherit from
1171 std::binary_function, put back into anon namespace
1173 * lyxfind.C (MatchString): inherig from std::binary_function
1174 (findChange): use empty() istead of !size()
1176 * format.C (FormatNamesEqual): new functor
1183 * converter.C (compare_Converter): rename to...
1184 (ConverterEqual): ...this, and fixup a bit.
1185 (getConverter): use it, and make function const
1186 (getNumber): use it, and make function const
1190 * bufferlist.C: add using boost::bind
1192 * MenuBackend.C (MenuNamesEqual): new functor
1193 (hasMenu): use it, and make function const
1194 (hasSubmenu): use nested bind to get rid of compare_memfun.
1196 2004-01-30 André Pönitz <poenitz@gmx.net>
1198 * BufferView_pimpl.C:
1201 * cursor_slice.[Ch]:
1204 * paragraph_funcs.C:
1205 * paragraph_funcs.h:
1209 * text3.C: move some of the edit(x,y) handling to the insets
1210 some coordinate changes.
1212 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1214 * text.C: add using statements for std::advance and std::distance
1216 * paragraph.C: add using statement for std::distance
1218 * lyxfind.C: add using statement for std::advance
1220 * cursor.C (region): remove std:: from swap
1221 (openable): use nucleus in stead of operator->
1223 * BufferView.C: add using statements for std::distance and std::swap
1225 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1227 * iterators.C: Remove the pimple, move the needed structures to
1228 the header file. Create accessor for the positions stack.
1229 (asPosIterator): remove function
1231 * PosIterator.C (PosIterator): move constructors to top of file
1232 (PosIterator): reimplement the constructor taking a ParIterator in
1234 (setFrom): new function
1235 (operator!=): inline it
1237 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1239 * lyxfind.C (replaceAll): use std::advance
1241 * iterators.h: inherit from std::iterator.
1243 * PosIterator.C (advance, distance): remove
1244 * PosIterator.h: interit from std::iterator.
1246 2004-01-26 André Pönitz <poenitz@gmx.net>
1249 * BufferView_pimpl.[Ch]:
1253 * bufferview_funcs.C:
1263 * output_linuxdoc.C:
1264 * output_plaintext.C:
1266 * paragraph_funcs.[Ch]:
1267 * paragraph_pimpl.[Ch]:
1273 * text3.C: more IU: dumps most of the rest of the mathcursor
1274 implementation into cursor.[Ch]; "globalize" a bit of it.
1276 2004-01-25 Angus Leeming <leeming@lyx.org>
1278 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1280 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1282 * LaTeXFeatures.h: add nice_ and nice() const
1283 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1285 2004-01-20 André Pönitz <poenitz@gmx.net>
1288 * BufferView_pimpl.C:
1290 * bufferview_funcs.C:
1292 * cursor_slice.[Ch]:
1303 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1304 LCursor and mathcursor parts to LCursor and InsetBase.
1306 2004-01-15 André Pönitz <poenitz@gmx.net>
1308 * cursor_slice.[Ch]: add a few covienience functions
1310 * funcrequest.[Ch]: remove BufferView * member
1312 * BufferView_pimpl.C:
1319 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1321 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1323 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1324 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1326 2004-01-13 André Pönitz <poenitz@gmx.net>
1329 * lyxtext.h: hide cursor and selection anchor behind accessor function
1332 * BufferView_pimpl.[Ch]:
1334 * bufferview_funcs.C:
1344 * cursor_slice.[Ch]: some integer type changes for inset unification
1346 * lyxcursor.[hC]: remove, it's CursorSlice now.
1349 * BufferView_pimpl.[Ch]:
1350 * bufferview_funcs.C:
1356 * textcursor.[Ch]: adjust
1358 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1360 * text2.C (undoSpan): add and use
1361 * text.C (breakParagraph): use undoSpan (fix bug 578)
1364 2004-01-08 Angus Leeming <leeming@lyx.org>
1366 * BufferView_pimpl.C (MenuInsertLyXFile):
1367 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1368 * lyxfunc.C (menuNew, open, doImport):
1369 FileFilterList change to the FileDialog open and save functions.
1371 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1373 * ShareContainer.h: make isEqual and isUnique adaptable
1375 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1377 2004-01-07 Angus Leeming <leeming@lyx.org>
1380 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1382 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1384 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1385 functions replacing find, replace and replaceAll.
1387 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1388 LFUN_WORDFIND(FORWARD|BACKWARD).
1390 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1392 * text.C (breakParagraph): remove an outdated #warning
1394 2004-01-07 André Pönitz <poenitz@gmx.net>
1396 * lyxfind.C: somewhat clearer logic
1398 * text.C: prevent crash in cursorX on unitialized row cache
1400 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1402 * lyxcursor.[Ch] (operator>): add
1403 * textcursor.C (selStart, selEnd): use std::min and std::max
1405 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1407 * Chktex.C: include boost/format.hpp
1409 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1411 * InsetList.C: replace functor MathcIt with adaptable functor
1413 (insetIterator): modify accordingly
1415 * BranchList.h: move the BranchNamesEqual functor here from...
1416 * BranchList.C: ... to here
1418 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1420 (add): replace a finding loop with std::find_if.
1422 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1424 * output_docbook.C: moving LatexParam functionality into
1427 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1429 * buffer.C: increment format to 229.
1431 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1434 * lyx_sty.[Ch]: remove minipageindent_def
1440 * text3.C: remove LFUN_INSET_MINIPAGE
1442 2003-12-28 Angus Leeming <leeming@lyx.org>
1444 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1446 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1448 * text2.C (setParagraph): fix off-by-one crash
1450 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1452 * output_docbook.C: header stuff for AGU
1454 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1456 * text2.C (redoCursor): remove
1459 * BufferView_pimpl.C: remove calls to redoCursor and
1460 setCursor(cursor.par(), cursor.pos()) all around
1462 2003-12-15 Angus Leeming <leeming@lyx.org>
1464 * buffer.C: up the format to 228.
1466 2003-12-15 André Pönitz <poenitz@gmx.net>
1468 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1473 * BufferView_pimpl.C:
1482 2003-12-15 Angus Leeming <leeming@lyx.org>
1484 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1485 than getFromGUIName to manipulate the color.
1487 2003-12-14 Angus Leeming <leeming@lyx.org>
1489 * BranchList.[Ch]: minimize the API.
1490 (Branch::getBranch, getColor): now return a 'const &'.
1491 (Branch::setSelected) now returns a bool set to true if the
1492 selection status changes.
1493 (BranchList::clear, size, getColor, setColor, setSelected,
1494 allBranches, allSelected, separator): removed.
1495 (BranchList::find): new functions, returning the Branch with
1497 (BranchList::add, remove): return a bool indicating that
1498 the operation was successful.
1500 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1501 new InsetBranch::isBranchSlected member function.
1503 * LColor.[Ch]: mimimize the API.
1504 (fill): renamed as addColor and made private.
1505 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1506 versions of these functions taking a string arg have been removed.
1508 * bufferparams.C (readToken):
1509 * lyxfunc.C (dispatch):
1510 * lyxrc.C (read): changes due to the altered BranchList and
1513 * factory.C (createInset, readInset): changes due to altered
1516 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1519 * lyxfunc.C: remove insetminipage. "minipage-insert"
1520 now produces a frameless minipage box inset.
1522 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1524 * textcursor.[Ch] (selStart,selEnd): add new methods
1525 remove selection::start, end, use LyXCursor::operator<
1526 * lyxcursor.[Ch] (operator<): add
1527 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1528 * BufferView.[Ch] (unsetXSel): add
1529 * text2.C (clearSelection): use unsetXSel,adjust
1532 * rowpainter.C: adjust
1533 * bufferview_funcs.C (put_selection_at): adjust
1535 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1537 * BufferView_pimpl.C: small coord. correction
1539 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1541 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1542 dragging over the splash screen.
1544 2003-12-11 Angus Leeming <leeming@lyx.org>
1546 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1547 as it is now handled in LyXText::dispatch.
1549 * text3.C (doInsertInset): remove a level of nesting.
1551 2003-12-11 Angus Leeming <leeming@lyx.org>
1553 * factory.C (createInset): changes due to the changed interface to
1554 InsetCommandMailer::string2params.
1556 2003-12-10 Angus Leeming <leeming@lyx.org>
1558 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1559 'dialog-show-new-inset <inset name>'
1561 2003-12-10 Angus Leeming <leeming@lyx.org>
1563 * buffer.C: up the format to 227.
1565 * factory.C: the box inset is now identified simply by 'Box'.
1567 2003-12-10 Angus Leeming <leeming@lyx.org>
1569 * buffer.C: up the format to 226.
1571 * factory.C: the note inset is now identified simply by 'Note'.
1573 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1575 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1576 when a pit is enough. Standarize a couple of loops.
1578 2003-12-05 Angus Leeming <leeming@lyx.org>
1580 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1581 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1582 data to the re-worked "log" dialog.
1584 2003-12-03 André Pönitz <poenitz@gmx.net>
1590 * paragraph_funcs.C:
1592 * text2.C: use Inset::getText instead of Inset::getParagraph
1594 2003-12-03 André Pönitz <poenitz@gmx.net>
1598 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1599 InsetText::read() as LyXText::read()
1601 2003-12-02 Angus Leeming <leeming@lyx.org>
1603 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1604 type. Add a comment in the implementation that the function uses
1605 the stream's bad() function rather than fail() as the std::streams
1608 2003-12-02 André Pönitz <poenitz@gmx.net>
1610 * lyxlex.[Ch]: make interface more similar to std::stream
1612 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1614 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1616 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1618 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1620 * vspace.[Ch]: remove VSpace::NONE
1622 2003-12-01 André Pönitz <poenitz@gmx.net>
1625 * lyxtext.h: move ParagraphList member to LyXText
1626 rename LyXText::ownerParagraphs to LyXText::paragraph
1629 * bufferview_funcs.C:
1639 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1641 * undo.C: fix cursor positioning
1643 2003-12-01 John Levon <levon@movementarian.org>
1645 * BufferView_pimpl.C: fix a crash on exit with
1648 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1650 * BranchList.C: fix setSelected() method.
1652 2003-11-28 André Pönitz <poenitz@gmx.net>
1654 * ParagraphParameters.[Ch]:
1655 * ParameterStruct.h: remove space above/below from Paragraph to
1658 * BufferView_pimpl.C:
1664 * paragraph_funcs.C:
1670 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1672 * factory.C: Syntax change for CharStyles
1674 2003-11-28 André Pönitz <poenitz@gmx.net>
1679 * buffer.[Ch]: move LyXText member
1681 2003-11-28 André Pönitz <poenitz@gmx.net>
1683 * BufferView.[Ch]: make LyXText * text a private member
1685 * BufferView_pimpl.C:
1696 * output_plaintext.C: cleanup
1698 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1701 * lyxtextclass.[Ch]: parametrize SGML document header
1703 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1706 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1709 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1711 * text2.C (setFont): rework using PosIterator (no more recursive)
1712 (setCharFont): no more needed
1713 (setLayout): no more selection cursors fiddling (done by redoCursor)
1714 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1715 destroy remaining ones)
1717 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1719 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1721 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1724 * text3.C: adjust + re-allow multi par depth changes
1725 * textcursor.C: simplify a bit
1727 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1733 * src/output_docbook.C:
1734 * src/output_latex.C:
1739 * src/text2.C: Introducing a number of tags parametrizing various
1740 XML formats that we may want to support
1742 2003-11-25 André Pönitz <poenitz@gmx.net>
1744 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1746 * lyxtext.h (leftMargin/rightMargin): simplify interface
1753 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1755 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1756 master file to any child files. Fixes bug 546.
1758 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1760 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1762 2003-11-24 André Pönitz <poenitz@gmx.net>
1764 * rowpainter.C: simplification
1766 * text2.C (updateCounters): remove call to redoParagraph on
1767 changed labels as this is far too expensive.
1769 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1771 * converter.C (convert): fix a crash: this function gets
1772 called with buffer == 0 from importer code.
1774 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1776 * text3.C (cursorPrevious): make sure that we do not compare
1777 iterators form different containers.
1780 * rowpainter.C (paintSelection): make sure that we do not compare
1781 iterators from different containers.
1783 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1784 iterators from different ParagraphList containers.
1787 * text2.C (LyXText): change order of initialization slightly
1788 (operator=): new function. copy all variables except cache_par_
1789 (moveUp): make sure that we do not compare iterators from
1790 different ParagraphList constainers.
1793 * text.C (firstPar): new function
1794 (lastPar): new function
1795 (endPar): new function
1797 * lyxtext.h: move things around and group public functions, public
1798 variables, private functions, private variables
1800 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1802 * factory.C: change call to InsetERT constructor to avoid
1803 additional invocation of method status
1804 * text2.C (toggleInset): remove redundant update() call
1805 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1806 instead of a Bufferview pointer
1808 2003-11-21 André Pönitz <poenitz@gmx.net>
1810 * rowpainter.C: simplification
1812 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1814 * text3.C (dispatch): make possible to extend a word/row selection
1817 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1819 * lyxtext.h: x0_,y0_ -> xo_,yo_
1820 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1821 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1822 * rowpainter.C (paintRows): paint full paragraphs
1824 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1826 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1829 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1831 * lyxtext.h: add x0_, y0_
1832 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1833 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1835 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1837 * text2.C (setCursorIntern): move the x_target update here *
1838 * text3.C: change some bv() to true/false in calls to
1839 cursorUp/Down/Right/Left
1840 * cursor.C: use helper function.
1842 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1844 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1845 * paragraph_funcs.[Ch]: correct comment
1846 * rowpainter.C: do not paint selections away from bv->cursor()
1847 Fix a long standing selection painting bug.
1848 * text3.C: generalize mouse-selection code to LyXTexts other that
1850 * textcursor.C: do not use y coords if we can use par offsets
1852 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1854 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1855 cursor position after e.g. inset insert)
1857 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1859 * lyxfind.C (replace): adjust to locking removal + some
1862 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1864 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1867 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1870 * output_docbook.C: XML sanitation: new layout
1871 parameters InnerTag and CommandDepth
1873 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1875 * BufferView_pimpl.C:
1877 * text3.C: Fix the insertion and modification of button-style
1880 2003-11-13 André Pönitz <poenitz@gmx.net>
1882 * InsetList.[Ch]: remove deleteLyXText
1884 * paragraph.[Ch]: cache beginOfBody position
1889 * text3.C: remove superfluous update() calls
1893 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1895 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1896 * BufferView.C (fitLockedInsetCursor): remove
1897 * cursor.[Ch] (getDim): add
1898 * text.C (getRowNearY): add faster version
1899 * text3.C: remove some update calls
1901 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1913 * text3.C: The Character Style /XML short element patch.
1915 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1918 * factory.C: Small step to solving 'unable to insert some insets'
1921 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1923 * cursor.[Ch] (updatePos): new function for updating the y
1924 position of the tip inset
1925 * bufferview_funcs.C (put_selection_at):
1926 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1928 2003-11-11 André Pönitz <poenitz@gmx.net>
1930 * text.C: remove big comment on invalid Paragraph pointers as it is
1933 2003-11-11 André Pönitz <poenitz@gmx.net>
1935 * text_funcs.[Ch]: merge with ...
1943 * Makefile.am: remove text_funcs.[Ch]
1945 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1947 * cursor.C (getPos): return absolute cached y coord
1949 * BufferView_pimpl.C (fitCursor): new simplistic code
1950 (workAreaDispatch): add a fitCursor call
1952 2003-11-10 André Pönitz <poenitz@gmx.net>
1955 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1957 2003-11-10 André Pönitz <poenitz@gmx.net>
1959 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1960 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1961 indicate that the cursor needs to leave an inset
1963 * lyxtext.h: remove inset locking
1965 * cursor.[Ch]: re-implement functionality provided by inset locking
1968 * BufferView_pimpl.[Ch]:
1970 * bufferview_funcs.[Ch]:
1982 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1984 * PosIterator.[Ch]: replace the stack with a vector, add inset
1986 * iterators.[C]: adjust
1988 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1990 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1992 * paragraph_funcs.C (readParToken): put the correct id in the
1993 error item, not the id of the top paragraph
1995 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1997 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1998 * bufferview_funcs.C (put_selection_at): use the above
2000 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2002 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2004 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2006 * output_linuxdoc.h:
2007 * output_plaintext.h:
2009 * output_docbook.h: add #include statements
2011 2003-11-05 José Matos <jamatos@lyx.org>
2013 * output_docbook.[Ch]:
2014 * output_latex.[Ch]:
2015 * output_linuxdoc.[Ch]:
2016 * output_plaintext.[Ch]: New files for output formats.
2017 * output.[Ch]: New file for helper functions.
2020 * paragraph_funcs.[Ch]: output functions moved to new files.
2022 * outputparams.h: rename of latexrunparams.h
2030 * paragraph_funcs.[Ch]:
2031 * paragraph_pimpl.[Ch]:
2032 * tabular.[Ch]: rename ascii to plaintext
2033 and LatexRunParams to OutputParams.
2035 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2037 * iterators.[Ch] (text): require bv argument
2038 * undo.C (recordUndo):
2039 * lyxfunc.C (dispatch):
2040 * bufferview_funcs.C (put_selection_at): adjust
2042 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2044 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2046 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2048 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2051 2003-11-04 André Pönitz <poenitz@gmx.net>
2053 * cursor.[Ch]: restructure
2056 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2058 * iterators.[Ch] (asCursor): remove
2060 * lfuns.h: remove LFUN_INSET_EDIT
2066 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2068 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2070 * lyxfind.[Ch]: complete overhaul
2071 * BufferView_pimpl.C:
2073 * paragraph.[Ch] (insert): add
2075 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2079 * text.C: remove dead spellcheck code
2081 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * dispatchresult.h: add a val setter
2085 * cursor.C (dispatch): use a tempvar for data_[i]
2087 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2089 * PosIterator.[Ch]: compile fix
2091 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2093 * text.C (cursorPar): deactivate the cursor cache
2095 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2097 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2099 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * text3.C (dispatch): adjust for new DisptchResult semantics.
2103 * lyxfunc.C (dispatch): handle update when return from
2104 Cursor::dispatch, adjust for new DispatchResult semantics.
2106 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2107 DispatchResult(true) mean to not update. Add class functions for
2108 setting dispatched and update, as well as reading.
2110 * cursor.C (dispatch): don't handle update here
2112 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2115 * trans_mgr.C: adjust
2117 * paragraph_funcs.C (readParToken): exception safety
2119 * lyxvc.h: store the vcs pointer in a scoped_ptr
2122 * lyxsocket.C (serverCallback): exception safety
2124 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2126 * ispell.C (clone): make it return a auto_ptr
2128 * factory.C (createInset): exception safety
2129 (readInset): exception safety
2131 * bufferlist.C (newBuffer): exception safety
2133 * Thesaurus.C (Thesaurus): use initialization for aik_
2135 * MenuBackend.C (expandToc): exception safety.
2137 2003-11-03 André Pönitz <poenitz@gmx.net>
2141 * bufferview_funcs.C: remove getInsetFromId()
2144 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2150 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2152 * PosIterator.C (distance, advance): new
2153 * bufferview_funcs.[Ch] (put_selection_at): new
2154 * iterators.[Ch] (lockPath): new
2156 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2158 * iterators.[Ch] (asPosIterator): added
2159 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2160 * PosIterator.[Ch]: added
2162 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2166 * cursor.C (dispatch):
2167 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2169 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2170 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2171 contructor, add a class function dispatched. Remove operator>=
2173 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * debug.C: only use the default constructor for debugstream
2178 * main.C (main): include debug.h and setup the lyxerr streambuf
2181 2003-10-31 José Matos <jamatos@lyx.org>
2183 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2185 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2186 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2187 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2188 * paragraph_pimpl.C (simpleTeXSpecialC):
2189 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2190 add LatexRunParams argument.
2192 * exporter.C (Export): change call accordingly.
2194 * latexrunparams.h: add new member to take care of the other backends.
2195 2003-10-30 José Matos <jamatos@lyx.org>
2197 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2198 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2199 factorise code for paragraph output.
2201 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2204 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2206 * text3.C (dispatch):
2207 * lyxfunc.C (dispatch):
2208 * cursor.C (dispatch):
2209 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2211 * dispatchresult.h: make the dispatch_result_t ctor explicit
2213 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2216 * buffer.C: small refactoring of docbook stuff
2218 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2223 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2226 operator dispatch_result_t, and operators for == != and >=
2228 * cursor.C (dispatch): adjust for operator dispatch_result_t
2229 removal. comment out call to update
2231 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2233 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2244 * dispatchresult.h: new file, DispatchResult broken out of
2247 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2249 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2251 * text.C (rowBreakPoint): put a hack inside #if 0
2253 2003-10-28 André Pönitz <poenitz@gmx.net>
2257 * paragraph_funcs.C:
2260 * text2.C: general cleanup (lots of small stuff)
2262 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2264 * text2.C (cursorEnd): simple fix to the "end key goes to one
2265 before the end on last row" bug
2267 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2269 * text.C (backspace): fix the "zombie characters"
2271 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2273 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2275 2003-10-27 André Pönitz <poenitz@gmx.net>
2277 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2279 * factory.C: handle new InsetPagebreak, InsetLine
2281 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2282 and move handling into new InsetPagebreak, InsetLine
2284 * BufferView_pimpl.C:
2286 * ParagraphParameters.C:
2287 * ParameterStruct.h:
2292 * paragraph_funcs.C:
2293 * paragraph_pimpl.C:
2299 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2302 * lyxrow_funcs.[Ch]:
2308 * text3.C: remove lastPos uses in favour of Row::endpos
2310 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2312 * undo.C (performUndoOrRedo): fix two crashes by setting a
2313 cursor by hand and reordering some calls. Use bv->lockInset instead
2314 of inset->edit because the latter loses cursor information
2316 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2318 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2320 (rowBreakPoint): fix width. change point to point + 1.
2321 Add a missing check.
2323 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2326 * lyxfunc.C: fix (at least partly) the problems
2327 with the Nav menu and headers inside branch insets
2330 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2332 * paragraph.C (getChar): add strong asserts
2334 * lyxrow_funcs.C (lastPos): remove hideous hack
2336 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2337 (fill): adjust to that (avoid an infinite loop)
2339 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2341 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2343 2003-10-23 André Pönitz <poenitz@gmx.net>
2345 * RowList_fwd.h: change list<> to vector<> to gain speed
2346 after suggestion from Alfredo
2348 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2350 * lyxtext.h: move the bidi stuff from here...
2353 * Bidi.[Ch]: ... to here
2355 2003-10-23 André Pönitz <poenitz@gmx.net>
2358 * text.C (isLastRow, isFirstRow): new functions
2360 * paragraph.h: new width cache member
2362 * rowpainter.C: replace RowList::iterator with Row & where possible
2364 * lyxfunc.C: replace several view()->text with a single call
2366 * toc.C: fix 'unused' warning
2368 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2371 when woring with stream::pos_type
2372 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2374 2003-10-22 André Pönitz <poenitz@gmx.net>
2377 * text.C: use Row & instead of RowList::iterator
2379 * lyxrow.h: rename end() to endpos()
2385 2003-10-22 Angus Leeming <leeming@lyx.org>
2387 * buffer.[Ch] (fully_loaded): new member function, returning true
2388 only when the file has been loaded fully.
2389 Used to prevent the premature generation of previews and by the
2390 citation inset to prevent computation of the natbib-style label.
2392 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2393 templates are all set up.
2395 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2397 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2399 * text.C: fixed an "oops" in the "is a bit silly"
2402 2003-10-21 André Pönitz <poenitz@gmx.net>
2404 * FuncStatus.[Ch]: small stuff, whitespace
2406 * lyxfont.[Ch]: operator<<() for debug reasons
2410 * lyxtext.h: whitespace, spelling
2412 * paragraph.C: naming of variables
2415 * text2.C: small stuff
2418 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2420 * text.C: (1) finish off the inset display() work;
2421 (2) fix the "is a bit silly" bug (accessing char
2424 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2426 * text.C: re-introduce display() for insets, fixing the
2427 various bugs (stretch of line above, math inset
2430 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * text.C (rightMargin): remove spurious semicolon
2434 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2437 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2439 * text3.C: fix one crash due to wrong cursor def
2441 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * vc-backend.C (scanMaster): make the regex static
2445 * LaTeX.C (scanAuxFile): make the regexs static
2447 * text3.C (doInsertInset, dispatch, dispatch):
2448 * text2.C (cursorUp, cursorDown):
2449 * text.C (selectNextWordToSpellcheck):
2450 * BufferView_pimpl.C (dispatch):
2451 * lyxfunc.C (dispatch): localDispatch -> dispatch
2453 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * lyxsocket.C: include <cerrno>
2457 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * lyxfunc.C (dispatch): remove textcache stuff
2461 * bufferlist.C (release): remove textcache stuff
2464 * TextCache.C: delete file
2465 * TextCache.h: delete file
2467 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2469 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2470 delete of the bv_->text.
2471 (resizeCurrentBuffer): remove texcache stuff
2472 (workAreaResize): ditto
2474 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2479 2003-10-16 André Pönitz <poenitz@gmx.net>
2486 * text3.C: speed up by storing y positions per paragraph plus per-row
2487 offset instead of having a 'full' y position in the row.
2489 2003-10-15 André Pönitz <poenitz@gmx.net>
2493 * undo.[Ch]: make undo aware of inner insets
2495 2003-10-14 Angus Leeming <leeming@lyx.org>
2497 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2498 static member functions LyX::ref() and LyX::cref.
2499 (lastfiles): new accessor functions for the new lastfiles_ member var.
2500 (addLyXView, views_): add a new LyXView to the list of views_.
2501 (updateInset): loop over all LyXViews to call their own updateInset
2502 member function, returning a pointer to the Buffer owning the inset.
2504 * BufferView_pimpl.C (loadLyXFile):
2505 * MenuBackend.C (expandLastfiles):
2506 * bufferlist.C (MenuWrite, QuitLyX):
2507 lastfiles is no longer a global variable.
2508 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2510 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2511 static function. Access through LyX::cref().emergencyCleanup().
2513 2003-10-14 André Pönitz <poenitz@gmx.net>
2515 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2517 * undo.[Ch]: restoring part of 'undo in insets'
2520 * undo_funcs.[Ch]: merge with undo.[Ch]
2522 * tabular.C: small cleansing stuff
2524 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2526 * paragraph_funcs.C (readParToken): report unknown insets as error
2527 boxes. Use the outer paragraph as location (also for unknown
2530 * factory.C (readInset): do not abort on reading an unknown inset.
2531 Eat it and return 0.
2533 2003-10-13 Angus Leeming <leeming@lyx.org>
2535 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2537 * lyxrc.C: displayTranslator is now a function,
2538 declared in GraphicsTypes.h.
2540 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2542 * format.C: new placeholder $$a to pass the socket address.
2544 * bufferlist.[Ch]: new function getBufferFromTmp.
2546 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2547 files in the temporary dir.
2549 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2551 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2553 * Makefile.am: add lyxsocket.[Ch].
2555 * lyx_main.C (error_handler): handle SIGPIPE.
2557 2003-10-13 André Pönitz <poenitz@gmx.net>
2559 * BufferView_pimpl.C:
2564 * undo_funcs.[Ch]: use paroffset_type instead of
2565 ParagraphList::iterators to prevent multiple conversion
2566 (and get a more robust interface)
2568 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2572 * text3.C (dispatch): ditto
2574 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2577 move the onlyfile, use onlyfile instead of foundfile in a couple
2580 * DepTable.C (update): flush the error stream a bit more
2582 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * lyxserver.C (callback): adjust
2586 * lyxfunc.C (getStatus): add a missing brace in commented code
2587 (ensureBufferClean): reindent
2588 (dispatch): delete version taking a string
2590 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * LaTeX.C (deplog): move found file handlig from here...
2593 (handleFoundFile): .. to new function here.
2594 (deplog): make sure to discover several files mentioned on the
2597 2003-10-10 André Pönitz <poenitz@gmx.net>
2604 * text3.C: fix some of the tabular crashes
2606 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2608 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2610 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2612 2003-10-09 André Pönitz <poenitz@gmx.net>
2614 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2617 * BufferView_pimpl.C:
2618 * bufferview_funcs.C:
2629 * undo_funcs.C: adjust
2631 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * text2.C (incrementItemDepth): new function, use a backtracking
2634 algorithm to discover the correct item depth.
2635 (resetEnumCounterIfNeeded): new function, use a backtracking
2636 algorithm to discover if counter reset is needed.
2637 (setCounter): use them. Simplify a bit. Add different labels for
2638 different item depths for itemize.
2640 * paragraph.C (Paragraph): remove initialization of enumdepth
2643 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2644 enumerate and itemize. Change the type of itemdepth to signed char.
2646 2003-10-08 André Pönitz <poenitz@gmx.net>
2648 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2653 * tabular.[Ch]: fix crash after 'row-insert'
2655 2003-10-08 Angus Leeming <leeming@lyx.org>
2657 Fix doxygen warnings.
2659 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2660 Remove CutAndPaste:: prefix from header file declaration.
2662 * LColor.h (fill): remove LColor:: prefix from declaration.
2664 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2665 use lyx::depth_type rather than Paragraph::depth_type so that
2666 header file and .C file match.
2668 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2670 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2671 * aspell.C: \file aspell_local.C -> \file aspell.C
2672 * gettext.C: \file gettext.C -> \file src/gettext.C
2673 * gettext.h: \file gettext.h -> \file src/gettext.h
2674 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2675 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2676 * text.C: \file text.C -> \file src/text.C
2678 * toc.C: move comment so that doxygen is not confused.
2680 2003-10-07 Angus Leeming <leeming@lyx.org>
2682 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2684 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2687 * aspell_local.h: add forgotten std::string's.
2689 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2696 * text3.C: The Box patch. Fancybox support, minipage, parbox
2698 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2704 * ParagraphParameters.h:
2714 * lyxtextclasslist.h:
2717 * paragraph_pimpl.C:
2718 * textcursor.h: add <string> and other small fixes to make Lars'
2719 std::string patch compile with STLport.
2721 2003-10-06 Angus Leeming <leeming@lyx.org>
2723 * LColor.h: Add missing #include <string>.
2725 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * All most all file in all subdirs: Make <string> be the prefered
2728 way of getting to std::string, add using declarations.
2730 2003-10-06 André Pönitz <poenitz@gmx.net>
2732 * metricsinfo.C: initialize LyXFont before changing attribute.
2733 (fixes the 'math in \emph is upright' bug)
2735 2003-10-06 André Pönitz <poenitz@gmx.net>
2737 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2739 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2742 * paragraph_pimpl.C: Small fixes to build using STLport
2744 2003-10-02 André Pönitz <poenitz@gmx.net>
2747 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2749 2003-10-01 André Pönitz <poenitz@gmx.net>
2751 * factory.C: assert early
2753 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * lyx_main.C: remove the global debug object
2757 * debug.h: adjust for new debugstream
2759 * debug.C: adjust for new debugstream and keep the global debug
2762 2003-09-22 Angus Leeming <leeming@lyx.org>
2764 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2765 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2766 an incomplete class LyXFont.
2768 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2770 * factory.C: bug fix in branches
2772 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * lyxfunc.C (processKeySym): adjust
2776 (dispatch): change arg name from ev to func, adjust
2777 (sendDispatchMessage): ditto
2779 * lyx_main.C (defaultKeyBindings): adjust keybindings
2780 (deadKeyBindings): ditto
2782 * kbsequence.C (addkey): return a FuncRequest
2784 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2786 * kbmap.C (bind): take a FuncRequest as arg, adjust
2789 (defkey): change to take a FuncRequest as arg, adjust
2790 (findbinding): take a FuncRequest as arg, adjust.
2792 * funcrequest.h (operator=): added
2794 * funcrequest.C (FuncRequest): default kb_action changed from
2795 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2797 * buffer.C (dispatch): simplify
2798 (dispatch): adjust to take a FuncRequest as arg, adjust
2800 * boost.C (assertion_failed): change assertion message slightly
2802 * ToolbarBackend.C (read): simplify
2804 * MenuBackend.C (binding): adjust call to findbinding, add a
2805 message if no binding is found.
2807 (expandToc): correct by adding a empty FuncRequest
2809 * LyXAction.C: include <boost/assert.hpp>
2810 (isPseudoAction): delete function
2811 (LookupFunc): change name to...
2812 (lookupFunc): this. change return type to FuncRequest.
2813 (getActionName): take kb_action as arg, simplify
2814 (funcHasFlag): add an assert, simplify.
2816 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * toc.C (action): return a FuncRequest, simplify
2820 * lyxfunc.C (processKeySym): adjust
2821 (getStatus): delete version that takes an int.
2823 (dispatch): delete version that takes action as int
2825 (sendDispatchMessage): simplify and adjust
2827 * funcrequest.C (getArg): take unsigned int as arg
2829 * ToolbarBackend.C (read): adjust
2830 (add): delete version that takes func as a string.
2831 (getIton): take a FuncRequest as arg
2833 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2836 * MenuBackend.C (MenuItem): add a new construct that only takes a
2837 Kind, simplify the constructor use for submenus.
2839 (expandLastfiles): adjust
2840 (expandDocuments): adjust
2841 (expandFormats): adjust
2842 (expandFloatListInsert): adjust
2843 (expandFloatInsert): adjust
2844 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2846 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2847 Remove class variables lyx_pseudo_map and lyx_arg_map
2849 * LyXAction.C (searchActionArg): delete function
2850 (getPseudoAction): delete function
2851 (retrieveActionArg): delete function
2852 (LookupFunc): make it return kb_action, simplify.
2853 (getActionName): simplify
2855 * factory.C (createInset): fix new bug
2857 2003-09-19 Angus Leeming <leeming@lyx.org>
2859 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2860 masterFilename_ parameter in the include inset.
2862 * factory.C (createInset): changes due to the changes to InsetInclude.
2864 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2866 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2868 2003-09-18 Angus Leeming <leeming@lyx.org>
2871 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2872 Inset::fillWithBibKeys.
2873 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2875 2003-09-18 Angus Leeming <leeming@lyx.org>
2877 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2879 (ctor): pass and store a 'Buffer const &'
2880 (buffer): new member function.
2882 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2883 '*this' to the LaTeXFeatures ctor.
2885 2003-09-18 Angus Leeming <leeming@lyx.org>
2891 * text.C: rename EnumLColor as LColor_color.
2893 2003-09-18 Angus Leeming <leeming@lyx.org>
2895 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2896 remove #include "insets/insetbase.h" from cursor.h.
2898 2003-09-18 Angus Leeming <leeming@lyx.org>
2900 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2901 InsetOld_code to remove #include "inset.h".
2903 * iterators.C: add #include "insets/inset.h"
2905 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2907 * BufferView.C: remove more locking stuff that apparently doesn't
2908 do anything sensible.
2910 2003-09-16 André Pönitz <poenitz@gmx.net>
2913 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2916 2003-09-16 Angus Leeming <leeming@lyx.org>
2918 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2920 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2923 * paragraph.h: remove #include "lyxfont.h". Forward declare
2926 2003-09-16 Angus Leeming <leeming@lyx.org>
2928 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2929 of support/textutils.h.
2930 (isWord): move the contents of support/textutils.h's IsWordChar here.
2936 * text2.C: add #include "paragraph.h".
2939 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2941 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * LaTeX.C: use namespace alias for lyx::support::os
2949 2003-09-16 Angus Leeming <leeming@lyx.org>
2952 * bufferview_funcs.C:
2955 * paragraph_pimpl.C:
2957 * text.C: add #include "LColor.h".
2959 2003-09-16 Angus Leeming <leeming@lyx.org>
2961 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2962 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2964 Store the FontBits::color variable as an int rather than as an
2965 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2968 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2969 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2970 string calls together.
2972 * lyxrc.C: add #include "LColor.h".
2974 2003-09-15 Angus Leeming <leeming@lyx.org>
2976 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2979 2003-09-15 Angus Leeming <leeming@lyx.org>
2981 * LColor.h: add an EnumLColor wrapper for LColor::color.
2983 * lyxfont.[Ch] (color, setColor, realColor):
2984 * lyxtext.h, text.C (backgroundColor):
2985 pass EnumLColor args to/from the functions, rather than LColor::color
2989 * lyxtext.h: forward declare EnumLColor.
2991 * lyx_main.C: add #include "LColor.h".
2993 2003-09-15 Angus Leeming <leeming@lyx.org>
2995 * .cvsignore: add lyx-gtk.
2997 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3002 * ParagraphParameters.C
3006 * bufferview_funcs.C
3016 * vc-backend.C: remove usage of STRCONV
3018 2003-09-15 Angus Leeming <leeming@lyx.org>
3020 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3021 explicitly define the color passed to the painter.
3023 2003-09-15 Angus Leeming <leeming@lyx.org>
3025 * bufferparams.C (BufferParams): reorder member initializers to avoid
3028 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3030 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3031 * text.C (updateRowPositions): remove an unusual nop
3033 2003-09-12 André Pönitz <poenitz@gmx.net>
3035 * BufferView_pimpl.C:
3044 * Counters.[Ch]: finish the 'automatic counters' job
3046 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3048 * aspell.C: include <boost/assert.cpp> (compile fix)
3050 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3052 * boost.C (assertion_failed): use lyx::support::abort instead of
3055 2003-09-10 Angus Leeming <leeming@lyx.org>
3057 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3058 with their _fwd progeny.
3060 2003-09-09 Angus Leeming <leeming@lyx.org>
3062 134 files throughtout the source tree: replace 'using namespace abc;'
3063 directives with the appropriate 'using abc::xyz;' declarations.
3065 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3067 * boost.C (emergencyCleanup): moved here from LAssert.c
3068 (assertion_failed): new function, called by BOOST_ASSERT
3070 * several files: change Assert to BOOST_ASSERT
3072 2003-09-09 Angus Leeming <leeming@lyx.org>
3074 * buffer.[Ch]: Add an Impl class and move Buffer's member
3075 variables into it. As a result move several header files out of
3078 Add header files to lots of .C files all over the tree as a result.
3080 2003-09-09 Angus Leeming <leeming@lyx.org>
3082 * buffer.[Ch]: make Buffer's member variables private. Add
3085 Lots of changes all over the tree as a result.
3087 2003-09-08 Angus Leeming <leeming@lyx.org>
3089 * graph.C: #include <config.h>.
3091 2003-09-08 Angus Leeming <leeming@lyx.org>
3095 * BufferView_pimpl.C:
3124 * toc.C: remove redundant using directives.
3126 2003-09-07 Angus Leeming <leeming@lyx.org>
3128 * LaTeXFeatures.h: remove #include "support/types.h".
3129 * ToolbarBackend.h: remove #include <algorithm>.
3130 * changes.h: remove #include <ctime>.
3131 * debug.h: remove #include <iosfwd>.
3132 * graph.h: remove #include "support/std_string.h".
3133 * lyx_main.h: remove #include <csignal>.
3134 * lyxlex_pimpl.h: remove #include <fstream>.
3135 * sgml.h: remove #include <algorithm>, <utility>.
3136 * toc.h: remove #include "support/std_ostream.h".
3137 Add #include <iosfwd>.
3139 2003-09-07 Angus Leeming <leeming@lyx.org>
3141 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3143 * converter.h: forward declare LatexRunParams.
3144 * encoding.h: remove #include "lyxrc.h".
3145 * lyxtext.h: remove #include "LColor.h".
3146 * lyxtextclass.h: remove #include "support/types.h".
3147 * trans.h: remove #include "tex-accent.h".
3148 * trans_mgr.h: remove #include "tex-accent.h".
3149 * insets/inset.h: remove #include "support/types.h", <vector>.
3150 * insets/insetcollapsable.h: remove #include "LColor.h".
3151 * insets/insetinclude.h: remove #include "dimension.h".
3152 * insets/insetlatexaccent.h: remove #include "dimension.h".
3153 * insets/insetoptarg.h:: remove #include "insettext.h".
3154 * insets/insettext.h: remove #include "dimension.h",
3155 <boost/shared_ptr.hpp>
3157 * insets/renderers.h: add #include "dimension.h".
3158 * insets/updatableinset.h: add #include "support/types.h".
3160 * many .C files: Associated changes.
3162 2003-09-06 Angus Leeming <leeming@lyx.org>
3164 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3165 one, inside testInvariant.
3167 * PrinterParams.C: new file.
3168 * PrinterParams.[Ch]: move the function bodies out of line.
3170 2003-09-06 Angus Leeming <leeming@lyx.org>
3172 * ParagraphParameters.h: forward declare ParameterStruct rather than
3173 including its header file.
3174 (depth): moved out-of-line.
3176 2003-09-06 Angus Leeming <leeming@lyx.org>
3178 * BufferView_pimpl.h:
3181 * lyxfunc.h: forward declare LyXKeySym rather than
3182 #include "frontends/LyXKeySym.h".
3184 * BufferView_pimpl.C:
3187 * lyxfunc.C: associated changes.
3189 2003-09-06 Angus Leeming <leeming@lyx.org>
3191 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3192 As a result, can remove the #include "insets/inset.h" from BufferView.h
3194 2003-09-06 Angus Leeming <leeming@lyx.org>
3196 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3197 As a result, can remove the #include "insets/inset.h" from BufferView.h
3199 2003-09-06 Angus Leeming <leeming@lyx.org>
3205 * bufferview_funcs.C:
3206 * BufferView_pimpl.C:
3211 * ParagraphParameters.C:
3216 * frontends/controllers/ControlDocument.C:
3217 * insets/insetcaption.C: rearrange the #includes into some sort of
3220 * buffer.h: remove #includes ErrorList.h, undo.h
3222 2003-09-06 Angus Leeming <leeming@lyx.org>
3224 * support/types.h: add a 'depth_type' typedef, used to store the
3225 nesting depth of a paragraph.
3228 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3229 defining explicitly.
3232 * paragraph_funcs.h:
3233 * ParagraphParameters.h:
3234 * sgml.h: use lyx::depth_type rather than Paragraph or
3235 ParameterStruct's depth_type.
3238 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3241 * BufferView_pimpl.C:
3243 * ParagraphParameters.C:
3246 * bufferview_funcs.C:
3253 * frontends/LyXView.C:
3254 * frontends/controllers/ControlDocument.C:
3255 * frontends/controllers/ControlErrorList.C:
3256 * insets/insetbibitem.C:
3257 * insets/insetbranch.C:
3258 * insets/insetcaption.C:
3259 * insets/insetcollapsable.C:
3260 * insets/insetenv.C:
3261 * insets/insetert.C:
3262 * insets/insetfloat.C:
3263 * insets/insetfoot.C:
3264 * insets/insetfootlike.C:
3265 * insets/insetnewline.C:
3266 * insets/insetquotes.C:
3267 * insets/insettabular.C:
3268 * insets/insettext.C:
3269 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3271 * frontends/controllers/ControlChanges.C: #include "changes.h".
3273 2003-09-06 Angus Leeming <leeming@lyx.org>
3275 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3276 than #including paragraph.h.
3279 * RowList.h: deleted. Superfluous.
3289 * insets/insettext.h: use ParagraphList_fwd.h rather than
3292 * paragraph.h: don't forward declare ParagraphList.
3295 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3296 rather than ParagraphList.h. paragraph.h is still needed for the
3297 Paragraph::depth_type parameters.
3299 * textcursor.h: enable it to compile stand-alone in light of the
3302 * bufferview_funcs.C:
3314 * frontends/controllers/ControlParagraph.C:
3315 * frontends/controllers/ControlTabular.C:
3316 * insets/insetmarginal.C:
3317 * insets/insetminipage.C:
3318 * insets/insetnote.C:
3319 * insets/insetoptarg.C: add header files needed to compile again.
3321 2003-09-06 Angus Leeming <leeming@lyx.org>
3323 * RowList_fwd.h: new file, forward-declaring Row rather than
3324 #including lyxrow.h.
3329 * insets/insettext.h: use it instead of RowList.h
3331 * bufferview_funcs.C:
3338 * text3.C: #include "RowList.h".
3340 2003-09-05 Angus Leeming <leeming@lyx.org>
3342 * factory.C (createInset):
3343 * vspace.C (c-tor): replace sscanf call with an istringstream.
3344 * ispell.C: re-add missing HP/UX headers.
3345 * lyxserver.C: re-add missing os2 headers.
3347 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3356 * text3.C: re-add missing system headers, needed for 2.95.2.
3358 2003-09-05 Angus Leeming <leeming@lyx.org>
3360 Changes most place everywhere due to the removal of using directives
3361 from support/std_sstream.h.
3363 2003-09-05 Angus Leeming <leeming@lyx.org>
3365 Replace LString.h with support/std_string.h,
3366 Lsstream.h with support/std_sstream.h,
3367 support/LIstream.h with support/std_istream.h,
3368 support/LOstream.h with support/std_ostream.h.
3370 Changes resulting throughout the tree.
3372 2003-09-05 Angus Leeming <leeming@lyx.org>
3374 * sgml.h: ensure that the header file can be compiled stand-alone.
3375 * *.C: strip out redundant #includes. (320 in total.)
3377 2003-09-04 Angus Leeming <leeming@lyx.org>
3379 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3380 here (from getPackages).
3382 * debug.[Ch]: add a new EXTERNAL tag.
3384 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3386 * text2.C (cursorEnd): simplify
3388 (getColumnNearX): adjust
3390 * text.C (computeBidiTables): adjust
3393 * rowpainter.C (paintChars): adjust
3394 (paintSelection): adjust
3395 (paintChangeBar): adjust
3398 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3400 (numberOfSeparators): adjust
3402 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3408 * text3.C: Restricts the mouse click functionality
3409 of insets like bibtex, include, toc and floatlist to the visible
3410 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3411 up the dialogs. Cursor has to be in front of the inset (i.e.
3412 start of row) for this to function.
3414 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3416 * bufferview_funcs.C (currentState): output row information
3418 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3420 * bufferview_funcs.C (currentState): output paragraph position
3422 2003-09-04 Angus Leeming <leeming@lyx.org>
3424 * FloatList.h: move out #include "Floating.h".
3425 * LaTeX.h: move out #include "DepTable.h".
3426 * LyXAction.h: move out #include "funcrequest.h".
3427 * buffer.h: move out #include "author.h", "iterators.h".
3428 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3429 * lyx_main.h: move out #include "errorlist.h".
3430 * lyxfunc.h: move out #include "FuncStatus.h".
3431 * lyxtext: move out #include "lyxcursor.h".
3432 * paragraph_pimpl.h: move out #include "counters.h".
3434 2003-09-03 Angus Leeming <leeming@lyx.org>
3436 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3437 preamble_snippets list, enabling us to add snippets to the preamble
3438 only if the snippet was not there already.
3440 2003-09-04 Angus Leeming <leeming@lyx.org>
3442 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3444 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3449 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3451 * BranchList.C: point fix, earlier forgotten
3453 2003-09-02 Angus Leeming <leeming@lyx.org>
3455 * box.C (contains): renamed from 'contained' after a fantastic
3458 2003-09-02 John Levon <levon@movementarian.org>
3464 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3466 2003-09-02 John Levon <levon@movementarian.org>
3468 * text2.C: simplification of cursorEnd(), including partial
3471 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * buffer.C (readFile): add a space
3475 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3477 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3479 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * buffer.C (readFile): new function, take a filename and a
3482 ParagraphList::iterator
3484 (readFile): adjust, make it private. don't use setStream, make
3485 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3486 always contain the filename.
3488 * BufferView.C (insertLyXFile): simplify and make it work for
3491 2003-08-30 John Levon <levon@movementarian.org>
3493 * Makefile.am: fix dist (from Kayvan)
3495 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * most files: change to use const Buffer refs
3499 2003-08-27 André Pönitz <poenitz@gmx.net>
3501 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3502 on top of ownerPar().
3504 2003-08-27 John Levon <levon@movementarian.org>
3506 * funcrequest.C: properly initialise POD members
3508 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3510 * lyxtext.h (top_y): move top_y from here
3515 * BufferView_pimpl.[Ch]: to here
3516 * frontends/screen.C:
3517 * insets/insettabular.C:
3518 * insets/insettext.C: adjust
3519 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3521 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3524 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3526 2003-08-26 André Pönitz <poenitz@gmx.net>
3528 * paragraph_func.[Ch] (outerPar): new function
3531 * paragraph_funcs.C:
3532 * paragraph_funcs.h:
3533 * paragraph_pimpl.C:
3534 * text2.C: remove Inset::par_owner
3536 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3541 * text2.C: eliminates the needFullRow/display() stuff
3542 altogether, putting the logic in metrics/draw in the insets.
3544 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3546 * text2.C (redoParagraphInternal, redoParagraphs):
3547 * text.C (redoParagraph): add a call to updateRowPositions at the
3548 end of each 'metrics-like' call. Remove all others.
3549 (getRow): remove the 'y-computing' version.
3550 (getRowNearY): do not compute nor return the real y. Solve the
3551 'y < 0' problem and simplify.
3553 2003-08-22 Angus Leeming <leeming@lyx.org>
3555 * *.[Ch]: clean-up of licence and author blurbs.
3556 Also move config.h out of a few .h files and into a few .C files.
3558 2003-08-22 André Pönitz <poenitz@gmx.net>
3560 * lyxrow.[Ch]: add x_ and *fill_ members
3565 * text2.C: adjust/remove prepareToPrint() calls
3567 2003-08-22 André Pönitz <poenitz@gmx.net>
3569 * lyxrow.[Ch]: add end_ member
3571 * lyxrow_funcs.C: use LyXRow::end_
3573 * lyxtext.h (singleWidth): add LyXFont parameter
3576 * text2.C: adjust LyXText::singleWidth() calls
3578 * text.C (redoParagraph): simplify row breaking logic
3581 2003-08-19 André Pönitz <poenitz@gmx.net>
3583 * funcrequest.C: initialize button_ member
3586 * rowpainter.[Ch]: interface consolidation
3588 2003-08-18 André Pönitz <poenitz@gmx.net>
3591 * BufferView_pimpl.C:
3593 * paragraph_funcs.C:
3595 * text3.C: remove LyXScreen::draw() and fitCursor calls
3597 * BranchList.h: remove spurious semicolons
3599 * MenuBackend.C: fix branchlist related crash
3601 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3609 * bufferparams.[Ch]:
3613 * text3.C: implements the 'branch inset'
3614 idea. This allows the output of various versions of a document
3615 from a single source version, selectively outputing or suppressing
3616 output of parts of the text.
3617 This implementation contains a 'branch list editor' in a separate
3618 tab of the document settings dialog. Branches are user definable
3619 and have a "display colour" to distinguish them on-screen.
3621 ColorHandler was somewhat cleaned up.
3622 (1) make possible a dynamically growing LColor list by allowing
3623 the graphic context cache to grow along (vector);
3624 (2) eliminate an IMHO unnecessary step in colour allocation.
3626 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3628 * BufferView_pimpl.C: compile fix
3630 2003-08-15 André Pönitz <poenitz@gmx.net>
3632 * rowpainter.C: remove extra metrics calls
3634 * lyxtext.h: merge the two constructors into a single one,
3635 pass reference to owner's par list
3637 * BufferView_pimpl.C:
3641 2003-08-15 André Pönitz <poenitz@gmx.net>
3643 * lyxrow_funcs.[Ch]:
3646 * paragraph_funcs.C:
3651 * text_funcs.C: split LyXText::rowlist_ into individual
3652 Paragraph::rows_ chunks
3655 * BufferView_pimpl.[Ch]:
3658 * text3.C: remove toggleSelection()
3660 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3662 * bufferlist.C: beautify two alerts (shorter text of buttons)
3663 * buffer.C: Remove redundant ' ' from message
3665 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3666 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3667 rename VALIGN_CENTER to VALIGN_MIDDLE
3669 2003-08-11 André Pönitz <poenitz@gmx.net>
3671 * lyxtext.h (getPar):
3672 * text.C: new function
3674 2003-08-11 André Pönitz <poenitz@gmx.net>
3677 * tracer.[Ch]: remove unneeded files
3679 * InsetList.[Ch]: remove resizeInsetsLyXText()
3684 * text3.C: merge insertParagraphs() and appendParagraph()
3685 remove breakAgain(), update()
3687 * BufferView_pimpl.[Ch]:
3688 * bufferview_funcs.[Ch]:
3692 * tabular.C: adjust after text & InsetList changes.
3694 2003-08-08 André Pönitz <poenitz@gmx.net>
3696 * text.C (insertChar, backspace): replace rowlist fiddling
3697 with rebreak of full par
3700 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3701 checkParagraph, updateInset): removed
3703 2003-08-07 André Pönitz <poenitz@gmx.net>
3706 * text3.C: merge some LFUN handlers, remove dead code
3708 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3710 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3712 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3714 * text2.C (DEPM): fix part of bug 1255 and 1256
3716 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3718 * BufferView_pimpl.C (workAreaDispatch): change to use
3719 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3720 that are no mouse related.
3722 2003-08-05 André Pönitz <poenitz@gmx.net>
3725 * BufferView_pimpl.[Ch]:
3726 * bufferview_funcs.C:
3728 * text3.C: rip out "deep update"
3730 * textcursor.[Ch] (last_sel_cursor): remove unused member
3732 2003-08-04 André Pönitz <poenitz@gmx.net>
3735 * BufferView_pimpl.[Ch]:
3736 * ParagraphParameters.C:
3737 * bufferview_funcs.C:
3743 * text3.C: replace "complicated" BufferView::update(...) calls with
3746 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3748 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3750 * Makefile.am (lyx_SOURCES): add paper.h
3752 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3754 * Makefile.am: move things around so that both lyx-qt and
3755 lyx-xforms can be built (according to --with-frontend). Then lyx
3756 is a symbolic link to lyx-[firstfrontend]
3758 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3760 * Always use std::endl with lyxerr
3762 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3764 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3766 2003-08-01 André Pönitz <poenitz@gmx.net>
3769 * BufferView_pimpl.[Ch]:
3771 * text3.C: merge BufferView::repaint() and BufferView::update()
3773 2003-08-01 José Matos <jamatos@lyx.org>
3775 * buffer.[Ch]: file_format is no longer a buffer data element.
3777 2003-08-01 André Pönitz <poenitz@gmx.net>
3782 * text2.C: make redoParagraph more independent of current cursor
3784 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3786 * text2.C: remove unneeded members
3788 2003-07-30 André Pönitz <poenitz@gmx.net>
3790 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3792 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3793 create a single function...
3795 * paragraph_funcs.C (moveItem): ... here.
3798 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3800 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3802 * LColor.[Ch]: Add comment and greyedout logical colors.
3804 2003-07-30 André Pönitz <poenitz@gmx.net>
3806 * tabular.C: don't use Assert too heavily. This crashes where it
3809 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3811 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3812 is disabled (bug 1232)
3814 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3816 * factory.C: limited 'arg' scope
3818 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3820 * factory.C: fixed Note submenu issues
3822 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3824 * factory.C: submenu for Note/Comment/Greyedout
3826 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3829 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3831 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3834 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3835 greyedout. Patch provided by Jürgen Spitzmüller.
3837 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3839 * kbmap.C (read): fix error message when reading bind files
3841 2003-07-29 Angus Leeming <leeming@lyx.org>
3843 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3844 certainly does not do what it purports to do. I am doing it, and
3845 us, a favour by killing it.
3847 2003-07-28 José Matos <jamatos@lyx.org>
3849 * buffer.C (readBody, do_writeFile):
3850 * paragraph.C(readParagraph): \end_document replaces \the_end.
3852 2003-07-29 André Pönitz <poenitz@gmx.net>
3855 * BufferView_pimpl.[Ch]:
3859 * textcursor.[Ch]: remove toggleToggle & Co
3861 2003-07-28 José Matos <jamatos@fep.up.pt>
3863 * buffer.C (readParagraph):
3864 * params_func (readParToken, readParagraph):
3865 * paragraph.C (write): \layout -> \begin_layout.
3867 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * lyxlex_pimpl.C (setFile): clean up slightly.
3871 * bufferparams.h: add compressed var
3873 * buffer_funcs.C (readFile): adjust for LyXLex change
3874 (newFile): ditto + simplify
3876 * buffer.C (writeFile): handle writing of compressed files
3878 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3879 Check if the file is compressed and set a bufferparm if so.
3881 * Makefile.am (lyx_LDADD): remove explicit -lz
3883 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3885 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3886 makeDocBookFile): put the real LyX version in the first line of
3890 * version.C.in: remove lyx_docversion
3892 * tabular.C (write_attribute): add a template-based version to
3893 write enums properly
3895 2003-07-28 André Pönitz <poenitz@gmx.net>
3900 * text3.C: use doubles again for x-coordinates. They are needed.
3902 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3904 * messages.C (getLocaleDir): use lyx_localedir()
3906 * lyxlex_pimpl.C (setFile): compress stuff
3908 * buffer.C (writeFile): add some compression stuff
3909 (do_writeFile): new func, dont call expliti close... will this
3912 * Makefile.am (lyx_LDADD): add -lz
3914 2003-07-28 José Matos <jamatos@fep.up.pt>
3916 * buffer.C: increment file format.
3917 * paragraph_funcs (readParagraph, readParToken):
3918 * paragraph.C (readParagraph): add \end_layout.
3920 2003-07-27 Angus Leeming <leeming@lyx.org>
3922 * Makefile.am: remove special casing for configure-time setting of
3923 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3925 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3926 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3928 2003-07-26 André Pönitz <poenitz@gmx.net>
3930 * paragraph_func.[Ch]:
3931 * paragraph.C (realizeFont): inline it whereever it is used
3936 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3939 2003-07-26 André Pönitz <poenitz@gmx.net>
3943 * text2.C: get rid of LyXText::need_break_row
3945 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * toc.[Ch]: put namespace toc inside namespace lyx
3949 * MenuBackend.C (expandToc2): adjust for lyx::toc
3952 * lyxfunc.C (dispatch): adjust for lyx::find
3954 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3955 lyx::find instead. Reorganize a bit.
3956 (LyXReplace): rename to replace
3957 (LyXFind): rename to find
3959 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3962 2003-07-26 André Pönitz <poenitz@gmx.net>
3964 * text.C (setHeightOfRow): restrict scope of temporary variable
3966 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3967 code (never has been used?)
3969 2003-07-27 Asger Alstrup <alstrup@local>
3971 * text.C (fill): Optimise algorithm to exploit that we can reuse
3972 the LyXFont for many characters.
3973 (setHeightOfRow): Same thing.
3974 (rowBreakPoint): Same thing.
3976 2003-07-26 Asger Alstrup <alstrup@local>
3978 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3980 * text.C (singleWidth): Spurious font copying in hot-spot
3981 singleWidth avoided. Reorder tests for arabic for efficiency.
3983 * text.C (fill): handle empty paragraphs better.
3985 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3988 * encoding.h: add includes
3990 * lyxrc.C: remove reading of bind files
3992 * lyx_main.C (init): setup bindings and menus only if we have a
3995 * kbmap.C (read): new method. Do the actual reading of bind
3998 * converter.C (dvipdfm_options):
4001 (output): adapt PAPER_* enums.
4003 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4005 * bufferparams.h: remove paper-related enums from there
4007 * paper.h: New file. A trivial header file to hold paper-related
4008 enums. It should later expand to contain many paper-related
4011 * lyxrc.C: declare extern displayTranslator
4013 2003-07-27 José Matos <jamatos@fep.up.pt>
4015 * tabular.[Ch] (linuxdoc): add support for tables and figures
4018 2003-07-27 José Matos <jamatos@fep.up.pt>
4020 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4021 consistency in both functions.
4022 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4024 2003-07-26 Asger Alstrup <alstrup@local>
4026 * rowpainter.C (paintRows): Change algorithm to work directly on
4027 the insets rather than asking every character in the document
4028 whether its an inset.
4030 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4032 * buffer.C (openFileWrite): factorize some code
4034 2003-07-26 Angus Leeming <leeming@lyx.org>
4037 * lyx_main.[Ch]: replace occurances of system_tempdir with
4040 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * rename Inset to InsetOld
4044 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4046 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4047 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4048 which I think is a bit clearer. EDIT is gone, since it was
4049 premature optimisation, and broken for mathed anyway.
4050 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4051 with cursor positioning in insets as well (math insets still do not
4052 work, but that's a different story anyway.) It mysteriously
4053 crashes sometimes with undo in the first paragraph, but I'm fairly
4054 confident that this is a compiler bug.
4056 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * paragraph.C (Paragraph): adjust for new clone return type
4060 (copyIntoMinibuffer): ditto
4062 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4064 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4065 by not having a special case, and always doing a full rebreak of
4066 the document after undo.
4068 2003-07-23 Angus Leeming <leeming@lyx.org>
4070 * factory.C (createInset): InsetExternal::setParams now takes a
4073 2003-07-23 Angus Leeming <leeming@lyx.org>
4075 * factory.C (createInset): changed interface to the external and
4076 graphics mailers' string2params functions.
4078 2003-07-23 Angus Leeming <leeming@lyx.org>
4080 * factory.C (createInset): pass a
4081 Buffer const * parameter to InsetExternalMailer's string2params.
4083 2003-07-22 John Levon <levon@movementarian.org>
4085 * Thesaurus.h: include the right aiksaurus header
4087 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4089 * MenuBackend.C (expand): check menu shortcuts unconditionally
4091 2003-07-21 Angus Leeming <leeming@lyx.org>
4093 * factory.C (createInset): pass a
4094 buffer_path parameter to InsetGraphicsMailer's string2params.
4096 2003-07-21 Angus Leeming <leeming@lyx.org>
4098 * BufferView_pimpl.C (buffer):
4101 * lyxfunc.C (dispatch):
4102 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4103 rather than the grfx shortcut.
4105 2003-07-21 André Pönitz <poenitz@gmx.net>
4107 * rowpainter.C: remove unused variables
4110 * tabular_funcs.h: move to tabular.C
4111 * Makefile.am: adjust
4113 * tabular.[Ch]: basic optical cleaning
4115 * author.h: pass references, not values
4117 2003-07-18 André Pönitz <poenitz@gmx.net>
4125 * text3.C: two-phase drawing for InsetText and InsetTabular
4126 some float -> int changes.
4128 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4130 * lyx_main.C: fix the fix
4132 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4134 * lyx_main.C: fix a crash in batch mode if no files specified
4137 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4139 * format.[Ch] (papersize): moved to BufferParams
4140 * converter.[Ch] (dvips_options): moved to BufferParams
4141 (dvipdfm_options): moved to anon namespace
4142 * bufferparams.[Ch]: added above functions.
4144 2003-07-17 André Pönitz <poenitz@gmx.net>
4148 * text2.C: don't call inset->update() anymore
4150 * metricsinfo.[Ch]: add convenience constructor
4152 2003-07-16 André Pönitz <poenitz@gmx.net>
4157 * text2.C: replace the LyXCursor::irow_ member with
4158 on-demand computation of the value
4160 2003-07-16 John Levon <levon@movementarian.org>
4162 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4164 2003-07-15 André Pönitz <poenitz@gmx.net>
4167 * text2.C: remove no more needed refresh_row
4169 2003-07-15 André Pönitz <poenitz@gmx.net>
4174 * text3.C: refresh_status tristate -> need_update bool
4176 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4178 * lyxtext.h (init): remove reinit argument (act as if always true)
4179 * text2.C: adjust to that
4181 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4183 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4184 * text3.C: use it to delete selections in some cases
4185 (bugs 441, 673, 702, 954).
4187 2003-07-14 André Pönitz <poenitz@gmx.net>
4189 * rowpainter.[Ch]: reduce interface
4191 2003-07-14 André Pönitz <poenitz@gmx.net>
4193 * BufferView_pimpl.C:
4194 * text2.C: adjust after removing unused BufferView * argument
4196 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4198 * text2.C (init): fix a crash fired on resize
4200 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4202 * buffer.[Ch]: added new closing signal
4203 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4204 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4205 BufferView::Pimpl via the closing the signal
4207 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4209 * buffer.[Ch]: take out all bv-related from buffer
4211 * BufferView_pimpl.[Ch]: connect to new signals
4212 * CutAndPaste.C: removed useless asserts
4213 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4216 * lyxfunc.C: moved view-related funciontality from vc here
4217 * paragraph.C: removed outdated comments
4220 2003-07-10 André Pönitz <poenitz@gmx.net>
4222 * BufferView_pimpl.C:
4226 * text2.C: remove InsetText::InnerCache, clean up consequences
4228 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4230 * ispell.C: fix two typos in error messages
4232 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4234 * Extend Note inset to other forms of annotation like Comment
4235 and Greyedout. Right button click gives dialog.
4237 Files modified or added (+):
4241 * ControlNote.[Ch] +
4243 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4244 frontends/controllers
4248 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4250 * aspell.C: add missing namespace lyx::support
4252 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4254 * BufferView.[Ch] (newFile): Add
4255 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4256 * LaTeX.[Ch] (message): added this signal and use it
4257 * buffer.[Ch] (busy, message): added these signals and use them
4258 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4262 * importer.C: use buffer signals instead of direct bv calling
4263 * lyx_cb.[Ch] (ShowMessage): removed
4266 * paragraph_funcs.C:
4267 * text2.C: use buffer signals
4269 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * introduce namespace lyx::graphics
4273 2003-07-02 André Pönitz <poenitz@gmx.net>
4275 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4277 2003-07-01 André Pönitz <poenitz@gmx.net>
4284 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4285 text*.C to text_func.C
4287 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * introduce namespace lyx::support
4291 2003-06-30 André Pönitz <poenitz@gmx.net>
4296 * text.C: re-enable --with-included-string
4298 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * textcursor.C: add <config.h>
4302 * text.C (getWord): remove const from word_location arg
4304 * lyxvc.C (getLogFile): fix const type order
4306 * lyxtext.h: remove const from word_location arg, add arg name
4308 * lyxlayout.h: currect type on labeltype.
4310 * importer.C: correct \file
4312 * converter.C (intToFormat): use std:: on ret val, ws changes
4314 * bufferlist.h: correct \file
4316 * buffer.C (makeLinuxDocFile): fix const type order
4317 (makeDocBookFile): ditto
4318 (fillWithBibKeys): use std:: on stdlib args.
4320 * CutAndPaste.C: fix authors.
4321 (availableSelections): use std:: on return vector
4323 2003-06-27 André Pönitz <poenitz@gmx.net>
4325 * BufferView_pimpl.C:
4326 * bufferview_funcs.C:
4334 * text3.C: remove LyXCursor::row_ member
4337 * text.C: rename fullRebreak() to partialRebreak() and implement
4338 a fullRebreak() that really bereks fully
4340 * textcursor.h: new struct for cursor-related data
4342 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4344 * lyx_main.C (LyX): get full path of document loaded on the
4347 2003-06-26 André Pönitz <poenitz@gmx.net>
4349 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4350 remove unused/broken operator>,<,>=.
4352 * text.C: remove only use of broken operator<= in an Assert().
4354 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4356 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4357 moved errorlist_.clear to showErrorList
4359 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4361 * converter.C (scanLog, runLaTeX):
4362 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4363 move the bv->showErrorList call to the callers
4364 * lyxfunc.C: i.e. here...
4366 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4367 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4368 namespace, the second to...
4369 * buffer_funcs (BufferFormat, parseErrors): added
4370 * errorlist.C (ErrorList(TeXErrors const &)): removed
4372 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4374 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4376 2003-06-24 "Garst R. Reese" <reese@isn.net>
4380 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4382 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4384 * version.C.in: change docversion to 1.4
4386 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4388 * buffer.C: fix a bug just introduced
4390 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4392 * buffer.[Ch]: added the parseError signal and use it, removed
4394 * BufferView.[Ch] (addError): moved to ...
4395 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4396 to the Buffer::parseError signal to catch (guess what) parse errors
4397 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4399 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4401 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4402 ability to create a buffer and to return an existing one from
4403 the list. Moved these functions to...
4404 * buffer_funcs.[Ch]: added
4405 * BufferView.[Ch] (loadLyXFile): added
4406 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4407 job removed from bufferlist::loadLyXFile.
4408 * buffer.C (setReadOnly): make it work without view
4409 (i.e added an if (users))
4411 2003-06-19 Angus Leeming <leeming@lyx.org>
4414 * LyXAction.C (init):
4415 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4416 with LFUN_DIALOG_SHOW <name> <data>.
4418 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4420 * CutAndPaste.C (availableSelections): small compilation fix for
4421 ancient (gcc 2.9x) compilers
4423 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * text3.C (cursorNext): add tmp var
4427 * text2.C (updateCounters): for function calling out of for clause
4428 (replaceSelectionWithString): ditto
4429 (insertStringAsParagraphs): ditto
4430 (getColumnNearX): add tmp var
4431 (setCursorFromCoordinates): add tmp var
4432 (cursorDownParagraph): add tmp var
4433 (deleteEmptyParagraphMechanism): add tmp var
4435 * text.C (insertChar): add tmp var
4437 * rowpainter.C (paintDepthBar): add tmp var
4439 * CutAndPaste.C (availableSelections): potentially check all
4440 paragraphs in a cut to fill the shown strings.
4442 2003-06-18 André Pönitz <poenitz@gmx.net>
4444 * kbmap.[Ch]: use vector<> instead of list<>
4446 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4448 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4449 pasteSelection with index
4451 * text2.C (pasteSelection): modify, call pasteSelection with index
4453 * paragraph.C (asString): reimplement version with no interval to
4454 call the one with interval.
4456 * lyxtext.h: add index arg to pasteSelection
4458 * MenuBackend.C (MenuItem): handle PasteRecent
4459 (Menu::read::Menutags): add md_pasterecent
4461 (expandPasteRecent): new function
4464 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4466 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4468 (availableSelections): new function
4470 2003-06-17 Angus Leeming <leeming@lyx.org>
4472 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4474 2003-06-17 Angus Leeming <leeming@lyx.org>
4477 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4479 * lyxfunc.C (dispatch): invoke it.
4481 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4483 * iterators.C (operator++, ParPosition): reintroduce some
4484 const_cast for the benefit of older compilers.
4486 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4488 * text3.C (dispatch): do not modify clipboard when doing
4489 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4490 LFUN_DELETE_SKIP on a selection selection
4492 2003-06-16 André Pönitz <poenitz@gmx.net>
4498 * tabular.[Ch]: IU of clone() and getLabelList();
4500 2003-06-13 André Pönitz <poenitz@gmx.net>
4502 * tabular.h: compactification
4504 2003-06-12 André Pönitz <poenitz@gmx.net>
4508 * tabular_funcs.h: some renaming plus whitespace
4510 2003-06-12 André Pönitz <poenitz@gmx.net>
4513 * BufferView_pimpl.C:
4519 * toc.C: Return a Paragraph & for ParIterator::operator*()
4521 2003-06-11 John Levon <levon@movementarian.org>
4525 * ToolbarBackend.C: add "Toolbars" section and
4528 2003-06-10 Angus Leeming <leeming@lyx.org>
4531 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4533 * lyxfunc.C (dispatch): invoke it.
4535 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * main.C: protect <ios> with HAVE_IOS
4538 (main): protect sync_with_stdio with HAVE_IOS
4540 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4542 * text2.C (cutSelection): adjust
4543 (pasteSelection): adjust
4545 * messages.C: handle get of empty string
4547 * main.C (main): use sync_with_stdio(false)
4549 * lyxfunc.C (dispatch): adjust
4551 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4552 (WriteAs): remove unneeded BufferView arg.
4554 * bufferparams.h: use correct types on papersize, papersize2 and
4557 * bufferparams.C (readToken): adjust for type
4558 (writeLaTeX): add missing cases to switch.
4560 * bufferlist.C (quitWriteBuffer): adjust
4563 * buffer.C (asciiParagraph): remove some commented code.
4565 * CutAndPaste.C: remove current_view extern variable.
4566 (cutSelection): add BufferParams arg.
4567 (eraseSelection): add BufferParams arg.
4568 (pasteSelection): add Buffer const & arg
4570 2003-06-07 John Levon <levon@movementarian.org>
4573 * paragraph_funcs.C:
4574 * paragraph_pimpl.C:
4578 * paragraph.C: allow InsetERT to freely space lines,
4579 and some consolidation of code
4581 2003-06-06 José Matos <jamatos@fep.up.pt>
4583 * buffer.C (makeDocBookFile): fix bug #821
4585 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4587 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4589 2003-06-04 Angus Leeming <leeming@lyx.org>
4591 * buffer.C: bump format to 224.
4593 2003-06-05 André Pönitz <poenitz@gmx.net>
4595 * text2.C (redoParagraphs): remove two const_cast<>
4597 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4599 * ParagraphList.h: remove last remnants of NO_STD_LIST
4601 2003-06-03 Angus Leeming <leeming@lyx.org>
4603 * factory.C (createInset): small change to the way InsetExternal's params
4606 2003-06-04 André Pönitz <poenitz@gmx.net>
4608 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4610 * paragraph_pimpl.h:
4611 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4613 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4615 * undo_funcs.C: make some simple cases of undo work again
4617 2003-06-03 John Levon <levon@movementarian.org>
4619 * ispell.C: HPUX doesn't have sys/select.h
4622 2003-06-03 John Levon <levon@movementarian.org>
4624 * CutAndPaste.C: update tabular and include inset
4629 * paragraph.C: remove owningBuffer(), don't pass Buffer
4632 * factory.C: insetGraphicsParams changed
4634 2003-06-02 John Levon <levon@movementarian.org>
4640 * text3.C: remove insetparent
4642 2003-06-02 John Levon <levon@movementarian.org>
4645 * buffer.C: fix inset_iterator.end(), move out of line
4648 2003-06-01 John Levon <levon@movementarian.org>
4650 * text3.C: use a proper cut/paste when doing inset
4651 insert (from Jürgen Spitzmüller)
4653 2003-06-01 John Levon <levon@movementarian.org>
4655 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4657 2003-05-30 André Pönitz <poenitz@gmx.net>
4659 * rowpainter.C: unify second drawing phase
4661 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * trans_mgr.C: remove one case of current_view
4665 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4667 * paragraph_funcs.h: remove paragraph.h include
4669 * paragraph.h: delete NO_STD_LIST stuff
4671 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4673 * buffer.h: remove paragraph.h include
4675 * ParagraphList.C: delete file
4677 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4679 * toc.C (getTocList): adjust
4681 * paragraph_pimpl.C (validate): adjust
4683 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4685 * paragraph.C (Paragraph): adjust
4686 (getPositionOfInset): use const_iterator, adjust
4687 (bibitem): use const_iterator, adjust
4688 (setInsetOwner): adjust
4690 * iterators.C (operator++): adjust
4692 * InsetList.[Ch]: Replace selfmade iterator with standard
4693 vector::iterator also introduce const_iterator. Remove getPos,
4694 getInset and setInset from InsetTable. Adjust accordingly.
4696 * BufferView.C (lockInset): adjust
4697 (ChangeInsets): adjust
4699 * tabular.[Ch]: delete commented same_id functions
4701 2003-05-28 John Levon <levon@movementarian.org>
4703 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4705 2003-05-28 André Pönitz <poenitz@gmx.net>
4707 * metricsinfo.[Ch]: remove 'fullredraw' member
4709 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4711 * lyxtextclass.C (operator): remove caching.
4713 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * text2.C (cursorBottom): adjust
4718 (setCounter): use ParagraphList::find, adjust
4720 * text.C (workWidth): use ParagraphList::find, adjust
4722 * lyxcursor.C (LyXCursor): adjust
4724 * buffer.C (inset_iterator): adjust
4726 * ParagraphList.h: make iterator(value_type) private, make
4727 ParagraphList a friend of iterator.
4729 * ParagraphList.C (find): new function
4731 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4733 2003-05-27 André Pönitz <poenitz@gmx.net>
4735 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4737 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4739 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4741 2003-05-26 John Levon <levon@movementarian.org>
4743 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4745 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * remove same_id from function signatures, adjust.
4749 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4753 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4755 * paragraph.C (Paragraph): get rid of same_ids parameter
4757 * ParagraphList.C (insert): adjust
4760 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * paragraph_funcs.C (breakParagraph): adjust
4763 (breakParagraphConservative): adjust
4765 * buffer.C (readParagraph): adjust
4767 * ParagraphList.C (insert): take a reference instead of a pointer
4770 * paragraph.[Ch] (id): new function
4772 * bufferlist.C (newFile): adjust
4774 * ParagraphList.C (ParagraphList): adjust
4776 (push_back): take a reference instead of a pointer.
4778 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4780 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4783 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4784 set else use old code.
4786 * ParagraphList.C: remove all NO_NEXT code and only compile this
4787 code of NO_STD_LIST is set.
4789 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4791 * BufferView_pimpl.C:
4801 * graphics/GraphicsConverter.C:
4802 * graphics/PreviewLoader.C: header adjustment
4804 2003-05-23 Angus Leeming <leeming@lyx.org>
4806 * LaTeXFeatures.[Ch] (useBabel): new method.
4807 * bufferparams.C (writeLaTeX): use it.
4809 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * ParagraphList.h (set): remove unused function.
4813 2003-05-23 André Pönitz <poenitz@gmx.net>
4816 * BufferView_pimpl.C:
4820 * undo_funcs.C: setUndo reworked
4822 * iterators.[Ch]: add access to topmost ParagraphList
4824 * lyxtext.[Ch] (workWidth): add a const
4826 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4828 * texrow.[Ch] (increasePos): remove function
4829 * exporter.C (export): removed unused var and outdated comment
4831 2003-05-23 Angus Leeming <leeming@lyx.org>
4833 * latexrunparams.h: rename fragile as moving_arg.
4834 * paragraph.C (simpleTeXOnePar): ditto.
4835 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4837 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4841 (textUndoOrRedo): comment out a currently unused var.
4843 * paragraph.h (NO_NEXT): enable NO_NEXT
4845 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4847 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4849 * exporter.C (Export): adjust for removeAutoInsets removal.
4851 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4853 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4855 * BufferView.[Ch] (removeAutoInsets): delete function
4857 2003-05-22 Angus Leeming <leeming@lyx.org>
4859 * latexrunparams.h: add a free_spacing variable.
4861 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4862 to pass moving_arg, as the data is stored in runparams.fragile.
4864 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4865 to Inset::latexOptional or to simpleTeXOnePar.
4867 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4868 free_spacing arg to Inset::latexOptional.
4870 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4873 2003-05-22 Angus Leeming <leeming@lyx.org>
4875 * latexrunparams.h: add fragile and use_babel variables.
4877 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4878 * buffer.C (makeLaTeXFile): store this returned value in
4879 runparams.use_babel, thus passing it to the inset::latex methods.
4881 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4882 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4884 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4885 longer has a fragile arg, as it is stored in runparams.fragile.
4887 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4888 moving_arg parameter as the data is stored in runparams.fragile.
4890 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4891 a fragile parameter as the data is stored in runparams.fragile.
4893 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4897 2003-05-22 Angus Leeming <leeming@lyx.org>
4899 * latexrunparams.h: add a 'bool nice' which defaults to false.
4901 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4902 now encapsulated within runparams.
4904 * bufferlist.C (updateIncludedTeXfiles):
4905 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4907 2003-05-22 Angus Leeming <leeming@lyx.org>
4909 * latexrunparams.h: new file containing struct LatexRunParams.
4910 * Makefile.am: add new file.
4912 * LaTeX.[Ch] (c-tor, run):
4913 * buffer.[Ch] (makeLaTeXFile):
4914 * bufferlist.[Ch] (updateIncludedTeXfiles):
4915 * converter.C (convert, scanLog):
4916 * converter.[Ch] (runLaTeX):
4917 * exporter.C (Export):
4918 * paragraph.[Ch] (simpleTeXOnePar):
4919 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4920 * paragraph_funcs.[Ch] (latexParagraphs):
4921 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4922 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4923 pass around a LatexRunParams parameter.
4925 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * paragraph.[Ch]: remove unused constructor
4929 * ParagraphList.C (erase): new function, taking two iterators
4931 2003-05-22 André Pönitz <poenitz@gmx.net>
4933 * undo_funcs.C: remove duplicated code
4935 * iterator.[Ch]: operator=
4937 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * tabular.C (SetMultiColumn): ws changes
4941 * rowpainter.C (paintFirst): get rid of a ->previous
4943 * lyx_cb.C (getPossibleLabel): parlist simplification
4945 * BufferView.C (ChangeInsets): simplify slightly.
4947 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4949 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4950 * lfuns.h: new LFUN_SPACE
4951 * lyxfunc.C: protected space has a new lfun
4952 * paragraph_funcs.C: read new space insets
4954 * factory.C: handle new space insets
4956 2003-05-22 André Pönitz <poenitz@gmx.net>
4959 * BufferView_pimpl.C:
4962 * undo_funcs.C: return a ParIterator from getParFromID.
4964 * iterators.[Ch]: add two const's
4966 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * toc.C (getTocList): adjust
4970 * iterators.[Ch]: rework for parlist
4972 * buffer.C (par_iterator_begin): adjust
4973 (par_iterator_end): adjust
4975 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4977 * BufferView.C (removeAutoInsets): adjust
4978 (ChangeInsets): adjust
4980 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4982 * text.C (top_y): fix bug 1110
4984 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4986 * errorlist.[Ch]: added
4989 * BufferView_pimpl.C:
4990 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4993 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * Makefile.am: ensure that lyx is relinked upon changes to the
4996 various "convenience" libs.
4998 2003-05-20 Angus Leeming <leeming@lyx.org>
5000 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5001 files are compiled in alphabetical order again.
5003 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5005 2003-05-19 Angus Leeming <leeming@lyx.org>
5007 * gettext.[Ch]: remove "char const * _(char const *)".
5009 2003-05-19 André Pönitz <poenitz@gmx.net>
5011 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5020 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5022 2003-05-19 André Pönitz <poenitz@gmx.net>
5026 * lyxtextclass.[Ch]:
5028 * paragraph_funcs.[Ch]:
5030 * text3.C: more insetenv work
5032 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5034 * ParagraphParameters.C (params2string): small bug fixed
5036 2003-05-16 André Pönitz <poenitz@gmx.net>
5039 * bufferview_funcs.C: patch from Kornel Benko to prevent
5040 crash when _(...) is called twice in a statement
5042 2003-05-16 André Pönitz <poenitz@gmx.net>
5049 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5051 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5053 * lyx_main.C (init): remove spurious static_cast
5055 2003-05-14 André Pönitz <poenitz@gmx.net>
5057 * BufferView.C: fix format string
5059 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5061 * BufferView.[Ch] (insertErrors): removed
5062 * BufferView.[Ch] (showErrorList): added
5063 * buffer.C (runChkTeX):
5064 * converter.C (scanLog): call showErrorList instead of inserterrors
5066 2003-05-13 André Pönitz <poenitz@gmx.net>
5068 * BufferView_pimpl.C:
5070 * bufferview_func.C:
5077 * tabular_funcs.h: tostr() from its own header
5079 * ParagraphParameters.C:
5084 * text3.C: STRCONV()
5086 2003-05-12 André Pönitz <poenitz@gmx.net>
5089 * BufferView_pimpl.C:
5093 * ParagraphParameters.C:
5097 * bufferview_funcs.C:
5110 * paragraph_funcs.C:
5114 * text3.C: boost::format -> bformat all over the place
5117 2003-05-09 André Pönitz <poenitz@gmx.net>
5119 * LColor.[Ch]: Pimpl the #include <map> away
5121 2003-05-09 John Levon <levon@movementarian.org>
5123 * bufferlist.C: never remove emergency saves
5125 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * Makefile.am: better lib building
5129 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5133 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5134 (simpleTeXSpecialChars): adjust
5135 (simpleTeXSpecialChars): adjust
5136 * paragraph.C (simpleTeXOnePar): adjust
5137 * buffer.C (makeLaTeXFile): adjust
5139 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5141 * text2.C (changeDepth): parlist cleanup
5142 (getColumnNearX): ditto
5144 * rowpainter.C (getLabelFont): parlist cleanup
5146 * bufferlist.C (newFile): parlist cleanup
5148 * CutAndPaste.C (eraseSelection): parlist cleanup
5150 * BufferView_pimpl.C (trackChanges): parlist cleanup
5153 * BufferView.C (lockInset): parlist cleanup.
5154 (ChangeInsets): ditto
5156 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * CutAndPaste.h: Update file header.
5160 * CutAndPaste.C: Update file header.
5161 Store the parts cut out of the Document in a limited_stack.
5162 (copySelection): adjust
5163 (pasteSelection): new function, takes the index in the limited stack.
5164 (nrOfParagraphs): adjust
5165 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5166 simplify error inset insertion.
5167 (checkPastePossible): adjust
5169 2003-05-06 John Levon <levon@movementarian.org>
5171 * text2.C: don't cast wrap inset to float
5173 2003-05-05 André Pönitz <poenitz@gmx.net>
5176 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5178 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5179 few naked Paragraph *.
5181 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5183 * bufferparams.C: Output warning if a document with missing
5184 TeX document class is loaded
5185 * exporter.C: Disable TeX exports if the document class is missing
5188 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5189 isTeXClassAvailable()
5191 2003-05-03 John Levon <levon@movementarian.org>
5194 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5195 explicit cursor show/hide
5197 * BufferView_pimpl.h:
5198 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5199 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5201 * lyxfunc.C: hide cursor before dispatching.
5206 * text3.C: remove explicit cursor hides
5208 2003-05-02 André Pönitz <poenitz@gmx.net>
5210 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5213 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5216 * text2.C: tiny whitespace
5218 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * undo_funcs.C: almost only ws changes.
5222 * ParagraphList.C (splice): just return if pl is empty.
5224 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * ParagraphList.C (splice): new function.
5228 * CutAndPaste.C (pasteSelection): use it
5230 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * CutAndPaste.C (pasteSelection): remove the last next and
5233 previous from this file.
5235 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * CutAndPaste.C (pasteSelection): more clean up, user proper
5238 ParagraphList functions for pasteing.
5240 * ParagraphList.C (insert): new function, three arg insert
5242 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * ParagraphList.C (insert): new function, three arg insert
5246 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5249 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5257 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5260 (copySelection): clean up a bit.
5261 (pasteSelection): use make_pair
5263 * ParagraphList.C (ParagraphList): implement copy constructor
5264 (operator=): implement, base on copy constructor.
5267 * paragraph.C (erase): return a bool
5269 * paragraph_pimpl.C (erasePos): remove function, move contents...
5270 (erase): ... here. Return a bool.
5271 (erase): call erase instead of erasePos.
5273 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5275 * ParagraphList.h: define PitPosPair
5276 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5277 ParagraphList, fix a bug on pasting multiple pars
5278 * text2.C: change interface to C&P
5280 2003-04-30 André Pönitz <poenitz@gmx.net>
5282 * undo_func.C: revert part of yesterday's patch 2
5284 2003-04-30 John Levon <levon@movementarian.org>
5286 * LColor.C: s/tabular/table/
5288 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * text3.C (dispatch): do not convert iterator -> pointer
5291 * undo_funcs.C (setCursorParUndo): ditto
5292 * text_funcs.C (transposeChars): ditto
5294 * text2.C (setLayout): ws changes only
5296 * text.C (breakParagraph): do not convert iterator -> pointer
5298 (acceptChange): ditto
5299 (rejectChange): ditto
5304 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5307 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5309 * text3.C (gotoInset): YABG (yet another bad getChar)
5311 2003-04-29 André Pönitz <poenitz@gmx.net>
5313 * paragraph.h: make operator= private unimplemented as long as
5316 * ParagraphList.C: whitespace
5319 * paragraph_pimpl.[Ch]:
5320 * paragraph_funcs.C:
5322 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5325 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5327 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5329 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5330 * paragraph.[Ch] (erase):
5331 * paragraph_pimpl.[Ch] (erase): change return type and value
5332 * text2.C (cutSelection): some rework
5334 2003-04-28 John Levon <levon@movementarian.org>
5336 * bufferlist.C: changes for unsaved changes dialog
5338 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * bufferlist.C (newFile): set language (messages_) for new
5343 * buffer.C (readFile): ws changes only.
5345 2003-04-28 André Pönitz <poenitz@gmx.net>
5350 * BufferView_pimpl.C:
5351 * BufferView.C: getParFromID related ParagraphList::iterator changes
5353 2003-04-28 André Pönitz <poenitz@gmx.net>
5355 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5358 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * messages.C: remove one more localedir class variable.
5362 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * messages.C (getLocaleDir): singleton generation function
5366 (Messages): add a default constructor.
5368 * main.C (main): do not setup localedir here, do not call
5371 * gettext.C (_): use it.
5372 (gettext_init): delete funciton
5374 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * gettext.C (getLyXMessages): new singleton generating function.
5378 * buffer.C (updateDocLang): adjust
5380 * Makefile.am (messages.o): add target
5381 (main.o): remove target
5383 2003-04-27 John Levon <levon@movementarian.org>
5388 * lyxvc.C: specify cancel button in Alert::prompt
5390 2003-04-26 John Levon <levon@movementarian.org>
5395 * LyXAction.C: add LFUN_INSET_SETTINGS
5397 * lyxfunc.C: don't enable tabular-feature when there's
5398 just any locking inset
5400 2003-04-26 John Levon <levon@movementarian.org>
5402 * bufferlist.C: re-add Cancel to buffer close question
5404 * lyxfunc.C: fix import UI a bit
5406 2003-04-25 John Levon <levon@movementarian.org>
5408 * gettext.C: remove the broken asserts for now
5410 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * messages.C: make case where setlocale cannot comply work better.
5414 * buffer.C (updateDocLang): new function
5415 (changeLanguage): use it
5418 * text2.C (setCounter): use B_ a bit.
5420 * lyxlayout.C (Read): be sure to trim the label strings.
5422 * messages.C (Messages): fix typo in comment
5424 * buffer.C (readFile): set message_ after file is loaded.
5425 (makeDocBookFile): remove double return
5426 (changeLanguage): reset message_ upon language change.
5427 (B_): new func, use this to get translated buffer strings.
5429 * main.C: add myself and Jean Marc as authors.
5431 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * messages.[hC]: pimplify Messages, and three different pimpls to be
5434 used in different circumstances.
5436 * gettext.[Ch]: change for use with new message code.
5438 2003-04-24 André Pönitz <poenitz@gmx.net>
5440 * factory.C: support for eqref
5442 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * messages.[Ch]: add missing char
5446 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5448 * messages.[Ch]: New files
5450 2003-04-18 John Levon <levon@movementarian.org>
5454 * BufferView_pimpl.C:
5458 * text2.C: remove layout-copy/paste (bug 778)
5460 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5462 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5464 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5466 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5467 if they succeed. Act accordingly.
5469 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * text2.C (setCharFont): adjust
5472 (setCounter): adjust
5473 (insertStringAsLines): adjust
5475 * text.C (leftMargin): adjust
5476 (setHeightOfRow): adjust
5478 * rowpainter.C (paintFirst): adjust
5481 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5483 (isFirstInSequence): ditto
5484 (getEndLabel): ditto
5487 * paragraph.C (getParLanguage): comment out some hard stuff.
5489 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5491 (simpleDocBookOnePar): ditto
5492 (makeDocBookFile): use ParagraphList::iterator
5494 * CutAndPaste.C (pasteSelection): adjust
5496 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * text2.C (getFont): adjust
5499 (getLayoutFont): adjust
5500 (getLabelFont): adjust
5502 * paragraph_funcs.C (TeXOnePar): adjust
5504 * buffer.C (simpleLinuxDocOnePar): adjust
5505 (simpleDocBookOnePar): adjust
5507 * CutAndPaste.C (pasteSelection): adjust
5509 * BufferView.C (getEncoding): adjust
5511 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5513 2003-04-16 John Levon <levon@movementarian.org>
5515 * lyxfind.C: use parlist stuff for search/changes
5517 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5521 * text2.C (deleteEmptyParagraphMechanism): adjust
5523 * text2.[Ch] (ownerParagraph): delete func (both of them
5525 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5529 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * ParagraphList.C: prepare for NO_NEXT
5533 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * text2.C (getFont): adjust
5536 (getLayoutFont): adjust
5537 (getLabelFont): adjust
5539 * paragraph.C (getFont): adjust
5540 (getLabelFont): adjust
5541 (getLayoutFont): adjust
5543 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5545 2003-04-15 John Levon <levon@movementarian.org>
5549 * lyx_main.C: handle Include in .ui files
5551 2003-04-15 John Levon <levon@movementarian.org>
5553 * MenuBackend.C: make the doc files length shorter
5556 * ToolbarBackend.C: handle toolbar placement flags,
5559 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5564 * paragraph_funcs.C (TeXOnePar): adjust
5566 * paragraph.C (getLabelFont): add outerfont arg, adjust
5567 (getLayoutFont): ditto
5568 (simpleTeXOnePar): adjust
5570 * paragraph_pimpl.C (realizeFont): delete func
5572 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5574 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5575 row argument, constify cur argument.
5577 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5579 * text2.C (getFont): adjust
5580 (getLayoutFont): adjust
5581 (getLabelFont): adjust
5583 * paragraph_funcs.C (TeXOnePar): adjust
5584 (outerFont): new func...
5585 (realizeFont): ...moved out from here, changed this to facilitate
5588 * paragraph.C (getFont): take outerfont as arg, adjust
5589 (simpleTeXOnePar): add outerfont arg, adjust
5591 * buffer.C (simpleLinuxDocOnePar): adjust
5592 (simpleDocBookOnePar): adjust
5594 * CutAndPaste.C (pasteSelection): adjust
5596 * BufferView.C (getEncoding): adjust
5598 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * text2.C (setCharFont): adjust
5601 (setCounter): adjust
5603 * text.C (leftMargin): adjust
5604 (setHeightOfRow): adjust
5606 * rowpainter.C (paintFirst): adjust
5609 * paragraph_pimpl.C (realizeFont): adjust
5611 * paragraph.C (isFirstInSequence): move from here...
5612 * paragraph_funcs.C (isFirstInSequence): ...to here
5614 * paragraph.C (outerHook): move from here...
5615 * paragraph_funcs.C (outerHook): ...to here
5617 * paragraph.C (depthHook): move from here...
5618 * paragraph_funcs.C (depthHook): ...to here
5620 * paragraph.C (getEndLabel): move from here...
5621 * paragraph_funcs.C (getEndLabel): ...to here
5623 * text2.C (realizeFont): move from here...
5624 * paragraph_funcs.C (realizeFont): ...to here
5626 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5630 2003-04-14 Angus Leeming <leeming@lyx.org>
5632 * LColor.[Ch]: scrap LColor mathcursor.
5634 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * lyxlex.[Ch] (text): delete function
5637 * trans.C (Load): adjust
5638 * paragraph_funcs.C (readParToken): adjust
5640 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5643 vector<char> instead of a char[].
5645 * lyxlex_pimpl.C (getString): adjust
5647 (lex): use getString
5651 * lyxlex.C (text): use pimpl_->getString()
5655 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5658 (makeFontEntriesLayoutSpecific): temp var for par.size()
5659 (setLayout): temp var for ownerParagraphs().end()
5660 (fullRebreak): temp var for rows().end()
5661 (selectionAsString): temp var for boost::next(startpit), realize
5662 that the while really is a regular for loop.
5663 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5664 setCursor in one place.
5665 (setParagraph): temp vr for ownerParagraphs().end()
5666 (updateCounters): make the while loop a for loop
5667 (cutSelection): temp var for ownerParagraphs().end()
5668 (updateInset): make the do {} while() a regular for loop
5669 (getCursorX): use temp vars
5670 (setCurrentFont): use temp vars
5671 (getColumnNearX): use temp vars
5673 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * text.C (transformChar): use temp var for getChar
5676 (computeBidiTables): use temp var for row->par()
5677 (fill): move temp vars for row->par() and pit->layout() earlier in
5679 (labelFill): use temp var for row->par()
5680 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5681 asc and desc, realize that pit never changes and that firstpit is
5682 just a duplicate and not needed. Exchange rit->par() with pit in a
5684 (breakAgain): use a temp var for boost::next(rit)
5685 (breakAgainOneRow): ditto
5686 (breakParagraph): use a temp var for rows().begin()
5687 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5688 (cursorRightOneWord): use temp var for cursor.par() and
5689 cursor.pos(), remove usage of tmpcursor.
5690 (cursorLeftOneWord): use temp var for cursor.par() and
5691 cursor.pos() only set cur at end of function.
5693 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * text.C, text2.C: exchange all usage of Paragraph::next with
5696 boost::next(ParagraphList::iterator)
5698 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5700 * text2.C (cursorTop): simplify implementation
5701 (cursorBottom): ditto
5702 (setParagraph): use ParagraphList::iterator
5703 (setCurrentFont): adjust
5704 (getColumnNearX): adjust
5705 (cursorRight): adjust
5706 (cursorLeft): remove usage of Paragraph::previous
5707 (cursorUpParagraph): ditto
5708 (deleteEmptyParagraphMechanism): slight cleanup
5710 * text.C (isBoundary): take a Paragraph const & instead of a
5712 (addressBreakPoint): ditto
5713 (leftMargin): remove usage of Paragraph::previous.
5714 (setHeightOfRow): ditto
5715 (cursorLeftOneWord): ditto
5716 (selectNextWordToSpellcheck): ditto
5719 (breakParagraph): remove one usage of Paragraph::next
5720 (redoParagraph): ditto
5721 (acceptChange): ditto
5722 (insertChar): adjust
5723 (rowBreakPoint): adjust
5725 * bufferview_funcs.C (toggleAndShow): adjust
5727 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5729 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5730 methods to access it.
5732 * text.C: Added updateRowPositions to compute all row positions.
5733 Make top_y and getRowNearY() to use the cached y position
5735 2003-04-11 John Levon <levon@movementarian.org>
5737 * text.C (rowBreakPoint): reintroduce the labelEnd
5738 checks, code copied from the row fill stuff. Deep voodoo.
5740 * text.C (fill): add a comment and debugging for the
5743 2003-04-11 John Levon <levon@movementarian.org>
5745 * text.C: make sure fullrow insets get wrapped to the next line,
5746 even when they're in a manual label
5748 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5750 * text2.C (insertParagraph): make it take ParagraphList::iterator
5752 (setLayout): make it return ParagraphList::iterator
5753 (redoParagraphs): ditto
5755 (checkParagraph): ditto
5757 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5759 * text2.C: adjust several funcs.
5760 (realizeFont): take a ParagraphList::iterator as arg.
5761 (getLayoutFont): ditto
5762 (getLabelFont): ditto
5763 (setCharFont): ditto
5765 * text.C: adjust several funcs.
5767 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5769 * text.C (selectNextWordToSpellcheck): don't accidentally
5772 2003-04-10 John Levon <levon@movementarian.org>
5774 * ToolbarBackend.C (getIcon): special handling for
5777 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5779 * text2.C (cursorRight): a getChar assert fixed
5781 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * text2.C (getFont): change to take a ParagraphList::iterator
5784 instead of Paragraph*
5785 Adjust several functions.
5787 * text.C (transformChar): change to take a ParagraphList::iterator
5788 instead of Paragraph*
5789 (singleWidth): ditto
5790 Adjust several functions.
5792 * rowpainter.C: adjust several functions
5793 * rowpainter.h:store a ParagraphList::iterator and not a
5797 2003-04-09 John Levon <levon@movementarian.org>
5802 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5803 and the "help" bits as well
5805 2003-04-09 John Levon <levon@movementarian.org>
5808 * ToolbarBackend.C: allow multiple toolbars
5810 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * undo_funcs.C (setCursorParUndo): adjust
5814 * text_funcs.C (transposeChars): adjust
5816 * text3.C (gotoNextInset): adjust
5819 * text2.C (setLayout): adjust
5820 (changeDepth): adjust
5822 (redoParagraphs): adjust
5823 (selectionAsString): adjust
5824 (setParagraph): adjust
5825 (insertInset): adjust
5826 (cutSelection): adjust
5827 (copySelection): adjust
5828 (pasteSelection): adjust
5829 (insertStringAsLines): adjust
5830 (updateInset): adjust
5831 (setCursor): change to take a ParagraphList::iterator parameter
5832 (setCursorIntern): change to take a ParagraphList::iterator parameter
5833 (setCurrentFont): adjust
5834 (cursorLeft): adjust
5835 (cursorRight): adjust
5836 (deleteEmptyParagraphMechanism): adjust
5838 * text.C (breakParagraph): adjust
5839 (insertChar): adjust
5840 (acceptChange): adjust
5841 (rejectChange): adjust
5842 (selectNextWordToSpellcheck): adjust
5843 (changeCase): adjust
5847 * lyxfind.C (SearchForward): adjust
5848 (SearchBackward): adjust
5849 (nextChange): adjust
5851 * lyxcursor.C (par): adjust
5853 * lyxcursor.h: store a ParagraphList::iterator instead of a
5856 * lyx_cb.C (getPossibleLabel): adjust
5858 * bufferview_funcs.C (toggleAndShow): adjust
5860 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5863 * BufferView.C (removeAutoInsets): adjust
5864 (lockedInsetStoreUndo): adjust
5866 2003-04-09 John Levon <levon@movementarian.org>
5868 * ToolbarBackend.C: try icon without argument
5869 if with argument fails
5871 2003-04-08 John Levon <levon@movementarian.org>
5874 * ToolbarBackend.C: add getIcon(), handle tooltip,
5875 and change from "Icon" to "Item".
5877 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5879 * BufferView.C (lockInset): another bad getchar crunched
5881 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5883 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5886 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5888 * lyxfind.C (searchForward, searchBackwards): bug 782
5890 2003-04-07 John Levon <levon@movementarian.org>
5892 * paragraph.C: remove dead comment
5894 * text.C: remove troublesome depth-fiddling code
5895 in leftMargin() and rightMargin() (bug 1017)
5897 * text.C: fix breaking of rows in nested lists
5900 * text2.C (updateCounters): fix up depth values
5903 2003-04-07 John Levon <levon@movementarian.org>
5905 * BufferView_pimpl.C: clear message when doc finishes resizing,
5906 and after a mouse event
5908 * lyxfunc.C: clear message after exiting inset
5910 2003-04-07 John Levon <levon@movementarian.org>
5912 * bufferview_funcs.C: show math status not outside
5913 status in the statusbar
5915 2003-04-07 John Levon <levon@movementarian.org>
5917 * lyxfunc.C: note status changed after a depth change
5919 2003-04-04 Angus Leeming <leeming@lyx.org>
5921 * LaTeX.h: move AuxInfo operator==, != out of line.
5922 Remove LaTeX virtual destructor; nothing derives from it.
5923 Move operator()() out of public area and rename it startscript().
5924 Change protected for private.
5926 2003-04-04 Angus Leeming <leeming@lyx.org>
5929 * text2.C: remove unneeded #includes.
5931 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5933 * text2.C (dEPM): fix the heigth of the next row
5935 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5937 * text.C: squashed an invalid getChar requester + some ws changes
5939 2003-04-03 John Levon <levon@movementarian.org>
5941 * bufferview_funcs.h:
5942 * bufferview_funcs.C:
5945 * text2.C: make getStatus work for the env depth lfuns
5947 2003-04-03 John Levon <levon@movementarian.org>
5949 * bufferview_funcs.h:
5950 * bufferview_funcs.C:
5953 * text2.C: parlistize decDepth(), by merging it with incDepth()
5955 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5957 * lyxrow.h: store a ParagraphList::iterator instead of a
5958 Paragraph* and adjust other class functions to suit.
5960 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5963 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5965 * text2.C (setCursor): do not anchor to cursor row for the time being
5967 2003-04-02 John Levon <levon@movementarian.org>
5974 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5976 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * paragraph.h: make ParagraphList and ParagraphList::iterator
5979 friends of Paragraph.
5981 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5983 * ParagraphList.C: Use the private next_ and previous_ from
5986 2003-04-01 John Levon <levon@movementarian.org>
5990 * Makefile.am: rename, remove defaults gunk
5993 * MenuBackend.C: remove defaults gunk
5996 * Languages.C: remove defaults gunk
5999 * lyx_main.C: error out if files couldn't be found.
6001 2003-04-02 John Levon <levon@movementarian.org>
6003 * text2.C: make incDepth() use parlist
6005 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * undo_funcs.C (firstUndoParagraph): adjust
6009 * text3.C (gotoInset): adjust
6010 (dispatch): adjust, and rewrite loop.
6012 * text2.C (init): adjust, and rewrite loop.
6013 (redoParagraphs): adjust
6014 (updateInset): adjust, and rewrite loop.
6015 (deleteEmptyParagraphMechanism): adjust
6017 * tabular.C (LyXTabular): adjust
6018 (SetMultiColumn): adjust
6021 * lyxtext.[Ch] (ownerParagraph): delete function
6022 (ownerParagraphs): new function returns a ParagraphList.
6024 * BufferView.C (removeAutoInsets): adjust
6025 (insertErrors): adjust
6026 (setCursorFromRow): adjust
6028 2003-04-01 Angus Leeming <leeming@lyx.org>
6030 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6033 2003-04-02 John Levon <levon@movementarian.org>
6039 * text_funcs.C: make transposeChars a free function
6041 * lyxrow_funcs.C: remove wrong comment
6043 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * rowpainter.C: adjust
6051 * lyxrow_funcs. [Ch]: new files
6053 * lyxrow.[Ch]: remove next and previous pointers
6054 (next,previous): remove accessor functions
6055 (isParEnd): move to lyxrow_funcs
6056 (lastPos): move to lyxrow_funcs
6057 (nextRowIsAllInset): move to lyxrow_funcs
6058 (lastPrintablePos): move to lyxrow_funcs
6059 (numberOfSeparators): move to lyxrow_funcs
6060 (numberOfHfills): move to lyxrow_funcs
6061 (numberOfLabelHfills): move to lyxrow_funcs
6062 (hfillExpansion): move to lyxrow_funcs
6066 * bufferview_funcs.C (toggleAndShow): adjust
6068 * RowList.h: Remove class RowList from file leave just a
6071 * RowList.C: delete file
6073 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6076 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * text3.C (cursorPrevious): adjust
6079 (cursorNext): adjust
6082 * text2.C (redoHeightOfParagraph): adjust
6083 (redoDrawingOfParagraph): adjust
6086 * text.C (breakParagraph): adjust
6087 (insertChar): adjust
6090 * rowpainter.C (RowPainter): adjust
6091 (leftMargin): simplify and adjust
6092 (most rowpainter functions): adjust.
6094 * rowpainter.h: store the row as RowList::iterator not as Row*
6096 * lyxcursor.C (row): taka RowList::iterator as arg
6099 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6102 2003-04-01 Angus Leeming <leeming@lyx.org>
6104 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6105 stuff like bool Bool.
6107 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6109 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6112 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6117 * lyxtext.h (rows): drop one version and leve a const variant that
6118 returns a RowList::iterator.
6120 2003-03-31 Angus Leeming <leeming@lyx.org>
6122 * text.C (fill): ensure that the signature is the same as that in the
6125 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * text2.C (redoParagraphs): adjust
6128 (updateCounters): adjust
6129 (checkParagraph): adjust
6130 (getColumnNearX): adjust and reformat a bit.
6132 * text.C (top_y): adjust
6134 (leftMargin): adjust
6135 (prepareToPrint): adjust
6137 (getRowNearY): adjust
6139 * lyxtext.h: make rowlist_ mutable.
6141 * RowList.h: add const_iterator
6142 * RowList.C: adjust for RowList::const_iterator.
6144 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6147 2003-03-31 John Levon <levon@movementarian.org>
6150 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6152 * lyx_main.C: set default fonts from using lyx_gui funcs
6154 * exporter.C: pdf_mode moved from lyxrc
6157 * lyxfunc.C: changes from above
6159 2003-03-31 John Levon <levon@movementarian.org>
6161 * lyx_main.C: fix to the last fix
6163 2003-03-31 John Levon <levon@movementarian.org>
6165 * bufferlist.C: "Load original" -> "Load Original"
6171 * format.C: more Alert cleanups
6173 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6175 * text2.C (removeParagraph): make it take a RowList::iterator as
6177 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6178 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6180 * text.C (anchor_row): make it take a RowList::iterator as arg,
6182 (computeBidiTables): make it take a const reference to Row instead
6183 of Row pointer, adjust.
6184 (leftMargin): make it take a RowList::iterator as arg, adjust.
6185 (rowBreakPoint): adjust
6186 (breakAgainOneRow): make it take a RowList::iterator as arg,
6188 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6190 * bufferview_funcs.C (toggleAndShow): adjust
6192 2003-03-30 John Levon <levon@movementarian.org>
6196 * boost-inst.C: moved to support
6198 * several files: changes as a result
6200 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6202 * text2.C (LyXText): adjust.
6204 (removeRow): make it take a RowList::iterator as arg, adjust.
6205 (fullRebreak): adjust
6206 (deleteEmptyParagraphMechanism): adjust
6207 (clearPaint): adjust
6210 * text.C (top_y): adjust
6211 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6212 (breakAgain): make it take a RowList::iterator as arg, adjust.
6213 (breakParagraph): adjust
6214 (insertChar): adjust
6217 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6218 need_break_row, and refresh_row.
6220 * text3.C (dispatch): adjust
6222 * text2.C (checkParagraph): adjust
6224 (setCursorFromCoordinates): adjust
6226 * text.C (top_y): adjust
6228 (getRow): make it return a RowList::iterator, adjust
6229 (getRowNearY): make it return a RowList::iterator, adjust
6231 * text2.C (init): adjust
6232 (insertRow): remove function
6233 (insertParagraph): adjust
6234 (redoParagraphs): adjust
6235 (fullRebreak): adjust
6236 (updateCounters): adjust
6238 * text.C (top_y): rewrite to use RowList iterators.
6240 (setHeightOfRow): rewrite to sue RowList iterators.
6241 (appendParagraph): adjust
6242 (breakAgain): adjust
6243 (breakAgainOneRow): adjust
6244 (breakParagraph): adjust
6246 (getRowNearY): adjust, and remove commented code.
6248 * lyxtext.h (firstRow): delete function
6249 (lastRow): delete function
6250 (rows): new function (const and non-const versions.)
6251 (insertRow): delete function
6253 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6255 2003-03-29 John Levon <levon@movementarian.org>
6257 * BufferView_pimpl.C: always update scrollbar top
6258 because pasting text when we're anchored could mean we
6259 miss an update altogether
6261 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * text2.C (init): use rowlist_.end() and not 0.
6264 (insertRow): change to take a RowList::iterator as arg, adjust
6266 (insertParagraph): change to take a RowList::iterator as arg,
6268 (redoParagraphs): remove some debug msgs.
6270 * text.C (appendParagraph): change to take a RowList::iterator
6271 arg, adjust for this.
6272 (breakAgain): add an assert
6273 (breakAgainOneRow): ditto
6275 2003-03-29 John Levon <levon@movementarian.org>
6277 * text2.C: do not clear selection after inc/decDepth
6280 2003-03-29 John Levon <levon@movementarian.org>
6283 * buffer.C: fix broken strerrors according to Lars
6285 2003-03-29 John Levon <levon@movementarian.org>
6287 * converters.C: more Alert cleanups
6289 2003-03-29 John Levon <levon@movementarian.org>
6291 * bufferview_funcs.C: remove pointless Alert
6293 * buffer.C: fix confusing error message when
6294 a template is chmoded 000
6296 2003-03-29 John Levon <levon@movementarian.org>
6300 * BufferView_pimpl.C: Alert fixes
6304 * tabular-old.C: remove unused table compat reading
6306 2003-03-29 John Levon <levon@movementarian.org>
6311 * lyx_cb.C: more Alert cleanups
6313 * lyxfunc.C: don't allow chktex if not latex document
6315 2003-03-29 John Levon <levon@movementarian.org>
6319 * buffer.C: warnings pushed down from support/,
6322 2003-03-29 John Levon <levon@movementarian.org>
6324 * lyxfunc.C: safety check for C-r (revert)
6326 2003-03-29 John Levon <levon@movementarian.org>
6329 * bufferlist.C: several UI fixes using Alert::prompt.
6330 Fix the pointless looping quit code. Fix stupid revert
6335 * lyx_cb.C: use Alert::prompt
6337 * lyx_main.C: remove a silly question
6339 * lyxfunc.C: remove a couple of silly questions,
6342 2003-03-28 John Levon <levon@movementarian.org>
6344 * text2.C: fix bug 974 (End on empty par)
6346 2003-03-28 John Levon <levon@movementarian.org>
6348 * BufferView_pimpl.C:
6350 * lfuns.h: remove do-nothing math greek lfuns
6352 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * lyxgluelength.h (isValidGlueLength): add default arg on
6355 parameter 2. Remove default arg from friend in class.
6357 * lyxlength.h (isValidLength): add default arg on parameter 2.
6358 Remove default arg from friend in class.
6360 * text2.C (LyXText): adjust, initialize refresh_row.
6364 (insertParagraph): adjst
6365 (redoParagraphs): adjust
6366 (fullRebreak): adjust
6367 (updateCounters): adjust
6368 (deleteEmptyParagraphMechanism): first attempt at fixing a
6371 * text.C (top_y): adjust
6372 (setHeightOfRow): adjust
6374 (getRowNearY): adjust
6376 * lyxtext.h: include RowList.h
6377 (~LyXText): not needed anymore, deleted.
6378 (firstRow): modify for RowList
6379 (lastRow): new function
6380 Delete firstrow and lastrow class variables, add a Rowlist
6381 rowlist_ class variable.
6383 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6386 * RowList.C (insert): fix case where it == begin().
6388 2003-03-26 Angus Leeming <leeming@lyx.org>
6390 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6391 the thesaurus dialog.
6393 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6397 * RowList.[Ch]: new files
6399 * ParagraphList.C (erase): handle the case where it == begin
6402 2003-03-25 John Levon <levon@movementarian.org>
6406 * aspell.C: add new aspell support
6409 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6412 2003-03-25 Angus Leeming <leeming@lyx.org>
6415 * LyXAction.C (init): new LFUN_INSET_INSERT.
6417 * BufferView_pimpl.C (dispatch): split out part of the
6418 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6420 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6423 2003-03-25 Angus Leeming <leeming@lyx.org>
6425 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6427 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6430 * text3.C: remove useless row->height(0)
6432 2003-03-25 John Levon <levon@movementarian.org>
6436 * text3.C: rename the refreshing stuff to better names
6438 2003-03-24 John Levon <levon@movementarian.org>
6440 * BufferView_pimpl.h:
6441 * BufferView_pimpl.C: update layout choice on a mouse
6444 2003-03-23 John Levon <levon@movementarian.org>
6446 * Makefile.am: fix commandtags.h reference
6448 2003-03-22 John Levon <levon@movementarian.org>
6450 * BufferView_pimpl.C:
6455 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6457 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6460 * text.C: take the rtl methods out of line
6462 2003-03-21 André Pönitz <poenitz@gmx.net>
6464 * metricsinfo.[Ch]: new files containing structures to be passed around
6465 during the two-phase-drawing...
6467 2003-03-21 André Pönitz <poenitz@gmx.net>
6469 * lyxtextclass.C: read 'environment' tag.
6471 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6473 * text2.C (removeRow): fix bug 964
6475 2003-03-20 John Levon <levon@movementarian.org>
6479 * text2.C: paint cleanups. Inset::update() dropped font
6482 2003-03-19 John Levon <levon@movementarian.org>
6484 * lyxfunc.C: only fitcursor/markDirty if available()
6486 2003-03-19 John Levon <levon@movementarian.org>
6488 * commandtags.h: rename to ...
6490 * lfuns.h: ... this, and renumber / cleanup
6492 2003-03-19 John Levon <levon@movementarian.org>
6494 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6495 fit the cursor after an lfun
6499 * BufferView_pimpl.h:
6500 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6502 * LyXAction.C: layout-character should have ReadOnly
6504 * ParagraphParameters.C:
6506 * bufferview_funcs.C:
6513 * undo_funcs.C: changes from above
6515 2003-03-18 John Levon <levon@movementarian.org>
6517 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6518 remove it from update()
6520 * lyxfunc.C: update layout choice after an lfun
6522 * text3.C: remove extra updateLayoutChoice()s
6524 2003-03-18 John Levon <levon@movementarian.org>
6526 * text.C: top_y change means full repaint, fix
6527 a drawing bug with cursor movement
6529 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6533 * text2.C: anchor row on setCursor
6535 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6537 * lyxtext.h: remove almost all mutable keywords
6540 * text3.C: remove const keywords accordingly
6542 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6546 (TeXEnvironment): ditto
6549 2003-03-17 John Levon <levon@movementarian.org>
6551 * text.C (rowBreakPoint): remove attempt to fix displayed
6552 math insets inside a manual label
6554 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * lyxtext.h: remove BufferView* as first arg from almost all class
6558 * other files: adjust.
6560 2003-03-17 John Levon <levon@movementarian.org>
6564 * text2.C: more paint cleanups
6566 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6569 * rowpainter.C: remove "smart" background painting code
6571 2003-03-16 John Levon <levon@movementarian.org>
6576 * text3.C: add helper functions for setting refresh_row/y
6578 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6580 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6581 newline inset which *can* get inserted in the pass_thru layouts.
6582 This is primarily for literate documents.
6584 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6586 * buffer.C: increment LYX_FORMAT to 223
6588 2003-03-14 André Pönitz <poenitz@gmx.net>
6590 * textclass.h: prepare for environment handling, ws changes
6591 * lyxlayout.C: read latexheader and latexfooter tags
6593 2003-03-14 John Levon <levon@movementarian.org>
6595 * text2.C: rewrite ::status() a bit
6597 2003-03-13 John Levon <levon@movementarian.org>
6599 * lyxtext.h: add some docs
6601 2003-03-13 John Levon <levon@movementarian.org>
6606 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6608 2003-03-13 John Levon <levon@movementarian.org>
6610 * text3.C: fix appendix redrawing
6612 2003-03-13 John Levon <levon@movementarian.org>
6614 * text.C (setHeightOfRow):
6616 * rowpainter.C: make appendix mark have the text
6617 "Appendix" so the user knows what it is
6620 * LColor.C: s/appendixline/appendix/ from above
6622 2003-03-13 John Levon <levon@movementarian.org>
6624 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6626 * text.C: fix a getChar(pos) bug properly
6628 2003-03-13 Angus Leeming <leeming@lyx.org>
6631 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6632 Probably only temporary. Let's see how things pan out.
6634 * BufferView.C (unlockInset):
6635 * BufferView_pimpl.C (fitCursor):
6636 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6638 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6639 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6641 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6642 new functions that convert ParagraphParameters to and from a string.
6644 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6645 BufferView::Pimpl's dispatch.
6646 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6648 2003-03-13 André Pönitz <poenitz@gmx.net>
6652 * factory.C: make it aware of InsetEnv
6654 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6656 * text2.C (setCursor): never ask for one past last
6657 (setCursor): add some debugging messages.
6659 * text.C (singleWidth): never ask for one past last
6660 (singleWidth): ditto
6662 (rightMargin): ditto
6663 (rowBreakPoint): ditto
6664 (setHeightOfRow): ditto
6665 (prepareToPrint): ditto
6667 * rowpainter.C (paintBackground): never ask for one past last
6668 (paintText): never ask for one past last
6670 * paragraph_pimpl.C (getChar): make the assert stricter, never
6671 allow the one past last pos to be taken
6673 * paragraph.C (getChar): ws changes only
6675 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6676 (numberOfSeparators): ditto
6677 (numberOfHfills): ditto
6679 2003-03-12 John Levon <levon@movementarian.org>
6685 * paragraph_funcs.C: fix per-buffer authorlists
6687 2003-03-12 John Levon <levon@movementarian.org>
6689 * text.C: fix newline in right address
6691 2003-03-12 Angus Leeming <leeming@lyx.org>
6693 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6694 duplicate those in LyXFunc::dispatch.
6698 * ToolbarDefaults.C:
6699 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6700 Add LFUN_FONTFREE_UPDATE.
6702 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6703 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6705 * bufferview_func.[Ch]: several new functions to facilliate
6706 transfer of data to and from the character dialog.
6708 2003-03-12 John Levon <levon@movementarian.org>
6713 * paragraph_funcs.C:
6714 * paragraph_pimpl.C:
6718 * text3.C: remove META_NEWLINE in favour of an inset
6721 * rowpainter.C: remove paintNewline (done by inset)
6723 2003-03-12 John Levon <levon@movementarian.org>
6725 * paragraph_pimpl.C: complain about bad getChar()s
6726 for a while at least
6728 2003-03-12 John Levon <levon@movementarian.org>
6731 * buffer.C: move paragraph read into a separate function,
6732 a little renaming to reflect that.
6735 * bufferparams.C: remove the author_ids map, not necessary now
6738 * factory.C: moved Buffer::readInset to here
6740 * paragraph_funcs.h:
6741 * paragraph_funcs.C: readParagraph free function moved from
6744 * tabular.C: name change
6746 2003-03-12 John Levon <levon@movementarian.org>
6749 * ParagraphParameters.C: move par params input to
6752 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6753 behave like a normal read from the stream wrt reading
6754 a line vs. a \\token
6756 2003-03-12 John Levon <levon@movementarian.org>
6759 * ParagraphParameters.h:
6760 * ParagraphParameters.C: move output code to a
6763 2003-03-12 John Levon <levon@movementarian.org>
6765 * BufferView.C (insertLyXFile):
6768 * tabular.C: use a parlist iterator for creating the
6771 2003-03-12 John Levon <levon@movementarian.org>
6773 * buffer.C: make current_change static local not
6776 2003-03-12 John Levon <levon@movementarian.org>
6778 * buffer.C: fix insertStringAsLines for change tracking
6780 2003-03-12 John Levon <levon@movementarian.org>
6787 * bufferparams.C: move author list into params. Rename some
6788 functions. Move the header reading into a separate token
6789 loop. Move the header token reading into BufferParams.
6791 2003-03-12 John Levon <levon@movementarian.org>
6793 * changes.C: put debug inside lyxerr.debugging() checks
6795 2003-03-11 André Pönitz <poenitz@gmx.net>
6797 * factory.C: make it aware of InsetHFill
6799 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6801 * buffer.C (latexParagraphs): move function from here...
6802 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6805 2003-03-10 Angus Leeming <leeming@lyx.org>
6807 * LyXAction.C (init): fix bug in poplating array with multiple entries
6808 with the same LFUN (spotted by JMarc).
6810 2003-03-10 John Levon <levon@movementarian.org>
6813 * text2.C: move getColumnNearX() near its
6816 2003-03-10 John Levon <levon@movementarian.org>
6818 * text.C: fix break before a minipage
6820 2003-03-10 John Levon <levon@movementarian.org>
6822 * text.C: fix the last commit
6824 2003-03-09 John Levon <levon@movementarian.org>
6828 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6829 bug 365 (don't break before insets unless needed). Don't
6830 return a value > last under any circumstances.
6832 2003-03-09 Angus Leeming <leeming@lyx.org>
6834 * BufferView_pimpl.C (trackChanges, dispatch): call
6835 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6837 2003-03-09 Angus Leeming <leeming@lyx.org>
6839 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6840 than Dialogs::showAboutlyx().
6842 2003-03-09 Angus Leeming <leeming@lyx.org>
6844 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6845 than Dialogs::showTabularCreate().
6847 2003-03-09 John Levon <levon@movementarian.org>
6851 * text2.C: 3rd arg to nextBreakPoint was always the same.
6854 2003-03-08 John Levon <levon@movementarian.org>
6861 * text2.C: Remove the "main" bit from the "main body"
6864 2003-03-08 John Levon <levon@movementarian.org>
6866 * text.C (leftMargin): The left margin of an empty
6867 manual label paragraph should not include the label width
6870 * text.C (prepareToPrint): don't attempt to measure hfills
6871 for empty manual label paragraphs - the answer should be 0
6873 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * CutAndPaste.C: remove commented code and reindent.
6877 2003-03-08 John Levon <levon@movementarian.org>
6880 * lyxfunc.C: move reloadBuffer()
6883 * BufferView.C: to here
6885 * lyxvc.C: add comment
6888 * vc-backend.C: call bv->reload() to avoid
6889 getStatus() check on MENURELOAD
6891 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6893 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6894 to an old format .dep file.
6896 2003-03-07 Angus Leeming <leeming@lyx.org>
6898 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6899 when the LFUN_MOUSE_RELEASE should have been handled by
6900 inset->localDispatch.
6902 2003-03-07 Angus Leeming <leeming@lyx.org>
6904 * BufferView_pimpl.C (dispatch):
6905 * LyXAction.C (init):
6906 * ToolbarDefaults.C (init):
6908 * lyxfunc.C (getStatus):
6909 remove LFUN_INSET_GRAPHICS.
6911 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6913 2003-03-07 Angus Leeming <leeming@lyx.org>
6916 * LyXAction.C (init):
6917 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6919 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6922 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6924 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6925 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6927 2003-03-07 Angus Leeming <leeming@lyx.org>
6929 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6932 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * ParagraphList.C (front): new function
6937 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6939 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6940 and top_row_offset_. removed var first_y.
6942 * text2.C (LyXText, removeRow):
6944 * BufferView_pimpl.C:
6945 use these methods instead of using first_y
6947 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * text2.C (pasteSelection): adjust for checkPastePossible
6951 * CutAndPaste.C: remove Paragraph * buf and replace with
6952 ParagraphList paragraphs.
6953 (DeleteBuffer): delete
6954 (cutSelection): change the tc type to textclass_type
6955 (copySelection): change the tc type to textclass_type
6956 (copySelection): adjust for ParagraphList
6957 (pasteSelection): change the tc type to textclass_type
6958 (pasteSelection): adjust for Paragraphlist
6959 (nrOfParagraphs): simplify for ParagraphList
6960 (checkPastePossible): simplify for ParagraphList
6961 (checkPastePossible): remove unused arg
6963 * ParagraphList.C (insert): handle the case where there are no
6966 * CutAndPaste.h: make CutAndPaste a namespace.
6968 * text3.C (dispatch): adjust
6970 * text.C (breakParagraph): add a ParagraphList as arg
6972 * paragraph_funcs.C (breakParagraph): change to take a
6973 BufferParams and a ParagraphList as args.
6974 (breakParagraphConservative): ditto
6975 (mergeParagraph): ditto
6976 (TeXDeeper): add a ParagraphList arg
6977 (TeXEnvironment): ditto
6980 * buffer.C (readLyXformat2): adjust
6981 (insertStringAsLines): adjust
6982 (latexParagraphs): adjust
6984 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6985 (cutSelection): adjust
6986 (pasteSelection): adjust
6988 * BufferView_pimpl.C (insertInset): adjust
6990 2003-03-05 Angus Leeming <leeming@lyx.org>
6993 * LyXAction.C (init):
6994 * BufferView_pimpl.C (dispatch):
6995 * lyxfunc.C (getStatus):
6996 remove LFUN_CHILD_INSERT.
6998 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7000 2003-03-05 Angus Leeming <leeming@lyx.org>
7003 * LyXAction.C (init):
7004 * src/factory.C (createInset):
7005 * lyxfunc.C (getStatus):
7006 * text3.C (dispatch):
7007 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7009 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7011 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * ParagraphList.C (insert): handle insert right before end()
7014 (erase): fix cases where it can be first or last paragraph.
7016 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7019 Paragraph::next and Paragraph::previous
7022 * text.C (breakParagraph): adjust
7024 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7025 BufferParams& as arg.
7026 (breakParagraph): use ParagraphList::insert
7027 (breakParagraphConservative): take a Buffer* instead of a
7028 BufferParams& as arg.
7029 (breakParagraphConservative): use ParagraphList::insert.
7031 * buffer.C (insertStringAsLines): un-const it
7032 (insertStringAsLines): adjust
7034 * ParagraphList.C (insert): new function
7036 * CutAndPaste.C (pasteSelection): adjust
7038 * text.C (backspace): adjust
7040 * tabular.C (SetMultiColumn): adjust
7042 * CutAndPaste.C (cutSelection): adjust
7043 (pasteSelection): adjust
7045 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7046 Buffer const * as arg
7048 * ParagraphList.C (erase): new function
7049 * paragraph_funcs.C (mergeParagraph): use it
7050 (mergeParagraph): make it take a Buffer* instead of a
7051 BufferParams* as arg
7053 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7055 (breakParagraphConservative): ditto
7057 * paragraph.h: remove the breakParagraph friend
7059 * paragraph.C (eraseIntern): new function
7060 (setChange): new function
7062 * paragraph_funcs.C (mergeParagraph): make it take a
7063 ParagraphList::iterator instead of a Paragraph *, adjust
7066 * paragraph.h: move an #endif so that the change tracking stuff
7067 also works in the NO_NEXT case.
7069 2003-03-04 Angus Leeming <leeming@lyx.org>
7072 * LyXAction.C: new LFUN_INSET_MODIFY.
7074 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7075 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7077 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * several files: ws changes only
7081 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7082 (TeXEnvironment): ditto
7085 * buffer.C (makeLaTeXFile): adjust
7086 (latexParagraphs): make it take ParagraphList::iterator as args
7088 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * buffer.C (latexParagraphs): adjust
7092 * paragraph.C (TeXOnePar): move function...
7093 (optArgInset): move function...
7094 (TeXEnvironment): move function...
7095 * paragraph_pimpl.C (TeXDeeper): move function...
7096 * paragraph_funcs.C: ...here
7098 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7100 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * buffer.C (readInset): remove compability code for old Figure and
7105 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * buffer.C: ws changes
7110 * BufferView_pimpl.C: ditto
7113 * bufferlist.h: ditto
7117 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7119 * converter.[Ch]: split into itself +
7122 * Makefile.am: += graph.[Ch] + format.[Ch]
7129 * lyxrc.C: added #include "format.h"
7131 2003-02-27 Angus Leeming <leeming@lyx.org>
7133 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7136 * factory.C (createInset): add "label" to the factory.
7138 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7139 string and do no more.
7141 2003-02-27 Angus Leeming <leeming@lyx.org>
7144 * LyXAction.C (init):
7145 * factory.C (createInset):
7146 * BufferView_pimpl.C (dispatch):
7147 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7149 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7151 * lyxfunc.C (dispatch):
7152 * text3.C (dispatch): pass name to params2string.
7154 2003-02-26 Angus Leeming <leeming@lyx.org>
7156 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7158 Rearrange the ~includes. Strip out the unnecessary ones.
7160 * factory.C (createInset): reformat.
7161 create new insets for the various LFUN_XYZ_APPLY lfuns.
7163 2003-02-26 John Levon <levon@movementarian.org>
7166 * lyxrow.C: add isParStart,isParEnd helpers
7168 * paragraph.h: make isInserted/DeletedText take refs
7170 * paragraph_funcs.h:
7171 * paragraph_funcs.C: remove #if 0'd code
7176 * text.C: use lyxrow helpers above.
7177 Move draw and paint routines to RowPainter.
7178 Make several methods use refs not pointers.
7179 Make backgroundColor() const.
7180 Add markChangeInDraw(), isInInset().
7181 Merge changeRegionCase into changeCase.
7182 Make workWidth() shouldn't-happen code into an Assert.
7185 * rowpainter.C: new class for painting a row.
7188 * vspace.C: make inPixels take a ref
7190 2003-02-26 Angus Leeming <leeming@lyx.org>
7192 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7195 2003-02-25 John Levon <levon@movementarian.org>
7197 * ispell.C: give the forked command a more accurate name
7199 2003-02-22 John Levon <levon@movementarian.org>
7202 * toc.C: make TocItem store an id not a Paragraph *
7205 2003-02-21 Angus Leeming <leeming@lyx.org>
7207 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7208 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7209 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7210 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7211 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7212 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7214 * BufferView_pimpl.C (dispatch):
7215 * LyXAction.C (init):
7216 * factory.C (createInset):
7217 * lyxfunc.C (getStatus, dispatch):
7218 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7220 2003-02-21 Angus Leeming <leeming@lyx.org>
7222 * BufferView_pimpl.C (MenuInsertLyXFile):
7223 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7224 * lyxfunc.C (menuNew, open, doImport):
7225 no longer pass a LyXView & to fileDlg.
7227 2003-02-21 Angus Leeming <leeming@lyx.org>
7229 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7230 * LyXAction.C: change, BIBKEY to BIBITEM.
7231 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7232 Change InsetBibKey to InsetBibitem.
7233 Change BIBKEY_CODE to BIBITEM_CODE.
7234 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7235 * factory.C: replace insetbib.h with insetbibitem.h.
7236 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7237 * paragraph.C: replace insetbib.h with insetbibitem.h.
7238 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7239 Change bibkey() to bibitem().
7240 * text.C: remove insetbib.h.
7241 * text2.C: replace insetbib.h with insetbibitem.h.
7242 change bibkey() to bibitem().
7243 * text3.C: remove insetbib.h.
7244 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7246 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7248 * lyxrc.C (output): enclose user email in quotes (in case there are
7251 2003-02-18 John Levon <levon@movementarian.org>
7253 * buffer.h: add std::
7255 2003-02-17 John Levon <levon@movementarian.org>
7261 * pspell.C: reworking. Especially in ispell, a large
7262 number of clean ups and bug fixes.
7264 * lyxfunc.C: fix revert to behave sensibly
7266 2003-02-17 André Pönitz <poenitz@gmx.net>
7269 * commandtags.h: new LFUN_INSERT_BIBKEY
7279 * paragraph_func.C: remove special bibkey handling
7281 2003-02-17 John Levon <levon@movementarian.org>
7283 * text.C (Delete): fix case where delete at the end of
7284 the very first paragraph would not merge the pars
7286 2003-02-17 John Levon <levon@movementarian.org>
7288 * lyxrow.C: fix lastPrintablePos()
7290 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7292 * bufferparams.C (writeLaTeX): add a std:here
7294 * buffer.C: and remove a using directive there
7296 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7298 * buffer.C (makeLaTeXFile): move the code that generates the
7301 * bufferparams.C (writeLaTeX): ... in this new method
7303 * LaTeXFeatures.C (getEncodingSet): make const
7304 (getLanguages): make const
7306 * MenuBackend.C (binding): returns the binding associated to this
7308 (add): sets the status of each item by calling getStatus. Adds
7310 (read): add support for OptSubMenu
7311 (expand): remove extra separator at the end of expanded menu
7313 2003-02-15 John Levon <levon@movementarian.org>
7316 * BufferView_pimpl.C:
7318 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7319 inset code that had no actual effect. Remove unneeded status
7322 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7324 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7327 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7329 * text.C (drawLengthMarker): also draw an arrow marker for
7330 symbolic lengths (medskip...)
7332 2003-02-14 John Levon <levon@movementarian.org>
7335 * tabular.C: better method names
7337 2003-02-14 John Levon <levon@movementarian.org>
7339 * BufferView_pimpl.C:
7344 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7345 it's a more accurate name. Remove some pointless uses.
7347 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7349 * text2.C (LyXText): change order of initilizers to shut off
7352 2003-02-14 John Levon <levon@movementarian.org>
7354 * buffer.C: use ParIterator for getParFromID()
7358 * paragraph_pimpl.h:
7359 * paragraph_pimpl.C: remove unused getParFromID()
7361 2003-02-14 John Levon <levon@movementarian.org>
7363 * buffer.C: remove some very old #if 0'd parse code
7365 2003-02-13 John Levon <levon@movementarian.org>
7369 * text2.C: move hfillExpansion(), numberOfSeparators(),
7370 rowLast(), rowLastPrintable(), numberofHfills(),
7371 numberOfLabelHfills() ...
7374 * lyxrow.C: ... to member functions here.
7379 * text.C: remove LyXText::beginningOfMainBody(), and call
7380 p->beginningOfMainBody() directly. Move the check for
7381 LABEL_MANUAL into the latter.
7388 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7394 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7395 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7397 2003-02-13 John Levon <levon@movementarian.org>
7399 * CutAndPaste.C: remove debug
7401 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7403 * paragraph.C (asString): remove two unused variables
7405 * lyxtextclass.C (readTitleType):
7407 (LyXTextClass): handle new members titletype_ and titlename_
7409 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7411 2003-02-09 John Levon <levon@movementarian.org>
7414 * buffer.C: replace hand-coded list with a map for the dep clean
7416 2003-02-08 John Levon <levon@movementarian.org>
7418 * LaTeX.C: consolidate code into showRunMessage() helper
7420 2003-02-08 John Levon <levon@movementarian.org>
7425 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7426 and pass the size in explicitly
7428 * BufferView_pimpl.h:
7429 * BufferView_pimpl.C:
7431 * BufferView.C: add getCurrentChange()
7433 * BufferView_pimpl.h:
7434 * BufferView_pimpl.C: handle change lfuns
7436 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7437 for changes. Mark pasted paragraphs as new.
7439 * support/lyxtime.h:
7440 * support/lyxtime.C:
7441 * DepTable.C: abstract time_t as lyx::time_type
7444 * LColor.C: add colours for new text, deleted text, changebars
7446 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7447 package use "usenames" option.
7451 * LyXAction.C: add change lfuns
7455 * author.C: author handling
7458 * buffer.C: add a per-buffer author list, with first entry as
7459 current author. Handle new .lyx tokens for change tracking. Output
7460 author list to .lyx file. Output dvipost stuff to .tex preamble.
7461 Bump lyx format to 222.
7464 * bufferlist.C: add setCurrentAuthor() to reset current author details
7468 * bufferparams.C: add param for tracking
7470 * bufferview_funcs.C: output change info in minibuffer
7474 * changes.C: add change-tracking structure
7477 * debug.C: add CHANGES debug flag
7480 * lyxfind.C: add code for finding the next change piece
7483 * lyxrc.C: add user_name and user_email
7486 * lyxrow.C: add a metric for the top of the text line
7489 * text.C: implement accept/rejectChange()
7492 * text.C: paint changebars. Paint new/deleted text in the chosen
7493 colours. Strike through deleted text.
7497 * paragraph_pimpl.h:
7498 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7499 in the current change to the insert functions. Rework erase to
7500 mark text as deleted, adding an eraseIntern() and a range-based
7501 erase(). Implement per-paragraph change lookup and
7504 * paragraph_funcs.C: Fixup paste for change tracking.
7506 * tabular.C: mark added row/columns as new.
7508 * text.C: fix rowLast() to never return -1. Don't allow
7509 spellchecking of deleted text. Track transpose changes. Don't
7510 allow paragraph break or merge where appropriate.
7512 * text2.C: leave cursor at end of selection after a cut.
7514 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7516 * text.C (getLengthMarkerHeight):
7517 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7518 visible on screen too.
7520 2003-02-07 John Levon <levon@movementarian.org>
7522 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7524 2003-02-05 Angus Leeming <leeming@lyx.org>
7526 * lyxserver.C (read_ready): revert my patch of 11 September last year
7527 as it sends PC cpu through the roof. Presumably this means that
7528 the lyxserver will no longer run on an Alpha...
7530 2003-01-30 Angus Leeming <leeming@lyx.org>
7532 * factory.C (createInset): create an InsetCommandParam of type "index"
7533 and use it to 'do the right thing'.
7535 * text2.C (getStringToIndex): ensure that cursor position is always
7536 reset to the reset_cursor position.
7538 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7540 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7543 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7547 * lyxfunc.C: Output messages with identical spelling, punctuation,
7550 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7552 * MenuBackend.C (expandFormats): List only viewable export formats
7555 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7558 * lyxfunc.C (getStatus): Make sure that formats other than
7559 "fax" can also be disabled
7561 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7563 * text3.C (dispatch): put the lfuns that insert insets in 3
7564 groups, and call doInsertInset with appropriate arguments.
7565 (doInsertInset): new function, that creates an inset and inserts
7566 it according to some boolean parameters.
7568 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * buffer.C (readFile): remember to pass on 'par' when calling
7571 readFile recursively.
7573 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7575 * MenuBackend.C (expandFormats): add "..." to import formats.
7577 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7579 * paragraph.C (asString): Remove XForms RTL hacks.
7581 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7582 * buffer.C: fix typo
7584 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * Makefile.am (LIBS): delete var
7587 (lyx_LDADD): add @LIBS@ here instead.
7589 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7591 * Clarify the meaning of "wheel mouse jump"
7593 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7595 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7598 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7600 * importer.C (Loaders): do not preallocate 3 elements in the
7601 vector, since one ends up with 6 elements otherwise
7603 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7605 * DepTable.C (write): write the file name as last element of the
7606 .dep file (because it may contain spaces)
7607 (read): read info in the right order
7609 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7611 * paragraph_pimpl.C (simpleTeXBlanks):
7612 (simpleTeXSpecialChars):
7613 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7615 * tabular.C (latex): add some missing case statements. Reindent.
7617 * MenuBackend.C (expandToc): remove unused variable.
7619 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7628 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7631 2003-01-05 John Levon <levon@movementarian.org>
7634 * BufferView.C: add getEncoding()
7637 * kbsequence.C: do not store last keypress
7640 * lyxfunc.C: store last keypress here instead. Pass encoding
7643 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7645 * lyx_main.C (init): remove annoying error message when following
7646 symbolic links (bug #780)
7648 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7650 * text.C (insertChar):
7651 * lyxrc.C (getDescription): remove extra spaces
7653 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7655 * lyxrc.C (getDescription): remove extra spaces
7657 2002-12-20 John Levon <levon@movementarian.org>
7659 * text3.C: hack fix for page up/down across tall rows
7661 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7663 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7666 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7668 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7669 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7670 thesaurus is not compiled in
7672 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7674 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7676 2002-12-16 Angus Leeming <leeming@lyx.org>
7679 * lyx_main.C (init): remove override_x_deadkeys stuff.
7681 2002-12-12 John Levon <levon@movementarian.org>
7683 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7684 insert. Only remove shift modifier under strict
7687 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7689 * MenuBackend.C (expandToc): fix crash.
7691 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * MenuBackend.C (expandToc): gettext on float names.
7695 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7697 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7698 implement bool empty() [bug 490]
7700 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7704 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * several files: ws changes
7708 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * text2.C (setCounter): clean up a bit, use boost.format.
7711 (updateCounters): initialize par upon declaration.
7713 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7714 if the layout exists. We do not just store the layout any more.
7715 (SwitchLayoutsBetweenClasses): use boost.format
7717 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7719 * converter.C (convert): if from and to files are the same, use a
7720 temporary files as intermediary
7722 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7725 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7727 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7729 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7731 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * tabular.C (asciiPrintCell): use string(size, char) instead of
7736 * sgml.C (openTag): fix order of arguments to string constructor
7739 * lyxfunc.C (dispatch): use boost.format
7741 * lots of files: change "c" -> 'c'
7743 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7745 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7747 2002-11-25 Angus Leeming <leeming@lyx.org>
7749 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7751 * lyx_main.C (init): compile fix.
7753 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * lyx_cb.C (start): boost.formatify
7756 do not include <iostream>
7758 * lengthcommon.C: ws only
7760 * boost-inst.C,BoostFormat.h: add more explict instantations
7762 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * lots of files: handle USE_BOOST_FORMAT
7766 2002-11-21 John Levon <levon@movementarian.org>
7768 * pspell.C: fix compile
7770 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7772 * lyxfunc.C (dispatch): use boost::format
7776 * lyxfont.C (stateText): use boost::format
7778 * lyx_main.C (LyX): use boost::format
7780 (queryUserLyXDir): ditto
7783 (typedef boost::function): use the recommened syntax.
7785 * importer.C (Import): use boost::format
7787 * debug.C (showLevel): use boost::format
7789 * converter.C (view): use boost::format
7794 * bufferview_funcs.C (currentState): use boost::format
7796 * bufferlist.C (emergencyWrite): use boost::format
7798 * buffer.C (readLyXformat2): use boost::format
7799 (parseSingleLyXformat2Token): ditto
7801 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7803 * LaTeX.C (run): use boost::format
7805 * Chktex.C (scanLogFile): use boost::format
7807 * BufferView_pimpl.C (savePosition): use boost::format
7808 (restorePosition): ditto
7809 (MenuInsertLyXFile): ditto
7811 * BoostFormat.h: help file for explicit instation.
7813 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7815 * tabular.C (latex): Support for block alignment in fixed width
7818 2002-11-17 John Levon <levon@movementarian.org>
7820 * BufferView_pimpl.C:
7822 * lyxfunc.C: split filedialog into open/save
7824 2002-11-08 Juergen Vigna <jug@sad.it>
7826 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7827 by my last patch (hopefully).
7829 2002-11-08 John Levon <levon@movementarian.org>
7838 * toc.C: ParConstIterator, and use it (from Lars)
7840 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7842 * lyxtextclass.[Ch]: revise and add doxygen comments
7844 2002-11-07 John Levon <levon@movementarian.org>
7846 * text.C: fix progress value for spellchecker
7848 * toc.C: fix navigate menu for insetwrap inside minipage
7850 * paragraph_funcs.C: added FIXME for suspect code
7852 2002-11-07 John Levon <levon@movementarian.org>
7854 * BufferView_pimpl.C: fix redrawing of insets
7857 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7859 * text2.C (updateCounters): fix bug 668
7861 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7863 * text3.C (dispatch): Do not make the buffer dirty when moving the
7866 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * vc-backend.C: STRCONV
7871 * text2.C (setCounter): STRCONV
7873 * paragraph.C (asString): STRCONV
7875 * lyxlength.C (asString): STRCONV
7876 (asLatexString): ditto
7878 * lyxgluelength.C (asString): STRCONV
7879 (asLatexString): ditto
7881 * lyxfunc.C (dispatch): STRCONV
7884 * lyxfont.C (stateText): STRCONV
7886 * importer.C (Import): STRCONV
7888 * counters.C (labelItem): STRCONV
7889 (numberLabel): ditto
7890 (numberLabel): remove unused ostringstream o
7895 * bufferview_funcs.C (currentState): STRCONV
7897 * buffer.C (readFile): STRCONV
7898 (asciiParagraph): ditto
7899 (makeLaTeXFile): ditto
7901 * Spacing.C (writeEnvirBegin): STRCONV
7903 * LaTeXFeatures.C (getLanguages): STRCONV
7904 (getPackages): ditto
7906 (getBabelOptions): ditto
7907 (getTClassPreamble): ditto
7908 (getLyXSGMLEntities): ditto
7909 (getIncludedFiles): ditto
7913 (scanAuxFile): ditto
7916 * LString.h: add the STRCONV macros
7918 * BufferView_pimpl.C (savePosition): STRCONV
7919 (restorePosition): ditto
7920 (MenuInsertLyXFile): ditto
7922 * vc-backend.C (scanMaster): change from submatch[...] to
7925 * funcrequest.C: include config.h
7927 * factory.C: include config.h
7929 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7931 * box.C: include config.h
7933 * LaTeX.C (scanAuxFile): change from submatch[...] to
7937 2002-10-25 Angus Leeming <leeming@lyx.org>
7939 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7941 * ispell.[Ch] (setError): new method.
7942 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7943 Use setError() insetead of goto END.
7945 * lyx_cb.C (AutoSave): move out child process into new class
7948 2002-10-30 John Levon <levon@movementarian.org>
7950 * text3.C: make start appendix undoable
7952 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7954 * lyxlength.C (inPixels): Fix returned value.
7956 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7959 2002-10-24 Angus Leeming <leeming@lyx.org>
7961 * lyxgluelength.h: no need to forward declare BufferParams
7962 or BufferView, so don't.
7964 2002-10-21 John Levon <levon@movementarian.org>
7966 * BufferView.C: menuUndo ->undo, redo
7968 * BufferView.h: document, remove dead, make some methods private
7970 * paragraph_funcs.h:
7971 * paragraph_funcs.C:
7972 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7977 * sgml.C: move sgml open/close tag into sgml.C
7979 * bufferview_funcs.h: unused prototype
7982 * lyxfunc.C: remove unused
7985 * text.C: remove unused
7987 2002-10-21 John Levon <levon@movementarian.org>
7991 * BufferView_pimpl.h:
7992 * BufferView_pimpl.C: fix mouse wheel handling based on
7993 patch from Darren Freeman
7995 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7997 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7999 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8001 * lyxlength.C (inPixels): Fix hanfling of negative length.
8002 Fix LyXLength::MU case.
8004 2002-10-16 John Levon <levon@movementarian.org>
8006 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8008 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8010 * converter.C (view): add support for $$i (file name) and $$p
8011 (file path) for the viewer command. If $$i is not specified, then
8012 it is appended to the command (for compatibility with old syntax)
8014 2002-10-14 Juergen Vigna <jug@sad.it>
8016 * undo_funcs.C (textHandleUndo): alter the order in which the
8017 new undopar is added to the LyXText, as we have to set first
8018 the right prev/next and then add it as otherwise the rebuild of
8019 LyXText is not correct. Also reset the cursor to the right paragraph,
8020 with this IMO we could remove the hack in "redoParagraphs()".
8022 2002-10-09 Angus Leeming <leeming@lyx.org>
8024 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8025 to turn off an optimisation if a new inset is to be inserted.
8027 2002-10-11 André Pönitz <poenitz@gmx.net>
8029 * lyxtext.h: make some functions public to allow access
8030 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8032 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8034 * text3.C (dispatch): when changing layout, avoid an infinite loop
8037 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8039 * lyxrc.C (read): treat a viewer or converter command of "none" as
8042 * MenuBackend.C (expandFormats): for an update, also allow the
8043 formats that are not viewable
8045 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8046 script if it is newer than the lyxrc.defaults in user directory
8048 2002-10-07 André Pönitz <poenitz@gmx.net>
8050 * text.C: Vitaly Lipatov's small i18n fix
8052 2002-09-25 Angus Leeming <leeming@lyx.org>
8054 * ispell.h: doxygen fix.
8056 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8058 * buffer.h (readFile): Add a new argument to the method, to allow
8059 reading of old-format templates.
8061 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8063 * toc.C (getTocList): Get TOC from InsetWrap.
8065 2002-09-16 John Levon <levon@movementarian.org>
8067 * lyxfunc.C: check tabular for cut/copy too
8069 2002-09-12 John Levon <levon@movementarian.org>
8074 * factory.C: add header
8076 * paragraph_funcs.h:
8077 * paragraph_funcs.C: cleanup
8079 2002-09-11 John Levon <levon@movementarian.org>
8081 * PrinterParams.h: odd/even default to true
8083 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8085 * PrinterParams.h: update printer parameters for new xforms dialog
8087 2002-09-11 Angus Leeming <leeming@lyx.org>
8089 * lyxserver.C (read_ready): re-write to make it more transparent
8090 and to make it work in coherent fashion under Tru64 Unix.
8092 2002-09-11 André Pönitz <poenitz@gmx.net>
8096 * text3.C: implement LFUN_WORDSEL
8098 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8101 make floatlist_ a boost::shared_ptr<FloatList>
8103 * lyxtextclass.C: include FloatList.h
8104 (LyXTextClass): initialize floatlist_
8105 (TextClassTags): add TC_NOFLOAT
8106 (Read): match "nofloat" to TC_NOFLOAT and use it.
8107 (readFloat): modify call to floatlist_
8111 * FloatList.[Ch] (FloatList): remove commented out float
8113 (erase): new function
8115 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8117 * MenuBackend.C (expandToc): fix crash when there is no document
8120 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8122 * many files: Add insetwrap.
8124 2002-09-09 John Levon <levon@movementarian.org>
8126 * text2.C: remove confusing and awkward depth wraparound
8128 2002-09-09 John Levon <levon@movementarian.org>
8130 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8133 * buffer.C: remove getIncludeonlyList()
8136 * lyxfunc.C: remove headers
8138 2002-09-09 Juergen Vigna <jug@sad.it>
8140 * text.C (getColumnNearX): fix form Michael this is most
8141 probably a cut&paste bug.
8143 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8147 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8148 references, ws changes.
8150 * text2.C (init): update counters after init
8151 (insertParagraph): no need to set counter on idividual paragraphs.
8152 (setCounter): access the counters object in the textclass object
8153 on in the buffer object.
8154 (updateCounters): ditto
8156 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8157 shared_ptr<Counters> to avoid loading counters.h in all
8159 (LyXTextClass): initialize ctrs_
8160 (TextClassTags): add TC_COUNTER, and ...
8161 (Read): use it here.
8162 (CounterTags): new tags
8163 (readCounter): new function
8164 (counters): new funtion
8165 (defaultLayoutName): return a const reference
8167 * counters.C (Counters): remove contructor
8168 (newCounter): remove a couple of unneeded statements.
8169 (newCounter): simplify a bit.
8170 (numberLabel): some small formatting changes.
8172 * buffer.[Ch]: remove all traces of counters, move the Counters
8173 object to the LyXTextClass.
8175 2002-09-06 Alain Castera <castera@in2p3.fr>
8177 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8178 package to set the horizontal alignment on fixed width columns.
8181 * lyx_sty.h: added tabularnewline macro def.
8183 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8185 2002-09-06 John Levon <levon@movementarian.org>
8187 * LyXAction.C: tooltips for sub/superscript
8189 * MenuBackend.C: a bit more verbose
8191 * lyxfunc.C: tiny clean
8193 * undo_funcs.C: document undo_frozen
8195 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8197 * counters.C (Counters): add missing algorithm counter.
8199 * text2.C (setCounter): lookup the counter with layouts latexname
8200 instead of by section number.
8201 (setCounter): use a hackish way to lookup the correct enum
8203 a float name->type change
8204 reset enum couners with counter name directly instead of depth value.
8206 * counters.C (Counters): remove the push_backs, change to use the
8207 float type not the float name.
8208 (labelItem): remove unused string, float name->type change
8210 * counters.h: don't include vector, loose the enums and sects vectors
8212 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8214 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8215 (Read): add float->TC_FLOAT to textclassTags
8216 (Read): and handle it in the switch
8217 (readFloat): new function
8219 * FloatList.C (FloatList): comment out the hardcoded float
8222 * lyxlayout.h: ws change.
8224 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8226 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8228 2002-09-03 Angus Leeming <leeming@lyx.org>
8230 * BufferView_pimpl.h: qualified name is not allowed in member
8231 declaration: WorkArea & Pimpl::workarea() const;
8233 * factory.C: added using std::endl directive.
8235 * text3.C: added using std::find and std::vector directives.
8237 2002-08-29 André Pönitz <poenitz@gmx.net>
8240 * text2.C: remove unused member number_of_rows
8243 * BufferView2.C: remove file, move contents to...
8244 * BufferView.C: ... here
8246 * BufferView_pimpl.C:
8247 * factory.C: move more inset creation to factory
8249 * vspace.C: avoid direct usage of LyXText, ws changes
8252 don't provide direct access to WorkArea, use two simple
8253 acessors haveSelction() and workHeight() instead
8256 2002-08-29 John Levon <levon@movementarian.org>
8258 * BufferView_pimpl.C (dispatch): do not continue when
8261 2002-08-28 André Pönitz <poenitz@gmx.net>
8263 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8266 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8268 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8270 * buffer.C: increment LYX_FORMAT to 221
8272 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8273 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8275 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8277 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8279 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8281 * factory.C (createInset): use LyXTextClass::floats
8283 * MenuBackend.C (expandFloatListInsert):
8284 (expandFloatInsert):
8287 * text2.C (setCounter):
8289 * LaTeXFeatures.C (useFloat):
8290 (getFloatDefinitions):
8292 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8294 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8295 floatlist_, with accessor floats().
8297 * FloatList.h: remove global FloatList
8299 2002-08-26 André Pönitz <poenitz@gmx.net>
8301 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8305 * BufferView_pimpl.C:
8306 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8308 2002-08-25 John Levon <levon@movementarian.org>
8310 * LyXAction.C: fix margin note description
8312 2002-08-24 John Levon <levon@movementarian.org>
8316 * bufferview_funcs.C:
8318 * undo_funcs.C: cleanups
8320 * lyxfunc.C: disable CUT/COPY when no selection
8322 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8324 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8325 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8327 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8328 Add backward compatibility to "mono", "gray" and "no".
8330 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8332 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8333 (and file_format >= 200).
8335 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8337 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8339 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8343 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8345 * BufferView_pimpl.C:
8352 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8353 inset and code to make it work with the paragraph code. The inset
8354 can be anywhere in the paragraph, but will only do the expected
8355 thing in LaTeX if the layout file contains the parameter line
8357 (or more generally, a nonzero value) for that layout.
8359 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * paragraph.h: remove the declaration of undefined counters class
8364 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8366 * text2.C (setCounter): fixed enumeration mis-count as reported by
8367 Dr. Richard Hawkins.
8369 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8371 * paragraph_funcs.h: remove some unneeded includes
8373 * text.C (backspace): pasteParagraph now in global scipe
8375 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8376 (pasteSelection): ditto
8378 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8379 * paragraph_funcs.C (pasteParagraph): ... here
8381 2002-08-20 André Pönitz <poenitz@gmx.net>
8383 * commandtags.h: new LFUNs for swapping/copying table row/colums
8386 * lyxfunc.C: support for new lfuns
8388 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * buffer.[Ch]: remove NO_COMPABILITY stuff
8393 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * boost.C (throw_exception): new file, with helper function for
8396 boost compiled without exceptions.
8401 * ParameterStruct.h:
8402 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8404 * bufferlist.C (emergencyWriteAll): use boost bind
8406 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8408 * text.C: include paragraph_funcs.h
8409 (breakParagraph): breakParagraph is now in global scope
8411 * paragraph_funcs.[Ch]: new files
8413 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8416 * buffer.C: include paragraph_funcs.h
8417 (insertStringAsLines): breakParagraph is now in global scope
8419 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8422 * CutAndPaste.C: include paragraph_funcs.h
8423 (cutSelection): breakParagraphConservative is now in global scope
8424 (pasteSelection): ditto
8426 * buffer.h: declare oprator== and operator!= for
8427 Buffer::inset_iterator
8429 * bufferlist.C (emergencyWrite): don't use fmt(...)
8431 * text3.C: add using std::endl
8433 * BufferView.C (moveCursorUpdate): remove default arg
8435 2002-08-20 André Pönitz <poenitz@gmx.net>
8437 * buffer.[Ch]: move inline functions to .C
8440 * BufferView_pimpl.C:
8442 * buffer.[Ch]: use improved inset_iterator
8445 * paragraph.[Ch]: write one paragraph at a time
8447 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8449 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8450 style if style is not specified.
8452 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * text2.C (setCounter): when searching for right label for a
8455 caption, make sure to recurse to parent insets (so that a caption
8456 in a minipage in a figure float works) (bug #568)
8458 2002-08-20 André Pönitz <poenitz@gmx.net>
8460 * text3.C: new file for LyXText::dispatch() and helpers
8462 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8464 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8466 2002-08-19 André Pönitz <poenitz@gmx.net>
8469 * text.C: new LyXText::dispatch()
8471 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8473 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8475 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8477 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8480 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * Makefile.am: use $(variables) instead of @substitutions@
8484 2002-08-15 André Pönitz <poenitz@gmx.net>
8487 * BufferView_pimpl.C: streamlining mathed <-> outer world
8491 * LyXAction.C: remove unused LFUN_MATH
8493 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8497 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * paragraph.C (Paragraph): reformat a bit
8500 (cutIntoMinibuffer): use builtin InsetList function instad of
8504 * buffer.C: include boost/bind.hpp, add using std::for_each
8505 (writeFileAscii): use ParagraphList iterators
8506 (validate): use for_each for validate traversal of paragraphs
8507 (getBibkeyList): use ParagraphList iterators
8508 (resizeInsets): use for_each to resizeInsetsLyXText for all
8510 (getParFromID): use ParagraphList iterators
8512 * BufferView2.C (lockInset): use paragraph list and iterators
8514 2002-08-14 John Levon <levon@movementarian.org>
8516 * lyxserver.C: remove spurious xforms include
8518 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8520 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8522 2002-08-13 André Pönitz <poenitz@gmx.net>
8525 * lyxfunc.C: further cleaning
8527 2002-08-13 André Pönitz <poenitz@gmx.net>
8529 * funcrequest.h: new constructor
8531 * funcrequest.C: move stuff here from .h
8534 * BufferView_pimpl.C:
8537 * lyxfunc.C: subsequent changes
8539 * lyxfunc.h: new view() member function
8541 * lyxfunc.C: subsequent changes
8543 2002-08-13 Angus Leeming <leeming@lyx.org>
8546 * BufferView_pimpl.C:
8554 changes due to the changed LyXView interface that now returns references
8555 to member variables not pointers.
8557 2002-08-13 Angus Leeming <leeming@lyx.org>
8559 * WordLangTuple (word, lang_code): return references to strings,
8564 * lyxtext.h: forward-declare WordLangTuple.
8569 * text.C: #include "WordLangTuple.h".
8572 * text.C: (selectNextWordToSpellcheck): constify return type.
8574 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8580 * paragraph_pimpl.h:
8583 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8585 Made updateCounter always count from start of buffer, and removed
8586 second argument (par).
8587 Reverted floats number display to '#'. Perhaps I'll try again when the
8588 code base is sanitized a bit.
8590 2002-08-12 Angus Leeming <leeming@lyx.org>
8592 * buffer.[Ch] (getLabelList): constify.
8594 2002-08-07 André Pönitz <poenitz@gmx.net>
8596 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8598 * funcrequest.h: extension to keep mouse (x,y) position
8600 2002-08-12 Juergen Vigna <jug@sad.it>
8602 * BufferView2.C (insertErrors): forbid undo when inserting error
8605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8607 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * ParagraphList.[Ch]: new files
8611 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8613 * BufferView2.C (lockInset): ParagraphList changes
8616 * bufferlist.C: ditto
8620 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8622 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8623 unused class variable counter_,
8625 * paragraph.[Ch] (getFirstCounter): delete unused function
8627 * counters.C: include LAssert.h
8628 (reset): add a new function with no arg, change other version to
8629 not have def. arg and to not allow empty arg.
8631 * text2.C (setCounter): remove empty arg from call to Counters::reset
8633 2002-08-11 John Levon <levon@movementarian.org>
8635 * Makefile.am: add WordLangTuple.h
8637 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8639 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8640 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8642 * insets/insettext.C: InsetList changes
8644 * graphics/GraphicsSupport.C (operator()): InsetList changes
8646 * toc.C (getTocList): InsetList changes
8648 * paragraph_pimpl.[Ch]: InsetList changes
8650 * paragraph.[Ch]: InsetList changes
8652 * buffer.C (inset_iterator): InsetList changes
8653 (setParagraph): ditto
8654 * buffer.h (inset_iterator): ditto
8655 * iterators.C (operator++): ditto
8656 * iterators.h: ditto
8658 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8660 * InsetList.[Ch]: new files, most InsetList handling moved out of
8663 * BufferView2.C (removeAutoInsets): InsetList changes
8665 (ChangeInsets): ditto
8667 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * paragraph_pimpl.h (empty): new function
8671 * paragraph.[Ch] (empty): new function
8673 * other files: use the new Paragraph::empty function
8675 2002-08-09 John Levon <levon@movementarian.org>
8677 * lyxtext.h: remove unused refresh_height
8679 2002-08-09 John Levon <levon@movementarian.org>
8686 * paragraph.C: move sgml char escaping out of paragraph
8689 * paragraph.C: remove id setter
8693 * paragraph_pimpl.C: remove dead tex_code_break_column
8695 * bufferview_funcs.C: small cleanup
8697 * lyxfunc.C: remove dead proto
8699 * lyxtext.h: make some stuff private. Remove some dead stuff.
8701 * lyxgluelength.C: make as[LyX]String() readable
8703 2002-08-08 John Levon <levon@movementarian.org>
8708 * ToolbarDefaults.C:
8711 * toc.C: lyxaction cleanup
8713 2002-08-08 John Levon <levon@movementarian.org>
8715 * BufferView2.C: small cleanup
8718 * lyxfind.C: move unnecessary header into the .C
8720 2002-08-08 John Levon <levon@movementarian.org>
8722 * funcrequest.h: just tedious nonsense
8725 * lyx_main.C: cleanups
8728 * vspace.C: remove dead header lyx_main.h
8730 2002-08-07 Angus Leeming <leeming@lyx.org>
8733 * paragraph_pimpl.h:
8734 Forward declare class Counters in paragraph.h by moving the ctrs member
8735 variable into Paragraph::Pimpl.
8736 (counters): new method, returning a reference to pimpl_->ctrs.
8738 * text2.C: ensuing changes.
8740 2002-08-07 John Levon <levon@movementarian.org>
8742 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8744 * BufferView_pimpl.C: announce X selection on double/triple
8747 * lyx_main.C: use correct bool in batch dispatch
8749 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8751 2002-08-07 André Pönitz <poenitz@gmx.net>
8753 * funcrequest.h: new class to wrap a kb_action and its argument
8756 * BufferView_pimpl[Ch]:
8760 * lyxrc.C: subsequent changes
8763 2002-08-07 John Levon <levon@movementarian.org>
8765 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8766 document options change.
8768 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8773 * makefile.am: move counters functionality over from
8774 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8776 2002-08-06 John Levon <levon@movementarian.org>
8778 * WordLangTuple.h: new file for word + language code tuple
8789 * BufferView2.C: use WordLangTuple
8792 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8794 2002-08-06 John Levon <levon@movementarian.org>
8796 * lyx_main.C: fix cmdline batch handling
8798 2002-08-06 André Pönitz <poenitz@gmx.net>
8800 * lyxrc.C: set default for show_banner to true
8802 2002-08-06 John Levon <levon@movementarian.org>
8804 * pspell.C: fix a crash, and allow new aspell to work
8806 2002-08-06 John Levon <levon@movementarian.org>
8809 * kbmap.C: small cleanup
8812 * vspace.C: add const
8814 2002-08-05 John Levon <levon@movementarian.org>
8816 * LyXAction.C: back to tabular-insert
8818 2002-08-04 John Levon <levon@movementarian.org>
8821 * BufferView.C: cosmetic change
8823 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8833 * BufferView2.C: purge all "Lyx" not "LyX" strings
8836 * lyxcursor.C: attempt to add some documentation
8841 * ToolbarDefaults.C:
8842 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8843 merge with LFUN_TABULAR_INSERT
8850 * pspell.C: split up i/pspell implementations into separate
8851 files, many cleanups
8853 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8855 * text2.C: some cleanup
8857 * lyxfunc.C: don't check for isp_command == "none" any more, it
8858 didn't make any sense
8860 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8865 * makefile.am: move counters functionality over
8866 from text2.C/paragraph.[Ch] to counters.[Ch], and
8868 2002-08-02 John Levon <levon@movementarian.org>
8870 * buffer.C: s/lyxconvert/lyx2lyx/
8872 2002-08-02 Angus Leeming <leeming@lyx.org>
8874 * lyxlex.C: revert John's change as it breaks reading of the user
8877 2002-08-02 Angus Leeming <leeming@lyx.org>
8879 * importer.C (Import):
8880 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8881 changes due to LyXView::view() now returning a boost::shared_ptr.
8883 2002-08-02 John Levon <levon@movementarian.org>
8885 * lyxlex.C: small cleanup
8887 2002-08-02 John Levon <levon@movementarian.org>
8889 * text2.C (status): small cleanup, no logic change
8891 2002-08-01 John Levon <levon@movementarian.org>
8894 * buffer.C (writeFile): don't output alerts, caller
8898 * lyx_cb.C: from above
8900 * lyxfunc.C: allow to open non-existent files
8902 2002-07-31 John Levon <levon@movementarian.org>
8904 * lyxserver.C: don't let incidental errors get
8907 2002-07-30 John Levon <levon@movementarian.org>
8909 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8911 2002-07-30 John Levon <levon@movementarian.org>
8914 * lyxserver.C: remove I/O callback too
8916 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8921 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8923 * many files: strip,frontStrip -> trim,ltrim,rtrim
8925 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8927 * PrinterParams.h: remove extern containsOnly, and include
8928 support/lstrings.h instead.
8930 * LaTeX.C (scanAuxFile): modify because of strip changes
8932 * buffer.C (makeLaTeXFile): ditto
8933 * bufferparams.C (writeFile): ditt
8934 * lyxfont.C (stateText): ditto
8935 * lyxserver.C (read_ready): ditto
8936 * vc-backend.C (scanMaster): ditto
8938 * BufferView_pimpl.h: ws changes
8940 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8942 2002-07-26 André Pönitz <poenitz@gmx.net>
8944 * kb_sequence.C: remove unnedred usings
8946 2002-07-26 Juergen Vigna <jug@sad.it>
8948 * lyxfind.C (LyXReplace): we have to check better if the returned
8949 text is not of theLockingInset()->getLockingInset().
8951 2002-07-25 Juergen Vigna <jug@sad.it>
8953 * lyxfind.C (LyXReplace): don't replace if we don't get the
8956 * undo_funcs.C (createUndo): remove debugging code.
8958 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8960 * buffer.C (parseSingleLyXformat2Token): Use default placement
8961 when reading old floats.
8963 * FloatList.C (FloatList): Change the default placement of figure
8964 and tables to "tbp".
8966 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8968 * MenuBackend.C: using std::max
8970 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * MenuBackend.C (expandToc):
8973 (expandToc2): code moved from xforms menu frontend. It is now
8974 generic and TOCs are transparent to menu frontends.
8976 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8978 * toc.C (getTocList): protect against buf=0
8980 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8981 Menu as first parameter. Now, this calls itself recursively to
8982 expand a whole tree (this will be useful for TOC handling)
8983 (expandFloatInsert): remove 'wide' version of floats
8985 * MenuBackend.h (submenuname): returns the name of the submenu.
8986 (submenu): returns the submenu itself, provided it has been
8987 created by MenuBackend::expand
8989 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8991 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8992 insets which have noFontChange == true. (bug #172)
8994 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8996 * BufferView_pimpl.C: add connection objects and use them...
8999 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * MenuBackend.C (expandLastfiles):
9004 (expandFloatListInsert):
9005 (expandFloatInsert):
9006 (expand): split expand in parts
9008 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9010 * lyx_gui.C: use lyx_gui::exit()
9012 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9014 * LyXAction.C: show the failing pseudo action
9016 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9018 * buffer.C (readFile): Run the lyxconvert script in order to read
9021 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9025 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9027 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9031 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9033 2002-07-22 Herbert Voss <voss@lyx.org>
9036 * lyxlength.[Ch]: add support for the vertical lengths
9038 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9040 * toc.[Ch]: std:: fixes
9042 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9044 * lyxrc.C: do not include lyx_main.h
9046 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9052 * BufferView2.C: include "lyxlex.h"
9055 * bufferparams.h: do not #include "lyxlex.h"
9057 * lyxtextclasslist.C (Add): remove method
9058 (classlist): renamed to classlist_
9060 * paragraph_pimpl.C:
9064 * bufferview_funcs.C:
9069 * toc.C (getTocList): use BufferParams::getLyXTextClass
9071 * toc.C (getTocList): use InsetFloat::addToToc
9073 * toc.[Ch]: new files, containing helper functions to handle table
9076 * lyxfunc.C (dispatch): no need to remove spaces around command
9078 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9079 first command of the sequence; it is not very clever, but I do not
9080 have a better idea, actually
9082 * LyXAction.C (LookupFunc): make sure to remove space at the
9083 beginning and end of the command
9085 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * MenuBackend.C (getMenubar): new method: return the menubar of
9089 (read): treat differently reading of menu and menubar (in
9090 particular, the menubar has no name now)
9091 (Menu::menubar): remove
9093 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9096 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9098 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9099 a bibitem inset in a RTL paragraph.
9101 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9103 * paragraph_pimpl.C: constify
9105 * BufferView_pimpl.C:
9107 * lyxfunc.C: fix dispatch in a nicer way
9109 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9111 * lyxfunc.C (dispatch):
9112 * BufferView_pimpl.C:
9113 * BufferView_pimpl.h:
9115 * BufferView.h: rename Dispatch() to dispatch()
9117 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9119 * lyxlayout.C (Read): honor DependsOn tag
9121 * lyxlayout.[Ch] (depends_on): new method
9123 * version.C.in: update lyx_docversion
9125 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9127 * paragraph.C (validate): remove from here...
9128 * paragraph_pimpl.C (validate): ... and move here
9129 (isTextAt): make it const
9131 * buffer.C (getLists): ws cleanup
9133 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9135 * language.C (read): Use iso8859-1 encoding in latex_lang
9136 (this prevents LyX from crashing when using iso10646-1 encoding).
9138 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9140 * text2.C (toggleInset): if cursor is inside an inset, close the
9141 inset and leave cursor _after_ it
9143 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9145 * lyxfunc.C: move minibuffer completion handling out of here
9147 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9149 * BufferView_pimpl.C:
9150 * LaTeX.C: fix dispatch calls
9152 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9154 * text.C (drawChars): Fix Arabic text rendering.
9156 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9160 * lyxfunc.C: remove message-push/pop
9164 * lyxfunc.C: rationalise some code by removing verboseDispatch
9165 in favour of a bool argument to dispatch()
9167 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9169 * lyx_main.C (init): make sure to read symlinks as absolute paths
9171 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9174 * lyxfunc.C: no need for commandshortcut to be a member
9176 2002-07-15 André Pönitz <poenitz@gmx.net>
9178 * converter.C: add support for $$s (scripts from lib/scripts dir)
9179 * lyx_main.C: white space
9181 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9185 * lyxrc.C: remove second exit confirmation
9187 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9192 * BufferView_pimpl.h:
9193 * BufferView_pimpl.C:
9194 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9196 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9198 * MenuBackend.C (expand): add numeric shortcuts to document menu
9200 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9202 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9204 * lyxfont.C (setLyXFamily):
9211 * buffer.C (asciiParagraph): use ascii_lowercase
9213 2002-07-15 Mike Fabian <mfabian@suse.de>
9215 * lyxlex_pimpl.C (search_kw):
9216 * lyxlex.C (getLongString):
9217 * converter.h (operator<):
9218 * converter.C (operator<):
9219 * buffer.C (parseSingleLyXformat2Token):
9221 * ToolbarDefaults.C (read):
9222 * MenuBackend.C (checkShortcuts):
9224 * LColor.C (getFromGUIName):
9225 (getFromLyXName): use the compare_ascii_no_case instead of
9226 compare_no_case, because in turkish, 'i' is not the lowercase
9227 version of 'I', and thus turkish locale breaks parsing of tags.
9229 2002-07-16 Angus Leeming <leeming@lyx.org>
9231 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9232 now takes a Buffer const & argument.
9234 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9236 * BufferView.C (resize): check there's a buffer to resize
9238 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9240 * lyxfunc.C: remove dead code
9243 * lyxserver.C: use lyx_guii::set_read_callback
9245 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9247 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9248 an inset in a RTL paragraph.
9250 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9252 * lyxfunc.C: repaint after a font size update
9254 2002-07-15 André Pönitz <poenitz@gmx.net>
9256 * lyxlength.C: inBP should be able to return negative values
9258 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9260 * lyxfunc.C: use lyx_gui::update_fonts()
9262 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9264 * lyxfunc.C: use lyx_gui::update_color()
9266 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9272 * lyxrc.C: remove file->new asks for name option, and let
9273 buffer-new take an argument
9275 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9277 * BufferView_pimpl.C: remove unneeded extra repaint()
9279 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9281 * LyXAction.C: allow command-sequence with NoBuffer
9283 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9285 2002-07-10 Angus Leeming <leeming@lyx.org>
9287 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9289 2002-07-09 Angus Leeming <leeming@lyx.org>
9291 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9293 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9295 * lengthcommon.h: whitespace
9297 * lyxfunc.C: update scrollbar after goto paragraph
9299 * lyxtext.h: factor out page break drawing, and fix it so
9300 page break/added space paints as selected nicely
9302 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9304 * BufferView_pimpl.C: add FIXMEs, clean up a little
9306 2002-07-09 André Pönitz <poenitz@gmx.net>
9308 * lyxfont.[Ch]: support for wasy symbols
9310 2002-07-08 André Pönitz <poenitz@gmx.net>
9312 * BufferView_pimpl.C: apply John's patch for #93.
9314 2002-07-05 Angus Leeming <leeming@lyx.org>
9316 * BufferView_pimpl.C (buffer): generate previews if desired.
9318 * LColor.h: add "preview" to the color enum.
9320 * LColor.C (LColor): add a corresponding entry to the items array.
9322 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9325 2002-07-05 Angus Leeming <leeming@lyx.org>
9327 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9328 The body of the code is now in the method that is passed an ostream &
9329 rather than a file name.
9330 Pass an additional only_preamble parameter, useful for the forthcoming
9333 2002-07-03 André Pönitz <poenitz@gmx.net>
9335 * lyxfunc.C: simplify getStatus() a bit for math stuff
9337 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9339 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9341 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9343 * text.C (changeRegionCase): do not change case of all the
9344 document when region ends at paragraph end (bug #461)
9346 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9348 * paragraph.C (startTeXParParams):
9349 (endTeXParParams): add \protect when necessary
9351 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9353 * BufferView_pimpl.C (workAreaExpose): remove warning
9355 2002-06-27 Angus Leeming <leeming@lyx.org>
9357 * Makefile.am: add lyxlayout_ptr_fwd.h.
9359 2002-06-26 André Pönitz <poenitz@gmx.net>
9361 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9363 2002-06-25 Angus Leeming <leeming@lyx.org>
9365 * lyxfunc.C (dispatch): Comment out the call to
9366 grfx::GCache::changeDisplay. The method no longer exists now that the
9367 pixmap generation part of the graphics loader has been moved into
9370 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9372 * text2.C: layout as layout
9374 * text.C: layout as layout
9376 * tabular.C (OldFormatRead): layout as layout
9378 * paragraph_pimpl.C (TeXDeeper): layout as layout
9379 (realizeFont): layout as layout
9381 * paragraph.C (writeFile): layout as layout
9382 (validate): layout as layout
9383 (getFont): layout as layout
9384 (getLabelFont): layout as layout
9385 (getLayoutFont): layout as layout
9386 (breakParagraph): layout as layout
9387 (stripLeadingSpaces): layout as layout
9388 (getEndLabel): layout as layout
9389 (getMaxDepthAfter): layout as layout
9390 (applyLayout): layout as layout
9391 (TeXOnePar): layout as layout
9392 (simpleTeXOnePar): layout as layout
9393 (TeXEnvironment): layout as layout
9394 (layout): layout as layout
9395 (layout): layout as layout
9397 * lyxtextclass.C (compare_name): new functor to work with
9398 shared_ptr, layout as layout
9399 (Read): layout as layout
9400 (hasLayout): layout as layout
9401 (operator): layout as layout
9402 (delete_layout): layout as layout
9403 (defaultLayout): layout as layout
9405 * lyxlayout_ptr_fwd.h: new file
9407 * lyxlayout.C (Read): layout as layout
9409 * lyx_cb.C (MenuInsertLabel): layout as layout
9411 * bufferlist.C (newFile): layout as layout
9413 * buffer.C (readLyXformat2): layout as layout
9414 (parseSingleLyXformat2Token): layout as layout
9415 (insertStringAsLines): layout as layout
9416 (asciiParagraph): layout as layout
9417 (latexParagraphs): layout as layout
9418 (makeLinuxDocFile): layout as layout
9419 (simpleLinuxDocOnePar): layout as layout
9420 (makeDocBookFile): layout as layout
9421 (simpleDocBookOnePar): layout as layout
9422 (getLists): layout as layout
9424 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9426 * CutAndPaste.C (cutSelection): layout as layout
9427 (pasteSelection): layout as layout
9428 (SwitchLayoutsBetweenClasses): layout as layout
9430 * BufferView_pimpl.C (Dispatch): layout as layout
9431 (smartQuote): layout as layout
9433 * BufferView2.C (unlockInset): layout as layout
9435 2002-06-24 André Pönitz <poenitz@gmx.net>
9437 * lyxfunc.C: fix #487
9439 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9443 * lyxfunc.C: remove display_shortcuts, show_banner
9445 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9447 * Buffer_pimpl.C: oops, update on resize
9449 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9456 * BufferView.C: use repaint()
9458 * BufferView_pimpl.h:
9459 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9460 as it's a clearer description. Remove superfluous
9463 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9465 * text.C: fix bug 488. Not ideal, but getting
9466 getWord() to work properly for the insets that
9467 matter is more difficult ...
9469 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9471 * BufferView_pimpl.C:
9474 * lyxfunc.C: remove the six million index lyxfuncs to just
9475 one, and DTRT (bug 458)
9477 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9481 * BufferView_pimpl.h:
9482 * BufferView_pimpl.C: clean up resize() stuff,
9483 and unnecessary updateScreen()s
9485 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9489 * BufferView_pimpl.h:
9490 * BufferView_pimpl.C:
9493 * minibuffer.C: remove focus management of workarea,
9494 not needed. Use screen's greyOut()
9496 2002-06-17 Herbert Voss <voss@lyx.org>
9498 * converter.C: (convert) do not post a message, when converting
9499 fails, let the calling function decide what to do in this case
9501 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9503 * lyxfunc.C: tidy up a little
9505 2002-06-16 <alstrup@diku.dk>
9507 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9508 Got rid of FORMS_H_LOCATION include. Now we are
9511 2002-06-15 LyX Development team <lyx@rilke>
9513 * buffer.[Ch] (sgmlOpenTag):
9514 (sgmlCloseTag): Added support for avoiding pernicious mixed
9515 content. Return number of lines written.
9518 (makeDocBookFile): Fixed calls to sgml*Tag.
9519 Simple white space clean.
9521 (simpleDocBookOnePar): Simple white space clean.
9523 * tabular.[Ch] (docBook): Renamed to docbook and got another
9524 argument to related with the pernicious mixed content.
9526 (docbookRow): Fixed calls for docbook inset method.
9528 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9530 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9531 so it's X11 independent.
9535 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9537 2002-06-15 Lyx Development team <lyx@electronia>
9539 * intl.h: Renamed getTrans to getTransManager.
9541 2002-06-14 Angus Leeming <leeming@lyx.org>
9543 * Makefile.am: nuke forgotten stl_string_fwd.h.
9545 2002-06-12 Angus Leeming <leeming@lyx.org>
9547 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9549 2002-06-13 Angus Leeming <leeming@lyx.org>
9552 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9554 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9556 * kbmap.C (getiso): add support for cyrillic and greek
9558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9562 * BufferView_pimpl.h:
9563 * BufferView_pimpl.C: move bogus scrolling logic
9566 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9569 * BufferView_pimpl.C: view->resize() change
9571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView_pimpl.C: topCursorVisible
9576 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9580 * lyx_gui.C: move to frontends/
9584 * lyx_main.C: changes from above
9586 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9593 * lyx_main.C: minor tidy
9595 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9597 * BufferView_pimpl.h:
9598 * BufferView_pimpl.C:
9600 * BufferView.C: make painter() const,
9603 * BufferView2.C: use screen() accessor
9606 * lyx_main.C: some minor cleanup
9608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9610 * BufferView_pimpl.h:
9611 * BufferView_pimpl.C: remove enter/leaveView,
9614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView_pimpl.h:
9620 * BufferView_pimpl.C: only construct screen once,
9623 * lyxrc.C: remove pointless comment
9625 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9628 * BufferView.C: remove active() and belowMouse()
9630 * BufferView_pimpl.h:
9631 * BufferView_pimpl.C: use workarea() not workarea_,
9632 and make it use a scoped_ptr instead
9634 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9636 * lyx_gui.C: add debug message on BadWindow
9638 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9640 * sp_spell.C: fdopen is not part of the C++ standard.
9642 * paragraph.C (InsetIterator): use >= instead of ==
9644 2002-06-07 Angus Leeming <leeming@lyx.org>
9646 Fixes needed to compile with Compaq cxx 6.5.
9647 * BufferView_pimpl.C:
9654 * lyxtextclasslist.C:
9659 all c-library variables have been moved into namespace std. Wrap
9660 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9665 Add a using std::abs declaration.
9667 * kbmap.h (modifier_pair):
9668 * paragraph.h (InsetTable, InsetList):
9669 * lyxfont.h (FontBits):
9670 type definition made public.
9672 * bufferlist.C (emergencyWriteAll): the compiler complains that
9673 there is more than one possible lyx::class_fun template to choose from.
9674 I re-named the void specialisation as lyx::void_class_fun.
9676 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9678 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9679 the compiler is is unable to find tostr in write_attribute.
9681 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9683 * buffer.C (sgmlError): hide #warning
9685 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9687 * xtl/*: get rid of xtl, which is not in use anyway
9689 * LyXAction.C (init):
9690 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9691 were unimplemented xtl experimentation
9693 2002-06-04 André Pönitz <poenitz@gmx.net>
9695 * lyxfunc.C: disable array operation on simple formulae
9697 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9699 * converter.C: constify a bit
9701 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9703 * lyx_gui.C: check xforms version correctly
9705 2002-04-30 Herbert Voss <voss@lyx.org>
9707 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9710 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9712 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9713 attempt to register it with a VCS)
9715 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9717 * lyx_main.C (init): honor variables LYX_DIR_13x and
9720 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9724 * lyx_main.C: fix a crash on bad command line,
9725 and give a useful exit status on error
9727 * lyxfunc.C (doImport): allow -i lyx to work
9729 2002-03-30 André Pönitz <poenitz@gmx.net>
9731 * lyxfunc.C: mathed font changes
9733 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9748 * trans_mgr.h: srcdocs, and some minor cleanups
9750 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9753 call getFont all the time)
9755 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9757 * switch from SigC signals to boost::signals
9759 2002-05-29 André Pönitz <poenitz@gmx.net>
9761 * paragraph_pimpl.C (getChar): don't call size() too often...
9763 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * paragraph_pimpl.C (insertChar): do not try to update tables when
9766 appending (pos == size())
9768 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9769 in order to reduce drastically the number of comparisons needed to
9770 parse a large document
9772 2002-05-29 André Pönitz <poenitz@gmx.net>
9778 * textclasslist.[Ch]:
9779 * sp_ispell.h: whitespace change
9781 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9784 lyxaction directly now.
9786 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9790 * lyxvc.C: remove unused headers
9792 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9799 * undo_funcs.C: some cleanups. Use shared_ptr
9800 and a template for the undo stacks.
9802 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9804 * BufferView_pimpl.h:
9805 * BufferView_pimpl.C:
9812 * text2.C: use key_state/mouse_state
9814 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9819 * chset.C: change include order
9820 (loadFile): use boost regex and get rid of LRegex and LSubstring
9822 * Makefile.am (BOOST_LIBS): new variable
9825 * LaTeX.C: change include order.
9826 (scanAuxFile): use boost regex and get rid of LRegex and
9830 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9835 * FontInfo.C: moved to frontends/xforms/
9838 * FontLoader.C: moved into frontends for GUIIzation
9843 * lyxfunc.C: changes from above
9845 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9847 * LColor.C: remove spurious X include
9849 * BufferView_pimpl.C:
9854 * text2.C: move font metrics to frontends/
9856 2002-05-24 Juergen Vigna <jug@sad.it>
9858 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9859 setting the undo_cursor.
9861 * ParagraphParameters.h: include local includes first.
9863 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9865 * BufferView_pimpl.C:
9866 * BufferView_pimpl.h:
9870 * screen.C: move WorkArea into frontends/
9876 * BufferView2.C: move LyXScreen into frontends/
9880 * lyx_gui.C: move lyxlookup into frontends/xforms/
9882 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9885 * BufferView_pimpl.C:
9895 * bufferview_funcs.C:
9908 * vc-backend.C: move LyX/XFormsView into frontends/
9910 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9922 * text2.C: move Painter to frontends/
9924 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9926 * buffer.C: comment out some some code that depend upon lyx_format
9929 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9930 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9932 * buffer.h (NO_COMPABILITY): turn off compability
9934 * ColorHandler.C: include scoped_array.hpp
9936 * font.C: Use more specific smart_ptr header.
9939 * ShareContainer.h: ditto
9943 * BufferView_pimpl.h: ditto
9944 * ColorHandler.h: ditto
9946 * kbmap.C (defkey): change call to shared_ptr::reset
9948 2002-05-21 Juergen Vigna <jug@sad.it>
9950 * buffer.C (insertErtContents): fix to insert ert asis if it is
9951 non empty. Skip it completely if it contains only whitespaces.
9953 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9955 * BufferView_pimpl.C:
9956 * BufferView2.C: clear selection on paste (bug 393)
9958 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * DepTable.C: include ctime
9962 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9964 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9966 2002-05-14 Juergen Vigna <jug@sad.it>
9968 * text.C (breakParagraph): fixed function to honor the keepempty
9969 layout in the right maner and also to permit the right breaking
9970 algorithm on empty or non empyt keepempty paragraphs.
9972 * paragraph.C (breakParagraph): we have to check also if the par
9973 is really empty (!size()) for isempty otherwise we do the wrong
9976 2002-05-10 Juergen Vigna <jug@sad.it>
9978 * buffer.[Ch] : The following are only changes to the ert
9979 compatibility read reading old LaTeX layout and font stuff and
9980 convert it to ERTInsets.
9982 * buffer.h: added isErtInset().
9984 * buffer.C (struct ErtComp): add a fromlayout bool to check
9985 if we're inside a LaTeX layout.
9986 (isErtInset): new helper function.
9987 (insertErtContents): look for other ert insets before this one
9988 and insert the contents there, so that we don't have subsequent
9989 ERT insets with nothing between them. This way we create only one
9990 inset with multiple paragraphs. Also check if we don't insert only
9991 spaces ' ' as they are ignored anyway afterwards in the .tex file
9992 so if we have only spaces we will ignore this latex part in the
9994 (parseSingleLyXformat2Token \\layout): better compatibility when
9995 reading layout-latex stuff.
9996 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9998 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9999 stuff after reading the inset only get the information back from
10002 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10004 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10006 * LaTeXFeatures.C (getBabelOptions): New method.
10008 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * BufferView_pimpl.C (Dispatch): work around missing argument for
10013 2002-05-08 Juergen Vigna <jug@sad.it>
10015 * text.C (leftMargin): handle paragraph leftindent.
10017 * paragraph.C (writeFile): write the new \\leftindent tag.
10018 (validate): handle leftindent code.
10019 (TeXEnvironment): handle paragraphleftindent code again.
10021 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10023 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10024 for paragrap_extra indent code and new token \\leftindent.
10025 (latexParagraphs): handle the leftindent as environment.
10027 * ParameterStruct.h: added leftindent support.
10029 * ParagraphParameters.C (leftIndent): added support functions for
10030 the paragraph left indent.
10032 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10035 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10037 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10040 * text.C (computeBidiTables): No bidi in insetERT.
10042 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10045 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10047 * version.C.in: pre 5
10049 2002-05-02 José Matos <jamatos@fep.up.pt>
10050 * buffer.C (makeDocBookFile): white space changes, add newline to
10052 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10054 * tabular.C (docBook): fix typo.
10056 2002-05-03 Juergen Vigna <jug@sad.it>
10058 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10059 change in LyXText as we can not be sure it was not freed.
10060 (drawOneRow): remove unused code.
10062 * text.C (drawInset): redo the calculation of the need_break_row as
10063 it could have a row which was already freed.
10064 (draw): look at the return value of drawInset and return false if
10065 it also returned false.
10066 (paintRowText): look at the return value of draw and return false if
10067 it also returned false.
10069 * lyxtext.h: added bool return type to drawInset() and draw() so that
10070 if we have a change in the row so that the rowbreak has to be redone
10071 we abort drawing as it will be called again.
10073 2002-05-02 Juergen Vigna <jug@sad.it>
10075 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10076 a change in the maintext also if we're inside an inset.
10077 (Dispatch): set the cursor again after a break line and after the
10078 screen has been updated as it could be we're in a different row.
10080 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10081 to set the cursor behind the pargraph with > size().
10082 (setCursor): check also for the same paragraph when checking where
10083 to put the cursor if we have a NFR inset.
10085 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10086 parts of layout read further up as it still was in the wrong
10089 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10091 * screen.C (drawFromTo): change sine fullRebreak always return
10094 * buffer.C (parseSingleLyXformat2Token): reindent some
10096 * BufferView_pimpl.C (update): change since fullRebreak always
10098 (Dispatch): git rid of the last hardcoded "Standard"s.
10100 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10102 * text2.[Ch] (fullRebreak): make it return void now that we always
10105 2002-04-30 Juergen Vigna <jug@sad.it>
10107 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10108 ert compatibility check for "latex" layout.
10110 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10112 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10113 minipages: use col% instead of p%, and also use the current font.
10114 (makeLaTeXFile): Fix use babel condition.
10115 (parseSingleLyXformat2Token): Correct font when reading old floats.
10117 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10119 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10120 inserting list of floats.
10122 2002-04-25 Herbert Voss <voss@lyx.org>
10124 * MenuBackend.C (expand): don't add the graphics extensions to the
10127 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10129 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10130 non-existing layout, do not complain if it was the default layout
10131 of the original class (bug #342)
10133 2002-04-24 Juergen Vigna <jug@sad.it>
10135 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10136 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10138 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10140 * buffer.C (getBibkeyList): If using \bibliography, return the
10141 option field with the reference itself. Enables us to provide natbib
10142 support when using \bibliography.
10144 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10146 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10148 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10149 natbib is provided by the LaTeX class.
10151 2002-04-23 Juergen Vigna <jug@sad.it>
10153 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10156 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10158 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10162 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10163 ensuremath around textordmasculine, textordfeminine and
10166 2002-04-19 Juergen Vigna <jug@sad.it>
10168 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10169 reinitializing the buffer otherwise row-dimensions may be wrong.
10170 (update): reset also the selection cursors if they do exits otherwise
10171 their x/y positions may be wrong.
10173 * text2.C (cursorDown): don't enter the inset if we came from a row
10174 above and are one row over the inset.
10176 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10177 really leaving an inset.
10179 2002-04-18 Juergen Vigna <jug@sad.it>
10181 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10182 of the selected paragraph does not have the selected layout also if
10185 * text2.C (setLayout): fixed bug which did not change last selected
10188 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10189 changed the read and substituted \\end_float with \\end_inset!
10191 * BufferView_pimpl.C (cursorPrevious):
10192 (cursorNext): fixed to make it work with rows heigher than the work
10193 area without moving the cursor only the draw of the row.
10194 (workAreaMotionNotify): fix jumping over high rows.
10196 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10198 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10201 2002-04-16 Juergen Vigna <jug@sad.it>
10203 * text2.C (setCursor): set also the irow().
10204 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10206 (cursorDown): support for locking an inset if the x_fix value goes
10207 inside it. That way I can transverse insets too with cursor up/down.
10209 * lyxrow.h: added irow helper function same as other (i) functions.
10211 * BufferView_pimpl.C (cursorPrevious):
10212 (cursorNext): fixed for insets!
10214 2002-04-15 Juergen Vigna <jug@sad.it>
10216 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10217 position otherwise it is wrong in some cases.
10219 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10220 inside the inset before the call.
10222 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10224 * buffer.[Ch] (getBibkeyList): make it const.
10226 2002-04-12 Juergen Vigna <jug@sad.it>
10228 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10230 * text2.C (getCursorX): new helper function
10231 (setCursor): compute also ix_
10232 (setCursorFromCoordinates): set also ix.
10234 * lyxcursor.h: added ix_ and helper functions.
10236 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10238 * buffer.C (insertStringAsLines): dont break paragraph if the this
10239 paragraph is inside an inset which does not permit it!
10241 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10242 also with no chars on this paragraph.
10243 (paintRowText): only paint stuff if it's inside the workarea!
10245 * paragraph.C (breakParagraph): honor keepempty flag and break the
10246 paragraph always below not above.
10248 * BufferView2.C (unlockInset): update the paragraph layout on inset
10249 unlock as we changed paragraph in such a case.
10251 * lyxfind.C (LyXFind): clear the former selection if not found!
10253 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10254 again called in insertChar().
10256 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10257 an inset which uses the whole row!
10258 (rightMargin): ditto.
10259 (insertChar): force a rebreak if we inserted an inset!
10261 2002-03-28 Herbert Voss <voss@lyx.org>
10263 * lyxlength.[Ch]: add inBP() to get the right PS-point
10264 units (BigPoint). With inPixels we have rounding errors
10266 2002-04-11 Juergen Vigna <jug@sad.it>
10268 * text2.C (setCursorFromCoordinates): set iy to the right value.
10269 (setCursor): add check if row->previous exists!
10271 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10272 an old float_type as this was the case in the old code!
10274 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10276 * BufferView2.C (showLockedInsetCursor): use iy
10277 (fitLockedInsetCursor): ditto
10279 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10280 locked insets as there we have the right value now.
10282 * lyxcursor.C: added iy_ variable and iy functions to set to the
10283 baseline of cursor-y of the locked inset.
10285 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10286 (setCursor): fixed for insets which need a full row.
10288 * text.C (rowLastPrintable): don't ignore the last space when before
10289 an inset which needs a full row.
10290 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10291 as last character of a row when before a inset which needs a full row.
10293 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10295 * version.C.in: update date
10297 * text2.C (fullRebreak): try to always return true and see what
10300 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10302 * MenuBackend.C (expand): use Floating::listName
10304 * FloatList.C (FloatList): add listName argument to the built-in
10307 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10308 text associated with the float.
10310 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10314 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * ShareContainer.h: add a couple of missing typenames.
10318 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10320 * lyxrc.C (getDescription): use _() correctly rather than N_().
10322 2002-03-28 Herbert Voss <voss@lyx.org>
10324 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10325 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10327 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10330 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10332 2002-03-29 Juergen Vigna <jug@sad.it>
10334 * lyxfunc.C (dispatch): add a missing fitCursor call.
10336 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10337 it was scrolled by a cursor move, so return the bool status.
10339 * BufferView.C (fitCursor): return the bool flag also to the outside
10340 world as this is needed.
10342 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10344 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10345 call the edit() as it is not needed (and wrong) IMO.
10346 (workAreaButtonPress): set the screen_first variable before evt.
10347 unlock the inset as this may change screen_first and then we have
10348 a wrong y position for the click!
10350 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * MenuBackend.C (expand): another translation that I missed
10354 2002-03-28 Juergen Vigna <jug@sad.it>
10356 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10358 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10360 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10362 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10364 * MenuBackend.C (expand): fix export/view/update when there is no
10367 2002-03-27 Herbert Voss <voss@lyx.org>
10369 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10372 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * bufferview_funcs.C (currentState): only show paragraph number
10375 for is DEVEL_VERSION is set.
10377 * lyxfunc.C (dispatch): put warning in INFO channel
10379 * MenuBackend.C (expand): translate the name of floats
10381 * FloatList.C (FloatList): mark the float names for translation
10383 * converter.C (convert): use LibScriptSearch
10385 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * MenuBackend.C (defaults): fix default menu (we might as well get
10390 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10392 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10395 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10397 * lyxvc.C: reorder includes.
10399 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10401 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10404 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10406 * CutAndPaste.C: change layouts earlier on paste
10407 to avoid crashing when calling getFont()
10409 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10411 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10414 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10416 * WorkArea.C: remove 'Pending' debug message.
10418 * most files: ws cleanup
10420 * buffer.[Ch]: ws changes
10422 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10424 2002-03-21 Juergen Vigna <jug@sad.it>
10426 * tabular.C (SetMultiColumn): collapse also the contents of the
10427 cells and set the last border right. Added a Buffer const * param.
10429 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10434 2002-03-19 Juergen Vigna <jug@sad.it>
10436 * text2.C (clearSelection): reset also xsel_cache.
10438 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10439 where it needs to be called (John tells us to do so too :)
10440 (selectionLost): reset sel_cache.
10442 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10444 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10446 * text2.C (setCursorIntern): put debuging code in INSETS channel
10448 2002-03-19 André Pönitz <poenitz@gmx.net>
10450 * lyxfunc.C: tiny whitespace change
10452 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * ToolbarDefaults.C (init):
10455 * LyXAction.C (init):
10457 * BufferView_pimpl.C (Dispatch):
10458 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10460 2002-03-19 Allan Rae <rae@lyx.org>
10462 * exporter.C (Export): removeAutoInsets before doing anything else.
10463 While I've just introduced a dependency on BufferView this really is
10464 the best place to clean the buffer otherwise you need to cleanup in
10465 a dozen places before calling export or cleanup in a dozen functions
10468 * converter.C (runLaTeX):
10469 (scanLog): Better handling of removeAutoInsets and screen updates.
10471 * lyxfunc.C (dispatch): small whitespace changes
10473 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10475 * WorkArea.C (C_WorkAreaEvent): return a value.
10476 (event_cb): return 1 if we handled the event, 0 otherwise.
10478 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10480 2002-03-18 Juergen Vigna <jug@sad.it>
10482 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10483 (GetAdditionalWidth): ditto.
10484 (RightLine): ditto.
10487 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10488 inset if we're there actually (probably not used right now but this
10489 is the direction to go for unifying code).
10490 (paste): disable code to clear the selection.
10492 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10493 inside an InsetText and move the check further up as it is in the
10496 * text2.C (pasteSelection): set a selection over the pasted text.
10498 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10500 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10501 and libgraphics to build on Cygwin.
10503 2002-03-15 Juergen Vigna <jug@sad.it>
10505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10506 inserting an Inset into the paragraph. I know this is not the best
10507 fix but we already use current_view in CutAndPaste so we will remove
10508 all of it's using at the same time.
10510 * buffer.C (sgmlError): deactivated function till it is rewritten in
10511 the right mode, now it can create problems.
10513 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10514 before accessing it.
10516 2002-03-14 Juergen Vigna <jug@sad.it>
10518 * undo_funcs.C (textHandleUndo): do the right thing when updating
10519 the inset after the undo/redo.
10521 * text2.C (setCursor): just some testcode for #44 not ready yet.
10523 * undo_funcs.C (textHandleUndo): set the next() and previous()
10524 pointers of the paragraph to 0 before deleting otherwise we have
10525 problems with the Paragraph::[destructor].
10527 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10528 on a paragraph insertion.
10530 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * buffer.C (asciiParagraph): use += operator for char append to
10535 * paragraph.C (getFontSettings): compare >= not just >
10536 (highestFontInRange): ditto
10539 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * paragraph.C: change several algorithm to be more appripriate for
10542 the problem domain. This is lookip in FontList and in the InsetList.
10544 2002-03-13 André Pönitz <poenitz@gmx.net>
10547 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10549 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10556 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * Painter.C (display): anon helper function, adjust code for this
10560 (pixmap): remove function.
10562 * Painter.h: remove private display variable.
10564 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10566 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10568 * WorkArea.[Ch]: remove figinset_canvas cruft.
10570 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10572 * lyxtextclass.C (operator): add one item cache optimization.
10574 * bufferlist.h: doxy changes
10576 * bufferlist.C: ws changes
10578 * DepTable.[Ch] (ext_exist): place const in the right spot.
10580 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10582 (workAreaExpose): call resizeInsets when the with BufferView changes.
10583 (Dispatch): adjust for protectedBlank removal
10584 (specialChar): call updateInset if the insert went ok.
10586 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10587 specialChar instead.
10589 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10591 * BufferView.h: doxy change
10593 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10595 * lyxtextclass.C (operator[]): remove non-const version
10596 (defaultLayout): remove non-const version
10598 2002-03-12 Juergen Vigna <jug@sad.it>
10600 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10601 did resize the LyXText too.
10603 * buffer.C (readLyXformat2): set layout information on newly allocated
10606 * tabular.C (OldFormatRead): set layout information on the paragraph.
10608 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10610 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10612 2002-03-11 Juergen Vigna <jug@sad.it>
10614 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10616 (resizeCurrentBuffer): force also the insets to resize themselfes.
10617 (moveCursorUpdate): fixed up for InsetText.
10619 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10622 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10623 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10624 value of Dialogs::tooltipsEnabled().
10625 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10627 2002-03-08 Juergen Vigna <jug@sad.it>
10629 * BufferView_pimpl.C (updateInset): update inset inside inset also
10630 if it isn't inside theLockingInset().
10632 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * buffer.C (asciiParagraph): redo some of the word and line length
10636 (getLists): look for Caption instead of caption.
10638 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10640 * buffer.C (Buffer): initialize niceFile to true
10642 (makeLinuxDocFile):
10643 (makeDocBookFile): make sure niceFile is true on exit
10645 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10647 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10649 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10651 * LyXSendto.C: remove.
10652 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10653 * lyx_gui.C: remove now-redundant comment.
10654 * ColorHandler.h: remove forward declaration of class WorkArea.
10655 * lyxfunc.C: remove #include "WorkArea.h".
10657 2002-03-07 Juergen Vigna <jug@sad.it>
10659 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10660 got moved away with the DEPM and also set the inset_owner always
10661 right which before could have been omitted.
10663 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10665 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10666 wanted layout is not found.
10668 2002-03-07 Juergen Vigna <jug@sad.it>
10670 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10672 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10674 * paragraph.C (breakParagraph): use default layout not layout of
10676 (Paragraph): clear ParagraphParameters.
10678 2002-03-06 Juergen Vigna <jug@sad.it>
10680 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10681 otherwise it would not be a valid lenght. Fixed a special case in
10682 the minipage compatibility read where we end the document with a
10685 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10686 was set as it could be 0 for InsetTexts first entry.
10688 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * paragraph.C (writeFile): if layout is empty write out
10691 defaultLayoutName().
10693 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10694 file without named layout we set layout to defaultLayoutName().
10696 2002-03-06 Juergen Vigna <jug@sad.it>
10698 * CutAndPaste.C (copySelection): set layout for new paragraph.
10700 * text.C (prepareToPrint): leave ERT inset left aligned
10701 (leftMargin): don't indent paragraphs inside ERT insets
10703 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * paragraph.C (breakParagraph): dont call clear do the work manually
10707 * paragraph.[Ch] (clear): remove function
10709 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * paragraph.C (Paragraph): dont call clear, the work has already
10714 * lyxtextclass.C (operator): assert if n is empty
10716 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10717 work manually instead.
10719 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10721 * BufferView_pimpl.C: protect selectionLost against text == 0
10723 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10725 * text.C (breakParagraph): fix a setting layout to '0' problem.
10727 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10729 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10730 final location of file, for the included files, and graphics.
10732 2002-03-05 Juergen Vigna <jug@sad.it>
10734 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10736 2002-03-04 Juergen Vigna <jug@sad.it>
10738 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10740 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10741 last column of multicolumn cells.
10742 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10744 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10746 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10747 file if it doesn't go to a temporary file.
10749 * buffer.C (sgmlOpenTag):
10750 (sgmlCloseTag): remove extra newline insertion.
10752 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * text.C (getRowNearY): comment out debug msg
10756 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10758 * text2.C: first -> first_y
10760 * text.C (getRowNearY): add some attemts at a possible
10761 optimization, not working.
10763 * tabular.[Ch]: add BufferParams to several function so that newly
10764 created paragraph can be initialized to he default layotu for the
10767 * tabular-old.C (ReadOld): add buf->params to call of Init
10769 * screen.C: rename text->first to text->first_y
10771 * paragraph.C (breakParagraph): always set layout in the broken
10774 * lyxtextclass.C (Read): remove lowercase
10777 (delete_layout): ditto
10779 * lyxtext.h: rename first -> first_y
10781 * lyxlayout.C (Read): remove lowercase
10784 (obsoleted_by): ditto
10786 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10788 * buffer.C (insertErtContents): add params are to InsetERT
10789 (parseSingleLyXformat2Token): add code to check if a paragraphs
10790 layout really exist.
10791 (parseSingleLyXformat2Token): add params to several inset
10793 (asciiParagraph): remove lowercase, do the layout comparisons with
10796 * BufferView_pimpl.C (cursorNext): first -> first_y
10797 (resizeCurrentBuffer): first -> first_y
10798 (updateScrollbar): first -> first_y
10799 (scrollCB): first -> first_y
10800 (workAreaMotionNotify): first -> first_y
10801 (workAreaButtonPress): first -> first_y
10802 (checkInsetHit): first -> first_y
10803 (cursorPrevious): first -> first_y
10804 (cursorNext): first -> first_y
10805 (Dispatch): add buffer_->params to severl inset contructors
10807 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * lyxlayout.C (Read): remove some debug info that I forgot.
10811 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10812 clean up the code slightly.
10813 (makeLinuxDocFile): ditto
10814 (makeDocBookFile): ditto
10816 * text2.C: layout as string
10818 * text.C: layout as string
10820 * paragraph_pimpl.C: layout as string
10822 * paragraph.[Ch]: layout as string
10824 * lyxtextclasslist.[Ch]: layout as string
10826 * lyxtextclass.[Ch]: layout as string
10828 * lyxtext.h: layout as string
10830 * lyxlayout.[Ch]: layout as string
10832 * lyx_cb.C: layout as string
10834 * bufferview_funcs.C: layout as string
10836 * bufferparams.C: layout as string
10838 * buffer.C: layout as string
10840 * LyXView.[Ch]: layout as string
10842 * LaTeXFeatures.[Ch]: layout as string
10844 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10846 * BufferView_pimpl.C: change current_layout to string, remove
10851 (workAreaButtonRelease): layout as string
10853 * BufferView2.C (unlockInset): adjust
10855 * vspace.C (asLatexCommand): use an explict temp variable.
10857 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10859 * Makefile.am: use FRONTEND_*
10861 2002-03-01 Juergen Vigna <jug@sad.it>
10863 * tabular.C (SetWidthOfMulticolCell): changed to something better
10864 I hope but still work in progress.
10865 (recalculateMulticolumnsOfColumn): renamed function from
10866 recalculateMulticolCells as it is more appropriate now.
10867 (SetWidthOfCell): calculate multicols better.
10869 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10871 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10873 * lyxfunc.C (processKeySym): print sequence also if it is
10874 `deleted' (complete)
10876 * kbsequence.C (print): print sequence even if it is deleted
10877 (complete would be a better word, actually).
10879 * lyxfunc.C (dispatch): print complete options after a prefix key
10881 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10883 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10885 * text2.C (setCharFont): eliminate setCharFont code duplication.
10887 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10889 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10890 LFUN_TABULAR_FEATURE (bug #177)
10892 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10894 * Makefile.am: remove figure.h
10896 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10898 * Bufferview_pimpl.C:
10910 * text2.C: remove #include "lyx_gui_misc.h".
10912 * LaTeX.C: added #include <cstdio>
10914 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10916 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10917 that the paragraph following this one can have.
10919 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10921 * vspace.C (asLatexCommand): fix bogus gcc warning
10923 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10925 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10927 * text2.C (setLayout): get rid of redundant code
10929 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10931 * text2.C (incDepth): make sure depth cannot be increased beyond
10934 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10936 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10937 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10939 * PainterBase.h (image):
10940 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10941 a LyXImage const *.
10943 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10947 * BufferView_pimpl.C:
10948 * BufferView_pimpl.h:
10968 * sp_spell.C: remove fig inset, and the crap house of
10969 cards that follows it
10971 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10976 * os2_errortable.h:
10977 * nt_defines.h: move .h into support/
10979 * vms_defines.h: remove
10981 * WorkArea.C: add space in debug output
10985 * buffer.C: add WITH_WARNINGS
10989 * bufferlist.C: s/retrive/retrieve/, add docs
10998 * chset.C: add docs
11000 * lyxgui.C: add ID to X error handler
11002 * lyxtestclass.c: fix typo
11004 2002-02-26 Juergen Vigna <jug@sad.it>
11006 * tabular_funcs.C (write_attribute): changed so that some default
11007 attributes are not written at all.
11008 (getTokenValue): set default values before trying to read the
11009 value so we have the return value always set as default if we don't
11010 find the token we search for.
11012 * tabular.C (Write): write bools as bools not as strings!
11014 2002-02-22 Juergen Vigna <jug@sad.it>
11016 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11017 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11019 * text.C (leftMargin): don't add an indent for paragraphs inside
11020 tabular cells (fix #208).
11022 2002-02-21 José Matos <jamatos@fep.up.pt>
11024 * tabular.C (docBook): fixed support for long tables.
11026 2002-02-20 Juergen Vigna <jug@sad.it>
11028 * text2.C (getFont): get the drawing font of the Inset if this
11029 paragraph is inside an inset (only important for InsetERT for now).
11031 * buffer.C (insertErtContents): use new lanugage params in ERT
11034 * CutAndPaste.C: commenting out seemingly uneeded code.
11036 2002-02-19 Allan Rae <rae@lyx.org>
11038 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11039 Iterators might be simple to use but they also get invalidated.
11040 (removeAutoInsets): renamed saved cursor tracking variables and added
11041 some comments to clarify what everything does.
11043 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11050 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11051 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11054 * vc-backend.h: remove #include "support/syscall.h"
11058 * converter.C: rearrange #includes in Lars' approved fashion.
11060 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11061 forward declare class Timeout in the header file.
11063 * XFormsView.C: changes due to the above.
11065 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11066 similar to LyXView.
11068 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11069 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11071 2002-02-18 José Matos <jamatos@fep.up.pt>
11073 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11076 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11078 * a lot of small ws changes
11079 * add a lot of using std::XXX
11080 * use std construcs some places where approp.
11081 * use some exisint stuff from lyxfunctional where approp.
11082 * Make file changes to use partial linking (lets test this now...)
11084 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11088 remove #include "support/syscontr.h" as it's redundant. Always has been.
11096 change Systemcalls::System to Systemcalls::Wait and
11097 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11098 No change of functionality, just reflects the stripped down Systemcalls
11101 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11103 * debug.[Ch]: add a GRAPHICS type to the enum.
11105 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11109 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11112 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11115 match the changes below.
11117 * text2.C (toggleInset): if there is not editable inset at cursor
11118 position, try to see if cursor is _inside_ a collapsable inset
11121 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11124 document menu has a nice checkbox
11126 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11128 * lyxlength.C (asLatexString): change PW to output as percent of
11131 * lengthcommon.C: change '%' to 't%'
11133 * lyxfunc.C (dispatch): a few comments from Martin
11135 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11139 * BufferView_pimpl.h:
11140 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11143 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11145 * vspace.C (inPixels): fix compiler warning
11147 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * lyxfunc.C (getStatus): fix status message for disabled commands.
11151 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11153 * BufferView_pimpl.C: fix crash on close buffer
11154 during selection (#227)
11156 2002-01-27 Herbert Voss <voss@lyx.org>
11158 * buffer.C: link old Figure to new graphic inset
11160 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11162 * FontLoader.C (getFontinfo): Change the latex font names in order
11163 to match the names of type1inst.
11165 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11167 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11169 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11170 (extchanged): ditto
11172 (remove_files_with_extension): ditto
11173 (remove_file): ditto
11176 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11177 document is smaller than the work area height. Do not initialize
11178 static variables to 0.
11180 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11184 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11185 LFUN_LAYOUT_PARAGRAPHS.
11187 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11188 tabular. It is possible to provide a possible cell, which will
11189 typically be the actcell from the corresponding insettabular
11191 * lyxfunc.C (getStatus): small cleanup; disable
11192 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11195 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11197 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11199 * paragraph.C (startTeXParParams):
11200 (endTeXParParams): new methods. The LaTeX code to
11201 start/end paragraph formatting
11202 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11203 empty (fixes bug #200)
11205 * vspace.C (inPixels): adapt to the change below
11206 (inPixels): [later] more cleanups (remove unused variables)
11208 * lyxlength.C (inPixels): change to use a width and a height as
11211 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11214 Replaced with \paperwidth
11216 * DepTable.C (insert): add std:: qualifier
11218 2002-01-18 Allan Rae <rae@lyx.org>
11220 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11223 * text.C (drawInset): Turned out I didn't know enough about how
11224 rebreaking worked. This fixes most of the redraw problems. I see
11225 an occasional cursor trail when a line is broken now and the cursor
11226 placement can seem out by a few pixels also after a rebreak.
11228 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * buffer.C (parseSingleLyXformat2Token): update because minipage
11231 width is now a LyXLength
11233 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11235 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11238 2002-01-17 Juergen Vigna <jug@sad.it>
11240 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11242 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11243 is set correctly and the inset is updated correctly.
11245 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11247 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11248 the beginning of the loop.
11250 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11252 * lyxrc.C: improve help for use_scalable_fonts
11254 2002-01-17 Allan Rae <rae@lyx.org>
11256 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11258 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11260 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11261 make sure to set their inset_owner to the right value (bug #171)
11263 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11266 * DepTable.C: Implement mtime checking to reduce time spent doing
11269 2002-01-16 Juergen Vigna <jug@sad.it>
11271 * tabular.C (GetAdditionalHeight): one of error fixed.
11273 * lyxrc.C (output): small fix in writing use_pspell.
11275 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11277 * sp_base.h: #include LString.h
11279 2002-01-16 Allan Rae <rae@lyx.org>
11281 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11282 Can someone check this please?
11284 * text.C (drawInset): It was possible that p.row would be removed by
11285 breakAgainOneRow upsetting a few other settings. There may be another
11286 small tweak possible by setting need_break_row = 0 when p.row has been
11287 removed but I don't know enough about the logic here.
11289 2002-01-15 Allan Rae <rae@lyx.org>
11291 * text.C (insertChar): removed conditional truism.
11293 * BufferView2.C (removeAutoInsets): More tweaks.
11294 cur_par_prev could be a stray pointer. Check for trailing empty line
11295 in case last line was cur_par and only had an error inset on it.
11297 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11302 * vc-backend.C (most methods):
11303 * exporter.C (Export):
11304 * converter.C (convert):
11306 * LyXSendto.C (SendtoApplyCB):
11307 * lyxfunc.C (dispatch):
11311 * lyx_cb.C (AutoSave):
11313 * BufferView_pimpl.C (MenuInsertLyXFile):
11314 * buffer.C (runChktex): use Buffer::filePath().
11316 * buffer.h: rename filename to filename_; rename filepath to
11317 filepath_ and make it private
11318 (filePath): new method
11320 * buffer.C (writeFile): use fileName()
11323 * lyx_main.C (init): fix starting of LyX when the binary is a
11324 link from so,ewhere else.
11326 * minibuffer.C: include <cctype> for isprint
11328 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11330 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11331 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11332 name clash with InsetCollapsable's width function.
11334 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11336 * lastfiles.C: include <iterator>
11338 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11340 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11343 * buffer.C (makeLaTeXFile): ditto.
11344 Also make loop operation more transparent.
11346 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11348 * ToolbarDefaults.C: remove trailing comma closing namespace.
11350 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11352 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11355 * trans.C (Load): comment out unused variable, allowed.
11357 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11359 * minibuffer.[Ch] (append_char): new method to recieve input from the
11360 drop-down completion browser. If a key was pressed, then recieve this
11361 char and append it to the existing string.
11362 (peek_event): modify the positioning data passed to the completion
11363 browser so that it can be placed above the minibuffer rather than below.
11364 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * LyXAction.C (init): alloe error-next for readonly documents.
11368 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11371 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11373 * bufferlist.C (readFile): create the buffer _after_ checking that
11376 * lyxfunc.C (verboseDispatch): fix handling of arguments
11378 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11380 * lyxrc.C: use string::erase() instead of initializing to "".
11383 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11385 * BufferView_pimpl.h:
11386 * BufferView_pimpl.C:
11389 * text2.C: tell X when we have made a selection for copying
11391 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * BufferView_pimpl.C (MenuInsertLyXFile):
11394 * lyxfunc.C (menuNew):
11396 (doImport): add shortcuts to directory buttons
11398 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11401 * lyxfunc.C (setStatusMessage):
11402 (getStatusMessage): new methods
11403 (getStatus):use setStatusMessage instead of setErrorMessage
11404 (dispatch): when function is disabled, set error message here
11405 [instead of in getStatus previously]
11407 * BufferView_pimpl.C (workAreaButtonRelease): update
11408 toolbar/menubar here too.
11410 2002-01-13 Allan Rae <rae@lyx.org>
11412 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11413 Now seems indestructible. Remaining task is to audit all other
11414 code affected by deleteEmptyParagraphMechanism. One small quirk
11415 left is that an empty document with an error in the preamble can
11416 be made to report an error but no error box appears. I don't know
11418 (removeAutoInsets): Improved comments.
11420 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11423 * Thesaurus.C: update for Aiksaurus 0.14
11425 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * text2.C (firstParagraph): removed member function, all uses
11428 replaces with ownerParagraph
11429 (redoParagraphs): here
11430 (updateInset): here
11431 (toggleAppendix): here
11432 * BufferView2.C (insertErrors): here
11433 (setCursorFromRow): here
11435 2002-01-13 Allan Rae <rae@lyx.org>
11437 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11438 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11439 There is still a way to segfault this although you may have to do this
11440 multiple times: Have an InsetERT with an unknown command in it.
11441 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11442 <down-arrow>, <Enter> again, View->DVI, BANG!
11444 * text2.C (setCursor):
11445 (deleteEmptyParagraphMechanism):
11446 * lyxtext.h (setCursor):
11447 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11448 Making use of the return value may help fix other bugs.
11450 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11452 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11454 * LyXView.C (updateMenubar): call MenuBar::update here
11455 (updateToolbar): but not here
11456 (showState): do not update toolbar/menubar
11458 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11459 should need to care about that.
11461 * lyxfunc.C (verboseDispatch): simplify a bit
11462 (getStatus): have a version which takes a pseudoaction, and
11463 another which requires a (kb_action,string).
11465 * LyXAction.C (retrieveActionArg): make it work also when action
11466 is not a pseudo-action.
11467 (getActionName): simplify a bit
11470 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11472 * lyxfunc.C (verboseDispatch): new families of methods with
11473 several ways to specify a command and a bool to indicate whether
11474 the command name and shortcut should be displayed in minibuffer
11475 (eventually, we could extend that to a finer bitmask like
11476 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11477 (dispatch): the pristine dispatch command which just, well,
11478 dispatchs! Note it still sets its result to minibuffer; I'm not
11481 * lyxfunc.h: remove setHintMessage
11483 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11485 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11487 * BufferView_pimpl.C (specialChar): delete new inset if we have
11488 not been able to insert it.
11490 * kbmap.C: revert to using int instead of kb_action, since all we
11491 are dealing with is pseudo-actions.
11493 * LyXAction.C (searchActionArg): change to return int instead of
11494 kb_action, since the result is a pseudoaction.
11496 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11498 * buffer.C (insertErtContents): Fix (partially) the font bug.
11500 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11502 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11503 as the other one is broken on my machine!
11505 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11508 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11510 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11512 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11513 reflect their actual use. Provide compatibility code for older lyxrc
11516 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11518 change names of popup font variables in line with the changes to lyxrc.C
11520 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11522 * buffer.C (asciiParagraph): avoid outputing a word twice after
11525 * lyxrc.C (getDescription): document that document_path and
11526 template_path can be empty.
11528 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * LaTeXFeatures.C (getMacros):
11531 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11533 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11535 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11537 (getPackages): rename feature "floats" to "float". Use an array to
11538 iterate over 'simple' features (i.e. just a \usepackage). Add
11539 handling of "amsmath" (renamed from "amsstyle").
11541 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11543 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11546 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11548 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11549 FuncStaus::FuncStatus & FuncStaus::some_method().
11551 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11553 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11554 of the func_satus stuff. Edited and massaged in various ways by
11557 * lyxfunc.C (getStatus): use FuncStatus
11559 2002-01-08 Juergen Vigna <jug@sad.it>
11561 * text.C (nextBreakPoint): use function Inset::isChar().
11563 * paragraph.C (TeXOnePar): use function
11564 Inset::forceDefaultParagraphs.
11566 * buffer.C (latexParagraphs): use function
11567 Inset::forceDefaultParagraphs.
11569 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11571 * lyx_gui.C (init): set the style of the menu popups to
11572 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11574 2002-01-07 Juergen Vigna <jug@sad.it>
11576 * text.C (setHeightOfRow): small fix
11577 (prepareToPrint): don't look at alignment if we don't have the place
11580 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11582 * box.C: New file. Move the Box methods and functions out of box.h,
11583 following Lars' suggestion.
11585 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11587 * box.h: #include "support/LOstream.h", needed for inlined function.
11590 * lyxtextclasslist.C: added some using std declarations.
11592 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11594 * box.h: make signed dimensions to allow insets wider than
11595 the screen (bug #162)
11597 * BufferView_pimpl.C: add some insetHit debug
11599 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11601 * vc-backend.C: add FIXME
11603 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11605 * lyxfunc.C (getStatus): enable code for showing math font status
11608 2002-01-07 Juergen Vigna <jug@sad.it>
11610 * text.C (nextBreakPoint): removed debug output not needed anymore.
11612 2002-01-06 Juergen Vigna <jug@sad.it>
11614 * text.C (nextBreakPoint): fixed up this function we had this bug
11615 since ever but now hopefully we break row better.
11616 (insertChar): we have to check if an inset is the next char as it
11617 could now happen that a large inset is causing a break.
11619 2002-01-05 Juergen Vigna <jug@sad.it>
11621 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11622 if it doesn't like to be drawed.
11624 2002-01-04 Juergen Vigna <jug@sad.it>
11626 * BufferView2.C (lockInset): forgot to set a cursor.
11628 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11630 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11632 * FormMathsPanel.C:
11635 * form_maths_panel.C:
11636 * form_maths_panel.h:
11637 * form_maths_panel.fd: implemented sub- and super- buttons in math
11640 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11641 (or ^ space) to be used as in TeX (req'd by André).
11643 * lyxfunc.C: Allow ^ and _ again to be used both as
11644 super/subscript (mathed) and as themselves (in text).
11646 2002-01-03 Allan Rae <rae@lyx.org>
11648 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11649 "LyX" or the filename of the current buffer if it has one. This is a
11650 modified form of John Levon's patch.
11652 * XFormsView.C (setWindowTitle): also set icon title.
11654 * LyXView.h (setWindowTitle): signature changed.
11655 * XFormsView.h (setWindowTitle): ditto.
11657 2002-01-02 Juergen Vigna <jug@sad.it>
11659 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11661 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * screen.C (topCursorVisible): introduce a temp var for
11664 text->cursor.row(), handle the case where this row is null. (kindo
11667 * text2.C (setCursor): add a couple of asserts.
11669 * paragraph.h (inset_iterator): add -> operator
11671 * paragraph.[Ch] (autoDeleteInsets): remove member function
11673 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11674 cursor pos correctly and handle inset deletion by itself.
11675 (insertErrors): move iterator declaration out of for expression
11677 * lyxtextclass.C: add <algorithm>
11679 * Makefile.am: added the new files to sources, removed layout.C
11681 * layout.C: removed file
11683 * layout.h: remove LYX_DUMMY_LAYOUT
11685 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11689 * lyxtextclass.[Ch]:
11690 * lyxtextclasslist.[Ch]: new files
11692 * include order changes to a lot of files, also changes because of
11695 2001-12-27 Juergen Vigna <jug@sad.it>
11697 * buffer.C (asciiParagraph): more fixes.
11699 * tabular.C (ascii): make ascii export support export of only the
11700 data separated by a column-delimiter.
11701 (ascii): better support for ascii export.
11703 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11705 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * tabular_funcs.C: use a "using std::getline" instead of the
11708 previous fix from Angus (necessary for cxx + lyxstring)
11710 2001-12-24 Juergen Vigna <jug@sad.it>
11712 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11714 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11715 problems. First check a minipage also if we have some ert-contents
11716 (not only on par->size(), second set the right depth of the paragraph
11717 on the relink to the root-paragraph-list!
11719 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11720 which then did not anymore update the main paragraphs on undo/redo!
11722 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11724 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11725 code. Support all font-changing funcs (even those which are not in
11726 menu currently). Support for reporting font settings in
11727 mathed (disabled until Andre provides a function on mathed's side).
11729 * func_status.h (toggle): small helper function to set toggle
11732 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11734 * tabular_funcs.C: getline -> std::getline
11736 2001-12-21 Juergen Vigna <jug@sad.it>
11738 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11739 accessed and could be 0 (I couldn't generate this but it seems
11742 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11744 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11745 * tabular_funcs.h: here and include iosfwd
11747 2001-12-20 Juergen Vigna <jug@sad.it>
11749 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11750 inside inset but undo_par was.
11752 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11754 * Thesaurus.C: always include <config.h> in sources.
11758 * box.h: do not include <config.h> in header files
11760 * text.C (paintLastRow): remove unused variable
11762 * text.C (transformChar):
11764 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11766 * Painter.C (text):
11767 * font.C (width): rewrite to use uppercase() instead of
11770 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11772 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11774 * lyxfind.C: clean up of find failure position change
11776 2001-12-20 Juergen Vigna <jug@sad.it>
11778 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11780 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11781 (TeXRow): added to LaTeX a single tabular row.
11782 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11783 (Latex): simplified and finally good LT-h/f support.
11784 (various_functions): just small adaptions for LT-h/f support.
11786 * tabular_funcs.[hC]: added and moved here all not classfunctions
11789 2001-12-19 Juergen Vigna <jug@sad.it>
11791 * tabular.[Ch]: better support for longtabular options (not finished
11794 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * text.C (paintLastRow): use the label font instead of the font of
11797 the last character to compute the size of *_BOX. This makes more
11798 sense and avoids a crash with empty paragraphs.
11799 Use Painter::rectangle to draw EMPTY_BOX.
11801 2001-12-19 Juergen Vigna <jug@sad.it>
11803 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11804 the paragraphs if the replaced paragraph is not the first one!
11805 Tried to delete not used paragraphs but does not work yet so for
11806 now it's inside #ifdef's and by default off!
11808 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * MenuBackend.C: include "lyx_main.h" instead of declaring
11811 lastfiles (actually was declared as LastFiles* instead of a
11814 2001-12-17 Juergen Vigna <jug@sad.it>
11816 * tabular.C (AppendColumn): applied John's fix
11818 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11822 * BufferView_pimpl.h:
11823 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11826 * box.h: new start of class for above
11828 * lyxfunc.C: ignore space-only minibuffer dispatches.
11829 Show the command name when it doesn't exist
11831 * minibuffer.C: don't add empty lines to the history
11833 * minibuffer.C: add a space on dropdown completion
11835 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11837 * text.C: fix line above/below drawing in insets
11839 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11841 * lyxlength.C (LyXLength): Initialize private variables.
11843 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11845 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11846 when inserting error insets.
11848 2001-12-13 Juergen Vigna <jug@sad.it>
11850 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11851 actually sometimes the before-paragraph.
11852 (setUndo): don't clear the redostack if we're not actually undoing!
11854 2001-12-06 Juergen Vigna <jug@sad.it>
11856 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11857 and fixed redoing of main paragraph, so we can use it now ;)
11859 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11861 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11863 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11866 2001-12-13 André Pönitz <poenitz@gmx.net>
11869 * undo_func.C: minor cleanup
11871 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11873 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11874 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11875 font in urw-fonts package which is marked as -urw-fontspecific and
11876 does not work (incidentally, changing the encoding in the
11877 fonts.dir of this package to -adobe-fontspecific fixes the
11880 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11881 is a crash when undoing first paragraph (Juergen, please take a
11882 look). THis does not mean the undo fix is wrong, just that it
11885 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11886 the (Paragraph*) version when needed instead of duplicating the
11889 * text.C (workWidth): use Inset::parOwner to find out where the
11890 inset has been inserted. This is a huge performance gain for large
11891 documents with lots of insets. If Inset::parOwner is not set, fall
11892 back on the brute force method
11894 * paragraph_pimpl.C (insertInset):
11895 * paragraph.C (Paragraph):
11896 (cutIntoMinibuffer): set parOwner of insets when
11897 inserting/removing them
11899 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11901 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11907 * mathed/formulabase.C:
11908 * mathed/math_cursor.[Ch]:
11909 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11912 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * lyxlength.[Ch] (operator!=): new function
11916 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * text.C (workWidth): use Inset::parOwner to find out where the
11919 inset has been inserted. This is a huge performance gain for large
11920 documents with lots of insets. If Inset::parOwner is not set, fall
11921 back on the brute force method
11923 * paragraph_pimpl.C (insertInset):
11924 * paragraph.C (Paragraph):
11925 (cutIntoMinibuffer): set parOwner of insets when
11926 inserting/removing them
11928 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11930 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * tabular-old.C (getTokenValue):
11933 * tabular.C (getTokenValue):
11934 (write_attribute): new versions for LyXLength
11935 (everywhere): adjust the use of widths
11937 * tabular.h: change the type of widths from string to LyXLength
11939 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11941 * paragraph.C: fixed missing line number count when exporting
11942 Environments to LaTeX file
11944 * buffer.C: added informational message for checking line numbers.
11946 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11949 paragraph, do the 'double space' part, but not the 'empty
11952 * text.C (workWidth): small optimization
11953 (getLengthMarkerHeight): use minimal size for negative lengths.
11955 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11957 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11959 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11961 2001-12-11 André Pönitz <poenitz@gmx.net>
11964 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11966 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11968 * text2.C: keep selection on a setFont()
11970 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11972 * lyx_cb.C: another bv->text misuse, from insert label
11974 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11977 * kbsequence.C: re-instate nmodifier mask
11979 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11981 * lyx_main.h: make lyxGUI private.
11983 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11985 * lyxfind.C: place the cursor correctly on failed search
11987 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * text.C (getLengthMarkerHeight): for small heights, the arrows
11990 are not always on top/bottom of the text
11991 (drawLengthMarker): smaller arrows; take the left margin in
11992 account; draw also vfills.
11994 (paintLastRow): remove special code for vfill and standard spaces,
11995 since everything is handled in drawLengthMarker now.
11997 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11999 * buffer.C (insertErtContents): try to handle font and language
12000 interaction a bit better.g
12002 * ColorHandler.C (updateColor): change the hash to cover the whole
12003 LColor enum, ws cleanup
12004 (getGCLinepars): ditto
12005 (getGCLinepars): only lookup in the linecache once.
12007 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12009 * iterators.C (operator++): Make the iterator more robust
12011 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12013 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12015 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12018 * text.C: better added space drawing
12020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12023 * BufferView2.C: fix layout combo update on inset unlock
12025 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12027 * Makefile.am: don't compile unused files
12029 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12033 * LyXAction.C: remove old LFUN_LAYOUTNO
12035 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12037 * paragraph_pimpl.h:
12038 * paragraph_pimpl.C: isTextAt() doesn't need font param
12040 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12043 * lyxlex.C: little cleanup
12045 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12047 * BufferView_pimpl.C: fix insertAscii for insets
12049 2001-12-05 Juergen Vigna <jug@sad.it>
12051 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12052 set the right font on the "multi" paragraph paste!
12054 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12060 * lyxlength.C: remove out-commented code.
12062 * BufferView_pimpl:
12076 * vc-backend.C: change "while(" to "while ("
12078 * lyxlength.[Ch]: add zero function to check if length is zero or
12080 * lyxgluelength.C: use it
12082 2001-12-05 Allan Rae <rae@lyx.org>
12084 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12085 Works for 2.95.3, from what I understand of Garst's reports this should
12086 work for other g++ versions. We're screwed if the abs(int) definition
12087 changed between bugfix releases of gcc.
12089 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12091 * text.C: fix chapter label offset !
12093 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12096 * text.C: fix hfill at end of line, clean up
12098 2001-12-04 Juergen Vigna <jug@sad.it>
12100 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12101 that we force an update of the inset and it's owners if neccessary.
12103 2001-12-03 Juergen Vigna <jug@sad.it>
12105 * text.C (rowLast): simplified code
12107 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12109 * lyxfunc.C: fix show options on timeout
12111 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * screen.C (topCursorVisible): scroll half a page when the cursor
12114 reached top of bottom of screen
12116 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12118 * minibuffer.C: deactivate on loss of focus
12120 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * vspace.[Ch] (operator!=): add operator.
12124 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12126 * BufferView_pimpl.C: refuse to open an inset when
12127 there's a selection.
12129 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12131 * BufferView_pimpl.C: allow to click on RHS of full row insets
12133 2001-11-30 Juergen Vigna <jug@sad.it>
12135 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12136 insets for undo reasons.
12138 2001-11-28 André Pönitz <poenitz@gmx.net>
12140 * vspace.[Ch]: cosmetical changes
12142 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12152 * kbsequence.C: part re-write of old kb code
12155 * WorkArea.C: remove Lgb_bug_find_hack
12157 2001-11-30 José Matos <jamatos@fep.up.pt>
12159 * buffer.C (makeDocBookFile): add a comment to point a hack.
12160 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12161 Fixed a double write of labels.
12163 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12166 * LaTeX.h Fixed bug in LaTeX class where it would not
12167 re-run latex if no depfiles were changed, but the .dvi was removed.
12169 2001-11-28 André Pönitz <poenitz@gmx.net>
12171 * all the files from the change on 2001/11/26:
12172 use lyx::layout_type instead of LyXTextClass::size_type
12173 use lyx::textclass_type instead of LyXTextClassList::size_type
12175 2001-11-29 Juergen Vigna <jug@sad.it>
12177 * text.C: added support for paragraph::isFreeSpacing()
12179 * buffer.C: same as above
12181 * paragraph.h: inserted isFreeSpacing() function to enable
12182 FreeSpacing inside InsetERT.
12184 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12185 of the paragraph's in the cut/copy buffer to 0!
12187 * text2.C (removeRow): remove the assert as it can!
12189 * lyxtext.h: added helper function firstRow returning firstrow and
12190 made firstrow private again.
12192 * BufferView2.C (lockInset): don't relock if we're already locked!
12194 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12195 the only paragraph.
12196 (removeRow): added Assert::(firstrow)
12198 * debug.C: forgot to add INSETTEXT here.
12200 2001-11-28 Juergen Vigna <jug@sad.it>
12202 * sp_spell.C (initialize): changed error text to more general
12203 spellchecker command use (not only ispell!)
12205 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12207 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12209 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12211 * vspace.C: initialise lyxgluelength on failure
12213 2001-11-28 Allan Rae <rae@lyx.org>
12215 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12216 declaration & definition that looks like a function declaration.
12218 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * BufferView2.C (copy):
12221 (copyEnvironment): do not clear the selection when doing a copy.
12223 * text.C (paintFirstRow): compilation fix
12225 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12227 * tabular.C (Latex): correct line count when writing latex.
12229 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12231 * paragraph_pimpl.h:
12232 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12235 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12239 * LColor.C: change vfillline->added_space
12241 * text.C: add markers and text for added space
12243 * vspace.C: fix comment
12245 2001-11-28 André Pönitz <poenitz@gmx.net>
12247 * paragraph.C: whitespace changes
12248 * all the other files from the change on 2001/11/26:
12249 change *::pos_type into lyx::pos_type
12251 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12253 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12254 language of the document when inserting error insets.
12256 2001-11-26 André Pönitz <poenitz@gmx.net>
12258 * BufferView_pimpl.[Ch]:
12266 * paragraph_pimpl.[Ch]:
12269 * text2.C: reduce header dependencies, introduce type for positions
12271 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12273 * <various>: change to use Alert.h
12275 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12277 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12278 when encountering an unknown token.
12279 (readLyXformat2): Show an error message if there were unknown tokens.
12281 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12284 * BufferView_pimpl.C:
12288 * text2.C: use par->isInset()
12290 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12292 * paragraph_pimpl.h:
12293 * paragraph_pimpl.C: cleanup
12295 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12297 * text2.C (removeRow):
12298 * text.C (setHeightOfRow): remove useless (and costly) call to
12301 2001-11-20 Allan Rae <rae@lyx.org>
12303 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12304 Now need Inset*::checkInsertChar() to return true for appropriate
12305 cases so that the characters in the minibuffer will actually be
12308 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * text.C: change the order of the includes.
12311 (workWidth): initialize it at once.
12312 (workWidth): make maxw unsigned
12313 (setHeightOfRow): remove unused variable (inset)
12314 (selectSelectedWord): remove unused variable (inset)
12315 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12317 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12320 server is not running.
12322 (closeConnection): add debug info when server is disabled.
12324 * ColorHandler.C (getGCForeground): send debug message to GUI
12327 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12329 * kbmap.C (bind): modify because return conventions of
12330 kb_sequence::parse have changed.
12332 * kbsequence.C (parse): only ignore spaces and not any stupid
12333 control character. This avoids tests like s[i] <= ' ', which are
12334 guaranteed to fail with 8bit characters and signed chars.
12335 Change return code to string::npos when there have been no error
12336 (0 was a bad idea when error is at first character)
12338 2001-11-14 José Matos <jamatos@fep.up.pt>
12341 * buffer.C (simpleDocBookOnePar): removed unused argument.
12343 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12345 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12346 insets which are part of a word. Paragraph::isLetter takes care of
12347 that now. Use Paragraph::isInset to identify insets.
12348 (selectSelectedWord): do not test for hyphenation break.
12350 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12351 that protected spaces are considered as spaces.
12353 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12356 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12359 * lyxserver.C: fix it. and small cleanup.
12361 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12363 * BufferView_pimpl.C: use inline helpers
12366 * LaTeXFeatures.C: fix typos
12369 * Spacing.C: move spacing_string into class
12371 * ToolbarDefaults.C: move stuff into namespace anon
12373 * layout.h: update enum
12375 * lyxfunc.C: use better debug
12377 * minibuffer.h: fix typo
12381 * WorkArea.C: add and use Debug::WORKAREA
12385 * text2.C: code re-organisation, inline helpers
12387 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12389 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12390 std::vector.empty().
12392 2001-11-09 Allan Rae <rae@lyx.org>
12394 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12395 '\n's after tables. Tabular and ERT inset work now makes this no
12398 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12401 * minibuffer.C: fix crash, improve drop-down completion
12403 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12406 * lyxserver.C: invalidate fd's when doing endPipe()
12408 2001-11-08 José Matos <jamatos@fep.up.pt>
12410 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12411 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12414 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12416 2001-11-07 José Matos <jamatos@fep.up.pt>
12419 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12422 * buffer.C (sgmlOpenTag):
12423 * buffer.C (sgmlCloseTag): removed debug info.
12425 * buffer.h (sgmlOpenTag):
12426 * buffer.h (sgmlCloseTag): made public.
12428 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * buffer.C (saveParamsAsDefaults):
12431 * lyx_cb.C (MenuLayoutSave): remove
12433 * LyXAction.C (init):
12435 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12437 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * buffer.C (setPaperStuff): removed from here...
12441 * bufferparams.C (setPaperStuff): ... and moved there.
12443 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12447 * XFormsView.C: add support for drop-down completion
12449 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12451 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12454 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12459 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12461 * lyx_main.C: change ref to known bugs
12463 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12465 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12466 to work around older babel problems.
12468 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12470 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12472 2001-10-24 Juergen Vigna <jug@sad.it>
12474 * tabular-old.C (ReadOld): below variable changes reflected.
12476 * tabular.[Ch]: added ltType struct for longtable header/footer
12477 defines and changed all instances where they are used. Added
12478 future support for double top/bottom rows.
12480 2001-10-24 José Matos <jamatos@fep.up.pt>
12482 * buffer.h (docbookHandleCaption):
12483 * buffer.C (docbookHandleCaption): removed unused function.
12484 (makeDocBookFile): moved docbook supported version to v4.1.
12486 2001-10-24 José Matos <jamatos@fep.up.pt>
12489 * tabular.C (docbookRow): new function to export docbook code of a row.
12490 (DocBook): now honors the longtable flags.
12492 2001-10-23 José Matos <jamatos@fep.up.pt>
12495 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12496 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12498 * buffer.C (makeLinuxDocFile):
12499 (makeDocBookFile): reworked the preamble, more clean, and with
12500 support for lyx defined entities. Changed the document declaration
12501 to be more XML friendly.
12503 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12504 if we need to output XML that should be done with a filter.
12506 2001-10-22 Juergen Vigna <jug@sad.it>
12508 * sp_pspell.h (class PSpell): add alive function needed in the
12509 controller to see if the spellchecker could be started.
12511 2001-10-22 Juergen Vigna <jug@sad.it>
12513 * buffer.C (insertStringAsLines): modify the font for inserting
12514 chars in certain conditions by calling checkInsertChar(font).
12516 2001-10-19 Juergen Vigna <jug@sad.it>
12518 * text.C (workWidth): use getRow instead of wrong algorithm.
12519 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12521 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12526 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12528 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12530 * text.C (workWidth): do not search for the exact row when
12531 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12532 optimization for big documents.
12534 2001-10-18 Juergen Vigna <jug@sad.it>
12536 * text.C (workWidth): new function with added Inset * parameter.
12538 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12540 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12542 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12543 change return type of getColumnNearX.
12546 * text.C (changeRegionCase): use uppercase/lowercase instead of
12549 (rightMargin): simplify code by factoring out the uses of
12554 (appendParagraph): use Paragraph::size_type
12556 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12558 * vspace.C (asLatexString): add a missing break
12560 2001-10-15 Herbert Voss <voss@perce.de>
12562 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12564 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12566 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12569 2001-10-10 André Pönitz <poenitz@gmx.net>
12571 * lyxfunc.C: removed greek_kb_flag.
12573 2001-10-10 Herbert Voss <voss@perce.de>
12575 * lyx_main.C: delete global string help_lyxdir.
12577 2001-10-09 Herbert Voss <voss@perce.de>
12579 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12581 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12583 * lyx_main.C: added global string help_lyxdir.
12585 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12587 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12589 * lyxrc.C (set_font_norm_type): support iso8859-4
12591 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12593 * LaTeX.C (deplog): add another regex for MikTeX
12595 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12597 * lyxrc.C (set_font_norm_type): support iso8859-3
12599 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12601 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12603 * LaTeXFeatures.C: remove special case of french and index
12605 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12606 before \begin{document}). This solves several incompatibilities.
12608 2001-10-03 Garst Reese <reese@isn.net>
12610 * lyx_cb.C: change CheckTex error msg.
12612 2001-10-03 José Matos <jamatos@fep.up.pt>
12614 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12616 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12618 * .cvsignore: update
12620 * lyx_main.C (commandLineVersionInfo): use new style version info.
12622 * buffer.C (writeFile):
12624 (makeLinuxDocFile):
12625 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12627 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12629 * version.h: update to use stuff in version.C
12631 * version.C.in: new file. Contains version information determined
12632 at compile time. This is a merging of version.h and
12635 2001-10-03 Juergen Vigna <jug@sad.it>
12637 * BufferView_pimpl.C (update): don't change "dirty" status in
12640 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12642 * WorkArea.C (c-tor): re-position version string slightly.
12644 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12646 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12647 revert to previous code.
12649 WorkArea.[Ch]: (show, destroySplash): methods removed.
12651 WorkArea.C: rework code so that it's an amalgam of the codes before and
12652 after the splash screen was moved to WorkArea.
12654 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12657 * vspace.C (inPixels):
12660 * buffer.C (insertStringAsLines):
12661 (asciiParagraph): fix types to be large enough
12663 * lyxlex_pimpl.h: change member status from short to int
12665 * layout.h: fix type of endlabeltype
12668 * kbsequence.C (parse): change return type to string::size_type
12670 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12673 * Bullet.C (bulletSize):
12674 (bulletEntry): do not use short ints as parameters
12676 * BufferView2.C (insertLyXFile): change a char to an int.
12678 * WorkArea.C (WorkArea): remove unneeded floats in computation
12680 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12682 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12684 * paragraph.C (asString): Do not ignore newline/hfill chars when
12685 copying to the clipboard.
12687 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12689 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12690 after a multi-line inset.
12692 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12694 * paragraph.C (validate): Set NeedLyXFootnoteCode
12696 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12698 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12699 and decrease-error to decrease.
12701 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12704 it more readable (should be equivalent)
12706 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12708 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12710 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12713 of a cursor (row, etc.) after a character has been deleted
12714 (deleteEmptyParagraphMechanism): call the method above on _all_
12715 cursors held by the LyXText when a double space has been
12718 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12720 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12722 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12724 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12725 background. Use greyOut() and the new show() methods to toggle between
12726 the foreground and background. Add code to remove the splash after
12727 its initial showing.
12729 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12730 (create_forms): no longer call Dialogs::showSplash.
12732 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12734 * .cvsignore: add version_info.h
12736 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * version_info.h.in: new file
12740 * Makefile.am: add version_info.h.in
12742 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12743 version_info.h instead of VERSION_INFO
12745 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12747 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12748 The ERT inset now returns string().
12750 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12752 * lyxtext.h, text.C (selectNextWord): renamed as
12753 selectNextWordToSpellcheck.
12755 * text.C (selectNextWordToSpellcheck): Modified to not select
12756 words inside an ERT inset.
12758 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12760 * lyx_cb.C (MenuLayoutSave): change a bit the question
12762 * sp_base.h: include <sys/types.h>
12764 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12766 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12768 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12770 * several files: fix typos in user-visible strings
12772 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12774 * text2.C (pasteSelection): do not set the selection, since it
12775 will be cleared later. Actually, the intent was to fix the way the
12776 selection was set, but I figured rmoving the code was just as good.
12778 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12780 * FontLoader.C (available): Check if font is available without
12783 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12785 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12787 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12789 * lyxrc.[Ch]: added display_graphics variable and associated code.
12791 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * bufferparams.C (hasClassDefaults): new method. Returns true if
12794 the buffer parameters correspond to known class defaults
12796 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12798 * XFormsView.C (show): set minimum size to the main window.
12800 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12802 * text2.C (copySelection):
12804 * lyxfind.C (LyXReplace):
12805 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12806 LyXText::selectionAsString.
12808 * paragraph.C (asString): add "label" argument to the second form
12810 * text2.C (selectionAsString): add "label" argument and pass it to
12811 Paragraph::asString.
12813 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12815 * lyx_main.C (commandLineHelp): remove version information
12817 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12819 * lyx_main.C: add -version commandline option
12821 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12823 * paragraph.h: make the optional constructor arg required instead.
12824 some modifications to other files because of this.
12826 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12828 * lyxserver.C (C_LyXComm_callback): make it static
12830 * lyx_main.C (error_handler): make it static
12832 * lyx_gui.C (LyX_XErrHandler): make it static
12834 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12836 * WorkArea.C: make the extern "C" methods static.
12838 * Makefile.am (lyx_LDADD): simplify
12840 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12842 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12843 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12845 * LyXAction.C (init):
12846 * lyxfunc.C (dispatch): associated code removal.
12848 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * lyxfont.h (isSymbolFont): shut off warning
12852 * text.C (setHeightOfRow):
12853 (getVisibleRow): fix crash with empty paragraphs which have a
12856 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12858 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12861 2001-09-04 José Matos <jamatos@fep.up.pt>
12864 * tabular.C (docbook): rename docBook method to docbook.
12866 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12868 * Makefile.am: add dependencies to main.o.
12870 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12872 * FontLoader.C (available): Return false if !lyxrc.use_gui
12874 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12876 * FontInfo.C (query):
12877 * converter.C (view):
12878 * importer.C (Import):
12879 * exporter.C (Export): Can not -> cannot.
12881 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12883 * BufferView_pimpl.C: allow to create index inset even if
12886 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12888 * buffer.C (getLists): replace boost::tie code with an explicit pair
12889 as boost::tie can break some compilers.
12891 * iterators.h: Added a std:: declaration to the return type of
12894 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12896 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12899 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12901 * iterators.[Ch]: New files. Provide paragraph iterators.
12903 * buffer.C (changeLanguage): Use paragraph iterators.
12904 (isMultiLingual): ditto
12906 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12908 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12910 * FontLoader.C: Support for cmr font.
12912 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12914 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12915 (available): New method.
12917 * FontInfo.C (getFontname): Use scalable fonts even when
12918 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12921 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12923 * converter.C (Formats::view): reverted! Incorrect fix.
12925 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12927 * converter.C (Formats::view): only output the -paper option
12928 if the dvi viewer is xdvi, thereby fixing bug #233429.
12930 2001-08-23 Herbert Voss <voss@perce>
12932 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12934 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12936 * Spacing.h (Spacing): Set space to Default on in the default
12939 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12941 * vc-backend.h (RCS::versionString): add RCS to version
12942 (CVS::versionString): add CVS to version
12944 * vc-backend.C (scanMaster): do not add CVS to version.
12945 (scanMaster): do not add RCS to version
12947 * lyxvc.C (versionString): new method
12949 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12951 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * Spacing.C (set): initialize fval
12955 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12957 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12960 2001-08-16 Juergen Vigna <jug@sad.it>
12962 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12964 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12966 * BufferView_pimpl.C:
12969 * text2.C: setParagraph takes linespacing now
12971 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12973 * LyxAction.C: add internal LFUN_CITATION_INSERT
12975 * LyXView.C: actually apply fix
12977 * bufferlist.C: fix open non-existent file
12979 * lyxfind.C: fix indentation
12981 * lyxfunc.C: remove unneeded assert, fix typo
12983 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12985 * MenuBackend.C: use "Floatname List"
12987 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12989 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12990 when converting LaTeX layout to insetERT.
12991 Generate a non-collapsed float when reading old float
12993 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12995 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12998 2001-08-13 Juergen Vigna <jug@sad.it>
13000 * text.C (fill): return 0 instead of 20 as this seems to be the more
13003 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13005 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13008 2001-08-13 Juergen Vigna <jug@sad.it>
13010 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13012 (SearchBackward): comment out the unlocking of the inset_owner this
13013 should not be needed!
13015 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13017 * Many files: Remove inherit_language, and add latex_language
13019 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13020 collapsible insets.
13022 2001-08-10 Juergen Vigna <jug@sad.it>
13024 * text.C (prepareToPrint): fixed hfill-width in draw!
13026 * BufferView2.C (selectLastWord): save the selection cursor as this
13027 now is cleared in the function LyXText::clearSelection!
13029 2001-08-08 Juergen Vigna <jug@sad.it>
13031 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13032 BACKSPACE type functions.
13034 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13035 is only cutted from the document but not put in the cut-buffer, where
13036 still the old stuff should be.
13038 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13040 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13042 * tabular.C (SetWidthOfCell): fixed special case where the width
13044 (LeftLine): handle '|' in align_special.
13046 (LeftAlreadyDrawed): ditto
13047 (SetWidthOfCell): ditto
13049 2001-08-07 Juergen Vigna <jug@sad.it>
13051 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13053 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13056 * lyxlex.[hC]: ditto
13058 2001-08-06 Juergen Vigna <jug@sad.it>
13060 * text.C (getVisibleRow): fix up row clearing a bit.
13062 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13064 * minibuffer.C: make sure the X server sees the changes in the input.
13066 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * paragraph.C (getFont): split into...
13069 (getLabelFont): this
13070 (getLayoutFont): and this
13071 * paragraph_pimpl.C (realizeFont): calling this
13073 * text2.C (getFont): split into...
13074 (getLayoutFont): this
13075 (getLabelFont): and this
13076 (realizeFont): all three calling this
13078 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13081 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13083 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13085 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13087 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13088 layouts from the Quote inset insertion.
13090 2001-08-03 Juergen Vigna <jug@sad.it>
13092 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13094 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13095 only if status not is already CHANGED_IN_DRAW (second level).
13097 * text.C (draw): don't set the need_break_row when inside an
13100 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * buffer.C (parseSingleLyXformat2Token): handle more latex
13105 * bufferview_funcs.[hC]: change function names to
13106 begin with small char, adjust other files.
13108 2001-08-02 André Pönitz <poenitz@gmx.net>
13111 BufferView_pimpl.C: remove broken special code for math-greek
13113 2001-08-02 Juergen Vigna <jug@sad.it>
13115 * BufferView_pimpl.C (update): redone this function so that we
13116 update the text again if there was a CHANGE_IN_DRAW.
13118 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13119 (drawFromTo): added a new internal bool which is used by draw() and
13121 (general): some cursor drawing problems fixed.
13123 2001-08-01 Juergen Vigna <jug@sad.it>
13125 * lyxfind.C (LyXFind): fixed
13126 (SearchForward): ditto
13127 (SearchBackward): ditto
13129 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13130 spurius drawing of the cursor in the main area.
13132 * text2.C (status): small fix which could lead to a segfault!
13133 (clearSelection): remove unneeded BufferView param.
13135 2001-08-01 André Pönitz <poenitz@gmx.net>
13137 * lyxfunc.C: small change due to changed mathed interface
13139 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13143 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13145 * lyxfunc.c: fail gracefully if file doesn't exist
13150 * BufferView_pimpl.C: IsDirWriteable() proto changed
13152 * LyXView.C: fix updateWindowTitle() to store the last title
13154 2001-07-31 Juergen Vigna <jug@sad.it>
13156 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13157 the font (wrong since using of Paragraph::highestFontInRange).
13159 * paragraph.C (highestFontInRange): added a default_size parameter.
13161 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13162 (setHeightOfRow): reformat
13164 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * converter.[hC] + affected files: move to (inital-char)lowercase
13169 * ParagraphParameters.C (ParagraphParameters): remove commented code
13171 * PainterBase.[Ch]: remove commented code
13173 * LaTeXFeatures.h: add "bool floats" for float.sty
13175 * LaTeXFeatures.C (LaTeXFeatures): init floats
13176 (require): handle float
13177 (getPackages): do it with floats
13179 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13181 * BufferView_pimpl.C (Dispatch): improve handling of
13182 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13184 * commandtags.h: #include lyxfont.h here temporarily to avoid
13187 * bufferlist.h: include LString.h here.
13189 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13191 * text2.C (getStringToIndex): new method.
13193 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13195 * *: Reduced header file dependencies all over.
13197 2001-07-30 Baruch Even <baruch@lyx.org>
13199 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13201 2001-07-29 Baruch Even <baruch@lyx.org>
13203 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13205 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * ParameterStruct.h (endif): add a default constructor to make
13208 sure that all variables is initialized.
13210 * ParagraphParameters.C (ParagraphParameters): adjust
13212 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13215 index; also, check that there is something to index, and that it
13216 does not span over several paragraphs.
13217 (doubleClick): use WHOLE_WORD_STRICT for double click.
13219 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13221 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13224 2001-07-26 Baruch Even <baruch@lyx.org>
13226 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13227 an InsetFig figure, backwards compatible reading of old figure code.
13229 2001-07-27 Juergen Vigna <jug@sad.it>
13231 * text2.C: font.realize function adaption.
13233 * text.C (draw): add a warnings lyxerr text if needed.
13235 * layout.C: font.realize function adaption.
13237 * language.C: add inherit_language and implement it's handlings
13239 * bufferview_funcs.C (StyleReset): remove language parameter from
13240 font creation (should be language_inherit now).
13242 * bufferparams.C (writeFile): handle ignore_language.
13244 * paragraph.C (getFontSettings): the language has to be resolved
13245 otherwise we have problems in LyXFont!
13247 * lyxfont.C (lyxWriteChanges): added document_language parameter
13248 (update): removed unneeded language parameter
13250 * paragraph.C (validate): fixed wrong output of color-package when
13251 using interface colors for certain fonts in certain environments,
13252 which should not seen as that on the final output.
13254 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13256 * BufferView_pimpl.C:
13261 * LyXAction.C: add thesaurus support
13264 * lyxfind.C: add "once" parameter, for thesaurus, to not
13265 move to the next match
13267 2001-07-26 Juergen Vigna <jug@sad.it>
13269 * lyxfont.C (realize): honor ignore_language too!
13272 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13274 * text.C (draw): one place more for ignore_language to not draw
13277 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13279 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13281 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13284 the minipage conversion problem.
13286 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13288 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13291 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * BufferView.h: don't forward declare WorkArea
13295 * BufferView.C: don't include WorkArea.h
13297 2001-07-25 André Pönitz <poenitz@gmx.net>
13301 * lyxfunc.C: new LFUN 'math-space'
13303 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13305 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * text2.C (toggleInset): call open/close
13309 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13311 * lyxfunc.C (dispatch): add debug for the disabled case
13313 * font.C (buttonText): make similar to rectText
13315 * buffer.C (readInset): comment out parsing of insetlist and
13318 * PainterBase.C (rectText): small correction
13320 * BufferView_pimpl.C: comment out insettheorem and insetlist
13321 * LyXAction.C: ditto
13322 * commandtags.h: ditto
13324 2001-07-24 Juergen Vigna <jug@sad.it>
13326 * text.C (draw): honor the ignore_language.
13328 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13330 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13332 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13335 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13337 * lyxtext.h: remove unused (and unimplemented) methods
13339 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13341 * text.C (getVisibleRow): honor background color
13344 * Painter.h: remove default color argument for fillRectangle
13346 * text.C (backgroundColor): new method
13348 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * text.C (getVisibleRow): adjust
13352 * font.[Ch] (rectText): new method, metrics
13353 (buttonText): new method, metrics
13355 * PainterBase.[hC]: make rectText and buttonText always draw and take
13358 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13360 * ToolbarDefaults.C (read):
13361 * MenuBackend.C (read): allow escaping in all strings
13363 * BufferView_pimpl.C (insertAndEditInset): new method.
13364 (Dispatch): use insertAndEditInset whenever appropriate.
13366 * BufferView_pimpl.C (insertNote): removed
13368 * BufferView_pimpl.C (smartQuote): new method, moved from
13369 BufferView; if an insetquote cannot be inserted, insert a '"'
13372 * BufferView2.C: remove insertCorrectQuote();
13374 * lyxfunc.C (getStatus): Add support for all remaingin
13375 inset-insert lfuns.
13377 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13379 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13380 command (necessary to pass " as parameter of self-insert.
13382 * text.C (selectWordWhenUnderCursor):
13383 (selectWord): add word_location parameter
13384 (selectWordWhenUnderCursor): same + remove special code for word
13386 (selectNextWord): use kind() to guess type of insetspecialchar,
13389 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13390 (insertErtContents): create ert insets as collapsed.
13391 (readInset): better compatibility code for Info inset.
13393 2001-07-20 Juergen Vigna <jug@sad.it>
13395 * lyxfunc.C (dispatch): use always LyXFind now!
13397 * text2.C (init): add a reinit flag so that the LyXText can be
13398 reinited instead of deleted and reallocated (used in InsetText).
13400 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13406 2001-07-18 Juergen Vigna <jug@sad.it>
13408 * text.C (selectNextWord): handle insets inside inset by calling
13409 always the bv->text functions so that we can go up the_locking_inset!
13411 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13412 in strange locations when inside an inset!
13414 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13415 handling to include insets.
13417 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13419 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13421 * LyXAction.C (init):
13423 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13424 LIGATURE_BREAK, since the name is so stupid.
13426 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13428 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13431 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13433 * sp_form.[Ch]: remove.
13435 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13437 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13440 * src/buffer.C (readInset): ditto.
13442 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13444 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13445 menuSeparator(), endOfSentenceDot(), ldots() and
13446 hyphenationPoint(), which are therefore removed.
13447 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13449 * LyXAction.C (init):
13450 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13452 * paragraph.C (getWord): removed.
13454 * BufferView_pimpl.C (Dispatch): use last word or selection for
13455 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13457 * lyx_main.C (queryUserLyXDir): do not ask before creating
13458 user_dir, except if it has been named explicitely.
13460 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13462 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13463 a document of zero size.
13465 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13467 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13468 approriately in the c-tor and in require().
13469 (getPackages): output the appropriate LaTeX for natbib support.
13471 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13472 variables "use_natbib" and "use_numerical_citations" when reading the
13474 (readInset): read the various natbib cite commands.
13475 (validate): white-space change.
13477 * bufferparams.[Ch]: new variables "bool use_natbib" and
13478 "bool use_numerical_citations".
13479 (writeFile): output them in the LyX file.
13481 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13483 * lyxfunc.C (getStatus): add support for all the inset insertion
13486 * text2.C (insertInset):
13487 * paragraph.C (insetAllowed):
13488 * BufferView_pimpl.C (insertInset): update to take in account the
13489 renaming of insertInsetAllowed
13491 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13493 * text2.C (getInset): new method. returns inset at cursor position.
13495 * BufferView_pimpl.C (Dispatch): changes because of this.
13497 * LyXAction.C (init): rename open-stuff to inset-toggle.
13499 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13501 * text2.C (toggleInset): renamed from openStuff; use
13504 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13506 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13508 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13510 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13512 * buffer.C (readLyXformat2): Add filename to the error dialog
13514 2001-07-18 Juergen Vigna <jug@sad.it>
13516 * tabular.C (GetCellNumber): put an assert here instead of the check!
13518 2001-07-17 Juergen Vigna <jug@sad.it>
13520 * BufferView_pimpl.C (toggleSelection): adapted too.
13522 * text.C (selectNextWord): adapted for use with insets.
13523 (selectSelectedWord): ditto
13525 2001-07-17 Juergen Vigna <jug@sad.it>
13527 * sp_spell.C (PSpell): fix initialitation order.
13529 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * paragraph.C: spacing
13533 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13535 * sp_spell.C: repair language selection for pspell
13537 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * lyxfunc.h: change more methods to begin with lower char.
13541 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13543 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13544 for unknown layouts.
13546 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13548 * buffer.C (readLyXformat2): Generate an error dialog if there are
13551 2001-07-16 Juergen Vigna <jug@sad.it>
13553 * sp_spell.C: always compile ISpell part.
13555 * lyxrc.C: added use_pspell entry and it's handling.
13557 2001-07-13 Juergen Vigna <jug@sad.it>
13559 * sp_spell.C: removed double includes.
13561 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13563 Consistent use of Lsstream.h:
13564 * Lsstream.h: added using std::stringstream for consistencies sake.
13566 * buffer.C: removed using std::stringstream
13568 * lyxfont.C (stateText):
13569 * paragraph.C (asString):
13570 * text.C (selectNextWord, selectSelectedWord):
13571 * text2.C (setCounter):
13572 * vspace.C (asString, asLatexString):
13573 std::ostringstream -> ostringstream.
13575 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13577 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13578 * commandtags.h: add LFUN_HELP_ABOUTLYX
13579 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13581 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13583 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13585 * lyx_gui_misc.C: remove spellchecker
13586 * lyxfunc.C: showSpellchecker
13588 * sp_ispell.h: added
13589 * sp_pspell.h: added
13590 * sp_spell.C: added
13591 * sp_form.[Ch]: removed
13592 * spellchecker.[Ch]: removed
13594 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13596 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13598 (simpleTeXSpecialChars): Simply print the input character without
13599 any special translation if pass_thru is set.
13601 * layout.h: Added bool pass_thru to layout class for being able to
13602 implement pass through of a paragraph for Literate Programming.
13604 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13605 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13606 * layout.C (Read): add "passthru" to list of layout tags and add
13607 code to set the pass_thru boolean when it is read.
13609 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * trans_decl.h: remove allowed from KmodInfo
13613 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13614 remove allowed code
13617 * paragraph_pimpl.C (erase): use boost::prior
13619 * Painter.C (text): use data() instead of c_str() when length is
13621 * WorkArea.C (putClipboard): ditto
13622 * font.h (width): ditto
13624 * BufferView2.C: use it-> instead of (*it). for iterators
13626 * paragraph_pimpl.C: ditto
13627 * paragraph.C: ditto
13628 * minibuffer.C: ditto
13629 * language.C: ditto
13631 * encoding.C: ditto
13632 * counters.C: ditto
13633 * converter.C: ditto
13635 * Variables.C: ditto
13636 * TextCache.C: ditto
13637 * MenuBackend.C: ditto
13638 * LyXAction.C: ditto
13640 * FloatList.C: ditto
13641 * DepTable.C: ditto
13642 * ColorHandler.C (LyXColorHandler): ditto
13644 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13646 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13648 * text2.C (openStuff): reintroduce this method (which had been
13649 nuked in NEW_INSETS frenzy).
13651 * lyxfunc.C (Dispatch): when an action has not been handled, use
13652 its name in the error message, not its number.
13654 * paragraph.C (inInset): change method name to begin with lowercase.
13657 * text2.C: updates because of this.
13659 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13661 * ToolbarDefaults.C (add): add spaces in error message
13663 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13665 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13666 (readLyXformat2): rename return_par to first_par, use lyxlex's
13667 pushToken and remove the manual push handling.
13668 (parseSingleLyXformat2Token): add another ert comp. variable:
13669 in_tabular, rename return_par to first_par. handle newlines better
13671 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13673 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13675 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * text2.C (getParFromID): removed
13679 * buffer.C (getParFromID): new method moved form lyxtext.
13680 * BufferView2.C (insertErrors): adjust
13681 (setCursorFromRow): adjust
13682 * BufferView_pimpl.C (restorePosition): adjust
13683 * lyxfunc.C (Dispatch): adjust
13684 * undo_funcs.C (textUndo): adjust
13686 (textHandleUndo): adjust
13687 (textHandleUndo): adjust
13689 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * buffer.C: up' the LYX_FORMAT
13693 * lyxfont.h: turn NO_LATEX on as default
13695 * buffer.C (insertErtContents): new methods of tex style compability.
13696 (parseSingleLyXformat2Token): use it several places.
13697 * tabular.C (OldFormatRead): and here
13699 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13701 * text2.C: remove some commented code.
13704 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13705 * trans.C: changes because of the above.
13707 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13709 * text2.C (setCounter): Fix counters bug with bibliography layout.
13711 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13714 own member functions
13715 (simpleTeXSpecialChars): ditto
13717 2001-07-06 Juergen Vigna <jug@sad.it>
13719 * a lot of files: changed the access to LyXText::status and the
13720 call of undo-functions.
13722 * undo.[Ch]: added a inset_id to the undo informations.
13724 * undo_funcs.[Ch]: added and moved here all undo functions.
13726 * lyxtext.h: give the status enum a weight, made status_ a private
13727 variable and made accessor functions for it, removed the whole bunch
13728 of undo-functions as they are now in their own file, make some
13729 functions publically available. Added function ownerParagraph with
13732 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13733 made InInset() a const function, added getParFromID() function.
13735 * buffer.[Ch]: added const version for inset_iterator functions,
13736 added getInsetFromID() function.
13738 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13739 changed undo functions for new version.
13741 2001-07-05 Juergen Vigna <jug@sad.it>
13743 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13744 unknow mechanism does not call the proper constructor but only this
13745 one also if I request the other!?
13747 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13749 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13751 * text2.C (LyXText): use initialization lists.
13753 * lyxtext.h (Selection): initialize set_ and mark_
13754 (init): remove method
13756 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13758 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13760 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * screen.[Ch]: change method names to begin with lowercase
13764 * BufferView_pimpl.C (updateScrollbar): simplify further and
13765 hopefully make it a bit faster.
13767 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13770 calling directly xforms functions.
13772 * Painter.C (Painter):
13773 * lyx_cb.C (MenuWrite):
13774 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13777 * lyx_gui.C: remove bogus guiruntime extern declaration.
13779 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13783 (redoDrawingOfParagraph): ditto
13784 (redoParagraphs): ditto
13785 (cutSelection): don't create a object for CutAndPaste use the
13786 static method directly
13787 (pasteSelection): ditto
13789 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13792 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13794 * modifications to some other files because of this.
13796 * Makefile.am (lyx_SOURCES): add XFormsView
13798 * XFormsView.[Ch]: new files
13800 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13801 the main window. Move the gui dependent stuff to XFormsView
13803 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * tabular.C (GetCellInset): update cur_cell also in the row/col
13806 version of this function.
13808 * lyxfunc.C: no need to include figure_form.h here.
13814 * lyxvc.C: no need to include forms.h here.
13816 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13820 * lyxfunc.C (Dispatch):
13822 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13823 constructor argument.
13825 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * paragraph.C (Paragraph): dont't clear, and just set layout.
13828 (makeSameLayout): use params's copy contructor.
13830 * ParagraphParameters.[Ch] (makeSame): delete method
13832 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13834 * Variables.[Ch]: fix indentation, rename set to isSet
13836 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * lyxfunc.C (Dispatch): fix typo
13840 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13842 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13845 * bufferlist.C: include assert.h for emergencyWrite().
13847 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13849 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13850 give up at last (bug #425202) !
13852 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13858 * spellchecker.C: strip spellchecker options and bring up
13859 preferences tab instead
13861 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13864 the istringstream constructor
13866 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * paragraph.C (getLayout): fix return value
13870 * paragraph.h: do not declare getLayout as inline.
13872 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13874 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * lyxcursor.h (operator<): new func
13877 (operator>): new func
13878 (operator>=): new func
13879 (operator<=): new func
13881 * text.C (changeCase): use selection.start and selection.end
13882 (changeRegionCase): require from to be <= to. Require par to be a
13885 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13887 2001-06-27 Juergen Vigna <jug@sad.it>
13889 * text.C (cursorLeftOneWord): changed to return the cursor and added
13890 overlay with BufferView * parameter which calls this one.
13892 (selectWord): use new getWord function.
13893 (changeCase): renamed from changeWordCase as and extended to work
13894 also on selections.
13896 * lyxtext.h: added enum word_location
13898 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13899 changeCase as this operates now also on selections.
13901 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13903 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13905 * many files: send debug output to Debug::INFO instead of
13908 * converter.C (View):
13910 (Move): send debug output to Debug::FILES instead of console.
13912 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13914 * lyxfunc.C (getStatus): use func_status
13916 * func_status.h: new header, describing the results of
13917 LyXFunc::getStatus;
13919 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13922 2001-06-25 The LyX Project <jug@sad.it>
13924 * buffer.C (sgmlOpenTag):
13926 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13928 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * text2.C: remove some dead code
13932 * tabular.C (GetCellInset): store the last cell checked (gotten)
13934 * tabular.h: add the helper for the speedup
13936 * lyxtext.h: remove some dead code
13938 2001-06-26 The LyX Project <Asger>
13940 * paragraph.C: Change export to LaTeX of alignment to
13941 \begin{center} and family for better roundtrip work with reLyX.
13943 * Tune the math drawing a bit.
13945 2001-06-25 The LyX Project <Asger>
13947 * LColor.C (LColor): New color for math background. New color
13950 2001-06-25 The LyX Project <jug@sad.it>
13952 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13954 * lyxfunc.C (Open):
13955 * bufferlist.C (newFile): do not restrict to files ending with
13958 * BufferView_pimpl.C (MenuInsertLyXFile):
13960 2001-06-24 The LyX Project <jug@sad.it>
13962 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13965 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13967 * lyxtext.h: rename most methods to begin with a small char.
13968 Lots of changes because of this.
13970 * paragraph.C (Paragraph): do not call fitToSize
13971 (erase): call Pimpl::erase
13972 (insertChar): call Pimpl::insertChar
13973 (insertInset): call Pipl::insertInset
13974 (breakParagraph): do not call fitToSize
13975 (breakParagraphConservative): do not call fitToSize
13976 (fitToSize): remove method
13978 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13980 2001-06-24 The LyX Project <Asger>
13982 * Fix Qt compilation^2
13984 2001-06-24 The LyX Project <jug@sad.it>
13986 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13987 depthHook(getDepth()-1).
13990 * ParagraphParameters.h:
13991 * ParameterStruct.h: change type of depth to unsigned int ==
13992 depth_type. Many adaptations to other files before of that.
13994 2001-06-24 The LyX Project <Asger>
13996 * Fix Qt compilation.
13998 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14000 * paragraph.h: renamed several methods to begin with small letter.
14001 several changes to many parts of the code because of this.
14003 2001-06-23 The LyX Project <jug@sad.it>
14005 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14006 rewritten to discard all double spaces when KeepEmpty is off
14007 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14008 to only handle newlines but not fiddle with spaces and friends.
14010 * lyxfunc.C (MenuNew): when doing 'new from template', use
14011 template_path as default directory
14013 2001-06-23 The LyX Project <Asger>
14015 * Clean-up of header file includes all over
14016 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14018 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14020 * paragraph.h: renamed from lyxparagraph.h
14022 2001-06-23 Asger <lyx@violet.home.sad.it>
14024 * Buffer.h: Removed Buffer::resize
14025 * BufferList.h: Removed BufferList::resize
14026 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14027 the document lazily when we change the width, or the font settings.
14029 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14031 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14033 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14035 * buffer.h: remove out of date comment
14037 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14040 * screen.C: fix "theoretical" GC leak
14042 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14044 * LaTeX.C (scanAuxFile):
14045 (deplog): remove trailing \r when reading stream (useful under
14048 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14050 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14051 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14052 and BufferView::theLockingInset(Inset*), so should use them and not
14053 access bv_->text->the_locking_inset directly.
14055 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14057 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14060 * tex-defs.h: remove old unused file
14062 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14064 * BufferView_pimpl.C: fix typo, remove minibuffer message
14065 when buffer has loaded
14067 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14069 * lyxfunc.C (Dispatch): use stringstream
14070 (MenuNew): use stringstream
14071 (Open): use stringstream
14073 * importer.C (Import): use stringstream
14075 * bufferview_funcs.C (CurrentState): use stringstream
14077 * LaTeX.C (run): use stringstream
14079 * BufferView_pimpl.C (savePosition): use stringstream
14080 (restorePosition): use stringstream
14081 (MenuInsertLyXFile): use stringstream
14083 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14096 * vspace.C: removed // -*- C++ -*- as first line.
14099 * version.h: added // -*- C++ -*- as first line.
14101 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14103 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14105 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14108 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14110 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14113 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * gettext.C: include LString.h even when --disable-nls is on.
14117 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14119 * converter.h (Get): changed argument type from int to
14120 FormatList::size_type to avoid unnecessary conversion.
14122 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14125 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14127 * gettext.h: include LString.h even when --disable-nls is on.
14129 2001-06-07 Juergen Vigna <jug@sad.it>
14131 * text.C (BreakAgain): subst spaces with tabs.
14133 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14134 (resizeInsetsLyXText): set force on resizeLyXText.
14136 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * gettext.h (gettext_init):
14139 (locale_init): use a real definition instead of a macro
14141 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14143 * Bufferview_pimpl.C:
14145 * LColor.C: further lcolor tidies
14147 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14149 * BufferView_pimpl.C (updateScrollbar): simplify.
14151 * BufferView2.C: don't include insets/insetinfo.h, change
14152 prototype for insertInset and call the Pimpl version. let
14153 updateInset call Pimpl version.
14155 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14156 gotoInset to BufferView::Pimpl
14158 2001-06-01 Juergen Vigna <jug@sad.it>
14160 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14161 inside a LockingInset (is the update needed at all?).
14163 2001-05-31 Juergen Vigna <jug@sad.it>
14165 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14166 here not the old one otherwise how should we compare it afterwards
14169 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * FontInfo.C: bring C functions into global namespace when
14177 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * LString.h: make sure config.h has been loaded before LString.h.
14181 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14182 (one for each char read by EatLine!).
14184 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14187 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14190 to the same as the par we break from
14192 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14196 * MenuBackend.C (expand): also create menu entries for wide
14197 versions of the floats.
14199 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14201 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14203 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14204 frontends/Makefile.am
14210 * tabular.C (getTokenValue): add std::
14212 * tabular-old.C (getTokenValue): add std::
14213 (getTokenValue): ditto
14214 (getTokenValue): ditto
14216 * screen.C (ToggleSelection): adjust
14218 * lyxtext.h: put selection cursors inside a Selection struct.
14220 * lyxfunc.C (moveCursorUpdate): adjust
14222 * lyxfont.C (latexWriteStartChanges): add std::
14224 * lyxfind.C: adjust
14226 * font.h: delete with(char const *, LyXFont const &)
14228 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14230 * FontInfo.C (getFontname): add std::
14232 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14233 (workAreaButtonPress): adjust
14234 (tripleClick): adjust
14236 (moveCursorUpdate): adjust
14239 * BufferView2.C (gotoInset): adjust
14241 2001-05-30 Juergen Vigna <jug@sad.it>
14243 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14244 to check pspell I add this as default as I now have new pspell
14245 libraries and they seem to use this.
14247 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14249 * text2.C (CutSelection): make the cursor valid before the call to
14252 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14255 relied on 0 terminated strings and other horrors. Bug found due to
14256 the new assert in lyxstring!
14258 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14261 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14263 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14266 * lyxfunc.C (processKeySym): change method of getting to the
14269 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14270 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14271 * BufferView_pimpl.[Ch]: here as private methods.
14273 2001-05-28 Juergen Vigna <jug@sad.it>
14275 * text.C (SetHeightOfRow): added the update() call again as it is
14276 needed to initialize inset dimensions!
14278 2001-05-16 Juergen Vigna <jug@sad.it>
14280 * text2.C (SetCharFont): Add new function with BufferView * and
14281 bool toggleall parameters for setting insets internal fonts.
14282 (SetFont): Freeze the undo as we may change fonts in Insets and
14283 all this change should be inside only one Undo!
14285 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14286 setting font's in insets as for them we have the SetFont function!
14288 2001-05-15 Juergen Vigna <jug@sad.it>
14290 * text2.C (ClearSelection): to be sure we REALLY don't have any
14293 * tabular.C (TeXCellPreamble): fixed the left border problem for
14296 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14298 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14301 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14303 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14304 LFUN_BREAKPARAGRAPH.
14306 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14307 help test to "internal only", similar for LFUN_INSERT_URL
14309 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14310 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14311 auto_region_delete and deadkeys.
14313 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14316 * LColor.C: remove some dead entries, tidy a little
14318 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14322 (Dispatch): implement LFUN_ESCAPE
14324 * commandtags.h: add LFUN_ESCAPE
14326 * LyXAction.C (init): add entry for LFUN_ESCAPE
14328 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14329 Remove commented code.
14330 (insertNote): moved here
14331 (open_new_inset): moved here
14333 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14336 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14338 * kbmap.C (findbinding): clean it up and make it work correctly.
14340 * lyx_main.C (init): do not pass argc and argv as parameters
14342 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14344 * buffer.C: fix path for OS/2 & Win32
14348 * lyx_main.C: Added os:: class.
14350 * os2_defines.h: update
14352 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14354 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14355 better by trying again with reduced state.
14357 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14359 * lyxrc.C (read): print error about invalid key sequence only when
14360 debugging (because not all latinX keysyms are known to some X
14363 * kbsequence.C (getiso): add a few std:: qualifiers
14364 (getiso): comment out extra return statement.
14366 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14368 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14370 (Dispatch): enhance the accent inset a bit. (not perfect)
14372 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14376 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * bufferlist.C (emergencyWrite): fix assert() call
14380 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14382 * text.C (InsertChar): Added trivial patch to only send the "you
14383 can not do multiple spaces this way" message once during a
14386 2001-05-08 Baruch Even <baruch@lyx.org>
14388 * Makefile.am: Changed order of libraries to get LyX to link properly
14389 with the gnome frontend.
14391 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14393 * LaTeXFeatures.h: add a std:: qualifier
14395 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14397 * paragraph.C (String): use stringstream
14399 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14401 * paragraph.C (writeFile): remove footflag arg
14403 * buffer.C (makeLaTeXFile): use stringstream
14404 (latexParagraphs): remove footnot gurba
14406 * LaTeXFeatures.C (getPackages): use stringstream
14407 (getMacros): likewise
14408 (getTClassPreamble): likewise
14409 (getFloatDefinitions): new method
14411 * paragraph.C (writeFile): reindent
14414 * WorkArea.h: revert the xpos + etc changes.
14416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14418 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14420 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14421 (pasteSelection): likewise
14422 * text2.C (CreateUndo): likewise
14424 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * minibuffer.C (peek_event): temporarily reduce the functionality
14427 of the minibuffer (to allow args on lfuns)
14429 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14430 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14432 * buffer.C (readInset): add compability reading of old float
14433 lists, add reading of new style float list.
14434 (readInset): avoid reevaluation of inscmd.getCmdName()
14435 (getLists): reindent
14437 * MenuBackend.C (MenuItem): implement parsing of
14438 md_floatlistinsert and md_floatinsert.
14439 (expand::LastFiles): move initalizaton of iterators out of loop,
14440 avoid reevaluation.
14441 (expand::Documents): introduce typdedef vector<string> Strings,
14443 (expand::ExportFormats): introduce typedef vector<Format const *>
14444 Formats, and use it.
14445 (expand): implement FloatListInsert and FloatInsert.
14447 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14448 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14449 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14451 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14453 (Dispatch::LFUN_FLOAT_LIST): implement
14455 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14457 * LaTeX.C (run): Fix problem with --export code.
14459 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14461 * BufferView.[Ch] (workarea): removed.
14462 (getClipboard) new method; wrapper for workarea()->getClipboard()
14464 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14467 * WorkArea.h (width, height, xpos, ypos): These methods all
14468 returned the dimensions of the work_area sub-area of WorkArea,
14469 resulting in a position error if the WorkArea were resized. Now
14470 return the dimensions of the entire WorkArea.
14472 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14474 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14476 * LaTeX.C (deplog): correct the syntax of regex reg1
14478 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14480 * undo.C: remove !NEW_INSETS cruft
14482 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14484 * text2.C: remove !NEW_INSETS cruft
14486 * text.C: remove !NEW_INSETS cruft
14488 * tabular.C: remove !NEW_INSETS cruft
14490 * spellchecker.C: remove !NEW_INSETS cruft
14492 * lyxtext.h: remove !NEW_INSETS cruft
14494 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14496 * lyxfunc.C: remove !NEW_INSETS cruft
14498 * lyxfind.C: remove !NEW_INSETS cruft
14500 * lyx_cb.C: remove !NEW_INSETS cruft
14502 * figureForm.C: remove !NEW_INSETS cruft
14504 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14506 * buffer.[Ch]: remove !NEW_INSETS cruft
14508 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14510 * CutAndPaste.C: remove !NEW_INSETS cruft
14512 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14514 * BufferView2.C: remove !NEW_INSETS cruft
14516 * BufferView.h: remove !NEW_INSETS cruft
14518 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * Lsstream.h: include LString.h before the sstream headers to
14521 fix problem with gcc 2.95.3 and lyxstring
14523 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * lyx_main.C: add using directives when needed for C functions
14526 declared in std:: namespace.
14528 2001-04-27 Juergen Vigna <jug@sad.it>
14530 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14531 (SetHeightOfRow): comment out the update call should not be needed!
14533 2001-04-13 Juergen Vigna <jug@sad.it>
14535 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14536 (LyXTabular): tried to minimize operator= operations (and realized
14537 hopfully Lars wish).
14539 2001-04-27 Juergen Vigna <jug@sad.it>
14541 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14543 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14545 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14547 * buffer.C (readInset): hack to make listof algorithm work
14549 * BufferView_pimpl.C: hack to make listof algorithm work
14551 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * LyXAction.C: removed all !NEW_INSETS cruft
14554 (init): moved lfun_item in method
14556 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14558 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14560 * BufferView2.C (theLockingInset): white space.
14562 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14564 * minibuffer.C: include <iostream>
14566 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14568 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14570 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14572 * text.[Ch] (TransposeChars): new method
14574 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * call message directly through LyXView instead of through LyXFunc
14577 * BufferView2.C: adjust
14578 * BufferView_pimpl.C: adjust
14579 * FontLoader.C: adjust
14581 * bufferview_funcs.C: adjust
14582 * converter.C: adjust
14583 * figureForm.C: adjust
14584 * importer.C: adjust
14586 * lyx_gui_misc.C: adjust
14587 * lyxfunc.C: adjust
14590 + more files in subdirs
14592 * lyxparagraph.h (size): move up int file
14595 * adjust all uses of Assert to lyx::Assert.
14597 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14598 lyxfunctional in namespace lyx
14599 * layout.C (hasLayout): ditto
14602 (delete_layout): ditto
14603 (NumberOfClass): ditto
14604 * converter.C (GetFormat): ditto
14609 * bufferlist.C (getFileNames): ditto
14610 (emergencyWriteAll): ditto
14613 * MenuBackend.C (hasSubmenu): ditto
14616 * BufferView_pimpl.C (getInsetByCode): ditto
14618 2001-04-18 Juergen Vigna <jug@sad.it>
14620 * vspace.C (asLatexString): fixed the 100% problem.
14622 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14624 * lyxfunc.C (Dispatch):
14626 * minibuffer.h: add a few std:: qualifiers
14628 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14630 * minibuffer.[Ch]: reimplement so that commands is initiated and
14631 run from lyxfunc, simplified som handling, and made the completion
14632 and history code for complete. wip.
14634 * lyxfunc.C (processKeySym): call message
14635 (miniDispatch): new temporary method
14636 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14637 (LFUN_MESSAGE): implement
14638 (LFUN_MESSAGE_PUSH): implement
14639 (LFUN_MESSAGE_POP): implement
14640 (initMiniBuffer): the initial/defualt minibuffer message.
14642 * lyxfont.[Ch]: inline some more getters
14644 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14646 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14648 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14649 (AutoSave): use LFUN_MESSAGE
14650 (Reconfigure): ditto
14652 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14654 * figureForm.C: use LFUN_MESSAGE
14656 * converter.C (runLaTeX): use LFUN_MESSAGE
14658 * bufferview_funcs.C: use LFUN_MESSAGE
14660 (changeDepth): ditto
14662 * bufferparams.h: use boost::
14664 * bufferlist.h: inherit privately from noncopyable
14666 * bufferlist.C (loadLyXFile): remove some commented code.
14668 * buffer.C (runChktex): use LFUN_MESSAGE
14670 * ShareContainer.h: inherit privately from noncopyable
14672 * ParagraphParameters.[hC] (depth): inline it.
14674 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14676 (message): new method
14677 (messagePush): ditto
14678 (messagePop): ditto
14679 (show): init minibuffer
14680 (showState): direct call
14682 * LaTeX.[Ch]: inherit privately from noncopyable
14683 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14684 instead of WriteStatus.
14686 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14688 * BufferView_pimpl.C (buffer): don't init minibuffer
14689 (workAreaButtonPress): use LFUN_MESSAGE
14690 (workAreaButtonRelease): ditto
14691 (savePosition): ditto
14692 (restorePosition): ditto
14693 (MenuInsertLyXFile): ditto
14694 (workAreaExpose): don't init minibuffer
14695 (update): remove commented code, simplify
14697 * BufferView2.C (openStuff): use LFUN_MESSAGE
14698 (toggleFloat): ditto
14701 (copyEnvironment): ditto
14702 (pasteEnvironment): ditto
14707 (updateInset): remove some commented code
14709 * lastfiles.h: inherit privately from noncopyable
14712 * lyx_main.h: ditto
14714 * lyxlex_pimpl.h: ditto
14716 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14717 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14718 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14720 * LyXAction.h: inherit privately from noncopyable, add methods
14721 func_begin, func_end, returning iterators to the func map.
14723 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14724 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14725 (func_begin): new method
14726 (func_end): new method
14728 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14730 (copySelection): ditto
14731 (pasteSelection): ditto
14733 * BufferView.C: whitespace change
14734 * BufferView.h: inherit privately from noncopyable
14736 2001-04-16 Allan Rae <rae@lyx.org>
14738 * tabular-old.C (l_getline):
14739 * spellchecker.C (sc_check_word):
14740 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14741 an unrecognised preprocessor directive. So ensure they're wrapped.
14743 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14745 * src/exporter.C (Export): Give an error message when path to file
14748 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14750 * LaTeX.C (deplog): Always check that foundfile exists.
14752 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14757 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14759 * tabular.[Ch] (getLabelList): implement new method
14761 * minibuffer.h: comment ouf setTiimer
14763 * minibuffer.C (ExecutingCB): constify res
14764 (peek_event): constify s
14765 (Set): constify ntext
14766 (Init): constify nicename
14768 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14770 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14771 (savePosition): use two params to Minibuffer::Set
14772 (restorePosition): ditto
14774 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * lyx_main.C: include language.h
14778 * Makefile.am (lyx_main.o): add language.h
14780 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * CutAndPaste.C: include gettext.h
14788 * lyxfont.h: remove old hack with ON and OFF.
14791 * lyxfont.h: do not include language.h...
14796 * bufferview_funcs.C:
14802 * paragraph.C: ... but do it here instead
14804 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14808 * tabular.C: small reformat
14810 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14813 (BreakParagraph): ditto
14814 (SetOnlyLayout): ditto
14817 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14820 * lastfiles.C: removed most using decl, add std:: where needed
14822 * buffer.C: ws changes
14824 * MenuBackend.C (class compare_format): put into anon namespace
14825 (expand): constify label, names, action, action2
14828 * text.C (SingleWidth): constify font
14829 (IsBoundary): constify rtl2
14830 (GetVisibleRow): constify ww
14832 * LaTeX.C (deplog): constify logfile
14834 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14836 (workAreaExpose): constify widthChange, heightChange
14838 * lyxrow.C (par): moved
14841 * lyxrow.h: as inlines here
14843 * lyxfont.h (shape): moved from lyxfont.C
14844 (emph): moved from lyxfont.C
14846 * lyxfont.C (LyXFont): use initialization list for all
14848 (shape): move to lyxfont.h as inline
14849 (emph): move to lyxfont.h as inline
14852 2001-04-04 Juergen Vigna <jug@sad.it>
14854 * vspace.C: had to include stdio.h for use of sscanf
14856 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14859 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14860 independent of xforms.
14862 2001-04-02 Juergen Vigna <jug@sad.it>
14864 * spellchecker.C: fixed namespace placing!
14866 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14868 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14869 the LyXParagraph * is 0.
14871 2001-03-29 Juergen Vigna <jug@sad.it>
14873 * vspace.C: added support for %, c%, p%, l%.
14874 (stringFromUnit): added helper function.
14875 (asLatexString): changed to give right results for the %-values.
14877 * buffer.C: convert the widthp in a width%.
14879 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14881 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14884 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14885 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14887 * lyx_cb.[Ch]: see above.
14889 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14893 * lyx.[Ch]: replaced by figure_form.[Ch].
14897 * lyxfunc.C: changed headers associated with above changes.
14899 2001-03-27 Juergen Vigna <jug@sad.it>
14901 * BufferView_pimpl.C: set the temporary cursor right!
14903 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14905 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14907 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14909 * LString.h: removed "using std::getline"!
14911 * BufferView_pimpl.C (Dispatch): changes due to changes in
14912 InsetInclude::Params.
14914 * buffer.C (tag_name): removed redundant break statements as they were
14915 producing lots of warnings with my compiler.
14917 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * LString.h: add "using std::getline" when using the real <string>.
14921 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14923 * buffer.C: removed bitset usage.
14924 PAR_TAG moved to an anonymous name space.
14925 (tag_name): new funtion, also in the anonymous namespace.
14926 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14927 (makeDocBookFile): clean code. Completed transition from string arrays
14929 (SimpleDocBookOnePar): code clean.
14931 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14933 * tabular.C: add some comments.
14935 2001-03-22 Juergen Vigna <jug@sad.it>
14937 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14938 compatibility read a bit and fixed bug with minipage in different
14941 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14943 * buffer.C (pop_tag): removed.
14944 (push_tag): removed.
14945 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14946 array replaced with vector. Added support for CDATA sections.
14947 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14949 (makeDocBookFile): XML conformant declaration of CDATA section,
14950 fixed bug related to <emphasis> in the first paragraph char.
14951 (sgmlOpenTag): exclude empty tags.
14952 (sgmlCloseTag): ditto.
14954 * buffer.h (pop_tag): removed.
14955 (push_tag): removed.
14957 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14959 * language.h (Languages): added size_type and size().
14961 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14963 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14964 response on compability reading of minipages. One probliem is that
14965 the old usage of minipages was «flertydig»
14967 * several files here and in subdirs: don't use static at file
14968 scope use anon namespaces instead.
14970 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14972 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14973 LaTeX output. This is necessary for Literate document
14976 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14978 * buffer.C: insert hfill when needed.
14980 * tabular.C (l_getline): use string::erase, small whitespace change.
14982 * BufferView_pimpl.C: try the anon namespace.
14983 * WorkArea.C: ditto
14985 2001-03-16 Juergen Vigna <jug@sad.it>
14987 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14988 otherwise it won't open options-dialogs.
14990 * buffer.C: honor pextraWidth(p) on converting minipages.
14992 * tabular.C (l_getline): changed the functions to strip trailing \r.
14994 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14996 * BufferView_pimpl.C:
14997 * minibuffer..C: added "using SigC::slot" declaration.
14999 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15001 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15007 * paragraph.C: ditto
15009 * lyxtext.h: NO_PEXTRA
15011 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15013 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15014 * ParameterStruct.h: ditto
15015 * ParagraphParameters.h: ditto
15016 * lyxparagraph.h: ditto
15018 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15020 * buffer.C: add compability for minipage alignment.
15021 (latexParagraphs): remove unwanted pextra check.
15023 * several files: remove CXX_WORKING_NAMESPACES
15025 * buffer.C (pop_tag): tie is in namespace boost
15027 * BufferView.h: noncopyable is in namespace boost
15029 * lyx_main.h: ditto
15032 * lastfiles.h: ditto
15033 * bufferlist.h: ditto
15034 * ShareContainer.h: ditto
15036 * LyXAction.h: ditto
15039 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15041 * Merging changes from BRANCH_MVC back into HEAD.
15043 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15045 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15047 * BufferView_pimpl.C: change from intl.C
15051 * Makefile.am: move combox.*
15057 * intl.C: remove dialog (covered by prefs)
15059 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15061 * lyxfunc.C (Dispatch): removed redundant break statement.
15063 2001-03-14 Juergen Vigna <jug@sad.it>
15065 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15067 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15069 * buffer.C: add hack to fix compability reading of minipages.
15071 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15073 * buffer.C (getLists): Cleanup.
15075 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15077 * lyxfont.C (update): don't honor toggleall on font size.
15079 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15083 * Makefile.am: moved to frontends/xforms/
15087 * BufferView_pimpl.C: changes for moved mathpanel
15089 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15091 * gettext.h: fix gettext_init() in --disable-nls
15093 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15097 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15100 * lyx.h: strip external form
15102 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15104 * BufferView_pimpl.C: add comment, destroySplash()
15106 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15108 * BufferView_pimpl.C:
15112 * lyxfunc.C: use re-worked insetinclude
15114 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15116 * buffer.C: add using std::stringstream.
15118 * lyx_cb.C: readd using std::ios.
15120 * buffer.C: add using std::map.
15122 * BufferView_pimpl.C: add using std::vector.
15124 * ShareContainer.h: add std:: to swap.
15126 * buffer.h: add some typedefs
15127 * buffer.C (getLists): use them
15128 (getLists): renamed from getTocList.
15129 add a counter for the different float types and use it in the
15131 (getLists): use the same counter for the NEW_INSETS and the "non"
15134 * lyx_cb.h: remove unused items, includes, using etc.
15136 * ShareContainer.h: remove some commented code, add more comments
15137 and "documentation".
15139 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15141 * buffer.C (getTocList): make the list also when NEW_INSETS is
15144 * buffer.h: remove TocType
15146 * buffer.C (getTocList): change to return a map<string,
15147 vector<TocItem> >, implement for dynamic number of list.
15149 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15150 * text2.C (PasteSelection): adjust
15151 * CutAndPaste.C (pasteSelection): adjust
15153 * FloatList.C (FloatList): update from the new_insets branch.
15154 * Floating.[Ch]: ditto
15155 * LaTeXFeatures.C: ditto
15157 * lyxlex_pimpl.C: ditto
15159 * paragraph.C (Last): remove when NEW_INSETS is defined.
15161 * other file: changes because of the above.
15163 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15165 * lyxparagraph.h: rename next to next_, previous to previous_,
15166 make them private for NEW_INSETS. Rename Next() to next(),
15167 Previous() to previous().
15169 * other files: changes because of the above.
15171 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15174 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15177 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15179 * main.C (main): pass lyx_localedir to gettext_init().
15181 * gettext.h: remove locale_init and gettext_init macros
15183 * gettext.C (locale_init): new function
15184 (gettext_init): new function
15186 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15189 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15191 * Moved credits to frontends:
15192 * credits.[Ch]: removed
15193 * credits_form.[Ch]: removed
15194 * lyx_gui_misc.C: remove credits stuff
15197 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15199 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15201 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15202 unneeded destructor.
15204 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15205 a standalone pointer again.
15207 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15209 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15215 * ToolbarDefaults.C:
15224 * BufferView_pimpl.C: use new file dialog in GUII
15227 * lyx_cb.C: remove LayoutsCB to Toolbar
15229 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * ShareContainer.h (get): add std:: qualifier
15233 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15235 * ShareContainer.h: define a proper ShareContainer::value_type
15236 type (and use typename to please compaq cxx)
15238 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15240 * lyxparagraph.h: move serveral local vars to
15241 ParameterStruct/ParagraphParameters., use ShareContainer in
15242 FontTable., make vars in FontTable private and add getter and
15245 * paragraph.C: changes because of the above.
15247 * lyxfont.h: remove copy constructor and copy assignment. (the
15248 default ones is ok), move number inside FontBits. move inlines to
15251 * lyxfont.C: add number to initializaton of statics, move several
15252 inlines here. constify several local vars. some whitespace
15253 cleanup. Dont hide outerscope variables.
15255 * Spacing.h: add two new constructors to match the set methods.
15257 * ShareContainer.h: new file, will perhaps be moved to support
15259 * ParameterStruct.h: new file
15261 * ParagraphParameters.h: new file
15263 * ParagraphParameters.C: new file
15265 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15266 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15268 * BufferView_pimpl.C: ParagraphParameter changes.
15269 * buffer.C: Likewise.
15270 * bufferview_funcs.C: Likewise.
15271 * text.C: Likewise.
15272 * text2.C: Likewise.
15274 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * lyxfind.C (LyXReplace): do not redefine default argument in
15278 (IsStringInText): ditto
15279 (SearchForward): ditto
15280 (SearchBackward): ditto
15282 2001-03-06 Juergen Vigna <jug@sad.it>
15284 * lyxfind.C (IsStringInText): put parentes around expressions.
15286 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15288 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15290 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15292 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15294 * stl_string_fwd.h: add comment
15296 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15299 * tabular.C: remove unused DocBook methods
15305 killed DO_USE_DEFAULT_LANGUAGE
15307 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * lyx_gui.C: do not include language.h.
15311 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15312 arguments in function implementation.
15314 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15316 * BufferView_pimpl.C: add <ctime>
15318 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15320 * BufferView_pimpl.C: add using std::find_if
15322 2001-02-27 José Matos <jamatos@fep.up.pt>
15324 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15327 2001-02-11 José Matos <jamatos@fep.up.pt>
15329 * buffer.C (makeDocBookFile): command styles now have a parameter as
15330 "title" by default.
15332 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15334 * layout_forms.[Ch]: removed
15335 * lyx_cb.[Ch]: out character
15336 * lyx_gui.C: out character
15337 * lyx_gui_misc.C: out character
15338 * bufferview_funcs.C: : out character,
15339 added toggleall as parameter in ToggleAndShow
15341 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15343 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15345 * text2.C (SetCurrentFont): Disable number property at boundary.
15347 2001-02-26 Juergen Vigna <jug@sad.it>
15349 * lyxfunc.C (getStatus): added a string argument override function so
15350 that this is correctly called from LyXFunc::Dispatch if it contains a
15351 do_not_use_argument which is used!
15352 (Dispatch): added check for "custom" export and call appropriate func.
15354 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15356 * lyxrc.C: Add language_command_local, language_use_babel and
15357 language_global_options.
15359 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15361 * buffer.C (makeLaTeXFile): Use language_use_babel and
15362 language_global_options.
15364 2001-02-23 Juergen Vigna <jug@sad.it>
15366 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15367 which works with LyXText and putted it inside BufferView. Here now we
15368 only call for that part the BufferView::Dispatch() function.
15370 * BufferView.C (Dispatch): added.
15372 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15373 functions which needs to use a LyXText over from LyXFunc.
15374 (MenuInsertLyXFile): added
15375 (getInsetByCode): added
15376 (moveCursorUpdate): added
15377 (static TEXT): added
15379 2001-02-22 Juergen Vigna <jug@sad.it>
15381 * BufferView_pimpl.C (update): call a status update to see if LyXText
15384 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15386 * vc-backend.C (revert): implement for CVS
15387 (getLog): implement for CVS
15389 2001-02-20 Juergen Vigna <jug@sad.it>
15391 * text2.C (ClearSelection): added BufferView param for inset_owner call
15393 * lyxfunc.C (TEXT): added this function and use it instead of
15394 directly owner->view()-text of getLyXText().
15396 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15398 * src/layout_forms.C: out preamble
15399 * src/layout_forms.h: out preamble
15400 * src/lyx_cb.C: out preamble
15401 * src/lyx_cb.h: out preamble
15402 * src/lyx_gui.C: out preamble
15403 * src/lyx_gui_misc.C: out preamble
15404 * src/lyxfunc.C: connect with guii preamble
15406 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15408 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15410 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15412 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15413 whether to run bibtex.
15415 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15417 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15419 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15421 * Makefile.am (lyx_SOURCES): removed bibforms.h
15423 * vspace.h: doxygen
15425 * text.C (GetVisibleRow): make several local vars const
15427 * tabular.C: small cleanup.
15429 * lyxserver.C (callback): use compare instead of strncmp
15431 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15432 inlines to after class or to paragraph.C
15434 * lyxfont.h: remove friend operator!=
15436 * converter.h: move friend bool operator< to non friend and after
15439 * combox.h: small cleanup
15441 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15442 to inlines after class def.
15444 * buffer.C (pop_tag): use string operations instead of strcmp
15446 * bmtable.c: doxygen, small cleanup
15448 * LaTeX.h: remove friend operator==
15450 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15462 * BufferView_pimpl.C:
15463 * BufferView.[Ch]: remove cruft
15465 2001-02-14 Juergen Vigna <jug@sad.it>
15467 * lyxfunc.C: removed #if 0 unused code
15469 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15471 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15473 * text2.C (SetSelection): added a BufferView * parameter
15475 2001-02-13 Juergen Vigna <jug@sad.it>
15477 * lyxfunc.C (Dispatch): fixed protected blank problem.
15478 * BufferView2.C (protectedBlank): added LyxText * parameter.
15480 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15481 (AppendColumn): same as above for column_info.
15483 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15484 (moveCursorUpdate): use a LyXText param for support of InsetText.
15486 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15487 (tripleClick): ditto
15489 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15491 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15493 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15495 * text2.C (SetSelection): set correct update status if inset_owner
15496 (ToggleFree): ditto
15498 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15500 * tabular.C: remove some commented code.
15502 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15504 * BufferView_pimpl.C: call hideSplash()
15506 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15509 * bibforms.h: remove
15512 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15513 add LFUN_CHILD_CREATE
15515 * counters.h: fix tiny typo
15520 * lyx.C: move splash to frontends/xforms/
15522 * lyx_gui_misc.C: move Include and Bibform to frontends
15524 * lyxvc.h: clarify comment
15526 * vspace.C: tiny housekeeping
15528 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15530 * text.C (PrepareToPrint): RTL Fix.
15532 * paragraph.C (GetUChar): New method.
15533 (String): Use GetUChar.
15535 * buffer.C (asciiParagraph): Use GetUChar.
15537 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15539 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15541 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15544 * buffer.C: rename to getLogName(), handle
15545 build log / latex log nicely
15547 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15550 * MenuBackend.h: remove support for reference menuitem type.
15552 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15554 * BufferView_pimpl.C: housekeeping
15555 * BufferView_pimpl.h:
15560 * minibuffer.h: move Timeout GUI-I
15562 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15564 * lyxrc.C (read): Update converters data-structures.
15566 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15568 * LaTeX.h (operator!=): add operator != for Aux_Info
15570 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15572 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15574 * LaTeXLog.C: deleted, useful code moved to Buffer
15577 * buffer.C: new function getLatexLogName()
15583 * lyxfunc.C: use frontends for LaTeX and VC logs
15585 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15587 * LaTeX.h: yet another std:: that Allan forgot.
15589 * Variables.C (set): renamed from isset(), because this clashes
15590 with some HP-UX macros (grr).
15592 2001-02-06 Allan Rae <rae@lyx.org>
15594 * LaTeX.h: Another bug fix. Missing std:: this time.
15596 2001-02-04 Allan Rae <rae@lyx.org>
15598 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15599 floats problem. I've left it commented out because it's not quite
15600 correct. It should also test that the current object is a table or
15601 figure inset. But I haven't gotten around to figuring out how to do
15602 that. I *think* it'll be something like: "table" == inset.type()
15604 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15607 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15609 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15610 all the citation/databases/styles in the auxilary file.
15611 (run): Rerun latex if there was a babel language error.
15613 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15615 * text.C (Backspace): Preserve the font when changing newline char
15617 (BreakParagraph): If the cursor is before a space, delete the space.
15619 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15621 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15623 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15624 new argument (code).
15625 (ChangeCitationsIfUnique): New method.
15627 * paragraph.C (GetPositionOfInset): Handle bibkey.
15629 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * BufferView_pimpl.h: change type of Position::par_pos to
15632 LyXParagraph::size_type.
15634 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15636 * BufferView_pimpl.C (savePosition, restorePosition): Write
15637 messages to minibuffer.
15639 2001-01-28 José Matos <jamatos@fep.up.pt>
15641 * buffer.C (makeDocBookFile): adds support for document language.
15642 A silly restriction on the name of LatexCommand types where removed.
15643 Added support for CDATA sections, allows to chars unescaped, used
15644 among others in code, to avoid escape < and >.
15646 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15648 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15649 saved positions instrad of a stack. Furthermore, a position is
15650 stored using paragraph id/paragraph position.
15652 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15653 Remove LFUN_REF_BACK.
15655 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15657 * converter.C (dvipdfm_options): New method.
15659 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15661 * vspace.C (isValidLength): Fix for empty input string.
15663 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15665 * LyXAction.C (init): change description of LFUN_FIGURE to
15668 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15670 * LaTeX.C: add using directive
15672 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15674 * MenuBackend.C (expand): Fix the sorting of the formats.
15676 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15678 * lyx_main.C: tiny error message fix
15680 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15682 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15683 calling fl_initialize(). This fixes the problem with ',' as
15684 decimal separator in text files.
15686 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15688 * trans.C (process): Fix the keymap bug.
15690 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15692 * LaTeX.C (scanAuxFiles): New method. Provides support for
15693 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15694 (scanLogFile) Scan for "run BibTeX" messages.
15696 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15697 OT1 font encoding. Also, load the aecompl package if the ae
15700 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15702 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * texrow.C (increasePos): turn two error messages into debug
15707 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15709 * LaTeX.C (scanAux): Handle the \@input macro.
15710 (runBibTeX): Use scanAux().
15712 * language.C (latex_options_): New field.
15714 * LaTeXFeatures.C (getMacros): Add language macros.
15716 * buffer.C (makeLaTeXFile): Small fix.
15718 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15720 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15722 * text2.C: add a using directive.
15724 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15729 * lyxfunc.C: kill LyXBell.
15731 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15733 * text.C (IsBoundary): Remove the error message
15735 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15737 * lyxrc.C (setDefaults): Correct initialization value for
15740 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15742 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15745 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15746 and GotoNextNote().
15748 * src/LyXAction.C: Added reference-next.
15750 * text.C (InsertChar): Use contains instead of strchr.
15752 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15754 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15756 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15757 alignment commands (when needed).
15759 * text.C (InsertChar): Add ':' to number separator chars.