1 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * outputparams.h: add new members intitle and lang.
5 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
6 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
8 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
10 * text3.C (dispatch): remove special handling of button 4 and 5,
11 it is now taken care of in the frontend code.
13 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * Spacing.h: add <string> (STLPort compile fix)
17 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
19 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
21 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
23 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
26 * converter.C (showMessage): inherit from unary_function, make
29 * buffer.C (writeFile): initialize retval
31 * InsetList.h: rename private variable list to list_
32 * InsetList.[Ch]: adjust accordingly.
34 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
36 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
37 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
38 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
39 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
40 * ParagraphParameters.C, LaTeXFeatures.C: replace
41 "support/std_sstream.h" with <sstream>
43 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
45 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
46 * lyxsocket.C (LyXServerSocket): ditto
47 (serverCallback): ditto
49 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
51 * LaTeXFeatures.C: check release date when loading jurabib.
53 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
55 * lyxserver.C (startPipe): call register_socket_callback
56 (endPipe): call unregister_socket_callback
58 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
60 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
61 (LyXServerSocket): register the callback
62 (LyXServerSocket): unregister the callback
64 (serverCallback): improve error checking and setup the callbacks.
65 (dataCallback): change arg to fd.
66 (writeln): new func (copied fro the client socket) used for server
68 (LyXDataSocket): simplify
69 (~LyXDataSocket): close ann unregiser callback
70 (server): delete function
72 (readln): small changes, improve some std::string usage
73 (writeln): constify a bit
75 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
80 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * BufferView_pimpl.C (setBuffer): set the layout combox value only
83 after it has been populated
85 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text2.C (insertInset): move cursor when inserting inset.
89 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * kbmap.C (findbindings): a couple of new methods. returns a
92 container of kb_sequence objects. The real work is done by the
93 private recursive version
94 (printbindings): uses findbindings to print out a bracketed list
95 of bindings (renamed from findbinding).
97 * MenuBackend.C (binding): use kb_keymap::findbindings
99 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
101 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
105 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * paragraph.C (isWord): return true on insets that report
110 * text.C (getWord): use Paragraph::isWord to decide what is in a
111 word and what is not; fix bug 1609.
113 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * tex-strings.C: add "none" to string_paperpackages[], fixes
116 off-by-one-error in the paperpackage selection.
119 * tex-strings.[Ch]: char const * string[n]
120 -> char const * const string[]
122 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
125 command, return early.
127 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * debug.h: add DEBUG to enum and fix size of ANY.
131 * debug.C: add support for Debug::DEBUG
132 (showTags): cast errorTags.level to unsigned int
134 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
135 (redoCurrentBuffer): ditto
136 (updateScrollbar): ditto
137 * cursor.C (dispatch): ditto
138 * text2.C (setLayout): ditto
140 (updateCounters): ditto
142 (deleteEmptyParagraphMechanism): ditto
144 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
146 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
147 annotations to cleanup the Makefile slightly.
149 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * lyxrc.C: do not set user_email to a default value but use empty
152 instead. The entry used to be translated, which does not work
153 since at the point where lyxrc is constructed there is no
154 translation service available
156 * messages.C (getLocaleDir): remove and use directly
157 lyx_localedir() instead
159 2004-06-02 Angus Leeming <leeming@lyx.org>
161 Fix crash caused by dereferencing null pointer 'exportdata' in
162 OutputParams by creating a new ExportData variable on the heap,
163 storing it in a boost::shared_ptr.
164 The crash was triggered when generating an Instant Preview
165 of an external inset.
167 * Makefile.am: add outputparams.C
169 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
170 (c-tor): allocate memory to it.
172 * exporter.C (c-tor): associated changes.
174 2004-06-01 Angus Leeming <leeming@lyx.org>
176 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
177 contains data before calling isInset(0). (Bug 1513.)
179 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
181 * exporter.C (checkOverwrite): new method
182 * exporter.C (copyFile): new method
183 * exporter.C (Export): copy referenced files to the document dir
184 * exporter.[Ch]: new class ExportedFile
185 * exporter.[Ch]: new class ExportData. Contains currently the
186 names of referenced external files
187 * outputparams.h: add exportdata member.
189 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
191 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
194 2004-05-19 Angus Leeming <leeming@lyx.org>
199 * lyxfunc.C: small changes due to the introduction of namespace
200 lyx::frontend and the moving of namespace biblio to lyx::biblio.
202 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
204 * text3.C (dispatch): supress update when only moving the cursor
205 * cursor.C (selHandle): remove commented code
207 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
209 * paragraph.C (startTeXParParams): correct column count
210 * CutAndPaste.C (pasteSelection): remove const_cast
211 * output_docbook.C (docbookParagraphs): remove const_cast
212 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
213 const_cast and return ParagraphList::const_iterator
214 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
215 * output_plaintext.C (writeFileAscii): remove const_cast
216 * paragraph.[Ch] (simpleTeXOnePar): make const
217 * paragraph_funcs.C (outerPar): use const iterators
218 * paragraph_pimpl.C (validate): use const iterators
219 * text.C (setHeightOfRow): use const iterators
221 2004-05-17 Angus Leeming <leeming@lyx.org>
224 * LyXAction.C (init): new LFUN_INSET_REFRESH.
226 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
227 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
228 if the citation engine has changed.
230 2004-05-14 José Matos <jamatos@lyx.org>
232 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
233 if the textclass does not provide it. Have it different for sgml and
235 support the language of document.
236 * output_docbook.C (docbookParagraphs):
237 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
238 first anchor as the id of the paragraph, remove special case code.
239 * sgml.C (escapeChar): escape only < & >.
241 2004-05-14 Angus Leeming <leeming@lyx.org>
243 * bufferparams.h: move biblio::CiteEngine enum here to minimize
244 dependencies on src/frontends/controllers/biblio.h. Define a
245 CiteEngine_enum wrapper class to enable the enum to be forward
248 2004-05-12 Angus Leeming <leeming@lyx.org>
250 * buffer.C: up LYX_FORMAT to 234.
251 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
252 use_numerical_citations with a single biblio::CiteEngine cite_engine
254 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
256 2004-05-13 José Matos <jamatos@lyx.org>
259 * converter.C (Converter, readFlags): add xml member.
260 * outputparams.h: add XML flavor.
261 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
263 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * lyxfunc.C (dispatch):
266 (getStatus): fix handling of LFUN_SEQUENCE
268 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * debug.C (showLevel): do not forget the end-of-line marker
272 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * kbmap.C (read): do not stop parsing a bind file when an error
277 2004-04-29 Angus Leeming <leeming@lyx.org>
282 * text2.C: wrap a bunch of #warning statements
283 inside #ifdef WITH_WARNINGS blocks.
285 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * buffer.C: increment format to 233.
289 2004-04-28 Angus Leeming <leeming@lyx.org>
291 * BufferView_pimpl.C:
294 s/updateToolbar()/updateToolbars()/
295 s/Toolbar.h/Toolbars.h/
297 2004-04-28 Angus Leeming <leeming@lyx.org>
299 * BufferView.[Ch] (c-tor):
300 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
301 No longer passes these data to the WorkArea generator.
303 2004-04-28 Angus Leeming <leeming@lyx.org>
305 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
307 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
309 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
311 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * output_latex.C (TeXEnvironment): make sure that there is a line
314 break before \end{foo} for the last paragraph of a document
315 (TeXOnePar): if the paragraph is at the end of the document (or
316 inset) and the language has to be reset, then make sure that the
317 line break is _before_ the language command, not after (fixes bug
318 1225); also make sure that the language reset command is the first
319 thing after the paragraph (to ensure proper nesting of
320 environments and thus fix bug 1404)
322 2004-04-21 John Levon <levon@movementarian.org>
325 * ToolbarBackend.C: make "name" be a programmatic name
326 and a gui_name field.
328 * lyxfunc.C: display the minibuffer on M-x
330 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
335 2004-04-19 Angus Leeming <leeming@lyx.org>
337 * BufferView_pimpl.C (setBuffer): changed preview interface.
339 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
342 2004-04-19 John Levon <levon@movementarian.org>
344 * BufferView_pimpl.C:
345 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
347 2004-04-05 Angus Leeming <leeming@lyx.org>
349 * text.C (redoParagraphs): add call to updateCounters(), thereby
350 fixing the missing "Figure #:" label from the caption of a
353 2004-04-13 Angus Leeming <leeming@lyx.org>
355 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
356 cursor is clicked out of an inset.
358 2004-04-13 Angus Leeming <leeming@lyx.org>
360 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
361 than an InsetOld one.
363 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * format.[Ch]: add editor to Format
366 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
367 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
369 2004-04-08 André Pönitz <poenitz@gmx.net>
371 * metricsinfo.h: remove PainterInfo::width member
373 2004-04-08 Angus Leeming <leeming@lyx.org>
375 * lyx_sty.C (boldsymbol_def): modify so that it outputs
376 "\providecommand" rather than "\newcommand", thereby preventing
377 clashes with packages that define "\boldsymbol" themselves.
380 2004-04-08 Angus Leeming <leeming@lyx.org>
382 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
383 thereby squashing an unnecessary warning.
385 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
390 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
392 * BufferView.C (setCursor): call redoParagraph (some insets could
394 (putSelectionAt): remove the 'double update' trick
396 * BufferView_pimpl.C (fitCursor): call refreshPar
397 (workAreaDispatch): remove an uneeded update call
398 (dispatch): remove some manual update calls
400 * cursor.[Ch]: remove cached_y_, updatePos
401 (selHandle): set noUpdate when appropriate
403 * lyxfunc.C (dispatch): track if we need an update
405 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
407 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
408 (paintSelection): cheap optimization, do not call cursorX when not
410 (paintPars): change signature
413 (paintTextInset): adjust
417 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * lengthcommon.C: compilation fix: remove explicit array size from
420 unit_name[] and friends
422 2004-04-05 Angus Leeming <leeming@lyx.org>
424 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
426 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
427 present only for the preferences dialog.
428 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
430 2004-04-05 Angus Leeming <leeming@lyx.org>
432 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
433 to enable the frontends to export changes to lyxrc correctly.
435 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
437 2004-04-07 André Pönitz <poenitz@gmx.net>
439 * cursor.[Ch] (selClear, adjust): remove math
441 * cursor_slice.C: more agressive assert
444 * BufferView_pimpl.C: rework mouse event dispatch
451 2004-04-05 André Pönitz <poenitz@gmx.net>
453 * cursor.[Ch] (valign, halign...): remove unneeded functions
455 2004-04-05 Angus Leeming <leeming@lyx.org>
457 * lyxlength.[Ch] (unit_name et al.): const-correct.
459 2004-04-05 Angus Leeming <leeming@lyx.org>
461 * BufferView_pimpl.C:
470 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
472 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
474 * text3.C (getStatus): add LFUN_BEGINNINGBUF
476 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
478 * lyxfind.C: add a couple of inTexted() tests + other small fixes
479 * BufferView_pimpl.[Ch] (getStatus)
480 * BufferView.[Ch] (getStatus): add
481 * lyxfunc.C (getStatus): move lfuns handled in
482 BufferView::dispatch to te function above
483 * Cursor.C (setSelection): set selection() = true
485 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
487 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
489 2004-03-31 Angus Leeming <leeming@lyx.org>
491 * lyxfunc.C (dispatch): Fall through to the generic
492 Dialogs::show("preamble").
494 2004-03-31 Angus Leeming <leeming@lyx.org>
496 * lyxfunc.C (dispatch): Fall through to the generic
497 Dialogs::show("spellchecker").
499 2004-03-31 Angus Leeming <leeming@lyx.org>
501 * lyxfunc.C (getStatus, dispatch): changed invocation of the
504 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
509 * insetiterator.[Ch]:
514 * undo.[Ch]: s/DocumentIterator/DocIterator/g
516 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
518 * BufferView.C (setCursor, putSelectionAt): call edit to open the
519 insets where we are putting the cursor.
521 2004-03-31 Angus Leeming <leeming@lyx.org>
524 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
526 * lyxrc.[Ch] (read, write): overloaded member functions taking
527 a std::[io]stream arguments.
529 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
531 2004-03-31 Angus Leeming <leeming@lyx.org>
533 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
534 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
536 * lyxtextclass.C (load): if the text class couldn't be loaded, then
537 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
539 2004-03-31 Angus Leeming <leeming@lyx.org>
541 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
542 the LFUN_ALL_INSETS_TOGGLE code.
544 2004-03-30 Angus Leeming <leeming@lyx.org>
546 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
547 has died. Fall through to the generic Dialogs::show("document").
549 2004-03-30 Angus Leeming <leeming@lyx.org>
552 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
553 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
555 * lyxfunc.C (getStatus, dispatch): define the actions for these
556 lfuns. Little more than a cut and pste job from ControlDocument.C
558 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
560 2004-03-30 Angus Leeming <leeming@lyx.org>
563 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
564 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
566 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
567 open/closed state of ollapsable insets. Usage:
569 all-inset-toggle <state> <name>, where
570 <state> == "open" || "closed" || "toggle" and
571 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
573 * lyxtext.h, text2.C (toggleInset): removed.
575 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
576 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
577 now passes LFUN_INSET_TOGGLE to the found inset.
579 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
580 is now invoked as "all-insets-toggle toggle branch".
582 2004-03-30 Angus Leeming <leeming@lyx.org>
586 * pariterator.[Ch]: added/corrected header blurb.
588 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
590 * dociterator.[Ch]: add an inset_ member
591 (backwardPos): implemented
592 (backwardPos, forwardPos): use inset_ when the stack is empty.
593 (doc_iterator_begin, doc_iterator_end): implemented
594 * pariterator.[Ch]: adjust, add begin, end
595 * insetiterator.[Ch]: adjust, add begin, end
599 * BufferView_pimpl.C:
600 * CutAndPaste.C: adjust
602 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
604 * buffer.C: increment file format to 232.
605 * LaTeXFeatures.C: add bibtopic package.
606 * bufferparams.[Ch]: param \use_bibtopic.
608 * lyxrc.[Ch]: add lyxrc bibtex_command
609 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
611 * buffer.C: increment file format to 231.
613 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
615 * dociterator.C: implement forwardPar
616 * iterators.[Ch]: remove, replaced by
617 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
619 * BufferView_pimpl.C:
622 * bufferview_funcs.C:
628 * Makefile.am: adjust
630 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
632 * CutAndPaste.C (pasteSelection): fix 2 crashes
633 (eraseSelection): fix a crash
634 * paragraph_funcs.C: remove a warning
636 2004-03-28 Angus Leeming <leeming@lyx.org>
639 * LyXAction.C (init): new LFUN_PRINT.
641 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
643 2004-03-27 Angus Leeming <leeming@lyx.org>
646 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
648 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
650 2004-03-27 Angus Leeming <leeming@lyx.org>
652 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
653 insetlist always contains non-null pointers to insets.
655 2004-03-26 Angus Leeming <leeming@lyx.org>
657 * src/BufferView_pimpl.C:
661 * src/output_plaintext.C:
662 * src/outputparams.h:
663 * src/paragraph_funcs.C:
667 * src/frontends/controllers/ControlErrorList.C:
668 * src/frontends/gtk/FileDialogPrivate.C:
669 * src/frontends/gtk/GPainter.C:
670 * src/frontends/gtk/GToolbar.C:
671 * src/frontends/qt2/QRef.C:
672 * src/mathed/math_scriptinset.C: squash compiler warnings.
674 2004-03-26 Angus Leeming <leeming@lyx.org>
676 * ispell.C (LaunchIspell::start):
677 * lyx_cb.C (AutoSaveBuffer::start):
678 invoke run(DontWait) rather than runNonBlocking().
680 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
682 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
684 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * kbsequence.C (print): adjust
688 * kbmap.C (printKeySym): rename and change signature
689 (printKey): use LyXKeySym::print()
691 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
693 * undo.C: add using std::advance to compile for stlport
695 2004-03-24 Angus Leeming <leeming@lyx.org>
697 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
698 it leads to a crash when no buffer is present.
700 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 Martin Vermeer <martin.vermeer@hut.fi>
703 * lyxfunc.C (dispatch):
704 * bufferparams.C (readToken): use the new LColor::setColor
706 * LColor.[Ch] (setColor): new version that takes two strings as
707 argument and creates a new color entry if necessary
709 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
711 * buffer.C (makeLaTeXFile): if the main latex file that is
712 processed is usually a subdocument of some master, then pretend
713 for a while that it is actually the master
715 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
717 * buffer.C (getLabelList):
718 (getBibkeyList): use getMasterBuffer()
719 (getMasterBuffer): new method. Returns the main document in the
720 case where one is using included documents.
722 2004-03-25 André Pönitz <poenitz@gmx.net>
726 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
728 * ParagraphList_fwd.h: change ParagraphList to a std::vector
730 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
731 text*.C over here. Rename namespace CutAndPaste to lyx::cap
733 * ParameterStruct.h: merge with ParagraphParameters
735 * lyxtext.h: remove LyXText::parOffset() and getPar()
737 * text3.C: Remove all 'manual' update calls. We do now one per user
738 interaction which is completely sufficient.
742 * BufferView_pimpl.C:
745 * ParagraphParameters.[Ch]:
757 * output_docbook.[Ch]:
759 * output_linuxdoc.[Ch]:
760 * output_plaintext.[Ch]:
762 * paragraph_funcs.[Ch]:
763 * paragraph_pimpl.[Ch]:
771 * frontends/controllers/ControlDocument.C:
772 * frontends/controllers/ControlErrorList.C:
773 * frontends/controllers/ControlSpellchecker.C:
776 * insets/insetbase.h:
777 * insets/insetbibitem.C:
779 * insets/insetbranch.C:
780 * insets/insetcaption.C:
781 * insets/insetcharstyle.C:
782 * insets/insetcharstyle.h:
783 * insets/insetcollapsable.C:
784 * insets/insetcollapsable.h:
786 * insets/insetfloat.C:
787 * insets/insetfoot.C:
788 * insets/insetmarginal.C:
789 * insets/insetnote.C:
790 * insets/insetoptarg.C:
791 * insets/insettabular.C:
792 * insets/insettext.C:
793 * insets/insettext.h:
794 * insets/insetwrap.C:
795 * mathed/math_mboxinset.C:
796 * mathed/math_nestinset.C:
797 * mathed/math_scriptinset.C:
798 * mathed/math_scriptinset.h:
801 2004-03-24 Angus Leeming <leeming@lyx.org>
803 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
804 deal with any child processes that have finished but are waiting to
805 communicate this fact to the rest of LyX.
807 2004-03-24 Angus Leeming <leeming@lyx.org>
809 64-bit compile fixes.
811 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
812 (c-tor): pass lyx::pos_types rather than ints.
814 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
817 * text.C (Delete): compile fix.
818 (getPar): ensure that function declaration is the same as that in
821 2004-03-23 Angus Leeming <leeming@lyx.org>
823 * ispell.C (LaunchIspell):
824 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
825 a boost::shred_ptr rather than a std::auto_ptr.
827 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * lyxfunc.C (getStatus): handle read-only buffers correctly;
830 handle LFUN_FILE_INSERT_*
832 * lyxrc.C (setDefaults, getDescription, output, read):
833 * lyxrc.h: remove ps_command
835 2004-03-22 Angus Leeming <leeming@lyx.org>
837 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
838 Ensure that error_handler is processed once only and that all data
839 is saved before attempting to output any warning messages.
841 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
843 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
845 * tabular.C (TeXRow): crash fix (from Kayvan and André)
847 2004-03-19 André Pönitz <poenitz@gmx.net>
849 * cursor.[Ch] (reset): take main text inset as argument
852 * BufferView_pimpl.C: adjust
854 * paragraph.[Ch]: fix completely broken operator=()
856 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
858 * LColor.C (getFromLyXName): make sure that the color name is used
861 2004-03-17 Angus Leeming <leeming@lyx.org>
864 * LyXAction.C (init): remove LFUN_FORKS_KILL.
866 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
867 dialog and to kill a forked process.
869 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
871 * text2.C (setCursorFromCoordinates): fix font problem
873 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
875 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
876 bogus "rebuild cursor" code
878 2004-03-11 André Pönitz <poenitz@gmx.net>
880 * buffer.[Ch]: use InsetText instead of LyXText as container for
883 * dociterator.[Ch]: drop the BufferView * member which is not needed
884 anymore after the change to buffer.C
890 * BufferView_pimpl.[Ch]:
892 * cursor_slice.[Ch]: adjust
894 * text3.C: fix bug in mathDispatch
896 2004-03-08 André Pönitz <poenitz@gmx.net>
898 * undo.[Ch]: use 'StableDocumentIterator' as base for
901 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
904 * bufferparams.[Ch]: add jurabib support and param.
906 * LaTeX.C: add FIXME/comment.
908 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
910 * buffer.C: increment file format to 230.
912 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
914 * cursor.C (dispatch): avoid infinite loops
916 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
918 * rowpainter.C (paintSelection): fix x coordinates
920 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
922 * text.C (rowBreakPoint): fix breaking before displayed insets
924 2004-03-01 André Pönitz <poenitz@gmx.net>
926 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
928 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
932 * BufferView_pimpl.C:
940 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
946 * BufferView_pimpl.C: rename textwidth -> maxwidth,
947 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
949 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
951 * Bidi.[Ch] (computeTables): const correctness
952 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
953 fill_hfill, fill_label_hfill and x from Row
954 * lyxtext.h: prepareToPrint returns a RowMetrics
955 * rowPainter.C: adjust
956 * text.C (prepareToPrint): use width, not textWidth. adjust
957 (redoParagraphInternal, cursorX): adjust
958 * text2.C (getColumnNearX): adjust
959 (init): put a default value to the top LyXText::width
961 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
963 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
965 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
967 * lyxtext.h: add FontIterator class
969 * text.C (FontIterator, operator*, operator->, operator++): add
970 (rowBreakPoint, setRowWidth): adjust (fixing a
973 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
975 * BufferView_pimpl.C (workAreaDispatch): allow also
976 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
978 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
980 * text.C (rowBreakPoint): fix a bug showing with very large insets
982 2004-02-25 André Pönitz <poenitz@gmx.net>
985 * cursor.[Ch]: move some mathed specific code to mathed
987 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
989 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
990 use_tempdir in preferences
991 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
993 * lyx_main.C: ensure that tempdir is valid
994 * lyxlex.h: correct typo
995 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
996 * paragraph.[Ch] (isMultiLingual): make const
997 * cursor.[Ch] (openable): make const
999 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1001 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1003 2004-02-20 André Pönitz <poenitz@gmx.net>
1005 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1007 * cursor.[Ch]: prepare for localized getStatus()
1013 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1015 2004-02-20 André Pönitz <poenitz@gmx.net>
1017 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1019 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1021 * text2.C (setCursorFromCoordinates): switch to absolute coords
1023 (cursorDown): adjust
1024 * text3.C (dispatch): adjust
1026 2004-02-16 André Pönitz <poenitz@gmx.net>
1028 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1031 * cursor_slice.[Ch]: remove unneeded acessor function
1033 * lyxtext.h: rename rtl() to isRTL()
1041 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1043 * rowpainter.C (paintSelection): coord fix
1045 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * Spacing.C: compile fix
1049 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1051 * cursor.C (dispatch): restore current_ before returning
1053 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1055 * text2.C (cursorUp, cursorDown): fix coords
1058 2004-02-12 André Pönitz <poenitz@gmx.net>
1063 * text3.C: add LCursor & parameter to most cursor movement functions
1064 remove usage of LyXText::cursorRow() and cursorPar()
1066 * cursor.[Ch]: add textRow() needed members
1069 * BufferView_pimpl.C:
1072 * BufferView_pimpl.C: adjust
1074 2004-02-11 André Pönitz <poenitz@gmx.net>
1078 * BufferView_pimpl.C: shift undo/redo handling
1080 * cursor.[Ch]: fix mathed crash
1083 * lyxtext.h: move selectionAsText to LCursor
1091 * rowpainter.C: fix excessive drawing
1093 2004-02-06 André Pönitz <poenitz@gmx.net>
1096 * BufferView_pimpl.[Ch]:
1097 * text3.C: move some text specific LFUN handling
1099 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1101 * text3.C (checkInsetHit): adjust coords
1102 * text2.C (getColumnNearX): adjust coords
1103 (edit): adjust coords
1104 * text.C (getRowNearY): add two asserts
1106 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1109 * format.C: add using std::distance to compile on gcc 2.95/stlport
1111 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1113 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1115 2004-02-04 André Pönitz <poenitz@gmx.net>
1117 * BufferView.[Ch] (insertInset):
1118 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1123 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1125 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1126 on the default clause of the switch
1127 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1128 wasn't catched by LCursor::dispatch
1130 2004-02-03 André Pönitz <poenitz@gmx.net>
1133 * cursor.[Ch]: some additional asserts
1135 * undo.[Ch]: remove LyXText dependency in interface
1139 * lyxtext.h (firstPar, lastPar): remove dead functions
1144 * paragraph.[Ch]: adjust
1146 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1148 * lyxfind.C (find): fix argument order in call to ::find
1150 2004-02-02 André Pönitz <poenitz@gmx.net>
1152 * cursor.[Ch]: remove direct access to anchor
1154 * text.C: remove findText() hack
1156 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1158 * iterators.[Ch] (lockPath): remove in favour of...
1159 * BufferView.[Ch] (setCursor): this addition
1160 * BufferView.C (putSelectionAt): adjust
1161 * undo.C (performUndoOrRedo): adjust
1162 * lyxfunc.C (dispatch): adjust
1164 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1166 * iterators.C (lockPath): add a missing slice
1167 * undo.C (performUndoOrRedo): remove redundant positioning code
1169 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1171 * vc-backend.C (scanMaster): ";" -> ';'
1173 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1175 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1176 std::binary_function
1178 * lyxtextclass.C (compare_name): rename to...
1179 (LayoutNamesEqual): ...this
1181 * lyxlex_pimpl.C (compare_tags): inherit from
1182 std::binary_function, put back into anon namespace
1184 * lyxfind.C (MatchString): inherig from std::binary_function
1185 (findChange): use empty() istead of !size()
1187 * format.C (FormatNamesEqual): new functor
1194 * converter.C (compare_Converter): rename to...
1195 (ConverterEqual): ...this, and fixup a bit.
1196 (getConverter): use it, and make function const
1197 (getNumber): use it, and make function const
1201 * bufferlist.C: add using boost::bind
1203 * MenuBackend.C (MenuNamesEqual): new functor
1204 (hasMenu): use it, and make function const
1205 (hasSubmenu): use nested bind to get rid of compare_memfun.
1207 2004-01-30 André Pönitz <poenitz@gmx.net>
1209 * BufferView_pimpl.C:
1212 * cursor_slice.[Ch]:
1215 * paragraph_funcs.C:
1216 * paragraph_funcs.h:
1220 * text3.C: move some of the edit(x,y) handling to the insets
1221 some coordinate changes.
1223 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1225 * text.C: add using statements for std::advance and std::distance
1227 * paragraph.C: add using statement for std::distance
1229 * lyxfind.C: add using statement for std::advance
1231 * cursor.C (region): remove std:: from swap
1232 (openable): use nucleus in stead of operator->
1234 * BufferView.C: add using statements for std::distance and std::swap
1236 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1238 * iterators.C: Remove the pimple, move the needed structures to
1239 the header file. Create accessor for the positions stack.
1240 (asPosIterator): remove function
1242 * PosIterator.C (PosIterator): move constructors to top of file
1243 (PosIterator): reimplement the constructor taking a ParIterator in
1245 (setFrom): new function
1246 (operator!=): inline it
1248 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1250 * lyxfind.C (replaceAll): use std::advance
1252 * iterators.h: inherit from std::iterator.
1254 * PosIterator.C (advance, distance): remove
1255 * PosIterator.h: interit from std::iterator.
1257 2004-01-26 André Pönitz <poenitz@gmx.net>
1260 * BufferView_pimpl.[Ch]:
1264 * bufferview_funcs.C:
1274 * output_linuxdoc.C:
1275 * output_plaintext.C:
1277 * paragraph_funcs.[Ch]:
1278 * paragraph_pimpl.[Ch]:
1284 * text3.C: more IU: dumps most of the rest of the mathcursor
1285 implementation into cursor.[Ch]; "globalize" a bit of it.
1287 2004-01-25 Angus Leeming <leeming@lyx.org>
1289 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1291 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1293 * LaTeXFeatures.h: add nice_ and nice() const
1294 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1296 2004-01-20 André Pönitz <poenitz@gmx.net>
1299 * BufferView_pimpl.C:
1301 * bufferview_funcs.C:
1303 * cursor_slice.[Ch]:
1314 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1315 LCursor and mathcursor parts to LCursor and InsetBase.
1317 2004-01-15 André Pönitz <poenitz@gmx.net>
1319 * cursor_slice.[Ch]: add a few covienience functions
1321 * funcrequest.[Ch]: remove BufferView * member
1323 * BufferView_pimpl.C:
1330 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1332 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1334 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1335 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1337 2004-01-13 André Pönitz <poenitz@gmx.net>
1340 * lyxtext.h: hide cursor and selection anchor behind accessor function
1343 * BufferView_pimpl.[Ch]:
1345 * bufferview_funcs.C:
1355 * cursor_slice.[Ch]: some integer type changes for inset unification
1357 * lyxcursor.[hC]: remove, it's CursorSlice now.
1360 * BufferView_pimpl.[Ch]:
1361 * bufferview_funcs.C:
1367 * textcursor.[Ch]: adjust
1369 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1371 * text2.C (undoSpan): add and use
1372 * text.C (breakParagraph): use undoSpan (fix bug 578)
1375 2004-01-08 Angus Leeming <leeming@lyx.org>
1377 * BufferView_pimpl.C (MenuInsertLyXFile):
1378 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1379 * lyxfunc.C (menuNew, open, doImport):
1380 FileFilterList change to the FileDialog open and save functions.
1382 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1384 * ShareContainer.h: make isEqual and isUnique adaptable
1386 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1388 2004-01-07 Angus Leeming <leeming@lyx.org>
1391 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1393 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1395 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1396 functions replacing find, replace and replaceAll.
1398 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1399 LFUN_WORDFIND(FORWARD|BACKWARD).
1401 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1403 * text.C (breakParagraph): remove an outdated #warning
1405 2004-01-07 André Pönitz <poenitz@gmx.net>
1407 * lyxfind.C: somewhat clearer logic
1409 * text.C: prevent crash in cursorX on unitialized row cache
1411 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1413 * lyxcursor.[Ch] (operator>): add
1414 * textcursor.C (selStart, selEnd): use std::min and std::max
1416 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1418 * Chktex.C: include boost/format.hpp
1420 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1422 * InsetList.C: replace functor MathcIt with adaptable functor
1424 (insetIterator): modify accordingly
1426 * BranchList.h: move the BranchNamesEqual functor here from...
1427 * BranchList.C: ... to here
1429 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1431 (add): replace a finding loop with std::find_if.
1433 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1435 * output_docbook.C: moving LatexParam functionality into
1438 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1440 * buffer.C: increment format to 229.
1442 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1445 * lyx_sty.[Ch]: remove minipageindent_def
1451 * text3.C: remove LFUN_INSET_MINIPAGE
1453 2003-12-28 Angus Leeming <leeming@lyx.org>
1455 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1457 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1459 * text2.C (setParagraph): fix off-by-one crash
1461 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1463 * output_docbook.C: header stuff for AGU
1465 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1467 * text2.C (redoCursor): remove
1470 * BufferView_pimpl.C: remove calls to redoCursor and
1471 setCursor(cursor.par(), cursor.pos()) all around
1473 2003-12-15 Angus Leeming <leeming@lyx.org>
1475 * buffer.C: up the format to 228.
1477 2003-12-15 André Pönitz <poenitz@gmx.net>
1479 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1484 * BufferView_pimpl.C:
1493 2003-12-15 Angus Leeming <leeming@lyx.org>
1495 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1496 than getFromGUIName to manipulate the color.
1498 2003-12-14 Angus Leeming <leeming@lyx.org>
1500 * BranchList.[Ch]: minimize the API.
1501 (Branch::getBranch, getColor): now return a 'const &'.
1502 (Branch::setSelected) now returns a bool set to true if the
1503 selection status changes.
1504 (BranchList::clear, size, getColor, setColor, setSelected,
1505 allBranches, allSelected, separator): removed.
1506 (BranchList::find): new functions, returning the Branch with
1508 (BranchList::add, remove): return a bool indicating that
1509 the operation was successful.
1511 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1512 new InsetBranch::isBranchSlected member function.
1514 * LColor.[Ch]: mimimize the API.
1515 (fill): renamed as addColor and made private.
1516 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1517 versions of these functions taking a string arg have been removed.
1519 * bufferparams.C (readToken):
1520 * lyxfunc.C (dispatch):
1521 * lyxrc.C (read): changes due to the altered BranchList and
1524 * factory.C (createInset, readInset): changes due to altered
1527 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1530 * lyxfunc.C: remove insetminipage. "minipage-insert"
1531 now produces a frameless minipage box inset.
1533 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1535 * textcursor.[Ch] (selStart,selEnd): add new methods
1536 remove selection::start, end, use LyXCursor::operator<
1537 * lyxcursor.[Ch] (operator<): add
1538 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1539 * BufferView.[Ch] (unsetXSel): add
1540 * text2.C (clearSelection): use unsetXSel,adjust
1543 * rowpainter.C: adjust
1544 * bufferview_funcs.C (put_selection_at): adjust
1546 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1548 * BufferView_pimpl.C: small coord. correction
1550 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1552 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1553 dragging over the splash screen.
1555 2003-12-11 Angus Leeming <leeming@lyx.org>
1557 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1558 as it is now handled in LyXText::dispatch.
1560 * text3.C (doInsertInset): remove a level of nesting.
1562 2003-12-11 Angus Leeming <leeming@lyx.org>
1564 * factory.C (createInset): changes due to the changed interface to
1565 InsetCommandMailer::string2params.
1567 2003-12-10 Angus Leeming <leeming@lyx.org>
1569 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1570 'dialog-show-new-inset <inset name>'
1572 2003-12-10 Angus Leeming <leeming@lyx.org>
1574 * buffer.C: up the format to 227.
1576 * factory.C: the box inset is now identified simply by 'Box'.
1578 2003-12-10 Angus Leeming <leeming@lyx.org>
1580 * buffer.C: up the format to 226.
1582 * factory.C: the note inset is now identified simply by 'Note'.
1584 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1586 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1587 when a pit is enough. Standarize a couple of loops.
1589 2003-12-05 Angus Leeming <leeming@lyx.org>
1591 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1592 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1593 data to the re-worked "log" dialog.
1595 2003-12-03 André Pönitz <poenitz@gmx.net>
1601 * paragraph_funcs.C:
1603 * text2.C: use Inset::getText instead of Inset::getParagraph
1605 2003-12-03 André Pönitz <poenitz@gmx.net>
1609 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1610 InsetText::read() as LyXText::read()
1612 2003-12-02 Angus Leeming <leeming@lyx.org>
1614 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1615 type. Add a comment in the implementation that the function uses
1616 the stream's bad() function rather than fail() as the std::streams
1619 2003-12-02 André Pönitz <poenitz@gmx.net>
1621 * lyxlex.[Ch]: make interface more similar to std::stream
1623 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1625 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1627 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1629 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1631 * vspace.[Ch]: remove VSpace::NONE
1633 2003-12-01 André Pönitz <poenitz@gmx.net>
1636 * lyxtext.h: move ParagraphList member to LyXText
1637 rename LyXText::ownerParagraphs to LyXText::paragraph
1640 * bufferview_funcs.C:
1650 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1652 * undo.C: fix cursor positioning
1654 2003-12-01 John Levon <levon@movementarian.org>
1656 * BufferView_pimpl.C: fix a crash on exit with
1659 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1661 * BranchList.C: fix setSelected() method.
1663 2003-11-28 André Pönitz <poenitz@gmx.net>
1665 * ParagraphParameters.[Ch]:
1666 * ParameterStruct.h: remove space above/below from Paragraph to
1669 * BufferView_pimpl.C:
1675 * paragraph_funcs.C:
1681 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1683 * factory.C: Syntax change for CharStyles
1685 2003-11-28 André Pönitz <poenitz@gmx.net>
1690 * buffer.[Ch]: move LyXText member
1692 2003-11-28 André Pönitz <poenitz@gmx.net>
1694 * BufferView.[Ch]: make LyXText * text a private member
1696 * BufferView_pimpl.C:
1707 * output_plaintext.C: cleanup
1709 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1712 * lyxtextclass.[Ch]: parametrize SGML document header
1714 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1717 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1720 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1722 * text2.C (setFont): rework using PosIterator (no more recursive)
1723 (setCharFont): no more needed
1724 (setLayout): no more selection cursors fiddling (done by redoCursor)
1725 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1726 destroy remaining ones)
1728 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1730 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1732 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1735 * text3.C: adjust + re-allow multi par depth changes
1736 * textcursor.C: simplify a bit
1738 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1744 * src/output_docbook.C:
1745 * src/output_latex.C:
1750 * src/text2.C: Introducing a number of tags parametrizing various
1751 XML formats that we may want to support
1753 2003-11-25 André Pönitz <poenitz@gmx.net>
1755 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1757 * lyxtext.h (leftMargin/rightMargin): simplify interface
1764 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1766 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1767 master file to any child files. Fixes bug 546.
1769 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1771 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1773 2003-11-24 André Pönitz <poenitz@gmx.net>
1775 * rowpainter.C: simplification
1777 * text2.C (updateCounters): remove call to redoParagraph on
1778 changed labels as this is far too expensive.
1780 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1782 * converter.C (convert): fix a crash: this function gets
1783 called with buffer == 0 from importer code.
1785 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1787 * text3.C (cursorPrevious): make sure that we do not compare
1788 iterators form different containers.
1791 * rowpainter.C (paintSelection): make sure that we do not compare
1792 iterators from different containers.
1794 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1795 iterators from different ParagraphList containers.
1798 * text2.C (LyXText): change order of initialization slightly
1799 (operator=): new function. copy all variables except cache_par_
1800 (moveUp): make sure that we do not compare iterators from
1801 different ParagraphList constainers.
1804 * text.C (firstPar): new function
1805 (lastPar): new function
1806 (endPar): new function
1808 * lyxtext.h: move things around and group public functions, public
1809 variables, private functions, private variables
1811 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1813 * factory.C: change call to InsetERT constructor to avoid
1814 additional invocation of method status
1815 * text2.C (toggleInset): remove redundant update() call
1816 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1817 instead of a Bufferview pointer
1819 2003-11-21 André Pönitz <poenitz@gmx.net>
1821 * rowpainter.C: simplification
1823 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1825 * text3.C (dispatch): make possible to extend a word/row selection
1828 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1830 * lyxtext.h: x0_,y0_ -> xo_,yo_
1831 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1832 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1833 * rowpainter.C (paintRows): paint full paragraphs
1835 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1837 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1840 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1842 * lyxtext.h: add x0_, y0_
1843 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1844 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1846 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1848 * text2.C (setCursorIntern): move the x_target update here *
1849 * text3.C: change some bv() to true/false in calls to
1850 cursorUp/Down/Right/Left
1851 * cursor.C: use helper function.
1853 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1855 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1856 * paragraph_funcs.[Ch]: correct comment
1857 * rowpainter.C: do not paint selections away from bv->cursor()
1858 Fix a long standing selection painting bug.
1859 * text3.C: generalize mouse-selection code to LyXTexts other that
1861 * textcursor.C: do not use y coords if we can use par offsets
1863 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1865 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1866 cursor position after e.g. inset insert)
1868 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1870 * lyxfind.C (replace): adjust to locking removal + some
1873 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1875 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1878 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1881 * output_docbook.C: XML sanitation: new layout
1882 parameters InnerTag and CommandDepth
1884 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1886 * BufferView_pimpl.C:
1888 * text3.C: Fix the insertion and modification of button-style
1891 2003-11-13 André Pönitz <poenitz@gmx.net>
1893 * InsetList.[Ch]: remove deleteLyXText
1895 * paragraph.[Ch]: cache beginOfBody position
1900 * text3.C: remove superfluous update() calls
1904 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1906 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1907 * BufferView.C (fitLockedInsetCursor): remove
1908 * cursor.[Ch] (getDim): add
1909 * text.C (getRowNearY): add faster version
1910 * text3.C: remove some update calls
1912 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1924 * text3.C: The Character Style /XML short element patch.
1926 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1929 * factory.C: Small step to solving 'unable to insert some insets'
1932 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1934 * cursor.[Ch] (updatePos): new function for updating the y
1935 position of the tip inset
1936 * bufferview_funcs.C (put_selection_at):
1937 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1939 2003-11-11 André Pönitz <poenitz@gmx.net>
1941 * text.C: remove big comment on invalid Paragraph pointers as it is
1944 2003-11-11 André Pönitz <poenitz@gmx.net>
1946 * text_funcs.[Ch]: merge with ...
1954 * Makefile.am: remove text_funcs.[Ch]
1956 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1958 * cursor.C (getPos): return absolute cached y coord
1960 * BufferView_pimpl.C (fitCursor): new simplistic code
1961 (workAreaDispatch): add a fitCursor call
1963 2003-11-10 André Pönitz <poenitz@gmx.net>
1966 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1968 2003-11-10 André Pönitz <poenitz@gmx.net>
1970 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1971 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1972 indicate that the cursor needs to leave an inset
1974 * lyxtext.h: remove inset locking
1976 * cursor.[Ch]: re-implement functionality provided by inset locking
1979 * BufferView_pimpl.[Ch]:
1981 * bufferview_funcs.[Ch]:
1993 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1995 * PosIterator.[Ch]: replace the stack with a vector, add inset
1997 * iterators.[C]: adjust
1999 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2001 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2003 * paragraph_funcs.C (readParToken): put the correct id in the
2004 error item, not the id of the top paragraph
2006 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2008 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2009 * bufferview_funcs.C (put_selection_at): use the above
2011 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2013 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2015 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2017 * output_linuxdoc.h:
2018 * output_plaintext.h:
2020 * output_docbook.h: add #include statements
2022 2003-11-05 José Matos <jamatos@lyx.org>
2024 * output_docbook.[Ch]:
2025 * output_latex.[Ch]:
2026 * output_linuxdoc.[Ch]:
2027 * output_plaintext.[Ch]: New files for output formats.
2028 * output.[Ch]: New file for helper functions.
2031 * paragraph_funcs.[Ch]: output functions moved to new files.
2033 * outputparams.h: rename of latexrunparams.h
2041 * paragraph_funcs.[Ch]:
2042 * paragraph_pimpl.[Ch]:
2043 * tabular.[Ch]: rename ascii to plaintext
2044 and LatexRunParams to OutputParams.
2046 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2048 * iterators.[Ch] (text): require bv argument
2049 * undo.C (recordUndo):
2050 * lyxfunc.C (dispatch):
2051 * bufferview_funcs.C (put_selection_at): adjust
2053 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2055 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2057 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2059 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2062 2003-11-04 André Pönitz <poenitz@gmx.net>
2064 * cursor.[Ch]: restructure
2067 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2069 * iterators.[Ch] (asCursor): remove
2071 * lfuns.h: remove LFUN_INSET_EDIT
2077 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2079 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2081 * lyxfind.[Ch]: complete overhaul
2082 * BufferView_pimpl.C:
2084 * paragraph.[Ch] (insert): add
2086 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2090 * text.C: remove dead spellcheck code
2092 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * dispatchresult.h: add a val setter
2096 * cursor.C (dispatch): use a tempvar for data_[i]
2098 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2100 * PosIterator.[Ch]: compile fix
2102 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2104 * text.C (cursorPar): deactivate the cursor cache
2106 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2108 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2110 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * text3.C (dispatch): adjust for new DisptchResult semantics.
2114 * lyxfunc.C (dispatch): handle update when return from
2115 Cursor::dispatch, adjust for new DispatchResult semantics.
2117 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2118 DispatchResult(true) mean to not update. Add class functions for
2119 setting dispatched and update, as well as reading.
2121 * cursor.C (dispatch): don't handle update here
2123 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2126 * trans_mgr.C: adjust
2128 * paragraph_funcs.C (readParToken): exception safety
2130 * lyxvc.h: store the vcs pointer in a scoped_ptr
2133 * lyxsocket.C (serverCallback): exception safety
2135 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2137 * ispell.C (clone): make it return a auto_ptr
2139 * factory.C (createInset): exception safety
2140 (readInset): exception safety
2142 * bufferlist.C (newBuffer): exception safety
2144 * Thesaurus.C (Thesaurus): use initialization for aik_
2146 * MenuBackend.C (expandToc): exception safety.
2148 2003-11-03 André Pönitz <poenitz@gmx.net>
2152 * bufferview_funcs.C: remove getInsetFromId()
2155 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2161 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2163 * PosIterator.C (distance, advance): new
2164 * bufferview_funcs.[Ch] (put_selection_at): new
2165 * iterators.[Ch] (lockPath): new
2167 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2169 * iterators.[Ch] (asPosIterator): added
2170 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2171 * PosIterator.[Ch]: added
2173 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * cursor.C (dispatch):
2178 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2180 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2181 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2182 contructor, add a class function dispatched. Remove operator>=
2184 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * debug.C: only use the default constructor for debugstream
2189 * main.C (main): include debug.h and setup the lyxerr streambuf
2192 2003-10-31 José Matos <jamatos@lyx.org>
2194 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2196 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2197 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2198 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2199 * paragraph_pimpl.C (simpleTeXSpecialC):
2200 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2201 add LatexRunParams argument.
2203 * exporter.C (Export): change call accordingly.
2205 * latexrunparams.h: add new member to take care of the other backends.
2206 2003-10-30 José Matos <jamatos@lyx.org>
2208 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2209 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2210 factorise code for paragraph output.
2212 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2215 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * text3.C (dispatch):
2218 * lyxfunc.C (dispatch):
2219 * cursor.C (dispatch):
2220 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2222 * dispatchresult.h: make the dispatch_result_t ctor explicit
2224 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2227 * buffer.C: small refactoring of docbook stuff
2229 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2234 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2237 operator dispatch_result_t, and operators for == != and >=
2239 * cursor.C (dispatch): adjust for operator dispatch_result_t
2240 removal. comment out call to update
2242 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2244 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2255 * dispatchresult.h: new file, DispatchResult broken out of
2258 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2260 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2262 * text.C (rowBreakPoint): put a hack inside #if 0
2264 2003-10-28 André Pönitz <poenitz@gmx.net>
2268 * paragraph_funcs.C:
2271 * text2.C: general cleanup (lots of small stuff)
2273 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2275 * text2.C (cursorEnd): simple fix to the "end key goes to one
2276 before the end on last row" bug
2278 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2280 * text.C (backspace): fix the "zombie characters"
2282 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2284 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2286 2003-10-27 André Pönitz <poenitz@gmx.net>
2288 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2290 * factory.C: handle new InsetPagebreak, InsetLine
2292 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2293 and move handling into new InsetPagebreak, InsetLine
2295 * BufferView_pimpl.C:
2297 * ParagraphParameters.C:
2298 * ParameterStruct.h:
2303 * paragraph_funcs.C:
2304 * paragraph_pimpl.C:
2310 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2313 * lyxrow_funcs.[Ch]:
2319 * text3.C: remove lastPos uses in favour of Row::endpos
2321 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2323 * undo.C (performUndoOrRedo): fix two crashes by setting a
2324 cursor by hand and reordering some calls. Use bv->lockInset instead
2325 of inset->edit because the latter loses cursor information
2327 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2329 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2331 (rowBreakPoint): fix width. change point to point + 1.
2332 Add a missing check.
2334 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2337 * lyxfunc.C: fix (at least partly) the problems
2338 with the Nav menu and headers inside branch insets
2341 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2343 * paragraph.C (getChar): add strong asserts
2345 * lyxrow_funcs.C (lastPos): remove hideous hack
2347 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2348 (fill): adjust to that (avoid an infinite loop)
2350 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2352 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2354 2003-10-23 André Pönitz <poenitz@gmx.net>
2356 * RowList_fwd.h: change list<> to vector<> to gain speed
2357 after suggestion from Alfredo
2359 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2361 * lyxtext.h: move the bidi stuff from here...
2364 * Bidi.[Ch]: ... to here
2366 2003-10-23 André Pönitz <poenitz@gmx.net>
2369 * text.C (isLastRow, isFirstRow): new functions
2371 * paragraph.h: new width cache member
2373 * rowpainter.C: replace RowList::iterator with Row & where possible
2375 * lyxfunc.C: replace several view()->text with a single call
2377 * toc.C: fix 'unused' warning
2379 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2382 when woring with stream::pos_type
2383 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2385 2003-10-22 André Pönitz <poenitz@gmx.net>
2388 * text.C: use Row & instead of RowList::iterator
2390 * lyxrow.h: rename end() to endpos()
2396 2003-10-22 Angus Leeming <leeming@lyx.org>
2398 * buffer.[Ch] (fully_loaded): new member function, returning true
2399 only when the file has been loaded fully.
2400 Used to prevent the premature generation of previews and by the
2401 citation inset to prevent computation of the natbib-style label.
2403 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2404 templates are all set up.
2406 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2408 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2410 * text.C: fixed an "oops" in the "is a bit silly"
2413 2003-10-21 André Pönitz <poenitz@gmx.net>
2415 * FuncStatus.[Ch]: small stuff, whitespace
2417 * lyxfont.[Ch]: operator<<() for debug reasons
2421 * lyxtext.h: whitespace, spelling
2423 * paragraph.C: naming of variables
2426 * text2.C: small stuff
2429 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2431 * text.C: (1) finish off the inset display() work;
2432 (2) fix the "is a bit silly" bug (accessing char
2435 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2437 * text.C: re-introduce display() for insets, fixing the
2438 various bugs (stretch of line above, math inset
2441 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * text.C (rightMargin): remove spurious semicolon
2445 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2448 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2450 * text3.C: fix one crash due to wrong cursor def
2452 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * vc-backend.C (scanMaster): make the regex static
2456 * LaTeX.C (scanAuxFile): make the regexs static
2458 * text3.C (doInsertInset, dispatch, dispatch):
2459 * text2.C (cursorUp, cursorDown):
2460 * text.C (selectNextWordToSpellcheck):
2461 * BufferView_pimpl.C (dispatch):
2462 * lyxfunc.C (dispatch): localDispatch -> dispatch
2464 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2466 * lyxsocket.C: include <cerrno>
2468 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * lyxfunc.C (dispatch): remove textcache stuff
2472 * bufferlist.C (release): remove textcache stuff
2475 * TextCache.C: delete file
2476 * TextCache.h: delete file
2478 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2480 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2481 delete of the bv_->text.
2482 (resizeCurrentBuffer): remove texcache stuff
2483 (workAreaResize): ditto
2485 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2490 2003-10-16 André Pönitz <poenitz@gmx.net>
2497 * text3.C: speed up by storing y positions per paragraph plus per-row
2498 offset instead of having a 'full' y position in the row.
2500 2003-10-15 André Pönitz <poenitz@gmx.net>
2504 * undo.[Ch]: make undo aware of inner insets
2506 2003-10-14 Angus Leeming <leeming@lyx.org>
2508 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2509 static member functions LyX::ref() and LyX::cref.
2510 (lastfiles): new accessor functions for the new lastfiles_ member var.
2511 (addLyXView, views_): add a new LyXView to the list of views_.
2512 (updateInset): loop over all LyXViews to call their own updateInset
2513 member function, returning a pointer to the Buffer owning the inset.
2515 * BufferView_pimpl.C (loadLyXFile):
2516 * MenuBackend.C (expandLastfiles):
2517 * bufferlist.C (MenuWrite, QuitLyX):
2518 lastfiles is no longer a global variable.
2519 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2521 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2522 static function. Access through LyX::cref().emergencyCleanup().
2524 2003-10-14 André Pönitz <poenitz@gmx.net>
2526 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2528 * undo.[Ch]: restoring part of 'undo in insets'
2531 * undo_funcs.[Ch]: merge with undo.[Ch]
2533 * tabular.C: small cleansing stuff
2535 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2537 * paragraph_funcs.C (readParToken): report unknown insets as error
2538 boxes. Use the outer paragraph as location (also for unknown
2541 * factory.C (readInset): do not abort on reading an unknown inset.
2542 Eat it and return 0.
2544 2003-10-13 Angus Leeming <leeming@lyx.org>
2546 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2548 * lyxrc.C: displayTranslator is now a function,
2549 declared in GraphicsTypes.h.
2551 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2553 * format.C: new placeholder $$a to pass the socket address.
2555 * bufferlist.[Ch]: new function getBufferFromTmp.
2557 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2558 files in the temporary dir.
2560 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2562 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2564 * Makefile.am: add lyxsocket.[Ch].
2566 * lyx_main.C (error_handler): handle SIGPIPE.
2568 2003-10-13 André Pönitz <poenitz@gmx.net>
2570 * BufferView_pimpl.C:
2575 * undo_funcs.[Ch]: use paroffset_type instead of
2576 ParagraphList::iterators to prevent multiple conversion
2577 (and get a more robust interface)
2579 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2583 * text3.C (dispatch): ditto
2585 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2588 move the onlyfile, use onlyfile instead of foundfile in a couple
2591 * DepTable.C (update): flush the error stream a bit more
2593 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * lyxserver.C (callback): adjust
2597 * lyxfunc.C (getStatus): add a missing brace in commented code
2598 (ensureBufferClean): reindent
2599 (dispatch): delete version taking a string
2601 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * LaTeX.C (deplog): move found file handlig from here...
2604 (handleFoundFile): .. to new function here.
2605 (deplog): make sure to discover several files mentioned on the
2608 2003-10-10 André Pönitz <poenitz@gmx.net>
2615 * text3.C: fix some of the tabular crashes
2617 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2619 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2621 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2623 2003-10-09 André Pönitz <poenitz@gmx.net>
2625 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2628 * BufferView_pimpl.C:
2629 * bufferview_funcs.C:
2640 * undo_funcs.C: adjust
2642 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * text2.C (incrementItemDepth): new function, use a backtracking
2645 algorithm to discover the correct item depth.
2646 (resetEnumCounterIfNeeded): new function, use a backtracking
2647 algorithm to discover if counter reset is needed.
2648 (setCounter): use them. Simplify a bit. Add different labels for
2649 different item depths for itemize.
2651 * paragraph.C (Paragraph): remove initialization of enumdepth
2654 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2655 enumerate and itemize. Change the type of itemdepth to signed char.
2657 2003-10-08 André Pönitz <poenitz@gmx.net>
2659 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2664 * tabular.[Ch]: fix crash after 'row-insert'
2666 2003-10-08 Angus Leeming <leeming@lyx.org>
2668 Fix doxygen warnings.
2670 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2671 Remove CutAndPaste:: prefix from header file declaration.
2673 * LColor.h (fill): remove LColor:: prefix from declaration.
2675 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2676 use lyx::depth_type rather than Paragraph::depth_type so that
2677 header file and .C file match.
2679 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2681 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2682 * aspell.C: \file aspell_local.C -> \file aspell.C
2683 * gettext.C: \file gettext.C -> \file src/gettext.C
2684 * gettext.h: \file gettext.h -> \file src/gettext.h
2685 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2686 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2687 * text.C: \file text.C -> \file src/text.C
2689 * toc.C: move comment so that doxygen is not confused.
2691 2003-10-07 Angus Leeming <leeming@lyx.org>
2693 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2695 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2698 * aspell_local.h: add forgotten std::string's.
2700 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2707 * text3.C: The Box patch. Fancybox support, minipage, parbox
2709 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2715 * ParagraphParameters.h:
2725 * lyxtextclasslist.h:
2728 * paragraph_pimpl.C:
2729 * textcursor.h: add <string> and other small fixes to make Lars'
2730 std::string patch compile with STLport.
2732 2003-10-06 Angus Leeming <leeming@lyx.org>
2734 * LColor.h: Add missing #include <string>.
2736 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * All most all file in all subdirs: Make <string> be the prefered
2739 way of getting to std::string, add using declarations.
2741 2003-10-06 André Pönitz <poenitz@gmx.net>
2743 * metricsinfo.C: initialize LyXFont before changing attribute.
2744 (fixes the 'math in \emph is upright' bug)
2746 2003-10-06 André Pönitz <poenitz@gmx.net>
2748 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2750 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2753 * paragraph_pimpl.C: Small fixes to build using STLport
2755 2003-10-02 André Pönitz <poenitz@gmx.net>
2758 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2760 2003-10-01 André Pönitz <poenitz@gmx.net>
2762 * factory.C: assert early
2764 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * lyx_main.C: remove the global debug object
2768 * debug.h: adjust for new debugstream
2770 * debug.C: adjust for new debugstream and keep the global debug
2773 2003-09-22 Angus Leeming <leeming@lyx.org>
2775 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2776 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2777 an incomplete class LyXFont.
2779 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2781 * factory.C: bug fix in branches
2783 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * lyxfunc.C (processKeySym): adjust
2787 (dispatch): change arg name from ev to func, adjust
2788 (sendDispatchMessage): ditto
2790 * lyx_main.C (defaultKeyBindings): adjust keybindings
2791 (deadKeyBindings): ditto
2793 * kbsequence.C (addkey): return a FuncRequest
2795 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2797 * kbmap.C (bind): take a FuncRequest as arg, adjust
2800 (defkey): change to take a FuncRequest as arg, adjust
2801 (findbinding): take a FuncRequest as arg, adjust.
2803 * funcrequest.h (operator=): added
2805 * funcrequest.C (FuncRequest): default kb_action changed from
2806 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2808 * buffer.C (dispatch): simplify
2809 (dispatch): adjust to take a FuncRequest as arg, adjust
2811 * boost.C (assertion_failed): change assertion message slightly
2813 * ToolbarBackend.C (read): simplify
2815 * MenuBackend.C (binding): adjust call to findbinding, add a
2816 message if no binding is found.
2818 (expandToc): correct by adding a empty FuncRequest
2820 * LyXAction.C: include <boost/assert.hpp>
2821 (isPseudoAction): delete function
2822 (LookupFunc): change name to...
2823 (lookupFunc): this. change return type to FuncRequest.
2824 (getActionName): take kb_action as arg, simplify
2825 (funcHasFlag): add an assert, simplify.
2827 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * toc.C (action): return a FuncRequest, simplify
2831 * lyxfunc.C (processKeySym): adjust
2832 (getStatus): delete version that takes an int.
2834 (dispatch): delete version that takes action as int
2836 (sendDispatchMessage): simplify and adjust
2838 * funcrequest.C (getArg): take unsigned int as arg
2840 * ToolbarBackend.C (read): adjust
2841 (add): delete version that takes func as a string.
2842 (getIton): take a FuncRequest as arg
2844 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2847 * MenuBackend.C (MenuItem): add a new construct that only takes a
2848 Kind, simplify the constructor use for submenus.
2850 (expandLastfiles): adjust
2851 (expandDocuments): adjust
2852 (expandFormats): adjust
2853 (expandFloatListInsert): adjust
2854 (expandFloatInsert): adjust
2855 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2857 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2858 Remove class variables lyx_pseudo_map and lyx_arg_map
2860 * LyXAction.C (searchActionArg): delete function
2861 (getPseudoAction): delete function
2862 (retrieveActionArg): delete function
2863 (LookupFunc): make it return kb_action, simplify.
2864 (getActionName): simplify
2866 * factory.C (createInset): fix new bug
2868 2003-09-19 Angus Leeming <leeming@lyx.org>
2870 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2871 masterFilename_ parameter in the include inset.
2873 * factory.C (createInset): changes due to the changes to InsetInclude.
2875 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2877 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2879 2003-09-18 Angus Leeming <leeming@lyx.org>
2882 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2883 Inset::fillWithBibKeys.
2884 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2886 2003-09-18 Angus Leeming <leeming@lyx.org>
2888 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2890 (ctor): pass and store a 'Buffer const &'
2891 (buffer): new member function.
2893 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2894 '*this' to the LaTeXFeatures ctor.
2896 2003-09-18 Angus Leeming <leeming@lyx.org>
2902 * text.C: rename EnumLColor as LColor_color.
2904 2003-09-18 Angus Leeming <leeming@lyx.org>
2906 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2907 remove #include "insets/insetbase.h" from cursor.h.
2909 2003-09-18 Angus Leeming <leeming@lyx.org>
2911 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2912 InsetOld_code to remove #include "inset.h".
2914 * iterators.C: add #include "insets/inset.h"
2916 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2918 * BufferView.C: remove more locking stuff that apparently doesn't
2919 do anything sensible.
2921 2003-09-16 André Pönitz <poenitz@gmx.net>
2924 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2927 2003-09-16 Angus Leeming <leeming@lyx.org>
2929 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2931 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2934 * paragraph.h: remove #include "lyxfont.h". Forward declare
2937 2003-09-16 Angus Leeming <leeming@lyx.org>
2939 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2940 of support/textutils.h.
2941 (isWord): move the contents of support/textutils.h's IsWordChar here.
2947 * text2.C: add #include "paragraph.h".
2950 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2952 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * LaTeX.C: use namespace alias for lyx::support::os
2960 2003-09-16 Angus Leeming <leeming@lyx.org>
2963 * bufferview_funcs.C:
2966 * paragraph_pimpl.C:
2968 * text.C: add #include "LColor.h".
2970 2003-09-16 Angus Leeming <leeming@lyx.org>
2972 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2973 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2975 Store the FontBits::color variable as an int rather than as an
2976 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2979 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2980 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2981 string calls together.
2983 * lyxrc.C: add #include "LColor.h".
2985 2003-09-15 Angus Leeming <leeming@lyx.org>
2987 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2990 2003-09-15 Angus Leeming <leeming@lyx.org>
2992 * LColor.h: add an EnumLColor wrapper for LColor::color.
2994 * lyxfont.[Ch] (color, setColor, realColor):
2995 * lyxtext.h, text.C (backgroundColor):
2996 pass EnumLColor args to/from the functions, rather than LColor::color
3000 * lyxtext.h: forward declare EnumLColor.
3002 * lyx_main.C: add #include "LColor.h".
3004 2003-09-15 Angus Leeming <leeming@lyx.org>
3006 * .cvsignore: add lyx-gtk.
3008 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * ParagraphParameters.C
3017 * bufferview_funcs.C
3027 * vc-backend.C: remove usage of STRCONV
3029 2003-09-15 Angus Leeming <leeming@lyx.org>
3031 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3032 explicitly define the color passed to the painter.
3034 2003-09-15 Angus Leeming <leeming@lyx.org>
3036 * bufferparams.C (BufferParams): reorder member initializers to avoid
3039 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3041 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3042 * text.C (updateRowPositions): remove an unusual nop
3044 2003-09-12 André Pönitz <poenitz@gmx.net>
3046 * BufferView_pimpl.C:
3055 * Counters.[Ch]: finish the 'automatic counters' job
3057 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3059 * aspell.C: include <boost/assert.cpp> (compile fix)
3061 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3063 * boost.C (assertion_failed): use lyx::support::abort instead of
3066 2003-09-10 Angus Leeming <leeming@lyx.org>
3068 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3069 with their _fwd progeny.
3071 2003-09-09 Angus Leeming <leeming@lyx.org>
3073 134 files throughtout the source tree: replace 'using namespace abc;'
3074 directives with the appropriate 'using abc::xyz;' declarations.
3076 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3078 * boost.C (emergencyCleanup): moved here from LAssert.c
3079 (assertion_failed): new function, called by BOOST_ASSERT
3081 * several files: change Assert to BOOST_ASSERT
3083 2003-09-09 Angus Leeming <leeming@lyx.org>
3085 * buffer.[Ch]: Add an Impl class and move Buffer's member
3086 variables into it. As a result move several header files out of
3089 Add header files to lots of .C files all over the tree as a result.
3091 2003-09-09 Angus Leeming <leeming@lyx.org>
3093 * buffer.[Ch]: make Buffer's member variables private. Add
3096 Lots of changes all over the tree as a result.
3098 2003-09-08 Angus Leeming <leeming@lyx.org>
3100 * graph.C: #include <config.h>.
3102 2003-09-08 Angus Leeming <leeming@lyx.org>
3106 * BufferView_pimpl.C:
3135 * toc.C: remove redundant using directives.
3137 2003-09-07 Angus Leeming <leeming@lyx.org>
3139 * LaTeXFeatures.h: remove #include "support/types.h".
3140 * ToolbarBackend.h: remove #include <algorithm>.
3141 * changes.h: remove #include <ctime>.
3142 * debug.h: remove #include <iosfwd>.
3143 * graph.h: remove #include "support/std_string.h".
3144 * lyx_main.h: remove #include <csignal>.
3145 * lyxlex_pimpl.h: remove #include <fstream>.
3146 * sgml.h: remove #include <algorithm>, <utility>.
3147 * toc.h: remove #include "support/std_ostream.h".
3148 Add #include <iosfwd>.
3150 2003-09-07 Angus Leeming <leeming@lyx.org>
3152 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3154 * converter.h: forward declare LatexRunParams.
3155 * encoding.h: remove #include "lyxrc.h".
3156 * lyxtext.h: remove #include "LColor.h".
3157 * lyxtextclass.h: remove #include "support/types.h".
3158 * trans.h: remove #include "tex-accent.h".
3159 * trans_mgr.h: remove #include "tex-accent.h".
3160 * insets/inset.h: remove #include "support/types.h", <vector>.
3161 * insets/insetcollapsable.h: remove #include "LColor.h".
3162 * insets/insetinclude.h: remove #include "dimension.h".
3163 * insets/insetlatexaccent.h: remove #include "dimension.h".
3164 * insets/insetoptarg.h:: remove #include "insettext.h".
3165 * insets/insettext.h: remove #include "dimension.h",
3166 <boost/shared_ptr.hpp>
3168 * insets/renderers.h: add #include "dimension.h".
3169 * insets/updatableinset.h: add #include "support/types.h".
3171 * many .C files: Associated changes.
3173 2003-09-06 Angus Leeming <leeming@lyx.org>
3175 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3176 one, inside testInvariant.
3178 * PrinterParams.C: new file.
3179 * PrinterParams.[Ch]: move the function bodies out of line.
3181 2003-09-06 Angus Leeming <leeming@lyx.org>
3183 * ParagraphParameters.h: forward declare ParameterStruct rather than
3184 including its header file.
3185 (depth): moved out-of-line.
3187 2003-09-06 Angus Leeming <leeming@lyx.org>
3189 * BufferView_pimpl.h:
3192 * lyxfunc.h: forward declare LyXKeySym rather than
3193 #include "frontends/LyXKeySym.h".
3195 * BufferView_pimpl.C:
3198 * lyxfunc.C: associated changes.
3200 2003-09-06 Angus Leeming <leeming@lyx.org>
3202 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3203 As a result, can remove the #include "insets/inset.h" from BufferView.h
3205 2003-09-06 Angus Leeming <leeming@lyx.org>
3207 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3208 As a result, can remove the #include "insets/inset.h" from BufferView.h
3210 2003-09-06 Angus Leeming <leeming@lyx.org>
3216 * bufferview_funcs.C:
3217 * BufferView_pimpl.C:
3222 * ParagraphParameters.C:
3227 * frontends/controllers/ControlDocument.C:
3228 * insets/insetcaption.C: rearrange the #includes into some sort of
3231 * buffer.h: remove #includes ErrorList.h, undo.h
3233 2003-09-06 Angus Leeming <leeming@lyx.org>
3235 * support/types.h: add a 'depth_type' typedef, used to store the
3236 nesting depth of a paragraph.
3239 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3240 defining explicitly.
3243 * paragraph_funcs.h:
3244 * ParagraphParameters.h:
3245 * sgml.h: use lyx::depth_type rather than Paragraph or
3246 ParameterStruct's depth_type.
3249 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3252 * BufferView_pimpl.C:
3254 * ParagraphParameters.C:
3257 * bufferview_funcs.C:
3264 * frontends/LyXView.C:
3265 * frontends/controllers/ControlDocument.C:
3266 * frontends/controllers/ControlErrorList.C:
3267 * insets/insetbibitem.C:
3268 * insets/insetbranch.C:
3269 * insets/insetcaption.C:
3270 * insets/insetcollapsable.C:
3271 * insets/insetenv.C:
3272 * insets/insetert.C:
3273 * insets/insetfloat.C:
3274 * insets/insetfoot.C:
3275 * insets/insetfootlike.C:
3276 * insets/insetnewline.C:
3277 * insets/insetquotes.C:
3278 * insets/insettabular.C:
3279 * insets/insettext.C:
3280 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3282 * frontends/controllers/ControlChanges.C: #include "changes.h".
3284 2003-09-06 Angus Leeming <leeming@lyx.org>
3286 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3287 than #including paragraph.h.
3290 * RowList.h: deleted. Superfluous.
3300 * insets/insettext.h: use ParagraphList_fwd.h rather than
3303 * paragraph.h: don't forward declare ParagraphList.
3306 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3307 rather than ParagraphList.h. paragraph.h is still needed for the
3308 Paragraph::depth_type parameters.
3310 * textcursor.h: enable it to compile stand-alone in light of the
3313 * bufferview_funcs.C:
3325 * frontends/controllers/ControlParagraph.C:
3326 * frontends/controllers/ControlTabular.C:
3327 * insets/insetmarginal.C:
3328 * insets/insetminipage.C:
3329 * insets/insetnote.C:
3330 * insets/insetoptarg.C: add header files needed to compile again.
3332 2003-09-06 Angus Leeming <leeming@lyx.org>
3334 * RowList_fwd.h: new file, forward-declaring Row rather than
3335 #including lyxrow.h.
3340 * insets/insettext.h: use it instead of RowList.h
3342 * bufferview_funcs.C:
3349 * text3.C: #include "RowList.h".
3351 2003-09-05 Angus Leeming <leeming@lyx.org>
3353 * factory.C (createInset):
3354 * vspace.C (c-tor): replace sscanf call with an istringstream.
3355 * ispell.C: re-add missing HP/UX headers.
3356 * lyxserver.C: re-add missing os2 headers.
3358 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3367 * text3.C: re-add missing system headers, needed for 2.95.2.
3369 2003-09-05 Angus Leeming <leeming@lyx.org>
3371 Changes most place everywhere due to the removal of using directives
3372 from support/std_sstream.h.
3374 2003-09-05 Angus Leeming <leeming@lyx.org>
3376 Replace LString.h with support/std_string.h,
3377 Lsstream.h with support/std_sstream.h,
3378 support/LIstream.h with support/std_istream.h,
3379 support/LOstream.h with support/std_ostream.h.
3381 Changes resulting throughout the tree.
3383 2003-09-05 Angus Leeming <leeming@lyx.org>
3385 * sgml.h: ensure that the header file can be compiled stand-alone.
3386 * *.C: strip out redundant #includes. (320 in total.)
3388 2003-09-04 Angus Leeming <leeming@lyx.org>
3390 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3391 here (from getPackages).
3393 * debug.[Ch]: add a new EXTERNAL tag.
3395 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3397 * text2.C (cursorEnd): simplify
3399 (getColumnNearX): adjust
3401 * text.C (computeBidiTables): adjust
3404 * rowpainter.C (paintChars): adjust
3405 (paintSelection): adjust
3406 (paintChangeBar): adjust
3409 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3411 (numberOfSeparators): adjust
3413 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3419 * text3.C: Restricts the mouse click functionality
3420 of insets like bibtex, include, toc and floatlist to the visible
3421 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3422 up the dialogs. Cursor has to be in front of the inset (i.e.
3423 start of row) for this to function.
3425 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3427 * bufferview_funcs.C (currentState): output row information
3429 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3431 * bufferview_funcs.C (currentState): output paragraph position
3433 2003-09-04 Angus Leeming <leeming@lyx.org>
3435 * FloatList.h: move out #include "Floating.h".
3436 * LaTeX.h: move out #include "DepTable.h".
3437 * LyXAction.h: move out #include "funcrequest.h".
3438 * buffer.h: move out #include "author.h", "iterators.h".
3439 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3440 * lyx_main.h: move out #include "errorlist.h".
3441 * lyxfunc.h: move out #include "FuncStatus.h".
3442 * lyxtext: move out #include "lyxcursor.h".
3443 * paragraph_pimpl.h: move out #include "counters.h".
3445 2003-09-03 Angus Leeming <leeming@lyx.org>
3447 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3448 preamble_snippets list, enabling us to add snippets to the preamble
3449 only if the snippet was not there already.
3451 2003-09-04 Angus Leeming <leeming@lyx.org>
3453 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3455 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3460 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3462 * BranchList.C: point fix, earlier forgotten
3464 2003-09-02 Angus Leeming <leeming@lyx.org>
3466 * box.C (contains): renamed from 'contained' after a fantastic
3469 2003-09-02 John Levon <levon@movementarian.org>
3475 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3477 2003-09-02 John Levon <levon@movementarian.org>
3479 * text2.C: simplification of cursorEnd(), including partial
3482 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * buffer.C (readFile): add a space
3486 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3488 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3490 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * buffer.C (readFile): new function, take a filename and a
3493 ParagraphList::iterator
3495 (readFile): adjust, make it private. don't use setStream, make
3496 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3497 always contain the filename.
3499 * BufferView.C (insertLyXFile): simplify and make it work for
3502 2003-08-30 John Levon <levon@movementarian.org>
3504 * Makefile.am: fix dist (from Kayvan)
3506 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * most files: change to use const Buffer refs
3510 2003-08-27 André Pönitz <poenitz@gmx.net>
3512 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3513 on top of ownerPar().
3515 2003-08-27 John Levon <levon@movementarian.org>
3517 * funcrequest.C: properly initialise POD members
3519 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3521 * lyxtext.h (top_y): move top_y from here
3526 * BufferView_pimpl.[Ch]: to here
3527 * frontends/screen.C:
3528 * insets/insettabular.C:
3529 * insets/insettext.C: adjust
3530 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3532 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3535 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3537 2003-08-26 André Pönitz <poenitz@gmx.net>
3539 * paragraph_func.[Ch] (outerPar): new function
3542 * paragraph_funcs.C:
3543 * paragraph_funcs.h:
3544 * paragraph_pimpl.C:
3545 * text2.C: remove Inset::par_owner
3547 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3552 * text2.C: eliminates the needFullRow/display() stuff
3553 altogether, putting the logic in metrics/draw in the insets.
3555 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3557 * text2.C (redoParagraphInternal, redoParagraphs):
3558 * text.C (redoParagraph): add a call to updateRowPositions at the
3559 end of each 'metrics-like' call. Remove all others.
3560 (getRow): remove the 'y-computing' version.
3561 (getRowNearY): do not compute nor return the real y. Solve the
3562 'y < 0' problem and simplify.
3564 2003-08-22 Angus Leeming <leeming@lyx.org>
3566 * *.[Ch]: clean-up of licence and author blurbs.
3567 Also move config.h out of a few .h files and into a few .C files.
3569 2003-08-22 André Pönitz <poenitz@gmx.net>
3571 * lyxrow.[Ch]: add x_ and *fill_ members
3576 * text2.C: adjust/remove prepareToPrint() calls
3578 2003-08-22 André Pönitz <poenitz@gmx.net>
3580 * lyxrow.[Ch]: add end_ member
3582 * lyxrow_funcs.C: use LyXRow::end_
3584 * lyxtext.h (singleWidth): add LyXFont parameter
3587 * text2.C: adjust LyXText::singleWidth() calls
3589 * text.C (redoParagraph): simplify row breaking logic
3592 2003-08-19 André Pönitz <poenitz@gmx.net>
3594 * funcrequest.C: initialize button_ member
3597 * rowpainter.[Ch]: interface consolidation
3599 2003-08-18 André Pönitz <poenitz@gmx.net>
3602 * BufferView_pimpl.C:
3604 * paragraph_funcs.C:
3606 * text3.C: remove LyXScreen::draw() and fitCursor calls
3608 * BranchList.h: remove spurious semicolons
3610 * MenuBackend.C: fix branchlist related crash
3612 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3620 * bufferparams.[Ch]:
3624 * text3.C: implements the 'branch inset'
3625 idea. This allows the output of various versions of a document
3626 from a single source version, selectively outputing or suppressing
3627 output of parts of the text.
3628 This implementation contains a 'branch list editor' in a separate
3629 tab of the document settings dialog. Branches are user definable
3630 and have a "display colour" to distinguish them on-screen.
3632 ColorHandler was somewhat cleaned up.
3633 (1) make possible a dynamically growing LColor list by allowing
3634 the graphic context cache to grow along (vector);
3635 (2) eliminate an IMHO unnecessary step in colour allocation.
3637 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3639 * BufferView_pimpl.C: compile fix
3641 2003-08-15 André Pönitz <poenitz@gmx.net>
3643 * rowpainter.C: remove extra metrics calls
3645 * lyxtext.h: merge the two constructors into a single one,
3646 pass reference to owner's par list
3648 * BufferView_pimpl.C:
3652 2003-08-15 André Pönitz <poenitz@gmx.net>
3654 * lyxrow_funcs.[Ch]:
3657 * paragraph_funcs.C:
3662 * text_funcs.C: split LyXText::rowlist_ into individual
3663 Paragraph::rows_ chunks
3666 * BufferView_pimpl.[Ch]:
3669 * text3.C: remove toggleSelection()
3671 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3673 * bufferlist.C: beautify two alerts (shorter text of buttons)
3674 * buffer.C: Remove redundant ' ' from message
3676 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3677 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3678 rename VALIGN_CENTER to VALIGN_MIDDLE
3680 2003-08-11 André Pönitz <poenitz@gmx.net>
3682 * lyxtext.h (getPar):
3683 * text.C: new function
3685 2003-08-11 André Pönitz <poenitz@gmx.net>
3688 * tracer.[Ch]: remove unneeded files
3690 * InsetList.[Ch]: remove resizeInsetsLyXText()
3695 * text3.C: merge insertParagraphs() and appendParagraph()
3696 remove breakAgain(), update()
3698 * BufferView_pimpl.[Ch]:
3699 * bufferview_funcs.[Ch]:
3703 * tabular.C: adjust after text & InsetList changes.
3705 2003-08-08 André Pönitz <poenitz@gmx.net>
3707 * text.C (insertChar, backspace): replace rowlist fiddling
3708 with rebreak of full par
3711 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3712 checkParagraph, updateInset): removed
3714 2003-08-07 André Pönitz <poenitz@gmx.net>
3717 * text3.C: merge some LFUN handlers, remove dead code
3719 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3721 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3723 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3725 * text2.C (DEPM): fix part of bug 1255 and 1256
3727 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3729 * BufferView_pimpl.C (workAreaDispatch): change to use
3730 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3731 that are no mouse related.
3733 2003-08-05 André Pönitz <poenitz@gmx.net>
3736 * BufferView_pimpl.[Ch]:
3737 * bufferview_funcs.C:
3739 * text3.C: rip out "deep update"
3741 * textcursor.[Ch] (last_sel_cursor): remove unused member
3743 2003-08-04 André Pönitz <poenitz@gmx.net>
3746 * BufferView_pimpl.[Ch]:
3747 * ParagraphParameters.C:
3748 * bufferview_funcs.C:
3754 * text3.C: replace "complicated" BufferView::update(...) calls with
3757 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3759 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3761 * Makefile.am (lyx_SOURCES): add paper.h
3763 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3765 * Makefile.am: move things around so that both lyx-qt and
3766 lyx-xforms can be built (according to --with-frontend). Then lyx
3767 is a symbolic link to lyx-[firstfrontend]
3769 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3771 * Always use std::endl with lyxerr
3773 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3775 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3777 2003-08-01 André Pönitz <poenitz@gmx.net>
3780 * BufferView_pimpl.[Ch]:
3782 * text3.C: merge BufferView::repaint() and BufferView::update()
3784 2003-08-01 José Matos <jamatos@lyx.org>
3786 * buffer.[Ch]: file_format is no longer a buffer data element.
3788 2003-08-01 André Pönitz <poenitz@gmx.net>
3793 * text2.C: make redoParagraph more independent of current cursor
3795 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3797 * text2.C: remove unneeded members
3799 2003-07-30 André Pönitz <poenitz@gmx.net>
3801 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3803 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3804 create a single function...
3806 * paragraph_funcs.C (moveItem): ... here.
3809 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3811 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3813 * LColor.[Ch]: Add comment and greyedout logical colors.
3815 2003-07-30 André Pönitz <poenitz@gmx.net>
3817 * tabular.C: don't use Assert too heavily. This crashes where it
3820 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3822 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3823 is disabled (bug 1232)
3825 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3827 * factory.C: limited 'arg' scope
3829 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3831 * factory.C: fixed Note submenu issues
3833 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3835 * factory.C: submenu for Note/Comment/Greyedout
3837 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3840 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3842 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3845 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3846 greyedout. Patch provided by Jürgen Spitzmüller.
3848 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3850 * kbmap.C (read): fix error message when reading bind files
3852 2003-07-29 Angus Leeming <leeming@lyx.org>
3854 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3855 certainly does not do what it purports to do. I am doing it, and
3856 us, a favour by killing it.
3858 2003-07-28 José Matos <jamatos@lyx.org>
3860 * buffer.C (readBody, do_writeFile):
3861 * paragraph.C(readParagraph): \end_document replaces \the_end.
3863 2003-07-29 André Pönitz <poenitz@gmx.net>
3866 * BufferView_pimpl.[Ch]:
3870 * textcursor.[Ch]: remove toggleToggle & Co
3872 2003-07-28 José Matos <jamatos@fep.up.pt>
3874 * buffer.C (readParagraph):
3875 * params_func (readParToken, readParagraph):
3876 * paragraph.C (write): \layout -> \begin_layout.
3878 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * lyxlex_pimpl.C (setFile): clean up slightly.
3882 * bufferparams.h: add compressed var
3884 * buffer_funcs.C (readFile): adjust for LyXLex change
3885 (newFile): ditto + simplify
3887 * buffer.C (writeFile): handle writing of compressed files
3889 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3890 Check if the file is compressed and set a bufferparm if so.
3892 * Makefile.am (lyx_LDADD): remove explicit -lz
3894 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3896 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3897 makeDocBookFile): put the real LyX version in the first line of
3901 * version.C.in: remove lyx_docversion
3903 * tabular.C (write_attribute): add a template-based version to
3904 write enums properly
3906 2003-07-28 André Pönitz <poenitz@gmx.net>
3911 * text3.C: use doubles again for x-coordinates. They are needed.
3913 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * messages.C (getLocaleDir): use lyx_localedir()
3917 * lyxlex_pimpl.C (setFile): compress stuff
3919 * buffer.C (writeFile): add some compression stuff
3920 (do_writeFile): new func, dont call expliti close... will this
3923 * Makefile.am (lyx_LDADD): add -lz
3925 2003-07-28 José Matos <jamatos@fep.up.pt>
3927 * buffer.C: increment file format.
3928 * paragraph_funcs (readParagraph, readParToken):
3929 * paragraph.C (readParagraph): add \end_layout.
3931 2003-07-27 Angus Leeming <leeming@lyx.org>
3933 * Makefile.am: remove special casing for configure-time setting of
3934 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3936 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3937 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3939 2003-07-26 André Pönitz <poenitz@gmx.net>
3941 * paragraph_func.[Ch]:
3942 * paragraph.C (realizeFont): inline it whereever it is used
3947 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3950 2003-07-26 André Pönitz <poenitz@gmx.net>
3954 * text2.C: get rid of LyXText::need_break_row
3956 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * toc.[Ch]: put namespace toc inside namespace lyx
3960 * MenuBackend.C (expandToc2): adjust for lyx::toc
3963 * lyxfunc.C (dispatch): adjust for lyx::find
3965 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3966 lyx::find instead. Reorganize a bit.
3967 (LyXReplace): rename to replace
3968 (LyXFind): rename to find
3970 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3973 2003-07-26 André Pönitz <poenitz@gmx.net>
3975 * text.C (setHeightOfRow): restrict scope of temporary variable
3977 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3978 code (never has been used?)
3980 2003-07-27 Asger Alstrup <alstrup@local>
3982 * text.C (fill): Optimise algorithm to exploit that we can reuse
3983 the LyXFont for many characters.
3984 (setHeightOfRow): Same thing.
3985 (rowBreakPoint): Same thing.
3987 2003-07-26 Asger Alstrup <alstrup@local>
3989 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3991 * text.C (singleWidth): Spurious font copying in hot-spot
3992 singleWidth avoided. Reorder tests for arabic for efficiency.
3994 * text.C (fill): handle empty paragraphs better.
3996 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3999 * encoding.h: add includes
4001 * lyxrc.C: remove reading of bind files
4003 * lyx_main.C (init): setup bindings and menus only if we have a
4006 * kbmap.C (read): new method. Do the actual reading of bind
4009 * converter.C (dvipdfm_options):
4012 (output): adapt PAPER_* enums.
4014 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4016 * bufferparams.h: remove paper-related enums from there
4018 * paper.h: New file. A trivial header file to hold paper-related
4019 enums. It should later expand to contain many paper-related
4022 * lyxrc.C: declare extern displayTranslator
4024 2003-07-27 José Matos <jamatos@fep.up.pt>
4026 * tabular.[Ch] (linuxdoc): add support for tables and figures
4029 2003-07-27 José Matos <jamatos@fep.up.pt>
4031 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4032 consistency in both functions.
4033 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4035 2003-07-26 Asger Alstrup <alstrup@local>
4037 * rowpainter.C (paintRows): Change algorithm to work directly on
4038 the insets rather than asking every character in the document
4039 whether its an inset.
4041 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4043 * buffer.C (openFileWrite): factorize some code
4045 2003-07-26 Angus Leeming <leeming@lyx.org>
4048 * lyx_main.[Ch]: replace occurances of system_tempdir with
4051 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * rename Inset to InsetOld
4055 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4057 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4058 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4059 which I think is a bit clearer. EDIT is gone, since it was
4060 premature optimisation, and broken for mathed anyway.
4061 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4062 with cursor positioning in insets as well (math insets still do not
4063 work, but that's a different story anyway.) It mysteriously
4064 crashes sometimes with undo in the first paragraph, but I'm fairly
4065 confident that this is a compiler bug.
4067 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * paragraph.C (Paragraph): adjust for new clone return type
4071 (copyIntoMinibuffer): ditto
4073 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4075 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4076 by not having a special case, and always doing a full rebreak of
4077 the document after undo.
4079 2003-07-23 Angus Leeming <leeming@lyx.org>
4081 * factory.C (createInset): InsetExternal::setParams now takes a
4084 2003-07-23 Angus Leeming <leeming@lyx.org>
4086 * factory.C (createInset): changed interface to the external and
4087 graphics mailers' string2params functions.
4089 2003-07-23 Angus Leeming <leeming@lyx.org>
4091 * factory.C (createInset): pass a
4092 Buffer const * parameter to InsetExternalMailer's string2params.
4094 2003-07-22 John Levon <levon@movementarian.org>
4096 * Thesaurus.h: include the right aiksaurus header
4098 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4100 * MenuBackend.C (expand): check menu shortcuts unconditionally
4102 2003-07-21 Angus Leeming <leeming@lyx.org>
4104 * factory.C (createInset): pass a
4105 buffer_path parameter to InsetGraphicsMailer's string2params.
4107 2003-07-21 Angus Leeming <leeming@lyx.org>
4109 * BufferView_pimpl.C (buffer):
4112 * lyxfunc.C (dispatch):
4113 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4114 rather than the grfx shortcut.
4116 2003-07-21 André Pönitz <poenitz@gmx.net>
4118 * rowpainter.C: remove unused variables
4121 * tabular_funcs.h: move to tabular.C
4122 * Makefile.am: adjust
4124 * tabular.[Ch]: basic optical cleaning
4126 * author.h: pass references, not values
4128 2003-07-18 André Pönitz <poenitz@gmx.net>
4136 * text3.C: two-phase drawing for InsetText and InsetTabular
4137 some float -> int changes.
4139 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4141 * lyx_main.C: fix the fix
4143 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4145 * lyx_main.C: fix a crash in batch mode if no files specified
4148 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4150 * format.[Ch] (papersize): moved to BufferParams
4151 * converter.[Ch] (dvips_options): moved to BufferParams
4152 (dvipdfm_options): moved to anon namespace
4153 * bufferparams.[Ch]: added above functions.
4155 2003-07-17 André Pönitz <poenitz@gmx.net>
4159 * text2.C: don't call inset->update() anymore
4161 * metricsinfo.[Ch]: add convenience constructor
4163 2003-07-16 André Pönitz <poenitz@gmx.net>
4168 * text2.C: replace the LyXCursor::irow_ member with
4169 on-demand computation of the value
4171 2003-07-16 John Levon <levon@movementarian.org>
4173 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4175 2003-07-15 André Pönitz <poenitz@gmx.net>
4178 * text2.C: remove no more needed refresh_row
4180 2003-07-15 André Pönitz <poenitz@gmx.net>
4185 * text3.C: refresh_status tristate -> need_update bool
4187 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4189 * lyxtext.h (init): remove reinit argument (act as if always true)
4190 * text2.C: adjust to that
4192 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4194 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4195 * text3.C: use it to delete selections in some cases
4196 (bugs 441, 673, 702, 954).
4198 2003-07-14 André Pönitz <poenitz@gmx.net>
4200 * rowpainter.[Ch]: reduce interface
4202 2003-07-14 André Pönitz <poenitz@gmx.net>
4204 * BufferView_pimpl.C:
4205 * text2.C: adjust after removing unused BufferView * argument
4207 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4209 * text2.C (init): fix a crash fired on resize
4211 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4213 * buffer.[Ch]: added new closing signal
4214 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4215 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4216 BufferView::Pimpl via the closing the signal
4218 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4220 * buffer.[Ch]: take out all bv-related from buffer
4222 * BufferView_pimpl.[Ch]: connect to new signals
4223 * CutAndPaste.C: removed useless asserts
4224 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4227 * lyxfunc.C: moved view-related funciontality from vc here
4228 * paragraph.C: removed outdated comments
4231 2003-07-10 André Pönitz <poenitz@gmx.net>
4233 * BufferView_pimpl.C:
4237 * text2.C: remove InsetText::InnerCache, clean up consequences
4239 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4241 * ispell.C: fix two typos in error messages
4243 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4245 * Extend Note inset to other forms of annotation like Comment
4246 and Greyedout. Right button click gives dialog.
4248 Files modified or added (+):
4252 * ControlNote.[Ch] +
4254 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4255 frontends/controllers
4259 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4261 * aspell.C: add missing namespace lyx::support
4263 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4265 * BufferView.[Ch] (newFile): Add
4266 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4267 * LaTeX.[Ch] (message): added this signal and use it
4268 * buffer.[Ch] (busy, message): added these signals and use them
4269 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4273 * importer.C: use buffer signals instead of direct bv calling
4274 * lyx_cb.[Ch] (ShowMessage): removed
4277 * paragraph_funcs.C:
4278 * text2.C: use buffer signals
4280 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * introduce namespace lyx::graphics
4284 2003-07-02 André Pönitz <poenitz@gmx.net>
4286 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4288 2003-07-01 André Pönitz <poenitz@gmx.net>
4295 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4296 text*.C to text_func.C
4298 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * introduce namespace lyx::support
4302 2003-06-30 André Pönitz <poenitz@gmx.net>
4307 * text.C: re-enable --with-included-string
4309 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4311 * textcursor.C: add <config.h>
4313 * text.C (getWord): remove const from word_location arg
4315 * lyxvc.C (getLogFile): fix const type order
4317 * lyxtext.h: remove const from word_location arg, add arg name
4319 * lyxlayout.h: currect type on labeltype.
4321 * importer.C: correct \file
4323 * converter.C (intToFormat): use std:: on ret val, ws changes
4325 * bufferlist.h: correct \file
4327 * buffer.C (makeLinuxDocFile): fix const type order
4328 (makeDocBookFile): ditto
4329 (fillWithBibKeys): use std:: on stdlib args.
4331 * CutAndPaste.C: fix authors.
4332 (availableSelections): use std:: on return vector
4334 2003-06-27 André Pönitz <poenitz@gmx.net>
4336 * BufferView_pimpl.C:
4337 * bufferview_funcs.C:
4345 * text3.C: remove LyXCursor::row_ member
4348 * text.C: rename fullRebreak() to partialRebreak() and implement
4349 a fullRebreak() that really bereks fully
4351 * textcursor.h: new struct for cursor-related data
4353 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4355 * lyx_main.C (LyX): get full path of document loaded on the
4358 2003-06-26 André Pönitz <poenitz@gmx.net>
4360 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4361 remove unused/broken operator>,<,>=.
4363 * text.C: remove only use of broken operator<= in an Assert().
4365 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4367 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4368 moved errorlist_.clear to showErrorList
4370 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4372 * converter.C (scanLog, runLaTeX):
4373 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4374 move the bv->showErrorList call to the callers
4375 * lyxfunc.C: i.e. here...
4377 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4378 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4379 namespace, the second to...
4380 * buffer_funcs (BufferFormat, parseErrors): added
4381 * errorlist.C (ErrorList(TeXErrors const &)): removed
4383 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4385 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4387 2003-06-24 "Garst R. Reese" <reese@isn.net>
4391 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4393 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4395 * version.C.in: change docversion to 1.4
4397 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4399 * buffer.C: fix a bug just introduced
4401 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4403 * buffer.[Ch]: added the parseError signal and use it, removed
4405 * BufferView.[Ch] (addError): moved to ...
4406 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4407 to the Buffer::parseError signal to catch (guess what) parse errors
4408 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4410 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4412 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4413 ability to create a buffer and to return an existing one from
4414 the list. Moved these functions to...
4415 * buffer_funcs.[Ch]: added
4416 * BufferView.[Ch] (loadLyXFile): added
4417 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4418 job removed from bufferlist::loadLyXFile.
4419 * buffer.C (setReadOnly): make it work without view
4420 (i.e added an if (users))
4422 2003-06-19 Angus Leeming <leeming@lyx.org>
4425 * LyXAction.C (init):
4426 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4427 with LFUN_DIALOG_SHOW <name> <data>.
4429 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4431 * CutAndPaste.C (availableSelections): small compilation fix for
4432 ancient (gcc 2.9x) compilers
4434 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * text3.C (cursorNext): add tmp var
4438 * text2.C (updateCounters): for function calling out of for clause
4439 (replaceSelectionWithString): ditto
4440 (insertStringAsParagraphs): ditto
4441 (getColumnNearX): add tmp var
4442 (setCursorFromCoordinates): add tmp var
4443 (cursorDownParagraph): add tmp var
4444 (deleteEmptyParagraphMechanism): add tmp var
4446 * text.C (insertChar): add tmp var
4448 * rowpainter.C (paintDepthBar): add tmp var
4450 * CutAndPaste.C (availableSelections): potentially check all
4451 paragraphs in a cut to fill the shown strings.
4453 2003-06-18 André Pönitz <poenitz@gmx.net>
4455 * kbmap.[Ch]: use vector<> instead of list<>
4457 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4459 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4460 pasteSelection with index
4462 * text2.C (pasteSelection): modify, call pasteSelection with index
4464 * paragraph.C (asString): reimplement version with no interval to
4465 call the one with interval.
4467 * lyxtext.h: add index arg to pasteSelection
4469 * MenuBackend.C (MenuItem): handle PasteRecent
4470 (Menu::read::Menutags): add md_pasterecent
4472 (expandPasteRecent): new function
4475 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4477 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4479 (availableSelections): new function
4481 2003-06-17 Angus Leeming <leeming@lyx.org>
4483 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4485 2003-06-17 Angus Leeming <leeming@lyx.org>
4488 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4490 * lyxfunc.C (dispatch): invoke it.
4492 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4494 * iterators.C (operator++, ParPosition): reintroduce some
4495 const_cast for the benefit of older compilers.
4497 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4499 * text3.C (dispatch): do not modify clipboard when doing
4500 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4501 LFUN_DELETE_SKIP on a selection selection
4503 2003-06-16 André Pönitz <poenitz@gmx.net>
4509 * tabular.[Ch]: IU of clone() and getLabelList();
4511 2003-06-13 André Pönitz <poenitz@gmx.net>
4513 * tabular.h: compactification
4515 2003-06-12 André Pönitz <poenitz@gmx.net>
4519 * tabular_funcs.h: some renaming plus whitespace
4521 2003-06-12 André Pönitz <poenitz@gmx.net>
4524 * BufferView_pimpl.C:
4530 * toc.C: Return a Paragraph & for ParIterator::operator*()
4532 2003-06-11 John Levon <levon@movementarian.org>
4536 * ToolbarBackend.C: add "Toolbars" section and
4539 2003-06-10 Angus Leeming <leeming@lyx.org>
4542 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4544 * lyxfunc.C (dispatch): invoke it.
4546 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * main.C: protect <ios> with HAVE_IOS
4549 (main): protect sync_with_stdio with HAVE_IOS
4551 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4553 * text2.C (cutSelection): adjust
4554 (pasteSelection): adjust
4556 * messages.C: handle get of empty string
4558 * main.C (main): use sync_with_stdio(false)
4560 * lyxfunc.C (dispatch): adjust
4562 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4563 (WriteAs): remove unneeded BufferView arg.
4565 * bufferparams.h: use correct types on papersize, papersize2 and
4568 * bufferparams.C (readToken): adjust for type
4569 (writeLaTeX): add missing cases to switch.
4571 * bufferlist.C (quitWriteBuffer): adjust
4574 * buffer.C (asciiParagraph): remove some commented code.
4576 * CutAndPaste.C: remove current_view extern variable.
4577 (cutSelection): add BufferParams arg.
4578 (eraseSelection): add BufferParams arg.
4579 (pasteSelection): add Buffer const & arg
4581 2003-06-07 John Levon <levon@movementarian.org>
4584 * paragraph_funcs.C:
4585 * paragraph_pimpl.C:
4589 * paragraph.C: allow InsetERT to freely space lines,
4590 and some consolidation of code
4592 2003-06-06 José Matos <jamatos@fep.up.pt>
4594 * buffer.C (makeDocBookFile): fix bug #821
4596 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4598 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4600 2003-06-04 Angus Leeming <leeming@lyx.org>
4602 * buffer.C: bump format to 224.
4604 2003-06-05 André Pönitz <poenitz@gmx.net>
4606 * text2.C (redoParagraphs): remove two const_cast<>
4608 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4610 * ParagraphList.h: remove last remnants of NO_STD_LIST
4612 2003-06-03 Angus Leeming <leeming@lyx.org>
4614 * factory.C (createInset): small change to the way InsetExternal's params
4617 2003-06-04 André Pönitz <poenitz@gmx.net>
4619 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4621 * paragraph_pimpl.h:
4622 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4624 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4626 * undo_funcs.C: make some simple cases of undo work again
4628 2003-06-03 John Levon <levon@movementarian.org>
4630 * ispell.C: HPUX doesn't have sys/select.h
4633 2003-06-03 John Levon <levon@movementarian.org>
4635 * CutAndPaste.C: update tabular and include inset
4640 * paragraph.C: remove owningBuffer(), don't pass Buffer
4643 * factory.C: insetGraphicsParams changed
4645 2003-06-02 John Levon <levon@movementarian.org>
4651 * text3.C: remove insetparent
4653 2003-06-02 John Levon <levon@movementarian.org>
4656 * buffer.C: fix inset_iterator.end(), move out of line
4659 2003-06-01 John Levon <levon@movementarian.org>
4661 * text3.C: use a proper cut/paste when doing inset
4662 insert (from Jürgen Spitzmüller)
4664 2003-06-01 John Levon <levon@movementarian.org>
4666 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4668 2003-05-30 André Pönitz <poenitz@gmx.net>
4670 * rowpainter.C: unify second drawing phase
4672 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * trans_mgr.C: remove one case of current_view
4676 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4678 * paragraph_funcs.h: remove paragraph.h include
4680 * paragraph.h: delete NO_STD_LIST stuff
4682 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4684 * buffer.h: remove paragraph.h include
4686 * ParagraphList.C: delete file
4688 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4690 * toc.C (getTocList): adjust
4692 * paragraph_pimpl.C (validate): adjust
4694 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4696 * paragraph.C (Paragraph): adjust
4697 (getPositionOfInset): use const_iterator, adjust
4698 (bibitem): use const_iterator, adjust
4699 (setInsetOwner): adjust
4701 * iterators.C (operator++): adjust
4703 * InsetList.[Ch]: Replace selfmade iterator with standard
4704 vector::iterator also introduce const_iterator. Remove getPos,
4705 getInset and setInset from InsetTable. Adjust accordingly.
4707 * BufferView.C (lockInset): adjust
4708 (ChangeInsets): adjust
4710 * tabular.[Ch]: delete commented same_id functions
4712 2003-05-28 John Levon <levon@movementarian.org>
4714 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4716 2003-05-28 André Pönitz <poenitz@gmx.net>
4718 * metricsinfo.[Ch]: remove 'fullredraw' member
4720 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4722 * lyxtextclass.C (operator): remove caching.
4724 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * text2.C (cursorBottom): adjust
4729 (setCounter): use ParagraphList::find, adjust
4731 * text.C (workWidth): use ParagraphList::find, adjust
4733 * lyxcursor.C (LyXCursor): adjust
4735 * buffer.C (inset_iterator): adjust
4737 * ParagraphList.h: make iterator(value_type) private, make
4738 ParagraphList a friend of iterator.
4740 * ParagraphList.C (find): new function
4742 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4744 2003-05-27 André Pönitz <poenitz@gmx.net>
4746 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4748 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4750 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4752 2003-05-26 John Levon <levon@movementarian.org>
4754 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4756 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * remove same_id from function signatures, adjust.
4760 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4764 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4766 * paragraph.C (Paragraph): get rid of same_ids parameter
4768 * ParagraphList.C (insert): adjust
4771 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * paragraph_funcs.C (breakParagraph): adjust
4774 (breakParagraphConservative): adjust
4776 * buffer.C (readParagraph): adjust
4778 * ParagraphList.C (insert): take a reference instead of a pointer
4781 * paragraph.[Ch] (id): new function
4783 * bufferlist.C (newFile): adjust
4785 * ParagraphList.C (ParagraphList): adjust
4787 (push_back): take a reference instead of a pointer.
4789 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4791 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4794 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4795 set else use old code.
4797 * ParagraphList.C: remove all NO_NEXT code and only compile this
4798 code of NO_STD_LIST is set.
4800 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4802 * BufferView_pimpl.C:
4812 * graphics/GraphicsConverter.C:
4813 * graphics/PreviewLoader.C: header adjustment
4815 2003-05-23 Angus Leeming <leeming@lyx.org>
4817 * LaTeXFeatures.[Ch] (useBabel): new method.
4818 * bufferparams.C (writeLaTeX): use it.
4820 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * ParagraphList.h (set): remove unused function.
4824 2003-05-23 André Pönitz <poenitz@gmx.net>
4827 * BufferView_pimpl.C:
4831 * undo_funcs.C: setUndo reworked
4833 * iterators.[Ch]: add access to topmost ParagraphList
4835 * lyxtext.[Ch] (workWidth): add a const
4837 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4839 * texrow.[Ch] (increasePos): remove function
4840 * exporter.C (export): removed unused var and outdated comment
4842 2003-05-23 Angus Leeming <leeming@lyx.org>
4844 * latexrunparams.h: rename fragile as moving_arg.
4845 * paragraph.C (simpleTeXOnePar): ditto.
4846 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4848 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4852 (textUndoOrRedo): comment out a currently unused var.
4854 * paragraph.h (NO_NEXT): enable NO_NEXT
4856 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4858 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4860 * exporter.C (Export): adjust for removeAutoInsets removal.
4862 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4864 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4866 * BufferView.[Ch] (removeAutoInsets): delete function
4868 2003-05-22 Angus Leeming <leeming@lyx.org>
4870 * latexrunparams.h: add a free_spacing variable.
4872 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4873 to pass moving_arg, as the data is stored in runparams.fragile.
4875 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4876 to Inset::latexOptional or to simpleTeXOnePar.
4878 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4879 free_spacing arg to Inset::latexOptional.
4881 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4884 2003-05-22 Angus Leeming <leeming@lyx.org>
4886 * latexrunparams.h: add fragile and use_babel variables.
4888 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4889 * buffer.C (makeLaTeXFile): store this returned value in
4890 runparams.use_babel, thus passing it to the inset::latex methods.
4892 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4893 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4895 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4896 longer has a fragile arg, as it is stored in runparams.fragile.
4898 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4899 moving_arg parameter as the data is stored in runparams.fragile.
4901 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4902 a fragile parameter as the data is stored in runparams.fragile.
4904 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4908 2003-05-22 Angus Leeming <leeming@lyx.org>
4910 * latexrunparams.h: add a 'bool nice' which defaults to false.
4912 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4913 now encapsulated within runparams.
4915 * bufferlist.C (updateIncludedTeXfiles):
4916 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4918 2003-05-22 Angus Leeming <leeming@lyx.org>
4920 * latexrunparams.h: new file containing struct LatexRunParams.
4921 * Makefile.am: add new file.
4923 * LaTeX.[Ch] (c-tor, run):
4924 * buffer.[Ch] (makeLaTeXFile):
4925 * bufferlist.[Ch] (updateIncludedTeXfiles):
4926 * converter.C (convert, scanLog):
4927 * converter.[Ch] (runLaTeX):
4928 * exporter.C (Export):
4929 * paragraph.[Ch] (simpleTeXOnePar):
4930 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4931 * paragraph_funcs.[Ch] (latexParagraphs):
4932 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4933 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4934 pass around a LatexRunParams parameter.
4936 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * paragraph.[Ch]: remove unused constructor
4940 * ParagraphList.C (erase): new function, taking two iterators
4942 2003-05-22 André Pönitz <poenitz@gmx.net>
4944 * undo_funcs.C: remove duplicated code
4946 * iterator.[Ch]: operator=
4948 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4950 * tabular.C (SetMultiColumn): ws changes
4952 * rowpainter.C (paintFirst): get rid of a ->previous
4954 * lyx_cb.C (getPossibleLabel): parlist simplification
4956 * BufferView.C (ChangeInsets): simplify slightly.
4958 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4960 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4961 * lfuns.h: new LFUN_SPACE
4962 * lyxfunc.C: protected space has a new lfun
4963 * paragraph_funcs.C: read new space insets
4965 * factory.C: handle new space insets
4967 2003-05-22 André Pönitz <poenitz@gmx.net>
4970 * BufferView_pimpl.C:
4973 * undo_funcs.C: return a ParIterator from getParFromID.
4975 * iterators.[Ch]: add two const's
4977 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * toc.C (getTocList): adjust
4981 * iterators.[Ch]: rework for parlist
4983 * buffer.C (par_iterator_begin): adjust
4984 (par_iterator_end): adjust
4986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4988 * BufferView.C (removeAutoInsets): adjust
4989 (ChangeInsets): adjust
4991 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4993 * text.C (top_y): fix bug 1110
4995 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4997 * errorlist.[Ch]: added
5000 * BufferView_pimpl.C:
5001 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5004 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * Makefile.am: ensure that lyx is relinked upon changes to the
5007 various "convenience" libs.
5009 2003-05-20 Angus Leeming <leeming@lyx.org>
5011 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5012 files are compiled in alphabetical order again.
5014 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5016 2003-05-19 Angus Leeming <leeming@lyx.org>
5018 * gettext.[Ch]: remove "char const * _(char const *)".
5020 2003-05-19 André Pönitz <poenitz@gmx.net>
5022 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5031 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5033 2003-05-19 André Pönitz <poenitz@gmx.net>
5037 * lyxtextclass.[Ch]:
5039 * paragraph_funcs.[Ch]:
5041 * text3.C: more insetenv work
5043 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5045 * ParagraphParameters.C (params2string): small bug fixed
5047 2003-05-16 André Pönitz <poenitz@gmx.net>
5050 * bufferview_funcs.C: patch from Kornel Benko to prevent
5051 crash when _(...) is called twice in a statement
5053 2003-05-16 André Pönitz <poenitz@gmx.net>
5060 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5062 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5064 * lyx_main.C (init): remove spurious static_cast
5066 2003-05-14 André Pönitz <poenitz@gmx.net>
5068 * BufferView.C: fix format string
5070 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5072 * BufferView.[Ch] (insertErrors): removed
5073 * BufferView.[Ch] (showErrorList): added
5074 * buffer.C (runChkTeX):
5075 * converter.C (scanLog): call showErrorList instead of inserterrors
5077 2003-05-13 André Pönitz <poenitz@gmx.net>
5079 * BufferView_pimpl.C:
5081 * bufferview_func.C:
5088 * tabular_funcs.h: tostr() from its own header
5090 * ParagraphParameters.C:
5095 * text3.C: STRCONV()
5097 2003-05-12 André Pönitz <poenitz@gmx.net>
5100 * BufferView_pimpl.C:
5104 * ParagraphParameters.C:
5108 * bufferview_funcs.C:
5121 * paragraph_funcs.C:
5125 * text3.C: boost::format -> bformat all over the place
5128 2003-05-09 André Pönitz <poenitz@gmx.net>
5130 * LColor.[Ch]: Pimpl the #include <map> away
5132 2003-05-09 John Levon <levon@movementarian.org>
5134 * bufferlist.C: never remove emergency saves
5136 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * Makefile.am: better lib building
5140 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5144 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5145 (simpleTeXSpecialChars): adjust
5146 (simpleTeXSpecialChars): adjust
5147 * paragraph.C (simpleTeXOnePar): adjust
5148 * buffer.C (makeLaTeXFile): adjust
5150 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5152 * text2.C (changeDepth): parlist cleanup
5153 (getColumnNearX): ditto
5155 * rowpainter.C (getLabelFont): parlist cleanup
5157 * bufferlist.C (newFile): parlist cleanup
5159 * CutAndPaste.C (eraseSelection): parlist cleanup
5161 * BufferView_pimpl.C (trackChanges): parlist cleanup
5164 * BufferView.C (lockInset): parlist cleanup.
5165 (ChangeInsets): ditto
5167 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * CutAndPaste.h: Update file header.
5171 * CutAndPaste.C: Update file header.
5172 Store the parts cut out of the Document in a limited_stack.
5173 (copySelection): adjust
5174 (pasteSelection): new function, takes the index in the limited stack.
5175 (nrOfParagraphs): adjust
5176 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5177 simplify error inset insertion.
5178 (checkPastePossible): adjust
5180 2003-05-06 John Levon <levon@movementarian.org>
5182 * text2.C: don't cast wrap inset to float
5184 2003-05-05 André Pönitz <poenitz@gmx.net>
5187 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5189 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5190 few naked Paragraph *.
5192 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5194 * bufferparams.C: Output warning if a document with missing
5195 TeX document class is loaded
5196 * exporter.C: Disable TeX exports if the document class is missing
5199 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5200 isTeXClassAvailable()
5202 2003-05-03 John Levon <levon@movementarian.org>
5205 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5206 explicit cursor show/hide
5208 * BufferView_pimpl.h:
5209 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5210 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5212 * lyxfunc.C: hide cursor before dispatching.
5217 * text3.C: remove explicit cursor hides
5219 2003-05-02 André Pönitz <poenitz@gmx.net>
5221 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5224 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5227 * text2.C: tiny whitespace
5229 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * undo_funcs.C: almost only ws changes.
5233 * ParagraphList.C (splice): just return if pl is empty.
5235 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * ParagraphList.C (splice): new function.
5239 * CutAndPaste.C (pasteSelection): use it
5241 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * CutAndPaste.C (pasteSelection): remove the last next and
5244 previous from this file.
5246 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * CutAndPaste.C (pasteSelection): more clean up, user proper
5249 ParagraphList functions for pasteing.
5251 * ParagraphList.C (insert): new function, three arg insert
5253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * ParagraphList.C (insert): new function, three arg insert
5257 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5260 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5264 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5268 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5271 (copySelection): clean up a bit.
5272 (pasteSelection): use make_pair
5274 * ParagraphList.C (ParagraphList): implement copy constructor
5275 (operator=): implement, base on copy constructor.
5278 * paragraph.C (erase): return a bool
5280 * paragraph_pimpl.C (erasePos): remove function, move contents...
5281 (erase): ... here. Return a bool.
5282 (erase): call erase instead of erasePos.
5284 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5286 * ParagraphList.h: define PitPosPair
5287 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5288 ParagraphList, fix a bug on pasting multiple pars
5289 * text2.C: change interface to C&P
5291 2003-04-30 André Pönitz <poenitz@gmx.net>
5293 * undo_func.C: revert part of yesterday's patch 2
5295 2003-04-30 John Levon <levon@movementarian.org>
5297 * LColor.C: s/tabular/table/
5299 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * text3.C (dispatch): do not convert iterator -> pointer
5302 * undo_funcs.C (setCursorParUndo): ditto
5303 * text_funcs.C (transposeChars): ditto
5305 * text2.C (setLayout): ws changes only
5307 * text.C (breakParagraph): do not convert iterator -> pointer
5309 (acceptChange): ditto
5310 (rejectChange): ditto
5315 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5318 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5320 * text3.C (gotoInset): YABG (yet another bad getChar)
5322 2003-04-29 André Pönitz <poenitz@gmx.net>
5324 * paragraph.h: make operator= private unimplemented as long as
5327 * ParagraphList.C: whitespace
5330 * paragraph_pimpl.[Ch]:
5331 * paragraph_funcs.C:
5333 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5336 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5338 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5340 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5341 * paragraph.[Ch] (erase):
5342 * paragraph_pimpl.[Ch] (erase): change return type and value
5343 * text2.C (cutSelection): some rework
5345 2003-04-28 John Levon <levon@movementarian.org>
5347 * bufferlist.C: changes for unsaved changes dialog
5349 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * bufferlist.C (newFile): set language (messages_) for new
5354 * buffer.C (readFile): ws changes only.
5356 2003-04-28 André Pönitz <poenitz@gmx.net>
5361 * BufferView_pimpl.C:
5362 * BufferView.C: getParFromID related ParagraphList::iterator changes
5364 2003-04-28 André Pönitz <poenitz@gmx.net>
5366 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5369 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * messages.C: remove one more localedir class variable.
5373 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * messages.C (getLocaleDir): singleton generation function
5377 (Messages): add a default constructor.
5379 * main.C (main): do not setup localedir here, do not call
5382 * gettext.C (_): use it.
5383 (gettext_init): delete funciton
5385 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5387 * gettext.C (getLyXMessages): new singleton generating function.
5389 * buffer.C (updateDocLang): adjust
5391 * Makefile.am (messages.o): add target
5392 (main.o): remove target
5394 2003-04-27 John Levon <levon@movementarian.org>
5399 * lyxvc.C: specify cancel button in Alert::prompt
5401 2003-04-26 John Levon <levon@movementarian.org>
5406 * LyXAction.C: add LFUN_INSET_SETTINGS
5408 * lyxfunc.C: don't enable tabular-feature when there's
5409 just any locking inset
5411 2003-04-26 John Levon <levon@movementarian.org>
5413 * bufferlist.C: re-add Cancel to buffer close question
5415 * lyxfunc.C: fix import UI a bit
5417 2003-04-25 John Levon <levon@movementarian.org>
5419 * gettext.C: remove the broken asserts for now
5421 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * messages.C: make case where setlocale cannot comply work better.
5425 * buffer.C (updateDocLang): new function
5426 (changeLanguage): use it
5429 * text2.C (setCounter): use B_ a bit.
5431 * lyxlayout.C (Read): be sure to trim the label strings.
5433 * messages.C (Messages): fix typo in comment
5435 * buffer.C (readFile): set message_ after file is loaded.
5436 (makeDocBookFile): remove double return
5437 (changeLanguage): reset message_ upon language change.
5438 (B_): new func, use this to get translated buffer strings.
5440 * main.C: add myself and Jean Marc as authors.
5442 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * messages.[hC]: pimplify Messages, and three different pimpls to be
5445 used in different circumstances.
5447 * gettext.[Ch]: change for use with new message code.
5449 2003-04-24 André Pönitz <poenitz@gmx.net>
5451 * factory.C: support for eqref
5453 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * messages.[Ch]: add missing char
5457 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5459 * messages.[Ch]: New files
5461 2003-04-18 John Levon <levon@movementarian.org>
5465 * BufferView_pimpl.C:
5469 * text2.C: remove layout-copy/paste (bug 778)
5471 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5473 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5475 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5477 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5478 if they succeed. Act accordingly.
5480 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5482 * text2.C (setCharFont): adjust
5483 (setCounter): adjust
5484 (insertStringAsLines): adjust
5486 * text.C (leftMargin): adjust
5487 (setHeightOfRow): adjust
5489 * rowpainter.C (paintFirst): adjust
5492 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5494 (isFirstInSequence): ditto
5495 (getEndLabel): ditto
5498 * paragraph.C (getParLanguage): comment out some hard stuff.
5500 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5502 (simpleDocBookOnePar): ditto
5503 (makeDocBookFile): use ParagraphList::iterator
5505 * CutAndPaste.C (pasteSelection): adjust
5507 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5509 * text2.C (getFont): adjust
5510 (getLayoutFont): adjust
5511 (getLabelFont): adjust
5513 * paragraph_funcs.C (TeXOnePar): adjust
5515 * buffer.C (simpleLinuxDocOnePar): adjust
5516 (simpleDocBookOnePar): adjust
5518 * CutAndPaste.C (pasteSelection): adjust
5520 * BufferView.C (getEncoding): adjust
5522 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5524 2003-04-16 John Levon <levon@movementarian.org>
5526 * lyxfind.C: use parlist stuff for search/changes
5528 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5532 * text2.C (deleteEmptyParagraphMechanism): adjust
5534 * text2.[Ch] (ownerParagraph): delete func (both of them
5536 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5540 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * ParagraphList.C: prepare for NO_NEXT
5544 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * text2.C (getFont): adjust
5547 (getLayoutFont): adjust
5548 (getLabelFont): adjust
5550 * paragraph.C (getFont): adjust
5551 (getLabelFont): adjust
5552 (getLayoutFont): adjust
5554 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5556 2003-04-15 John Levon <levon@movementarian.org>
5560 * lyx_main.C: handle Include in .ui files
5562 2003-04-15 John Levon <levon@movementarian.org>
5564 * MenuBackend.C: make the doc files length shorter
5567 * ToolbarBackend.C: handle toolbar placement flags,
5570 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5575 * paragraph_funcs.C (TeXOnePar): adjust
5577 * paragraph.C (getLabelFont): add outerfont arg, adjust
5578 (getLayoutFont): ditto
5579 (simpleTeXOnePar): adjust
5581 * paragraph_pimpl.C (realizeFont): delete func
5583 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5585 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5586 row argument, constify cur argument.
5588 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * text2.C (getFont): adjust
5591 (getLayoutFont): adjust
5592 (getLabelFont): adjust
5594 * paragraph_funcs.C (TeXOnePar): adjust
5595 (outerFont): new func...
5596 (realizeFont): ...moved out from here, changed this to facilitate
5599 * paragraph.C (getFont): take outerfont as arg, adjust
5600 (simpleTeXOnePar): add outerfont arg, adjust
5602 * buffer.C (simpleLinuxDocOnePar): adjust
5603 (simpleDocBookOnePar): adjust
5605 * CutAndPaste.C (pasteSelection): adjust
5607 * BufferView.C (getEncoding): adjust
5609 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5611 * text2.C (setCharFont): adjust
5612 (setCounter): adjust
5614 * text.C (leftMargin): adjust
5615 (setHeightOfRow): adjust
5617 * rowpainter.C (paintFirst): adjust
5620 * paragraph_pimpl.C (realizeFont): adjust
5622 * paragraph.C (isFirstInSequence): move from here...
5623 * paragraph_funcs.C (isFirstInSequence): ...to here
5625 * paragraph.C (outerHook): move from here...
5626 * paragraph_funcs.C (outerHook): ...to here
5628 * paragraph.C (depthHook): move from here...
5629 * paragraph_funcs.C (depthHook): ...to here
5631 * paragraph.C (getEndLabel): move from here...
5632 * paragraph_funcs.C (getEndLabel): ...to here
5634 * text2.C (realizeFont): move from here...
5635 * paragraph_funcs.C (realizeFont): ...to here
5637 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5641 2003-04-14 Angus Leeming <leeming@lyx.org>
5643 * LColor.[Ch]: scrap LColor mathcursor.
5645 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5647 * lyxlex.[Ch] (text): delete function
5648 * trans.C (Load): adjust
5649 * paragraph_funcs.C (readParToken): adjust
5651 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5654 vector<char> instead of a char[].
5656 * lyxlex_pimpl.C (getString): adjust
5658 (lex): use getString
5662 * lyxlex.C (text): use pimpl_->getString()
5666 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5669 (makeFontEntriesLayoutSpecific): temp var for par.size()
5670 (setLayout): temp var for ownerParagraphs().end()
5671 (fullRebreak): temp var for rows().end()
5672 (selectionAsString): temp var for boost::next(startpit), realize
5673 that the while really is a regular for loop.
5674 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5675 setCursor in one place.
5676 (setParagraph): temp vr for ownerParagraphs().end()
5677 (updateCounters): make the while loop a for loop
5678 (cutSelection): temp var for ownerParagraphs().end()
5679 (updateInset): make the do {} while() a regular for loop
5680 (getCursorX): use temp vars
5681 (setCurrentFont): use temp vars
5682 (getColumnNearX): use temp vars
5684 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * text.C (transformChar): use temp var for getChar
5687 (computeBidiTables): use temp var for row->par()
5688 (fill): move temp vars for row->par() and pit->layout() earlier in
5690 (labelFill): use temp var for row->par()
5691 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5692 asc and desc, realize that pit never changes and that firstpit is
5693 just a duplicate and not needed. Exchange rit->par() with pit in a
5695 (breakAgain): use a temp var for boost::next(rit)
5696 (breakAgainOneRow): ditto
5697 (breakParagraph): use a temp var for rows().begin()
5698 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5699 (cursorRightOneWord): use temp var for cursor.par() and
5700 cursor.pos(), remove usage of tmpcursor.
5701 (cursorLeftOneWord): use temp var for cursor.par() and
5702 cursor.pos() only set cur at end of function.
5704 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * text.C, text2.C: exchange all usage of Paragraph::next with
5707 boost::next(ParagraphList::iterator)
5709 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5711 * text2.C (cursorTop): simplify implementation
5712 (cursorBottom): ditto
5713 (setParagraph): use ParagraphList::iterator
5714 (setCurrentFont): adjust
5715 (getColumnNearX): adjust
5716 (cursorRight): adjust
5717 (cursorLeft): remove usage of Paragraph::previous
5718 (cursorUpParagraph): ditto
5719 (deleteEmptyParagraphMechanism): slight cleanup
5721 * text.C (isBoundary): take a Paragraph const & instead of a
5723 (addressBreakPoint): ditto
5724 (leftMargin): remove usage of Paragraph::previous.
5725 (setHeightOfRow): ditto
5726 (cursorLeftOneWord): ditto
5727 (selectNextWordToSpellcheck): ditto
5730 (breakParagraph): remove one usage of Paragraph::next
5731 (redoParagraph): ditto
5732 (acceptChange): ditto
5733 (insertChar): adjust
5734 (rowBreakPoint): adjust
5736 * bufferview_funcs.C (toggleAndShow): adjust
5738 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5740 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5741 methods to access it.
5743 * text.C: Added updateRowPositions to compute all row positions.
5744 Make top_y and getRowNearY() to use the cached y position
5746 2003-04-11 John Levon <levon@movementarian.org>
5748 * text.C (rowBreakPoint): reintroduce the labelEnd
5749 checks, code copied from the row fill stuff. Deep voodoo.
5751 * text.C (fill): add a comment and debugging for the
5754 2003-04-11 John Levon <levon@movementarian.org>
5756 * text.C: make sure fullrow insets get wrapped to the next line,
5757 even when they're in a manual label
5759 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * text2.C (insertParagraph): make it take ParagraphList::iterator
5763 (setLayout): make it return ParagraphList::iterator
5764 (redoParagraphs): ditto
5766 (checkParagraph): ditto
5768 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5770 * text2.C: adjust several funcs.
5771 (realizeFont): take a ParagraphList::iterator as arg.
5772 (getLayoutFont): ditto
5773 (getLabelFont): ditto
5774 (setCharFont): ditto
5776 * text.C: adjust several funcs.
5778 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5780 * text.C (selectNextWordToSpellcheck): don't accidentally
5783 2003-04-10 John Levon <levon@movementarian.org>
5785 * ToolbarBackend.C (getIcon): special handling for
5788 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5790 * text2.C (cursorRight): a getChar assert fixed
5792 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * text2.C (getFont): change to take a ParagraphList::iterator
5795 instead of Paragraph*
5796 Adjust several functions.
5798 * text.C (transformChar): change to take a ParagraphList::iterator
5799 instead of Paragraph*
5800 (singleWidth): ditto
5801 Adjust several functions.
5803 * rowpainter.C: adjust several functions
5804 * rowpainter.h:store a ParagraphList::iterator and not a
5808 2003-04-09 John Levon <levon@movementarian.org>
5813 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5814 and the "help" bits as well
5816 2003-04-09 John Levon <levon@movementarian.org>
5819 * ToolbarBackend.C: allow multiple toolbars
5821 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5823 * undo_funcs.C (setCursorParUndo): adjust
5825 * text_funcs.C (transposeChars): adjust
5827 * text3.C (gotoNextInset): adjust
5830 * text2.C (setLayout): adjust
5831 (changeDepth): adjust
5833 (redoParagraphs): adjust
5834 (selectionAsString): adjust
5835 (setParagraph): adjust
5836 (insertInset): adjust
5837 (cutSelection): adjust
5838 (copySelection): adjust
5839 (pasteSelection): adjust
5840 (insertStringAsLines): adjust
5841 (updateInset): adjust
5842 (setCursor): change to take a ParagraphList::iterator parameter
5843 (setCursorIntern): change to take a ParagraphList::iterator parameter
5844 (setCurrentFont): adjust
5845 (cursorLeft): adjust
5846 (cursorRight): adjust
5847 (deleteEmptyParagraphMechanism): adjust
5849 * text.C (breakParagraph): adjust
5850 (insertChar): adjust
5851 (acceptChange): adjust
5852 (rejectChange): adjust
5853 (selectNextWordToSpellcheck): adjust
5854 (changeCase): adjust
5858 * lyxfind.C (SearchForward): adjust
5859 (SearchBackward): adjust
5860 (nextChange): adjust
5862 * lyxcursor.C (par): adjust
5864 * lyxcursor.h: store a ParagraphList::iterator instead of a
5867 * lyx_cb.C (getPossibleLabel): adjust
5869 * bufferview_funcs.C (toggleAndShow): adjust
5871 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5874 * BufferView.C (removeAutoInsets): adjust
5875 (lockedInsetStoreUndo): adjust
5877 2003-04-09 John Levon <levon@movementarian.org>
5879 * ToolbarBackend.C: try icon without argument
5880 if with argument fails
5882 2003-04-08 John Levon <levon@movementarian.org>
5885 * ToolbarBackend.C: add getIcon(), handle tooltip,
5886 and change from "Icon" to "Item".
5888 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5890 * BufferView.C (lockInset): another bad getchar crunched
5892 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5894 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5897 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5899 * lyxfind.C (searchForward, searchBackwards): bug 782
5901 2003-04-07 John Levon <levon@movementarian.org>
5903 * paragraph.C: remove dead comment
5905 * text.C: remove troublesome depth-fiddling code
5906 in leftMargin() and rightMargin() (bug 1017)
5908 * text.C: fix breaking of rows in nested lists
5911 * text2.C (updateCounters): fix up depth values
5914 2003-04-07 John Levon <levon@movementarian.org>
5916 * BufferView_pimpl.C: clear message when doc finishes resizing,
5917 and after a mouse event
5919 * lyxfunc.C: clear message after exiting inset
5921 2003-04-07 John Levon <levon@movementarian.org>
5923 * bufferview_funcs.C: show math status not outside
5924 status in the statusbar
5926 2003-04-07 John Levon <levon@movementarian.org>
5928 * lyxfunc.C: note status changed after a depth change
5930 2003-04-04 Angus Leeming <leeming@lyx.org>
5932 * LaTeX.h: move AuxInfo operator==, != out of line.
5933 Remove LaTeX virtual destructor; nothing derives from it.
5934 Move operator()() out of public area and rename it startscript().
5935 Change protected for private.
5937 2003-04-04 Angus Leeming <leeming@lyx.org>
5940 * text2.C: remove unneeded #includes.
5942 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5944 * text2.C (dEPM): fix the heigth of the next row
5946 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5948 * text.C: squashed an invalid getChar requester + some ws changes
5950 2003-04-03 John Levon <levon@movementarian.org>
5952 * bufferview_funcs.h:
5953 * bufferview_funcs.C:
5956 * text2.C: make getStatus work for the env depth lfuns
5958 2003-04-03 John Levon <levon@movementarian.org>
5960 * bufferview_funcs.h:
5961 * bufferview_funcs.C:
5964 * text2.C: parlistize decDepth(), by merging it with incDepth()
5966 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * lyxrow.h: store a ParagraphList::iterator instead of a
5969 Paragraph* and adjust other class functions to suit.
5971 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5974 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5976 * text2.C (setCursor): do not anchor to cursor row for the time being
5978 2003-04-02 John Levon <levon@movementarian.org>
5985 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5987 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5989 * paragraph.h: make ParagraphList and ParagraphList::iterator
5990 friends of Paragraph.
5992 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5994 * ParagraphList.C: Use the private next_ and previous_ from
5997 2003-04-01 John Levon <levon@movementarian.org>
6001 * Makefile.am: rename, remove defaults gunk
6004 * MenuBackend.C: remove defaults gunk
6007 * Languages.C: remove defaults gunk
6010 * lyx_main.C: error out if files couldn't be found.
6012 2003-04-02 John Levon <levon@movementarian.org>
6014 * text2.C: make incDepth() use parlist
6016 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * undo_funcs.C (firstUndoParagraph): adjust
6020 * text3.C (gotoInset): adjust
6021 (dispatch): adjust, and rewrite loop.
6023 * text2.C (init): adjust, and rewrite loop.
6024 (redoParagraphs): adjust
6025 (updateInset): adjust, and rewrite loop.
6026 (deleteEmptyParagraphMechanism): adjust
6028 * tabular.C (LyXTabular): adjust
6029 (SetMultiColumn): adjust
6032 * lyxtext.[Ch] (ownerParagraph): delete function
6033 (ownerParagraphs): new function returns a ParagraphList.
6035 * BufferView.C (removeAutoInsets): adjust
6036 (insertErrors): adjust
6037 (setCursorFromRow): adjust
6039 2003-04-01 Angus Leeming <leeming@lyx.org>
6041 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6044 2003-04-02 John Levon <levon@movementarian.org>
6050 * text_funcs.C: make transposeChars a free function
6052 * lyxrow_funcs.C: remove wrong comment
6054 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * rowpainter.C: adjust
6062 * lyxrow_funcs. [Ch]: new files
6064 * lyxrow.[Ch]: remove next and previous pointers
6065 (next,previous): remove accessor functions
6066 (isParEnd): move to lyxrow_funcs
6067 (lastPos): move to lyxrow_funcs
6068 (nextRowIsAllInset): move to lyxrow_funcs
6069 (lastPrintablePos): move to lyxrow_funcs
6070 (numberOfSeparators): move to lyxrow_funcs
6071 (numberOfHfills): move to lyxrow_funcs
6072 (numberOfLabelHfills): move to lyxrow_funcs
6073 (hfillExpansion): move to lyxrow_funcs
6077 * bufferview_funcs.C (toggleAndShow): adjust
6079 * RowList.h: Remove class RowList from file leave just a
6082 * RowList.C: delete file
6084 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6087 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * text3.C (cursorPrevious): adjust
6090 (cursorNext): adjust
6093 * text2.C (redoHeightOfParagraph): adjust
6094 (redoDrawingOfParagraph): adjust
6097 * text.C (breakParagraph): adjust
6098 (insertChar): adjust
6101 * rowpainter.C (RowPainter): adjust
6102 (leftMargin): simplify and adjust
6103 (most rowpainter functions): adjust.
6105 * rowpainter.h: store the row as RowList::iterator not as Row*
6107 * lyxcursor.C (row): taka RowList::iterator as arg
6110 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6113 2003-04-01 Angus Leeming <leeming@lyx.org>
6115 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6116 stuff like bool Bool.
6118 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6120 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6123 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6128 * lyxtext.h (rows): drop one version and leve a const variant that
6129 returns a RowList::iterator.
6131 2003-03-31 Angus Leeming <leeming@lyx.org>
6133 * text.C (fill): ensure that the signature is the same as that in the
6136 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * text2.C (redoParagraphs): adjust
6139 (updateCounters): adjust
6140 (checkParagraph): adjust
6141 (getColumnNearX): adjust and reformat a bit.
6143 * text.C (top_y): adjust
6145 (leftMargin): adjust
6146 (prepareToPrint): adjust
6148 (getRowNearY): adjust
6150 * lyxtext.h: make rowlist_ mutable.
6152 * RowList.h: add const_iterator
6153 * RowList.C: adjust for RowList::const_iterator.
6155 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6158 2003-03-31 John Levon <levon@movementarian.org>
6161 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6163 * lyx_main.C: set default fonts from using lyx_gui funcs
6165 * exporter.C: pdf_mode moved from lyxrc
6168 * lyxfunc.C: changes from above
6170 2003-03-31 John Levon <levon@movementarian.org>
6172 * lyx_main.C: fix to the last fix
6174 2003-03-31 John Levon <levon@movementarian.org>
6176 * bufferlist.C: "Load original" -> "Load Original"
6182 * format.C: more Alert cleanups
6184 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * text2.C (removeParagraph): make it take a RowList::iterator as
6188 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6189 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6191 * text.C (anchor_row): make it take a RowList::iterator as arg,
6193 (computeBidiTables): make it take a const reference to Row instead
6194 of Row pointer, adjust.
6195 (leftMargin): make it take a RowList::iterator as arg, adjust.
6196 (rowBreakPoint): adjust
6197 (breakAgainOneRow): make it take a RowList::iterator as arg,
6199 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6201 * bufferview_funcs.C (toggleAndShow): adjust
6203 2003-03-30 John Levon <levon@movementarian.org>
6207 * boost-inst.C: moved to support
6209 * several files: changes as a result
6211 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * text2.C (LyXText): adjust.
6215 (removeRow): make it take a RowList::iterator as arg, adjust.
6216 (fullRebreak): adjust
6217 (deleteEmptyParagraphMechanism): adjust
6218 (clearPaint): adjust
6221 * text.C (top_y): adjust
6222 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6223 (breakAgain): make it take a RowList::iterator as arg, adjust.
6224 (breakParagraph): adjust
6225 (insertChar): adjust
6228 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6229 need_break_row, and refresh_row.
6231 * text3.C (dispatch): adjust
6233 * text2.C (checkParagraph): adjust
6235 (setCursorFromCoordinates): adjust
6237 * text.C (top_y): adjust
6239 (getRow): make it return a RowList::iterator, adjust
6240 (getRowNearY): make it return a RowList::iterator, adjust
6242 * text2.C (init): adjust
6243 (insertRow): remove function
6244 (insertParagraph): adjust
6245 (redoParagraphs): adjust
6246 (fullRebreak): adjust
6247 (updateCounters): adjust
6249 * text.C (top_y): rewrite to use RowList iterators.
6251 (setHeightOfRow): rewrite to sue RowList iterators.
6252 (appendParagraph): adjust
6253 (breakAgain): adjust
6254 (breakAgainOneRow): adjust
6255 (breakParagraph): adjust
6257 (getRowNearY): adjust, and remove commented code.
6259 * lyxtext.h (firstRow): delete function
6260 (lastRow): delete function
6261 (rows): new function (const and non-const versions.)
6262 (insertRow): delete function
6264 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6266 2003-03-29 John Levon <levon@movementarian.org>
6268 * BufferView_pimpl.C: always update scrollbar top
6269 because pasting text when we're anchored could mean we
6270 miss an update altogether
6272 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6274 * text2.C (init): use rowlist_.end() and not 0.
6275 (insertRow): change to take a RowList::iterator as arg, adjust
6277 (insertParagraph): change to take a RowList::iterator as arg,
6279 (redoParagraphs): remove some debug msgs.
6281 * text.C (appendParagraph): change to take a RowList::iterator
6282 arg, adjust for this.
6283 (breakAgain): add an assert
6284 (breakAgainOneRow): ditto
6286 2003-03-29 John Levon <levon@movementarian.org>
6288 * text2.C: do not clear selection after inc/decDepth
6291 2003-03-29 John Levon <levon@movementarian.org>
6294 * buffer.C: fix broken strerrors according to Lars
6296 2003-03-29 John Levon <levon@movementarian.org>
6298 * converters.C: more Alert cleanups
6300 2003-03-29 John Levon <levon@movementarian.org>
6302 * bufferview_funcs.C: remove pointless Alert
6304 * buffer.C: fix confusing error message when
6305 a template is chmoded 000
6307 2003-03-29 John Levon <levon@movementarian.org>
6311 * BufferView_pimpl.C: Alert fixes
6315 * tabular-old.C: remove unused table compat reading
6317 2003-03-29 John Levon <levon@movementarian.org>
6322 * lyx_cb.C: more Alert cleanups
6324 * lyxfunc.C: don't allow chktex if not latex document
6326 2003-03-29 John Levon <levon@movementarian.org>
6330 * buffer.C: warnings pushed down from support/,
6333 2003-03-29 John Levon <levon@movementarian.org>
6335 * lyxfunc.C: safety check for C-r (revert)
6337 2003-03-29 John Levon <levon@movementarian.org>
6340 * bufferlist.C: several UI fixes using Alert::prompt.
6341 Fix the pointless looping quit code. Fix stupid revert
6346 * lyx_cb.C: use Alert::prompt
6348 * lyx_main.C: remove a silly question
6350 * lyxfunc.C: remove a couple of silly questions,
6353 2003-03-28 John Levon <levon@movementarian.org>
6355 * text2.C: fix bug 974 (End on empty par)
6357 2003-03-28 John Levon <levon@movementarian.org>
6359 * BufferView_pimpl.C:
6361 * lfuns.h: remove do-nothing math greek lfuns
6363 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6365 * lyxgluelength.h (isValidGlueLength): add default arg on
6366 parameter 2. Remove default arg from friend in class.
6368 * lyxlength.h (isValidLength): add default arg on parameter 2.
6369 Remove default arg from friend in class.
6371 * text2.C (LyXText): adjust, initialize refresh_row.
6375 (insertParagraph): adjst
6376 (redoParagraphs): adjust
6377 (fullRebreak): adjust
6378 (updateCounters): adjust
6379 (deleteEmptyParagraphMechanism): first attempt at fixing a
6382 * text.C (top_y): adjust
6383 (setHeightOfRow): adjust
6385 (getRowNearY): adjust
6387 * lyxtext.h: include RowList.h
6388 (~LyXText): not needed anymore, deleted.
6389 (firstRow): modify for RowList
6390 (lastRow): new function
6391 Delete firstrow and lastrow class variables, add a Rowlist
6392 rowlist_ class variable.
6394 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6397 * RowList.C (insert): fix case where it == begin().
6399 2003-03-26 Angus Leeming <leeming@lyx.org>
6401 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6402 the thesaurus dialog.
6404 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6408 * RowList.[Ch]: new files
6410 * ParagraphList.C (erase): handle the case where it == begin
6413 2003-03-25 John Levon <levon@movementarian.org>
6417 * aspell.C: add new aspell support
6420 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6423 2003-03-25 Angus Leeming <leeming@lyx.org>
6426 * LyXAction.C (init): new LFUN_INSET_INSERT.
6428 * BufferView_pimpl.C (dispatch): split out part of the
6429 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6431 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6434 2003-03-25 Angus Leeming <leeming@lyx.org>
6436 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6438 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6441 * text3.C: remove useless row->height(0)
6443 2003-03-25 John Levon <levon@movementarian.org>
6447 * text3.C: rename the refreshing stuff to better names
6449 2003-03-24 John Levon <levon@movementarian.org>
6451 * BufferView_pimpl.h:
6452 * BufferView_pimpl.C: update layout choice on a mouse
6455 2003-03-23 John Levon <levon@movementarian.org>
6457 * Makefile.am: fix commandtags.h reference
6459 2003-03-22 John Levon <levon@movementarian.org>
6461 * BufferView_pimpl.C:
6466 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6468 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6471 * text.C: take the rtl methods out of line
6473 2003-03-21 André Pönitz <poenitz@gmx.net>
6475 * metricsinfo.[Ch]: new files containing structures to be passed around
6476 during the two-phase-drawing...
6478 2003-03-21 André Pönitz <poenitz@gmx.net>
6480 * lyxtextclass.C: read 'environment' tag.
6482 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6484 * text2.C (removeRow): fix bug 964
6486 2003-03-20 John Levon <levon@movementarian.org>
6490 * text2.C: paint cleanups. Inset::update() dropped font
6493 2003-03-19 John Levon <levon@movementarian.org>
6495 * lyxfunc.C: only fitcursor/markDirty if available()
6497 2003-03-19 John Levon <levon@movementarian.org>
6499 * commandtags.h: rename to ...
6501 * lfuns.h: ... this, and renumber / cleanup
6503 2003-03-19 John Levon <levon@movementarian.org>
6505 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6506 fit the cursor after an lfun
6510 * BufferView_pimpl.h:
6511 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6513 * LyXAction.C: layout-character should have ReadOnly
6515 * ParagraphParameters.C:
6517 * bufferview_funcs.C:
6524 * undo_funcs.C: changes from above
6526 2003-03-18 John Levon <levon@movementarian.org>
6528 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6529 remove it from update()
6531 * lyxfunc.C: update layout choice after an lfun
6533 * text3.C: remove extra updateLayoutChoice()s
6535 2003-03-18 John Levon <levon@movementarian.org>
6537 * text.C: top_y change means full repaint, fix
6538 a drawing bug with cursor movement
6540 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6544 * text2.C: anchor row on setCursor
6546 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6548 * lyxtext.h: remove almost all mutable keywords
6551 * text3.C: remove const keywords accordingly
6553 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6557 (TeXEnvironment): ditto
6560 2003-03-17 John Levon <levon@movementarian.org>
6562 * text.C (rowBreakPoint): remove attempt to fix displayed
6563 math insets inside a manual label
6565 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * lyxtext.h: remove BufferView* as first arg from almost all class
6569 * other files: adjust.
6571 2003-03-17 John Levon <levon@movementarian.org>
6575 * text2.C: more paint cleanups
6577 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6580 * rowpainter.C: remove "smart" background painting code
6582 2003-03-16 John Levon <levon@movementarian.org>
6587 * text3.C: add helper functions for setting refresh_row/y
6589 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6591 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6592 newline inset which *can* get inserted in the pass_thru layouts.
6593 This is primarily for literate documents.
6595 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6597 * buffer.C: increment LYX_FORMAT to 223
6599 2003-03-14 André Pönitz <poenitz@gmx.net>
6601 * textclass.h: prepare for environment handling, ws changes
6602 * lyxlayout.C: read latexheader and latexfooter tags
6604 2003-03-14 John Levon <levon@movementarian.org>
6606 * text2.C: rewrite ::status() a bit
6608 2003-03-13 John Levon <levon@movementarian.org>
6610 * lyxtext.h: add some docs
6612 2003-03-13 John Levon <levon@movementarian.org>
6617 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6619 2003-03-13 John Levon <levon@movementarian.org>
6621 * text3.C: fix appendix redrawing
6623 2003-03-13 John Levon <levon@movementarian.org>
6625 * text.C (setHeightOfRow):
6627 * rowpainter.C: make appendix mark have the text
6628 "Appendix" so the user knows what it is
6631 * LColor.C: s/appendixline/appendix/ from above
6633 2003-03-13 John Levon <levon@movementarian.org>
6635 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6637 * text.C: fix a getChar(pos) bug properly
6639 2003-03-13 Angus Leeming <leeming@lyx.org>
6642 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6643 Probably only temporary. Let's see how things pan out.
6645 * BufferView.C (unlockInset):
6646 * BufferView_pimpl.C (fitCursor):
6647 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6649 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6650 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6652 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6653 new functions that convert ParagraphParameters to and from a string.
6655 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6656 BufferView::Pimpl's dispatch.
6657 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6659 2003-03-13 André Pönitz <poenitz@gmx.net>
6663 * factory.C: make it aware of InsetEnv
6665 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6667 * text2.C (setCursor): never ask for one past last
6668 (setCursor): add some debugging messages.
6670 * text.C (singleWidth): never ask for one past last
6671 (singleWidth): ditto
6673 (rightMargin): ditto
6674 (rowBreakPoint): ditto
6675 (setHeightOfRow): ditto
6676 (prepareToPrint): ditto
6678 * rowpainter.C (paintBackground): never ask for one past last
6679 (paintText): never ask for one past last
6681 * paragraph_pimpl.C (getChar): make the assert stricter, never
6682 allow the one past last pos to be taken
6684 * paragraph.C (getChar): ws changes only
6686 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6687 (numberOfSeparators): ditto
6688 (numberOfHfills): ditto
6690 2003-03-12 John Levon <levon@movementarian.org>
6696 * paragraph_funcs.C: fix per-buffer authorlists
6698 2003-03-12 John Levon <levon@movementarian.org>
6700 * text.C: fix newline in right address
6702 2003-03-12 Angus Leeming <leeming@lyx.org>
6704 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6705 duplicate those in LyXFunc::dispatch.
6709 * ToolbarDefaults.C:
6710 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6711 Add LFUN_FONTFREE_UPDATE.
6713 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6714 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6716 * bufferview_func.[Ch]: several new functions to facilliate
6717 transfer of data to and from the character dialog.
6719 2003-03-12 John Levon <levon@movementarian.org>
6724 * paragraph_funcs.C:
6725 * paragraph_pimpl.C:
6729 * text3.C: remove META_NEWLINE in favour of an inset
6732 * rowpainter.C: remove paintNewline (done by inset)
6734 2003-03-12 John Levon <levon@movementarian.org>
6736 * paragraph_pimpl.C: complain about bad getChar()s
6737 for a while at least
6739 2003-03-12 John Levon <levon@movementarian.org>
6742 * buffer.C: move paragraph read into a separate function,
6743 a little renaming to reflect that.
6746 * bufferparams.C: remove the author_ids map, not necessary now
6749 * factory.C: moved Buffer::readInset to here
6751 * paragraph_funcs.h:
6752 * paragraph_funcs.C: readParagraph free function moved from
6755 * tabular.C: name change
6757 2003-03-12 John Levon <levon@movementarian.org>
6760 * ParagraphParameters.C: move par params input to
6763 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6764 behave like a normal read from the stream wrt reading
6765 a line vs. a \\token
6767 2003-03-12 John Levon <levon@movementarian.org>
6770 * ParagraphParameters.h:
6771 * ParagraphParameters.C: move output code to a
6774 2003-03-12 John Levon <levon@movementarian.org>
6776 * BufferView.C (insertLyXFile):
6779 * tabular.C: use a parlist iterator for creating the
6782 2003-03-12 John Levon <levon@movementarian.org>
6784 * buffer.C: make current_change static local not
6787 2003-03-12 John Levon <levon@movementarian.org>
6789 * buffer.C: fix insertStringAsLines for change tracking
6791 2003-03-12 John Levon <levon@movementarian.org>
6798 * bufferparams.C: move author list into params. Rename some
6799 functions. Move the header reading into a separate token
6800 loop. Move the header token reading into BufferParams.
6802 2003-03-12 John Levon <levon@movementarian.org>
6804 * changes.C: put debug inside lyxerr.debugging() checks
6806 2003-03-11 André Pönitz <poenitz@gmx.net>
6808 * factory.C: make it aware of InsetHFill
6810 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6812 * buffer.C (latexParagraphs): move function from here...
6813 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6816 2003-03-10 Angus Leeming <leeming@lyx.org>
6818 * LyXAction.C (init): fix bug in poplating array with multiple entries
6819 with the same LFUN (spotted by JMarc).
6821 2003-03-10 John Levon <levon@movementarian.org>
6824 * text2.C: move getColumnNearX() near its
6827 2003-03-10 John Levon <levon@movementarian.org>
6829 * text.C: fix break before a minipage
6831 2003-03-10 John Levon <levon@movementarian.org>
6833 * text.C: fix the last commit
6835 2003-03-09 John Levon <levon@movementarian.org>
6839 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6840 bug 365 (don't break before insets unless needed). Don't
6841 return a value > last under any circumstances.
6843 2003-03-09 Angus Leeming <leeming@lyx.org>
6845 * BufferView_pimpl.C (trackChanges, dispatch): call
6846 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6848 2003-03-09 Angus Leeming <leeming@lyx.org>
6850 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6851 than Dialogs::showAboutlyx().
6853 2003-03-09 Angus Leeming <leeming@lyx.org>
6855 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6856 than Dialogs::showTabularCreate().
6858 2003-03-09 John Levon <levon@movementarian.org>
6862 * text2.C: 3rd arg to nextBreakPoint was always the same.
6865 2003-03-08 John Levon <levon@movementarian.org>
6872 * text2.C: Remove the "main" bit from the "main body"
6875 2003-03-08 John Levon <levon@movementarian.org>
6877 * text.C (leftMargin): The left margin of an empty
6878 manual label paragraph should not include the label width
6881 * text.C (prepareToPrint): don't attempt to measure hfills
6882 for empty manual label paragraphs - the answer should be 0
6884 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * CutAndPaste.C: remove commented code and reindent.
6888 2003-03-08 John Levon <levon@movementarian.org>
6891 * lyxfunc.C: move reloadBuffer()
6894 * BufferView.C: to here
6896 * lyxvc.C: add comment
6899 * vc-backend.C: call bv->reload() to avoid
6900 getStatus() check on MENURELOAD
6902 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6904 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6905 to an old format .dep file.
6907 2003-03-07 Angus Leeming <leeming@lyx.org>
6909 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6910 when the LFUN_MOUSE_RELEASE should have been handled by
6911 inset->localDispatch.
6913 2003-03-07 Angus Leeming <leeming@lyx.org>
6915 * BufferView_pimpl.C (dispatch):
6916 * LyXAction.C (init):
6917 * ToolbarDefaults.C (init):
6919 * lyxfunc.C (getStatus):
6920 remove LFUN_INSET_GRAPHICS.
6922 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6924 2003-03-07 Angus Leeming <leeming@lyx.org>
6927 * LyXAction.C (init):
6928 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6930 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6933 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6935 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6936 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6938 2003-03-07 Angus Leeming <leeming@lyx.org>
6940 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6943 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * ParagraphList.C (front): new function
6948 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6950 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6951 and top_row_offset_. removed var first_y.
6953 * text2.C (LyXText, removeRow):
6955 * BufferView_pimpl.C:
6956 use these methods instead of using first_y
6958 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * text2.C (pasteSelection): adjust for checkPastePossible
6962 * CutAndPaste.C: remove Paragraph * buf and replace with
6963 ParagraphList paragraphs.
6964 (DeleteBuffer): delete
6965 (cutSelection): change the tc type to textclass_type
6966 (copySelection): change the tc type to textclass_type
6967 (copySelection): adjust for ParagraphList
6968 (pasteSelection): change the tc type to textclass_type
6969 (pasteSelection): adjust for Paragraphlist
6970 (nrOfParagraphs): simplify for ParagraphList
6971 (checkPastePossible): simplify for ParagraphList
6972 (checkPastePossible): remove unused arg
6974 * ParagraphList.C (insert): handle the case where there are no
6977 * CutAndPaste.h: make CutAndPaste a namespace.
6979 * text3.C (dispatch): adjust
6981 * text.C (breakParagraph): add a ParagraphList as arg
6983 * paragraph_funcs.C (breakParagraph): change to take a
6984 BufferParams and a ParagraphList as args.
6985 (breakParagraphConservative): ditto
6986 (mergeParagraph): ditto
6987 (TeXDeeper): add a ParagraphList arg
6988 (TeXEnvironment): ditto
6991 * buffer.C (readLyXformat2): adjust
6992 (insertStringAsLines): adjust
6993 (latexParagraphs): adjust
6995 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6996 (cutSelection): adjust
6997 (pasteSelection): adjust
6999 * BufferView_pimpl.C (insertInset): adjust
7001 2003-03-05 Angus Leeming <leeming@lyx.org>
7004 * LyXAction.C (init):
7005 * BufferView_pimpl.C (dispatch):
7006 * lyxfunc.C (getStatus):
7007 remove LFUN_CHILD_INSERT.
7009 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7011 2003-03-05 Angus Leeming <leeming@lyx.org>
7014 * LyXAction.C (init):
7015 * src/factory.C (createInset):
7016 * lyxfunc.C (getStatus):
7017 * text3.C (dispatch):
7018 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7020 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7022 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * ParagraphList.C (insert): handle insert right before end()
7025 (erase): fix cases where it can be first or last paragraph.
7027 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7030 Paragraph::next and Paragraph::previous
7033 * text.C (breakParagraph): adjust
7035 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7036 BufferParams& as arg.
7037 (breakParagraph): use ParagraphList::insert
7038 (breakParagraphConservative): take a Buffer* instead of a
7039 BufferParams& as arg.
7040 (breakParagraphConservative): use ParagraphList::insert.
7042 * buffer.C (insertStringAsLines): un-const it
7043 (insertStringAsLines): adjust
7045 * ParagraphList.C (insert): new function
7047 * CutAndPaste.C (pasteSelection): adjust
7049 * text.C (backspace): adjust
7051 * tabular.C (SetMultiColumn): adjust
7053 * CutAndPaste.C (cutSelection): adjust
7054 (pasteSelection): adjust
7056 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7057 Buffer const * as arg
7059 * ParagraphList.C (erase): new function
7060 * paragraph_funcs.C (mergeParagraph): use it
7061 (mergeParagraph): make it take a Buffer* instead of a
7062 BufferParams* as arg
7064 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7066 (breakParagraphConservative): ditto
7068 * paragraph.h: remove the breakParagraph friend
7070 * paragraph.C (eraseIntern): new function
7071 (setChange): new function
7073 * paragraph_funcs.C (mergeParagraph): make it take a
7074 ParagraphList::iterator instead of a Paragraph *, adjust
7077 * paragraph.h: move an #endif so that the change tracking stuff
7078 also works in the NO_NEXT case.
7080 2003-03-04 Angus Leeming <leeming@lyx.org>
7083 * LyXAction.C: new LFUN_INSET_MODIFY.
7085 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7086 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7088 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * several files: ws changes only
7092 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7093 (TeXEnvironment): ditto
7096 * buffer.C (makeLaTeXFile): adjust
7097 (latexParagraphs): make it take ParagraphList::iterator as args
7099 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * buffer.C (latexParagraphs): adjust
7103 * paragraph.C (TeXOnePar): move function...
7104 (optArgInset): move function...
7105 (TeXEnvironment): move function...
7106 * paragraph_pimpl.C (TeXDeeper): move function...
7107 * paragraph_funcs.C: ...here
7109 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7111 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7113 * buffer.C (readInset): remove compability code for old Figure and
7116 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * buffer.C: ws changes
7121 * BufferView_pimpl.C: ditto
7124 * bufferlist.h: ditto
7128 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7130 * converter.[Ch]: split into itself +
7133 * Makefile.am: += graph.[Ch] + format.[Ch]
7140 * lyxrc.C: added #include "format.h"
7142 2003-02-27 Angus Leeming <leeming@lyx.org>
7144 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7147 * factory.C (createInset): add "label" to the factory.
7149 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7150 string and do no more.
7152 2003-02-27 Angus Leeming <leeming@lyx.org>
7155 * LyXAction.C (init):
7156 * factory.C (createInset):
7157 * BufferView_pimpl.C (dispatch):
7158 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7160 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7162 * lyxfunc.C (dispatch):
7163 * text3.C (dispatch): pass name to params2string.
7165 2003-02-26 Angus Leeming <leeming@lyx.org>
7167 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7169 Rearrange the ~includes. Strip out the unnecessary ones.
7171 * factory.C (createInset): reformat.
7172 create new insets for the various LFUN_XYZ_APPLY lfuns.
7174 2003-02-26 John Levon <levon@movementarian.org>
7177 * lyxrow.C: add isParStart,isParEnd helpers
7179 * paragraph.h: make isInserted/DeletedText take refs
7181 * paragraph_funcs.h:
7182 * paragraph_funcs.C: remove #if 0'd code
7187 * text.C: use lyxrow helpers above.
7188 Move draw and paint routines to RowPainter.
7189 Make several methods use refs not pointers.
7190 Make backgroundColor() const.
7191 Add markChangeInDraw(), isInInset().
7192 Merge changeRegionCase into changeCase.
7193 Make workWidth() shouldn't-happen code into an Assert.
7196 * rowpainter.C: new class for painting a row.
7199 * vspace.C: make inPixels take a ref
7201 2003-02-26 Angus Leeming <leeming@lyx.org>
7203 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7206 2003-02-25 John Levon <levon@movementarian.org>
7208 * ispell.C: give the forked command a more accurate name
7210 2003-02-22 John Levon <levon@movementarian.org>
7213 * toc.C: make TocItem store an id not a Paragraph *
7216 2003-02-21 Angus Leeming <leeming@lyx.org>
7218 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7219 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7220 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7221 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7222 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7223 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7225 * BufferView_pimpl.C (dispatch):
7226 * LyXAction.C (init):
7227 * factory.C (createInset):
7228 * lyxfunc.C (getStatus, dispatch):
7229 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7231 2003-02-21 Angus Leeming <leeming@lyx.org>
7233 * BufferView_pimpl.C (MenuInsertLyXFile):
7234 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7235 * lyxfunc.C (menuNew, open, doImport):
7236 no longer pass a LyXView & to fileDlg.
7238 2003-02-21 Angus Leeming <leeming@lyx.org>
7240 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7241 * LyXAction.C: change, BIBKEY to BIBITEM.
7242 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7243 Change InsetBibKey to InsetBibitem.
7244 Change BIBKEY_CODE to BIBITEM_CODE.
7245 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7246 * factory.C: replace insetbib.h with insetbibitem.h.
7247 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7248 * paragraph.C: replace insetbib.h with insetbibitem.h.
7249 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7250 Change bibkey() to bibitem().
7251 * text.C: remove insetbib.h.
7252 * text2.C: replace insetbib.h with insetbibitem.h.
7253 change bibkey() to bibitem().
7254 * text3.C: remove insetbib.h.
7255 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7257 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7259 * lyxrc.C (output): enclose user email in quotes (in case there are
7262 2003-02-18 John Levon <levon@movementarian.org>
7264 * buffer.h: add std::
7266 2003-02-17 John Levon <levon@movementarian.org>
7272 * pspell.C: reworking. Especially in ispell, a large
7273 number of clean ups and bug fixes.
7275 * lyxfunc.C: fix revert to behave sensibly
7277 2003-02-17 André Pönitz <poenitz@gmx.net>
7280 * commandtags.h: new LFUN_INSERT_BIBKEY
7290 * paragraph_func.C: remove special bibkey handling
7292 2003-02-17 John Levon <levon@movementarian.org>
7294 * text.C (Delete): fix case where delete at the end of
7295 the very first paragraph would not merge the pars
7297 2003-02-17 John Levon <levon@movementarian.org>
7299 * lyxrow.C: fix lastPrintablePos()
7301 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7303 * bufferparams.C (writeLaTeX): add a std:here
7305 * buffer.C: and remove a using directive there
7307 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7309 * buffer.C (makeLaTeXFile): move the code that generates the
7312 * bufferparams.C (writeLaTeX): ... in this new method
7314 * LaTeXFeatures.C (getEncodingSet): make const
7315 (getLanguages): make const
7317 * MenuBackend.C (binding): returns the binding associated to this
7319 (add): sets the status of each item by calling getStatus. Adds
7321 (read): add support for OptSubMenu
7322 (expand): remove extra separator at the end of expanded menu
7324 2003-02-15 John Levon <levon@movementarian.org>
7327 * BufferView_pimpl.C:
7329 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7330 inset code that had no actual effect. Remove unneeded status
7333 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7335 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7338 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7340 * text.C (drawLengthMarker): also draw an arrow marker for
7341 symbolic lengths (medskip...)
7343 2003-02-14 John Levon <levon@movementarian.org>
7346 * tabular.C: better method names
7348 2003-02-14 John Levon <levon@movementarian.org>
7350 * BufferView_pimpl.C:
7355 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7356 it's a more accurate name. Remove some pointless uses.
7358 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7360 * text2.C (LyXText): change order of initilizers to shut off
7363 2003-02-14 John Levon <levon@movementarian.org>
7365 * buffer.C: use ParIterator for getParFromID()
7369 * paragraph_pimpl.h:
7370 * paragraph_pimpl.C: remove unused getParFromID()
7372 2003-02-14 John Levon <levon@movementarian.org>
7374 * buffer.C: remove some very old #if 0'd parse code
7376 2003-02-13 John Levon <levon@movementarian.org>
7380 * text2.C: move hfillExpansion(), numberOfSeparators(),
7381 rowLast(), rowLastPrintable(), numberofHfills(),
7382 numberOfLabelHfills() ...
7385 * lyxrow.C: ... to member functions here.
7390 * text.C: remove LyXText::beginningOfMainBody(), and call
7391 p->beginningOfMainBody() directly. Move the check for
7392 LABEL_MANUAL into the latter.
7399 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7405 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7406 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7408 2003-02-13 John Levon <levon@movementarian.org>
7410 * CutAndPaste.C: remove debug
7412 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7414 * paragraph.C (asString): remove two unused variables
7416 * lyxtextclass.C (readTitleType):
7418 (LyXTextClass): handle new members titletype_ and titlename_
7420 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7422 2003-02-09 John Levon <levon@movementarian.org>
7425 * buffer.C: replace hand-coded list with a map for the dep clean
7427 2003-02-08 John Levon <levon@movementarian.org>
7429 * LaTeX.C: consolidate code into showRunMessage() helper
7431 2003-02-08 John Levon <levon@movementarian.org>
7436 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7437 and pass the size in explicitly
7439 * BufferView_pimpl.h:
7440 * BufferView_pimpl.C:
7442 * BufferView.C: add getCurrentChange()
7444 * BufferView_pimpl.h:
7445 * BufferView_pimpl.C: handle change lfuns
7447 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7448 for changes. Mark pasted paragraphs as new.
7450 * support/lyxtime.h:
7451 * support/lyxtime.C:
7452 * DepTable.C: abstract time_t as lyx::time_type
7455 * LColor.C: add colours for new text, deleted text, changebars
7457 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7458 package use "usenames" option.
7462 * LyXAction.C: add change lfuns
7466 * author.C: author handling
7469 * buffer.C: add a per-buffer author list, with first entry as
7470 current author. Handle new .lyx tokens for change tracking. Output
7471 author list to .lyx file. Output dvipost stuff to .tex preamble.
7472 Bump lyx format to 222.
7475 * bufferlist.C: add setCurrentAuthor() to reset current author details
7479 * bufferparams.C: add param for tracking
7481 * bufferview_funcs.C: output change info in minibuffer
7485 * changes.C: add change-tracking structure
7488 * debug.C: add CHANGES debug flag
7491 * lyxfind.C: add code for finding the next change piece
7494 * lyxrc.C: add user_name and user_email
7497 * lyxrow.C: add a metric for the top of the text line
7500 * text.C: implement accept/rejectChange()
7503 * text.C: paint changebars. Paint new/deleted text in the chosen
7504 colours. Strike through deleted text.
7508 * paragraph_pimpl.h:
7509 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7510 in the current change to the insert functions. Rework erase to
7511 mark text as deleted, adding an eraseIntern() and a range-based
7512 erase(). Implement per-paragraph change lookup and
7515 * paragraph_funcs.C: Fixup paste for change tracking.
7517 * tabular.C: mark added row/columns as new.
7519 * text.C: fix rowLast() to never return -1. Don't allow
7520 spellchecking of deleted text. Track transpose changes. Don't
7521 allow paragraph break or merge where appropriate.
7523 * text2.C: leave cursor at end of selection after a cut.
7525 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7527 * text.C (getLengthMarkerHeight):
7528 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7529 visible on screen too.
7531 2003-02-07 John Levon <levon@movementarian.org>
7533 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7535 2003-02-05 Angus Leeming <leeming@lyx.org>
7537 * lyxserver.C (read_ready): revert my patch of 11 September last year
7538 as it sends PC cpu through the roof. Presumably this means that
7539 the lyxserver will no longer run on an Alpha...
7541 2003-01-30 Angus Leeming <leeming@lyx.org>
7543 * factory.C (createInset): create an InsetCommandParam of type "index"
7544 and use it to 'do the right thing'.
7546 * text2.C (getStringToIndex): ensure that cursor position is always
7547 reset to the reset_cursor position.
7549 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7551 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7554 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7558 * lyxfunc.C: Output messages with identical spelling, punctuation,
7561 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7563 * MenuBackend.C (expandFormats): List only viewable export formats
7566 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7569 * lyxfunc.C (getStatus): Make sure that formats other than
7570 "fax" can also be disabled
7572 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7574 * text3.C (dispatch): put the lfuns that insert insets in 3
7575 groups, and call doInsertInset with appropriate arguments.
7576 (doInsertInset): new function, that creates an inset and inserts
7577 it according to some boolean parameters.
7579 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * buffer.C (readFile): remember to pass on 'par' when calling
7582 readFile recursively.
7584 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7586 * MenuBackend.C (expandFormats): add "..." to import formats.
7588 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7590 * paragraph.C (asString): Remove XForms RTL hacks.
7592 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7593 * buffer.C: fix typo
7595 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * Makefile.am (LIBS): delete var
7598 (lyx_LDADD): add @LIBS@ here instead.
7600 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7602 * Clarify the meaning of "wheel mouse jump"
7604 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7606 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7609 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7611 * importer.C (Loaders): do not preallocate 3 elements in the
7612 vector, since one ends up with 6 elements otherwise
7614 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7616 * DepTable.C (write): write the file name as last element of the
7617 .dep file (because it may contain spaces)
7618 (read): read info in the right order
7620 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7622 * paragraph_pimpl.C (simpleTeXBlanks):
7623 (simpleTeXSpecialChars):
7624 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7626 * tabular.C (latex): add some missing case statements. Reindent.
7628 * MenuBackend.C (expandToc): remove unused variable.
7630 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7639 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7642 2003-01-05 John Levon <levon@movementarian.org>
7645 * BufferView.C: add getEncoding()
7648 * kbsequence.C: do not store last keypress
7651 * lyxfunc.C: store last keypress here instead. Pass encoding
7654 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7656 * lyx_main.C (init): remove annoying error message when following
7657 symbolic links (bug #780)
7659 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7661 * text.C (insertChar):
7662 * lyxrc.C (getDescription): remove extra spaces
7664 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7666 * lyxrc.C (getDescription): remove extra spaces
7668 2002-12-20 John Levon <levon@movementarian.org>
7670 * text3.C: hack fix for page up/down across tall rows
7672 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7674 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7677 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7679 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7680 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7681 thesaurus is not compiled in
7683 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7685 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7687 2002-12-16 Angus Leeming <leeming@lyx.org>
7690 * lyx_main.C (init): remove override_x_deadkeys stuff.
7692 2002-12-12 John Levon <levon@movementarian.org>
7694 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7695 insert. Only remove shift modifier under strict
7698 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7700 * MenuBackend.C (expandToc): fix crash.
7702 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * MenuBackend.C (expandToc): gettext on float names.
7706 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7708 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7709 implement bool empty() [bug 490]
7711 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7715 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * several files: ws changes
7719 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * text2.C (setCounter): clean up a bit, use boost.format.
7722 (updateCounters): initialize par upon declaration.
7724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7725 if the layout exists. We do not just store the layout any more.
7726 (SwitchLayoutsBetweenClasses): use boost.format
7728 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7730 * converter.C (convert): if from and to files are the same, use a
7731 temporary files as intermediary
7733 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7736 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7738 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7740 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7742 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * tabular.C (asciiPrintCell): use string(size, char) instead of
7747 * sgml.C (openTag): fix order of arguments to string constructor
7750 * lyxfunc.C (dispatch): use boost.format
7752 * lots of files: change "c" -> 'c'
7754 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7756 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7758 2002-11-25 Angus Leeming <leeming@lyx.org>
7760 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7762 * lyx_main.C (init): compile fix.
7764 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * lyx_cb.C (start): boost.formatify
7767 do not include <iostream>
7769 * lengthcommon.C: ws only
7771 * boost-inst.C,BoostFormat.h: add more explict instantations
7773 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * lots of files: handle USE_BOOST_FORMAT
7777 2002-11-21 John Levon <levon@movementarian.org>
7779 * pspell.C: fix compile
7781 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7783 * lyxfunc.C (dispatch): use boost::format
7787 * lyxfont.C (stateText): use boost::format
7789 * lyx_main.C (LyX): use boost::format
7791 (queryUserLyXDir): ditto
7794 (typedef boost::function): use the recommened syntax.
7796 * importer.C (Import): use boost::format
7798 * debug.C (showLevel): use boost::format
7800 * converter.C (view): use boost::format
7805 * bufferview_funcs.C (currentState): use boost::format
7807 * bufferlist.C (emergencyWrite): use boost::format
7809 * buffer.C (readLyXformat2): use boost::format
7810 (parseSingleLyXformat2Token): ditto
7812 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7814 * LaTeX.C (run): use boost::format
7816 * Chktex.C (scanLogFile): use boost::format
7818 * BufferView_pimpl.C (savePosition): use boost::format
7819 (restorePosition): ditto
7820 (MenuInsertLyXFile): ditto
7822 * BoostFormat.h: help file for explicit instation.
7824 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7826 * tabular.C (latex): Support for block alignment in fixed width
7829 2002-11-17 John Levon <levon@movementarian.org>
7831 * BufferView_pimpl.C:
7833 * lyxfunc.C: split filedialog into open/save
7835 2002-11-08 Juergen Vigna <jug@sad.it>
7837 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7838 by my last patch (hopefully).
7840 2002-11-08 John Levon <levon@movementarian.org>
7849 * toc.C: ParConstIterator, and use it (from Lars)
7851 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7853 * lyxtextclass.[Ch]: revise and add doxygen comments
7855 2002-11-07 John Levon <levon@movementarian.org>
7857 * text.C: fix progress value for spellchecker
7859 * toc.C: fix navigate menu for insetwrap inside minipage
7861 * paragraph_funcs.C: added FIXME for suspect code
7863 2002-11-07 John Levon <levon@movementarian.org>
7865 * BufferView_pimpl.C: fix redrawing of insets
7868 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7870 * text2.C (updateCounters): fix bug 668
7872 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7874 * text3.C (dispatch): Do not make the buffer dirty when moving the
7877 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * vc-backend.C: STRCONV
7882 * text2.C (setCounter): STRCONV
7884 * paragraph.C (asString): STRCONV
7886 * lyxlength.C (asString): STRCONV
7887 (asLatexString): ditto
7889 * lyxgluelength.C (asString): STRCONV
7890 (asLatexString): ditto
7892 * lyxfunc.C (dispatch): STRCONV
7895 * lyxfont.C (stateText): STRCONV
7897 * importer.C (Import): STRCONV
7899 * counters.C (labelItem): STRCONV
7900 (numberLabel): ditto
7901 (numberLabel): remove unused ostringstream o
7906 * bufferview_funcs.C (currentState): STRCONV
7908 * buffer.C (readFile): STRCONV
7909 (asciiParagraph): ditto
7910 (makeLaTeXFile): ditto
7912 * Spacing.C (writeEnvirBegin): STRCONV
7914 * LaTeXFeatures.C (getLanguages): STRCONV
7915 (getPackages): ditto
7917 (getBabelOptions): ditto
7918 (getTClassPreamble): ditto
7919 (getLyXSGMLEntities): ditto
7920 (getIncludedFiles): ditto
7924 (scanAuxFile): ditto
7927 * LString.h: add the STRCONV macros
7929 * BufferView_pimpl.C (savePosition): STRCONV
7930 (restorePosition): ditto
7931 (MenuInsertLyXFile): ditto
7933 * vc-backend.C (scanMaster): change from submatch[...] to
7936 * funcrequest.C: include config.h
7938 * factory.C: include config.h
7940 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7942 * box.C: include config.h
7944 * LaTeX.C (scanAuxFile): change from submatch[...] to
7948 2002-10-25 Angus Leeming <leeming@lyx.org>
7950 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7952 * ispell.[Ch] (setError): new method.
7953 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7954 Use setError() insetead of goto END.
7956 * lyx_cb.C (AutoSave): move out child process into new class
7959 2002-10-30 John Levon <levon@movementarian.org>
7961 * text3.C: make start appendix undoable
7963 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7965 * lyxlength.C (inPixels): Fix returned value.
7967 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7970 2002-10-24 Angus Leeming <leeming@lyx.org>
7972 * lyxgluelength.h: no need to forward declare BufferParams
7973 or BufferView, so don't.
7975 2002-10-21 John Levon <levon@movementarian.org>
7977 * BufferView.C: menuUndo ->undo, redo
7979 * BufferView.h: document, remove dead, make some methods private
7981 * paragraph_funcs.h:
7982 * paragraph_funcs.C:
7983 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7988 * sgml.C: move sgml open/close tag into sgml.C
7990 * bufferview_funcs.h: unused prototype
7993 * lyxfunc.C: remove unused
7996 * text.C: remove unused
7998 2002-10-21 John Levon <levon@movementarian.org>
8002 * BufferView_pimpl.h:
8003 * BufferView_pimpl.C: fix mouse wheel handling based on
8004 patch from Darren Freeman
8006 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8008 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8010 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8012 * lyxlength.C (inPixels): Fix hanfling of negative length.
8013 Fix LyXLength::MU case.
8015 2002-10-16 John Levon <levon@movementarian.org>
8017 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8019 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8021 * converter.C (view): add support for $$i (file name) and $$p
8022 (file path) for the viewer command. If $$i is not specified, then
8023 it is appended to the command (for compatibility with old syntax)
8025 2002-10-14 Juergen Vigna <jug@sad.it>
8027 * undo_funcs.C (textHandleUndo): alter the order in which the
8028 new undopar is added to the LyXText, as we have to set first
8029 the right prev/next and then add it as otherwise the rebuild of
8030 LyXText is not correct. Also reset the cursor to the right paragraph,
8031 with this IMO we could remove the hack in "redoParagraphs()".
8033 2002-10-09 Angus Leeming <leeming@lyx.org>
8035 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8036 to turn off an optimisation if a new inset is to be inserted.
8038 2002-10-11 André Pönitz <poenitz@gmx.net>
8040 * lyxtext.h: make some functions public to allow access
8041 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8043 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8045 * text3.C (dispatch): when changing layout, avoid an infinite loop
8048 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8050 * lyxrc.C (read): treat a viewer or converter command of "none" as
8053 * MenuBackend.C (expandFormats): for an update, also allow the
8054 formats that are not viewable
8056 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8057 script if it is newer than the lyxrc.defaults in user directory
8059 2002-10-07 André Pönitz <poenitz@gmx.net>
8061 * text.C: Vitaly Lipatov's small i18n fix
8063 2002-09-25 Angus Leeming <leeming@lyx.org>
8065 * ispell.h: doxygen fix.
8067 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8069 * buffer.h (readFile): Add a new argument to the method, to allow
8070 reading of old-format templates.
8072 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8074 * toc.C (getTocList): Get TOC from InsetWrap.
8076 2002-09-16 John Levon <levon@movementarian.org>
8078 * lyxfunc.C: check tabular for cut/copy too
8080 2002-09-12 John Levon <levon@movementarian.org>
8085 * factory.C: add header
8087 * paragraph_funcs.h:
8088 * paragraph_funcs.C: cleanup
8090 2002-09-11 John Levon <levon@movementarian.org>
8092 * PrinterParams.h: odd/even default to true
8094 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8096 * PrinterParams.h: update printer parameters for new xforms dialog
8098 2002-09-11 Angus Leeming <leeming@lyx.org>
8100 * lyxserver.C (read_ready): re-write to make it more transparent
8101 and to make it work in coherent fashion under Tru64 Unix.
8103 2002-09-11 André Pönitz <poenitz@gmx.net>
8107 * text3.C: implement LFUN_WORDSEL
8109 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8112 make floatlist_ a boost::shared_ptr<FloatList>
8114 * lyxtextclass.C: include FloatList.h
8115 (LyXTextClass): initialize floatlist_
8116 (TextClassTags): add TC_NOFLOAT
8117 (Read): match "nofloat" to TC_NOFLOAT and use it.
8118 (readFloat): modify call to floatlist_
8122 * FloatList.[Ch] (FloatList): remove commented out float
8124 (erase): new function
8126 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8128 * MenuBackend.C (expandToc): fix crash when there is no document
8131 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8133 * many files: Add insetwrap.
8135 2002-09-09 John Levon <levon@movementarian.org>
8137 * text2.C: remove confusing and awkward depth wraparound
8139 2002-09-09 John Levon <levon@movementarian.org>
8141 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8144 * buffer.C: remove getIncludeonlyList()
8147 * lyxfunc.C: remove headers
8149 2002-09-09 Juergen Vigna <jug@sad.it>
8151 * text.C (getColumnNearX): fix form Michael this is most
8152 probably a cut&paste bug.
8154 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8158 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8159 references, ws changes.
8161 * text2.C (init): update counters after init
8162 (insertParagraph): no need to set counter on idividual paragraphs.
8163 (setCounter): access the counters object in the textclass object
8164 on in the buffer object.
8165 (updateCounters): ditto
8167 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8168 shared_ptr<Counters> to avoid loading counters.h in all
8170 (LyXTextClass): initialize ctrs_
8171 (TextClassTags): add TC_COUNTER, and ...
8172 (Read): use it here.
8173 (CounterTags): new tags
8174 (readCounter): new function
8175 (counters): new funtion
8176 (defaultLayoutName): return a const reference
8178 * counters.C (Counters): remove contructor
8179 (newCounter): remove a couple of unneeded statements.
8180 (newCounter): simplify a bit.
8181 (numberLabel): some small formatting changes.
8183 * buffer.[Ch]: remove all traces of counters, move the Counters
8184 object to the LyXTextClass.
8186 2002-09-06 Alain Castera <castera@in2p3.fr>
8188 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8189 package to set the horizontal alignment on fixed width columns.
8192 * lyx_sty.h: added tabularnewline macro def.
8194 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8196 2002-09-06 John Levon <levon@movementarian.org>
8198 * LyXAction.C: tooltips for sub/superscript
8200 * MenuBackend.C: a bit more verbose
8202 * lyxfunc.C: tiny clean
8204 * undo_funcs.C: document undo_frozen
8206 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * counters.C (Counters): add missing algorithm counter.
8210 * text2.C (setCounter): lookup the counter with layouts latexname
8211 instead of by section number.
8212 (setCounter): use a hackish way to lookup the correct enum
8214 a float name->type change
8215 reset enum couners with counter name directly instead of depth value.
8217 * counters.C (Counters): remove the push_backs, change to use the
8218 float type not the float name.
8219 (labelItem): remove unused string, float name->type change
8221 * counters.h: don't include vector, loose the enums and sects vectors
8223 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8226 (Read): add float->TC_FLOAT to textclassTags
8227 (Read): and handle it in the switch
8228 (readFloat): new function
8230 * FloatList.C (FloatList): comment out the hardcoded float
8233 * lyxlayout.h: ws change.
8235 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8237 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8239 2002-09-03 Angus Leeming <leeming@lyx.org>
8241 * BufferView_pimpl.h: qualified name is not allowed in member
8242 declaration: WorkArea & Pimpl::workarea() const;
8244 * factory.C: added using std::endl directive.
8246 * text3.C: added using std::find and std::vector directives.
8248 2002-08-29 André Pönitz <poenitz@gmx.net>
8251 * text2.C: remove unused member number_of_rows
8254 * BufferView2.C: remove file, move contents to...
8255 * BufferView.C: ... here
8257 * BufferView_pimpl.C:
8258 * factory.C: move more inset creation to factory
8260 * vspace.C: avoid direct usage of LyXText, ws changes
8263 don't provide direct access to WorkArea, use two simple
8264 acessors haveSelction() and workHeight() instead
8267 2002-08-29 John Levon <levon@movementarian.org>
8269 * BufferView_pimpl.C (dispatch): do not continue when
8272 2002-08-28 André Pönitz <poenitz@gmx.net>
8274 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8277 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8279 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8281 * buffer.C: increment LYX_FORMAT to 221
8283 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8284 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8286 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8288 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8290 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8292 * factory.C (createInset): use LyXTextClass::floats
8294 * MenuBackend.C (expandFloatListInsert):
8295 (expandFloatInsert):
8298 * text2.C (setCounter):
8300 * LaTeXFeatures.C (useFloat):
8301 (getFloatDefinitions):
8303 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8305 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8306 floatlist_, with accessor floats().
8308 * FloatList.h: remove global FloatList
8310 2002-08-26 André Pönitz <poenitz@gmx.net>
8312 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8316 * BufferView_pimpl.C:
8317 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8319 2002-08-25 John Levon <levon@movementarian.org>
8321 * LyXAction.C: fix margin note description
8323 2002-08-24 John Levon <levon@movementarian.org>
8327 * bufferview_funcs.C:
8329 * undo_funcs.C: cleanups
8331 * lyxfunc.C: disable CUT/COPY when no selection
8333 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8335 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8336 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8338 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8339 Add backward compatibility to "mono", "gray" and "no".
8341 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8343 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8344 (and file_format >= 200).
8346 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8350 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8352 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8354 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8356 * BufferView_pimpl.C:
8363 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8364 inset and code to make it work with the paragraph code. The inset
8365 can be anywhere in the paragraph, but will only do the expected
8366 thing in LaTeX if the layout file contains the parameter line
8368 (or more generally, a nonzero value) for that layout.
8370 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8372 * paragraph.h: remove the declaration of undefined counters class
8375 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8377 * text2.C (setCounter): fixed enumeration mis-count as reported by
8378 Dr. Richard Hawkins.
8380 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8382 * paragraph_funcs.h: remove some unneeded includes
8384 * text.C (backspace): pasteParagraph now in global scipe
8386 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8387 (pasteSelection): ditto
8389 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8390 * paragraph_funcs.C (pasteParagraph): ... here
8392 2002-08-20 André Pönitz <poenitz@gmx.net>
8394 * commandtags.h: new LFUNs for swapping/copying table row/colums
8397 * lyxfunc.C: support for new lfuns
8399 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8402 * buffer.[Ch]: remove NO_COMPABILITY stuff
8404 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * boost.C (throw_exception): new file, with helper function for
8407 boost compiled without exceptions.
8412 * ParameterStruct.h:
8413 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8415 * bufferlist.C (emergencyWriteAll): use boost bind
8417 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8419 * text.C: include paragraph_funcs.h
8420 (breakParagraph): breakParagraph is now in global scope
8422 * paragraph_funcs.[Ch]: new files
8424 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8427 * buffer.C: include paragraph_funcs.h
8428 (insertStringAsLines): breakParagraph is now in global scope
8430 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8433 * CutAndPaste.C: include paragraph_funcs.h
8434 (cutSelection): breakParagraphConservative is now in global scope
8435 (pasteSelection): ditto
8437 * buffer.h: declare oprator== and operator!= for
8438 Buffer::inset_iterator
8440 * bufferlist.C (emergencyWrite): don't use fmt(...)
8442 * text3.C: add using std::endl
8444 * BufferView.C (moveCursorUpdate): remove default arg
8446 2002-08-20 André Pönitz <poenitz@gmx.net>
8448 * buffer.[Ch]: move inline functions to .C
8451 * BufferView_pimpl.C:
8453 * buffer.[Ch]: use improved inset_iterator
8456 * paragraph.[Ch]: write one paragraph at a time
8458 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8460 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8461 style if style is not specified.
8463 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8465 * text2.C (setCounter): when searching for right label for a
8466 caption, make sure to recurse to parent insets (so that a caption
8467 in a minipage in a figure float works) (bug #568)
8469 2002-08-20 André Pönitz <poenitz@gmx.net>
8471 * text3.C: new file for LyXText::dispatch() and helpers
8473 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8475 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8477 2002-08-19 André Pönitz <poenitz@gmx.net>
8480 * text.C: new LyXText::dispatch()
8482 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8484 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8486 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8488 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8491 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * Makefile.am: use $(variables) instead of @substitutions@
8495 2002-08-15 André Pönitz <poenitz@gmx.net>
8498 * BufferView_pimpl.C: streamlining mathed <-> outer world
8502 * LyXAction.C: remove unused LFUN_MATH
8504 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8508 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8510 * paragraph.C (Paragraph): reformat a bit
8511 (cutIntoMinibuffer): use builtin InsetList function instad of
8515 * buffer.C: include boost/bind.hpp, add using std::for_each
8516 (writeFileAscii): use ParagraphList iterators
8517 (validate): use for_each for validate traversal of paragraphs
8518 (getBibkeyList): use ParagraphList iterators
8519 (resizeInsets): use for_each to resizeInsetsLyXText for all
8521 (getParFromID): use ParagraphList iterators
8523 * BufferView2.C (lockInset): use paragraph list and iterators
8525 2002-08-14 John Levon <levon@movementarian.org>
8527 * lyxserver.C: remove spurious xforms include
8529 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8531 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8533 2002-08-13 André Pönitz <poenitz@gmx.net>
8536 * lyxfunc.C: further cleaning
8538 2002-08-13 André Pönitz <poenitz@gmx.net>
8540 * funcrequest.h: new constructor
8542 * funcrequest.C: move stuff here from .h
8545 * BufferView_pimpl.C:
8548 * lyxfunc.C: subsequent changes
8550 * lyxfunc.h: new view() member function
8552 * lyxfunc.C: subsequent changes
8554 2002-08-13 Angus Leeming <leeming@lyx.org>
8557 * BufferView_pimpl.C:
8565 changes due to the changed LyXView interface that now returns references
8566 to member variables not pointers.
8568 2002-08-13 Angus Leeming <leeming@lyx.org>
8570 * WordLangTuple (word, lang_code): return references to strings,
8575 * lyxtext.h: forward-declare WordLangTuple.
8580 * text.C: #include "WordLangTuple.h".
8583 * text.C: (selectNextWordToSpellcheck): constify return type.
8585 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8591 * paragraph_pimpl.h:
8594 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8596 Made updateCounter always count from start of buffer, and removed
8597 second argument (par).
8598 Reverted floats number display to '#'. Perhaps I'll try again when the
8599 code base is sanitized a bit.
8601 2002-08-12 Angus Leeming <leeming@lyx.org>
8603 * buffer.[Ch] (getLabelList): constify.
8605 2002-08-07 André Pönitz <poenitz@gmx.net>
8607 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8609 * funcrequest.h: extension to keep mouse (x,y) position
8611 2002-08-12 Juergen Vigna <jug@sad.it>
8613 * BufferView2.C (insertErrors): forbid undo when inserting error
8616 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8618 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * ParagraphList.[Ch]: new files
8622 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8624 * BufferView2.C (lockInset): ParagraphList changes
8627 * bufferlist.C: ditto
8631 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8634 unused class variable counter_,
8636 * paragraph.[Ch] (getFirstCounter): delete unused function
8638 * counters.C: include LAssert.h
8639 (reset): add a new function with no arg, change other version to
8640 not have def. arg and to not allow empty arg.
8642 * text2.C (setCounter): remove empty arg from call to Counters::reset
8644 2002-08-11 John Levon <levon@movementarian.org>
8646 * Makefile.am: add WordLangTuple.h
8648 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8651 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8653 * insets/insettext.C: InsetList changes
8655 * graphics/GraphicsSupport.C (operator()): InsetList changes
8657 * toc.C (getTocList): InsetList changes
8659 * paragraph_pimpl.[Ch]: InsetList changes
8661 * paragraph.[Ch]: InsetList changes
8663 * buffer.C (inset_iterator): InsetList changes
8664 (setParagraph): ditto
8665 * buffer.h (inset_iterator): ditto
8666 * iterators.C (operator++): ditto
8667 * iterators.h: ditto
8669 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8671 * InsetList.[Ch]: new files, most InsetList handling moved out of
8674 * BufferView2.C (removeAutoInsets): InsetList changes
8676 (ChangeInsets): ditto
8678 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8680 * paragraph_pimpl.h (empty): new function
8682 * paragraph.[Ch] (empty): new function
8684 * other files: use the new Paragraph::empty function
8686 2002-08-09 John Levon <levon@movementarian.org>
8688 * lyxtext.h: remove unused refresh_height
8690 2002-08-09 John Levon <levon@movementarian.org>
8697 * paragraph.C: move sgml char escaping out of paragraph
8700 * paragraph.C: remove id setter
8704 * paragraph_pimpl.C: remove dead tex_code_break_column
8706 * bufferview_funcs.C: small cleanup
8708 * lyxfunc.C: remove dead proto
8710 * lyxtext.h: make some stuff private. Remove some dead stuff.
8712 * lyxgluelength.C: make as[LyX]String() readable
8714 2002-08-08 John Levon <levon@movementarian.org>
8719 * ToolbarDefaults.C:
8722 * toc.C: lyxaction cleanup
8724 2002-08-08 John Levon <levon@movementarian.org>
8726 * BufferView2.C: small cleanup
8729 * lyxfind.C: move unnecessary header into the .C
8731 2002-08-08 John Levon <levon@movementarian.org>
8733 * funcrequest.h: just tedious nonsense
8736 * lyx_main.C: cleanups
8739 * vspace.C: remove dead header lyx_main.h
8741 2002-08-07 Angus Leeming <leeming@lyx.org>
8744 * paragraph_pimpl.h:
8745 Forward declare class Counters in paragraph.h by moving the ctrs member
8746 variable into Paragraph::Pimpl.
8747 (counters): new method, returning a reference to pimpl_->ctrs.
8749 * text2.C: ensuing changes.
8751 2002-08-07 John Levon <levon@movementarian.org>
8753 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8755 * BufferView_pimpl.C: announce X selection on double/triple
8758 * lyx_main.C: use correct bool in batch dispatch
8760 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8762 2002-08-07 André Pönitz <poenitz@gmx.net>
8764 * funcrequest.h: new class to wrap a kb_action and its argument
8767 * BufferView_pimpl[Ch]:
8771 * lyxrc.C: subsequent changes
8774 2002-08-07 John Levon <levon@movementarian.org>
8776 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8777 document options change.
8779 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8784 * makefile.am: move counters functionality over from
8785 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8787 2002-08-06 John Levon <levon@movementarian.org>
8789 * WordLangTuple.h: new file for word + language code tuple
8800 * BufferView2.C: use WordLangTuple
8803 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8805 2002-08-06 John Levon <levon@movementarian.org>
8807 * lyx_main.C: fix cmdline batch handling
8809 2002-08-06 André Pönitz <poenitz@gmx.net>
8811 * lyxrc.C: set default for show_banner to true
8813 2002-08-06 John Levon <levon@movementarian.org>
8815 * pspell.C: fix a crash, and allow new aspell to work
8817 2002-08-06 John Levon <levon@movementarian.org>
8820 * kbmap.C: small cleanup
8823 * vspace.C: add const
8825 2002-08-05 John Levon <levon@movementarian.org>
8827 * LyXAction.C: back to tabular-insert
8829 2002-08-04 John Levon <levon@movementarian.org>
8832 * BufferView.C: cosmetic change
8834 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8844 * BufferView2.C: purge all "Lyx" not "LyX" strings
8847 * lyxcursor.C: attempt to add some documentation
8852 * ToolbarDefaults.C:
8853 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8854 merge with LFUN_TABULAR_INSERT
8861 * pspell.C: split up i/pspell implementations into separate
8862 files, many cleanups
8864 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8866 * text2.C: some cleanup
8868 * lyxfunc.C: don't check for isp_command == "none" any more, it
8869 didn't make any sense
8871 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8876 * makefile.am: move counters functionality over
8877 from text2.C/paragraph.[Ch] to counters.[Ch], and
8879 2002-08-02 John Levon <levon@movementarian.org>
8881 * buffer.C: s/lyxconvert/lyx2lyx/
8883 2002-08-02 Angus Leeming <leeming@lyx.org>
8885 * lyxlex.C: revert John's change as it breaks reading of the user
8888 2002-08-02 Angus Leeming <leeming@lyx.org>
8890 * importer.C (Import):
8891 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8892 changes due to LyXView::view() now returning a boost::shared_ptr.
8894 2002-08-02 John Levon <levon@movementarian.org>
8896 * lyxlex.C: small cleanup
8898 2002-08-02 John Levon <levon@movementarian.org>
8900 * text2.C (status): small cleanup, no logic change
8902 2002-08-01 John Levon <levon@movementarian.org>
8905 * buffer.C (writeFile): don't output alerts, caller
8909 * lyx_cb.C: from above
8911 * lyxfunc.C: allow to open non-existent files
8913 2002-07-31 John Levon <levon@movementarian.org>
8915 * lyxserver.C: don't let incidental errors get
8918 2002-07-30 John Levon <levon@movementarian.org>
8920 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8922 2002-07-30 John Levon <levon@movementarian.org>
8925 * lyxserver.C: remove I/O callback too
8927 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8932 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8934 * many files: strip,frontStrip -> trim,ltrim,rtrim
8936 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8938 * PrinterParams.h: remove extern containsOnly, and include
8939 support/lstrings.h instead.
8941 * LaTeX.C (scanAuxFile): modify because of strip changes
8943 * buffer.C (makeLaTeXFile): ditto
8944 * bufferparams.C (writeFile): ditt
8945 * lyxfont.C (stateText): ditto
8946 * lyxserver.C (read_ready): ditto
8947 * vc-backend.C (scanMaster): ditto
8949 * BufferView_pimpl.h: ws changes
8951 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8953 2002-07-26 André Pönitz <poenitz@gmx.net>
8955 * kb_sequence.C: remove unnedred usings
8957 2002-07-26 Juergen Vigna <jug@sad.it>
8959 * lyxfind.C (LyXReplace): we have to check better if the returned
8960 text is not of theLockingInset()->getLockingInset().
8962 2002-07-25 Juergen Vigna <jug@sad.it>
8964 * lyxfind.C (LyXReplace): don't replace if we don't get the
8967 * undo_funcs.C (createUndo): remove debugging code.
8969 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8971 * buffer.C (parseSingleLyXformat2Token): Use default placement
8972 when reading old floats.
8974 * FloatList.C (FloatList): Change the default placement of figure
8975 and tables to "tbp".
8977 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8979 * MenuBackend.C: using std::max
8981 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8983 * MenuBackend.C (expandToc):
8984 (expandToc2): code moved from xforms menu frontend. It is now
8985 generic and TOCs are transparent to menu frontends.
8987 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8989 * toc.C (getTocList): protect against buf=0
8991 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8992 Menu as first parameter. Now, this calls itself recursively to
8993 expand a whole tree (this will be useful for TOC handling)
8994 (expandFloatInsert): remove 'wide' version of floats
8996 * MenuBackend.h (submenuname): returns the name of the submenu.
8997 (submenu): returns the submenu itself, provided it has been
8998 created by MenuBackend::expand
9000 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9002 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9003 insets which have noFontChange == true. (bug #172)
9005 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * BufferView_pimpl.C: add connection objects and use them...
9010 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9012 * MenuBackend.C (expandLastfiles):
9015 (expandFloatListInsert):
9016 (expandFloatInsert):
9017 (expand): split expand in parts
9019 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9021 * lyx_gui.C: use lyx_gui::exit()
9023 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9025 * LyXAction.C: show the failing pseudo action
9027 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9029 * buffer.C (readFile): Run the lyxconvert script in order to read
9032 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9036 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9038 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9042 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9044 2002-07-22 Herbert Voss <voss@lyx.org>
9047 * lyxlength.[Ch]: add support for the vertical lengths
9049 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9051 * toc.[Ch]: std:: fixes
9053 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * lyxrc.C: do not include lyx_main.h
9057 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9063 * BufferView2.C: include "lyxlex.h"
9066 * bufferparams.h: do not #include "lyxlex.h"
9068 * lyxtextclasslist.C (Add): remove method
9069 (classlist): renamed to classlist_
9071 * paragraph_pimpl.C:
9075 * bufferview_funcs.C:
9080 * toc.C (getTocList): use BufferParams::getLyXTextClass
9082 * toc.C (getTocList): use InsetFloat::addToToc
9084 * toc.[Ch]: new files, containing helper functions to handle table
9087 * lyxfunc.C (dispatch): no need to remove spaces around command
9089 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9090 first command of the sequence; it is not very clever, but I do not
9091 have a better idea, actually
9093 * LyXAction.C (LookupFunc): make sure to remove space at the
9094 beginning and end of the command
9096 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9098 * MenuBackend.C (getMenubar): new method: return the menubar of
9100 (read): treat differently reading of menu and menubar (in
9101 particular, the menubar has no name now)
9102 (Menu::menubar): remove
9104 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9107 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9109 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9110 a bibitem inset in a RTL paragraph.
9112 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9114 * paragraph_pimpl.C: constify
9116 * BufferView_pimpl.C:
9118 * lyxfunc.C: fix dispatch in a nicer way
9120 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9122 * lyxfunc.C (dispatch):
9123 * BufferView_pimpl.C:
9124 * BufferView_pimpl.h:
9126 * BufferView.h: rename Dispatch() to dispatch()
9128 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9130 * lyxlayout.C (Read): honor DependsOn tag
9132 * lyxlayout.[Ch] (depends_on): new method
9134 * version.C.in: update lyx_docversion
9136 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9138 * paragraph.C (validate): remove from here...
9139 * paragraph_pimpl.C (validate): ... and move here
9140 (isTextAt): make it const
9142 * buffer.C (getLists): ws cleanup
9144 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9146 * language.C (read): Use iso8859-1 encoding in latex_lang
9147 (this prevents LyX from crashing when using iso10646-1 encoding).
9149 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9151 * text2.C (toggleInset): if cursor is inside an inset, close the
9152 inset and leave cursor _after_ it
9154 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9156 * lyxfunc.C: move minibuffer completion handling out of here
9158 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9160 * BufferView_pimpl.C:
9161 * LaTeX.C: fix dispatch calls
9163 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9165 * text.C (drawChars): Fix Arabic text rendering.
9167 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9171 * lyxfunc.C: remove message-push/pop
9175 * lyxfunc.C: rationalise some code by removing verboseDispatch
9176 in favour of a bool argument to dispatch()
9178 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9180 * lyx_main.C (init): make sure to read symlinks as absolute paths
9182 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9185 * lyxfunc.C: no need for commandshortcut to be a member
9187 2002-07-15 André Pönitz <poenitz@gmx.net>
9189 * converter.C: add support for $$s (scripts from lib/scripts dir)
9190 * lyx_main.C: white space
9192 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9196 * lyxrc.C: remove second exit confirmation
9198 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9203 * BufferView_pimpl.h:
9204 * BufferView_pimpl.C:
9205 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9207 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9209 * MenuBackend.C (expand): add numeric shortcuts to document menu
9211 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9213 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * lyxfont.C (setLyXFamily):
9222 * buffer.C (asciiParagraph): use ascii_lowercase
9224 2002-07-15 Mike Fabian <mfabian@suse.de>
9226 * lyxlex_pimpl.C (search_kw):
9227 * lyxlex.C (getLongString):
9228 * converter.h (operator<):
9229 * converter.C (operator<):
9230 * buffer.C (parseSingleLyXformat2Token):
9232 * ToolbarDefaults.C (read):
9233 * MenuBackend.C (checkShortcuts):
9235 * LColor.C (getFromGUIName):
9236 (getFromLyXName): use the compare_ascii_no_case instead of
9237 compare_no_case, because in turkish, 'i' is not the lowercase
9238 version of 'I', and thus turkish locale breaks parsing of tags.
9240 2002-07-16 Angus Leeming <leeming@lyx.org>
9242 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9243 now takes a Buffer const & argument.
9245 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9247 * BufferView.C (resize): check there's a buffer to resize
9249 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9251 * lyxfunc.C: remove dead code
9254 * lyxserver.C: use lyx_guii::set_read_callback
9256 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9258 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9259 an inset in a RTL paragraph.
9261 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9263 * lyxfunc.C: repaint after a font size update
9265 2002-07-15 André Pönitz <poenitz@gmx.net>
9267 * lyxlength.C: inBP should be able to return negative values
9269 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9271 * lyxfunc.C: use lyx_gui::update_fonts()
9273 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9275 * lyxfunc.C: use lyx_gui::update_color()
9277 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9283 * lyxrc.C: remove file->new asks for name option, and let
9284 buffer-new take an argument
9286 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9288 * BufferView_pimpl.C: remove unneeded extra repaint()
9290 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9292 * LyXAction.C: allow command-sequence with NoBuffer
9294 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9296 2002-07-10 Angus Leeming <leeming@lyx.org>
9298 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9300 2002-07-09 Angus Leeming <leeming@lyx.org>
9302 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9304 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9306 * lengthcommon.h: whitespace
9308 * lyxfunc.C: update scrollbar after goto paragraph
9310 * lyxtext.h: factor out page break drawing, and fix it so
9311 page break/added space paints as selected nicely
9313 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9315 * BufferView_pimpl.C: add FIXMEs, clean up a little
9317 2002-07-09 André Pönitz <poenitz@gmx.net>
9319 * lyxfont.[Ch]: support for wasy symbols
9321 2002-07-08 André Pönitz <poenitz@gmx.net>
9323 * BufferView_pimpl.C: apply John's patch for #93.
9325 2002-07-05 Angus Leeming <leeming@lyx.org>
9327 * BufferView_pimpl.C (buffer): generate previews if desired.
9329 * LColor.h: add "preview" to the color enum.
9331 * LColor.C (LColor): add a corresponding entry to the items array.
9333 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9336 2002-07-05 Angus Leeming <leeming@lyx.org>
9338 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9339 The body of the code is now in the method that is passed an ostream &
9340 rather than a file name.
9341 Pass an additional only_preamble parameter, useful for the forthcoming
9344 2002-07-03 André Pönitz <poenitz@gmx.net>
9346 * lyxfunc.C: simplify getStatus() a bit for math stuff
9348 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9350 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9352 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9354 * text.C (changeRegionCase): do not change case of all the
9355 document when region ends at paragraph end (bug #461)
9357 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9359 * paragraph.C (startTeXParParams):
9360 (endTeXParParams): add \protect when necessary
9362 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9364 * BufferView_pimpl.C (workAreaExpose): remove warning
9366 2002-06-27 Angus Leeming <leeming@lyx.org>
9368 * Makefile.am: add lyxlayout_ptr_fwd.h.
9370 2002-06-26 André Pönitz <poenitz@gmx.net>
9372 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9374 2002-06-25 Angus Leeming <leeming@lyx.org>
9376 * lyxfunc.C (dispatch): Comment out the call to
9377 grfx::GCache::changeDisplay. The method no longer exists now that the
9378 pixmap generation part of the graphics loader has been moved into
9381 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9383 * text2.C: layout as layout
9385 * text.C: layout as layout
9387 * tabular.C (OldFormatRead): layout as layout
9389 * paragraph_pimpl.C (TeXDeeper): layout as layout
9390 (realizeFont): layout as layout
9392 * paragraph.C (writeFile): layout as layout
9393 (validate): layout as layout
9394 (getFont): layout as layout
9395 (getLabelFont): layout as layout
9396 (getLayoutFont): layout as layout
9397 (breakParagraph): layout as layout
9398 (stripLeadingSpaces): layout as layout
9399 (getEndLabel): layout as layout
9400 (getMaxDepthAfter): layout as layout
9401 (applyLayout): layout as layout
9402 (TeXOnePar): layout as layout
9403 (simpleTeXOnePar): layout as layout
9404 (TeXEnvironment): layout as layout
9405 (layout): layout as layout
9406 (layout): layout as layout
9408 * lyxtextclass.C (compare_name): new functor to work with
9409 shared_ptr, layout as layout
9410 (Read): layout as layout
9411 (hasLayout): layout as layout
9412 (operator): layout as layout
9413 (delete_layout): layout as layout
9414 (defaultLayout): layout as layout
9416 * lyxlayout_ptr_fwd.h: new file
9418 * lyxlayout.C (Read): layout as layout
9420 * lyx_cb.C (MenuInsertLabel): layout as layout
9422 * bufferlist.C (newFile): layout as layout
9424 * buffer.C (readLyXformat2): layout as layout
9425 (parseSingleLyXformat2Token): layout as layout
9426 (insertStringAsLines): layout as layout
9427 (asciiParagraph): layout as layout
9428 (latexParagraphs): layout as layout
9429 (makeLinuxDocFile): layout as layout
9430 (simpleLinuxDocOnePar): layout as layout
9431 (makeDocBookFile): layout as layout
9432 (simpleDocBookOnePar): layout as layout
9433 (getLists): layout as layout
9435 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9437 * CutAndPaste.C (cutSelection): layout as layout
9438 (pasteSelection): layout as layout
9439 (SwitchLayoutsBetweenClasses): layout as layout
9441 * BufferView_pimpl.C (Dispatch): layout as layout
9442 (smartQuote): layout as layout
9444 * BufferView2.C (unlockInset): layout as layout
9446 2002-06-24 André Pönitz <poenitz@gmx.net>
9448 * lyxfunc.C: fix #487
9450 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9454 * lyxfunc.C: remove display_shortcuts, show_banner
9456 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9458 * Buffer_pimpl.C: oops, update on resize
9460 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9467 * BufferView.C: use repaint()
9469 * BufferView_pimpl.h:
9470 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9471 as it's a clearer description. Remove superfluous
9474 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9476 * text.C: fix bug 488. Not ideal, but getting
9477 getWord() to work properly for the insets that
9478 matter is more difficult ...
9480 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9482 * BufferView_pimpl.C:
9485 * lyxfunc.C: remove the six million index lyxfuncs to just
9486 one, and DTRT (bug 458)
9488 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9492 * BufferView_pimpl.h:
9493 * BufferView_pimpl.C: clean up resize() stuff,
9494 and unnecessary updateScreen()s
9496 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9500 * BufferView_pimpl.h:
9501 * BufferView_pimpl.C:
9504 * minibuffer.C: remove focus management of workarea,
9505 not needed. Use screen's greyOut()
9507 2002-06-17 Herbert Voss <voss@lyx.org>
9509 * converter.C: (convert) do not post a message, when converting
9510 fails, let the calling function decide what to do in this case
9512 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9514 * lyxfunc.C: tidy up a little
9516 2002-06-16 <alstrup@diku.dk>
9518 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9519 Got rid of FORMS_H_LOCATION include. Now we are
9522 2002-06-15 LyX Development team <lyx@rilke>
9524 * buffer.[Ch] (sgmlOpenTag):
9525 (sgmlCloseTag): Added support for avoiding pernicious mixed
9526 content. Return number of lines written.
9529 (makeDocBookFile): Fixed calls to sgml*Tag.
9530 Simple white space clean.
9532 (simpleDocBookOnePar): Simple white space clean.
9534 * tabular.[Ch] (docBook): Renamed to docbook and got another
9535 argument to related with the pernicious mixed content.
9537 (docbookRow): Fixed calls for docbook inset method.
9539 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9541 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9542 so it's X11 independent.
9546 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9548 2002-06-15 Lyx Development team <lyx@electronia>
9550 * intl.h: Renamed getTrans to getTransManager.
9552 2002-06-14 Angus Leeming <leeming@lyx.org>
9554 * Makefile.am: nuke forgotten stl_string_fwd.h.
9556 2002-06-12 Angus Leeming <leeming@lyx.org>
9558 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9560 2002-06-13 Angus Leeming <leeming@lyx.org>
9563 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9565 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9567 * kbmap.C (getiso): add support for cyrillic and greek
9569 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView_pimpl.h:
9574 * BufferView_pimpl.C: move bogus scrolling logic
9577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9580 * BufferView_pimpl.C: view->resize() change
9582 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9584 * BufferView_pimpl.C: topCursorVisible
9587 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9591 * lyx_gui.C: move to frontends/
9595 * lyx_main.C: changes from above
9597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9604 * lyx_main.C: minor tidy
9606 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9608 * BufferView_pimpl.h:
9609 * BufferView_pimpl.C:
9611 * BufferView.C: make painter() const,
9614 * BufferView2.C: use screen() accessor
9617 * lyx_main.C: some minor cleanup
9619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9621 * BufferView_pimpl.h:
9622 * BufferView_pimpl.C: remove enter/leaveView,
9625 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9630 * BufferView_pimpl.h:
9631 * BufferView_pimpl.C: only construct screen once,
9634 * lyxrc.C: remove pointless comment
9636 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9639 * BufferView.C: remove active() and belowMouse()
9641 * BufferView_pimpl.h:
9642 * BufferView_pimpl.C: use workarea() not workarea_,
9643 and make it use a scoped_ptr instead
9645 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9647 * lyx_gui.C: add debug message on BadWindow
9649 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9651 * sp_spell.C: fdopen is not part of the C++ standard.
9653 * paragraph.C (InsetIterator): use >= instead of ==
9655 2002-06-07 Angus Leeming <leeming@lyx.org>
9657 Fixes needed to compile with Compaq cxx 6.5.
9658 * BufferView_pimpl.C:
9665 * lyxtextclasslist.C:
9670 all c-library variables have been moved into namespace std. Wrap
9671 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9676 Add a using std::abs declaration.
9678 * kbmap.h (modifier_pair):
9679 * paragraph.h (InsetTable, InsetList):
9680 * lyxfont.h (FontBits):
9681 type definition made public.
9683 * bufferlist.C (emergencyWriteAll): the compiler complains that
9684 there is more than one possible lyx::class_fun template to choose from.
9685 I re-named the void specialisation as lyx::void_class_fun.
9687 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9689 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9690 the compiler is is unable to find tostr in write_attribute.
9692 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9694 * buffer.C (sgmlError): hide #warning
9696 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9698 * xtl/*: get rid of xtl, which is not in use anyway
9700 * LyXAction.C (init):
9701 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9702 were unimplemented xtl experimentation
9704 2002-06-04 André Pönitz <poenitz@gmx.net>
9706 * lyxfunc.C: disable array operation on simple formulae
9708 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9710 * converter.C: constify a bit
9712 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9714 * lyx_gui.C: check xforms version correctly
9716 2002-04-30 Herbert Voss <voss@lyx.org>
9718 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9721 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9723 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9724 attempt to register it with a VCS)
9726 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * lyx_main.C (init): honor variables LYX_DIR_13x and
9731 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9735 * lyx_main.C: fix a crash on bad command line,
9736 and give a useful exit status on error
9738 * lyxfunc.C (doImport): allow -i lyx to work
9740 2002-03-30 André Pönitz <poenitz@gmx.net>
9742 * lyxfunc.C: mathed font changes
9744 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9759 * trans_mgr.h: srcdocs, and some minor cleanups
9761 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9763 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9764 call getFont all the time)
9766 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * switch from SigC signals to boost::signals
9770 2002-05-29 André Pönitz <poenitz@gmx.net>
9772 * paragraph_pimpl.C (getChar): don't call size() too often...
9774 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9776 * paragraph_pimpl.C (insertChar): do not try to update tables when
9777 appending (pos == size())
9779 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9780 in order to reduce drastically the number of comparisons needed to
9781 parse a large document
9783 2002-05-29 André Pönitz <poenitz@gmx.net>
9789 * textclasslist.[Ch]:
9790 * sp_ispell.h: whitespace change
9792 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9794 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9795 lyxaction directly now.
9797 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9801 * lyxvc.C: remove unused headers
9803 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9810 * undo_funcs.C: some cleanups. Use shared_ptr
9811 and a template for the undo stacks.
9813 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9815 * BufferView_pimpl.h:
9816 * BufferView_pimpl.C:
9823 * text2.C: use key_state/mouse_state
9825 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9827 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9830 * chset.C: change include order
9831 (loadFile): use boost regex and get rid of LRegex and LSubstring
9833 * Makefile.am (BOOST_LIBS): new variable
9836 * LaTeX.C: change include order.
9837 (scanAuxFile): use boost regex and get rid of LRegex and
9841 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9846 * FontInfo.C: moved to frontends/xforms/
9849 * FontLoader.C: moved into frontends for GUIIzation
9854 * lyxfunc.C: changes from above
9856 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9858 * LColor.C: remove spurious X include
9860 * BufferView_pimpl.C:
9865 * text2.C: move font metrics to frontends/
9867 2002-05-24 Juergen Vigna <jug@sad.it>
9869 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9870 setting the undo_cursor.
9872 * ParagraphParameters.h: include local includes first.
9874 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9876 * BufferView_pimpl.C:
9877 * BufferView_pimpl.h:
9881 * screen.C: move WorkArea into frontends/
9887 * BufferView2.C: move LyXScreen into frontends/
9891 * lyx_gui.C: move lyxlookup into frontends/xforms/
9893 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView_pimpl.C:
9906 * bufferview_funcs.C:
9919 * vc-backend.C: move LyX/XFormsView into frontends/
9921 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9933 * text2.C: move Painter to frontends/
9935 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * buffer.C: comment out some some code that depend upon lyx_format
9940 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9941 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9943 * buffer.h (NO_COMPABILITY): turn off compability
9945 * ColorHandler.C: include scoped_array.hpp
9947 * font.C: Use more specific smart_ptr header.
9950 * ShareContainer.h: ditto
9954 * BufferView_pimpl.h: ditto
9955 * ColorHandler.h: ditto
9957 * kbmap.C (defkey): change call to shared_ptr::reset
9959 2002-05-21 Juergen Vigna <jug@sad.it>
9961 * buffer.C (insertErtContents): fix to insert ert asis if it is
9962 non empty. Skip it completely if it contains only whitespaces.
9964 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9966 * BufferView_pimpl.C:
9967 * BufferView2.C: clear selection on paste (bug 393)
9969 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * DepTable.C: include ctime
9973 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9975 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9977 2002-05-14 Juergen Vigna <jug@sad.it>
9979 * text.C (breakParagraph): fixed function to honor the keepempty
9980 layout in the right maner and also to permit the right breaking
9981 algorithm on empty or non empyt keepempty paragraphs.
9983 * paragraph.C (breakParagraph): we have to check also if the par
9984 is really empty (!size()) for isempty otherwise we do the wrong
9987 2002-05-10 Juergen Vigna <jug@sad.it>
9989 * buffer.[Ch] : The following are only changes to the ert
9990 compatibility read reading old LaTeX layout and font stuff and
9991 convert it to ERTInsets.
9993 * buffer.h: added isErtInset().
9995 * buffer.C (struct ErtComp): add a fromlayout bool to check
9996 if we're inside a LaTeX layout.
9997 (isErtInset): new helper function.
9998 (insertErtContents): look for other ert insets before this one
9999 and insert the contents there, so that we don't have subsequent
10000 ERT insets with nothing between them. This way we create only one
10001 inset with multiple paragraphs. Also check if we don't insert only
10002 spaces ' ' as they are ignored anyway afterwards in the .tex file
10003 so if we have only spaces we will ignore this latex part in the
10005 (parseSingleLyXformat2Token \\layout): better compatibility when
10006 reading layout-latex stuff.
10007 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10009 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10010 stuff after reading the inset only get the information back from
10013 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10015 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10017 * LaTeXFeatures.C (getBabelOptions): New method.
10019 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * BufferView_pimpl.C (Dispatch): work around missing argument for
10024 2002-05-08 Juergen Vigna <jug@sad.it>
10026 * text.C (leftMargin): handle paragraph leftindent.
10028 * paragraph.C (writeFile): write the new \\leftindent tag.
10029 (validate): handle leftindent code.
10030 (TeXEnvironment): handle paragraphleftindent code again.
10032 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10034 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10035 for paragrap_extra indent code and new token \\leftindent.
10036 (latexParagraphs): handle the leftindent as environment.
10038 * ParameterStruct.h: added leftindent support.
10040 * ParagraphParameters.C (leftIndent): added support functions for
10041 the paragraph left indent.
10043 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10046 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10048 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10051 * text.C (computeBidiTables): No bidi in insetERT.
10053 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10056 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10058 * version.C.in: pre 5
10060 2002-05-02 José Matos <jamatos@fep.up.pt>
10061 * buffer.C (makeDocBookFile): white space changes, add newline to
10063 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10065 * tabular.C (docBook): fix typo.
10067 2002-05-03 Juergen Vigna <jug@sad.it>
10069 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10070 change in LyXText as we can not be sure it was not freed.
10071 (drawOneRow): remove unused code.
10073 * text.C (drawInset): redo the calculation of the need_break_row as
10074 it could have a row which was already freed.
10075 (draw): look at the return value of drawInset and return false if
10076 it also returned false.
10077 (paintRowText): look at the return value of draw and return false if
10078 it also returned false.
10080 * lyxtext.h: added bool return type to drawInset() and draw() so that
10081 if we have a change in the row so that the rowbreak has to be redone
10082 we abort drawing as it will be called again.
10084 2002-05-02 Juergen Vigna <jug@sad.it>
10086 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10087 a change in the maintext also if we're inside an inset.
10088 (Dispatch): set the cursor again after a break line and after the
10089 screen has been updated as it could be we're in a different row.
10091 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10092 to set the cursor behind the pargraph with > size().
10093 (setCursor): check also for the same paragraph when checking where
10094 to put the cursor if we have a NFR inset.
10096 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10097 parts of layout read further up as it still was in the wrong
10100 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10102 * screen.C (drawFromTo): change sine fullRebreak always return
10105 * buffer.C (parseSingleLyXformat2Token): reindent some
10107 * BufferView_pimpl.C (update): change since fullRebreak always
10109 (Dispatch): git rid of the last hardcoded "Standard"s.
10111 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * text2.[Ch] (fullRebreak): make it return void now that we always
10116 2002-04-30 Juergen Vigna <jug@sad.it>
10118 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10119 ert compatibility check for "latex" layout.
10121 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10123 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10124 minipages: use col% instead of p%, and also use the current font.
10125 (makeLaTeXFile): Fix use babel condition.
10126 (parseSingleLyXformat2Token): Correct font when reading old floats.
10128 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10130 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10131 inserting list of floats.
10133 2002-04-25 Herbert Voss <voss@lyx.org>
10135 * MenuBackend.C (expand): don't add the graphics extensions to the
10138 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10140 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10141 non-existing layout, do not complain if it was the default layout
10142 of the original class (bug #342)
10144 2002-04-24 Juergen Vigna <jug@sad.it>
10146 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10147 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10149 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10151 * buffer.C (getBibkeyList): If using \bibliography, return the
10152 option field with the reference itself. Enables us to provide natbib
10153 support when using \bibliography.
10155 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10157 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10159 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10160 natbib is provided by the LaTeX class.
10162 2002-04-23 Juergen Vigna <jug@sad.it>
10164 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10167 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10169 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10173 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10174 ensuremath around textordmasculine, textordfeminine and
10177 2002-04-19 Juergen Vigna <jug@sad.it>
10179 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10180 reinitializing the buffer otherwise row-dimensions may be wrong.
10181 (update): reset also the selection cursors if they do exits otherwise
10182 their x/y positions may be wrong.
10184 * text2.C (cursorDown): don't enter the inset if we came from a row
10185 above and are one row over the inset.
10187 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10188 really leaving an inset.
10190 2002-04-18 Juergen Vigna <jug@sad.it>
10192 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10193 of the selected paragraph does not have the selected layout also if
10196 * text2.C (setLayout): fixed bug which did not change last selected
10199 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10200 changed the read and substituted \\end_float with \\end_inset!
10202 * BufferView_pimpl.C (cursorPrevious):
10203 (cursorNext): fixed to make it work with rows heigher than the work
10204 area without moving the cursor only the draw of the row.
10205 (workAreaMotionNotify): fix jumping over high rows.
10207 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10212 2002-04-16 Juergen Vigna <jug@sad.it>
10214 * text2.C (setCursor): set also the irow().
10215 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10217 (cursorDown): support for locking an inset if the x_fix value goes
10218 inside it. That way I can transverse insets too with cursor up/down.
10220 * lyxrow.h: added irow helper function same as other (i) functions.
10222 * BufferView_pimpl.C (cursorPrevious):
10223 (cursorNext): fixed for insets!
10225 2002-04-15 Juergen Vigna <jug@sad.it>
10227 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10228 position otherwise it is wrong in some cases.
10230 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10231 inside the inset before the call.
10233 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10235 * buffer.[Ch] (getBibkeyList): make it const.
10237 2002-04-12 Juergen Vigna <jug@sad.it>
10239 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10241 * text2.C (getCursorX): new helper function
10242 (setCursor): compute also ix_
10243 (setCursorFromCoordinates): set also ix.
10245 * lyxcursor.h: added ix_ and helper functions.
10247 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10249 * buffer.C (insertStringAsLines): dont break paragraph if the this
10250 paragraph is inside an inset which does not permit it!
10252 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10253 also with no chars on this paragraph.
10254 (paintRowText): only paint stuff if it's inside the workarea!
10256 * paragraph.C (breakParagraph): honor keepempty flag and break the
10257 paragraph always below not above.
10259 * BufferView2.C (unlockInset): update the paragraph layout on inset
10260 unlock as we changed paragraph in such a case.
10262 * lyxfind.C (LyXFind): clear the former selection if not found!
10264 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10265 again called in insertChar().
10267 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10268 an inset which uses the whole row!
10269 (rightMargin): ditto.
10270 (insertChar): force a rebreak if we inserted an inset!
10272 2002-03-28 Herbert Voss <voss@lyx.org>
10274 * lyxlength.[Ch]: add inBP() to get the right PS-point
10275 units (BigPoint). With inPixels we have rounding errors
10277 2002-04-11 Juergen Vigna <jug@sad.it>
10279 * text2.C (setCursorFromCoordinates): set iy to the right value.
10280 (setCursor): add check if row->previous exists!
10282 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10283 an old float_type as this was the case in the old code!
10285 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10287 * BufferView2.C (showLockedInsetCursor): use iy
10288 (fitLockedInsetCursor): ditto
10290 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10291 locked insets as there we have the right value now.
10293 * lyxcursor.C: added iy_ variable and iy functions to set to the
10294 baseline of cursor-y of the locked inset.
10296 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10297 (setCursor): fixed for insets which need a full row.
10299 * text.C (rowLastPrintable): don't ignore the last space when before
10300 an inset which needs a full row.
10301 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10302 as last character of a row when before a inset which needs a full row.
10304 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10306 * version.C.in: update date
10308 * text2.C (fullRebreak): try to always return true and see what
10311 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * MenuBackend.C (expand): use Floating::listName
10315 * FloatList.C (FloatList): add listName argument to the built-in
10318 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10319 text associated with the float.
10321 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10323 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10325 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10327 * ShareContainer.h: add a couple of missing typenames.
10329 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10331 * lyxrc.C (getDescription): use _() correctly rather than N_().
10333 2002-03-28 Herbert Voss <voss@lyx.org>
10335 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10336 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10338 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10341 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10343 2002-03-29 Juergen Vigna <jug@sad.it>
10345 * lyxfunc.C (dispatch): add a missing fitCursor call.
10347 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10348 it was scrolled by a cursor move, so return the bool status.
10350 * BufferView.C (fitCursor): return the bool flag also to the outside
10351 world as this is needed.
10353 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10355 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10356 call the edit() as it is not needed (and wrong) IMO.
10357 (workAreaButtonPress): set the screen_first variable before evt.
10358 unlock the inset as this may change screen_first and then we have
10359 a wrong y position for the click!
10361 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10363 * MenuBackend.C (expand): another translation that I missed
10365 2002-03-28 Juergen Vigna <jug@sad.it>
10367 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10369 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10371 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10373 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10375 * MenuBackend.C (expand): fix export/view/update when there is no
10378 2002-03-27 Herbert Voss <voss@lyx.org>
10380 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10383 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * bufferview_funcs.C (currentState): only show paragraph number
10386 for is DEVEL_VERSION is set.
10388 * lyxfunc.C (dispatch): put warning in INFO channel
10390 * MenuBackend.C (expand): translate the name of floats
10392 * FloatList.C (FloatList): mark the float names for translation
10394 * converter.C (convert): use LibScriptSearch
10396 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10398 * MenuBackend.C (defaults): fix default menu (we might as well get
10401 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10403 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10406 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * lyxvc.C: reorder includes.
10410 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10412 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10415 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10417 * CutAndPaste.C: change layouts earlier on paste
10418 to avoid crashing when calling getFont()
10420 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10422 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10425 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * WorkArea.C: remove 'Pending' debug message.
10429 * most files: ws cleanup
10431 * buffer.[Ch]: ws changes
10433 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10435 2002-03-21 Juergen Vigna <jug@sad.it>
10437 * tabular.C (SetMultiColumn): collapse also the contents of the
10438 cells and set the last border right. Added a Buffer const * param.
10440 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10442 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10445 2002-03-19 Juergen Vigna <jug@sad.it>
10447 * text2.C (clearSelection): reset also xsel_cache.
10449 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10450 where it needs to be called (John tells us to do so too :)
10451 (selectionLost): reset sel_cache.
10453 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10455 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10457 * text2.C (setCursorIntern): put debuging code in INSETS channel
10459 2002-03-19 André Pönitz <poenitz@gmx.net>
10461 * lyxfunc.C: tiny whitespace change
10463 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * ToolbarDefaults.C (init):
10466 * LyXAction.C (init):
10468 * BufferView_pimpl.C (Dispatch):
10469 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10471 2002-03-19 Allan Rae <rae@lyx.org>
10473 * exporter.C (Export): removeAutoInsets before doing anything else.
10474 While I've just introduced a dependency on BufferView this really is
10475 the best place to clean the buffer otherwise you need to cleanup in
10476 a dozen places before calling export or cleanup in a dozen functions
10479 * converter.C (runLaTeX):
10480 (scanLog): Better handling of removeAutoInsets and screen updates.
10482 * lyxfunc.C (dispatch): small whitespace changes
10484 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * WorkArea.C (C_WorkAreaEvent): return a value.
10487 (event_cb): return 1 if we handled the event, 0 otherwise.
10489 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10491 2002-03-18 Juergen Vigna <jug@sad.it>
10493 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10494 (GetAdditionalWidth): ditto.
10495 (RightLine): ditto.
10498 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10499 inset if we're there actually (probably not used right now but this
10500 is the direction to go for unifying code).
10501 (paste): disable code to clear the selection.
10503 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10504 inside an InsetText and move the check further up as it is in the
10507 * text2.C (pasteSelection): set a selection over the pasted text.
10509 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10511 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10512 and libgraphics to build on Cygwin.
10514 2002-03-15 Juergen Vigna <jug@sad.it>
10516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10517 inserting an Inset into the paragraph. I know this is not the best
10518 fix but we already use current_view in CutAndPaste so we will remove
10519 all of it's using at the same time.
10521 * buffer.C (sgmlError): deactivated function till it is rewritten in
10522 the right mode, now it can create problems.
10524 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10525 before accessing it.
10527 2002-03-14 Juergen Vigna <jug@sad.it>
10529 * undo_funcs.C (textHandleUndo): do the right thing when updating
10530 the inset after the undo/redo.
10532 * text2.C (setCursor): just some testcode for #44 not ready yet.
10534 * undo_funcs.C (textHandleUndo): set the next() and previous()
10535 pointers of the paragraph to 0 before deleting otherwise we have
10536 problems with the Paragraph::[destructor].
10538 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10539 on a paragraph insertion.
10541 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * buffer.C (asciiParagraph): use += operator for char append to
10546 * paragraph.C (getFontSettings): compare >= not just >
10547 (highestFontInRange): ditto
10550 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10552 * paragraph.C: change several algorithm to be more appripriate for
10553 the problem domain. This is lookip in FontList and in the InsetList.
10555 2002-03-13 André Pönitz <poenitz@gmx.net>
10558 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10560 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10565 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10567 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * Painter.C (display): anon helper function, adjust code for this
10571 (pixmap): remove function.
10573 * Painter.h: remove private display variable.
10575 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10577 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10579 * WorkArea.[Ch]: remove figinset_canvas cruft.
10581 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10583 * lyxtextclass.C (operator): add one item cache optimization.
10585 * bufferlist.h: doxy changes
10587 * bufferlist.C: ws changes
10589 * DepTable.[Ch] (ext_exist): place const in the right spot.
10591 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10593 (workAreaExpose): call resizeInsets when the with BufferView changes.
10594 (Dispatch): adjust for protectedBlank removal
10595 (specialChar): call updateInset if the insert went ok.
10597 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10598 specialChar instead.
10600 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10602 * BufferView.h: doxy change
10604 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10606 * lyxtextclass.C (operator[]): remove non-const version
10607 (defaultLayout): remove non-const version
10609 2002-03-12 Juergen Vigna <jug@sad.it>
10611 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10612 did resize the LyXText too.
10614 * buffer.C (readLyXformat2): set layout information on newly allocated
10617 * tabular.C (OldFormatRead): set layout information on the paragraph.
10619 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10621 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10623 2002-03-11 Juergen Vigna <jug@sad.it>
10625 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10627 (resizeCurrentBuffer): force also the insets to resize themselfes.
10628 (moveCursorUpdate): fixed up for InsetText.
10630 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10633 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10634 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10635 value of Dialogs::tooltipsEnabled().
10636 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10638 2002-03-08 Juergen Vigna <jug@sad.it>
10640 * BufferView_pimpl.C (updateInset): update inset inside inset also
10641 if it isn't inside theLockingInset().
10643 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10645 * buffer.C (asciiParagraph): redo some of the word and line length
10647 (getLists): look for Caption instead of caption.
10649 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10651 * buffer.C (Buffer): initialize niceFile to true
10653 (makeLinuxDocFile):
10654 (makeDocBookFile): make sure niceFile is true on exit
10656 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10658 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10660 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10662 * LyXSendto.C: remove.
10663 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10664 * lyx_gui.C: remove now-redundant comment.
10665 * ColorHandler.h: remove forward declaration of class WorkArea.
10666 * lyxfunc.C: remove #include "WorkArea.h".
10668 2002-03-07 Juergen Vigna <jug@sad.it>
10670 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10671 got moved away with the DEPM and also set the inset_owner always
10672 right which before could have been omitted.
10674 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10676 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10677 wanted layout is not found.
10679 2002-03-07 Juergen Vigna <jug@sad.it>
10681 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10683 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10685 * paragraph.C (breakParagraph): use default layout not layout of
10687 (Paragraph): clear ParagraphParameters.
10689 2002-03-06 Juergen Vigna <jug@sad.it>
10691 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10692 otherwise it would not be a valid lenght. Fixed a special case in
10693 the minipage compatibility read where we end the document with a
10696 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10697 was set as it could be 0 for InsetTexts first entry.
10699 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * paragraph.C (writeFile): if layout is empty write out
10702 defaultLayoutName().
10704 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10705 file without named layout we set layout to defaultLayoutName().
10707 2002-03-06 Juergen Vigna <jug@sad.it>
10709 * CutAndPaste.C (copySelection): set layout for new paragraph.
10711 * text.C (prepareToPrint): leave ERT inset left aligned
10712 (leftMargin): don't indent paragraphs inside ERT insets
10714 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10716 * paragraph.C (breakParagraph): dont call clear do the work manually
10718 * paragraph.[Ch] (clear): remove function
10720 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * paragraph.C (Paragraph): dont call clear, the work has already
10725 * lyxtextclass.C (operator): assert if n is empty
10727 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10728 work manually instead.
10730 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10732 * BufferView_pimpl.C: protect selectionLost against text == 0
10734 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * text.C (breakParagraph): fix a setting layout to '0' problem.
10738 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10740 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10741 final location of file, for the included files, and graphics.
10743 2002-03-05 Juergen Vigna <jug@sad.it>
10745 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10747 2002-03-04 Juergen Vigna <jug@sad.it>
10749 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10751 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10752 last column of multicolumn cells.
10753 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10755 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10757 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10758 file if it doesn't go to a temporary file.
10760 * buffer.C (sgmlOpenTag):
10761 (sgmlCloseTag): remove extra newline insertion.
10763 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * text.C (getRowNearY): comment out debug msg
10767 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * text2.C: first -> first_y
10771 * text.C (getRowNearY): add some attemts at a possible
10772 optimization, not working.
10774 * tabular.[Ch]: add BufferParams to several function so that newly
10775 created paragraph can be initialized to he default layotu for the
10778 * tabular-old.C (ReadOld): add buf->params to call of Init
10780 * screen.C: rename text->first to text->first_y
10782 * paragraph.C (breakParagraph): always set layout in the broken
10785 * lyxtextclass.C (Read): remove lowercase
10788 (delete_layout): ditto
10790 * lyxtext.h: rename first -> first_y
10792 * lyxlayout.C (Read): remove lowercase
10795 (obsoleted_by): ditto
10797 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10799 * buffer.C (insertErtContents): add params are to InsetERT
10800 (parseSingleLyXformat2Token): add code to check if a paragraphs
10801 layout really exist.
10802 (parseSingleLyXformat2Token): add params to several inset
10804 (asciiParagraph): remove lowercase, do the layout comparisons with
10807 * BufferView_pimpl.C (cursorNext): first -> first_y
10808 (resizeCurrentBuffer): first -> first_y
10809 (updateScrollbar): first -> first_y
10810 (scrollCB): first -> first_y
10811 (workAreaMotionNotify): first -> first_y
10812 (workAreaButtonPress): first -> first_y
10813 (checkInsetHit): first -> first_y
10814 (cursorPrevious): first -> first_y
10815 (cursorNext): first -> first_y
10816 (Dispatch): add buffer_->params to severl inset contructors
10818 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10820 * lyxlayout.C (Read): remove some debug info that I forgot.
10822 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10823 clean up the code slightly.
10824 (makeLinuxDocFile): ditto
10825 (makeDocBookFile): ditto
10827 * text2.C: layout as string
10829 * text.C: layout as string
10831 * paragraph_pimpl.C: layout as string
10833 * paragraph.[Ch]: layout as string
10835 * lyxtextclasslist.[Ch]: layout as string
10837 * lyxtextclass.[Ch]: layout as string
10839 * lyxtext.h: layout as string
10841 * lyxlayout.[Ch]: layout as string
10843 * lyx_cb.C: layout as string
10845 * bufferview_funcs.C: layout as string
10847 * bufferparams.C: layout as string
10849 * buffer.C: layout as string
10851 * LyXView.[Ch]: layout as string
10853 * LaTeXFeatures.[Ch]: layout as string
10855 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10857 * BufferView_pimpl.C: change current_layout to string, remove
10862 (workAreaButtonRelease): layout as string
10864 * BufferView2.C (unlockInset): adjust
10866 * vspace.C (asLatexCommand): use an explict temp variable.
10868 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10870 * Makefile.am: use FRONTEND_*
10872 2002-03-01 Juergen Vigna <jug@sad.it>
10874 * tabular.C (SetWidthOfMulticolCell): changed to something better
10875 I hope but still work in progress.
10876 (recalculateMulticolumnsOfColumn): renamed function from
10877 recalculateMulticolCells as it is more appropriate now.
10878 (SetWidthOfCell): calculate multicols better.
10880 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10884 * lyxfunc.C (processKeySym): print sequence also if it is
10885 `deleted' (complete)
10887 * kbsequence.C (print): print sequence even if it is deleted
10888 (complete would be a better word, actually).
10890 * lyxfunc.C (dispatch): print complete options after a prefix key
10892 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10894 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10896 * text2.C (setCharFont): eliminate setCharFont code duplication.
10898 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10901 LFUN_TABULAR_FEATURE (bug #177)
10903 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10905 * Makefile.am: remove figure.h
10907 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10909 * Bufferview_pimpl.C:
10921 * text2.C: remove #include "lyx_gui_misc.h".
10923 * LaTeX.C: added #include <cstdio>
10925 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10927 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10928 that the paragraph following this one can have.
10930 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10932 * vspace.C (asLatexCommand): fix bogus gcc warning
10934 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10936 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10938 * text2.C (setLayout): get rid of redundant code
10940 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10942 * text2.C (incDepth): make sure depth cannot be increased beyond
10945 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10947 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10948 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10950 * PainterBase.h (image):
10951 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10952 a LyXImage const *.
10954 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10958 * BufferView_pimpl.C:
10959 * BufferView_pimpl.h:
10979 * sp_spell.C: remove fig inset, and the crap house of
10980 cards that follows it
10982 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10987 * os2_errortable.h:
10988 * nt_defines.h: move .h into support/
10990 * vms_defines.h: remove
10992 * WorkArea.C: add space in debug output
10996 * buffer.C: add WITH_WARNINGS
11000 * bufferlist.C: s/retrive/retrieve/, add docs
11009 * chset.C: add docs
11011 * lyxgui.C: add ID to X error handler
11013 * lyxtestclass.c: fix typo
11015 2002-02-26 Juergen Vigna <jug@sad.it>
11017 * tabular_funcs.C (write_attribute): changed so that some default
11018 attributes are not written at all.
11019 (getTokenValue): set default values before trying to read the
11020 value so we have the return value always set as default if we don't
11021 find the token we search for.
11023 * tabular.C (Write): write bools as bools not as strings!
11025 2002-02-22 Juergen Vigna <jug@sad.it>
11027 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11028 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11030 * text.C (leftMargin): don't add an indent for paragraphs inside
11031 tabular cells (fix #208).
11033 2002-02-21 José Matos <jamatos@fep.up.pt>
11035 * tabular.C (docBook): fixed support for long tables.
11037 2002-02-20 Juergen Vigna <jug@sad.it>
11039 * text2.C (getFont): get the drawing font of the Inset if this
11040 paragraph is inside an inset (only important for InsetERT for now).
11042 * buffer.C (insertErtContents): use new lanugage params in ERT
11045 * CutAndPaste.C: commenting out seemingly uneeded code.
11047 2002-02-19 Allan Rae <rae@lyx.org>
11049 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11050 Iterators might be simple to use but they also get invalidated.
11051 (removeAutoInsets): renamed saved cursor tracking variables and added
11052 some comments to clarify what everything does.
11054 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11061 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11062 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11065 * vc-backend.h: remove #include "support/syscall.h"
11069 * converter.C: rearrange #includes in Lars' approved fashion.
11071 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11072 forward declare class Timeout in the header file.
11074 * XFormsView.C: changes due to the above.
11076 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11077 similar to LyXView.
11079 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11080 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11082 2002-02-18 José Matos <jamatos@fep.up.pt>
11084 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11087 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11089 * a lot of small ws changes
11090 * add a lot of using std::XXX
11091 * use std construcs some places where approp.
11092 * use some exisint stuff from lyxfunctional where approp.
11093 * Make file changes to use partial linking (lets test this now...)
11095 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11099 remove #include "support/syscontr.h" as it's redundant. Always has been.
11107 change Systemcalls::System to Systemcalls::Wait and
11108 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11109 No change of functionality, just reflects the stripped down Systemcalls
11112 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11114 * debug.[Ch]: add a GRAPHICS type to the enum.
11116 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11120 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11123 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11125 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11126 match the changes below.
11128 * text2.C (toggleInset): if there is not editable inset at cursor
11129 position, try to see if cursor is _inside_ a collapsable inset
11132 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11134 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11135 document menu has a nice checkbox
11137 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * lyxlength.C (asLatexString): change PW to output as percent of
11142 * lengthcommon.C: change '%' to 't%'
11144 * lyxfunc.C (dispatch): a few comments from Martin
11146 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11150 * BufferView_pimpl.h:
11151 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11154 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11156 * vspace.C (inPixels): fix compiler warning
11158 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyxfunc.C (getStatus): fix status message for disabled commands.
11162 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11164 * BufferView_pimpl.C: fix crash on close buffer
11165 during selection (#227)
11167 2002-01-27 Herbert Voss <voss@lyx.org>
11169 * buffer.C: link old Figure to new graphic inset
11171 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11173 * FontLoader.C (getFontinfo): Change the latex font names in order
11174 to match the names of type1inst.
11176 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11180 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11181 (extchanged): ditto
11183 (remove_files_with_extension): ditto
11184 (remove_file): ditto
11187 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11188 document is smaller than the work area height. Do not initialize
11189 static variables to 0.
11191 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11193 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11195 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11196 LFUN_LAYOUT_PARAGRAPHS.
11198 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11199 tabular. It is possible to provide a possible cell, which will
11200 typically be the actcell from the corresponding insettabular
11202 * lyxfunc.C (getStatus): small cleanup; disable
11203 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11206 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11210 * paragraph.C (startTeXParParams):
11211 (endTeXParParams): new methods. The LaTeX code to
11212 start/end paragraph formatting
11213 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11214 empty (fixes bug #200)
11216 * vspace.C (inPixels): adapt to the change below
11217 (inPixels): [later] more cleanups (remove unused variables)
11219 * lyxlength.C (inPixels): change to use a width and a height as
11222 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11224 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11225 Replaced with \paperwidth
11227 * DepTable.C (insert): add std:: qualifier
11229 2002-01-18 Allan Rae <rae@lyx.org>
11231 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11234 * text.C (drawInset): Turned out I didn't know enough about how
11235 rebreaking worked. This fixes most of the redraw problems. I see
11236 an occasional cursor trail when a line is broken now and the cursor
11237 placement can seem out by a few pixels also after a rebreak.
11239 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * buffer.C (parseSingleLyXformat2Token): update because minipage
11242 width is now a LyXLength
11244 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11246 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11249 2002-01-17 Juergen Vigna <jug@sad.it>
11251 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11253 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11254 is set correctly and the inset is updated correctly.
11256 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11258 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11259 the beginning of the loop.
11261 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11263 * lyxrc.C: improve help for use_scalable_fonts
11265 2002-01-17 Allan Rae <rae@lyx.org>
11267 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11269 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11272 make sure to set their inset_owner to the right value (bug #171)
11274 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11277 * DepTable.C: Implement mtime checking to reduce time spent doing
11280 2002-01-16 Juergen Vigna <jug@sad.it>
11282 * tabular.C (GetAdditionalHeight): one of error fixed.
11284 * lyxrc.C (output): small fix in writing use_pspell.
11286 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11288 * sp_base.h: #include LString.h
11290 2002-01-16 Allan Rae <rae@lyx.org>
11292 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11293 Can someone check this please?
11295 * text.C (drawInset): It was possible that p.row would be removed by
11296 breakAgainOneRow upsetting a few other settings. There may be another
11297 small tweak possible by setting need_break_row = 0 when p.row has been
11298 removed but I don't know enough about the logic here.
11300 2002-01-15 Allan Rae <rae@lyx.org>
11302 * text.C (insertChar): removed conditional truism.
11304 * BufferView2.C (removeAutoInsets): More tweaks.
11305 cur_par_prev could be a stray pointer. Check for trailing empty line
11306 in case last line was cur_par and only had an error inset on it.
11308 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11310 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11313 * vc-backend.C (most methods):
11314 * exporter.C (Export):
11315 * converter.C (convert):
11317 * LyXSendto.C (SendtoApplyCB):
11318 * lyxfunc.C (dispatch):
11322 * lyx_cb.C (AutoSave):
11324 * BufferView_pimpl.C (MenuInsertLyXFile):
11325 * buffer.C (runChktex): use Buffer::filePath().
11327 * buffer.h: rename filename to filename_; rename filepath to
11328 filepath_ and make it private
11329 (filePath): new method
11331 * buffer.C (writeFile): use fileName()
11334 * lyx_main.C (init): fix starting of LyX when the binary is a
11335 link from so,ewhere else.
11337 * minibuffer.C: include <cctype> for isprint
11339 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11341 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11342 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11343 name clash with InsetCollapsable's width function.
11345 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11347 * lastfiles.C: include <iterator>
11349 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11351 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11354 * buffer.C (makeLaTeXFile): ditto.
11355 Also make loop operation more transparent.
11357 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11359 * ToolbarDefaults.C: remove trailing comma closing namespace.
11361 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11363 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11366 * trans.C (Load): comment out unused variable, allowed.
11368 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11370 * minibuffer.[Ch] (append_char): new method to recieve input from the
11371 drop-down completion browser. If a key was pressed, then recieve this
11372 char and append it to the existing string.
11373 (peek_event): modify the positioning data passed to the completion
11374 browser so that it can be placed above the minibuffer rather than below.
11375 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * LyXAction.C (init): alloe error-next for readonly documents.
11379 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11382 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * bufferlist.C (readFile): create the buffer _after_ checking that
11387 * lyxfunc.C (verboseDispatch): fix handling of arguments
11389 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11391 * lyxrc.C: use string::erase() instead of initializing to "".
11394 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11396 * BufferView_pimpl.h:
11397 * BufferView_pimpl.C:
11400 * text2.C: tell X when we have made a selection for copying
11402 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11404 * BufferView_pimpl.C (MenuInsertLyXFile):
11405 * lyxfunc.C (menuNew):
11407 (doImport): add shortcuts to directory buttons
11409 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11412 * lyxfunc.C (setStatusMessage):
11413 (getStatusMessage): new methods
11414 (getStatus):use setStatusMessage instead of setErrorMessage
11415 (dispatch): when function is disabled, set error message here
11416 [instead of in getStatus previously]
11418 * BufferView_pimpl.C (workAreaButtonRelease): update
11419 toolbar/menubar here too.
11421 2002-01-13 Allan Rae <rae@lyx.org>
11423 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11424 Now seems indestructible. Remaining task is to audit all other
11425 code affected by deleteEmptyParagraphMechanism. One small quirk
11426 left is that an empty document with an error in the preamble can
11427 be made to report an error but no error box appears. I don't know
11429 (removeAutoInsets): Improved comments.
11431 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11434 * Thesaurus.C: update for Aiksaurus 0.14
11436 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * text2.C (firstParagraph): removed member function, all uses
11439 replaces with ownerParagraph
11440 (redoParagraphs): here
11441 (updateInset): here
11442 (toggleAppendix): here
11443 * BufferView2.C (insertErrors): here
11444 (setCursorFromRow): here
11446 2002-01-13 Allan Rae <rae@lyx.org>
11448 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11449 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11450 There is still a way to segfault this although you may have to do this
11451 multiple times: Have an InsetERT with an unknown command in it.
11452 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11453 <down-arrow>, <Enter> again, View->DVI, BANG!
11455 * text2.C (setCursor):
11456 (deleteEmptyParagraphMechanism):
11457 * lyxtext.h (setCursor):
11458 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11459 Making use of the return value may help fix other bugs.
11461 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11465 * LyXView.C (updateMenubar): call MenuBar::update here
11466 (updateToolbar): but not here
11467 (showState): do not update toolbar/menubar
11469 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11470 should need to care about that.
11472 * lyxfunc.C (verboseDispatch): simplify a bit
11473 (getStatus): have a version which takes a pseudoaction, and
11474 another which requires a (kb_action,string).
11476 * LyXAction.C (retrieveActionArg): make it work also when action
11477 is not a pseudo-action.
11478 (getActionName): simplify a bit
11481 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11483 * lyxfunc.C (verboseDispatch): new families of methods with
11484 several ways to specify a command and a bool to indicate whether
11485 the command name and shortcut should be displayed in minibuffer
11486 (eventually, we could extend that to a finer bitmask like
11487 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11488 (dispatch): the pristine dispatch command which just, well,
11489 dispatchs! Note it still sets its result to minibuffer; I'm not
11492 * lyxfunc.h: remove setHintMessage
11494 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11496 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * BufferView_pimpl.C (specialChar): delete new inset if we have
11499 not been able to insert it.
11501 * kbmap.C: revert to using int instead of kb_action, since all we
11502 are dealing with is pseudo-actions.
11504 * LyXAction.C (searchActionArg): change to return int instead of
11505 kb_action, since the result is a pseudoaction.
11507 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11509 * buffer.C (insertErtContents): Fix (partially) the font bug.
11511 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11513 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11514 as the other one is broken on my machine!
11516 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11519 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11521 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11523 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11524 reflect their actual use. Provide compatibility code for older lyxrc
11527 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11529 change names of popup font variables in line with the changes to lyxrc.C
11531 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11533 * buffer.C (asciiParagraph): avoid outputing a word twice after
11536 * lyxrc.C (getDescription): document that document_path and
11537 template_path can be empty.
11539 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * LaTeXFeatures.C (getMacros):
11542 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11544 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11546 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11548 (getPackages): rename feature "floats" to "float". Use an array to
11549 iterate over 'simple' features (i.e. just a \usepackage). Add
11550 handling of "amsmath" (renamed from "amsstyle").
11552 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11554 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11557 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11559 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11560 FuncStaus::FuncStatus & FuncStaus::some_method().
11562 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11564 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11565 of the func_satus stuff. Edited and massaged in various ways by
11568 * lyxfunc.C (getStatus): use FuncStatus
11570 2002-01-08 Juergen Vigna <jug@sad.it>
11572 * text.C (nextBreakPoint): use function Inset::isChar().
11574 * paragraph.C (TeXOnePar): use function
11575 Inset::forceDefaultParagraphs.
11577 * buffer.C (latexParagraphs): use function
11578 Inset::forceDefaultParagraphs.
11580 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11582 * lyx_gui.C (init): set the style of the menu popups to
11583 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11585 2002-01-07 Juergen Vigna <jug@sad.it>
11587 * text.C (setHeightOfRow): small fix
11588 (prepareToPrint): don't look at alignment if we don't have the place
11591 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11593 * box.C: New file. Move the Box methods and functions out of box.h,
11594 following Lars' suggestion.
11596 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11598 * box.h: #include "support/LOstream.h", needed for inlined function.
11601 * lyxtextclasslist.C: added some using std declarations.
11603 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11605 * box.h: make signed dimensions to allow insets wider than
11606 the screen (bug #162)
11608 * BufferView_pimpl.C: add some insetHit debug
11610 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11612 * vc-backend.C: add FIXME
11614 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * lyxfunc.C (getStatus): enable code for showing math font status
11619 2002-01-07 Juergen Vigna <jug@sad.it>
11621 * text.C (nextBreakPoint): removed debug output not needed anymore.
11623 2002-01-06 Juergen Vigna <jug@sad.it>
11625 * text.C (nextBreakPoint): fixed up this function we had this bug
11626 since ever but now hopefully we break row better.
11627 (insertChar): we have to check if an inset is the next char as it
11628 could now happen that a large inset is causing a break.
11630 2002-01-05 Juergen Vigna <jug@sad.it>
11632 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11633 if it doesn't like to be drawed.
11635 2002-01-04 Juergen Vigna <jug@sad.it>
11637 * BufferView2.C (lockInset): forgot to set a cursor.
11639 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11641 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11643 * FormMathsPanel.C:
11646 * form_maths_panel.C:
11647 * form_maths_panel.h:
11648 * form_maths_panel.fd: implemented sub- and super- buttons in math
11651 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11652 (or ^ space) to be used as in TeX (req'd by André).
11654 * lyxfunc.C: Allow ^ and _ again to be used both as
11655 super/subscript (mathed) and as themselves (in text).
11657 2002-01-03 Allan Rae <rae@lyx.org>
11659 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11660 "LyX" or the filename of the current buffer if it has one. This is a
11661 modified form of John Levon's patch.
11663 * XFormsView.C (setWindowTitle): also set icon title.
11665 * LyXView.h (setWindowTitle): signature changed.
11666 * XFormsView.h (setWindowTitle): ditto.
11668 2002-01-02 Juergen Vigna <jug@sad.it>
11670 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11672 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11674 * screen.C (topCursorVisible): introduce a temp var for
11675 text->cursor.row(), handle the case where this row is null. (kindo
11678 * text2.C (setCursor): add a couple of asserts.
11680 * paragraph.h (inset_iterator): add -> operator
11682 * paragraph.[Ch] (autoDeleteInsets): remove member function
11684 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11685 cursor pos correctly and handle inset deletion by itself.
11686 (insertErrors): move iterator declaration out of for expression
11688 * lyxtextclass.C: add <algorithm>
11690 * Makefile.am: added the new files to sources, removed layout.C
11692 * layout.C: removed file
11694 * layout.h: remove LYX_DUMMY_LAYOUT
11696 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11700 * lyxtextclass.[Ch]:
11701 * lyxtextclasslist.[Ch]: new files
11703 * include order changes to a lot of files, also changes because of
11706 2001-12-27 Juergen Vigna <jug@sad.it>
11708 * buffer.C (asciiParagraph): more fixes.
11710 * tabular.C (ascii): make ascii export support export of only the
11711 data separated by a column-delimiter.
11712 (ascii): better support for ascii export.
11714 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11716 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11718 * tabular_funcs.C: use a "using std::getline" instead of the
11719 previous fix from Angus (necessary for cxx + lyxstring)
11721 2001-12-24 Juergen Vigna <jug@sad.it>
11723 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11725 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11726 problems. First check a minipage also if we have some ert-contents
11727 (not only on par->size(), second set the right depth of the paragraph
11728 on the relink to the root-paragraph-list!
11730 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11731 which then did not anymore update the main paragraphs on undo/redo!
11733 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11736 code. Support all font-changing funcs (even those which are not in
11737 menu currently). Support for reporting font settings in
11738 mathed (disabled until Andre provides a function on mathed's side).
11740 * func_status.h (toggle): small helper function to set toggle
11743 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11745 * tabular_funcs.C: getline -> std::getline
11747 2001-12-21 Juergen Vigna <jug@sad.it>
11749 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11750 accessed and could be 0 (I couldn't generate this but it seems
11753 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11755 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11756 * tabular_funcs.h: here and include iosfwd
11758 2001-12-20 Juergen Vigna <jug@sad.it>
11760 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11761 inside inset but undo_par was.
11763 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * Thesaurus.C: always include <config.h> in sources.
11769 * box.h: do not include <config.h> in header files
11771 * text.C (paintLastRow): remove unused variable
11773 * text.C (transformChar):
11775 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11777 * Painter.C (text):
11778 * font.C (width): rewrite to use uppercase() instead of
11781 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11783 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11785 * lyxfind.C: clean up of find failure position change
11787 2001-12-20 Juergen Vigna <jug@sad.it>
11789 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11791 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11792 (TeXRow): added to LaTeX a single tabular row.
11793 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11794 (Latex): simplified and finally good LT-h/f support.
11795 (various_functions): just small adaptions for LT-h/f support.
11797 * tabular_funcs.[hC]: added and moved here all not classfunctions
11800 2001-12-19 Juergen Vigna <jug@sad.it>
11802 * tabular.[Ch]: better support for longtabular options (not finished
11805 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11807 * text.C (paintLastRow): use the label font instead of the font of
11808 the last character to compute the size of *_BOX. This makes more
11809 sense and avoids a crash with empty paragraphs.
11810 Use Painter::rectangle to draw EMPTY_BOX.
11812 2001-12-19 Juergen Vigna <jug@sad.it>
11814 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11815 the paragraphs if the replaced paragraph is not the first one!
11816 Tried to delete not used paragraphs but does not work yet so for
11817 now it's inside #ifdef's and by default off!
11819 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * MenuBackend.C: include "lyx_main.h" instead of declaring
11822 lastfiles (actually was declared as LastFiles* instead of a
11825 2001-12-17 Juergen Vigna <jug@sad.it>
11827 * tabular.C (AppendColumn): applied John's fix
11829 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11833 * BufferView_pimpl.h:
11834 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11837 * box.h: new start of class for above
11839 * lyxfunc.C: ignore space-only minibuffer dispatches.
11840 Show the command name when it doesn't exist
11842 * minibuffer.C: don't add empty lines to the history
11844 * minibuffer.C: add a space on dropdown completion
11846 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11848 * text.C: fix line above/below drawing in insets
11850 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * lyxlength.C (LyXLength): Initialize private variables.
11854 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11857 when inserting error insets.
11859 2001-12-13 Juergen Vigna <jug@sad.it>
11861 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11862 actually sometimes the before-paragraph.
11863 (setUndo): don't clear the redostack if we're not actually undoing!
11865 2001-12-06 Juergen Vigna <jug@sad.it>
11867 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11868 and fixed redoing of main paragraph, so we can use it now ;)
11870 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11872 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11874 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11877 2001-12-13 André Pönitz <poenitz@gmx.net>
11880 * undo_func.C: minor cleanup
11882 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11885 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11886 font in urw-fonts package which is marked as -urw-fontspecific and
11887 does not work (incidentally, changing the encoding in the
11888 fonts.dir of this package to -adobe-fontspecific fixes the
11891 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11892 is a crash when undoing first paragraph (Juergen, please take a
11893 look). THis does not mean the undo fix is wrong, just that it
11896 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11897 the (Paragraph*) version when needed instead of duplicating the
11900 * text.C (workWidth): use Inset::parOwner to find out where the
11901 inset has been inserted. This is a huge performance gain for large
11902 documents with lots of insets. If Inset::parOwner is not set, fall
11903 back on the brute force method
11905 * paragraph_pimpl.C (insertInset):
11906 * paragraph.C (Paragraph):
11907 (cutIntoMinibuffer): set parOwner of insets when
11908 inserting/removing them
11910 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11912 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11918 * mathed/formulabase.C:
11919 * mathed/math_cursor.[Ch]:
11920 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11923 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * lyxlength.[Ch] (operator!=): new function
11927 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * text.C (workWidth): use Inset::parOwner to find out where the
11930 inset has been inserted. This is a huge performance gain for large
11931 documents with lots of insets. If Inset::parOwner is not set, fall
11932 back on the brute force method
11934 * paragraph_pimpl.C (insertInset):
11935 * paragraph.C (Paragraph):
11936 (cutIntoMinibuffer): set parOwner of insets when
11937 inserting/removing them
11939 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11941 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * tabular-old.C (getTokenValue):
11944 * tabular.C (getTokenValue):
11945 (write_attribute): new versions for LyXLength
11946 (everywhere): adjust the use of widths
11948 * tabular.h: change the type of widths from string to LyXLength
11950 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11952 * paragraph.C: fixed missing line number count when exporting
11953 Environments to LaTeX file
11955 * buffer.C: added informational message for checking line numbers.
11957 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11959 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11960 paragraph, do the 'double space' part, but not the 'empty
11963 * text.C (workWidth): small optimization
11964 (getLengthMarkerHeight): use minimal size for negative lengths.
11966 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11968 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11970 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11972 2001-12-11 André Pönitz <poenitz@gmx.net>
11975 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11977 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11979 * text2.C: keep selection on a setFont()
11981 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11983 * lyx_cb.C: another bv->text misuse, from insert label
11985 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11988 * kbsequence.C: re-instate nmodifier mask
11990 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11992 * lyx_main.h: make lyxGUI private.
11994 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11996 * lyxfind.C: place the cursor correctly on failed search
11998 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * text.C (getLengthMarkerHeight): for small heights, the arrows
12001 are not always on top/bottom of the text
12002 (drawLengthMarker): smaller arrows; take the left margin in
12003 account; draw also vfills.
12005 (paintLastRow): remove special code for vfill and standard spaces,
12006 since everything is handled in drawLengthMarker now.
12008 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * buffer.C (insertErtContents): try to handle font and language
12011 interaction a bit better.g
12013 * ColorHandler.C (updateColor): change the hash to cover the whole
12014 LColor enum, ws cleanup
12015 (getGCLinepars): ditto
12016 (getGCLinepars): only lookup in the linecache once.
12018 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12020 * iterators.C (operator++): Make the iterator more robust
12022 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12026 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12029 * text.C: better added space drawing
12031 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12034 * BufferView2.C: fix layout combo update on inset unlock
12036 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12038 * Makefile.am: don't compile unused files
12040 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12044 * LyXAction.C: remove old LFUN_LAYOUTNO
12046 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12048 * paragraph_pimpl.h:
12049 * paragraph_pimpl.C: isTextAt() doesn't need font param
12051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12054 * lyxlex.C: little cleanup
12056 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView_pimpl.C: fix insertAscii for insets
12060 2001-12-05 Juergen Vigna <jug@sad.it>
12062 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12063 set the right font on the "multi" paragraph paste!
12065 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * lyxlength.C: remove out-commented code.
12073 * BufferView_pimpl:
12087 * vc-backend.C: change "while(" to "while ("
12089 * lyxlength.[Ch]: add zero function to check if length is zero or
12091 * lyxgluelength.C: use it
12093 2001-12-05 Allan Rae <rae@lyx.org>
12095 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12096 Works for 2.95.3, from what I understand of Garst's reports this should
12097 work for other g++ versions. We're screwed if the abs(int) definition
12098 changed between bugfix releases of gcc.
12100 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12102 * text.C: fix chapter label offset !
12104 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12107 * text.C: fix hfill at end of line, clean up
12109 2001-12-04 Juergen Vigna <jug@sad.it>
12111 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12112 that we force an update of the inset and it's owners if neccessary.
12114 2001-12-03 Juergen Vigna <jug@sad.it>
12116 * text.C (rowLast): simplified code
12118 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12120 * lyxfunc.C: fix show options on timeout
12122 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12124 * screen.C (topCursorVisible): scroll half a page when the cursor
12125 reached top of bottom of screen
12127 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12129 * minibuffer.C: deactivate on loss of focus
12131 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * vspace.[Ch] (operator!=): add operator.
12135 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12137 * BufferView_pimpl.C: refuse to open an inset when
12138 there's a selection.
12140 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12142 * BufferView_pimpl.C: allow to click on RHS of full row insets
12144 2001-11-30 Juergen Vigna <jug@sad.it>
12146 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12147 insets for undo reasons.
12149 2001-11-28 André Pönitz <poenitz@gmx.net>
12151 * vspace.[Ch]: cosmetical changes
12153 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12163 * kbsequence.C: part re-write of old kb code
12166 * WorkArea.C: remove Lgb_bug_find_hack
12168 2001-11-30 José Matos <jamatos@fep.up.pt>
12170 * buffer.C (makeDocBookFile): add a comment to point a hack.
12171 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12172 Fixed a double write of labels.
12174 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12177 * LaTeX.h Fixed bug in LaTeX class where it would not
12178 re-run latex if no depfiles were changed, but the .dvi was removed.
12180 2001-11-28 André Pönitz <poenitz@gmx.net>
12182 * all the files from the change on 2001/11/26:
12183 use lyx::layout_type instead of LyXTextClass::size_type
12184 use lyx::textclass_type instead of LyXTextClassList::size_type
12186 2001-11-29 Juergen Vigna <jug@sad.it>
12188 * text.C: added support for paragraph::isFreeSpacing()
12190 * buffer.C: same as above
12192 * paragraph.h: inserted isFreeSpacing() function to enable
12193 FreeSpacing inside InsetERT.
12195 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12196 of the paragraph's in the cut/copy buffer to 0!
12198 * text2.C (removeRow): remove the assert as it can!
12200 * lyxtext.h: added helper function firstRow returning firstrow and
12201 made firstrow private again.
12203 * BufferView2.C (lockInset): don't relock if we're already locked!
12205 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12206 the only paragraph.
12207 (removeRow): added Assert::(firstrow)
12209 * debug.C: forgot to add INSETTEXT here.
12211 2001-11-28 Juergen Vigna <jug@sad.it>
12213 * sp_spell.C (initialize): changed error text to more general
12214 spellchecker command use (not only ispell!)
12216 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12218 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12220 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12222 * vspace.C: initialise lyxgluelength on failure
12224 2001-11-28 Allan Rae <rae@lyx.org>
12226 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12227 declaration & definition that looks like a function declaration.
12229 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * BufferView2.C (copy):
12232 (copyEnvironment): do not clear the selection when doing a copy.
12234 * text.C (paintFirstRow): compilation fix
12236 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12238 * tabular.C (Latex): correct line count when writing latex.
12240 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12242 * paragraph_pimpl.h:
12243 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12246 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12250 * LColor.C: change vfillline->added_space
12252 * text.C: add markers and text for added space
12254 * vspace.C: fix comment
12256 2001-11-28 André Pönitz <poenitz@gmx.net>
12258 * paragraph.C: whitespace changes
12259 * all the other files from the change on 2001/11/26:
12260 change *::pos_type into lyx::pos_type
12262 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12264 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12265 language of the document when inserting error insets.
12267 2001-11-26 André Pönitz <poenitz@gmx.net>
12269 * BufferView_pimpl.[Ch]:
12277 * paragraph_pimpl.[Ch]:
12280 * text2.C: reduce header dependencies, introduce type for positions
12282 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12284 * <various>: change to use Alert.h
12286 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12288 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12289 when encountering an unknown token.
12290 (readLyXformat2): Show an error message if there were unknown tokens.
12292 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.C:
12299 * text2.C: use par->isInset()
12301 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12303 * paragraph_pimpl.h:
12304 * paragraph_pimpl.C: cleanup
12306 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * text2.C (removeRow):
12309 * text.C (setHeightOfRow): remove useless (and costly) call to
12312 2001-11-20 Allan Rae <rae@lyx.org>
12314 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12315 Now need Inset*::checkInsertChar() to return true for appropriate
12316 cases so that the characters in the minibuffer will actually be
12319 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * text.C: change the order of the includes.
12322 (workWidth): initialize it at once.
12323 (workWidth): make maxw unsigned
12324 (setHeightOfRow): remove unused variable (inset)
12325 (selectSelectedWord): remove unused variable (inset)
12326 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12328 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12331 server is not running.
12333 (closeConnection): add debug info when server is disabled.
12335 * ColorHandler.C (getGCForeground): send debug message to GUI
12338 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12340 * kbmap.C (bind): modify because return conventions of
12341 kb_sequence::parse have changed.
12343 * kbsequence.C (parse): only ignore spaces and not any stupid
12344 control character. This avoids tests like s[i] <= ' ', which are
12345 guaranteed to fail with 8bit characters and signed chars.
12346 Change return code to string::npos when there have been no error
12347 (0 was a bad idea when error is at first character)
12349 2001-11-14 José Matos <jamatos@fep.up.pt>
12352 * buffer.C (simpleDocBookOnePar): removed unused argument.
12354 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12356 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12357 insets which are part of a word. Paragraph::isLetter takes care of
12358 that now. Use Paragraph::isInset to identify insets.
12359 (selectSelectedWord): do not test for hyphenation break.
12361 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12362 that protected spaces are considered as spaces.
12364 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12367 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12370 * lyxserver.C: fix it. and small cleanup.
12372 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12374 * BufferView_pimpl.C: use inline helpers
12377 * LaTeXFeatures.C: fix typos
12380 * Spacing.C: move spacing_string into class
12382 * ToolbarDefaults.C: move stuff into namespace anon
12384 * layout.h: update enum
12386 * lyxfunc.C: use better debug
12388 * minibuffer.h: fix typo
12392 * WorkArea.C: add and use Debug::WORKAREA
12396 * text2.C: code re-organisation, inline helpers
12398 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12400 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12401 std::vector.empty().
12403 2001-11-09 Allan Rae <rae@lyx.org>
12405 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12406 '\n's after tables. Tabular and ERT inset work now makes this no
12409 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12412 * minibuffer.C: fix crash, improve drop-down completion
12414 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12417 * lyxserver.C: invalidate fd's when doing endPipe()
12419 2001-11-08 José Matos <jamatos@fep.up.pt>
12421 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12422 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12425 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12427 2001-11-07 José Matos <jamatos@fep.up.pt>
12430 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12433 * buffer.C (sgmlOpenTag):
12434 * buffer.C (sgmlCloseTag): removed debug info.
12436 * buffer.h (sgmlOpenTag):
12437 * buffer.h (sgmlCloseTag): made public.
12439 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12441 * buffer.C (saveParamsAsDefaults):
12442 * lyx_cb.C (MenuLayoutSave): remove
12444 * LyXAction.C (init):
12446 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12448 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12450 * buffer.C (setPaperStuff): removed from here...
12452 * bufferparams.C (setPaperStuff): ... and moved there.
12454 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12458 * XFormsView.C: add support for drop-down completion
12460 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12462 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12465 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12467 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12470 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12472 * lyx_main.C: change ref to known bugs
12474 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12476 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12477 to work around older babel problems.
12479 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12481 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12483 2001-10-24 Juergen Vigna <jug@sad.it>
12485 * tabular-old.C (ReadOld): below variable changes reflected.
12487 * tabular.[Ch]: added ltType struct for longtable header/footer
12488 defines and changed all instances where they are used. Added
12489 future support for double top/bottom rows.
12491 2001-10-24 José Matos <jamatos@fep.up.pt>
12493 * buffer.h (docbookHandleCaption):
12494 * buffer.C (docbookHandleCaption): removed unused function.
12495 (makeDocBookFile): moved docbook supported version to v4.1.
12497 2001-10-24 José Matos <jamatos@fep.up.pt>
12500 * tabular.C (docbookRow): new function to export docbook code of a row.
12501 (DocBook): now honors the longtable flags.
12503 2001-10-23 José Matos <jamatos@fep.up.pt>
12506 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12507 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12509 * buffer.C (makeLinuxDocFile):
12510 (makeDocBookFile): reworked the preamble, more clean, and with
12511 support for lyx defined entities. Changed the document declaration
12512 to be more XML friendly.
12514 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12515 if we need to output XML that should be done with a filter.
12517 2001-10-22 Juergen Vigna <jug@sad.it>
12519 * sp_pspell.h (class PSpell): add alive function needed in the
12520 controller to see if the spellchecker could be started.
12522 2001-10-22 Juergen Vigna <jug@sad.it>
12524 * buffer.C (insertStringAsLines): modify the font for inserting
12525 chars in certain conditions by calling checkInsertChar(font).
12527 2001-10-19 Juergen Vigna <jug@sad.it>
12529 * text.C (workWidth): use getRow instead of wrong algorithm.
12530 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12532 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12537 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12539 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12541 * text.C (workWidth): do not search for the exact row when
12542 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12543 optimization for big documents.
12545 2001-10-18 Juergen Vigna <jug@sad.it>
12547 * text.C (workWidth): new function with added Inset * parameter.
12549 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12551 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12553 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12554 change return type of getColumnNearX.
12557 * text.C (changeRegionCase): use uppercase/lowercase instead of
12560 (rightMargin): simplify code by factoring out the uses of
12565 (appendParagraph): use Paragraph::size_type
12567 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12569 * vspace.C (asLatexString): add a missing break
12571 2001-10-15 Herbert Voss <voss@perce.de>
12573 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12575 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12577 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12580 2001-10-10 André Pönitz <poenitz@gmx.net>
12582 * lyxfunc.C: removed greek_kb_flag.
12584 2001-10-10 Herbert Voss <voss@perce.de>
12586 * lyx_main.C: delete global string help_lyxdir.
12588 2001-10-09 Herbert Voss <voss@perce.de>
12590 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12592 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12594 * lyx_main.C: added global string help_lyxdir.
12596 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12598 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12600 * lyxrc.C (set_font_norm_type): support iso8859-4
12602 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12604 * LaTeX.C (deplog): add another regex for MikTeX
12606 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12608 * lyxrc.C (set_font_norm_type): support iso8859-3
12610 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12614 * LaTeXFeatures.C: remove special case of french and index
12616 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12617 before \begin{document}). This solves several incompatibilities.
12619 2001-10-03 Garst Reese <reese@isn.net>
12621 * lyx_cb.C: change CheckTex error msg.
12623 2001-10-03 José Matos <jamatos@fep.up.pt>
12625 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12627 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12629 * .cvsignore: update
12631 * lyx_main.C (commandLineVersionInfo): use new style version info.
12633 * buffer.C (writeFile):
12635 (makeLinuxDocFile):
12636 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12638 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12640 * version.h: update to use stuff in version.C
12642 * version.C.in: new file. Contains version information determined
12643 at compile time. This is a merging of version.h and
12646 2001-10-03 Juergen Vigna <jug@sad.it>
12648 * BufferView_pimpl.C (update): don't change "dirty" status in
12651 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12653 * WorkArea.C (c-tor): re-position version string slightly.
12655 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12657 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12658 revert to previous code.
12660 WorkArea.[Ch]: (show, destroySplash): methods removed.
12662 WorkArea.C: rework code so that it's an amalgam of the codes before and
12663 after the splash screen was moved to WorkArea.
12665 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12668 * vspace.C (inPixels):
12671 * buffer.C (insertStringAsLines):
12672 (asciiParagraph): fix types to be large enough
12674 * lyxlex_pimpl.h: change member status from short to int
12676 * layout.h: fix type of endlabeltype
12679 * kbsequence.C (parse): change return type to string::size_type
12681 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12684 * Bullet.C (bulletSize):
12685 (bulletEntry): do not use short ints as parameters
12687 * BufferView2.C (insertLyXFile): change a char to an int.
12689 * WorkArea.C (WorkArea): remove unneeded floats in computation
12691 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12693 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12695 * paragraph.C (asString): Do not ignore newline/hfill chars when
12696 copying to the clipboard.
12698 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12700 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12701 after a multi-line inset.
12703 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12705 * paragraph.C (validate): Set NeedLyXFootnoteCode
12707 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12709 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12710 and decrease-error to decrease.
12712 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12714 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12715 it more readable (should be equivalent)
12717 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12719 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12721 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12724 of a cursor (row, etc.) after a character has been deleted
12725 (deleteEmptyParagraphMechanism): call the method above on _all_
12726 cursors held by the LyXText when a double space has been
12729 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12731 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12733 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12735 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12736 background. Use greyOut() and the new show() methods to toggle between
12737 the foreground and background. Add code to remove the splash after
12738 its initial showing.
12740 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12741 (create_forms): no longer call Dialogs::showSplash.
12743 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12745 * .cvsignore: add version_info.h
12747 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * version_info.h.in: new file
12751 * Makefile.am: add version_info.h.in
12753 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12754 version_info.h instead of VERSION_INFO
12756 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12758 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12759 The ERT inset now returns string().
12761 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12763 * lyxtext.h, text.C (selectNextWord): renamed as
12764 selectNextWordToSpellcheck.
12766 * text.C (selectNextWordToSpellcheck): Modified to not select
12767 words inside an ERT inset.
12769 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * lyx_cb.C (MenuLayoutSave): change a bit the question
12773 * sp_base.h: include <sys/types.h>
12775 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12777 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12779 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12781 * several files: fix typos in user-visible strings
12783 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * text2.C (pasteSelection): do not set the selection, since it
12786 will be cleared later. Actually, the intent was to fix the way the
12787 selection was set, but I figured rmoving the code was just as good.
12789 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12791 * FontLoader.C (available): Check if font is available without
12794 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12796 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12798 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12800 * lyxrc.[Ch]: added display_graphics variable and associated code.
12802 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * bufferparams.C (hasClassDefaults): new method. Returns true if
12805 the buffer parameters correspond to known class defaults
12807 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12809 * XFormsView.C (show): set minimum size to the main window.
12811 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12813 * text2.C (copySelection):
12815 * lyxfind.C (LyXReplace):
12816 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12817 LyXText::selectionAsString.
12819 * paragraph.C (asString): add "label" argument to the second form
12821 * text2.C (selectionAsString): add "label" argument and pass it to
12822 Paragraph::asString.
12824 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * lyx_main.C (commandLineHelp): remove version information
12828 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12830 * lyx_main.C: add -version commandline option
12832 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * paragraph.h: make the optional constructor arg required instead.
12835 some modifications to other files because of this.
12837 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12839 * lyxserver.C (C_LyXComm_callback): make it static
12841 * lyx_main.C (error_handler): make it static
12843 * lyx_gui.C (LyX_XErrHandler): make it static
12845 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12847 * WorkArea.C: make the extern "C" methods static.
12849 * Makefile.am (lyx_LDADD): simplify
12851 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12853 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12854 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12856 * LyXAction.C (init):
12857 * lyxfunc.C (dispatch): associated code removal.
12859 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12861 * lyxfont.h (isSymbolFont): shut off warning
12863 * text.C (setHeightOfRow):
12864 (getVisibleRow): fix crash with empty paragraphs which have a
12867 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12869 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12872 2001-09-04 José Matos <jamatos@fep.up.pt>
12875 * tabular.C (docbook): rename docBook method to docbook.
12877 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12879 * Makefile.am: add dependencies to main.o.
12881 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12883 * FontLoader.C (available): Return false if !lyxrc.use_gui
12885 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12887 * FontInfo.C (query):
12888 * converter.C (view):
12889 * importer.C (Import):
12890 * exporter.C (Export): Can not -> cannot.
12892 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12894 * BufferView_pimpl.C: allow to create index inset even if
12897 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12899 * buffer.C (getLists): replace boost::tie code with an explicit pair
12900 as boost::tie can break some compilers.
12902 * iterators.h: Added a std:: declaration to the return type of
12905 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12907 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12910 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12912 * iterators.[Ch]: New files. Provide paragraph iterators.
12914 * buffer.C (changeLanguage): Use paragraph iterators.
12915 (isMultiLingual): ditto
12917 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12919 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12921 * FontLoader.C: Support for cmr font.
12923 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12925 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12926 (available): New method.
12928 * FontInfo.C (getFontname): Use scalable fonts even when
12929 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12932 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12934 * converter.C (Formats::view): reverted! Incorrect fix.
12936 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12938 * converter.C (Formats::view): only output the -paper option
12939 if the dvi viewer is xdvi, thereby fixing bug #233429.
12941 2001-08-23 Herbert Voss <voss@perce>
12943 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12945 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12947 * Spacing.h (Spacing): Set space to Default on in the default
12950 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12952 * vc-backend.h (RCS::versionString): add RCS to version
12953 (CVS::versionString): add CVS to version
12955 * vc-backend.C (scanMaster): do not add CVS to version.
12956 (scanMaster): do not add RCS to version
12958 * lyxvc.C (versionString): new method
12960 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12962 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * Spacing.C (set): initialize fval
12966 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12968 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12971 2001-08-16 Juergen Vigna <jug@sad.it>
12973 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12975 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12977 * BufferView_pimpl.C:
12980 * text2.C: setParagraph takes linespacing now
12982 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12984 * LyxAction.C: add internal LFUN_CITATION_INSERT
12986 * LyXView.C: actually apply fix
12988 * bufferlist.C: fix open non-existent file
12990 * lyxfind.C: fix indentation
12992 * lyxfunc.C: remove unneeded assert, fix typo
12994 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12996 * MenuBackend.C: use "Floatname List"
12998 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13000 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13001 when converting LaTeX layout to insetERT.
13002 Generate a non-collapsed float when reading old float
13004 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13006 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13009 2001-08-13 Juergen Vigna <jug@sad.it>
13011 * text.C (fill): return 0 instead of 20 as this seems to be the more
13014 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13016 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13019 2001-08-13 Juergen Vigna <jug@sad.it>
13021 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13023 (SearchBackward): comment out the unlocking of the inset_owner this
13024 should not be needed!
13026 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13028 * Many files: Remove inherit_language, and add latex_language
13030 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13031 collapsible insets.
13033 2001-08-10 Juergen Vigna <jug@sad.it>
13035 * text.C (prepareToPrint): fixed hfill-width in draw!
13037 * BufferView2.C (selectLastWord): save the selection cursor as this
13038 now is cleared in the function LyXText::clearSelection!
13040 2001-08-08 Juergen Vigna <jug@sad.it>
13042 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13043 BACKSPACE type functions.
13045 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13046 is only cutted from the document but not put in the cut-buffer, where
13047 still the old stuff should be.
13049 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13051 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13053 * tabular.C (SetWidthOfCell): fixed special case where the width
13055 (LeftLine): handle '|' in align_special.
13057 (LeftAlreadyDrawed): ditto
13058 (SetWidthOfCell): ditto
13060 2001-08-07 Juergen Vigna <jug@sad.it>
13062 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13064 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13066 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13067 * lyxlex.[hC]: ditto
13069 2001-08-06 Juergen Vigna <jug@sad.it>
13071 * text.C (getVisibleRow): fix up row clearing a bit.
13073 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13075 * minibuffer.C: make sure the X server sees the changes in the input.
13077 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13079 * paragraph.C (getFont): split into...
13080 (getLabelFont): this
13081 (getLayoutFont): and this
13082 * paragraph_pimpl.C (realizeFont): calling this
13084 * text2.C (getFont): split into...
13085 (getLayoutFont): this
13086 (getLabelFont): and this
13087 (realizeFont): all three calling this
13089 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13092 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13096 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13098 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13099 layouts from the Quote inset insertion.
13101 2001-08-03 Juergen Vigna <jug@sad.it>
13103 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13105 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13106 only if status not is already CHANGED_IN_DRAW (second level).
13108 * text.C (draw): don't set the need_break_row when inside an
13111 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13113 * buffer.C (parseSingleLyXformat2Token): handle more latex
13116 * bufferview_funcs.[hC]: change function names to
13117 begin with small char, adjust other files.
13119 2001-08-02 André Pönitz <poenitz@gmx.net>
13122 BufferView_pimpl.C: remove broken special code for math-greek
13124 2001-08-02 Juergen Vigna <jug@sad.it>
13126 * BufferView_pimpl.C (update): redone this function so that we
13127 update the text again if there was a CHANGE_IN_DRAW.
13129 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13130 (drawFromTo): added a new internal bool which is used by draw() and
13132 (general): some cursor drawing problems fixed.
13134 2001-08-01 Juergen Vigna <jug@sad.it>
13136 * lyxfind.C (LyXFind): fixed
13137 (SearchForward): ditto
13138 (SearchBackward): ditto
13140 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13141 spurius drawing of the cursor in the main area.
13143 * text2.C (status): small fix which could lead to a segfault!
13144 (clearSelection): remove unneeded BufferView param.
13146 2001-08-01 André Pönitz <poenitz@gmx.net>
13148 * lyxfunc.C: small change due to changed mathed interface
13150 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13152 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13154 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13156 * lyxfunc.c: fail gracefully if file doesn't exist
13161 * BufferView_pimpl.C: IsDirWriteable() proto changed
13163 * LyXView.C: fix updateWindowTitle() to store the last title
13165 2001-07-31 Juergen Vigna <jug@sad.it>
13167 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13168 the font (wrong since using of Paragraph::highestFontInRange).
13170 * paragraph.C (highestFontInRange): added a default_size parameter.
13172 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13173 (setHeightOfRow): reformat
13175 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * converter.[hC] + affected files: move to (inital-char)lowercase
13180 * ParagraphParameters.C (ParagraphParameters): remove commented code
13182 * PainterBase.[Ch]: remove commented code
13184 * LaTeXFeatures.h: add "bool floats" for float.sty
13186 * LaTeXFeatures.C (LaTeXFeatures): init floats
13187 (require): handle float
13188 (getPackages): do it with floats
13190 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13192 * BufferView_pimpl.C (Dispatch): improve handling of
13193 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13195 * commandtags.h: #include lyxfont.h here temporarily to avoid
13198 * bufferlist.h: include LString.h here.
13200 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13202 * text2.C (getStringToIndex): new method.
13204 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13206 * *: Reduced header file dependencies all over.
13208 2001-07-30 Baruch Even <baruch@lyx.org>
13210 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13212 2001-07-29 Baruch Even <baruch@lyx.org>
13214 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13216 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13218 * ParameterStruct.h (endif): add a default constructor to make
13219 sure that all variables is initialized.
13221 * ParagraphParameters.C (ParagraphParameters): adjust
13223 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13226 index; also, check that there is something to index, and that it
13227 does not span over several paragraphs.
13228 (doubleClick): use WHOLE_WORD_STRICT for double click.
13230 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13232 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13235 2001-07-26 Baruch Even <baruch@lyx.org>
13237 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13238 an InsetFig figure, backwards compatible reading of old figure code.
13240 2001-07-27 Juergen Vigna <jug@sad.it>
13242 * text2.C: font.realize function adaption.
13244 * text.C (draw): add a warnings lyxerr text if needed.
13246 * layout.C: font.realize function adaption.
13248 * language.C: add inherit_language and implement it's handlings
13250 * bufferview_funcs.C (StyleReset): remove language parameter from
13251 font creation (should be language_inherit now).
13253 * bufferparams.C (writeFile): handle ignore_language.
13255 * paragraph.C (getFontSettings): the language has to be resolved
13256 otherwise we have problems in LyXFont!
13258 * lyxfont.C (lyxWriteChanges): added document_language parameter
13259 (update): removed unneeded language parameter
13261 * paragraph.C (validate): fixed wrong output of color-package when
13262 using interface colors for certain fonts in certain environments,
13263 which should not seen as that on the final output.
13265 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13267 * BufferView_pimpl.C:
13272 * LyXAction.C: add thesaurus support
13275 * lyxfind.C: add "once" parameter, for thesaurus, to not
13276 move to the next match
13278 2001-07-26 Juergen Vigna <jug@sad.it>
13280 * lyxfont.C (realize): honor ignore_language too!
13283 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13285 * text.C (draw): one place more for ignore_language to not draw
13288 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13290 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13292 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13295 the minipage conversion problem.
13297 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13302 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * BufferView.h: don't forward declare WorkArea
13306 * BufferView.C: don't include WorkArea.h
13308 2001-07-25 André Pönitz <poenitz@gmx.net>
13312 * lyxfunc.C: new LFUN 'math-space'
13314 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13316 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13318 * text2.C (toggleInset): call open/close
13320 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * lyxfunc.C (dispatch): add debug for the disabled case
13324 * font.C (buttonText): make similar to rectText
13326 * buffer.C (readInset): comment out parsing of insetlist and
13329 * PainterBase.C (rectText): small correction
13331 * BufferView_pimpl.C: comment out insettheorem and insetlist
13332 * LyXAction.C: ditto
13333 * commandtags.h: ditto
13335 2001-07-24 Juergen Vigna <jug@sad.it>
13337 * text.C (draw): honor the ignore_language.
13339 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13341 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13346 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13348 * lyxtext.h: remove unused (and unimplemented) methods
13350 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13352 * text.C (getVisibleRow): honor background color
13355 * Painter.h: remove default color argument for fillRectangle
13357 * text.C (backgroundColor): new method
13359 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * text.C (getVisibleRow): adjust
13363 * font.[Ch] (rectText): new method, metrics
13364 (buttonText): new method, metrics
13366 * PainterBase.[hC]: make rectText and buttonText always draw and take
13369 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13371 * ToolbarDefaults.C (read):
13372 * MenuBackend.C (read): allow escaping in all strings
13374 * BufferView_pimpl.C (insertAndEditInset): new method.
13375 (Dispatch): use insertAndEditInset whenever appropriate.
13377 * BufferView_pimpl.C (insertNote): removed
13379 * BufferView_pimpl.C (smartQuote): new method, moved from
13380 BufferView; if an insetquote cannot be inserted, insert a '"'
13383 * BufferView2.C: remove insertCorrectQuote();
13385 * lyxfunc.C (getStatus): Add support for all remaingin
13386 inset-insert lfuns.
13388 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13390 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13391 command (necessary to pass " as parameter of self-insert.
13393 * text.C (selectWordWhenUnderCursor):
13394 (selectWord): add word_location parameter
13395 (selectWordWhenUnderCursor): same + remove special code for word
13397 (selectNextWord): use kind() to guess type of insetspecialchar,
13400 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13401 (insertErtContents): create ert insets as collapsed.
13402 (readInset): better compatibility code for Info inset.
13404 2001-07-20 Juergen Vigna <jug@sad.it>
13406 * lyxfunc.C (dispatch): use always LyXFind now!
13408 * text2.C (init): add a reinit flag so that the LyXText can be
13409 reinited instead of deleted and reallocated (used in InsetText).
13411 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13417 2001-07-18 Juergen Vigna <jug@sad.it>
13419 * text.C (selectNextWord): handle insets inside inset by calling
13420 always the bv->text functions so that we can go up the_locking_inset!
13422 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13423 in strange locations when inside an inset!
13425 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13426 handling to include insets.
13428 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13430 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13432 * LyXAction.C (init):
13434 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13435 LIGATURE_BREAK, since the name is so stupid.
13437 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13439 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13442 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13444 * sp_form.[Ch]: remove.
13446 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13448 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13451 * src/buffer.C (readInset): ditto.
13453 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13455 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13456 menuSeparator(), endOfSentenceDot(), ldots() and
13457 hyphenationPoint(), which are therefore removed.
13458 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13460 * LyXAction.C (init):
13461 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13463 * paragraph.C (getWord): removed.
13465 * BufferView_pimpl.C (Dispatch): use last word or selection for
13466 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13468 * lyx_main.C (queryUserLyXDir): do not ask before creating
13469 user_dir, except if it has been named explicitely.
13471 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13473 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13474 a document of zero size.
13476 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13478 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13479 approriately in the c-tor and in require().
13480 (getPackages): output the appropriate LaTeX for natbib support.
13482 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13483 variables "use_natbib" and "use_numerical_citations" when reading the
13485 (readInset): read the various natbib cite commands.
13486 (validate): white-space change.
13488 * bufferparams.[Ch]: new variables "bool use_natbib" and
13489 "bool use_numerical_citations".
13490 (writeFile): output them in the LyX file.
13492 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13494 * lyxfunc.C (getStatus): add support for all the inset insertion
13497 * text2.C (insertInset):
13498 * paragraph.C (insetAllowed):
13499 * BufferView_pimpl.C (insertInset): update to take in account the
13500 renaming of insertInsetAllowed
13502 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13504 * text2.C (getInset): new method. returns inset at cursor position.
13506 * BufferView_pimpl.C (Dispatch): changes because of this.
13508 * LyXAction.C (init): rename open-stuff to inset-toggle.
13510 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13512 * text2.C (toggleInset): renamed from openStuff; use
13515 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13517 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13519 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13521 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13523 * buffer.C (readLyXformat2): Add filename to the error dialog
13525 2001-07-18 Juergen Vigna <jug@sad.it>
13527 * tabular.C (GetCellNumber): put an assert here instead of the check!
13529 2001-07-17 Juergen Vigna <jug@sad.it>
13531 * BufferView_pimpl.C (toggleSelection): adapted too.
13533 * text.C (selectNextWord): adapted for use with insets.
13534 (selectSelectedWord): ditto
13536 2001-07-17 Juergen Vigna <jug@sad.it>
13538 * sp_spell.C (PSpell): fix initialitation order.
13540 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13542 * paragraph.C: spacing
13544 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13546 * sp_spell.C: repair language selection for pspell
13548 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * lyxfunc.h: change more methods to begin with lower char.
13552 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13554 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13555 for unknown layouts.
13557 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13559 * buffer.C (readLyXformat2): Generate an error dialog if there are
13562 2001-07-16 Juergen Vigna <jug@sad.it>
13564 * sp_spell.C: always compile ISpell part.
13566 * lyxrc.C: added use_pspell entry and it's handling.
13568 2001-07-13 Juergen Vigna <jug@sad.it>
13570 * sp_spell.C: removed double includes.
13572 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13574 Consistent use of Lsstream.h:
13575 * Lsstream.h: added using std::stringstream for consistencies sake.
13577 * buffer.C: removed using std::stringstream
13579 * lyxfont.C (stateText):
13580 * paragraph.C (asString):
13581 * text.C (selectNextWord, selectSelectedWord):
13582 * text2.C (setCounter):
13583 * vspace.C (asString, asLatexString):
13584 std::ostringstream -> ostringstream.
13586 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13588 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13589 * commandtags.h: add LFUN_HELP_ABOUTLYX
13590 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13592 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13594 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13596 * lyx_gui_misc.C: remove spellchecker
13597 * lyxfunc.C: showSpellchecker
13599 * sp_ispell.h: added
13600 * sp_pspell.h: added
13601 * sp_spell.C: added
13602 * sp_form.[Ch]: removed
13603 * spellchecker.[Ch]: removed
13605 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13607 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13609 (simpleTeXSpecialChars): Simply print the input character without
13610 any special translation if pass_thru is set.
13612 * layout.h: Added bool pass_thru to layout class for being able to
13613 implement pass through of a paragraph for Literate Programming.
13615 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13616 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13617 * layout.C (Read): add "passthru" to list of layout tags and add
13618 code to set the pass_thru boolean when it is read.
13620 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13622 * trans_decl.h: remove allowed from KmodInfo
13624 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13625 remove allowed code
13628 * paragraph_pimpl.C (erase): use boost::prior
13630 * Painter.C (text): use data() instead of c_str() when length is
13632 * WorkArea.C (putClipboard): ditto
13633 * font.h (width): ditto
13635 * BufferView2.C: use it-> instead of (*it). for iterators
13637 * paragraph_pimpl.C: ditto
13638 * paragraph.C: ditto
13639 * minibuffer.C: ditto
13640 * language.C: ditto
13642 * encoding.C: ditto
13643 * counters.C: ditto
13644 * converter.C: ditto
13646 * Variables.C: ditto
13647 * TextCache.C: ditto
13648 * MenuBackend.C: ditto
13649 * LyXAction.C: ditto
13651 * FloatList.C: ditto
13652 * DepTable.C: ditto
13653 * ColorHandler.C (LyXColorHandler): ditto
13655 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13659 * text2.C (openStuff): reintroduce this method (which had been
13660 nuked in NEW_INSETS frenzy).
13662 * lyxfunc.C (Dispatch): when an action has not been handled, use
13663 its name in the error message, not its number.
13665 * paragraph.C (inInset): change method name to begin with lowercase.
13668 * text2.C: updates because of this.
13670 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * ToolbarDefaults.C (add): add spaces in error message
13674 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13677 (readLyXformat2): rename return_par to first_par, use lyxlex's
13678 pushToken and remove the manual push handling.
13679 (parseSingleLyXformat2Token): add another ert comp. variable:
13680 in_tabular, rename return_par to first_par. handle newlines better
13682 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13686 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * text2.C (getParFromID): removed
13690 * buffer.C (getParFromID): new method moved form lyxtext.
13691 * BufferView2.C (insertErrors): adjust
13692 (setCursorFromRow): adjust
13693 * BufferView_pimpl.C (restorePosition): adjust
13694 * lyxfunc.C (Dispatch): adjust
13695 * undo_funcs.C (textUndo): adjust
13697 (textHandleUndo): adjust
13698 (textHandleUndo): adjust
13700 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * buffer.C: up' the LYX_FORMAT
13704 * lyxfont.h: turn NO_LATEX on as default
13706 * buffer.C (insertErtContents): new methods of tex style compability.
13707 (parseSingleLyXformat2Token): use it several places.
13708 * tabular.C (OldFormatRead): and here
13710 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * text2.C: remove some commented code.
13715 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13716 * trans.C: changes because of the above.
13718 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13720 * text2.C (setCounter): Fix counters bug with bibliography layout.
13722 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13724 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13725 own member functions
13726 (simpleTeXSpecialChars): ditto
13728 2001-07-06 Juergen Vigna <jug@sad.it>
13730 * a lot of files: changed the access to LyXText::status and the
13731 call of undo-functions.
13733 * undo.[Ch]: added a inset_id to the undo informations.
13735 * undo_funcs.[Ch]: added and moved here all undo functions.
13737 * lyxtext.h: give the status enum a weight, made status_ a private
13738 variable and made accessor functions for it, removed the whole bunch
13739 of undo-functions as they are now in their own file, make some
13740 functions publically available. Added function ownerParagraph with
13743 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13744 made InInset() a const function, added getParFromID() function.
13746 * buffer.[Ch]: added const version for inset_iterator functions,
13747 added getInsetFromID() function.
13749 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13750 changed undo functions for new version.
13752 2001-07-05 Juergen Vigna <jug@sad.it>
13754 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13755 unknow mechanism does not call the proper constructor but only this
13756 one also if I request the other!?
13758 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13760 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13762 * text2.C (LyXText): use initialization lists.
13764 * lyxtext.h (Selection): initialize set_ and mark_
13765 (init): remove method
13767 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13769 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13771 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13773 * screen.[Ch]: change method names to begin with lowercase
13775 * BufferView_pimpl.C (updateScrollbar): simplify further and
13776 hopefully make it a bit faster.
13778 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13780 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13781 calling directly xforms functions.
13783 * Painter.C (Painter):
13784 * lyx_cb.C (MenuWrite):
13785 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13788 * lyx_gui.C: remove bogus guiruntime extern declaration.
13790 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13794 (redoDrawingOfParagraph): ditto
13795 (redoParagraphs): ditto
13796 (cutSelection): don't create a object for CutAndPaste use the
13797 static method directly
13798 (pasteSelection): ditto
13800 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13803 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * modifications to some other files because of this.
13807 * Makefile.am (lyx_SOURCES): add XFormsView
13809 * XFormsView.[Ch]: new files
13811 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13812 the main window. Move the gui dependent stuff to XFormsView
13814 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13816 * tabular.C (GetCellInset): update cur_cell also in the row/col
13817 version of this function.
13819 * lyxfunc.C: no need to include figure_form.h here.
13825 * lyxvc.C: no need to include forms.h here.
13827 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13829 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13831 * lyxfunc.C (Dispatch):
13833 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13834 constructor argument.
13836 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * paragraph.C (Paragraph): dont't clear, and just set layout.
13839 (makeSameLayout): use params's copy contructor.
13841 * ParagraphParameters.[Ch] (makeSame): delete method
13843 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13845 * Variables.[Ch]: fix indentation, rename set to isSet
13847 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13849 * lyxfunc.C (Dispatch): fix typo
13851 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13853 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13856 * bufferlist.C: include assert.h for emergencyWrite().
13858 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13860 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13861 give up at last (bug #425202) !
13863 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13869 * spellchecker.C: strip spellchecker options and bring up
13870 preferences tab instead
13872 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13875 the istringstream constructor
13877 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13879 * paragraph.C (getLayout): fix return value
13881 * paragraph.h: do not declare getLayout as inline.
13883 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13885 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * lyxcursor.h (operator<): new func
13888 (operator>): new func
13889 (operator>=): new func
13890 (operator<=): new func
13892 * text.C (changeCase): use selection.start and selection.end
13893 (changeRegionCase): require from to be <= to. Require par to be a
13896 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13898 2001-06-27 Juergen Vigna <jug@sad.it>
13900 * text.C (cursorLeftOneWord): changed to return the cursor and added
13901 overlay with BufferView * parameter which calls this one.
13903 (selectWord): use new getWord function.
13904 (changeCase): renamed from changeWordCase as and extended to work
13905 also on selections.
13907 * lyxtext.h: added enum word_location
13909 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13910 changeCase as this operates now also on selections.
13912 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13914 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13916 * many files: send debug output to Debug::INFO instead of
13919 * converter.C (View):
13921 (Move): send debug output to Debug::FILES instead of console.
13923 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13925 * lyxfunc.C (getStatus): use func_status
13927 * func_status.h: new header, describing the results of
13928 LyXFunc::getStatus;
13930 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13933 2001-06-25 The LyX Project <jug@sad.it>
13935 * buffer.C (sgmlOpenTag):
13937 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13939 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * text2.C: remove some dead code
13943 * tabular.C (GetCellInset): store the last cell checked (gotten)
13945 * tabular.h: add the helper for the speedup
13947 * lyxtext.h: remove some dead code
13949 2001-06-26 The LyX Project <Asger>
13951 * paragraph.C: Change export to LaTeX of alignment to
13952 \begin{center} and family for better roundtrip work with reLyX.
13954 * Tune the math drawing a bit.
13956 2001-06-25 The LyX Project <Asger>
13958 * LColor.C (LColor): New color for math background. New color
13961 2001-06-25 The LyX Project <jug@sad.it>
13963 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13965 * lyxfunc.C (Open):
13966 * bufferlist.C (newFile): do not restrict to files ending with
13969 * BufferView_pimpl.C (MenuInsertLyXFile):
13971 2001-06-24 The LyX Project <jug@sad.it>
13973 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13976 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13978 * lyxtext.h: rename most methods to begin with a small char.
13979 Lots of changes because of this.
13981 * paragraph.C (Paragraph): do not call fitToSize
13982 (erase): call Pimpl::erase
13983 (insertChar): call Pimpl::insertChar
13984 (insertInset): call Pipl::insertInset
13985 (breakParagraph): do not call fitToSize
13986 (breakParagraphConservative): do not call fitToSize
13987 (fitToSize): remove method
13989 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13991 2001-06-24 The LyX Project <Asger>
13993 * Fix Qt compilation^2
13995 2001-06-24 The LyX Project <jug@sad.it>
13997 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13998 depthHook(getDepth()-1).
14001 * ParagraphParameters.h:
14002 * ParameterStruct.h: change type of depth to unsigned int ==
14003 depth_type. Many adaptations to other files before of that.
14005 2001-06-24 The LyX Project <Asger>
14007 * Fix Qt compilation.
14009 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14011 * paragraph.h: renamed several methods to begin with small letter.
14012 several changes to many parts of the code because of this.
14014 2001-06-23 The LyX Project <jug@sad.it>
14016 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14017 rewritten to discard all double spaces when KeepEmpty is off
14018 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14019 to only handle newlines but not fiddle with spaces and friends.
14021 * lyxfunc.C (MenuNew): when doing 'new from template', use
14022 template_path as default directory
14024 2001-06-23 The LyX Project <Asger>
14026 * Clean-up of header file includes all over
14027 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14029 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * paragraph.h: renamed from lyxparagraph.h
14033 2001-06-23 Asger <lyx@violet.home.sad.it>
14035 * Buffer.h: Removed Buffer::resize
14036 * BufferList.h: Removed BufferList::resize
14037 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14038 the document lazily when we change the width, or the font settings.
14040 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14042 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14044 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14046 * buffer.h: remove out of date comment
14048 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14051 * screen.C: fix "theoretical" GC leak
14053 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14055 * LaTeX.C (scanAuxFile):
14056 (deplog): remove trailing \r when reading stream (useful under
14059 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14061 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14062 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14063 and BufferView::theLockingInset(Inset*), so should use them and not
14064 access bv_->text->the_locking_inset directly.
14066 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14068 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14071 * tex-defs.h: remove old unused file
14073 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14075 * BufferView_pimpl.C: fix typo, remove minibuffer message
14076 when buffer has loaded
14078 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * lyxfunc.C (Dispatch): use stringstream
14081 (MenuNew): use stringstream
14082 (Open): use stringstream
14084 * importer.C (Import): use stringstream
14086 * bufferview_funcs.C (CurrentState): use stringstream
14088 * LaTeX.C (run): use stringstream
14090 * BufferView_pimpl.C (savePosition): use stringstream
14091 (restorePosition): use stringstream
14092 (MenuInsertLyXFile): use stringstream
14094 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14107 * vspace.C: removed // -*- C++ -*- as first line.
14110 * version.h: added // -*- C++ -*- as first line.
14112 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14114 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14116 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14119 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14124 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14126 * gettext.C: include LString.h even when --disable-nls is on.
14128 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14130 * converter.h (Get): changed argument type from int to
14131 FormatList::size_type to avoid unnecessary conversion.
14133 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14136 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * gettext.h: include LString.h even when --disable-nls is on.
14140 2001-06-07 Juergen Vigna <jug@sad.it>
14142 * text.C (BreakAgain): subst spaces with tabs.
14144 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14145 (resizeInsetsLyXText): set force on resizeLyXText.
14147 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * gettext.h (gettext_init):
14150 (locale_init): use a real definition instead of a macro
14152 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14154 * Bufferview_pimpl.C:
14156 * LColor.C: further lcolor tidies
14158 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14160 * BufferView_pimpl.C (updateScrollbar): simplify.
14162 * BufferView2.C: don't include insets/insetinfo.h, change
14163 prototype for insertInset and call the Pimpl version. let
14164 updateInset call Pimpl version.
14166 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14167 gotoInset to BufferView::Pimpl
14169 2001-06-01 Juergen Vigna <jug@sad.it>
14171 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14172 inside a LockingInset (is the update needed at all?).
14174 2001-05-31 Juergen Vigna <jug@sad.it>
14176 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14177 here not the old one otherwise how should we compare it afterwards
14180 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14185 * FontInfo.C: bring C functions into global namespace when
14188 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14190 * LString.h: make sure config.h has been loaded before LString.h.
14192 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14193 (one for each char read by EatLine!).
14195 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14198 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14200 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14201 to the same as the par we break from
14203 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14205 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14207 * MenuBackend.C (expand): also create menu entries for wide
14208 versions of the floats.
14210 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14212 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14214 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14215 frontends/Makefile.am
14221 * tabular.C (getTokenValue): add std::
14223 * tabular-old.C (getTokenValue): add std::
14224 (getTokenValue): ditto
14225 (getTokenValue): ditto
14227 * screen.C (ToggleSelection): adjust
14229 * lyxtext.h: put selection cursors inside a Selection struct.
14231 * lyxfunc.C (moveCursorUpdate): adjust
14233 * lyxfont.C (latexWriteStartChanges): add std::
14235 * lyxfind.C: adjust
14237 * font.h: delete with(char const *, LyXFont const &)
14239 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14241 * FontInfo.C (getFontname): add std::
14243 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14244 (workAreaButtonPress): adjust
14245 (tripleClick): adjust
14247 (moveCursorUpdate): adjust
14250 * BufferView2.C (gotoInset): adjust
14252 2001-05-30 Juergen Vigna <jug@sad.it>
14254 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14255 to check pspell I add this as default as I now have new pspell
14256 libraries and they seem to use this.
14258 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14260 * text2.C (CutSelection): make the cursor valid before the call to
14263 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14265 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14266 relied on 0 terminated strings and other horrors. Bug found due to
14267 the new assert in lyxstring!
14269 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14272 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14274 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14277 * lyxfunc.C (processKeySym): change method of getting to the
14280 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14281 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14282 * BufferView_pimpl.[Ch]: here as private methods.
14284 2001-05-28 Juergen Vigna <jug@sad.it>
14286 * text.C (SetHeightOfRow): added the update() call again as it is
14287 needed to initialize inset dimensions!
14289 2001-05-16 Juergen Vigna <jug@sad.it>
14291 * text2.C (SetCharFont): Add new function with BufferView * and
14292 bool toggleall parameters for setting insets internal fonts.
14293 (SetFont): Freeze the undo as we may change fonts in Insets and
14294 all this change should be inside only one Undo!
14296 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14297 setting font's in insets as for them we have the SetFont function!
14299 2001-05-15 Juergen Vigna <jug@sad.it>
14301 * text2.C (ClearSelection): to be sure we REALLY don't have any
14304 * tabular.C (TeXCellPreamble): fixed the left border problem for
14307 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14309 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14312 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14314 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14315 LFUN_BREAKPARAGRAPH.
14317 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14318 help test to "internal only", similar for LFUN_INSERT_URL
14320 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14321 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14322 auto_region_delete and deadkeys.
14324 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14327 * LColor.C: remove some dead entries, tidy a little
14329 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14331 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14333 (Dispatch): implement LFUN_ESCAPE
14335 * commandtags.h: add LFUN_ESCAPE
14337 * LyXAction.C (init): add entry for LFUN_ESCAPE
14339 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14340 Remove commented code.
14341 (insertNote): moved here
14342 (open_new_inset): moved here
14344 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14347 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14349 * kbmap.C (findbinding): clean it up and make it work correctly.
14351 * lyx_main.C (init): do not pass argc and argv as parameters
14353 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14355 * buffer.C: fix path for OS/2 & Win32
14359 * lyx_main.C: Added os:: class.
14361 * os2_defines.h: update
14363 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14366 better by trying again with reduced state.
14368 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * lyxrc.C (read): print error about invalid key sequence only when
14371 debugging (because not all latinX keysyms are known to some X
14374 * kbsequence.C (getiso): add a few std:: qualifiers
14375 (getiso): comment out extra return statement.
14377 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14379 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14381 (Dispatch): enhance the accent inset a bit. (not perfect)
14383 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14385 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14387 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * bufferlist.C (emergencyWrite): fix assert() call
14391 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14393 * text.C (InsertChar): Added trivial patch to only send the "you
14394 can not do multiple spaces this way" message once during a
14397 2001-05-08 Baruch Even <baruch@lyx.org>
14399 * Makefile.am: Changed order of libraries to get LyX to link properly
14400 with the gnome frontend.
14402 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * LaTeXFeatures.h: add a std:: qualifier
14406 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14408 * paragraph.C (String): use stringstream
14410 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * paragraph.C (writeFile): remove footflag arg
14414 * buffer.C (makeLaTeXFile): use stringstream
14415 (latexParagraphs): remove footnot gurba
14417 * LaTeXFeatures.C (getPackages): use stringstream
14418 (getMacros): likewise
14419 (getTClassPreamble): likewise
14420 (getFloatDefinitions): new method
14422 * paragraph.C (writeFile): reindent
14425 * WorkArea.h: revert the xpos + etc changes.
14427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14429 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14431 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14432 (pasteSelection): likewise
14433 * text2.C (CreateUndo): likewise
14435 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * minibuffer.C (peek_event): temporarily reduce the functionality
14438 of the minibuffer (to allow args on lfuns)
14440 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14441 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14443 * buffer.C (readInset): add compability reading of old float
14444 lists, add reading of new style float list.
14445 (readInset): avoid reevaluation of inscmd.getCmdName()
14446 (getLists): reindent
14448 * MenuBackend.C (MenuItem): implement parsing of
14449 md_floatlistinsert and md_floatinsert.
14450 (expand::LastFiles): move initalizaton of iterators out of loop,
14451 avoid reevaluation.
14452 (expand::Documents): introduce typdedef vector<string> Strings,
14454 (expand::ExportFormats): introduce typedef vector<Format const *>
14455 Formats, and use it.
14456 (expand): implement FloatListInsert and FloatInsert.
14458 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14459 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14460 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14462 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14464 (Dispatch::LFUN_FLOAT_LIST): implement
14466 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14468 * LaTeX.C (run): Fix problem with --export code.
14470 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14472 * BufferView.[Ch] (workarea): removed.
14473 (getClipboard) new method; wrapper for workarea()->getClipboard()
14475 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14478 * WorkArea.h (width, height, xpos, ypos): These methods all
14479 returned the dimensions of the work_area sub-area of WorkArea,
14480 resulting in a position error if the WorkArea were resized. Now
14481 return the dimensions of the entire WorkArea.
14483 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14485 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * LaTeX.C (deplog): correct the syntax of regex reg1
14489 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * undo.C: remove !NEW_INSETS cruft
14493 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14495 * text2.C: remove !NEW_INSETS cruft
14497 * text.C: remove !NEW_INSETS cruft
14499 * tabular.C: remove !NEW_INSETS cruft
14501 * spellchecker.C: remove !NEW_INSETS cruft
14503 * lyxtext.h: remove !NEW_INSETS cruft
14505 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14507 * lyxfunc.C: remove !NEW_INSETS cruft
14509 * lyxfind.C: remove !NEW_INSETS cruft
14511 * lyx_cb.C: remove !NEW_INSETS cruft
14513 * figureForm.C: remove !NEW_INSETS cruft
14515 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14517 * buffer.[Ch]: remove !NEW_INSETS cruft
14519 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14521 * CutAndPaste.C: remove !NEW_INSETS cruft
14523 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14525 * BufferView2.C: remove !NEW_INSETS cruft
14527 * BufferView.h: remove !NEW_INSETS cruft
14529 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14531 * Lsstream.h: include LString.h before the sstream headers to
14532 fix problem with gcc 2.95.3 and lyxstring
14534 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * lyx_main.C: add using directives when needed for C functions
14537 declared in std:: namespace.
14539 2001-04-27 Juergen Vigna <jug@sad.it>
14541 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14542 (SetHeightOfRow): comment out the update call should not be needed!
14544 2001-04-13 Juergen Vigna <jug@sad.it>
14546 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14547 (LyXTabular): tried to minimize operator= operations (and realized
14548 hopfully Lars wish).
14550 2001-04-27 Juergen Vigna <jug@sad.it>
14552 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14554 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14558 * buffer.C (readInset): hack to make listof algorithm work
14560 * BufferView_pimpl.C: hack to make listof algorithm work
14562 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14564 * LyXAction.C: removed all !NEW_INSETS cruft
14565 (init): moved lfun_item in method
14567 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14569 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14571 * BufferView2.C (theLockingInset): white space.
14573 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14575 * minibuffer.C: include <iostream>
14577 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14579 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14581 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14583 * text.[Ch] (TransposeChars): new method
14585 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14587 * call message directly through LyXView instead of through LyXFunc
14588 * BufferView2.C: adjust
14589 * BufferView_pimpl.C: adjust
14590 * FontLoader.C: adjust
14592 * bufferview_funcs.C: adjust
14593 * converter.C: adjust
14594 * figureForm.C: adjust
14595 * importer.C: adjust
14597 * lyx_gui_misc.C: adjust
14598 * lyxfunc.C: adjust
14601 + more files in subdirs
14603 * lyxparagraph.h (size): move up int file
14606 * adjust all uses of Assert to lyx::Assert.
14608 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14609 lyxfunctional in namespace lyx
14610 * layout.C (hasLayout): ditto
14613 (delete_layout): ditto
14614 (NumberOfClass): ditto
14615 * converter.C (GetFormat): ditto
14620 * bufferlist.C (getFileNames): ditto
14621 (emergencyWriteAll): ditto
14624 * MenuBackend.C (hasSubmenu): ditto
14627 * BufferView_pimpl.C (getInsetByCode): ditto
14629 2001-04-18 Juergen Vigna <jug@sad.it>
14631 * vspace.C (asLatexString): fixed the 100% problem.
14633 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * lyxfunc.C (Dispatch):
14637 * minibuffer.h: add a few std:: qualifiers
14639 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14641 * minibuffer.[Ch]: reimplement so that commands is initiated and
14642 run from lyxfunc, simplified som handling, and made the completion
14643 and history code for complete. wip.
14645 * lyxfunc.C (processKeySym): call message
14646 (miniDispatch): new temporary method
14647 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14648 (LFUN_MESSAGE): implement
14649 (LFUN_MESSAGE_PUSH): implement
14650 (LFUN_MESSAGE_POP): implement
14651 (initMiniBuffer): the initial/defualt minibuffer message.
14653 * lyxfont.[Ch]: inline some more getters
14655 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14657 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14659 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14660 (AutoSave): use LFUN_MESSAGE
14661 (Reconfigure): ditto
14663 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14665 * figureForm.C: use LFUN_MESSAGE
14667 * converter.C (runLaTeX): use LFUN_MESSAGE
14669 * bufferview_funcs.C: use LFUN_MESSAGE
14671 (changeDepth): ditto
14673 * bufferparams.h: use boost::
14675 * bufferlist.h: inherit privately from noncopyable
14677 * bufferlist.C (loadLyXFile): remove some commented code.
14679 * buffer.C (runChktex): use LFUN_MESSAGE
14681 * ShareContainer.h: inherit privately from noncopyable
14683 * ParagraphParameters.[hC] (depth): inline it.
14685 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14687 (message): new method
14688 (messagePush): ditto
14689 (messagePop): ditto
14690 (show): init minibuffer
14691 (showState): direct call
14693 * LaTeX.[Ch]: inherit privately from noncopyable
14694 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14695 instead of WriteStatus.
14697 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14699 * BufferView_pimpl.C (buffer): don't init minibuffer
14700 (workAreaButtonPress): use LFUN_MESSAGE
14701 (workAreaButtonRelease): ditto
14702 (savePosition): ditto
14703 (restorePosition): ditto
14704 (MenuInsertLyXFile): ditto
14705 (workAreaExpose): don't init minibuffer
14706 (update): remove commented code, simplify
14708 * BufferView2.C (openStuff): use LFUN_MESSAGE
14709 (toggleFloat): ditto
14712 (copyEnvironment): ditto
14713 (pasteEnvironment): ditto
14718 (updateInset): remove some commented code
14720 * lastfiles.h: inherit privately from noncopyable
14723 * lyx_main.h: ditto
14725 * lyxlex_pimpl.h: ditto
14727 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14728 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14729 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14731 * LyXAction.h: inherit privately from noncopyable, add methods
14732 func_begin, func_end, returning iterators to the func map.
14734 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14735 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14736 (func_begin): new method
14737 (func_end): new method
14739 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14741 (copySelection): ditto
14742 (pasteSelection): ditto
14744 * BufferView.C: whitespace change
14745 * BufferView.h: inherit privately from noncopyable
14747 2001-04-16 Allan Rae <rae@lyx.org>
14749 * tabular-old.C (l_getline):
14750 * spellchecker.C (sc_check_word):
14751 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14752 an unrecognised preprocessor directive. So ensure they're wrapped.
14754 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14756 * src/exporter.C (Export): Give an error message when path to file
14759 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14761 * LaTeX.C (deplog): Always check that foundfile exists.
14763 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14766 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14768 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * tabular.[Ch] (getLabelList): implement new method
14772 * minibuffer.h: comment ouf setTiimer
14774 * minibuffer.C (ExecutingCB): constify res
14775 (peek_event): constify s
14776 (Set): constify ntext
14777 (Init): constify nicename
14779 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14781 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14782 (savePosition): use two params to Minibuffer::Set
14783 (restorePosition): ditto
14785 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14787 * lyx_main.C: include language.h
14789 * Makefile.am (lyx_main.o): add language.h
14791 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * CutAndPaste.C: include gettext.h
14799 * lyxfont.h: remove old hack with ON and OFF.
14802 * lyxfont.h: do not include language.h...
14807 * bufferview_funcs.C:
14813 * paragraph.C: ... but do it here instead
14815 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14819 * tabular.C: small reformat
14821 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14824 (BreakParagraph): ditto
14825 (SetOnlyLayout): ditto
14828 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14831 * lastfiles.C: removed most using decl, add std:: where needed
14833 * buffer.C: ws changes
14835 * MenuBackend.C (class compare_format): put into anon namespace
14836 (expand): constify label, names, action, action2
14839 * text.C (SingleWidth): constify font
14840 (IsBoundary): constify rtl2
14841 (GetVisibleRow): constify ww
14843 * LaTeX.C (deplog): constify logfile
14845 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14847 (workAreaExpose): constify widthChange, heightChange
14849 * lyxrow.C (par): moved
14852 * lyxrow.h: as inlines here
14854 * lyxfont.h (shape): moved from lyxfont.C
14855 (emph): moved from lyxfont.C
14857 * lyxfont.C (LyXFont): use initialization list for all
14859 (shape): move to lyxfont.h as inline
14860 (emph): move to lyxfont.h as inline
14863 2001-04-04 Juergen Vigna <jug@sad.it>
14865 * vspace.C: had to include stdio.h for use of sscanf
14867 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14870 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14871 independent of xforms.
14873 2001-04-02 Juergen Vigna <jug@sad.it>
14875 * spellchecker.C: fixed namespace placing!
14877 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14879 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14880 the LyXParagraph * is 0.
14882 2001-03-29 Juergen Vigna <jug@sad.it>
14884 * vspace.C: added support for %, c%, p%, l%.
14885 (stringFromUnit): added helper function.
14886 (asLatexString): changed to give right results for the %-values.
14888 * buffer.C: convert the widthp in a width%.
14890 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14892 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14895 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14896 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14898 * lyx_cb.[Ch]: see above.
14900 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14904 * lyx.[Ch]: replaced by figure_form.[Ch].
14908 * lyxfunc.C: changed headers associated with above changes.
14910 2001-03-27 Juergen Vigna <jug@sad.it>
14912 * BufferView_pimpl.C: set the temporary cursor right!
14914 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14916 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14918 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14920 * LString.h: removed "using std::getline"!
14922 * BufferView_pimpl.C (Dispatch): changes due to changes in
14923 InsetInclude::Params.
14925 * buffer.C (tag_name): removed redundant break statements as they were
14926 producing lots of warnings with my compiler.
14928 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * LString.h: add "using std::getline" when using the real <string>.
14932 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14934 * buffer.C: removed bitset usage.
14935 PAR_TAG moved to an anonymous name space.
14936 (tag_name): new funtion, also in the anonymous namespace.
14937 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14938 (makeDocBookFile): clean code. Completed transition from string arrays
14940 (SimpleDocBookOnePar): code clean.
14942 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14944 * tabular.C: add some comments.
14946 2001-03-22 Juergen Vigna <jug@sad.it>
14948 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14949 compatibility read a bit and fixed bug with minipage in different
14952 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14954 * buffer.C (pop_tag): removed.
14955 (push_tag): removed.
14956 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14957 array replaced with vector. Added support for CDATA sections.
14958 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14960 (makeDocBookFile): XML conformant declaration of CDATA section,
14961 fixed bug related to <emphasis> in the first paragraph char.
14962 (sgmlOpenTag): exclude empty tags.
14963 (sgmlCloseTag): ditto.
14965 * buffer.h (pop_tag): removed.
14966 (push_tag): removed.
14968 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14970 * language.h (Languages): added size_type and size().
14972 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14974 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14975 response on compability reading of minipages. One probliem is that
14976 the old usage of minipages was «flertydig»
14978 * several files here and in subdirs: don't use static at file
14979 scope use anon namespaces instead.
14981 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14983 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14984 LaTeX output. This is necessary for Literate document
14987 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14989 * buffer.C: insert hfill when needed.
14991 * tabular.C (l_getline): use string::erase, small whitespace change.
14993 * BufferView_pimpl.C: try the anon namespace.
14994 * WorkArea.C: ditto
14996 2001-03-16 Juergen Vigna <jug@sad.it>
14998 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14999 otherwise it won't open options-dialogs.
15001 * buffer.C: honor pextraWidth(p) on converting minipages.
15003 * tabular.C (l_getline): changed the functions to strip trailing \r.
15005 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15007 * BufferView_pimpl.C:
15008 * minibuffer..C: added "using SigC::slot" declaration.
15010 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15012 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15018 * paragraph.C: ditto
15020 * lyxtext.h: NO_PEXTRA
15022 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15024 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15025 * ParameterStruct.h: ditto
15026 * ParagraphParameters.h: ditto
15027 * lyxparagraph.h: ditto
15029 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15031 * buffer.C: add compability for minipage alignment.
15032 (latexParagraphs): remove unwanted pextra check.
15034 * several files: remove CXX_WORKING_NAMESPACES
15036 * buffer.C (pop_tag): tie is in namespace boost
15038 * BufferView.h: noncopyable is in namespace boost
15040 * lyx_main.h: ditto
15043 * lastfiles.h: ditto
15044 * bufferlist.h: ditto
15045 * ShareContainer.h: ditto
15047 * LyXAction.h: ditto
15050 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15052 * Merging changes from BRANCH_MVC back into HEAD.
15054 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15056 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15058 * BufferView_pimpl.C: change from intl.C
15062 * Makefile.am: move combox.*
15068 * intl.C: remove dialog (covered by prefs)
15070 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15072 * lyxfunc.C (Dispatch): removed redundant break statement.
15074 2001-03-14 Juergen Vigna <jug@sad.it>
15076 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15078 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15080 * buffer.C: add hack to fix compability reading of minipages.
15082 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15084 * buffer.C (getLists): Cleanup.
15086 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * lyxfont.C (update): don't honor toggleall on font size.
15090 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15094 * Makefile.am: moved to frontends/xforms/
15098 * BufferView_pimpl.C: changes for moved mathpanel
15100 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15102 * gettext.h: fix gettext_init() in --disable-nls
15104 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15106 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15108 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15111 * lyx.h: strip external form
15113 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15115 * BufferView_pimpl.C: add comment, destroySplash()
15117 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15119 * BufferView_pimpl.C:
15123 * lyxfunc.C: use re-worked insetinclude
15125 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15127 * buffer.C: add using std::stringstream.
15129 * lyx_cb.C: readd using std::ios.
15131 * buffer.C: add using std::map.
15133 * BufferView_pimpl.C: add using std::vector.
15135 * ShareContainer.h: add std:: to swap.
15137 * buffer.h: add some typedefs
15138 * buffer.C (getLists): use them
15139 (getLists): renamed from getTocList.
15140 add a counter for the different float types and use it in the
15142 (getLists): use the same counter for the NEW_INSETS and the "non"
15145 * lyx_cb.h: remove unused items, includes, using etc.
15147 * ShareContainer.h: remove some commented code, add more comments
15148 and "documentation".
15150 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15152 * buffer.C (getTocList): make the list also when NEW_INSETS is
15155 * buffer.h: remove TocType
15157 * buffer.C (getTocList): change to return a map<string,
15158 vector<TocItem> >, implement for dynamic number of list.
15160 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15161 * text2.C (PasteSelection): adjust
15162 * CutAndPaste.C (pasteSelection): adjust
15164 * FloatList.C (FloatList): update from the new_insets branch.
15165 * Floating.[Ch]: ditto
15166 * LaTeXFeatures.C: ditto
15168 * lyxlex_pimpl.C: ditto
15170 * paragraph.C (Last): remove when NEW_INSETS is defined.
15172 * other file: changes because of the above.
15174 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15176 * lyxparagraph.h: rename next to next_, previous to previous_,
15177 make them private for NEW_INSETS. Rename Next() to next(),
15178 Previous() to previous().
15180 * other files: changes because of the above.
15182 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15185 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15188 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15190 * main.C (main): pass lyx_localedir to gettext_init().
15192 * gettext.h: remove locale_init and gettext_init macros
15194 * gettext.C (locale_init): new function
15195 (gettext_init): new function
15197 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15200 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15202 * Moved credits to frontends:
15203 * credits.[Ch]: removed
15204 * credits_form.[Ch]: removed
15205 * lyx_gui_misc.C: remove credits stuff
15208 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15210 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15212 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15213 unneeded destructor.
15215 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15216 a standalone pointer again.
15218 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15220 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15226 * ToolbarDefaults.C:
15235 * BufferView_pimpl.C: use new file dialog in GUII
15238 * lyx_cb.C: remove LayoutsCB to Toolbar
15240 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * ShareContainer.h (get): add std:: qualifier
15244 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * ShareContainer.h: define a proper ShareContainer::value_type
15247 type (and use typename to please compaq cxx)
15249 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15251 * lyxparagraph.h: move serveral local vars to
15252 ParameterStruct/ParagraphParameters., use ShareContainer in
15253 FontTable., make vars in FontTable private and add getter and
15256 * paragraph.C: changes because of the above.
15258 * lyxfont.h: remove copy constructor and copy assignment. (the
15259 default ones is ok), move number inside FontBits. move inlines to
15262 * lyxfont.C: add number to initializaton of statics, move several
15263 inlines here. constify several local vars. some whitespace
15264 cleanup. Dont hide outerscope variables.
15266 * Spacing.h: add two new constructors to match the set methods.
15268 * ShareContainer.h: new file, will perhaps be moved to support
15270 * ParameterStruct.h: new file
15272 * ParagraphParameters.h: new file
15274 * ParagraphParameters.C: new file
15276 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15277 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15279 * BufferView_pimpl.C: ParagraphParameter changes.
15280 * buffer.C: Likewise.
15281 * bufferview_funcs.C: Likewise.
15282 * text.C: Likewise.
15283 * text2.C: Likewise.
15285 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15287 * lyxfind.C (LyXReplace): do not redefine default argument in
15289 (IsStringInText): ditto
15290 (SearchForward): ditto
15291 (SearchBackward): ditto
15293 2001-03-06 Juergen Vigna <jug@sad.it>
15295 * lyxfind.C (IsStringInText): put parentes around expressions.
15297 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15299 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15301 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15303 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15305 * stl_string_fwd.h: add comment
15307 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15310 * tabular.C: remove unused DocBook methods
15316 killed DO_USE_DEFAULT_LANGUAGE
15318 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15320 * lyx_gui.C: do not include language.h.
15322 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15323 arguments in function implementation.
15325 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15327 * BufferView_pimpl.C: add <ctime>
15329 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15331 * BufferView_pimpl.C: add using std::find_if
15333 2001-02-27 José Matos <jamatos@fep.up.pt>
15335 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15338 2001-02-11 José Matos <jamatos@fep.up.pt>
15340 * buffer.C (makeDocBookFile): command styles now have a parameter as
15341 "title" by default.
15343 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15345 * layout_forms.[Ch]: removed
15346 * lyx_cb.[Ch]: out character
15347 * lyx_gui.C: out character
15348 * lyx_gui_misc.C: out character
15349 * bufferview_funcs.C: : out character,
15350 added toggleall as parameter in ToggleAndShow
15352 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15354 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15356 * text2.C (SetCurrentFont): Disable number property at boundary.
15358 2001-02-26 Juergen Vigna <jug@sad.it>
15360 * lyxfunc.C (getStatus): added a string argument override function so
15361 that this is correctly called from LyXFunc::Dispatch if it contains a
15362 do_not_use_argument which is used!
15363 (Dispatch): added check for "custom" export and call appropriate func.
15365 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15367 * lyxrc.C: Add language_command_local, language_use_babel and
15368 language_global_options.
15370 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15372 * buffer.C (makeLaTeXFile): Use language_use_babel and
15373 language_global_options.
15375 2001-02-23 Juergen Vigna <jug@sad.it>
15377 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15378 which works with LyXText and putted it inside BufferView. Here now we
15379 only call for that part the BufferView::Dispatch() function.
15381 * BufferView.C (Dispatch): added.
15383 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15384 functions which needs to use a LyXText over from LyXFunc.
15385 (MenuInsertLyXFile): added
15386 (getInsetByCode): added
15387 (moveCursorUpdate): added
15388 (static TEXT): added
15390 2001-02-22 Juergen Vigna <jug@sad.it>
15392 * BufferView_pimpl.C (update): call a status update to see if LyXText
15395 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15397 * vc-backend.C (revert): implement for CVS
15398 (getLog): implement for CVS
15400 2001-02-20 Juergen Vigna <jug@sad.it>
15402 * text2.C (ClearSelection): added BufferView param for inset_owner call
15404 * lyxfunc.C (TEXT): added this function and use it instead of
15405 directly owner->view()-text of getLyXText().
15407 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15409 * src/layout_forms.C: out preamble
15410 * src/layout_forms.h: out preamble
15411 * src/lyx_cb.C: out preamble
15412 * src/lyx_cb.h: out preamble
15413 * src/lyx_gui.C: out preamble
15414 * src/lyx_gui_misc.C: out preamble
15415 * src/lyxfunc.C: connect with guii preamble
15417 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15419 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15421 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15423 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15424 whether to run bibtex.
15426 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15428 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15430 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15432 * Makefile.am (lyx_SOURCES): removed bibforms.h
15434 * vspace.h: doxygen
15436 * text.C (GetVisibleRow): make several local vars const
15438 * tabular.C: small cleanup.
15440 * lyxserver.C (callback): use compare instead of strncmp
15442 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15443 inlines to after class or to paragraph.C
15445 * lyxfont.h: remove friend operator!=
15447 * converter.h: move friend bool operator< to non friend and after
15450 * combox.h: small cleanup
15452 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15453 to inlines after class def.
15455 * buffer.C (pop_tag): use string operations instead of strcmp
15457 * bmtable.c: doxygen, small cleanup
15459 * LaTeX.h: remove friend operator==
15461 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15473 * BufferView_pimpl.C:
15474 * BufferView.[Ch]: remove cruft
15476 2001-02-14 Juergen Vigna <jug@sad.it>
15478 * lyxfunc.C: removed #if 0 unused code
15480 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15482 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15484 * text2.C (SetSelection): added a BufferView * parameter
15486 2001-02-13 Juergen Vigna <jug@sad.it>
15488 * lyxfunc.C (Dispatch): fixed protected blank problem.
15489 * BufferView2.C (protectedBlank): added LyxText * parameter.
15491 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15492 (AppendColumn): same as above for column_info.
15494 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15495 (moveCursorUpdate): use a LyXText param for support of InsetText.
15497 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15498 (tripleClick): ditto
15500 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15502 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15504 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15506 * text2.C (SetSelection): set correct update status if inset_owner
15507 (ToggleFree): ditto
15509 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15511 * tabular.C: remove some commented code.
15513 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15515 * BufferView_pimpl.C: call hideSplash()
15517 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15520 * bibforms.h: remove
15523 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15524 add LFUN_CHILD_CREATE
15526 * counters.h: fix tiny typo
15531 * lyx.C: move splash to frontends/xforms/
15533 * lyx_gui_misc.C: move Include and Bibform to frontends
15535 * lyxvc.h: clarify comment
15537 * vspace.C: tiny housekeeping
15539 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15541 * text.C (PrepareToPrint): RTL Fix.
15543 * paragraph.C (GetUChar): New method.
15544 (String): Use GetUChar.
15546 * buffer.C (asciiParagraph): Use GetUChar.
15548 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15550 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15552 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15555 * buffer.C: rename to getLogName(), handle
15556 build log / latex log nicely
15558 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * MenuBackend.h: remove support for reference menuitem type.
15563 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15565 * BufferView_pimpl.C: housekeeping
15566 * BufferView_pimpl.h:
15571 * minibuffer.h: move Timeout GUI-I
15573 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15575 * lyxrc.C (read): Update converters data-structures.
15577 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15579 * LaTeX.h (operator!=): add operator != for Aux_Info
15581 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15583 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15585 * LaTeXLog.C: deleted, useful code moved to Buffer
15588 * buffer.C: new function getLatexLogName()
15594 * lyxfunc.C: use frontends for LaTeX and VC logs
15596 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * LaTeX.h: yet another std:: that Allan forgot.
15600 * Variables.C (set): renamed from isset(), because this clashes
15601 with some HP-UX macros (grr).
15603 2001-02-06 Allan Rae <rae@lyx.org>
15605 * LaTeX.h: Another bug fix. Missing std:: this time.
15607 2001-02-04 Allan Rae <rae@lyx.org>
15609 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15610 floats problem. I've left it commented out because it's not quite
15611 correct. It should also test that the current object is a table or
15612 figure inset. But I haven't gotten around to figuring out how to do
15613 that. I *think* it'll be something like: "table" == inset.type()
15615 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15618 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15620 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15621 all the citation/databases/styles in the auxilary file.
15622 (run): Rerun latex if there was a babel language error.
15624 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15626 * text.C (Backspace): Preserve the font when changing newline char
15628 (BreakParagraph): If the cursor is before a space, delete the space.
15630 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15632 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15634 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15635 new argument (code).
15636 (ChangeCitationsIfUnique): New method.
15638 * paragraph.C (GetPositionOfInset): Handle bibkey.
15640 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * BufferView_pimpl.h: change type of Position::par_pos to
15643 LyXParagraph::size_type.
15645 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15647 * BufferView_pimpl.C (savePosition, restorePosition): Write
15648 messages to minibuffer.
15650 2001-01-28 José Matos <jamatos@fep.up.pt>
15652 * buffer.C (makeDocBookFile): adds support for document language.
15653 A silly restriction on the name of LatexCommand types where removed.
15654 Added support for CDATA sections, allows to chars unescaped, used
15655 among others in code, to avoid escape < and >.
15657 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15659 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15660 saved positions instrad of a stack. Furthermore, a position is
15661 stored using paragraph id/paragraph position.
15663 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15664 Remove LFUN_REF_BACK.
15666 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15668 * converter.C (dvipdfm_options): New method.
15670 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15672 * vspace.C (isValidLength): Fix for empty input string.
15674 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15676 * LyXAction.C (init): change description of LFUN_FIGURE to
15679 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * LaTeX.C: add using directive
15683 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15685 * MenuBackend.C (expand): Fix the sorting of the formats.
15687 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15689 * lyx_main.C: tiny error message fix
15691 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15694 calling fl_initialize(). This fixes the problem with ',' as
15695 decimal separator in text files.
15697 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15699 * trans.C (process): Fix the keymap bug.
15701 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15703 * LaTeX.C (scanAuxFiles): New method. Provides support for
15704 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15705 (scanLogFile) Scan for "run BibTeX" messages.
15707 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15708 OT1 font encoding. Also, load the aecompl package if the ae
15711 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15713 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * texrow.C (increasePos): turn two error messages into debug
15718 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15720 * LaTeX.C (scanAux): Handle the \@input macro.
15721 (runBibTeX): Use scanAux().
15723 * language.C (latex_options_): New field.
15725 * LaTeXFeatures.C (getMacros): Add language macros.
15727 * buffer.C (makeLaTeXFile): Small fix.
15729 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15731 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15733 * text2.C: add a using directive.
15735 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15740 * lyxfunc.C: kill LyXBell.
15742 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15744 * text.C (IsBoundary): Remove the error message
15746 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15748 * lyxrc.C (setDefaults): Correct initialization value for
15751 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15753 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15756 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15757 and GotoNextNote().
15759 * src/LyXAction.C: Added reference-next.
15761 * text.C (InsertChar): Use contains instead of strchr.
15763 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15765 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15767 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15768 alignment commands (when needed).
15770 * text.C (InsertChar): Add ':' to number separator chars.