2 2004-08-13 André Pönitz <poenitz@gmx.net>
4 * cursor.C: macroModeClose: use plainInsert instead of niceInsert.
6 2004-08-12 André Pönitz <poenitz@gmx.net>
8 * text3.C: take out the 'cursor right' form insertInset and only
9 do it in those places when it is really needed. Fixes crash on C-m...
11 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
15 * BufferView_pimpl.C (setBuffer): initialize the current font of
16 the underlying LyXText
18 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * kbsequence.C (print): use UI native formatting for menu
23 * text.C (insertChar): call Paragraph::insertChar with a font
26 * paragraph.C (insertInset, insertChar): the version that takes a
27 LyXFont argument is now a wrapper around the other one (the
28 opposite used to be true).
30 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
31 argument. Font setting is done in Paragraph now.
33 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * outputparams.h: add new members intitle and lang.
37 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
38 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
40 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
42 * text3.C (dispatch): remove special handling of button 4 and 5,
43 it is now taken care of in the frontend code.
45 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * Spacing.h: add <string> (STLPort compile fix)
49 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
51 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
53 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
55 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
58 * converter.C (showMessage): inherit from unary_function, make
61 * buffer.C (writeFile): initialize retval
63 * InsetList.h: rename private variable list to list_
64 * InsetList.[Ch]: adjust accordingly.
66 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
68 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
69 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
70 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
71 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
72 * ParagraphParameters.C, LaTeXFeatures.C: replace
73 "support/std_sstream.h" with <sstream>
75 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
77 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
78 * lyxsocket.C (LyXServerSocket): ditto
79 (serverCallback): ditto
81 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
83 * LaTeXFeatures.C: check release date when loading jurabib.
85 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
87 * lyxserver.C (startPipe): call register_socket_callback
88 (endPipe): call unregister_socket_callback
90 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
92 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
93 (LyXServerSocket): register the callback
94 (LyXServerSocket): unregister the callback
96 (serverCallback): improve error checking and setup the callbacks.
97 (dataCallback): change arg to fd.
98 (writeln): new func (copied fro the client socket) used for server
100 (LyXDataSocket): simplify
101 (~LyXDataSocket): close ann unregiser callback
102 (server): delete function
103 (fd): delete function
104 (readln): small changes, improve some std::string usage
105 (writeln): constify a bit
107 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
112 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * BufferView_pimpl.C (setBuffer): set the layout combox value only
115 after it has been populated
117 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * text2.C (insertInset): move cursor when inserting inset.
121 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * kbmap.C (findbindings): a couple of new methods. returns a
124 container of kb_sequence objects. The real work is done by the
125 private recursive version
126 (printbindings): uses findbindings to print out a bracketed list
127 of bindings (renamed from findbinding).
129 * MenuBackend.C (binding): use kb_keymap::findbindings
131 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
133 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
137 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * paragraph.C (isWord): return true on insets that report
142 * text.C (getWord): use Paragraph::isWord to decide what is in a
143 word and what is not; fix bug 1609.
145 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
147 * tex-strings.C: add "none" to string_paperpackages[], fixes
148 off-by-one-error in the paperpackage selection.
151 * tex-strings.[Ch]: char const * string[n]
152 -> char const * const string[]
154 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
157 command, return early.
159 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
161 * debug.h: add DEBUG to enum and fix size of ANY.
163 * debug.C: add support for Debug::DEBUG
164 (showTags): cast errorTags.level to unsigned int
166 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
167 (redoCurrentBuffer): ditto
168 (updateScrollbar): ditto
169 * cursor.C (dispatch): ditto
170 * text2.C (setLayout): ditto
172 (updateCounters): ditto
174 (deleteEmptyParagraphMechanism): ditto
176 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
179 annotations to cleanup the Makefile slightly.
181 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * lyxrc.C: do not set user_email to a default value but use empty
184 instead. The entry used to be translated, which does not work
185 since at the point where lyxrc is constructed there is no
186 translation service available
188 * messages.C (getLocaleDir): remove and use directly
189 lyx_localedir() instead
191 2004-06-02 Angus Leeming <leeming@lyx.org>
193 Fix crash caused by dereferencing null pointer 'exportdata' in
194 OutputParams by creating a new ExportData variable on the heap,
195 storing it in a boost::shared_ptr.
196 The crash was triggered when generating an Instant Preview
197 of an external inset.
199 * Makefile.am: add outputparams.C
201 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
202 (c-tor): allocate memory to it.
204 * exporter.C (c-tor): associated changes.
206 2004-06-01 Angus Leeming <leeming@lyx.org>
208 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
209 contains data before calling isInset(0). (Bug 1513.)
211 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
213 * exporter.C (checkOverwrite): new method
214 * exporter.C (copyFile): new method
215 * exporter.C (Export): copy referenced files to the document dir
216 * exporter.[Ch]: new class ExportedFile
217 * exporter.[Ch]: new class ExportData. Contains currently the
218 names of referenced external files
219 * outputparams.h: add exportdata member.
221 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
223 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
226 2004-05-19 Angus Leeming <leeming@lyx.org>
231 * lyxfunc.C: small changes due to the introduction of namespace
232 lyx::frontend and the moving of namespace biblio to lyx::biblio.
234 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
236 * text3.C (dispatch): supress update when only moving the cursor
237 * cursor.C (selHandle): remove commented code
239 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * paragraph.C (startTeXParParams): correct column count
242 * CutAndPaste.C (pasteSelection): remove const_cast
243 * output_docbook.C (docbookParagraphs): remove const_cast
244 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
245 const_cast and return ParagraphList::const_iterator
246 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
247 * output_plaintext.C (writeFileAscii): remove const_cast
248 * paragraph.[Ch] (simpleTeXOnePar): make const
249 * paragraph_funcs.C (outerPar): use const iterators
250 * paragraph_pimpl.C (validate): use const iterators
251 * text.C (setHeightOfRow): use const iterators
253 2004-05-17 Angus Leeming <leeming@lyx.org>
256 * LyXAction.C (init): new LFUN_INSET_REFRESH.
258 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
259 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
260 if the citation engine has changed.
262 2004-05-14 José Matos <jamatos@lyx.org>
264 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
265 if the textclass does not provide it. Have it different for sgml and
267 support the language of document.
268 * output_docbook.C (docbookParagraphs):
269 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
270 first anchor as the id of the paragraph, remove special case code.
271 * sgml.C (escapeChar): escape only < & >.
273 2004-05-14 Angus Leeming <leeming@lyx.org>
275 * bufferparams.h: move biblio::CiteEngine enum here to minimize
276 dependencies on src/frontends/controllers/biblio.h. Define a
277 CiteEngine_enum wrapper class to enable the enum to be forward
280 2004-05-12 Angus Leeming <leeming@lyx.org>
282 * buffer.C: up LYX_FORMAT to 234.
283 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
284 use_numerical_citations with a single biblio::CiteEngine cite_engine
286 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
288 2004-05-13 José Matos <jamatos@lyx.org>
291 * converter.C (Converter, readFlags): add xml member.
292 * outputparams.h: add XML flavor.
293 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
295 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
297 * lyxfunc.C (dispatch):
298 (getStatus): fix handling of LFUN_SEQUENCE
300 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * debug.C (showLevel): do not forget the end-of-line marker
304 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * kbmap.C (read): do not stop parsing a bind file when an error
309 2004-04-29 Angus Leeming <leeming@lyx.org>
314 * text2.C: wrap a bunch of #warning statements
315 inside #ifdef WITH_WARNINGS blocks.
317 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
319 * buffer.C: increment format to 233.
321 2004-04-28 Angus Leeming <leeming@lyx.org>
323 * BufferView_pimpl.C:
326 s/updateToolbar()/updateToolbars()/
327 s/Toolbar.h/Toolbars.h/
329 2004-04-28 Angus Leeming <leeming@lyx.org>
331 * BufferView.[Ch] (c-tor):
332 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
333 No longer passes these data to the WorkArea generator.
335 2004-04-28 Angus Leeming <leeming@lyx.org>
337 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
339 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
341 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
343 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * output_latex.C (TeXEnvironment): make sure that there is a line
346 break before \end{foo} for the last paragraph of a document
347 (TeXOnePar): if the paragraph is at the end of the document (or
348 inset) and the language has to be reset, then make sure that the
349 line break is _before_ the language command, not after (fixes bug
350 1225); also make sure that the language reset command is the first
351 thing after the paragraph (to ensure proper nesting of
352 environments and thus fix bug 1404)
354 2004-04-21 John Levon <levon@movementarian.org>
357 * ToolbarBackend.C: make "name" be a programmatic name
358 and a gui_name field.
360 * lyxfunc.C: display the minibuffer on M-x
362 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
367 2004-04-19 Angus Leeming <leeming@lyx.org>
369 * BufferView_pimpl.C (setBuffer): changed preview interface.
371 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
374 2004-04-19 John Levon <levon@movementarian.org>
376 * BufferView_pimpl.C:
377 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
379 2004-04-05 Angus Leeming <leeming@lyx.org>
381 * text.C (redoParagraphs): add call to updateCounters(), thereby
382 fixing the missing "Figure #:" label from the caption of a
385 2004-04-13 Angus Leeming <leeming@lyx.org>
387 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
388 cursor is clicked out of an inset.
390 2004-04-13 Angus Leeming <leeming@lyx.org>
392 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
393 than an InsetOld one.
395 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
397 * format.[Ch]: add editor to Format
398 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
399 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
401 2004-04-08 André Pönitz <poenitz@gmx.net>
403 * metricsinfo.h: remove PainterInfo::width member
405 2004-04-08 Angus Leeming <leeming@lyx.org>
407 * lyx_sty.C (boldsymbol_def): modify so that it outputs
408 "\providecommand" rather than "\newcommand", thereby preventing
409 clashes with packages that define "\boldsymbol" themselves.
412 2004-04-08 Angus Leeming <leeming@lyx.org>
414 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
415 thereby squashing an unnecessary warning.
417 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
419 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
422 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
424 * BufferView.C (setCursor): call redoParagraph (some insets could
426 (putSelectionAt): remove the 'double update' trick
428 * BufferView_pimpl.C (fitCursor): call refreshPar
429 (workAreaDispatch): remove an uneeded update call
430 (dispatch): remove some manual update calls
432 * cursor.[Ch]: remove cached_y_, updatePos
433 (selHandle): set noUpdate when appropriate
435 * lyxfunc.C (dispatch): track if we need an update
437 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
439 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
440 (paintSelection): cheap optimization, do not call cursorX when not
442 (paintPars): change signature
445 (paintTextInset): adjust
449 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * lengthcommon.C: compilation fix: remove explicit array size from
452 unit_name[] and friends
454 2004-04-05 Angus Leeming <leeming@lyx.org>
456 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
458 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
459 present only for the preferences dialog.
460 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
462 2004-04-05 Angus Leeming <leeming@lyx.org>
464 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
465 to enable the frontends to export changes to lyxrc correctly.
467 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
469 2004-04-07 André Pönitz <poenitz@gmx.net>
471 * cursor.[Ch] (selClear, adjust): remove math
473 * cursor_slice.C: more agressive assert
476 * BufferView_pimpl.C: rework mouse event dispatch
483 2004-04-05 André Pönitz <poenitz@gmx.net>
485 * cursor.[Ch] (valign, halign...): remove unneeded functions
487 2004-04-05 Angus Leeming <leeming@lyx.org>
489 * lyxlength.[Ch] (unit_name et al.): const-correct.
491 2004-04-05 Angus Leeming <leeming@lyx.org>
493 * BufferView_pimpl.C:
502 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
504 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
506 * text3.C (getStatus): add LFUN_BEGINNINGBUF
508 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
510 * lyxfind.C: add a couple of inTexted() tests + other small fixes
511 * BufferView_pimpl.[Ch] (getStatus)
512 * BufferView.[Ch] (getStatus): add
513 * lyxfunc.C (getStatus): move lfuns handled in
514 BufferView::dispatch to te function above
515 * Cursor.C (setSelection): set selection() = true
517 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
519 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
521 2004-03-31 Angus Leeming <leeming@lyx.org>
523 * lyxfunc.C (dispatch): Fall through to the generic
524 Dialogs::show("preamble").
526 2004-03-31 Angus Leeming <leeming@lyx.org>
528 * lyxfunc.C (dispatch): Fall through to the generic
529 Dialogs::show("spellchecker").
531 2004-03-31 Angus Leeming <leeming@lyx.org>
533 * lyxfunc.C (getStatus, dispatch): changed invocation of the
536 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
541 * insetiterator.[Ch]:
546 * undo.[Ch]: s/DocumentIterator/DocIterator/g
548 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
550 * BufferView.C (setCursor, putSelectionAt): call edit to open the
551 insets where we are putting the cursor.
553 2004-03-31 Angus Leeming <leeming@lyx.org>
556 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
558 * lyxrc.[Ch] (read, write): overloaded member functions taking
559 a std::[io]stream arguments.
561 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
563 2004-03-31 Angus Leeming <leeming@lyx.org>
565 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
566 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
568 * lyxtextclass.C (load): if the text class couldn't be loaded, then
569 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
571 2004-03-31 Angus Leeming <leeming@lyx.org>
573 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
574 the LFUN_ALL_INSETS_TOGGLE code.
576 2004-03-30 Angus Leeming <leeming@lyx.org>
578 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
579 has died. Fall through to the generic Dialogs::show("document").
581 2004-03-30 Angus Leeming <leeming@lyx.org>
584 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
585 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
587 * lyxfunc.C (getStatus, dispatch): define the actions for these
588 lfuns. Little more than a cut and pste job from ControlDocument.C
590 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
592 2004-03-30 Angus Leeming <leeming@lyx.org>
595 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
596 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
598 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
599 open/closed state of ollapsable insets. Usage:
601 all-inset-toggle <state> <name>, where
602 <state> == "open" || "closed" || "toggle" and
603 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
605 * lyxtext.h, text2.C (toggleInset): removed.
607 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
608 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
609 now passes LFUN_INSET_TOGGLE to the found inset.
611 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
612 is now invoked as "all-insets-toggle toggle branch".
614 2004-03-30 Angus Leeming <leeming@lyx.org>
618 * pariterator.[Ch]: added/corrected header blurb.
620 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
622 * dociterator.[Ch]: add an inset_ member
623 (backwardPos): implemented
624 (backwardPos, forwardPos): use inset_ when the stack is empty.
625 (doc_iterator_begin, doc_iterator_end): implemented
626 * pariterator.[Ch]: adjust, add begin, end
627 * insetiterator.[Ch]: adjust, add begin, end
631 * BufferView_pimpl.C:
632 * CutAndPaste.C: adjust
634 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
636 * buffer.C: increment file format to 232.
637 * LaTeXFeatures.C: add bibtopic package.
638 * bufferparams.[Ch]: param \use_bibtopic.
640 * lyxrc.[Ch]: add lyxrc bibtex_command
641 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
643 * buffer.C: increment file format to 231.
645 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
647 * dociterator.C: implement forwardPar
648 * iterators.[Ch]: remove, replaced by
649 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
651 * BufferView_pimpl.C:
654 * bufferview_funcs.C:
660 * Makefile.am: adjust
662 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
664 * CutAndPaste.C (pasteSelection): fix 2 crashes
665 (eraseSelection): fix a crash
666 * paragraph_funcs.C: remove a warning
668 2004-03-28 Angus Leeming <leeming@lyx.org>
671 * LyXAction.C (init): new LFUN_PRINT.
673 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
675 2004-03-27 Angus Leeming <leeming@lyx.org>
678 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
680 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
682 2004-03-27 Angus Leeming <leeming@lyx.org>
684 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
685 insetlist always contains non-null pointers to insets.
687 2004-03-26 Angus Leeming <leeming@lyx.org>
689 * src/BufferView_pimpl.C:
693 * src/output_plaintext.C:
694 * src/outputparams.h:
695 * src/paragraph_funcs.C:
699 * src/frontends/controllers/ControlErrorList.C:
700 * src/frontends/gtk/FileDialogPrivate.C:
701 * src/frontends/gtk/GPainter.C:
702 * src/frontends/gtk/GToolbar.C:
703 * src/frontends/qt2/QRef.C:
704 * src/mathed/math_scriptinset.C: squash compiler warnings.
706 2004-03-26 Angus Leeming <leeming@lyx.org>
708 * ispell.C (LaunchIspell::start):
709 * lyx_cb.C (AutoSaveBuffer::start):
710 invoke run(DontWait) rather than runNonBlocking().
712 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
714 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
716 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
718 * kbsequence.C (print): adjust
720 * kbmap.C (printKeySym): rename and change signature
721 (printKey): use LyXKeySym::print()
723 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
725 * undo.C: add using std::advance to compile for stlport
727 2004-03-24 Angus Leeming <leeming@lyx.org>
729 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
730 it leads to a crash when no buffer is present.
732 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 Martin Vermeer <martin.vermeer@hut.fi>
735 * lyxfunc.C (dispatch):
736 * bufferparams.C (readToken): use the new LColor::setColor
738 * LColor.[Ch] (setColor): new version that takes two strings as
739 argument and creates a new color entry if necessary
741 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
743 * buffer.C (makeLaTeXFile): if the main latex file that is
744 processed is usually a subdocument of some master, then pretend
745 for a while that it is actually the master
747 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
749 * buffer.C (getLabelList):
750 (getBibkeyList): use getMasterBuffer()
751 (getMasterBuffer): new method. Returns the main document in the
752 case where one is using included documents.
754 2004-03-25 André Pönitz <poenitz@gmx.net>
758 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
760 * ParagraphList_fwd.h: change ParagraphList to a std::vector
762 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
763 text*.C over here. Rename namespace CutAndPaste to lyx::cap
765 * ParameterStruct.h: merge with ParagraphParameters
767 * lyxtext.h: remove LyXText::parOffset() and getPar()
769 * text3.C: Remove all 'manual' update calls. We do now one per user
770 interaction which is completely sufficient.
774 * BufferView_pimpl.C:
777 * ParagraphParameters.[Ch]:
789 * output_docbook.[Ch]:
791 * output_linuxdoc.[Ch]:
792 * output_plaintext.[Ch]:
794 * paragraph_funcs.[Ch]:
795 * paragraph_pimpl.[Ch]:
803 * frontends/controllers/ControlDocument.C:
804 * frontends/controllers/ControlErrorList.C:
805 * frontends/controllers/ControlSpellchecker.C:
808 * insets/insetbase.h:
809 * insets/insetbibitem.C:
811 * insets/insetbranch.C:
812 * insets/insetcaption.C:
813 * insets/insetcharstyle.C:
814 * insets/insetcharstyle.h:
815 * insets/insetcollapsable.C:
816 * insets/insetcollapsable.h:
818 * insets/insetfloat.C:
819 * insets/insetfoot.C:
820 * insets/insetmarginal.C:
821 * insets/insetnote.C:
822 * insets/insetoptarg.C:
823 * insets/insettabular.C:
824 * insets/insettext.C:
825 * insets/insettext.h:
826 * insets/insetwrap.C:
827 * mathed/math_mboxinset.C:
828 * mathed/math_nestinset.C:
829 * mathed/math_scriptinset.C:
830 * mathed/math_scriptinset.h:
833 2004-03-24 Angus Leeming <leeming@lyx.org>
835 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
836 deal with any child processes that have finished but are waiting to
837 communicate this fact to the rest of LyX.
839 2004-03-24 Angus Leeming <leeming@lyx.org>
841 64-bit compile fixes.
843 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
844 (c-tor): pass lyx::pos_types rather than ints.
846 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
849 * text.C (Delete): compile fix.
850 (getPar): ensure that function declaration is the same as that in
853 2004-03-23 Angus Leeming <leeming@lyx.org>
855 * ispell.C (LaunchIspell):
856 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
857 a boost::shred_ptr rather than a std::auto_ptr.
859 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
861 * lyxfunc.C (getStatus): handle read-only buffers correctly;
862 handle LFUN_FILE_INSERT_*
864 * lyxrc.C (setDefaults, getDescription, output, read):
865 * lyxrc.h: remove ps_command
867 2004-03-22 Angus Leeming <leeming@lyx.org>
869 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
870 Ensure that error_handler is processed once only and that all data
871 is saved before attempting to output any warning messages.
873 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
875 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
877 * tabular.C (TeXRow): crash fix (from Kayvan and André)
879 2004-03-19 André Pönitz <poenitz@gmx.net>
881 * cursor.[Ch] (reset): take main text inset as argument
884 * BufferView_pimpl.C: adjust
886 * paragraph.[Ch]: fix completely broken operator=()
888 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * LColor.C (getFromLyXName): make sure that the color name is used
893 2004-03-17 Angus Leeming <leeming@lyx.org>
896 * LyXAction.C (init): remove LFUN_FORKS_KILL.
898 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
899 dialog and to kill a forked process.
901 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
903 * text2.C (setCursorFromCoordinates): fix font problem
905 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
907 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
908 bogus "rebuild cursor" code
910 2004-03-11 André Pönitz <poenitz@gmx.net>
912 * buffer.[Ch]: use InsetText instead of LyXText as container for
915 * dociterator.[Ch]: drop the BufferView * member which is not needed
916 anymore after the change to buffer.C
922 * BufferView_pimpl.[Ch]:
924 * cursor_slice.[Ch]: adjust
926 * text3.C: fix bug in mathDispatch
928 2004-03-08 André Pönitz <poenitz@gmx.net>
930 * undo.[Ch]: use 'StableDocumentIterator' as base for
933 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * bufferparams.[Ch]: add jurabib support and param.
938 * LaTeX.C: add FIXME/comment.
940 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
942 * buffer.C: increment file format to 230.
944 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
946 * cursor.C (dispatch): avoid infinite loops
948 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
950 * rowpainter.C (paintSelection): fix x coordinates
952 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
954 * text.C (rowBreakPoint): fix breaking before displayed insets
956 2004-03-01 André Pönitz <poenitz@gmx.net>
958 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
960 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
964 * BufferView_pimpl.C:
972 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
978 * BufferView_pimpl.C: rename textwidth -> maxwidth,
979 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
981 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
983 * Bidi.[Ch] (computeTables): const correctness
984 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
985 fill_hfill, fill_label_hfill and x from Row
986 * lyxtext.h: prepareToPrint returns a RowMetrics
987 * rowPainter.C: adjust
988 * text.C (prepareToPrint): use width, not textWidth. adjust
989 (redoParagraphInternal, cursorX): adjust
990 * text2.C (getColumnNearX): adjust
991 (init): put a default value to the top LyXText::width
993 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
995 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
997 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
999 * lyxtext.h: add FontIterator class
1001 * text.C (FontIterator, operator*, operator->, operator++): add
1002 (rowBreakPoint, setRowWidth): adjust (fixing a
1005 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1007 * BufferView_pimpl.C (workAreaDispatch): allow also
1008 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1010 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1012 * text.C (rowBreakPoint): fix a bug showing with very large insets
1014 2004-02-25 André Pönitz <poenitz@gmx.net>
1017 * cursor.[Ch]: move some mathed specific code to mathed
1019 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1022 use_tempdir in preferences
1023 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1025 * lyx_main.C: ensure that tempdir is valid
1026 * lyxlex.h: correct typo
1027 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1028 * paragraph.[Ch] (isMultiLingual): make const
1029 * cursor.[Ch] (openable): make const
1031 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1033 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1035 2004-02-20 André Pönitz <poenitz@gmx.net>
1037 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1039 * cursor.[Ch]: prepare for localized getStatus()
1045 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1047 2004-02-20 André Pönitz <poenitz@gmx.net>
1049 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1051 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1053 * text2.C (setCursorFromCoordinates): switch to absolute coords
1055 (cursorDown): adjust
1056 * text3.C (dispatch): adjust
1058 2004-02-16 André Pönitz <poenitz@gmx.net>
1060 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1063 * cursor_slice.[Ch]: remove unneeded acessor function
1065 * lyxtext.h: rename rtl() to isRTL()
1073 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1075 * rowpainter.C (paintSelection): coord fix
1077 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1079 * Spacing.C: compile fix
1081 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1083 * cursor.C (dispatch): restore current_ before returning
1085 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1087 * text2.C (cursorUp, cursorDown): fix coords
1090 2004-02-12 André Pönitz <poenitz@gmx.net>
1095 * text3.C: add LCursor & parameter to most cursor movement functions
1096 remove usage of LyXText::cursorRow() and cursorPar()
1098 * cursor.[Ch]: add textRow() needed members
1101 * BufferView_pimpl.C:
1104 * BufferView_pimpl.C: adjust
1106 2004-02-11 André Pönitz <poenitz@gmx.net>
1110 * BufferView_pimpl.C: shift undo/redo handling
1112 * cursor.[Ch]: fix mathed crash
1115 * lyxtext.h: move selectionAsText to LCursor
1123 * rowpainter.C: fix excessive drawing
1125 2004-02-06 André Pönitz <poenitz@gmx.net>
1128 * BufferView_pimpl.[Ch]:
1129 * text3.C: move some text specific LFUN handling
1131 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1133 * text3.C (checkInsetHit): adjust coords
1134 * text2.C (getColumnNearX): adjust coords
1135 (edit): adjust coords
1136 * text.C (getRowNearY): add two asserts
1138 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1141 * format.C: add using std::distance to compile on gcc 2.95/stlport
1143 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1145 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1147 2004-02-04 André Pönitz <poenitz@gmx.net>
1149 * BufferView.[Ch] (insertInset):
1150 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1155 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1157 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1158 on the default clause of the switch
1159 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1160 wasn't catched by LCursor::dispatch
1162 2004-02-03 André Pönitz <poenitz@gmx.net>
1165 * cursor.[Ch]: some additional asserts
1167 * undo.[Ch]: remove LyXText dependency in interface
1171 * lyxtext.h (firstPar, lastPar): remove dead functions
1176 * paragraph.[Ch]: adjust
1178 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1180 * lyxfind.C (find): fix argument order in call to ::find
1182 2004-02-02 André Pönitz <poenitz@gmx.net>
1184 * cursor.[Ch]: remove direct access to anchor
1186 * text.C: remove findText() hack
1188 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1190 * iterators.[Ch] (lockPath): remove in favour of...
1191 * BufferView.[Ch] (setCursor): this addition
1192 * BufferView.C (putSelectionAt): adjust
1193 * undo.C (performUndoOrRedo): adjust
1194 * lyxfunc.C (dispatch): adjust
1196 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1198 * iterators.C (lockPath): add a missing slice
1199 * undo.C (performUndoOrRedo): remove redundant positioning code
1201 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1203 * vc-backend.C (scanMaster): ";" -> ';'
1205 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1207 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1208 std::binary_function
1210 * lyxtextclass.C (compare_name): rename to...
1211 (LayoutNamesEqual): ...this
1213 * lyxlex_pimpl.C (compare_tags): inherit from
1214 std::binary_function, put back into anon namespace
1216 * lyxfind.C (MatchString): inherig from std::binary_function
1217 (findChange): use empty() istead of !size()
1219 * format.C (FormatNamesEqual): new functor
1226 * converter.C (compare_Converter): rename to...
1227 (ConverterEqual): ...this, and fixup a bit.
1228 (getConverter): use it, and make function const
1229 (getNumber): use it, and make function const
1233 * bufferlist.C: add using boost::bind
1235 * MenuBackend.C (MenuNamesEqual): new functor
1236 (hasMenu): use it, and make function const
1237 (hasSubmenu): use nested bind to get rid of compare_memfun.
1239 2004-01-30 André Pönitz <poenitz@gmx.net>
1241 * BufferView_pimpl.C:
1244 * cursor_slice.[Ch]:
1247 * paragraph_funcs.C:
1248 * paragraph_funcs.h:
1252 * text3.C: move some of the edit(x,y) handling to the insets
1253 some coordinate changes.
1255 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1257 * text.C: add using statements for std::advance and std::distance
1259 * paragraph.C: add using statement for std::distance
1261 * lyxfind.C: add using statement for std::advance
1263 * cursor.C (region): remove std:: from swap
1264 (openable): use nucleus in stead of operator->
1266 * BufferView.C: add using statements for std::distance and std::swap
1268 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1270 * iterators.C: Remove the pimple, move the needed structures to
1271 the header file. Create accessor for the positions stack.
1272 (asPosIterator): remove function
1274 * PosIterator.C (PosIterator): move constructors to top of file
1275 (PosIterator): reimplement the constructor taking a ParIterator in
1277 (setFrom): new function
1278 (operator!=): inline it
1280 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1282 * lyxfind.C (replaceAll): use std::advance
1284 * iterators.h: inherit from std::iterator.
1286 * PosIterator.C (advance, distance): remove
1287 * PosIterator.h: interit from std::iterator.
1289 2004-01-26 André Pönitz <poenitz@gmx.net>
1292 * BufferView_pimpl.[Ch]:
1296 * bufferview_funcs.C:
1306 * output_linuxdoc.C:
1307 * output_plaintext.C:
1309 * paragraph_funcs.[Ch]:
1310 * paragraph_pimpl.[Ch]:
1316 * text3.C: more IU: dumps most of the rest of the mathcursor
1317 implementation into cursor.[Ch]; "globalize" a bit of it.
1319 2004-01-25 Angus Leeming <leeming@lyx.org>
1321 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1323 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1325 * LaTeXFeatures.h: add nice_ and nice() const
1326 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1328 2004-01-20 André Pönitz <poenitz@gmx.net>
1331 * BufferView_pimpl.C:
1333 * bufferview_funcs.C:
1335 * cursor_slice.[Ch]:
1346 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1347 LCursor and mathcursor parts to LCursor and InsetBase.
1349 2004-01-15 André Pönitz <poenitz@gmx.net>
1351 * cursor_slice.[Ch]: add a few covienience functions
1353 * funcrequest.[Ch]: remove BufferView * member
1355 * BufferView_pimpl.C:
1362 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1364 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1366 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1367 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1369 2004-01-13 André Pönitz <poenitz@gmx.net>
1372 * lyxtext.h: hide cursor and selection anchor behind accessor function
1375 * BufferView_pimpl.[Ch]:
1377 * bufferview_funcs.C:
1387 * cursor_slice.[Ch]: some integer type changes for inset unification
1389 * lyxcursor.[hC]: remove, it's CursorSlice now.
1392 * BufferView_pimpl.[Ch]:
1393 * bufferview_funcs.C:
1399 * textcursor.[Ch]: adjust
1401 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1403 * text2.C (undoSpan): add and use
1404 * text.C (breakParagraph): use undoSpan (fix bug 578)
1407 2004-01-08 Angus Leeming <leeming@lyx.org>
1409 * BufferView_pimpl.C (MenuInsertLyXFile):
1410 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1411 * lyxfunc.C (menuNew, open, doImport):
1412 FileFilterList change to the FileDialog open and save functions.
1414 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1416 * ShareContainer.h: make isEqual and isUnique adaptable
1418 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1420 2004-01-07 Angus Leeming <leeming@lyx.org>
1423 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1425 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1427 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1428 functions replacing find, replace and replaceAll.
1430 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1431 LFUN_WORDFIND(FORWARD|BACKWARD).
1433 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1435 * text.C (breakParagraph): remove an outdated #warning
1437 2004-01-07 André Pönitz <poenitz@gmx.net>
1439 * lyxfind.C: somewhat clearer logic
1441 * text.C: prevent crash in cursorX on unitialized row cache
1443 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1445 * lyxcursor.[Ch] (operator>): add
1446 * textcursor.C (selStart, selEnd): use std::min and std::max
1448 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1450 * Chktex.C: include boost/format.hpp
1452 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1454 * InsetList.C: replace functor MathcIt with adaptable functor
1456 (insetIterator): modify accordingly
1458 * BranchList.h: move the BranchNamesEqual functor here from...
1459 * BranchList.C: ... to here
1461 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1463 (add): replace a finding loop with std::find_if.
1465 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1467 * output_docbook.C: moving LatexParam functionality into
1470 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1472 * buffer.C: increment format to 229.
1474 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1477 * lyx_sty.[Ch]: remove minipageindent_def
1483 * text3.C: remove LFUN_INSET_MINIPAGE
1485 2003-12-28 Angus Leeming <leeming@lyx.org>
1487 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1489 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1491 * text2.C (setParagraph): fix off-by-one crash
1493 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1495 * output_docbook.C: header stuff for AGU
1497 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1499 * text2.C (redoCursor): remove
1502 * BufferView_pimpl.C: remove calls to redoCursor and
1503 setCursor(cursor.par(), cursor.pos()) all around
1505 2003-12-15 Angus Leeming <leeming@lyx.org>
1507 * buffer.C: up the format to 228.
1509 2003-12-15 André Pönitz <poenitz@gmx.net>
1511 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1516 * BufferView_pimpl.C:
1525 2003-12-15 Angus Leeming <leeming@lyx.org>
1527 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1528 than getFromGUIName to manipulate the color.
1530 2003-12-14 Angus Leeming <leeming@lyx.org>
1532 * BranchList.[Ch]: minimize the API.
1533 (Branch::getBranch, getColor): now return a 'const &'.
1534 (Branch::setSelected) now returns a bool set to true if the
1535 selection status changes.
1536 (BranchList::clear, size, getColor, setColor, setSelected,
1537 allBranches, allSelected, separator): removed.
1538 (BranchList::find): new functions, returning the Branch with
1540 (BranchList::add, remove): return a bool indicating that
1541 the operation was successful.
1543 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1544 new InsetBranch::isBranchSlected member function.
1546 * LColor.[Ch]: mimimize the API.
1547 (fill): renamed as addColor and made private.
1548 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1549 versions of these functions taking a string arg have been removed.
1551 * bufferparams.C (readToken):
1552 * lyxfunc.C (dispatch):
1553 * lyxrc.C (read): changes due to the altered BranchList and
1556 * factory.C (createInset, readInset): changes due to altered
1559 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1562 * lyxfunc.C: remove insetminipage. "minipage-insert"
1563 now produces a frameless minipage box inset.
1565 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1567 * textcursor.[Ch] (selStart,selEnd): add new methods
1568 remove selection::start, end, use LyXCursor::operator<
1569 * lyxcursor.[Ch] (operator<): add
1570 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1571 * BufferView.[Ch] (unsetXSel): add
1572 * text2.C (clearSelection): use unsetXSel,adjust
1575 * rowpainter.C: adjust
1576 * bufferview_funcs.C (put_selection_at): adjust
1578 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1580 * BufferView_pimpl.C: small coord. correction
1582 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1584 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1585 dragging over the splash screen.
1587 2003-12-11 Angus Leeming <leeming@lyx.org>
1589 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1590 as it is now handled in LyXText::dispatch.
1592 * text3.C (doInsertInset): remove a level of nesting.
1594 2003-12-11 Angus Leeming <leeming@lyx.org>
1596 * factory.C (createInset): changes due to the changed interface to
1597 InsetCommandMailer::string2params.
1599 2003-12-10 Angus Leeming <leeming@lyx.org>
1601 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1602 'dialog-show-new-inset <inset name>'
1604 2003-12-10 Angus Leeming <leeming@lyx.org>
1606 * buffer.C: up the format to 227.
1608 * factory.C: the box inset is now identified simply by 'Box'.
1610 2003-12-10 Angus Leeming <leeming@lyx.org>
1612 * buffer.C: up the format to 226.
1614 * factory.C: the note inset is now identified simply by 'Note'.
1616 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1618 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1619 when a pit is enough. Standarize a couple of loops.
1621 2003-12-05 Angus Leeming <leeming@lyx.org>
1623 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1624 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1625 data to the re-worked "log" dialog.
1627 2003-12-03 André Pönitz <poenitz@gmx.net>
1633 * paragraph_funcs.C:
1635 * text2.C: use Inset::getText instead of Inset::getParagraph
1637 2003-12-03 André Pönitz <poenitz@gmx.net>
1641 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1642 InsetText::read() as LyXText::read()
1644 2003-12-02 Angus Leeming <leeming@lyx.org>
1646 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1647 type. Add a comment in the implementation that the function uses
1648 the stream's bad() function rather than fail() as the std::streams
1651 2003-12-02 André Pönitz <poenitz@gmx.net>
1653 * lyxlex.[Ch]: make interface more similar to std::stream
1655 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1657 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1659 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1661 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1663 * vspace.[Ch]: remove VSpace::NONE
1665 2003-12-01 André Pönitz <poenitz@gmx.net>
1668 * lyxtext.h: move ParagraphList member to LyXText
1669 rename LyXText::ownerParagraphs to LyXText::paragraph
1672 * bufferview_funcs.C:
1682 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1684 * undo.C: fix cursor positioning
1686 2003-12-01 John Levon <levon@movementarian.org>
1688 * BufferView_pimpl.C: fix a crash on exit with
1691 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1693 * BranchList.C: fix setSelected() method.
1695 2003-11-28 André Pönitz <poenitz@gmx.net>
1697 * ParagraphParameters.[Ch]:
1698 * ParameterStruct.h: remove space above/below from Paragraph to
1701 * BufferView_pimpl.C:
1707 * paragraph_funcs.C:
1713 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1715 * factory.C: Syntax change for CharStyles
1717 2003-11-28 André Pönitz <poenitz@gmx.net>
1722 * buffer.[Ch]: move LyXText member
1724 2003-11-28 André Pönitz <poenitz@gmx.net>
1726 * BufferView.[Ch]: make LyXText * text a private member
1728 * BufferView_pimpl.C:
1739 * output_plaintext.C: cleanup
1741 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1744 * lyxtextclass.[Ch]: parametrize SGML document header
1746 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1749 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1752 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1754 * text2.C (setFont): rework using PosIterator (no more recursive)
1755 (setCharFont): no more needed
1756 (setLayout): no more selection cursors fiddling (done by redoCursor)
1757 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1758 destroy remaining ones)
1760 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1762 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1764 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1767 * text3.C: adjust + re-allow multi par depth changes
1768 * textcursor.C: simplify a bit
1770 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1776 * src/output_docbook.C:
1777 * src/output_latex.C:
1782 * src/text2.C: Introducing a number of tags parametrizing various
1783 XML formats that we may want to support
1785 2003-11-25 André Pönitz <poenitz@gmx.net>
1787 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1789 * lyxtext.h (leftMargin/rightMargin): simplify interface
1796 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1798 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1799 master file to any child files. Fixes bug 546.
1801 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1803 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1805 2003-11-24 André Pönitz <poenitz@gmx.net>
1807 * rowpainter.C: simplification
1809 * text2.C (updateCounters): remove call to redoParagraph on
1810 changed labels as this is far too expensive.
1812 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1814 * converter.C (convert): fix a crash: this function gets
1815 called with buffer == 0 from importer code.
1817 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1819 * text3.C (cursorPrevious): make sure that we do not compare
1820 iterators form different containers.
1823 * rowpainter.C (paintSelection): make sure that we do not compare
1824 iterators from different containers.
1826 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1827 iterators from different ParagraphList containers.
1830 * text2.C (LyXText): change order of initialization slightly
1831 (operator=): new function. copy all variables except cache_par_
1832 (moveUp): make sure that we do not compare iterators from
1833 different ParagraphList constainers.
1836 * text.C (firstPar): new function
1837 (lastPar): new function
1838 (endPar): new function
1840 * lyxtext.h: move things around and group public functions, public
1841 variables, private functions, private variables
1843 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1845 * factory.C: change call to InsetERT constructor to avoid
1846 additional invocation of method status
1847 * text2.C (toggleInset): remove redundant update() call
1848 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1849 instead of a Bufferview pointer
1851 2003-11-21 André Pönitz <poenitz@gmx.net>
1853 * rowpainter.C: simplification
1855 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1857 * text3.C (dispatch): make possible to extend a word/row selection
1860 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1862 * lyxtext.h: x0_,y0_ -> xo_,yo_
1863 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1864 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1865 * rowpainter.C (paintRows): paint full paragraphs
1867 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1869 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1872 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1874 * lyxtext.h: add x0_, y0_
1875 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1876 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1878 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1880 * text2.C (setCursorIntern): move the x_target update here *
1881 * text3.C: change some bv() to true/false in calls to
1882 cursorUp/Down/Right/Left
1883 * cursor.C: use helper function.
1885 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1887 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1888 * paragraph_funcs.[Ch]: correct comment
1889 * rowpainter.C: do not paint selections away from bv->cursor()
1890 Fix a long standing selection painting bug.
1891 * text3.C: generalize mouse-selection code to LyXTexts other that
1893 * textcursor.C: do not use y coords if we can use par offsets
1895 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1897 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1898 cursor position after e.g. inset insert)
1900 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1902 * lyxfind.C (replace): adjust to locking removal + some
1905 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1907 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1910 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1913 * output_docbook.C: XML sanitation: new layout
1914 parameters InnerTag and CommandDepth
1916 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1918 * BufferView_pimpl.C:
1920 * text3.C: Fix the insertion and modification of button-style
1923 2003-11-13 André Pönitz <poenitz@gmx.net>
1925 * InsetList.[Ch]: remove deleteLyXText
1927 * paragraph.[Ch]: cache beginOfBody position
1932 * text3.C: remove superfluous update() calls
1936 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1938 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1939 * BufferView.C (fitLockedInsetCursor): remove
1940 * cursor.[Ch] (getDim): add
1941 * text.C (getRowNearY): add faster version
1942 * text3.C: remove some update calls
1944 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1956 * text3.C: The Character Style /XML short element patch.
1958 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1961 * factory.C: Small step to solving 'unable to insert some insets'
1964 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1966 * cursor.[Ch] (updatePos): new function for updating the y
1967 position of the tip inset
1968 * bufferview_funcs.C (put_selection_at):
1969 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1971 2003-11-11 André Pönitz <poenitz@gmx.net>
1973 * text.C: remove big comment on invalid Paragraph pointers as it is
1976 2003-11-11 André Pönitz <poenitz@gmx.net>
1978 * text_funcs.[Ch]: merge with ...
1986 * Makefile.am: remove text_funcs.[Ch]
1988 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1990 * cursor.C (getPos): return absolute cached y coord
1992 * BufferView_pimpl.C (fitCursor): new simplistic code
1993 (workAreaDispatch): add a fitCursor call
1995 2003-11-10 André Pönitz <poenitz@gmx.net>
1998 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2000 2003-11-10 André Pönitz <poenitz@gmx.net>
2002 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2003 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2004 indicate that the cursor needs to leave an inset
2006 * lyxtext.h: remove inset locking
2008 * cursor.[Ch]: re-implement functionality provided by inset locking
2011 * BufferView_pimpl.[Ch]:
2013 * bufferview_funcs.[Ch]:
2025 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2027 * PosIterator.[Ch]: replace the stack with a vector, add inset
2029 * iterators.[C]: adjust
2031 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2033 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2035 * paragraph_funcs.C (readParToken): put the correct id in the
2036 error item, not the id of the top paragraph
2038 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2040 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2041 * bufferview_funcs.C (put_selection_at): use the above
2043 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2045 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2047 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2049 * output_linuxdoc.h:
2050 * output_plaintext.h:
2052 * output_docbook.h: add #include statements
2054 2003-11-05 José Matos <jamatos@lyx.org>
2056 * output_docbook.[Ch]:
2057 * output_latex.[Ch]:
2058 * output_linuxdoc.[Ch]:
2059 * output_plaintext.[Ch]: New files for output formats.
2060 * output.[Ch]: New file for helper functions.
2063 * paragraph_funcs.[Ch]: output functions moved to new files.
2065 * outputparams.h: rename of latexrunparams.h
2073 * paragraph_funcs.[Ch]:
2074 * paragraph_pimpl.[Ch]:
2075 * tabular.[Ch]: rename ascii to plaintext
2076 and LatexRunParams to OutputParams.
2078 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2080 * iterators.[Ch] (text): require bv argument
2081 * undo.C (recordUndo):
2082 * lyxfunc.C (dispatch):
2083 * bufferview_funcs.C (put_selection_at): adjust
2085 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2087 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2089 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2091 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2094 2003-11-04 André Pönitz <poenitz@gmx.net>
2096 * cursor.[Ch]: restructure
2099 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2101 * iterators.[Ch] (asCursor): remove
2103 * lfuns.h: remove LFUN_INSET_EDIT
2109 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2111 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2113 * lyxfind.[Ch]: complete overhaul
2114 * BufferView_pimpl.C:
2116 * paragraph.[Ch] (insert): add
2118 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2122 * text.C: remove dead spellcheck code
2124 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * dispatchresult.h: add a val setter
2128 * cursor.C (dispatch): use a tempvar for data_[i]
2130 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2132 * PosIterator.[Ch]: compile fix
2134 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2136 * text.C (cursorPar): deactivate the cursor cache
2138 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2140 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2142 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * text3.C (dispatch): adjust for new DisptchResult semantics.
2146 * lyxfunc.C (dispatch): handle update when return from
2147 Cursor::dispatch, adjust for new DispatchResult semantics.
2149 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2150 DispatchResult(true) mean to not update. Add class functions for
2151 setting dispatched and update, as well as reading.
2153 * cursor.C (dispatch): don't handle update here
2155 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2158 * trans_mgr.C: adjust
2160 * paragraph_funcs.C (readParToken): exception safety
2162 * lyxvc.h: store the vcs pointer in a scoped_ptr
2165 * lyxsocket.C (serverCallback): exception safety
2167 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2169 * ispell.C (clone): make it return a auto_ptr
2171 * factory.C (createInset): exception safety
2172 (readInset): exception safety
2174 * bufferlist.C (newBuffer): exception safety
2176 * Thesaurus.C (Thesaurus): use initialization for aik_
2178 * MenuBackend.C (expandToc): exception safety.
2180 2003-11-03 André Pönitz <poenitz@gmx.net>
2184 * bufferview_funcs.C: remove getInsetFromId()
2187 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2193 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2195 * PosIterator.C (distance, advance): new
2196 * bufferview_funcs.[Ch] (put_selection_at): new
2197 * iterators.[Ch] (lockPath): new
2199 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2201 * iterators.[Ch] (asPosIterator): added
2202 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2203 * PosIterator.[Ch]: added
2205 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * cursor.C (dispatch):
2210 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2212 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2213 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2214 contructor, add a class function dispatched. Remove operator>=
2216 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * debug.C: only use the default constructor for debugstream
2221 * main.C (main): include debug.h and setup the lyxerr streambuf
2224 2003-10-31 José Matos <jamatos@lyx.org>
2226 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2228 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2229 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2230 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2231 * paragraph_pimpl.C (simpleTeXSpecialC):
2232 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2233 add LatexRunParams argument.
2235 * exporter.C (Export): change call accordingly.
2237 * latexrunparams.h: add new member to take care of the other backends.
2238 2003-10-30 José Matos <jamatos@lyx.org>
2240 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2241 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2242 factorise code for paragraph output.
2244 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2247 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2249 * text3.C (dispatch):
2250 * lyxfunc.C (dispatch):
2251 * cursor.C (dispatch):
2252 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2254 * dispatchresult.h: make the dispatch_result_t ctor explicit
2256 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2259 * buffer.C: small refactoring of docbook stuff
2261 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2263 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2266 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2269 operator dispatch_result_t, and operators for == != and >=
2271 * cursor.C (dispatch): adjust for operator dispatch_result_t
2272 removal. comment out call to update
2274 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2276 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2284 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2287 * dispatchresult.h: new file, DispatchResult broken out of
2290 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2292 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2294 * text.C (rowBreakPoint): put a hack inside #if 0
2296 2003-10-28 André Pönitz <poenitz@gmx.net>
2300 * paragraph_funcs.C:
2303 * text2.C: general cleanup (lots of small stuff)
2305 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2307 * text2.C (cursorEnd): simple fix to the "end key goes to one
2308 before the end on last row" bug
2310 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2312 * text.C (backspace): fix the "zombie characters"
2314 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2316 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2318 2003-10-27 André Pönitz <poenitz@gmx.net>
2320 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2322 * factory.C: handle new InsetPagebreak, InsetLine
2324 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2325 and move handling into new InsetPagebreak, InsetLine
2327 * BufferView_pimpl.C:
2329 * ParagraphParameters.C:
2330 * ParameterStruct.h:
2335 * paragraph_funcs.C:
2336 * paragraph_pimpl.C:
2342 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2345 * lyxrow_funcs.[Ch]:
2351 * text3.C: remove lastPos uses in favour of Row::endpos
2353 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2355 * undo.C (performUndoOrRedo): fix two crashes by setting a
2356 cursor by hand and reordering some calls. Use bv->lockInset instead
2357 of inset->edit because the latter loses cursor information
2359 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2361 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2363 (rowBreakPoint): fix width. change point to point + 1.
2364 Add a missing check.
2366 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2369 * lyxfunc.C: fix (at least partly) the problems
2370 with the Nav menu and headers inside branch insets
2373 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2375 * paragraph.C (getChar): add strong asserts
2377 * lyxrow_funcs.C (lastPos): remove hideous hack
2379 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2380 (fill): adjust to that (avoid an infinite loop)
2382 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2384 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2386 2003-10-23 André Pönitz <poenitz@gmx.net>
2388 * RowList_fwd.h: change list<> to vector<> to gain speed
2389 after suggestion from Alfredo
2391 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2393 * lyxtext.h: move the bidi stuff from here...
2396 * Bidi.[Ch]: ... to here
2398 2003-10-23 André Pönitz <poenitz@gmx.net>
2401 * text.C (isLastRow, isFirstRow): new functions
2403 * paragraph.h: new width cache member
2405 * rowpainter.C: replace RowList::iterator with Row & where possible
2407 * lyxfunc.C: replace several view()->text with a single call
2409 * toc.C: fix 'unused' warning
2411 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2414 when woring with stream::pos_type
2415 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2417 2003-10-22 André Pönitz <poenitz@gmx.net>
2420 * text.C: use Row & instead of RowList::iterator
2422 * lyxrow.h: rename end() to endpos()
2428 2003-10-22 Angus Leeming <leeming@lyx.org>
2430 * buffer.[Ch] (fully_loaded): new member function, returning true
2431 only when the file has been loaded fully.
2432 Used to prevent the premature generation of previews and by the
2433 citation inset to prevent computation of the natbib-style label.
2435 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2436 templates are all set up.
2438 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2440 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2442 * text.C: fixed an "oops" in the "is a bit silly"
2445 2003-10-21 André Pönitz <poenitz@gmx.net>
2447 * FuncStatus.[Ch]: small stuff, whitespace
2449 * lyxfont.[Ch]: operator<<() for debug reasons
2453 * lyxtext.h: whitespace, spelling
2455 * paragraph.C: naming of variables
2458 * text2.C: small stuff
2461 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2463 * text.C: (1) finish off the inset display() work;
2464 (2) fix the "is a bit silly" bug (accessing char
2467 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2469 * text.C: re-introduce display() for insets, fixing the
2470 various bugs (stretch of line above, math inset
2473 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2475 * text.C (rightMargin): remove spurious semicolon
2477 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2480 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2482 * text3.C: fix one crash due to wrong cursor def
2484 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * vc-backend.C (scanMaster): make the regex static
2488 * LaTeX.C (scanAuxFile): make the regexs static
2490 * text3.C (doInsertInset, dispatch, dispatch):
2491 * text2.C (cursorUp, cursorDown):
2492 * text.C (selectNextWordToSpellcheck):
2493 * BufferView_pimpl.C (dispatch):
2494 * lyxfunc.C (dispatch): localDispatch -> dispatch
2496 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2498 * lyxsocket.C: include <cerrno>
2500 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * lyxfunc.C (dispatch): remove textcache stuff
2504 * bufferlist.C (release): remove textcache stuff
2507 * TextCache.C: delete file
2508 * TextCache.h: delete file
2510 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2512 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2513 delete of the bv_->text.
2514 (resizeCurrentBuffer): remove texcache stuff
2515 (workAreaResize): ditto
2517 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2522 2003-10-16 André Pönitz <poenitz@gmx.net>
2529 * text3.C: speed up by storing y positions per paragraph plus per-row
2530 offset instead of having a 'full' y position in the row.
2532 2003-10-15 André Pönitz <poenitz@gmx.net>
2536 * undo.[Ch]: make undo aware of inner insets
2538 2003-10-14 Angus Leeming <leeming@lyx.org>
2540 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2541 static member functions LyX::ref() and LyX::cref.
2542 (lastfiles): new accessor functions for the new lastfiles_ member var.
2543 (addLyXView, views_): add a new LyXView to the list of views_.
2544 (updateInset): loop over all LyXViews to call their own updateInset
2545 member function, returning a pointer to the Buffer owning the inset.
2547 * BufferView_pimpl.C (loadLyXFile):
2548 * MenuBackend.C (expandLastfiles):
2549 * bufferlist.C (MenuWrite, QuitLyX):
2550 lastfiles is no longer a global variable.
2551 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2553 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2554 static function. Access through LyX::cref().emergencyCleanup().
2556 2003-10-14 André Pönitz <poenitz@gmx.net>
2558 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2560 * undo.[Ch]: restoring part of 'undo in insets'
2563 * undo_funcs.[Ch]: merge with undo.[Ch]
2565 * tabular.C: small cleansing stuff
2567 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2569 * paragraph_funcs.C (readParToken): report unknown insets as error
2570 boxes. Use the outer paragraph as location (also for unknown
2573 * factory.C (readInset): do not abort on reading an unknown inset.
2574 Eat it and return 0.
2576 2003-10-13 Angus Leeming <leeming@lyx.org>
2578 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2580 * lyxrc.C: displayTranslator is now a function,
2581 declared in GraphicsTypes.h.
2583 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2585 * format.C: new placeholder $$a to pass the socket address.
2587 * bufferlist.[Ch]: new function getBufferFromTmp.
2589 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2590 files in the temporary dir.
2592 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2594 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2596 * Makefile.am: add lyxsocket.[Ch].
2598 * lyx_main.C (error_handler): handle SIGPIPE.
2600 2003-10-13 André Pönitz <poenitz@gmx.net>
2602 * BufferView_pimpl.C:
2607 * undo_funcs.[Ch]: use paroffset_type instead of
2608 ParagraphList::iterators to prevent multiple conversion
2609 (and get a more robust interface)
2611 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2613 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2615 * text3.C (dispatch): ditto
2617 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2620 move the onlyfile, use onlyfile instead of foundfile in a couple
2623 * DepTable.C (update): flush the error stream a bit more
2625 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * lyxserver.C (callback): adjust
2629 * lyxfunc.C (getStatus): add a missing brace in commented code
2630 (ensureBufferClean): reindent
2631 (dispatch): delete version taking a string
2633 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * LaTeX.C (deplog): move found file handlig from here...
2636 (handleFoundFile): .. to new function here.
2637 (deplog): make sure to discover several files mentioned on the
2640 2003-10-10 André Pönitz <poenitz@gmx.net>
2647 * text3.C: fix some of the tabular crashes
2649 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2651 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2653 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2655 2003-10-09 André Pönitz <poenitz@gmx.net>
2657 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2660 * BufferView_pimpl.C:
2661 * bufferview_funcs.C:
2672 * undo_funcs.C: adjust
2674 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * text2.C (incrementItemDepth): new function, use a backtracking
2677 algorithm to discover the correct item depth.
2678 (resetEnumCounterIfNeeded): new function, use a backtracking
2679 algorithm to discover if counter reset is needed.
2680 (setCounter): use them. Simplify a bit. Add different labels for
2681 different item depths for itemize.
2683 * paragraph.C (Paragraph): remove initialization of enumdepth
2686 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2687 enumerate and itemize. Change the type of itemdepth to signed char.
2689 2003-10-08 André Pönitz <poenitz@gmx.net>
2691 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2696 * tabular.[Ch]: fix crash after 'row-insert'
2698 2003-10-08 Angus Leeming <leeming@lyx.org>
2700 Fix doxygen warnings.
2702 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2703 Remove CutAndPaste:: prefix from header file declaration.
2705 * LColor.h (fill): remove LColor:: prefix from declaration.
2707 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2708 use lyx::depth_type rather than Paragraph::depth_type so that
2709 header file and .C file match.
2711 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2713 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2714 * aspell.C: \file aspell_local.C -> \file aspell.C
2715 * gettext.C: \file gettext.C -> \file src/gettext.C
2716 * gettext.h: \file gettext.h -> \file src/gettext.h
2717 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2718 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2719 * text.C: \file text.C -> \file src/text.C
2721 * toc.C: move comment so that doxygen is not confused.
2723 2003-10-07 Angus Leeming <leeming@lyx.org>
2725 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2727 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2730 * aspell_local.h: add forgotten std::string's.
2732 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2739 * text3.C: The Box patch. Fancybox support, minipage, parbox
2741 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2747 * ParagraphParameters.h:
2757 * lyxtextclasslist.h:
2760 * paragraph_pimpl.C:
2761 * textcursor.h: add <string> and other small fixes to make Lars'
2762 std::string patch compile with STLport.
2764 2003-10-06 Angus Leeming <leeming@lyx.org>
2766 * LColor.h: Add missing #include <string>.
2768 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * All most all file in all subdirs: Make <string> be the prefered
2771 way of getting to std::string, add using declarations.
2773 2003-10-06 André Pönitz <poenitz@gmx.net>
2775 * metricsinfo.C: initialize LyXFont before changing attribute.
2776 (fixes the 'math in \emph is upright' bug)
2778 2003-10-06 André Pönitz <poenitz@gmx.net>
2780 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2782 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2785 * paragraph_pimpl.C: Small fixes to build using STLport
2787 2003-10-02 André Pönitz <poenitz@gmx.net>
2790 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2792 2003-10-01 André Pönitz <poenitz@gmx.net>
2794 * factory.C: assert early
2796 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2798 * lyx_main.C: remove the global debug object
2800 * debug.h: adjust for new debugstream
2802 * debug.C: adjust for new debugstream and keep the global debug
2805 2003-09-22 Angus Leeming <leeming@lyx.org>
2807 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2808 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2809 an incomplete class LyXFont.
2811 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2813 * factory.C: bug fix in branches
2815 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * lyxfunc.C (processKeySym): adjust
2819 (dispatch): change arg name from ev to func, adjust
2820 (sendDispatchMessage): ditto
2822 * lyx_main.C (defaultKeyBindings): adjust keybindings
2823 (deadKeyBindings): ditto
2825 * kbsequence.C (addkey): return a FuncRequest
2827 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2829 * kbmap.C (bind): take a FuncRequest as arg, adjust
2832 (defkey): change to take a FuncRequest as arg, adjust
2833 (findbinding): take a FuncRequest as arg, adjust.
2835 * funcrequest.h (operator=): added
2837 * funcrequest.C (FuncRequest): default kb_action changed from
2838 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2840 * buffer.C (dispatch): simplify
2841 (dispatch): adjust to take a FuncRequest as arg, adjust
2843 * boost.C (assertion_failed): change assertion message slightly
2845 * ToolbarBackend.C (read): simplify
2847 * MenuBackend.C (binding): adjust call to findbinding, add a
2848 message if no binding is found.
2850 (expandToc): correct by adding a empty FuncRequest
2852 * LyXAction.C: include <boost/assert.hpp>
2853 (isPseudoAction): delete function
2854 (LookupFunc): change name to...
2855 (lookupFunc): this. change return type to FuncRequest.
2856 (getActionName): take kb_action as arg, simplify
2857 (funcHasFlag): add an assert, simplify.
2859 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2861 * toc.C (action): return a FuncRequest, simplify
2863 * lyxfunc.C (processKeySym): adjust
2864 (getStatus): delete version that takes an int.
2866 (dispatch): delete version that takes action as int
2868 (sendDispatchMessage): simplify and adjust
2870 * funcrequest.C (getArg): take unsigned int as arg
2872 * ToolbarBackend.C (read): adjust
2873 (add): delete version that takes func as a string.
2874 (getIton): take a FuncRequest as arg
2876 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2879 * MenuBackend.C (MenuItem): add a new construct that only takes a
2880 Kind, simplify the constructor use for submenus.
2882 (expandLastfiles): adjust
2883 (expandDocuments): adjust
2884 (expandFormats): adjust
2885 (expandFloatListInsert): adjust
2886 (expandFloatInsert): adjust
2887 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2889 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2890 Remove class variables lyx_pseudo_map and lyx_arg_map
2892 * LyXAction.C (searchActionArg): delete function
2893 (getPseudoAction): delete function
2894 (retrieveActionArg): delete function
2895 (LookupFunc): make it return kb_action, simplify.
2896 (getActionName): simplify
2898 * factory.C (createInset): fix new bug
2900 2003-09-19 Angus Leeming <leeming@lyx.org>
2902 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2903 masterFilename_ parameter in the include inset.
2905 * factory.C (createInset): changes due to the changes to InsetInclude.
2907 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2909 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2911 2003-09-18 Angus Leeming <leeming@lyx.org>
2914 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2915 Inset::fillWithBibKeys.
2916 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2918 2003-09-18 Angus Leeming <leeming@lyx.org>
2920 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2922 (ctor): pass and store a 'Buffer const &'
2923 (buffer): new member function.
2925 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2926 '*this' to the LaTeXFeatures ctor.
2928 2003-09-18 Angus Leeming <leeming@lyx.org>
2934 * text.C: rename EnumLColor as LColor_color.
2936 2003-09-18 Angus Leeming <leeming@lyx.org>
2938 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2939 remove #include "insets/insetbase.h" from cursor.h.
2941 2003-09-18 Angus Leeming <leeming@lyx.org>
2943 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2944 InsetOld_code to remove #include "inset.h".
2946 * iterators.C: add #include "insets/inset.h"
2948 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2950 * BufferView.C: remove more locking stuff that apparently doesn't
2951 do anything sensible.
2953 2003-09-16 André Pönitz <poenitz@gmx.net>
2956 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2959 2003-09-16 Angus Leeming <leeming@lyx.org>
2961 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2963 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2966 * paragraph.h: remove #include "lyxfont.h". Forward declare
2969 2003-09-16 Angus Leeming <leeming@lyx.org>
2971 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2972 of support/textutils.h.
2973 (isWord): move the contents of support/textutils.h's IsWordChar here.
2979 * text2.C: add #include "paragraph.h".
2982 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2984 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2990 * LaTeX.C: use namespace alias for lyx::support::os
2992 2003-09-16 Angus Leeming <leeming@lyx.org>
2995 * bufferview_funcs.C:
2998 * paragraph_pimpl.C:
3000 * text.C: add #include "LColor.h".
3002 2003-09-16 Angus Leeming <leeming@lyx.org>
3004 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3005 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3007 Store the FontBits::color variable as an int rather than as an
3008 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3011 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3012 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3013 string calls together.
3015 * lyxrc.C: add #include "LColor.h".
3017 2003-09-15 Angus Leeming <leeming@lyx.org>
3019 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3022 2003-09-15 Angus Leeming <leeming@lyx.org>
3024 * LColor.h: add an EnumLColor wrapper for LColor::color.
3026 * lyxfont.[Ch] (color, setColor, realColor):
3027 * lyxtext.h, text.C (backgroundColor):
3028 pass EnumLColor args to/from the functions, rather than LColor::color
3032 * lyxtext.h: forward declare EnumLColor.
3034 * lyx_main.C: add #include "LColor.h".
3036 2003-09-15 Angus Leeming <leeming@lyx.org>
3038 * .cvsignore: add lyx-gtk.
3040 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * ParagraphParameters.C
3049 * bufferview_funcs.C
3059 * vc-backend.C: remove usage of STRCONV
3061 2003-09-15 Angus Leeming <leeming@lyx.org>
3063 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3064 explicitly define the color passed to the painter.
3066 2003-09-15 Angus Leeming <leeming@lyx.org>
3068 * bufferparams.C (BufferParams): reorder member initializers to avoid
3071 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3073 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3074 * text.C (updateRowPositions): remove an unusual nop
3076 2003-09-12 André Pönitz <poenitz@gmx.net>
3078 * BufferView_pimpl.C:
3087 * Counters.[Ch]: finish the 'automatic counters' job
3089 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3091 * aspell.C: include <boost/assert.cpp> (compile fix)
3093 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3095 * boost.C (assertion_failed): use lyx::support::abort instead of
3098 2003-09-10 Angus Leeming <leeming@lyx.org>
3100 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3101 with their _fwd progeny.
3103 2003-09-09 Angus Leeming <leeming@lyx.org>
3105 134 files throughtout the source tree: replace 'using namespace abc;'
3106 directives with the appropriate 'using abc::xyz;' declarations.
3108 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3110 * boost.C (emergencyCleanup): moved here from LAssert.c
3111 (assertion_failed): new function, called by BOOST_ASSERT
3113 * several files: change Assert to BOOST_ASSERT
3115 2003-09-09 Angus Leeming <leeming@lyx.org>
3117 * buffer.[Ch]: Add an Impl class and move Buffer's member
3118 variables into it. As a result move several header files out of
3121 Add header files to lots of .C files all over the tree as a result.
3123 2003-09-09 Angus Leeming <leeming@lyx.org>
3125 * buffer.[Ch]: make Buffer's member variables private. Add
3128 Lots of changes all over the tree as a result.
3130 2003-09-08 Angus Leeming <leeming@lyx.org>
3132 * graph.C: #include <config.h>.
3134 2003-09-08 Angus Leeming <leeming@lyx.org>
3138 * BufferView_pimpl.C:
3167 * toc.C: remove redundant using directives.
3169 2003-09-07 Angus Leeming <leeming@lyx.org>
3171 * LaTeXFeatures.h: remove #include "support/types.h".
3172 * ToolbarBackend.h: remove #include <algorithm>.
3173 * changes.h: remove #include <ctime>.
3174 * debug.h: remove #include <iosfwd>.
3175 * graph.h: remove #include "support/std_string.h".
3176 * lyx_main.h: remove #include <csignal>.
3177 * lyxlex_pimpl.h: remove #include <fstream>.
3178 * sgml.h: remove #include <algorithm>, <utility>.
3179 * toc.h: remove #include "support/std_ostream.h".
3180 Add #include <iosfwd>.
3182 2003-09-07 Angus Leeming <leeming@lyx.org>
3184 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3186 * converter.h: forward declare LatexRunParams.
3187 * encoding.h: remove #include "lyxrc.h".
3188 * lyxtext.h: remove #include "LColor.h".
3189 * lyxtextclass.h: remove #include "support/types.h".
3190 * trans.h: remove #include "tex-accent.h".
3191 * trans_mgr.h: remove #include "tex-accent.h".
3192 * insets/inset.h: remove #include "support/types.h", <vector>.
3193 * insets/insetcollapsable.h: remove #include "LColor.h".
3194 * insets/insetinclude.h: remove #include "dimension.h".
3195 * insets/insetlatexaccent.h: remove #include "dimension.h".
3196 * insets/insetoptarg.h:: remove #include "insettext.h".
3197 * insets/insettext.h: remove #include "dimension.h",
3198 <boost/shared_ptr.hpp>
3200 * insets/renderers.h: add #include "dimension.h".
3201 * insets/updatableinset.h: add #include "support/types.h".
3203 * many .C files: Associated changes.
3205 2003-09-06 Angus Leeming <leeming@lyx.org>
3207 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3208 one, inside testInvariant.
3210 * PrinterParams.C: new file.
3211 * PrinterParams.[Ch]: move the function bodies out of line.
3213 2003-09-06 Angus Leeming <leeming@lyx.org>
3215 * ParagraphParameters.h: forward declare ParameterStruct rather than
3216 including its header file.
3217 (depth): moved out-of-line.
3219 2003-09-06 Angus Leeming <leeming@lyx.org>
3221 * BufferView_pimpl.h:
3224 * lyxfunc.h: forward declare LyXKeySym rather than
3225 #include "frontends/LyXKeySym.h".
3227 * BufferView_pimpl.C:
3230 * lyxfunc.C: associated changes.
3232 2003-09-06 Angus Leeming <leeming@lyx.org>
3234 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3235 As a result, can remove the #include "insets/inset.h" from BufferView.h
3237 2003-09-06 Angus Leeming <leeming@lyx.org>
3239 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3240 As a result, can remove the #include "insets/inset.h" from BufferView.h
3242 2003-09-06 Angus Leeming <leeming@lyx.org>
3248 * bufferview_funcs.C:
3249 * BufferView_pimpl.C:
3254 * ParagraphParameters.C:
3259 * frontends/controllers/ControlDocument.C:
3260 * insets/insetcaption.C: rearrange the #includes into some sort of
3263 * buffer.h: remove #includes ErrorList.h, undo.h
3265 2003-09-06 Angus Leeming <leeming@lyx.org>
3267 * support/types.h: add a 'depth_type' typedef, used to store the
3268 nesting depth of a paragraph.
3271 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3272 defining explicitly.
3275 * paragraph_funcs.h:
3276 * ParagraphParameters.h:
3277 * sgml.h: use lyx::depth_type rather than Paragraph or
3278 ParameterStruct's depth_type.
3281 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3284 * BufferView_pimpl.C:
3286 * ParagraphParameters.C:
3289 * bufferview_funcs.C:
3296 * frontends/LyXView.C:
3297 * frontends/controllers/ControlDocument.C:
3298 * frontends/controllers/ControlErrorList.C:
3299 * insets/insetbibitem.C:
3300 * insets/insetbranch.C:
3301 * insets/insetcaption.C:
3302 * insets/insetcollapsable.C:
3303 * insets/insetenv.C:
3304 * insets/insetert.C:
3305 * insets/insetfloat.C:
3306 * insets/insetfoot.C:
3307 * insets/insetfootlike.C:
3308 * insets/insetnewline.C:
3309 * insets/insetquotes.C:
3310 * insets/insettabular.C:
3311 * insets/insettext.C:
3312 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3314 * frontends/controllers/ControlChanges.C: #include "changes.h".
3316 2003-09-06 Angus Leeming <leeming@lyx.org>
3318 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3319 than #including paragraph.h.
3322 * RowList.h: deleted. Superfluous.
3332 * insets/insettext.h: use ParagraphList_fwd.h rather than
3335 * paragraph.h: don't forward declare ParagraphList.
3338 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3339 rather than ParagraphList.h. paragraph.h is still needed for the
3340 Paragraph::depth_type parameters.
3342 * textcursor.h: enable it to compile stand-alone in light of the
3345 * bufferview_funcs.C:
3357 * frontends/controllers/ControlParagraph.C:
3358 * frontends/controllers/ControlTabular.C:
3359 * insets/insetmarginal.C:
3360 * insets/insetminipage.C:
3361 * insets/insetnote.C:
3362 * insets/insetoptarg.C: add header files needed to compile again.
3364 2003-09-06 Angus Leeming <leeming@lyx.org>
3366 * RowList_fwd.h: new file, forward-declaring Row rather than
3367 #including lyxrow.h.
3372 * insets/insettext.h: use it instead of RowList.h
3374 * bufferview_funcs.C:
3381 * text3.C: #include "RowList.h".
3383 2003-09-05 Angus Leeming <leeming@lyx.org>
3385 * factory.C (createInset):
3386 * vspace.C (c-tor): replace sscanf call with an istringstream.
3387 * ispell.C: re-add missing HP/UX headers.
3388 * lyxserver.C: re-add missing os2 headers.
3390 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3399 * text3.C: re-add missing system headers, needed for 2.95.2.
3401 2003-09-05 Angus Leeming <leeming@lyx.org>
3403 Changes most place everywhere due to the removal of using directives
3404 from support/std_sstream.h.
3406 2003-09-05 Angus Leeming <leeming@lyx.org>
3408 Replace LString.h with support/std_string.h,
3409 Lsstream.h with support/std_sstream.h,
3410 support/LIstream.h with support/std_istream.h,
3411 support/LOstream.h with support/std_ostream.h.
3413 Changes resulting throughout the tree.
3415 2003-09-05 Angus Leeming <leeming@lyx.org>
3417 * sgml.h: ensure that the header file can be compiled stand-alone.
3418 * *.C: strip out redundant #includes. (320 in total.)
3420 2003-09-04 Angus Leeming <leeming@lyx.org>
3422 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3423 here (from getPackages).
3425 * debug.[Ch]: add a new EXTERNAL tag.
3427 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3429 * text2.C (cursorEnd): simplify
3431 (getColumnNearX): adjust
3433 * text.C (computeBidiTables): adjust
3436 * rowpainter.C (paintChars): adjust
3437 (paintSelection): adjust
3438 (paintChangeBar): adjust
3441 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3443 (numberOfSeparators): adjust
3445 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3451 * text3.C: Restricts the mouse click functionality
3452 of insets like bibtex, include, toc and floatlist to the visible
3453 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3454 up the dialogs. Cursor has to be in front of the inset (i.e.
3455 start of row) for this to function.
3457 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3459 * bufferview_funcs.C (currentState): output row information
3461 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3463 * bufferview_funcs.C (currentState): output paragraph position
3465 2003-09-04 Angus Leeming <leeming@lyx.org>
3467 * FloatList.h: move out #include "Floating.h".
3468 * LaTeX.h: move out #include "DepTable.h".
3469 * LyXAction.h: move out #include "funcrequest.h".
3470 * buffer.h: move out #include "author.h", "iterators.h".
3471 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3472 * lyx_main.h: move out #include "errorlist.h".
3473 * lyxfunc.h: move out #include "FuncStatus.h".
3474 * lyxtext: move out #include "lyxcursor.h".
3475 * paragraph_pimpl.h: move out #include "counters.h".
3477 2003-09-03 Angus Leeming <leeming@lyx.org>
3479 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3480 preamble_snippets list, enabling us to add snippets to the preamble
3481 only if the snippet was not there already.
3483 2003-09-04 Angus Leeming <leeming@lyx.org>
3485 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3487 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3492 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3494 * BranchList.C: point fix, earlier forgotten
3496 2003-09-02 Angus Leeming <leeming@lyx.org>
3498 * box.C (contains): renamed from 'contained' after a fantastic
3501 2003-09-02 John Levon <levon@movementarian.org>
3507 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3509 2003-09-02 John Levon <levon@movementarian.org>
3511 * text2.C: simplification of cursorEnd(), including partial
3514 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * buffer.C (readFile): add a space
3518 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3520 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3522 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * buffer.C (readFile): new function, take a filename and a
3525 ParagraphList::iterator
3527 (readFile): adjust, make it private. don't use setStream, make
3528 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3529 always contain the filename.
3531 * BufferView.C (insertLyXFile): simplify and make it work for
3534 2003-08-30 John Levon <levon@movementarian.org>
3536 * Makefile.am: fix dist (from Kayvan)
3538 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * most files: change to use const Buffer refs
3542 2003-08-27 André Pönitz <poenitz@gmx.net>
3544 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3545 on top of ownerPar().
3547 2003-08-27 John Levon <levon@movementarian.org>
3549 * funcrequest.C: properly initialise POD members
3551 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3553 * lyxtext.h (top_y): move top_y from here
3558 * BufferView_pimpl.[Ch]: to here
3559 * frontends/screen.C:
3560 * insets/insettabular.C:
3561 * insets/insettext.C: adjust
3562 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3564 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3567 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3569 2003-08-26 André Pönitz <poenitz@gmx.net>
3571 * paragraph_func.[Ch] (outerPar): new function
3574 * paragraph_funcs.C:
3575 * paragraph_funcs.h:
3576 * paragraph_pimpl.C:
3577 * text2.C: remove Inset::par_owner
3579 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3584 * text2.C: eliminates the needFullRow/display() stuff
3585 altogether, putting the logic in metrics/draw in the insets.
3587 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3589 * text2.C (redoParagraphInternal, redoParagraphs):
3590 * text.C (redoParagraph): add a call to updateRowPositions at the
3591 end of each 'metrics-like' call. Remove all others.
3592 (getRow): remove the 'y-computing' version.
3593 (getRowNearY): do not compute nor return the real y. Solve the
3594 'y < 0' problem and simplify.
3596 2003-08-22 Angus Leeming <leeming@lyx.org>
3598 * *.[Ch]: clean-up of licence and author blurbs.
3599 Also move config.h out of a few .h files and into a few .C files.
3601 2003-08-22 André Pönitz <poenitz@gmx.net>
3603 * lyxrow.[Ch]: add x_ and *fill_ members
3608 * text2.C: adjust/remove prepareToPrint() calls
3610 2003-08-22 André Pönitz <poenitz@gmx.net>
3612 * lyxrow.[Ch]: add end_ member
3614 * lyxrow_funcs.C: use LyXRow::end_
3616 * lyxtext.h (singleWidth): add LyXFont parameter
3619 * text2.C: adjust LyXText::singleWidth() calls
3621 * text.C (redoParagraph): simplify row breaking logic
3624 2003-08-19 André Pönitz <poenitz@gmx.net>
3626 * funcrequest.C: initialize button_ member
3629 * rowpainter.[Ch]: interface consolidation
3631 2003-08-18 André Pönitz <poenitz@gmx.net>
3634 * BufferView_pimpl.C:
3636 * paragraph_funcs.C:
3638 * text3.C: remove LyXScreen::draw() and fitCursor calls
3640 * BranchList.h: remove spurious semicolons
3642 * MenuBackend.C: fix branchlist related crash
3644 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3652 * bufferparams.[Ch]:
3656 * text3.C: implements the 'branch inset'
3657 idea. This allows the output of various versions of a document
3658 from a single source version, selectively outputing or suppressing
3659 output of parts of the text.
3660 This implementation contains a 'branch list editor' in a separate
3661 tab of the document settings dialog. Branches are user definable
3662 and have a "display colour" to distinguish them on-screen.
3664 ColorHandler was somewhat cleaned up.
3665 (1) make possible a dynamically growing LColor list by allowing
3666 the graphic context cache to grow along (vector);
3667 (2) eliminate an IMHO unnecessary step in colour allocation.
3669 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3671 * BufferView_pimpl.C: compile fix
3673 2003-08-15 André Pönitz <poenitz@gmx.net>
3675 * rowpainter.C: remove extra metrics calls
3677 * lyxtext.h: merge the two constructors into a single one,
3678 pass reference to owner's par list
3680 * BufferView_pimpl.C:
3684 2003-08-15 André Pönitz <poenitz@gmx.net>
3686 * lyxrow_funcs.[Ch]:
3689 * paragraph_funcs.C:
3694 * text_funcs.C: split LyXText::rowlist_ into individual
3695 Paragraph::rows_ chunks
3698 * BufferView_pimpl.[Ch]:
3701 * text3.C: remove toggleSelection()
3703 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3705 * bufferlist.C: beautify two alerts (shorter text of buttons)
3706 * buffer.C: Remove redundant ' ' from message
3708 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3709 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3710 rename VALIGN_CENTER to VALIGN_MIDDLE
3712 2003-08-11 André Pönitz <poenitz@gmx.net>
3714 * lyxtext.h (getPar):
3715 * text.C: new function
3717 2003-08-11 André Pönitz <poenitz@gmx.net>
3720 * tracer.[Ch]: remove unneeded files
3722 * InsetList.[Ch]: remove resizeInsetsLyXText()
3727 * text3.C: merge insertParagraphs() and appendParagraph()
3728 remove breakAgain(), update()
3730 * BufferView_pimpl.[Ch]:
3731 * bufferview_funcs.[Ch]:
3735 * tabular.C: adjust after text & InsetList changes.
3737 2003-08-08 André Pönitz <poenitz@gmx.net>
3739 * text.C (insertChar, backspace): replace rowlist fiddling
3740 with rebreak of full par
3743 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3744 checkParagraph, updateInset): removed
3746 2003-08-07 André Pönitz <poenitz@gmx.net>
3749 * text3.C: merge some LFUN handlers, remove dead code
3751 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3753 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3755 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3757 * text2.C (DEPM): fix part of bug 1255 and 1256
3759 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3761 * BufferView_pimpl.C (workAreaDispatch): change to use
3762 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3763 that are no mouse related.
3765 2003-08-05 André Pönitz <poenitz@gmx.net>
3768 * BufferView_pimpl.[Ch]:
3769 * bufferview_funcs.C:
3771 * text3.C: rip out "deep update"
3773 * textcursor.[Ch] (last_sel_cursor): remove unused member
3775 2003-08-04 André Pönitz <poenitz@gmx.net>
3778 * BufferView_pimpl.[Ch]:
3779 * ParagraphParameters.C:
3780 * bufferview_funcs.C:
3786 * text3.C: replace "complicated" BufferView::update(...) calls with
3789 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3791 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3793 * Makefile.am (lyx_SOURCES): add paper.h
3795 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3797 * Makefile.am: move things around so that both lyx-qt and
3798 lyx-xforms can be built (according to --with-frontend). Then lyx
3799 is a symbolic link to lyx-[firstfrontend]
3801 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3803 * Always use std::endl with lyxerr
3805 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3807 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3809 2003-08-01 André Pönitz <poenitz@gmx.net>
3812 * BufferView_pimpl.[Ch]:
3814 * text3.C: merge BufferView::repaint() and BufferView::update()
3816 2003-08-01 José Matos <jamatos@lyx.org>
3818 * buffer.[Ch]: file_format is no longer a buffer data element.
3820 2003-08-01 André Pönitz <poenitz@gmx.net>
3825 * text2.C: make redoParagraph more independent of current cursor
3827 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3829 * text2.C: remove unneeded members
3831 2003-07-30 André Pönitz <poenitz@gmx.net>
3833 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3835 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3836 create a single function...
3838 * paragraph_funcs.C (moveItem): ... here.
3841 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3843 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3845 * LColor.[Ch]: Add comment and greyedout logical colors.
3847 2003-07-30 André Pönitz <poenitz@gmx.net>
3849 * tabular.C: don't use Assert too heavily. This crashes where it
3852 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3854 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3855 is disabled (bug 1232)
3857 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3859 * factory.C: limited 'arg' scope
3861 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3863 * factory.C: fixed Note submenu issues
3865 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3867 * factory.C: submenu for Note/Comment/Greyedout
3869 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3872 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3874 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3877 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3878 greyedout. Patch provided by Jürgen Spitzmüller.
3880 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3882 * kbmap.C (read): fix error message when reading bind files
3884 2003-07-29 Angus Leeming <leeming@lyx.org>
3886 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3887 certainly does not do what it purports to do. I am doing it, and
3888 us, a favour by killing it.
3890 2003-07-28 José Matos <jamatos@lyx.org>
3892 * buffer.C (readBody, do_writeFile):
3893 * paragraph.C(readParagraph): \end_document replaces \the_end.
3895 2003-07-29 André Pönitz <poenitz@gmx.net>
3898 * BufferView_pimpl.[Ch]:
3902 * textcursor.[Ch]: remove toggleToggle & Co
3904 2003-07-28 José Matos <jamatos@fep.up.pt>
3906 * buffer.C (readParagraph):
3907 * params_func (readParToken, readParagraph):
3908 * paragraph.C (write): \layout -> \begin_layout.
3910 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * lyxlex_pimpl.C (setFile): clean up slightly.
3914 * bufferparams.h: add compressed var
3916 * buffer_funcs.C (readFile): adjust for LyXLex change
3917 (newFile): ditto + simplify
3919 * buffer.C (writeFile): handle writing of compressed files
3921 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3922 Check if the file is compressed and set a bufferparm if so.
3924 * Makefile.am (lyx_LDADD): remove explicit -lz
3926 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3928 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3929 makeDocBookFile): put the real LyX version in the first line of
3933 * version.C.in: remove lyx_docversion
3935 * tabular.C (write_attribute): add a template-based version to
3936 write enums properly
3938 2003-07-28 André Pönitz <poenitz@gmx.net>
3943 * text3.C: use doubles again for x-coordinates. They are needed.
3945 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * messages.C (getLocaleDir): use lyx_localedir()
3949 * lyxlex_pimpl.C (setFile): compress stuff
3951 * buffer.C (writeFile): add some compression stuff
3952 (do_writeFile): new func, dont call expliti close... will this
3955 * Makefile.am (lyx_LDADD): add -lz
3957 2003-07-28 José Matos <jamatos@fep.up.pt>
3959 * buffer.C: increment file format.
3960 * paragraph_funcs (readParagraph, readParToken):
3961 * paragraph.C (readParagraph): add \end_layout.
3963 2003-07-27 Angus Leeming <leeming@lyx.org>
3965 * Makefile.am: remove special casing for configure-time setting of
3966 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3968 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3969 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3971 2003-07-26 André Pönitz <poenitz@gmx.net>
3973 * paragraph_func.[Ch]:
3974 * paragraph.C (realizeFont): inline it whereever it is used
3979 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3982 2003-07-26 André Pönitz <poenitz@gmx.net>
3986 * text2.C: get rid of LyXText::need_break_row
3988 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * toc.[Ch]: put namespace toc inside namespace lyx
3992 * MenuBackend.C (expandToc2): adjust for lyx::toc
3995 * lyxfunc.C (dispatch): adjust for lyx::find
3997 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3998 lyx::find instead. Reorganize a bit.
3999 (LyXReplace): rename to replace
4000 (LyXFind): rename to find
4002 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4005 2003-07-26 André Pönitz <poenitz@gmx.net>
4007 * text.C (setHeightOfRow): restrict scope of temporary variable
4009 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4010 code (never has been used?)
4012 2003-07-27 Asger Alstrup <alstrup@local>
4014 * text.C (fill): Optimise algorithm to exploit that we can reuse
4015 the LyXFont for many characters.
4016 (setHeightOfRow): Same thing.
4017 (rowBreakPoint): Same thing.
4019 2003-07-26 Asger Alstrup <alstrup@local>
4021 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4023 * text.C (singleWidth): Spurious font copying in hot-spot
4024 singleWidth avoided. Reorder tests for arabic for efficiency.
4026 * text.C (fill): handle empty paragraphs better.
4028 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4031 * encoding.h: add includes
4033 * lyxrc.C: remove reading of bind files
4035 * lyx_main.C (init): setup bindings and menus only if we have a
4038 * kbmap.C (read): new method. Do the actual reading of bind
4041 * converter.C (dvipdfm_options):
4044 (output): adapt PAPER_* enums.
4046 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4048 * bufferparams.h: remove paper-related enums from there
4050 * paper.h: New file. A trivial header file to hold paper-related
4051 enums. It should later expand to contain many paper-related
4054 * lyxrc.C: declare extern displayTranslator
4056 2003-07-27 José Matos <jamatos@fep.up.pt>
4058 * tabular.[Ch] (linuxdoc): add support for tables and figures
4061 2003-07-27 José Matos <jamatos@fep.up.pt>
4063 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4064 consistency in both functions.
4065 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4067 2003-07-26 Asger Alstrup <alstrup@local>
4069 * rowpainter.C (paintRows): Change algorithm to work directly on
4070 the insets rather than asking every character in the document
4071 whether its an inset.
4073 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4075 * buffer.C (openFileWrite): factorize some code
4077 2003-07-26 Angus Leeming <leeming@lyx.org>
4080 * lyx_main.[Ch]: replace occurances of system_tempdir with
4083 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * rename Inset to InsetOld
4087 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4089 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4090 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4091 which I think is a bit clearer. EDIT is gone, since it was
4092 premature optimisation, and broken for mathed anyway.
4093 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4094 with cursor positioning in insets as well (math insets still do not
4095 work, but that's a different story anyway.) It mysteriously
4096 crashes sometimes with undo in the first paragraph, but I'm fairly
4097 confident that this is a compiler bug.
4099 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * paragraph.C (Paragraph): adjust for new clone return type
4103 (copyIntoMinibuffer): ditto
4105 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4107 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4108 by not having a special case, and always doing a full rebreak of
4109 the document after undo.
4111 2003-07-23 Angus Leeming <leeming@lyx.org>
4113 * factory.C (createInset): InsetExternal::setParams now takes a
4116 2003-07-23 Angus Leeming <leeming@lyx.org>
4118 * factory.C (createInset): changed interface to the external and
4119 graphics mailers' string2params functions.
4121 2003-07-23 Angus Leeming <leeming@lyx.org>
4123 * factory.C (createInset): pass a
4124 Buffer const * parameter to InsetExternalMailer's string2params.
4126 2003-07-22 John Levon <levon@movementarian.org>
4128 * Thesaurus.h: include the right aiksaurus header
4130 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4132 * MenuBackend.C (expand): check menu shortcuts unconditionally
4134 2003-07-21 Angus Leeming <leeming@lyx.org>
4136 * factory.C (createInset): pass a
4137 buffer_path parameter to InsetGraphicsMailer's string2params.
4139 2003-07-21 Angus Leeming <leeming@lyx.org>
4141 * BufferView_pimpl.C (buffer):
4144 * lyxfunc.C (dispatch):
4145 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4146 rather than the grfx shortcut.
4148 2003-07-21 André Pönitz <poenitz@gmx.net>
4150 * rowpainter.C: remove unused variables
4153 * tabular_funcs.h: move to tabular.C
4154 * Makefile.am: adjust
4156 * tabular.[Ch]: basic optical cleaning
4158 * author.h: pass references, not values
4160 2003-07-18 André Pönitz <poenitz@gmx.net>
4168 * text3.C: two-phase drawing for InsetText and InsetTabular
4169 some float -> int changes.
4171 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4173 * lyx_main.C: fix the fix
4175 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4177 * lyx_main.C: fix a crash in batch mode if no files specified
4180 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4182 * format.[Ch] (papersize): moved to BufferParams
4183 * converter.[Ch] (dvips_options): moved to BufferParams
4184 (dvipdfm_options): moved to anon namespace
4185 * bufferparams.[Ch]: added above functions.
4187 2003-07-17 André Pönitz <poenitz@gmx.net>
4191 * text2.C: don't call inset->update() anymore
4193 * metricsinfo.[Ch]: add convenience constructor
4195 2003-07-16 André Pönitz <poenitz@gmx.net>
4200 * text2.C: replace the LyXCursor::irow_ member with
4201 on-demand computation of the value
4203 2003-07-16 John Levon <levon@movementarian.org>
4205 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4207 2003-07-15 André Pönitz <poenitz@gmx.net>
4210 * text2.C: remove no more needed refresh_row
4212 2003-07-15 André Pönitz <poenitz@gmx.net>
4217 * text3.C: refresh_status tristate -> need_update bool
4219 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4221 * lyxtext.h (init): remove reinit argument (act as if always true)
4222 * text2.C: adjust to that
4224 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4226 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4227 * text3.C: use it to delete selections in some cases
4228 (bugs 441, 673, 702, 954).
4230 2003-07-14 André Pönitz <poenitz@gmx.net>
4232 * rowpainter.[Ch]: reduce interface
4234 2003-07-14 André Pönitz <poenitz@gmx.net>
4236 * BufferView_pimpl.C:
4237 * text2.C: adjust after removing unused BufferView * argument
4239 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4241 * text2.C (init): fix a crash fired on resize
4243 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4245 * buffer.[Ch]: added new closing signal
4246 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4247 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4248 BufferView::Pimpl via the closing the signal
4250 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4252 * buffer.[Ch]: take out all bv-related from buffer
4254 * BufferView_pimpl.[Ch]: connect to new signals
4255 * CutAndPaste.C: removed useless asserts
4256 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4259 * lyxfunc.C: moved view-related funciontality from vc here
4260 * paragraph.C: removed outdated comments
4263 2003-07-10 André Pönitz <poenitz@gmx.net>
4265 * BufferView_pimpl.C:
4269 * text2.C: remove InsetText::InnerCache, clean up consequences
4271 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4273 * ispell.C: fix two typos in error messages
4275 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4277 * Extend Note inset to other forms of annotation like Comment
4278 and Greyedout. Right button click gives dialog.
4280 Files modified or added (+):
4284 * ControlNote.[Ch] +
4286 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4287 frontends/controllers
4291 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4293 * aspell.C: add missing namespace lyx::support
4295 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4297 * BufferView.[Ch] (newFile): Add
4298 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4299 * LaTeX.[Ch] (message): added this signal and use it
4300 * buffer.[Ch] (busy, message): added these signals and use them
4301 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4305 * importer.C: use buffer signals instead of direct bv calling
4306 * lyx_cb.[Ch] (ShowMessage): removed
4309 * paragraph_funcs.C:
4310 * text2.C: use buffer signals
4312 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * introduce namespace lyx::graphics
4316 2003-07-02 André Pönitz <poenitz@gmx.net>
4318 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4320 2003-07-01 André Pönitz <poenitz@gmx.net>
4327 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4328 text*.C to text_func.C
4330 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * introduce namespace lyx::support
4334 2003-06-30 André Pönitz <poenitz@gmx.net>
4339 * text.C: re-enable --with-included-string
4341 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * textcursor.C: add <config.h>
4345 * text.C (getWord): remove const from word_location arg
4347 * lyxvc.C (getLogFile): fix const type order
4349 * lyxtext.h: remove const from word_location arg, add arg name
4351 * lyxlayout.h: currect type on labeltype.
4353 * importer.C: correct \file
4355 * converter.C (intToFormat): use std:: on ret val, ws changes
4357 * bufferlist.h: correct \file
4359 * buffer.C (makeLinuxDocFile): fix const type order
4360 (makeDocBookFile): ditto
4361 (fillWithBibKeys): use std:: on stdlib args.
4363 * CutAndPaste.C: fix authors.
4364 (availableSelections): use std:: on return vector
4366 2003-06-27 André Pönitz <poenitz@gmx.net>
4368 * BufferView_pimpl.C:
4369 * bufferview_funcs.C:
4377 * text3.C: remove LyXCursor::row_ member
4380 * text.C: rename fullRebreak() to partialRebreak() and implement
4381 a fullRebreak() that really bereks fully
4383 * textcursor.h: new struct for cursor-related data
4385 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4387 * lyx_main.C (LyX): get full path of document loaded on the
4390 2003-06-26 André Pönitz <poenitz@gmx.net>
4392 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4393 remove unused/broken operator>,<,>=.
4395 * text.C: remove only use of broken operator<= in an Assert().
4397 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4399 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4400 moved errorlist_.clear to showErrorList
4402 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4404 * converter.C (scanLog, runLaTeX):
4405 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4406 move the bv->showErrorList call to the callers
4407 * lyxfunc.C: i.e. here...
4409 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4410 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4411 namespace, the second to...
4412 * buffer_funcs (BufferFormat, parseErrors): added
4413 * errorlist.C (ErrorList(TeXErrors const &)): removed
4415 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4417 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4419 2003-06-24 "Garst R. Reese" <reese@isn.net>
4423 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4425 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4427 * version.C.in: change docversion to 1.4
4429 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4431 * buffer.C: fix a bug just introduced
4433 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4435 * buffer.[Ch]: added the parseError signal and use it, removed
4437 * BufferView.[Ch] (addError): moved to ...
4438 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4439 to the Buffer::parseError signal to catch (guess what) parse errors
4440 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4442 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4444 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4445 ability to create a buffer and to return an existing one from
4446 the list. Moved these functions to...
4447 * buffer_funcs.[Ch]: added
4448 * BufferView.[Ch] (loadLyXFile): added
4449 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4450 job removed from bufferlist::loadLyXFile.
4451 * buffer.C (setReadOnly): make it work without view
4452 (i.e added an if (users))
4454 2003-06-19 Angus Leeming <leeming@lyx.org>
4457 * LyXAction.C (init):
4458 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4459 with LFUN_DIALOG_SHOW <name> <data>.
4461 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4463 * CutAndPaste.C (availableSelections): small compilation fix for
4464 ancient (gcc 2.9x) compilers
4466 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * text3.C (cursorNext): add tmp var
4470 * text2.C (updateCounters): for function calling out of for clause
4471 (replaceSelectionWithString): ditto
4472 (insertStringAsParagraphs): ditto
4473 (getColumnNearX): add tmp var
4474 (setCursorFromCoordinates): add tmp var
4475 (cursorDownParagraph): add tmp var
4476 (deleteEmptyParagraphMechanism): add tmp var
4478 * text.C (insertChar): add tmp var
4480 * rowpainter.C (paintDepthBar): add tmp var
4482 * CutAndPaste.C (availableSelections): potentially check all
4483 paragraphs in a cut to fill the shown strings.
4485 2003-06-18 André Pönitz <poenitz@gmx.net>
4487 * kbmap.[Ch]: use vector<> instead of list<>
4489 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4491 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4492 pasteSelection with index
4494 * text2.C (pasteSelection): modify, call pasteSelection with index
4496 * paragraph.C (asString): reimplement version with no interval to
4497 call the one with interval.
4499 * lyxtext.h: add index arg to pasteSelection
4501 * MenuBackend.C (MenuItem): handle PasteRecent
4502 (Menu::read::Menutags): add md_pasterecent
4504 (expandPasteRecent): new function
4507 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4509 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4511 (availableSelections): new function
4513 2003-06-17 Angus Leeming <leeming@lyx.org>
4515 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4517 2003-06-17 Angus Leeming <leeming@lyx.org>
4520 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4522 * lyxfunc.C (dispatch): invoke it.
4524 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4526 * iterators.C (operator++, ParPosition): reintroduce some
4527 const_cast for the benefit of older compilers.
4529 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4531 * text3.C (dispatch): do not modify clipboard when doing
4532 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4533 LFUN_DELETE_SKIP on a selection selection
4535 2003-06-16 André Pönitz <poenitz@gmx.net>
4541 * tabular.[Ch]: IU of clone() and getLabelList();
4543 2003-06-13 André Pönitz <poenitz@gmx.net>
4545 * tabular.h: compactification
4547 2003-06-12 André Pönitz <poenitz@gmx.net>
4551 * tabular_funcs.h: some renaming plus whitespace
4553 2003-06-12 André Pönitz <poenitz@gmx.net>
4556 * BufferView_pimpl.C:
4562 * toc.C: Return a Paragraph & for ParIterator::operator*()
4564 2003-06-11 John Levon <levon@movementarian.org>
4568 * ToolbarBackend.C: add "Toolbars" section and
4571 2003-06-10 Angus Leeming <leeming@lyx.org>
4574 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4576 * lyxfunc.C (dispatch): invoke it.
4578 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * main.C: protect <ios> with HAVE_IOS
4581 (main): protect sync_with_stdio with HAVE_IOS
4583 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4585 * text2.C (cutSelection): adjust
4586 (pasteSelection): adjust
4588 * messages.C: handle get of empty string
4590 * main.C (main): use sync_with_stdio(false)
4592 * lyxfunc.C (dispatch): adjust
4594 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4595 (WriteAs): remove unneeded BufferView arg.
4597 * bufferparams.h: use correct types on papersize, papersize2 and
4600 * bufferparams.C (readToken): adjust for type
4601 (writeLaTeX): add missing cases to switch.
4603 * bufferlist.C (quitWriteBuffer): adjust
4606 * buffer.C (asciiParagraph): remove some commented code.
4608 * CutAndPaste.C: remove current_view extern variable.
4609 (cutSelection): add BufferParams arg.
4610 (eraseSelection): add BufferParams arg.
4611 (pasteSelection): add Buffer const & arg
4613 2003-06-07 John Levon <levon@movementarian.org>
4616 * paragraph_funcs.C:
4617 * paragraph_pimpl.C:
4621 * paragraph.C: allow InsetERT to freely space lines,
4622 and some consolidation of code
4624 2003-06-06 José Matos <jamatos@fep.up.pt>
4626 * buffer.C (makeDocBookFile): fix bug #821
4628 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4630 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4632 2003-06-04 Angus Leeming <leeming@lyx.org>
4634 * buffer.C: bump format to 224.
4636 2003-06-05 André Pönitz <poenitz@gmx.net>
4638 * text2.C (redoParagraphs): remove two const_cast<>
4640 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4642 * ParagraphList.h: remove last remnants of NO_STD_LIST
4644 2003-06-03 Angus Leeming <leeming@lyx.org>
4646 * factory.C (createInset): small change to the way InsetExternal's params
4649 2003-06-04 André Pönitz <poenitz@gmx.net>
4651 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4653 * paragraph_pimpl.h:
4654 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4656 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4658 * undo_funcs.C: make some simple cases of undo work again
4660 2003-06-03 John Levon <levon@movementarian.org>
4662 * ispell.C: HPUX doesn't have sys/select.h
4665 2003-06-03 John Levon <levon@movementarian.org>
4667 * CutAndPaste.C: update tabular and include inset
4672 * paragraph.C: remove owningBuffer(), don't pass Buffer
4675 * factory.C: insetGraphicsParams changed
4677 2003-06-02 John Levon <levon@movementarian.org>
4683 * text3.C: remove insetparent
4685 2003-06-02 John Levon <levon@movementarian.org>
4688 * buffer.C: fix inset_iterator.end(), move out of line
4691 2003-06-01 John Levon <levon@movementarian.org>
4693 * text3.C: use a proper cut/paste when doing inset
4694 insert (from Jürgen Spitzmüller)
4696 2003-06-01 John Levon <levon@movementarian.org>
4698 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4700 2003-05-30 André Pönitz <poenitz@gmx.net>
4702 * rowpainter.C: unify second drawing phase
4704 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * trans_mgr.C: remove one case of current_view
4708 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4710 * paragraph_funcs.h: remove paragraph.h include
4712 * paragraph.h: delete NO_STD_LIST stuff
4714 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4716 * buffer.h: remove paragraph.h include
4718 * ParagraphList.C: delete file
4720 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4722 * toc.C (getTocList): adjust
4724 * paragraph_pimpl.C (validate): adjust
4726 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4728 * paragraph.C (Paragraph): adjust
4729 (getPositionOfInset): use const_iterator, adjust
4730 (bibitem): use const_iterator, adjust
4731 (setInsetOwner): adjust
4733 * iterators.C (operator++): adjust
4735 * InsetList.[Ch]: Replace selfmade iterator with standard
4736 vector::iterator also introduce const_iterator. Remove getPos,
4737 getInset and setInset from InsetTable. Adjust accordingly.
4739 * BufferView.C (lockInset): adjust
4740 (ChangeInsets): adjust
4742 * tabular.[Ch]: delete commented same_id functions
4744 2003-05-28 John Levon <levon@movementarian.org>
4746 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4748 2003-05-28 André Pönitz <poenitz@gmx.net>
4750 * metricsinfo.[Ch]: remove 'fullredraw' member
4752 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4754 * lyxtextclass.C (operator): remove caching.
4756 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * text2.C (cursorBottom): adjust
4761 (setCounter): use ParagraphList::find, adjust
4763 * text.C (workWidth): use ParagraphList::find, adjust
4765 * lyxcursor.C (LyXCursor): adjust
4767 * buffer.C (inset_iterator): adjust
4769 * ParagraphList.h: make iterator(value_type) private, make
4770 ParagraphList a friend of iterator.
4772 * ParagraphList.C (find): new function
4774 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4776 2003-05-27 André Pönitz <poenitz@gmx.net>
4778 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4780 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4782 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4784 2003-05-26 John Levon <levon@movementarian.org>
4786 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4788 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * remove same_id from function signatures, adjust.
4792 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4796 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4798 * paragraph.C (Paragraph): get rid of same_ids parameter
4800 * ParagraphList.C (insert): adjust
4803 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * paragraph_funcs.C (breakParagraph): adjust
4806 (breakParagraphConservative): adjust
4808 * buffer.C (readParagraph): adjust
4810 * ParagraphList.C (insert): take a reference instead of a pointer
4813 * paragraph.[Ch] (id): new function
4815 * bufferlist.C (newFile): adjust
4817 * ParagraphList.C (ParagraphList): adjust
4819 (push_back): take a reference instead of a pointer.
4821 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4823 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4826 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4827 set else use old code.
4829 * ParagraphList.C: remove all NO_NEXT code and only compile this
4830 code of NO_STD_LIST is set.
4832 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4834 * BufferView_pimpl.C:
4844 * graphics/GraphicsConverter.C:
4845 * graphics/PreviewLoader.C: header adjustment
4847 2003-05-23 Angus Leeming <leeming@lyx.org>
4849 * LaTeXFeatures.[Ch] (useBabel): new method.
4850 * bufferparams.C (writeLaTeX): use it.
4852 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * ParagraphList.h (set): remove unused function.
4856 2003-05-23 André Pönitz <poenitz@gmx.net>
4859 * BufferView_pimpl.C:
4863 * undo_funcs.C: setUndo reworked
4865 * iterators.[Ch]: add access to topmost ParagraphList
4867 * lyxtext.[Ch] (workWidth): add a const
4869 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4871 * texrow.[Ch] (increasePos): remove function
4872 * exporter.C (export): removed unused var and outdated comment
4874 2003-05-23 Angus Leeming <leeming@lyx.org>
4876 * latexrunparams.h: rename fragile as moving_arg.
4877 * paragraph.C (simpleTeXOnePar): ditto.
4878 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4880 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4884 (textUndoOrRedo): comment out a currently unused var.
4886 * paragraph.h (NO_NEXT): enable NO_NEXT
4888 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4890 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4892 * exporter.C (Export): adjust for removeAutoInsets removal.
4894 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4896 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4898 * BufferView.[Ch] (removeAutoInsets): delete function
4900 2003-05-22 Angus Leeming <leeming@lyx.org>
4902 * latexrunparams.h: add a free_spacing variable.
4904 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4905 to pass moving_arg, as the data is stored in runparams.fragile.
4907 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4908 to Inset::latexOptional or to simpleTeXOnePar.
4910 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4911 free_spacing arg to Inset::latexOptional.
4913 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4916 2003-05-22 Angus Leeming <leeming@lyx.org>
4918 * latexrunparams.h: add fragile and use_babel variables.
4920 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4921 * buffer.C (makeLaTeXFile): store this returned value in
4922 runparams.use_babel, thus passing it to the inset::latex methods.
4924 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4925 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4927 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4928 longer has a fragile arg, as it is stored in runparams.fragile.
4930 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4931 moving_arg parameter as the data is stored in runparams.fragile.
4933 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4934 a fragile parameter as the data is stored in runparams.fragile.
4936 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4940 2003-05-22 Angus Leeming <leeming@lyx.org>
4942 * latexrunparams.h: add a 'bool nice' which defaults to false.
4944 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4945 now encapsulated within runparams.
4947 * bufferlist.C (updateIncludedTeXfiles):
4948 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4950 2003-05-22 Angus Leeming <leeming@lyx.org>
4952 * latexrunparams.h: new file containing struct LatexRunParams.
4953 * Makefile.am: add new file.
4955 * LaTeX.[Ch] (c-tor, run):
4956 * buffer.[Ch] (makeLaTeXFile):
4957 * bufferlist.[Ch] (updateIncludedTeXfiles):
4958 * converter.C (convert, scanLog):
4959 * converter.[Ch] (runLaTeX):
4960 * exporter.C (Export):
4961 * paragraph.[Ch] (simpleTeXOnePar):
4962 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4963 * paragraph_funcs.[Ch] (latexParagraphs):
4964 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4965 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4966 pass around a LatexRunParams parameter.
4968 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * paragraph.[Ch]: remove unused constructor
4972 * ParagraphList.C (erase): new function, taking two iterators
4974 2003-05-22 André Pönitz <poenitz@gmx.net>
4976 * undo_funcs.C: remove duplicated code
4978 * iterator.[Ch]: operator=
4980 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * tabular.C (SetMultiColumn): ws changes
4984 * rowpainter.C (paintFirst): get rid of a ->previous
4986 * lyx_cb.C (getPossibleLabel): parlist simplification
4988 * BufferView.C (ChangeInsets): simplify slightly.
4990 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4992 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4993 * lfuns.h: new LFUN_SPACE
4994 * lyxfunc.C: protected space has a new lfun
4995 * paragraph_funcs.C: read new space insets
4997 * factory.C: handle new space insets
4999 2003-05-22 André Pönitz <poenitz@gmx.net>
5002 * BufferView_pimpl.C:
5005 * undo_funcs.C: return a ParIterator from getParFromID.
5007 * iterators.[Ch]: add two const's
5009 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * toc.C (getTocList): adjust
5013 * iterators.[Ch]: rework for parlist
5015 * buffer.C (par_iterator_begin): adjust
5016 (par_iterator_end): adjust
5018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5020 * BufferView.C (removeAutoInsets): adjust
5021 (ChangeInsets): adjust
5023 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5025 * text.C (top_y): fix bug 1110
5027 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5029 * errorlist.[Ch]: added
5032 * BufferView_pimpl.C:
5033 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5036 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * Makefile.am: ensure that lyx is relinked upon changes to the
5039 various "convenience" libs.
5041 2003-05-20 Angus Leeming <leeming@lyx.org>
5043 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5044 files are compiled in alphabetical order again.
5046 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5048 2003-05-19 Angus Leeming <leeming@lyx.org>
5050 * gettext.[Ch]: remove "char const * _(char const *)".
5052 2003-05-19 André Pönitz <poenitz@gmx.net>
5054 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5063 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5065 2003-05-19 André Pönitz <poenitz@gmx.net>
5069 * lyxtextclass.[Ch]:
5071 * paragraph_funcs.[Ch]:
5073 * text3.C: more insetenv work
5075 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5077 * ParagraphParameters.C (params2string): small bug fixed
5079 2003-05-16 André Pönitz <poenitz@gmx.net>
5082 * bufferview_funcs.C: patch from Kornel Benko to prevent
5083 crash when _(...) is called twice in a statement
5085 2003-05-16 André Pönitz <poenitz@gmx.net>
5092 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5094 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5096 * lyx_main.C (init): remove spurious static_cast
5098 2003-05-14 André Pönitz <poenitz@gmx.net>
5100 * BufferView.C: fix format string
5102 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5104 * BufferView.[Ch] (insertErrors): removed
5105 * BufferView.[Ch] (showErrorList): added
5106 * buffer.C (runChkTeX):
5107 * converter.C (scanLog): call showErrorList instead of inserterrors
5109 2003-05-13 André Pönitz <poenitz@gmx.net>
5111 * BufferView_pimpl.C:
5113 * bufferview_func.C:
5120 * tabular_funcs.h: tostr() from its own header
5122 * ParagraphParameters.C:
5127 * text3.C: STRCONV()
5129 2003-05-12 André Pönitz <poenitz@gmx.net>
5132 * BufferView_pimpl.C:
5136 * ParagraphParameters.C:
5140 * bufferview_funcs.C:
5153 * paragraph_funcs.C:
5157 * text3.C: boost::format -> bformat all over the place
5160 2003-05-09 André Pönitz <poenitz@gmx.net>
5162 * LColor.[Ch]: Pimpl the #include <map> away
5164 2003-05-09 John Levon <levon@movementarian.org>
5166 * bufferlist.C: never remove emergency saves
5168 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * Makefile.am: better lib building
5172 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5176 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5177 (simpleTeXSpecialChars): adjust
5178 (simpleTeXSpecialChars): adjust
5179 * paragraph.C (simpleTeXOnePar): adjust
5180 * buffer.C (makeLaTeXFile): adjust
5182 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5184 * text2.C (changeDepth): parlist cleanup
5185 (getColumnNearX): ditto
5187 * rowpainter.C (getLabelFont): parlist cleanup
5189 * bufferlist.C (newFile): parlist cleanup
5191 * CutAndPaste.C (eraseSelection): parlist cleanup
5193 * BufferView_pimpl.C (trackChanges): parlist cleanup
5196 * BufferView.C (lockInset): parlist cleanup.
5197 (ChangeInsets): ditto
5199 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * CutAndPaste.h: Update file header.
5203 * CutAndPaste.C: Update file header.
5204 Store the parts cut out of the Document in a limited_stack.
5205 (copySelection): adjust
5206 (pasteSelection): new function, takes the index in the limited stack.
5207 (nrOfParagraphs): adjust
5208 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5209 simplify error inset insertion.
5210 (checkPastePossible): adjust
5212 2003-05-06 John Levon <levon@movementarian.org>
5214 * text2.C: don't cast wrap inset to float
5216 2003-05-05 André Pönitz <poenitz@gmx.net>
5219 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5221 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5222 few naked Paragraph *.
5224 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5226 * bufferparams.C: Output warning if a document with missing
5227 TeX document class is loaded
5228 * exporter.C: Disable TeX exports if the document class is missing
5231 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5232 isTeXClassAvailable()
5234 2003-05-03 John Levon <levon@movementarian.org>
5237 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5238 explicit cursor show/hide
5240 * BufferView_pimpl.h:
5241 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5242 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5244 * lyxfunc.C: hide cursor before dispatching.
5249 * text3.C: remove explicit cursor hides
5251 2003-05-02 André Pönitz <poenitz@gmx.net>
5253 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5256 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5259 * text2.C: tiny whitespace
5261 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * undo_funcs.C: almost only ws changes.
5265 * ParagraphList.C (splice): just return if pl is empty.
5267 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * ParagraphList.C (splice): new function.
5271 * CutAndPaste.C (pasteSelection): use it
5273 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * CutAndPaste.C (pasteSelection): remove the last next and
5276 previous from this file.
5278 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * CutAndPaste.C (pasteSelection): more clean up, user proper
5281 ParagraphList functions for pasteing.
5283 * ParagraphList.C (insert): new function, three arg insert
5285 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * ParagraphList.C (insert): new function, three arg insert
5289 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5292 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5296 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5300 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5303 (copySelection): clean up a bit.
5304 (pasteSelection): use make_pair
5306 * ParagraphList.C (ParagraphList): implement copy constructor
5307 (operator=): implement, base on copy constructor.
5310 * paragraph.C (erase): return a bool
5312 * paragraph_pimpl.C (erasePos): remove function, move contents...
5313 (erase): ... here. Return a bool.
5314 (erase): call erase instead of erasePos.
5316 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5318 * ParagraphList.h: define PitPosPair
5319 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5320 ParagraphList, fix a bug on pasting multiple pars
5321 * text2.C: change interface to C&P
5323 2003-04-30 André Pönitz <poenitz@gmx.net>
5325 * undo_func.C: revert part of yesterday's patch 2
5327 2003-04-30 John Levon <levon@movementarian.org>
5329 * LColor.C: s/tabular/table/
5331 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * text3.C (dispatch): do not convert iterator -> pointer
5334 * undo_funcs.C (setCursorParUndo): ditto
5335 * text_funcs.C (transposeChars): ditto
5337 * text2.C (setLayout): ws changes only
5339 * text.C (breakParagraph): do not convert iterator -> pointer
5341 (acceptChange): ditto
5342 (rejectChange): ditto
5347 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5350 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5352 * text3.C (gotoInset): YABG (yet another bad getChar)
5354 2003-04-29 André Pönitz <poenitz@gmx.net>
5356 * paragraph.h: make operator= private unimplemented as long as
5359 * ParagraphList.C: whitespace
5362 * paragraph_pimpl.[Ch]:
5363 * paragraph_funcs.C:
5365 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5368 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5370 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5372 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5373 * paragraph.[Ch] (erase):
5374 * paragraph_pimpl.[Ch] (erase): change return type and value
5375 * text2.C (cutSelection): some rework
5377 2003-04-28 John Levon <levon@movementarian.org>
5379 * bufferlist.C: changes for unsaved changes dialog
5381 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * bufferlist.C (newFile): set language (messages_) for new
5386 * buffer.C (readFile): ws changes only.
5388 2003-04-28 André Pönitz <poenitz@gmx.net>
5393 * BufferView_pimpl.C:
5394 * BufferView.C: getParFromID related ParagraphList::iterator changes
5396 2003-04-28 André Pönitz <poenitz@gmx.net>
5398 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5401 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * messages.C: remove one more localedir class variable.
5405 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * messages.C (getLocaleDir): singleton generation function
5409 (Messages): add a default constructor.
5411 * main.C (main): do not setup localedir here, do not call
5414 * gettext.C (_): use it.
5415 (gettext_init): delete funciton
5417 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * gettext.C (getLyXMessages): new singleton generating function.
5421 * buffer.C (updateDocLang): adjust
5423 * Makefile.am (messages.o): add target
5424 (main.o): remove target
5426 2003-04-27 John Levon <levon@movementarian.org>
5431 * lyxvc.C: specify cancel button in Alert::prompt
5433 2003-04-26 John Levon <levon@movementarian.org>
5438 * LyXAction.C: add LFUN_INSET_SETTINGS
5440 * lyxfunc.C: don't enable tabular-feature when there's
5441 just any locking inset
5443 2003-04-26 John Levon <levon@movementarian.org>
5445 * bufferlist.C: re-add Cancel to buffer close question
5447 * lyxfunc.C: fix import UI a bit
5449 2003-04-25 John Levon <levon@movementarian.org>
5451 * gettext.C: remove the broken asserts for now
5453 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * messages.C: make case where setlocale cannot comply work better.
5457 * buffer.C (updateDocLang): new function
5458 (changeLanguage): use it
5461 * text2.C (setCounter): use B_ a bit.
5463 * lyxlayout.C (Read): be sure to trim the label strings.
5465 * messages.C (Messages): fix typo in comment
5467 * buffer.C (readFile): set message_ after file is loaded.
5468 (makeDocBookFile): remove double return
5469 (changeLanguage): reset message_ upon language change.
5470 (B_): new func, use this to get translated buffer strings.
5472 * main.C: add myself and Jean Marc as authors.
5474 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * messages.[hC]: pimplify Messages, and three different pimpls to be
5477 used in different circumstances.
5479 * gettext.[Ch]: change for use with new message code.
5481 2003-04-24 André Pönitz <poenitz@gmx.net>
5483 * factory.C: support for eqref
5485 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * messages.[Ch]: add missing char
5489 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5491 * messages.[Ch]: New files
5493 2003-04-18 John Levon <levon@movementarian.org>
5497 * BufferView_pimpl.C:
5501 * text2.C: remove layout-copy/paste (bug 778)
5503 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5505 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5507 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5509 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5510 if they succeed. Act accordingly.
5512 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * text2.C (setCharFont): adjust
5515 (setCounter): adjust
5516 (insertStringAsLines): adjust
5518 * text.C (leftMargin): adjust
5519 (setHeightOfRow): adjust
5521 * rowpainter.C (paintFirst): adjust
5524 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5526 (isFirstInSequence): ditto
5527 (getEndLabel): ditto
5530 * paragraph.C (getParLanguage): comment out some hard stuff.
5532 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5534 (simpleDocBookOnePar): ditto
5535 (makeDocBookFile): use ParagraphList::iterator
5537 * CutAndPaste.C (pasteSelection): adjust
5539 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * text2.C (getFont): adjust
5542 (getLayoutFont): adjust
5543 (getLabelFont): adjust
5545 * paragraph_funcs.C (TeXOnePar): adjust
5547 * buffer.C (simpleLinuxDocOnePar): adjust
5548 (simpleDocBookOnePar): adjust
5550 * CutAndPaste.C (pasteSelection): adjust
5552 * BufferView.C (getEncoding): adjust
5554 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5556 2003-04-16 John Levon <levon@movementarian.org>
5558 * lyxfind.C: use parlist stuff for search/changes
5560 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5564 * text2.C (deleteEmptyParagraphMechanism): adjust
5566 * text2.[Ch] (ownerParagraph): delete func (both of them
5568 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5572 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5574 * ParagraphList.C: prepare for NO_NEXT
5576 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * text2.C (getFont): adjust
5579 (getLayoutFont): adjust
5580 (getLabelFont): adjust
5582 * paragraph.C (getFont): adjust
5583 (getLabelFont): adjust
5584 (getLayoutFont): adjust
5586 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5588 2003-04-15 John Levon <levon@movementarian.org>
5592 * lyx_main.C: handle Include in .ui files
5594 2003-04-15 John Levon <levon@movementarian.org>
5596 * MenuBackend.C: make the doc files length shorter
5599 * ToolbarBackend.C: handle toolbar placement flags,
5602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5607 * paragraph_funcs.C (TeXOnePar): adjust
5609 * paragraph.C (getLabelFont): add outerfont arg, adjust
5610 (getLayoutFont): ditto
5611 (simpleTeXOnePar): adjust
5613 * paragraph_pimpl.C (realizeFont): delete func
5615 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5617 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5618 row argument, constify cur argument.
5620 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * text2.C (getFont): adjust
5623 (getLayoutFont): adjust
5624 (getLabelFont): adjust
5626 * paragraph_funcs.C (TeXOnePar): adjust
5627 (outerFont): new func...
5628 (realizeFont): ...moved out from here, changed this to facilitate
5631 * paragraph.C (getFont): take outerfont as arg, adjust
5632 (simpleTeXOnePar): add outerfont arg, adjust
5634 * buffer.C (simpleLinuxDocOnePar): adjust
5635 (simpleDocBookOnePar): adjust
5637 * CutAndPaste.C (pasteSelection): adjust
5639 * BufferView.C (getEncoding): adjust
5641 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * text2.C (setCharFont): adjust
5644 (setCounter): adjust
5646 * text.C (leftMargin): adjust
5647 (setHeightOfRow): adjust
5649 * rowpainter.C (paintFirst): adjust
5652 * paragraph_pimpl.C (realizeFont): adjust
5654 * paragraph.C (isFirstInSequence): move from here...
5655 * paragraph_funcs.C (isFirstInSequence): ...to here
5657 * paragraph.C (outerHook): move from here...
5658 * paragraph_funcs.C (outerHook): ...to here
5660 * paragraph.C (depthHook): move from here...
5661 * paragraph_funcs.C (depthHook): ...to here
5663 * paragraph.C (getEndLabel): move from here...
5664 * paragraph_funcs.C (getEndLabel): ...to here
5666 * text2.C (realizeFont): move from here...
5667 * paragraph_funcs.C (realizeFont): ...to here
5669 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5673 2003-04-14 Angus Leeming <leeming@lyx.org>
5675 * LColor.[Ch]: scrap LColor mathcursor.
5677 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * lyxlex.[Ch] (text): delete function
5680 * trans.C (Load): adjust
5681 * paragraph_funcs.C (readParToken): adjust
5683 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5686 vector<char> instead of a char[].
5688 * lyxlex_pimpl.C (getString): adjust
5690 (lex): use getString
5694 * lyxlex.C (text): use pimpl_->getString()
5698 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5700 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5701 (makeFontEntriesLayoutSpecific): temp var for par.size()
5702 (setLayout): temp var for ownerParagraphs().end()
5703 (fullRebreak): temp var for rows().end()
5704 (selectionAsString): temp var for boost::next(startpit), realize
5705 that the while really is a regular for loop.
5706 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5707 setCursor in one place.
5708 (setParagraph): temp vr for ownerParagraphs().end()
5709 (updateCounters): make the while loop a for loop
5710 (cutSelection): temp var for ownerParagraphs().end()
5711 (updateInset): make the do {} while() a regular for loop
5712 (getCursorX): use temp vars
5713 (setCurrentFont): use temp vars
5714 (getColumnNearX): use temp vars
5716 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * text.C (transformChar): use temp var for getChar
5719 (computeBidiTables): use temp var for row->par()
5720 (fill): move temp vars for row->par() and pit->layout() earlier in
5722 (labelFill): use temp var for row->par()
5723 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5724 asc and desc, realize that pit never changes and that firstpit is
5725 just a duplicate and not needed. Exchange rit->par() with pit in a
5727 (breakAgain): use a temp var for boost::next(rit)
5728 (breakAgainOneRow): ditto
5729 (breakParagraph): use a temp var for rows().begin()
5730 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5731 (cursorRightOneWord): use temp var for cursor.par() and
5732 cursor.pos(), remove usage of tmpcursor.
5733 (cursorLeftOneWord): use temp var for cursor.par() and
5734 cursor.pos() only set cur at end of function.
5736 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * text.C, text2.C: exchange all usage of Paragraph::next with
5739 boost::next(ParagraphList::iterator)
5741 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5743 * text2.C (cursorTop): simplify implementation
5744 (cursorBottom): ditto
5745 (setParagraph): use ParagraphList::iterator
5746 (setCurrentFont): adjust
5747 (getColumnNearX): adjust
5748 (cursorRight): adjust
5749 (cursorLeft): remove usage of Paragraph::previous
5750 (cursorUpParagraph): ditto
5751 (deleteEmptyParagraphMechanism): slight cleanup
5753 * text.C (isBoundary): take a Paragraph const & instead of a
5755 (addressBreakPoint): ditto
5756 (leftMargin): remove usage of Paragraph::previous.
5757 (setHeightOfRow): ditto
5758 (cursorLeftOneWord): ditto
5759 (selectNextWordToSpellcheck): ditto
5762 (breakParagraph): remove one usage of Paragraph::next
5763 (redoParagraph): ditto
5764 (acceptChange): ditto
5765 (insertChar): adjust
5766 (rowBreakPoint): adjust
5768 * bufferview_funcs.C (toggleAndShow): adjust
5770 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5772 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5773 methods to access it.
5775 * text.C: Added updateRowPositions to compute all row positions.
5776 Make top_y and getRowNearY() to use the cached y position
5778 2003-04-11 John Levon <levon@movementarian.org>
5780 * text.C (rowBreakPoint): reintroduce the labelEnd
5781 checks, code copied from the row fill stuff. Deep voodoo.
5783 * text.C (fill): add a comment and debugging for the
5786 2003-04-11 John Levon <levon@movementarian.org>
5788 * text.C: make sure fullrow insets get wrapped to the next line,
5789 even when they're in a manual label
5791 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * text2.C (insertParagraph): make it take ParagraphList::iterator
5795 (setLayout): make it return ParagraphList::iterator
5796 (redoParagraphs): ditto
5798 (checkParagraph): ditto
5800 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5802 * text2.C: adjust several funcs.
5803 (realizeFont): take a ParagraphList::iterator as arg.
5804 (getLayoutFont): ditto
5805 (getLabelFont): ditto
5806 (setCharFont): ditto
5808 * text.C: adjust several funcs.
5810 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5812 * text.C (selectNextWordToSpellcheck): don't accidentally
5815 2003-04-10 John Levon <levon@movementarian.org>
5817 * ToolbarBackend.C (getIcon): special handling for
5820 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5822 * text2.C (cursorRight): a getChar assert fixed
5824 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * text2.C (getFont): change to take a ParagraphList::iterator
5827 instead of Paragraph*
5828 Adjust several functions.
5830 * text.C (transformChar): change to take a ParagraphList::iterator
5831 instead of Paragraph*
5832 (singleWidth): ditto
5833 Adjust several functions.
5835 * rowpainter.C: adjust several functions
5836 * rowpainter.h:store a ParagraphList::iterator and not a
5840 2003-04-09 John Levon <levon@movementarian.org>
5845 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5846 and the "help" bits as well
5848 2003-04-09 John Levon <levon@movementarian.org>
5851 * ToolbarBackend.C: allow multiple toolbars
5853 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * undo_funcs.C (setCursorParUndo): adjust
5857 * text_funcs.C (transposeChars): adjust
5859 * text3.C (gotoNextInset): adjust
5862 * text2.C (setLayout): adjust
5863 (changeDepth): adjust
5865 (redoParagraphs): adjust
5866 (selectionAsString): adjust
5867 (setParagraph): adjust
5868 (insertInset): adjust
5869 (cutSelection): adjust
5870 (copySelection): adjust
5871 (pasteSelection): adjust
5872 (insertStringAsLines): adjust
5873 (updateInset): adjust
5874 (setCursor): change to take a ParagraphList::iterator parameter
5875 (setCursorIntern): change to take a ParagraphList::iterator parameter
5876 (setCurrentFont): adjust
5877 (cursorLeft): adjust
5878 (cursorRight): adjust
5879 (deleteEmptyParagraphMechanism): adjust
5881 * text.C (breakParagraph): adjust
5882 (insertChar): adjust
5883 (acceptChange): adjust
5884 (rejectChange): adjust
5885 (selectNextWordToSpellcheck): adjust
5886 (changeCase): adjust
5890 * lyxfind.C (SearchForward): adjust
5891 (SearchBackward): adjust
5892 (nextChange): adjust
5894 * lyxcursor.C (par): adjust
5896 * lyxcursor.h: store a ParagraphList::iterator instead of a
5899 * lyx_cb.C (getPossibleLabel): adjust
5901 * bufferview_funcs.C (toggleAndShow): adjust
5903 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5906 * BufferView.C (removeAutoInsets): adjust
5907 (lockedInsetStoreUndo): adjust
5909 2003-04-09 John Levon <levon@movementarian.org>
5911 * ToolbarBackend.C: try icon without argument
5912 if with argument fails
5914 2003-04-08 John Levon <levon@movementarian.org>
5917 * ToolbarBackend.C: add getIcon(), handle tooltip,
5918 and change from "Icon" to "Item".
5920 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5922 * BufferView.C (lockInset): another bad getchar crunched
5924 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5926 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5929 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5931 * lyxfind.C (searchForward, searchBackwards): bug 782
5933 2003-04-07 John Levon <levon@movementarian.org>
5935 * paragraph.C: remove dead comment
5937 * text.C: remove troublesome depth-fiddling code
5938 in leftMargin() and rightMargin() (bug 1017)
5940 * text.C: fix breaking of rows in nested lists
5943 * text2.C (updateCounters): fix up depth values
5946 2003-04-07 John Levon <levon@movementarian.org>
5948 * BufferView_pimpl.C: clear message when doc finishes resizing,
5949 and after a mouse event
5951 * lyxfunc.C: clear message after exiting inset
5953 2003-04-07 John Levon <levon@movementarian.org>
5955 * bufferview_funcs.C: show math status not outside
5956 status in the statusbar
5958 2003-04-07 John Levon <levon@movementarian.org>
5960 * lyxfunc.C: note status changed after a depth change
5962 2003-04-04 Angus Leeming <leeming@lyx.org>
5964 * LaTeX.h: move AuxInfo operator==, != out of line.
5965 Remove LaTeX virtual destructor; nothing derives from it.
5966 Move operator()() out of public area and rename it startscript().
5967 Change protected for private.
5969 2003-04-04 Angus Leeming <leeming@lyx.org>
5972 * text2.C: remove unneeded #includes.
5974 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5976 * text2.C (dEPM): fix the heigth of the next row
5978 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5980 * text.C: squashed an invalid getChar requester + some ws changes
5982 2003-04-03 John Levon <levon@movementarian.org>
5984 * bufferview_funcs.h:
5985 * bufferview_funcs.C:
5988 * text2.C: make getStatus work for the env depth lfuns
5990 2003-04-03 John Levon <levon@movementarian.org>
5992 * bufferview_funcs.h:
5993 * bufferview_funcs.C:
5996 * text2.C: parlistize decDepth(), by merging it with incDepth()
5998 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * lyxrow.h: store a ParagraphList::iterator instead of a
6001 Paragraph* and adjust other class functions to suit.
6003 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6006 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6008 * text2.C (setCursor): do not anchor to cursor row for the time being
6010 2003-04-02 John Levon <levon@movementarian.org>
6017 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6019 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * paragraph.h: make ParagraphList and ParagraphList::iterator
6022 friends of Paragraph.
6024 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6026 * ParagraphList.C: Use the private next_ and previous_ from
6029 2003-04-01 John Levon <levon@movementarian.org>
6033 * Makefile.am: rename, remove defaults gunk
6036 * MenuBackend.C: remove defaults gunk
6039 * Languages.C: remove defaults gunk
6042 * lyx_main.C: error out if files couldn't be found.
6044 2003-04-02 John Levon <levon@movementarian.org>
6046 * text2.C: make incDepth() use parlist
6048 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * undo_funcs.C (firstUndoParagraph): adjust
6052 * text3.C (gotoInset): adjust
6053 (dispatch): adjust, and rewrite loop.
6055 * text2.C (init): adjust, and rewrite loop.
6056 (redoParagraphs): adjust
6057 (updateInset): adjust, and rewrite loop.
6058 (deleteEmptyParagraphMechanism): adjust
6060 * tabular.C (LyXTabular): adjust
6061 (SetMultiColumn): adjust
6064 * lyxtext.[Ch] (ownerParagraph): delete function
6065 (ownerParagraphs): new function returns a ParagraphList.
6067 * BufferView.C (removeAutoInsets): adjust
6068 (insertErrors): adjust
6069 (setCursorFromRow): adjust
6071 2003-04-01 Angus Leeming <leeming@lyx.org>
6073 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6076 2003-04-02 John Levon <levon@movementarian.org>
6082 * text_funcs.C: make transposeChars a free function
6084 * lyxrow_funcs.C: remove wrong comment
6086 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * rowpainter.C: adjust
6094 * lyxrow_funcs. [Ch]: new files
6096 * lyxrow.[Ch]: remove next and previous pointers
6097 (next,previous): remove accessor functions
6098 (isParEnd): move to lyxrow_funcs
6099 (lastPos): move to lyxrow_funcs
6100 (nextRowIsAllInset): move to lyxrow_funcs
6101 (lastPrintablePos): move to lyxrow_funcs
6102 (numberOfSeparators): move to lyxrow_funcs
6103 (numberOfHfills): move to lyxrow_funcs
6104 (numberOfLabelHfills): move to lyxrow_funcs
6105 (hfillExpansion): move to lyxrow_funcs
6109 * bufferview_funcs.C (toggleAndShow): adjust
6111 * RowList.h: Remove class RowList from file leave just a
6114 * RowList.C: delete file
6116 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6119 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6121 * text3.C (cursorPrevious): adjust
6122 (cursorNext): adjust
6125 * text2.C (redoHeightOfParagraph): adjust
6126 (redoDrawingOfParagraph): adjust
6129 * text.C (breakParagraph): adjust
6130 (insertChar): adjust
6133 * rowpainter.C (RowPainter): adjust
6134 (leftMargin): simplify and adjust
6135 (most rowpainter functions): adjust.
6137 * rowpainter.h: store the row as RowList::iterator not as Row*
6139 * lyxcursor.C (row): taka RowList::iterator as arg
6142 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6145 2003-04-01 Angus Leeming <leeming@lyx.org>
6147 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6148 stuff like bool Bool.
6150 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6152 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6155 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6160 * lyxtext.h (rows): drop one version and leve a const variant that
6161 returns a RowList::iterator.
6163 2003-03-31 Angus Leeming <leeming@lyx.org>
6165 * text.C (fill): ensure that the signature is the same as that in the
6168 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * text2.C (redoParagraphs): adjust
6171 (updateCounters): adjust
6172 (checkParagraph): adjust
6173 (getColumnNearX): adjust and reformat a bit.
6175 * text.C (top_y): adjust
6177 (leftMargin): adjust
6178 (prepareToPrint): adjust
6180 (getRowNearY): adjust
6182 * lyxtext.h: make rowlist_ mutable.
6184 * RowList.h: add const_iterator
6185 * RowList.C: adjust for RowList::const_iterator.
6187 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6190 2003-03-31 John Levon <levon@movementarian.org>
6193 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6195 * lyx_main.C: set default fonts from using lyx_gui funcs
6197 * exporter.C: pdf_mode moved from lyxrc
6200 * lyxfunc.C: changes from above
6202 2003-03-31 John Levon <levon@movementarian.org>
6204 * lyx_main.C: fix to the last fix
6206 2003-03-31 John Levon <levon@movementarian.org>
6208 * bufferlist.C: "Load original" -> "Load Original"
6214 * format.C: more Alert cleanups
6216 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * text2.C (removeParagraph): make it take a RowList::iterator as
6220 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6221 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6223 * text.C (anchor_row): make it take a RowList::iterator as arg,
6225 (computeBidiTables): make it take a const reference to Row instead
6226 of Row pointer, adjust.
6227 (leftMargin): make it take a RowList::iterator as arg, adjust.
6228 (rowBreakPoint): adjust
6229 (breakAgainOneRow): make it take a RowList::iterator as arg,
6231 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6233 * bufferview_funcs.C (toggleAndShow): adjust
6235 2003-03-30 John Levon <levon@movementarian.org>
6239 * boost-inst.C: moved to support
6241 * several files: changes as a result
6243 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6245 * text2.C (LyXText): adjust.
6247 (removeRow): make it take a RowList::iterator as arg, adjust.
6248 (fullRebreak): adjust
6249 (deleteEmptyParagraphMechanism): adjust
6250 (clearPaint): adjust
6253 * text.C (top_y): adjust
6254 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6255 (breakAgain): make it take a RowList::iterator as arg, adjust.
6256 (breakParagraph): adjust
6257 (insertChar): adjust
6260 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6261 need_break_row, and refresh_row.
6263 * text3.C (dispatch): adjust
6265 * text2.C (checkParagraph): adjust
6267 (setCursorFromCoordinates): adjust
6269 * text.C (top_y): adjust
6271 (getRow): make it return a RowList::iterator, adjust
6272 (getRowNearY): make it return a RowList::iterator, adjust
6274 * text2.C (init): adjust
6275 (insertRow): remove function
6276 (insertParagraph): adjust
6277 (redoParagraphs): adjust
6278 (fullRebreak): adjust
6279 (updateCounters): adjust
6281 * text.C (top_y): rewrite to use RowList iterators.
6283 (setHeightOfRow): rewrite to sue RowList iterators.
6284 (appendParagraph): adjust
6285 (breakAgain): adjust
6286 (breakAgainOneRow): adjust
6287 (breakParagraph): adjust
6289 (getRowNearY): adjust, and remove commented code.
6291 * lyxtext.h (firstRow): delete function
6292 (lastRow): delete function
6293 (rows): new function (const and non-const versions.)
6294 (insertRow): delete function
6296 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6298 2003-03-29 John Levon <levon@movementarian.org>
6300 * BufferView_pimpl.C: always update scrollbar top
6301 because pasting text when we're anchored could mean we
6302 miss an update altogether
6304 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * text2.C (init): use rowlist_.end() and not 0.
6307 (insertRow): change to take a RowList::iterator as arg, adjust
6309 (insertParagraph): change to take a RowList::iterator as arg,
6311 (redoParagraphs): remove some debug msgs.
6313 * text.C (appendParagraph): change to take a RowList::iterator
6314 arg, adjust for this.
6315 (breakAgain): add an assert
6316 (breakAgainOneRow): ditto
6318 2003-03-29 John Levon <levon@movementarian.org>
6320 * text2.C: do not clear selection after inc/decDepth
6323 2003-03-29 John Levon <levon@movementarian.org>
6326 * buffer.C: fix broken strerrors according to Lars
6328 2003-03-29 John Levon <levon@movementarian.org>
6330 * converters.C: more Alert cleanups
6332 2003-03-29 John Levon <levon@movementarian.org>
6334 * bufferview_funcs.C: remove pointless Alert
6336 * buffer.C: fix confusing error message when
6337 a template is chmoded 000
6339 2003-03-29 John Levon <levon@movementarian.org>
6343 * BufferView_pimpl.C: Alert fixes
6347 * tabular-old.C: remove unused table compat reading
6349 2003-03-29 John Levon <levon@movementarian.org>
6354 * lyx_cb.C: more Alert cleanups
6356 * lyxfunc.C: don't allow chktex if not latex document
6358 2003-03-29 John Levon <levon@movementarian.org>
6362 * buffer.C: warnings pushed down from support/,
6365 2003-03-29 John Levon <levon@movementarian.org>
6367 * lyxfunc.C: safety check for C-r (revert)
6369 2003-03-29 John Levon <levon@movementarian.org>
6372 * bufferlist.C: several UI fixes using Alert::prompt.
6373 Fix the pointless looping quit code. Fix stupid revert
6378 * lyx_cb.C: use Alert::prompt
6380 * lyx_main.C: remove a silly question
6382 * lyxfunc.C: remove a couple of silly questions,
6385 2003-03-28 John Levon <levon@movementarian.org>
6387 * text2.C: fix bug 974 (End on empty par)
6389 2003-03-28 John Levon <levon@movementarian.org>
6391 * BufferView_pimpl.C:
6393 * lfuns.h: remove do-nothing math greek lfuns
6395 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * lyxgluelength.h (isValidGlueLength): add default arg on
6398 parameter 2. Remove default arg from friend in class.
6400 * lyxlength.h (isValidLength): add default arg on parameter 2.
6401 Remove default arg from friend in class.
6403 * text2.C (LyXText): adjust, initialize refresh_row.
6407 (insertParagraph): adjst
6408 (redoParagraphs): adjust
6409 (fullRebreak): adjust
6410 (updateCounters): adjust
6411 (deleteEmptyParagraphMechanism): first attempt at fixing a
6414 * text.C (top_y): adjust
6415 (setHeightOfRow): adjust
6417 (getRowNearY): adjust
6419 * lyxtext.h: include RowList.h
6420 (~LyXText): not needed anymore, deleted.
6421 (firstRow): modify for RowList
6422 (lastRow): new function
6423 Delete firstrow and lastrow class variables, add a Rowlist
6424 rowlist_ class variable.
6426 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6429 * RowList.C (insert): fix case where it == begin().
6431 2003-03-26 Angus Leeming <leeming@lyx.org>
6433 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6434 the thesaurus dialog.
6436 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6440 * RowList.[Ch]: new files
6442 * ParagraphList.C (erase): handle the case where it == begin
6445 2003-03-25 John Levon <levon@movementarian.org>
6449 * aspell.C: add new aspell support
6452 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6455 2003-03-25 Angus Leeming <leeming@lyx.org>
6458 * LyXAction.C (init): new LFUN_INSET_INSERT.
6460 * BufferView_pimpl.C (dispatch): split out part of the
6461 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6463 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6466 2003-03-25 Angus Leeming <leeming@lyx.org>
6468 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6470 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6473 * text3.C: remove useless row->height(0)
6475 2003-03-25 John Levon <levon@movementarian.org>
6479 * text3.C: rename the refreshing stuff to better names
6481 2003-03-24 John Levon <levon@movementarian.org>
6483 * BufferView_pimpl.h:
6484 * BufferView_pimpl.C: update layout choice on a mouse
6487 2003-03-23 John Levon <levon@movementarian.org>
6489 * Makefile.am: fix commandtags.h reference
6491 2003-03-22 John Levon <levon@movementarian.org>
6493 * BufferView_pimpl.C:
6498 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6500 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6503 * text.C: take the rtl methods out of line
6505 2003-03-21 André Pönitz <poenitz@gmx.net>
6507 * metricsinfo.[Ch]: new files containing structures to be passed around
6508 during the two-phase-drawing...
6510 2003-03-21 André Pönitz <poenitz@gmx.net>
6512 * lyxtextclass.C: read 'environment' tag.
6514 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6516 * text2.C (removeRow): fix bug 964
6518 2003-03-20 John Levon <levon@movementarian.org>
6522 * text2.C: paint cleanups. Inset::update() dropped font
6525 2003-03-19 John Levon <levon@movementarian.org>
6527 * lyxfunc.C: only fitcursor/markDirty if available()
6529 2003-03-19 John Levon <levon@movementarian.org>
6531 * commandtags.h: rename to ...
6533 * lfuns.h: ... this, and renumber / cleanup
6535 2003-03-19 John Levon <levon@movementarian.org>
6537 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6538 fit the cursor after an lfun
6542 * BufferView_pimpl.h:
6543 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6545 * LyXAction.C: layout-character should have ReadOnly
6547 * ParagraphParameters.C:
6549 * bufferview_funcs.C:
6556 * undo_funcs.C: changes from above
6558 2003-03-18 John Levon <levon@movementarian.org>
6560 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6561 remove it from update()
6563 * lyxfunc.C: update layout choice after an lfun
6565 * text3.C: remove extra updateLayoutChoice()s
6567 2003-03-18 John Levon <levon@movementarian.org>
6569 * text.C: top_y change means full repaint, fix
6570 a drawing bug with cursor movement
6572 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6576 * text2.C: anchor row on setCursor
6578 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6580 * lyxtext.h: remove almost all mutable keywords
6583 * text3.C: remove const keywords accordingly
6585 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6589 (TeXEnvironment): ditto
6592 2003-03-17 John Levon <levon@movementarian.org>
6594 * text.C (rowBreakPoint): remove attempt to fix displayed
6595 math insets inside a manual label
6597 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * lyxtext.h: remove BufferView* as first arg from almost all class
6601 * other files: adjust.
6603 2003-03-17 John Levon <levon@movementarian.org>
6607 * text2.C: more paint cleanups
6609 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6612 * rowpainter.C: remove "smart" background painting code
6614 2003-03-16 John Levon <levon@movementarian.org>
6619 * text3.C: add helper functions for setting refresh_row/y
6621 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6623 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6624 newline inset which *can* get inserted in the pass_thru layouts.
6625 This is primarily for literate documents.
6627 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6629 * buffer.C: increment LYX_FORMAT to 223
6631 2003-03-14 André Pönitz <poenitz@gmx.net>
6633 * textclass.h: prepare for environment handling, ws changes
6634 * lyxlayout.C: read latexheader and latexfooter tags
6636 2003-03-14 John Levon <levon@movementarian.org>
6638 * text2.C: rewrite ::status() a bit
6640 2003-03-13 John Levon <levon@movementarian.org>
6642 * lyxtext.h: add some docs
6644 2003-03-13 John Levon <levon@movementarian.org>
6649 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6651 2003-03-13 John Levon <levon@movementarian.org>
6653 * text3.C: fix appendix redrawing
6655 2003-03-13 John Levon <levon@movementarian.org>
6657 * text.C (setHeightOfRow):
6659 * rowpainter.C: make appendix mark have the text
6660 "Appendix" so the user knows what it is
6663 * LColor.C: s/appendixline/appendix/ from above
6665 2003-03-13 John Levon <levon@movementarian.org>
6667 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6669 * text.C: fix a getChar(pos) bug properly
6671 2003-03-13 Angus Leeming <leeming@lyx.org>
6674 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6675 Probably only temporary. Let's see how things pan out.
6677 * BufferView.C (unlockInset):
6678 * BufferView_pimpl.C (fitCursor):
6679 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6681 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6682 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6684 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6685 new functions that convert ParagraphParameters to and from a string.
6687 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6688 BufferView::Pimpl's dispatch.
6689 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6691 2003-03-13 André Pönitz <poenitz@gmx.net>
6695 * factory.C: make it aware of InsetEnv
6697 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * text2.C (setCursor): never ask for one past last
6700 (setCursor): add some debugging messages.
6702 * text.C (singleWidth): never ask for one past last
6703 (singleWidth): ditto
6705 (rightMargin): ditto
6706 (rowBreakPoint): ditto
6707 (setHeightOfRow): ditto
6708 (prepareToPrint): ditto
6710 * rowpainter.C (paintBackground): never ask for one past last
6711 (paintText): never ask for one past last
6713 * paragraph_pimpl.C (getChar): make the assert stricter, never
6714 allow the one past last pos to be taken
6716 * paragraph.C (getChar): ws changes only
6718 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6719 (numberOfSeparators): ditto
6720 (numberOfHfills): ditto
6722 2003-03-12 John Levon <levon@movementarian.org>
6728 * paragraph_funcs.C: fix per-buffer authorlists
6730 2003-03-12 John Levon <levon@movementarian.org>
6732 * text.C: fix newline in right address
6734 2003-03-12 Angus Leeming <leeming@lyx.org>
6736 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6737 duplicate those in LyXFunc::dispatch.
6741 * ToolbarDefaults.C:
6742 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6743 Add LFUN_FONTFREE_UPDATE.
6745 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6746 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6748 * bufferview_func.[Ch]: several new functions to facilliate
6749 transfer of data to and from the character dialog.
6751 2003-03-12 John Levon <levon@movementarian.org>
6756 * paragraph_funcs.C:
6757 * paragraph_pimpl.C:
6761 * text3.C: remove META_NEWLINE in favour of an inset
6764 * rowpainter.C: remove paintNewline (done by inset)
6766 2003-03-12 John Levon <levon@movementarian.org>
6768 * paragraph_pimpl.C: complain about bad getChar()s
6769 for a while at least
6771 2003-03-12 John Levon <levon@movementarian.org>
6774 * buffer.C: move paragraph read into a separate function,
6775 a little renaming to reflect that.
6778 * bufferparams.C: remove the author_ids map, not necessary now
6781 * factory.C: moved Buffer::readInset to here
6783 * paragraph_funcs.h:
6784 * paragraph_funcs.C: readParagraph free function moved from
6787 * tabular.C: name change
6789 2003-03-12 John Levon <levon@movementarian.org>
6792 * ParagraphParameters.C: move par params input to
6795 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6796 behave like a normal read from the stream wrt reading
6797 a line vs. a \\token
6799 2003-03-12 John Levon <levon@movementarian.org>
6802 * ParagraphParameters.h:
6803 * ParagraphParameters.C: move output code to a
6806 2003-03-12 John Levon <levon@movementarian.org>
6808 * BufferView.C (insertLyXFile):
6811 * tabular.C: use a parlist iterator for creating the
6814 2003-03-12 John Levon <levon@movementarian.org>
6816 * buffer.C: make current_change static local not
6819 2003-03-12 John Levon <levon@movementarian.org>
6821 * buffer.C: fix insertStringAsLines for change tracking
6823 2003-03-12 John Levon <levon@movementarian.org>
6830 * bufferparams.C: move author list into params. Rename some
6831 functions. Move the header reading into a separate token
6832 loop. Move the header token reading into BufferParams.
6834 2003-03-12 John Levon <levon@movementarian.org>
6836 * changes.C: put debug inside lyxerr.debugging() checks
6838 2003-03-11 André Pönitz <poenitz@gmx.net>
6840 * factory.C: make it aware of InsetHFill
6842 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6844 * buffer.C (latexParagraphs): move function from here...
6845 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6848 2003-03-10 Angus Leeming <leeming@lyx.org>
6850 * LyXAction.C (init): fix bug in poplating array with multiple entries
6851 with the same LFUN (spotted by JMarc).
6853 2003-03-10 John Levon <levon@movementarian.org>
6856 * text2.C: move getColumnNearX() near its
6859 2003-03-10 John Levon <levon@movementarian.org>
6861 * text.C: fix break before a minipage
6863 2003-03-10 John Levon <levon@movementarian.org>
6865 * text.C: fix the last commit
6867 2003-03-09 John Levon <levon@movementarian.org>
6871 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6872 bug 365 (don't break before insets unless needed). Don't
6873 return a value > last under any circumstances.
6875 2003-03-09 Angus Leeming <leeming@lyx.org>
6877 * BufferView_pimpl.C (trackChanges, dispatch): call
6878 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6880 2003-03-09 Angus Leeming <leeming@lyx.org>
6882 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6883 than Dialogs::showAboutlyx().
6885 2003-03-09 Angus Leeming <leeming@lyx.org>
6887 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6888 than Dialogs::showTabularCreate().
6890 2003-03-09 John Levon <levon@movementarian.org>
6894 * text2.C: 3rd arg to nextBreakPoint was always the same.
6897 2003-03-08 John Levon <levon@movementarian.org>
6904 * text2.C: Remove the "main" bit from the "main body"
6907 2003-03-08 John Levon <levon@movementarian.org>
6909 * text.C (leftMargin): The left margin of an empty
6910 manual label paragraph should not include the label width
6913 * text.C (prepareToPrint): don't attempt to measure hfills
6914 for empty manual label paragraphs - the answer should be 0
6916 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * CutAndPaste.C: remove commented code and reindent.
6920 2003-03-08 John Levon <levon@movementarian.org>
6923 * lyxfunc.C: move reloadBuffer()
6926 * BufferView.C: to here
6928 * lyxvc.C: add comment
6931 * vc-backend.C: call bv->reload() to avoid
6932 getStatus() check on MENURELOAD
6934 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6936 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6937 to an old format .dep file.
6939 2003-03-07 Angus Leeming <leeming@lyx.org>
6941 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6942 when the LFUN_MOUSE_RELEASE should have been handled by
6943 inset->localDispatch.
6945 2003-03-07 Angus Leeming <leeming@lyx.org>
6947 * BufferView_pimpl.C (dispatch):
6948 * LyXAction.C (init):
6949 * ToolbarDefaults.C (init):
6951 * lyxfunc.C (getStatus):
6952 remove LFUN_INSET_GRAPHICS.
6954 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6956 2003-03-07 Angus Leeming <leeming@lyx.org>
6959 * LyXAction.C (init):
6960 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6962 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6965 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6967 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6968 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6970 2003-03-07 Angus Leeming <leeming@lyx.org>
6972 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6975 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * ParagraphList.C (front): new function
6980 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6982 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6983 and top_row_offset_. removed var first_y.
6985 * text2.C (LyXText, removeRow):
6987 * BufferView_pimpl.C:
6988 use these methods instead of using first_y
6990 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * text2.C (pasteSelection): adjust for checkPastePossible
6994 * CutAndPaste.C: remove Paragraph * buf and replace with
6995 ParagraphList paragraphs.
6996 (DeleteBuffer): delete
6997 (cutSelection): change the tc type to textclass_type
6998 (copySelection): change the tc type to textclass_type
6999 (copySelection): adjust for ParagraphList
7000 (pasteSelection): change the tc type to textclass_type
7001 (pasteSelection): adjust for Paragraphlist
7002 (nrOfParagraphs): simplify for ParagraphList
7003 (checkPastePossible): simplify for ParagraphList
7004 (checkPastePossible): remove unused arg
7006 * ParagraphList.C (insert): handle the case where there are no
7009 * CutAndPaste.h: make CutAndPaste a namespace.
7011 * text3.C (dispatch): adjust
7013 * text.C (breakParagraph): add a ParagraphList as arg
7015 * paragraph_funcs.C (breakParagraph): change to take a
7016 BufferParams and a ParagraphList as args.
7017 (breakParagraphConservative): ditto
7018 (mergeParagraph): ditto
7019 (TeXDeeper): add a ParagraphList arg
7020 (TeXEnvironment): ditto
7023 * buffer.C (readLyXformat2): adjust
7024 (insertStringAsLines): adjust
7025 (latexParagraphs): adjust
7027 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7028 (cutSelection): adjust
7029 (pasteSelection): adjust
7031 * BufferView_pimpl.C (insertInset): adjust
7033 2003-03-05 Angus Leeming <leeming@lyx.org>
7036 * LyXAction.C (init):
7037 * BufferView_pimpl.C (dispatch):
7038 * lyxfunc.C (getStatus):
7039 remove LFUN_CHILD_INSERT.
7041 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7043 2003-03-05 Angus Leeming <leeming@lyx.org>
7046 * LyXAction.C (init):
7047 * src/factory.C (createInset):
7048 * lyxfunc.C (getStatus):
7049 * text3.C (dispatch):
7050 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7052 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7054 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * ParagraphList.C (insert): handle insert right before end()
7057 (erase): fix cases where it can be first or last paragraph.
7059 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7061 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7062 Paragraph::next and Paragraph::previous
7065 * text.C (breakParagraph): adjust
7067 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7068 BufferParams& as arg.
7069 (breakParagraph): use ParagraphList::insert
7070 (breakParagraphConservative): take a Buffer* instead of a
7071 BufferParams& as arg.
7072 (breakParagraphConservative): use ParagraphList::insert.
7074 * buffer.C (insertStringAsLines): un-const it
7075 (insertStringAsLines): adjust
7077 * ParagraphList.C (insert): new function
7079 * CutAndPaste.C (pasteSelection): adjust
7081 * text.C (backspace): adjust
7083 * tabular.C (SetMultiColumn): adjust
7085 * CutAndPaste.C (cutSelection): adjust
7086 (pasteSelection): adjust
7088 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7089 Buffer const * as arg
7091 * ParagraphList.C (erase): new function
7092 * paragraph_funcs.C (mergeParagraph): use it
7093 (mergeParagraph): make it take a Buffer* instead of a
7094 BufferParams* as arg
7096 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7098 (breakParagraphConservative): ditto
7100 * paragraph.h: remove the breakParagraph friend
7102 * paragraph.C (eraseIntern): new function
7103 (setChange): new function
7105 * paragraph_funcs.C (mergeParagraph): make it take a
7106 ParagraphList::iterator instead of a Paragraph *, adjust
7109 * paragraph.h: move an #endif so that the change tracking stuff
7110 also works in the NO_NEXT case.
7112 2003-03-04 Angus Leeming <leeming@lyx.org>
7115 * LyXAction.C: new LFUN_INSET_MODIFY.
7117 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7118 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7120 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7122 * several files: ws changes only
7124 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7125 (TeXEnvironment): ditto
7128 * buffer.C (makeLaTeXFile): adjust
7129 (latexParagraphs): make it take ParagraphList::iterator as args
7131 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * buffer.C (latexParagraphs): adjust
7135 * paragraph.C (TeXOnePar): move function...
7136 (optArgInset): move function...
7137 (TeXEnvironment): move function...
7138 * paragraph_pimpl.C (TeXDeeper): move function...
7139 * paragraph_funcs.C: ...here
7141 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7143 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * buffer.C (readInset): remove compability code for old Figure and
7148 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * buffer.C: ws changes
7153 * BufferView_pimpl.C: ditto
7156 * bufferlist.h: ditto
7160 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7162 * converter.[Ch]: split into itself +
7165 * Makefile.am: += graph.[Ch] + format.[Ch]
7172 * lyxrc.C: added #include "format.h"
7174 2003-02-27 Angus Leeming <leeming@lyx.org>
7176 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7179 * factory.C (createInset): add "label" to the factory.
7181 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7182 string and do no more.
7184 2003-02-27 Angus Leeming <leeming@lyx.org>
7187 * LyXAction.C (init):
7188 * factory.C (createInset):
7189 * BufferView_pimpl.C (dispatch):
7190 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7192 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7194 * lyxfunc.C (dispatch):
7195 * text3.C (dispatch): pass name to params2string.
7197 2003-02-26 Angus Leeming <leeming@lyx.org>
7199 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7201 Rearrange the ~includes. Strip out the unnecessary ones.
7203 * factory.C (createInset): reformat.
7204 create new insets for the various LFUN_XYZ_APPLY lfuns.
7206 2003-02-26 John Levon <levon@movementarian.org>
7209 * lyxrow.C: add isParStart,isParEnd helpers
7211 * paragraph.h: make isInserted/DeletedText take refs
7213 * paragraph_funcs.h:
7214 * paragraph_funcs.C: remove #if 0'd code
7219 * text.C: use lyxrow helpers above.
7220 Move draw and paint routines to RowPainter.
7221 Make several methods use refs not pointers.
7222 Make backgroundColor() const.
7223 Add markChangeInDraw(), isInInset().
7224 Merge changeRegionCase into changeCase.
7225 Make workWidth() shouldn't-happen code into an Assert.
7228 * rowpainter.C: new class for painting a row.
7231 * vspace.C: make inPixels take a ref
7233 2003-02-26 Angus Leeming <leeming@lyx.org>
7235 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7238 2003-02-25 John Levon <levon@movementarian.org>
7240 * ispell.C: give the forked command a more accurate name
7242 2003-02-22 John Levon <levon@movementarian.org>
7245 * toc.C: make TocItem store an id not a Paragraph *
7248 2003-02-21 Angus Leeming <leeming@lyx.org>
7250 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7251 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7252 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7253 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7254 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7255 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7257 * BufferView_pimpl.C (dispatch):
7258 * LyXAction.C (init):
7259 * factory.C (createInset):
7260 * lyxfunc.C (getStatus, dispatch):
7261 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7263 2003-02-21 Angus Leeming <leeming@lyx.org>
7265 * BufferView_pimpl.C (MenuInsertLyXFile):
7266 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7267 * lyxfunc.C (menuNew, open, doImport):
7268 no longer pass a LyXView & to fileDlg.
7270 2003-02-21 Angus Leeming <leeming@lyx.org>
7272 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7273 * LyXAction.C: change, BIBKEY to BIBITEM.
7274 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7275 Change InsetBibKey to InsetBibitem.
7276 Change BIBKEY_CODE to BIBITEM_CODE.
7277 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7278 * factory.C: replace insetbib.h with insetbibitem.h.
7279 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7280 * paragraph.C: replace insetbib.h with insetbibitem.h.
7281 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7282 Change bibkey() to bibitem().
7283 * text.C: remove insetbib.h.
7284 * text2.C: replace insetbib.h with insetbibitem.h.
7285 change bibkey() to bibitem().
7286 * text3.C: remove insetbib.h.
7287 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7289 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7291 * lyxrc.C (output): enclose user email in quotes (in case there are
7294 2003-02-18 John Levon <levon@movementarian.org>
7296 * buffer.h: add std::
7298 2003-02-17 John Levon <levon@movementarian.org>
7304 * pspell.C: reworking. Especially in ispell, a large
7305 number of clean ups and bug fixes.
7307 * lyxfunc.C: fix revert to behave sensibly
7309 2003-02-17 André Pönitz <poenitz@gmx.net>
7312 * commandtags.h: new LFUN_INSERT_BIBKEY
7322 * paragraph_func.C: remove special bibkey handling
7324 2003-02-17 John Levon <levon@movementarian.org>
7326 * text.C (Delete): fix case where delete at the end of
7327 the very first paragraph would not merge the pars
7329 2003-02-17 John Levon <levon@movementarian.org>
7331 * lyxrow.C: fix lastPrintablePos()
7333 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7335 * bufferparams.C (writeLaTeX): add a std:here
7337 * buffer.C: and remove a using directive there
7339 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7341 * buffer.C (makeLaTeXFile): move the code that generates the
7344 * bufferparams.C (writeLaTeX): ... in this new method
7346 * LaTeXFeatures.C (getEncodingSet): make const
7347 (getLanguages): make const
7349 * MenuBackend.C (binding): returns the binding associated to this
7351 (add): sets the status of each item by calling getStatus. Adds
7353 (read): add support for OptSubMenu
7354 (expand): remove extra separator at the end of expanded menu
7356 2003-02-15 John Levon <levon@movementarian.org>
7359 * BufferView_pimpl.C:
7361 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7362 inset code that had no actual effect. Remove unneeded status
7365 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7367 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7370 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7372 * text.C (drawLengthMarker): also draw an arrow marker for
7373 symbolic lengths (medskip...)
7375 2003-02-14 John Levon <levon@movementarian.org>
7378 * tabular.C: better method names
7380 2003-02-14 John Levon <levon@movementarian.org>
7382 * BufferView_pimpl.C:
7387 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7388 it's a more accurate name. Remove some pointless uses.
7390 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7392 * text2.C (LyXText): change order of initilizers to shut off
7395 2003-02-14 John Levon <levon@movementarian.org>
7397 * buffer.C: use ParIterator for getParFromID()
7401 * paragraph_pimpl.h:
7402 * paragraph_pimpl.C: remove unused getParFromID()
7404 2003-02-14 John Levon <levon@movementarian.org>
7406 * buffer.C: remove some very old #if 0'd parse code
7408 2003-02-13 John Levon <levon@movementarian.org>
7412 * text2.C: move hfillExpansion(), numberOfSeparators(),
7413 rowLast(), rowLastPrintable(), numberofHfills(),
7414 numberOfLabelHfills() ...
7417 * lyxrow.C: ... to member functions here.
7422 * text.C: remove LyXText::beginningOfMainBody(), and call
7423 p->beginningOfMainBody() directly. Move the check for
7424 LABEL_MANUAL into the latter.
7431 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7437 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7438 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7440 2003-02-13 John Levon <levon@movementarian.org>
7442 * CutAndPaste.C: remove debug
7444 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7446 * paragraph.C (asString): remove two unused variables
7448 * lyxtextclass.C (readTitleType):
7450 (LyXTextClass): handle new members titletype_ and titlename_
7452 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7454 2003-02-09 John Levon <levon@movementarian.org>
7457 * buffer.C: replace hand-coded list with a map for the dep clean
7459 2003-02-08 John Levon <levon@movementarian.org>
7461 * LaTeX.C: consolidate code into showRunMessage() helper
7463 2003-02-08 John Levon <levon@movementarian.org>
7468 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7469 and pass the size in explicitly
7471 * BufferView_pimpl.h:
7472 * BufferView_pimpl.C:
7474 * BufferView.C: add getCurrentChange()
7476 * BufferView_pimpl.h:
7477 * BufferView_pimpl.C: handle change lfuns
7479 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7480 for changes. Mark pasted paragraphs as new.
7482 * support/lyxtime.h:
7483 * support/lyxtime.C:
7484 * DepTable.C: abstract time_t as lyx::time_type
7487 * LColor.C: add colours for new text, deleted text, changebars
7489 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7490 package use "usenames" option.
7494 * LyXAction.C: add change lfuns
7498 * author.C: author handling
7501 * buffer.C: add a per-buffer author list, with first entry as
7502 current author. Handle new .lyx tokens for change tracking. Output
7503 author list to .lyx file. Output dvipost stuff to .tex preamble.
7504 Bump lyx format to 222.
7507 * bufferlist.C: add setCurrentAuthor() to reset current author details
7511 * bufferparams.C: add param for tracking
7513 * bufferview_funcs.C: output change info in minibuffer
7517 * changes.C: add change-tracking structure
7520 * debug.C: add CHANGES debug flag
7523 * lyxfind.C: add code for finding the next change piece
7526 * lyxrc.C: add user_name and user_email
7529 * lyxrow.C: add a metric for the top of the text line
7532 * text.C: implement accept/rejectChange()
7535 * text.C: paint changebars. Paint new/deleted text in the chosen
7536 colours. Strike through deleted text.
7540 * paragraph_pimpl.h:
7541 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7542 in the current change to the insert functions. Rework erase to
7543 mark text as deleted, adding an eraseIntern() and a range-based
7544 erase(). Implement per-paragraph change lookup and
7547 * paragraph_funcs.C: Fixup paste for change tracking.
7549 * tabular.C: mark added row/columns as new.
7551 * text.C: fix rowLast() to never return -1. Don't allow
7552 spellchecking of deleted text. Track transpose changes. Don't
7553 allow paragraph break or merge where appropriate.
7555 * text2.C: leave cursor at end of selection after a cut.
7557 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7559 * text.C (getLengthMarkerHeight):
7560 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7561 visible on screen too.
7563 2003-02-07 John Levon <levon@movementarian.org>
7565 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7567 2003-02-05 Angus Leeming <leeming@lyx.org>
7569 * lyxserver.C (read_ready): revert my patch of 11 September last year
7570 as it sends PC cpu through the roof. Presumably this means that
7571 the lyxserver will no longer run on an Alpha...
7573 2003-01-30 Angus Leeming <leeming@lyx.org>
7575 * factory.C (createInset): create an InsetCommandParam of type "index"
7576 and use it to 'do the right thing'.
7578 * text2.C (getStringToIndex): ensure that cursor position is always
7579 reset to the reset_cursor position.
7581 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7583 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7586 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7590 * lyxfunc.C: Output messages with identical spelling, punctuation,
7593 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7595 * MenuBackend.C (expandFormats): List only viewable export formats
7598 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7601 * lyxfunc.C (getStatus): Make sure that formats other than
7602 "fax" can also be disabled
7604 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7606 * text3.C (dispatch): put the lfuns that insert insets in 3
7607 groups, and call doInsertInset with appropriate arguments.
7608 (doInsertInset): new function, that creates an inset and inserts
7609 it according to some boolean parameters.
7611 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * buffer.C (readFile): remember to pass on 'par' when calling
7614 readFile recursively.
7616 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7618 * MenuBackend.C (expandFormats): add "..." to import formats.
7620 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7622 * paragraph.C (asString): Remove XForms RTL hacks.
7624 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7625 * buffer.C: fix typo
7627 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * Makefile.am (LIBS): delete var
7630 (lyx_LDADD): add @LIBS@ here instead.
7632 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7634 * Clarify the meaning of "wheel mouse jump"
7636 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7638 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7641 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7643 * importer.C (Loaders): do not preallocate 3 elements in the
7644 vector, since one ends up with 6 elements otherwise
7646 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7648 * DepTable.C (write): write the file name as last element of the
7649 .dep file (because it may contain spaces)
7650 (read): read info in the right order
7652 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * paragraph_pimpl.C (simpleTeXBlanks):
7655 (simpleTeXSpecialChars):
7656 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7658 * tabular.C (latex): add some missing case statements. Reindent.
7660 * MenuBackend.C (expandToc): remove unused variable.
7662 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7671 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7674 2003-01-05 John Levon <levon@movementarian.org>
7677 * BufferView.C: add getEncoding()
7680 * kbsequence.C: do not store last keypress
7683 * lyxfunc.C: store last keypress here instead. Pass encoding
7686 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7688 * lyx_main.C (init): remove annoying error message when following
7689 symbolic links (bug #780)
7691 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7693 * text.C (insertChar):
7694 * lyxrc.C (getDescription): remove extra spaces
7696 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7698 * lyxrc.C (getDescription): remove extra spaces
7700 2002-12-20 John Levon <levon@movementarian.org>
7702 * text3.C: hack fix for page up/down across tall rows
7704 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7706 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7709 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7711 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7712 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7713 thesaurus is not compiled in
7715 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7717 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7719 2002-12-16 Angus Leeming <leeming@lyx.org>
7722 * lyx_main.C (init): remove override_x_deadkeys stuff.
7724 2002-12-12 John Levon <levon@movementarian.org>
7726 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7727 insert. Only remove shift modifier under strict
7730 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * MenuBackend.C (expandToc): fix crash.
7734 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * MenuBackend.C (expandToc): gettext on float names.
7738 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7740 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7741 implement bool empty() [bug 490]
7743 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7745 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7747 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7749 * several files: ws changes
7751 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * text2.C (setCounter): clean up a bit, use boost.format.
7754 (updateCounters): initialize par upon declaration.
7756 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7757 if the layout exists. We do not just store the layout any more.
7758 (SwitchLayoutsBetweenClasses): use boost.format
7760 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7762 * converter.C (convert): if from and to files are the same, use a
7763 temporary files as intermediary
7765 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7768 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7770 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7772 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7774 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * tabular.C (asciiPrintCell): use string(size, char) instead of
7779 * sgml.C (openTag): fix order of arguments to string constructor
7782 * lyxfunc.C (dispatch): use boost.format
7784 * lots of files: change "c" -> 'c'
7786 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7788 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7790 2002-11-25 Angus Leeming <leeming@lyx.org>
7792 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7794 * lyx_main.C (init): compile fix.
7796 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * lyx_cb.C (start): boost.formatify
7799 do not include <iostream>
7801 * lengthcommon.C: ws only
7803 * boost-inst.C,BoostFormat.h: add more explict instantations
7805 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * lots of files: handle USE_BOOST_FORMAT
7809 2002-11-21 John Levon <levon@movementarian.org>
7811 * pspell.C: fix compile
7813 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7815 * lyxfunc.C (dispatch): use boost::format
7819 * lyxfont.C (stateText): use boost::format
7821 * lyx_main.C (LyX): use boost::format
7823 (queryUserLyXDir): ditto
7826 (typedef boost::function): use the recommened syntax.
7828 * importer.C (Import): use boost::format
7830 * debug.C (showLevel): use boost::format
7832 * converter.C (view): use boost::format
7837 * bufferview_funcs.C (currentState): use boost::format
7839 * bufferlist.C (emergencyWrite): use boost::format
7841 * buffer.C (readLyXformat2): use boost::format
7842 (parseSingleLyXformat2Token): ditto
7844 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7846 * LaTeX.C (run): use boost::format
7848 * Chktex.C (scanLogFile): use boost::format
7850 * BufferView_pimpl.C (savePosition): use boost::format
7851 (restorePosition): ditto
7852 (MenuInsertLyXFile): ditto
7854 * BoostFormat.h: help file for explicit instation.
7856 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7858 * tabular.C (latex): Support for block alignment in fixed width
7861 2002-11-17 John Levon <levon@movementarian.org>
7863 * BufferView_pimpl.C:
7865 * lyxfunc.C: split filedialog into open/save
7867 2002-11-08 Juergen Vigna <jug@sad.it>
7869 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7870 by my last patch (hopefully).
7872 2002-11-08 John Levon <levon@movementarian.org>
7881 * toc.C: ParConstIterator, and use it (from Lars)
7883 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7885 * lyxtextclass.[Ch]: revise and add doxygen comments
7887 2002-11-07 John Levon <levon@movementarian.org>
7889 * text.C: fix progress value for spellchecker
7891 * toc.C: fix navigate menu for insetwrap inside minipage
7893 * paragraph_funcs.C: added FIXME for suspect code
7895 2002-11-07 John Levon <levon@movementarian.org>
7897 * BufferView_pimpl.C: fix redrawing of insets
7900 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7902 * text2.C (updateCounters): fix bug 668
7904 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7906 * text3.C (dispatch): Do not make the buffer dirty when moving the
7909 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * vc-backend.C: STRCONV
7914 * text2.C (setCounter): STRCONV
7916 * paragraph.C (asString): STRCONV
7918 * lyxlength.C (asString): STRCONV
7919 (asLatexString): ditto
7921 * lyxgluelength.C (asString): STRCONV
7922 (asLatexString): ditto
7924 * lyxfunc.C (dispatch): STRCONV
7927 * lyxfont.C (stateText): STRCONV
7929 * importer.C (Import): STRCONV
7931 * counters.C (labelItem): STRCONV
7932 (numberLabel): ditto
7933 (numberLabel): remove unused ostringstream o
7938 * bufferview_funcs.C (currentState): STRCONV
7940 * buffer.C (readFile): STRCONV
7941 (asciiParagraph): ditto
7942 (makeLaTeXFile): ditto
7944 * Spacing.C (writeEnvirBegin): STRCONV
7946 * LaTeXFeatures.C (getLanguages): STRCONV
7947 (getPackages): ditto
7949 (getBabelOptions): ditto
7950 (getTClassPreamble): ditto
7951 (getLyXSGMLEntities): ditto
7952 (getIncludedFiles): ditto
7956 (scanAuxFile): ditto
7959 * LString.h: add the STRCONV macros
7961 * BufferView_pimpl.C (savePosition): STRCONV
7962 (restorePosition): ditto
7963 (MenuInsertLyXFile): ditto
7965 * vc-backend.C (scanMaster): change from submatch[...] to
7968 * funcrequest.C: include config.h
7970 * factory.C: include config.h
7972 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7974 * box.C: include config.h
7976 * LaTeX.C (scanAuxFile): change from submatch[...] to
7980 2002-10-25 Angus Leeming <leeming@lyx.org>
7982 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7984 * ispell.[Ch] (setError): new method.
7985 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7986 Use setError() insetead of goto END.
7988 * lyx_cb.C (AutoSave): move out child process into new class
7991 2002-10-30 John Levon <levon@movementarian.org>
7993 * text3.C: make start appendix undoable
7995 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7997 * lyxlength.C (inPixels): Fix returned value.
7999 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8002 2002-10-24 Angus Leeming <leeming@lyx.org>
8004 * lyxgluelength.h: no need to forward declare BufferParams
8005 or BufferView, so don't.
8007 2002-10-21 John Levon <levon@movementarian.org>
8009 * BufferView.C: menuUndo ->undo, redo
8011 * BufferView.h: document, remove dead, make some methods private
8013 * paragraph_funcs.h:
8014 * paragraph_funcs.C:
8015 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8020 * sgml.C: move sgml open/close tag into sgml.C
8022 * bufferview_funcs.h: unused prototype
8025 * lyxfunc.C: remove unused
8028 * text.C: remove unused
8030 2002-10-21 John Levon <levon@movementarian.org>
8034 * BufferView_pimpl.h:
8035 * BufferView_pimpl.C: fix mouse wheel handling based on
8036 patch from Darren Freeman
8038 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8040 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8042 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8044 * lyxlength.C (inPixels): Fix hanfling of negative length.
8045 Fix LyXLength::MU case.
8047 2002-10-16 John Levon <levon@movementarian.org>
8049 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8051 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8053 * converter.C (view): add support for $$i (file name) and $$p
8054 (file path) for the viewer command. If $$i is not specified, then
8055 it is appended to the command (for compatibility with old syntax)
8057 2002-10-14 Juergen Vigna <jug@sad.it>
8059 * undo_funcs.C (textHandleUndo): alter the order in which the
8060 new undopar is added to the LyXText, as we have to set first
8061 the right prev/next and then add it as otherwise the rebuild of
8062 LyXText is not correct. Also reset the cursor to the right paragraph,
8063 with this IMO we could remove the hack in "redoParagraphs()".
8065 2002-10-09 Angus Leeming <leeming@lyx.org>
8067 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8068 to turn off an optimisation if a new inset is to be inserted.
8070 2002-10-11 André Pönitz <poenitz@gmx.net>
8072 * lyxtext.h: make some functions public to allow access
8073 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8075 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * text3.C (dispatch): when changing layout, avoid an infinite loop
8080 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * lyxrc.C (read): treat a viewer or converter command of "none" as
8085 * MenuBackend.C (expandFormats): for an update, also allow the
8086 formats that are not viewable
8088 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8089 script if it is newer than the lyxrc.defaults in user directory
8091 2002-10-07 André Pönitz <poenitz@gmx.net>
8093 * text.C: Vitaly Lipatov's small i18n fix
8095 2002-09-25 Angus Leeming <leeming@lyx.org>
8097 * ispell.h: doxygen fix.
8099 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8101 * buffer.h (readFile): Add a new argument to the method, to allow
8102 reading of old-format templates.
8104 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8106 * toc.C (getTocList): Get TOC from InsetWrap.
8108 2002-09-16 John Levon <levon@movementarian.org>
8110 * lyxfunc.C: check tabular for cut/copy too
8112 2002-09-12 John Levon <levon@movementarian.org>
8117 * factory.C: add header
8119 * paragraph_funcs.h:
8120 * paragraph_funcs.C: cleanup
8122 2002-09-11 John Levon <levon@movementarian.org>
8124 * PrinterParams.h: odd/even default to true
8126 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8128 * PrinterParams.h: update printer parameters for new xforms dialog
8130 2002-09-11 Angus Leeming <leeming@lyx.org>
8132 * lyxserver.C (read_ready): re-write to make it more transparent
8133 and to make it work in coherent fashion under Tru64 Unix.
8135 2002-09-11 André Pönitz <poenitz@gmx.net>
8139 * text3.C: implement LFUN_WORDSEL
8141 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8144 make floatlist_ a boost::shared_ptr<FloatList>
8146 * lyxtextclass.C: include FloatList.h
8147 (LyXTextClass): initialize floatlist_
8148 (TextClassTags): add TC_NOFLOAT
8149 (Read): match "nofloat" to TC_NOFLOAT and use it.
8150 (readFloat): modify call to floatlist_
8154 * FloatList.[Ch] (FloatList): remove commented out float
8156 (erase): new function
8158 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8160 * MenuBackend.C (expandToc): fix crash when there is no document
8163 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8165 * many files: Add insetwrap.
8167 2002-09-09 John Levon <levon@movementarian.org>
8169 * text2.C: remove confusing and awkward depth wraparound
8171 2002-09-09 John Levon <levon@movementarian.org>
8173 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8176 * buffer.C: remove getIncludeonlyList()
8179 * lyxfunc.C: remove headers
8181 2002-09-09 Juergen Vigna <jug@sad.it>
8183 * text.C (getColumnNearX): fix form Michael this is most
8184 probably a cut&paste bug.
8186 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8190 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8191 references, ws changes.
8193 * text2.C (init): update counters after init
8194 (insertParagraph): no need to set counter on idividual paragraphs.
8195 (setCounter): access the counters object in the textclass object
8196 on in the buffer object.
8197 (updateCounters): ditto
8199 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8200 shared_ptr<Counters> to avoid loading counters.h in all
8202 (LyXTextClass): initialize ctrs_
8203 (TextClassTags): add TC_COUNTER, and ...
8204 (Read): use it here.
8205 (CounterTags): new tags
8206 (readCounter): new function
8207 (counters): new funtion
8208 (defaultLayoutName): return a const reference
8210 * counters.C (Counters): remove contructor
8211 (newCounter): remove a couple of unneeded statements.
8212 (newCounter): simplify a bit.
8213 (numberLabel): some small formatting changes.
8215 * buffer.[Ch]: remove all traces of counters, move the Counters
8216 object to the LyXTextClass.
8218 2002-09-06 Alain Castera <castera@in2p3.fr>
8220 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8221 package to set the horizontal alignment on fixed width columns.
8224 * lyx_sty.h: added tabularnewline macro def.
8226 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8228 2002-09-06 John Levon <levon@movementarian.org>
8230 * LyXAction.C: tooltips for sub/superscript
8232 * MenuBackend.C: a bit more verbose
8234 * lyxfunc.C: tiny clean
8236 * undo_funcs.C: document undo_frozen
8238 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * counters.C (Counters): add missing algorithm counter.
8242 * text2.C (setCounter): lookup the counter with layouts latexname
8243 instead of by section number.
8244 (setCounter): use a hackish way to lookup the correct enum
8246 a float name->type change
8247 reset enum couners with counter name directly instead of depth value.
8249 * counters.C (Counters): remove the push_backs, change to use the
8250 float type not the float name.
8251 (labelItem): remove unused string, float name->type change
8253 * counters.h: don't include vector, loose the enums and sects vectors
8255 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8258 (Read): add float->TC_FLOAT to textclassTags
8259 (Read): and handle it in the switch
8260 (readFloat): new function
8262 * FloatList.C (FloatList): comment out the hardcoded float
8265 * lyxlayout.h: ws change.
8267 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8269 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8271 2002-09-03 Angus Leeming <leeming@lyx.org>
8273 * BufferView_pimpl.h: qualified name is not allowed in member
8274 declaration: WorkArea & Pimpl::workarea() const;
8276 * factory.C: added using std::endl directive.
8278 * text3.C: added using std::find and std::vector directives.
8280 2002-08-29 André Pönitz <poenitz@gmx.net>
8283 * text2.C: remove unused member number_of_rows
8286 * BufferView2.C: remove file, move contents to...
8287 * BufferView.C: ... here
8289 * BufferView_pimpl.C:
8290 * factory.C: move more inset creation to factory
8292 * vspace.C: avoid direct usage of LyXText, ws changes
8295 don't provide direct access to WorkArea, use two simple
8296 acessors haveSelction() and workHeight() instead
8299 2002-08-29 John Levon <levon@movementarian.org>
8301 * BufferView_pimpl.C (dispatch): do not continue when
8304 2002-08-28 André Pönitz <poenitz@gmx.net>
8306 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8309 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8311 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8313 * buffer.C: increment LYX_FORMAT to 221
8315 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8316 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8318 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8320 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8322 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8324 * factory.C (createInset): use LyXTextClass::floats
8326 * MenuBackend.C (expandFloatListInsert):
8327 (expandFloatInsert):
8330 * text2.C (setCounter):
8332 * LaTeXFeatures.C (useFloat):
8333 (getFloatDefinitions):
8335 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8337 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8338 floatlist_, with accessor floats().
8340 * FloatList.h: remove global FloatList
8342 2002-08-26 André Pönitz <poenitz@gmx.net>
8344 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8348 * BufferView_pimpl.C:
8349 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8351 2002-08-25 John Levon <levon@movementarian.org>
8353 * LyXAction.C: fix margin note description
8355 2002-08-24 John Levon <levon@movementarian.org>
8359 * bufferview_funcs.C:
8361 * undo_funcs.C: cleanups
8363 * lyxfunc.C: disable CUT/COPY when no selection
8365 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8367 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8368 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8370 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8371 Add backward compatibility to "mono", "gray" and "no".
8373 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8375 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8376 (and file_format >= 200).
8378 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8380 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8382 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8384 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8386 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8388 * BufferView_pimpl.C:
8395 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8396 inset and code to make it work with the paragraph code. The inset
8397 can be anywhere in the paragraph, but will only do the expected
8398 thing in LaTeX if the layout file contains the parameter line
8400 (or more generally, a nonzero value) for that layout.
8402 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8404 * paragraph.h: remove the declaration of undefined counters class
8407 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8409 * text2.C (setCounter): fixed enumeration mis-count as reported by
8410 Dr. Richard Hawkins.
8412 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8414 * paragraph_funcs.h: remove some unneeded includes
8416 * text.C (backspace): pasteParagraph now in global scipe
8418 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8419 (pasteSelection): ditto
8421 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8422 * paragraph_funcs.C (pasteParagraph): ... here
8424 2002-08-20 André Pönitz <poenitz@gmx.net>
8426 * commandtags.h: new LFUNs for swapping/copying table row/colums
8429 * lyxfunc.C: support for new lfuns
8431 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * buffer.[Ch]: remove NO_COMPABILITY stuff
8436 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8438 * boost.C (throw_exception): new file, with helper function for
8439 boost compiled without exceptions.
8444 * ParameterStruct.h:
8445 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8447 * bufferlist.C (emergencyWriteAll): use boost bind
8449 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8451 * text.C: include paragraph_funcs.h
8452 (breakParagraph): breakParagraph is now in global scope
8454 * paragraph_funcs.[Ch]: new files
8456 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8459 * buffer.C: include paragraph_funcs.h
8460 (insertStringAsLines): breakParagraph is now in global scope
8462 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8465 * CutAndPaste.C: include paragraph_funcs.h
8466 (cutSelection): breakParagraphConservative is now in global scope
8467 (pasteSelection): ditto
8469 * buffer.h: declare oprator== and operator!= for
8470 Buffer::inset_iterator
8472 * bufferlist.C (emergencyWrite): don't use fmt(...)
8474 * text3.C: add using std::endl
8476 * BufferView.C (moveCursorUpdate): remove default arg
8478 2002-08-20 André Pönitz <poenitz@gmx.net>
8480 * buffer.[Ch]: move inline functions to .C
8483 * BufferView_pimpl.C:
8485 * buffer.[Ch]: use improved inset_iterator
8488 * paragraph.[Ch]: write one paragraph at a time
8490 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8492 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8493 style if style is not specified.
8495 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8497 * text2.C (setCounter): when searching for right label for a
8498 caption, make sure to recurse to parent insets (so that a caption
8499 in a minipage in a figure float works) (bug #568)
8501 2002-08-20 André Pönitz <poenitz@gmx.net>
8503 * text3.C: new file for LyXText::dispatch() and helpers
8505 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8507 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8509 2002-08-19 André Pönitz <poenitz@gmx.net>
8512 * text.C: new LyXText::dispatch()
8514 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8516 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8518 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8520 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8523 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * Makefile.am: use $(variables) instead of @substitutions@
8527 2002-08-15 André Pönitz <poenitz@gmx.net>
8530 * BufferView_pimpl.C: streamlining mathed <-> outer world
8534 * LyXAction.C: remove unused LFUN_MATH
8536 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8540 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8542 * paragraph.C (Paragraph): reformat a bit
8543 (cutIntoMinibuffer): use builtin InsetList function instad of
8547 * buffer.C: include boost/bind.hpp, add using std::for_each
8548 (writeFileAscii): use ParagraphList iterators
8549 (validate): use for_each for validate traversal of paragraphs
8550 (getBibkeyList): use ParagraphList iterators
8551 (resizeInsets): use for_each to resizeInsetsLyXText for all
8553 (getParFromID): use ParagraphList iterators
8555 * BufferView2.C (lockInset): use paragraph list and iterators
8557 2002-08-14 John Levon <levon@movementarian.org>
8559 * lyxserver.C: remove spurious xforms include
8561 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8563 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8565 2002-08-13 André Pönitz <poenitz@gmx.net>
8568 * lyxfunc.C: further cleaning
8570 2002-08-13 André Pönitz <poenitz@gmx.net>
8572 * funcrequest.h: new constructor
8574 * funcrequest.C: move stuff here from .h
8577 * BufferView_pimpl.C:
8580 * lyxfunc.C: subsequent changes
8582 * lyxfunc.h: new view() member function
8584 * lyxfunc.C: subsequent changes
8586 2002-08-13 Angus Leeming <leeming@lyx.org>
8589 * BufferView_pimpl.C:
8597 changes due to the changed LyXView interface that now returns references
8598 to member variables not pointers.
8600 2002-08-13 Angus Leeming <leeming@lyx.org>
8602 * WordLangTuple (word, lang_code): return references to strings,
8607 * lyxtext.h: forward-declare WordLangTuple.
8612 * text.C: #include "WordLangTuple.h".
8615 * text.C: (selectNextWordToSpellcheck): constify return type.
8617 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8623 * paragraph_pimpl.h:
8626 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8628 Made updateCounter always count from start of buffer, and removed
8629 second argument (par).
8630 Reverted floats number display to '#'. Perhaps I'll try again when the
8631 code base is sanitized a bit.
8633 2002-08-12 Angus Leeming <leeming@lyx.org>
8635 * buffer.[Ch] (getLabelList): constify.
8637 2002-08-07 André Pönitz <poenitz@gmx.net>
8639 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8641 * funcrequest.h: extension to keep mouse (x,y) position
8643 2002-08-12 Juergen Vigna <jug@sad.it>
8645 * BufferView2.C (insertErrors): forbid undo when inserting error
8648 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8650 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8652 * ParagraphList.[Ch]: new files
8654 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8656 * BufferView2.C (lockInset): ParagraphList changes
8659 * bufferlist.C: ditto
8663 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8666 unused class variable counter_,
8668 * paragraph.[Ch] (getFirstCounter): delete unused function
8670 * counters.C: include LAssert.h
8671 (reset): add a new function with no arg, change other version to
8672 not have def. arg and to not allow empty arg.
8674 * text2.C (setCounter): remove empty arg from call to Counters::reset
8676 2002-08-11 John Levon <levon@movementarian.org>
8678 * Makefile.am: add WordLangTuple.h
8680 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8683 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8685 * insets/insettext.C: InsetList changes
8687 * graphics/GraphicsSupport.C (operator()): InsetList changes
8689 * toc.C (getTocList): InsetList changes
8691 * paragraph_pimpl.[Ch]: InsetList changes
8693 * paragraph.[Ch]: InsetList changes
8695 * buffer.C (inset_iterator): InsetList changes
8696 (setParagraph): ditto
8697 * buffer.h (inset_iterator): ditto
8698 * iterators.C (operator++): ditto
8699 * iterators.h: ditto
8701 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8703 * InsetList.[Ch]: new files, most InsetList handling moved out of
8706 * BufferView2.C (removeAutoInsets): InsetList changes
8708 (ChangeInsets): ditto
8710 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * paragraph_pimpl.h (empty): new function
8714 * paragraph.[Ch] (empty): new function
8716 * other files: use the new Paragraph::empty function
8718 2002-08-09 John Levon <levon@movementarian.org>
8720 * lyxtext.h: remove unused refresh_height
8722 2002-08-09 John Levon <levon@movementarian.org>
8729 * paragraph.C: move sgml char escaping out of paragraph
8732 * paragraph.C: remove id setter
8736 * paragraph_pimpl.C: remove dead tex_code_break_column
8738 * bufferview_funcs.C: small cleanup
8740 * lyxfunc.C: remove dead proto
8742 * lyxtext.h: make some stuff private. Remove some dead stuff.
8744 * lyxgluelength.C: make as[LyX]String() readable
8746 2002-08-08 John Levon <levon@movementarian.org>
8751 * ToolbarDefaults.C:
8754 * toc.C: lyxaction cleanup
8756 2002-08-08 John Levon <levon@movementarian.org>
8758 * BufferView2.C: small cleanup
8761 * lyxfind.C: move unnecessary header into the .C
8763 2002-08-08 John Levon <levon@movementarian.org>
8765 * funcrequest.h: just tedious nonsense
8768 * lyx_main.C: cleanups
8771 * vspace.C: remove dead header lyx_main.h
8773 2002-08-07 Angus Leeming <leeming@lyx.org>
8776 * paragraph_pimpl.h:
8777 Forward declare class Counters in paragraph.h by moving the ctrs member
8778 variable into Paragraph::Pimpl.
8779 (counters): new method, returning a reference to pimpl_->ctrs.
8781 * text2.C: ensuing changes.
8783 2002-08-07 John Levon <levon@movementarian.org>
8785 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8787 * BufferView_pimpl.C: announce X selection on double/triple
8790 * lyx_main.C: use correct bool in batch dispatch
8792 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8794 2002-08-07 André Pönitz <poenitz@gmx.net>
8796 * funcrequest.h: new class to wrap a kb_action and its argument
8799 * BufferView_pimpl[Ch]:
8803 * lyxrc.C: subsequent changes
8806 2002-08-07 John Levon <levon@movementarian.org>
8808 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8809 document options change.
8811 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8816 * makefile.am: move counters functionality over from
8817 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8819 2002-08-06 John Levon <levon@movementarian.org>
8821 * WordLangTuple.h: new file for word + language code tuple
8832 * BufferView2.C: use WordLangTuple
8835 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8837 2002-08-06 John Levon <levon@movementarian.org>
8839 * lyx_main.C: fix cmdline batch handling
8841 2002-08-06 André Pönitz <poenitz@gmx.net>
8843 * lyxrc.C: set default for show_banner to true
8845 2002-08-06 John Levon <levon@movementarian.org>
8847 * pspell.C: fix a crash, and allow new aspell to work
8849 2002-08-06 John Levon <levon@movementarian.org>
8852 * kbmap.C: small cleanup
8855 * vspace.C: add const
8857 2002-08-05 John Levon <levon@movementarian.org>
8859 * LyXAction.C: back to tabular-insert
8861 2002-08-04 John Levon <levon@movementarian.org>
8864 * BufferView.C: cosmetic change
8866 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8876 * BufferView2.C: purge all "Lyx" not "LyX" strings
8879 * lyxcursor.C: attempt to add some documentation
8884 * ToolbarDefaults.C:
8885 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8886 merge with LFUN_TABULAR_INSERT
8893 * pspell.C: split up i/pspell implementations into separate
8894 files, many cleanups
8896 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8898 * text2.C: some cleanup
8900 * lyxfunc.C: don't check for isp_command == "none" any more, it
8901 didn't make any sense
8903 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8908 * makefile.am: move counters functionality over
8909 from text2.C/paragraph.[Ch] to counters.[Ch], and
8911 2002-08-02 John Levon <levon@movementarian.org>
8913 * buffer.C: s/lyxconvert/lyx2lyx/
8915 2002-08-02 Angus Leeming <leeming@lyx.org>
8917 * lyxlex.C: revert John's change as it breaks reading of the user
8920 2002-08-02 Angus Leeming <leeming@lyx.org>
8922 * importer.C (Import):
8923 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8924 changes due to LyXView::view() now returning a boost::shared_ptr.
8926 2002-08-02 John Levon <levon@movementarian.org>
8928 * lyxlex.C: small cleanup
8930 2002-08-02 John Levon <levon@movementarian.org>
8932 * text2.C (status): small cleanup, no logic change
8934 2002-08-01 John Levon <levon@movementarian.org>
8937 * buffer.C (writeFile): don't output alerts, caller
8941 * lyx_cb.C: from above
8943 * lyxfunc.C: allow to open non-existent files
8945 2002-07-31 John Levon <levon@movementarian.org>
8947 * lyxserver.C: don't let incidental errors get
8950 2002-07-30 John Levon <levon@movementarian.org>
8952 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8954 2002-07-30 John Levon <levon@movementarian.org>
8957 * lyxserver.C: remove I/O callback too
8959 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8961 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8964 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * many files: strip,frontStrip -> trim,ltrim,rtrim
8968 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8970 * PrinterParams.h: remove extern containsOnly, and include
8971 support/lstrings.h instead.
8973 * LaTeX.C (scanAuxFile): modify because of strip changes
8975 * buffer.C (makeLaTeXFile): ditto
8976 * bufferparams.C (writeFile): ditt
8977 * lyxfont.C (stateText): ditto
8978 * lyxserver.C (read_ready): ditto
8979 * vc-backend.C (scanMaster): ditto
8981 * BufferView_pimpl.h: ws changes
8983 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8985 2002-07-26 André Pönitz <poenitz@gmx.net>
8987 * kb_sequence.C: remove unnedred usings
8989 2002-07-26 Juergen Vigna <jug@sad.it>
8991 * lyxfind.C (LyXReplace): we have to check better if the returned
8992 text is not of theLockingInset()->getLockingInset().
8994 2002-07-25 Juergen Vigna <jug@sad.it>
8996 * lyxfind.C (LyXReplace): don't replace if we don't get the
8999 * undo_funcs.C (createUndo): remove debugging code.
9001 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9003 * buffer.C (parseSingleLyXformat2Token): Use default placement
9004 when reading old floats.
9006 * FloatList.C (FloatList): Change the default placement of figure
9007 and tables to "tbp".
9009 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9011 * MenuBackend.C: using std::max
9013 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9015 * MenuBackend.C (expandToc):
9016 (expandToc2): code moved from xforms menu frontend. It is now
9017 generic and TOCs are transparent to menu frontends.
9019 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9021 * toc.C (getTocList): protect against buf=0
9023 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9024 Menu as first parameter. Now, this calls itself recursively to
9025 expand a whole tree (this will be useful for TOC handling)
9026 (expandFloatInsert): remove 'wide' version of floats
9028 * MenuBackend.h (submenuname): returns the name of the submenu.
9029 (submenu): returns the submenu itself, provided it has been
9030 created by MenuBackend::expand
9032 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9035 insets which have noFontChange == true. (bug #172)
9037 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9039 * BufferView_pimpl.C: add connection objects and use them...
9042 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9044 * MenuBackend.C (expandLastfiles):
9047 (expandFloatListInsert):
9048 (expandFloatInsert):
9049 (expand): split expand in parts
9051 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9053 * lyx_gui.C: use lyx_gui::exit()
9055 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9057 * LyXAction.C: show the failing pseudo action
9059 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9061 * buffer.C (readFile): Run the lyxconvert script in order to read
9064 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9068 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9070 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9074 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9076 2002-07-22 Herbert Voss <voss@lyx.org>
9079 * lyxlength.[Ch]: add support for the vertical lengths
9081 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9083 * toc.[Ch]: std:: fixes
9085 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * lyxrc.C: do not include lyx_main.h
9089 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9095 * BufferView2.C: include "lyxlex.h"
9098 * bufferparams.h: do not #include "lyxlex.h"
9100 * lyxtextclasslist.C (Add): remove method
9101 (classlist): renamed to classlist_
9103 * paragraph_pimpl.C:
9107 * bufferview_funcs.C:
9112 * toc.C (getTocList): use BufferParams::getLyXTextClass
9114 * toc.C (getTocList): use InsetFloat::addToToc
9116 * toc.[Ch]: new files, containing helper functions to handle table
9119 * lyxfunc.C (dispatch): no need to remove spaces around command
9121 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9122 first command of the sequence; it is not very clever, but I do not
9123 have a better idea, actually
9125 * LyXAction.C (LookupFunc): make sure to remove space at the
9126 beginning and end of the command
9128 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9130 * MenuBackend.C (getMenubar): new method: return the menubar of
9132 (read): treat differently reading of menu and menubar (in
9133 particular, the menubar has no name now)
9134 (Menu::menubar): remove
9136 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9139 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9141 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9142 a bibitem inset in a RTL paragraph.
9144 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9146 * paragraph_pimpl.C: constify
9148 * BufferView_pimpl.C:
9150 * lyxfunc.C: fix dispatch in a nicer way
9152 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9154 * lyxfunc.C (dispatch):
9155 * BufferView_pimpl.C:
9156 * BufferView_pimpl.h:
9158 * BufferView.h: rename Dispatch() to dispatch()
9160 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9162 * lyxlayout.C (Read): honor DependsOn tag
9164 * lyxlayout.[Ch] (depends_on): new method
9166 * version.C.in: update lyx_docversion
9168 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9170 * paragraph.C (validate): remove from here...
9171 * paragraph_pimpl.C (validate): ... and move here
9172 (isTextAt): make it const
9174 * buffer.C (getLists): ws cleanup
9176 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9178 * language.C (read): Use iso8859-1 encoding in latex_lang
9179 (this prevents LyX from crashing when using iso10646-1 encoding).
9181 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9183 * text2.C (toggleInset): if cursor is inside an inset, close the
9184 inset and leave cursor _after_ it
9186 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9188 * lyxfunc.C: move minibuffer completion handling out of here
9190 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9192 * BufferView_pimpl.C:
9193 * LaTeX.C: fix dispatch calls
9195 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9197 * text.C (drawChars): Fix Arabic text rendering.
9199 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9203 * lyxfunc.C: remove message-push/pop
9207 * lyxfunc.C: rationalise some code by removing verboseDispatch
9208 in favour of a bool argument to dispatch()
9210 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9212 * lyx_main.C (init): make sure to read symlinks as absolute paths
9214 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9217 * lyxfunc.C: no need for commandshortcut to be a member
9219 2002-07-15 André Pönitz <poenitz@gmx.net>
9221 * converter.C: add support for $$s (scripts from lib/scripts dir)
9222 * lyx_main.C: white space
9224 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9228 * lyxrc.C: remove second exit confirmation
9230 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9235 * BufferView_pimpl.h:
9236 * BufferView_pimpl.C:
9237 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9239 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9241 * MenuBackend.C (expand): add numeric shortcuts to document menu
9243 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9245 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9247 * lyxfont.C (setLyXFamily):
9254 * buffer.C (asciiParagraph): use ascii_lowercase
9256 2002-07-15 Mike Fabian <mfabian@suse.de>
9258 * lyxlex_pimpl.C (search_kw):
9259 * lyxlex.C (getLongString):
9260 * converter.h (operator<):
9261 * converter.C (operator<):
9262 * buffer.C (parseSingleLyXformat2Token):
9264 * ToolbarDefaults.C (read):
9265 * MenuBackend.C (checkShortcuts):
9267 * LColor.C (getFromGUIName):
9268 (getFromLyXName): use the compare_ascii_no_case instead of
9269 compare_no_case, because in turkish, 'i' is not the lowercase
9270 version of 'I', and thus turkish locale breaks parsing of tags.
9272 2002-07-16 Angus Leeming <leeming@lyx.org>
9274 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9275 now takes a Buffer const & argument.
9277 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9279 * BufferView.C (resize): check there's a buffer to resize
9281 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9283 * lyxfunc.C: remove dead code
9286 * lyxserver.C: use lyx_guii::set_read_callback
9288 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9290 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9291 an inset in a RTL paragraph.
9293 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9295 * lyxfunc.C: repaint after a font size update
9297 2002-07-15 André Pönitz <poenitz@gmx.net>
9299 * lyxlength.C: inBP should be able to return negative values
9301 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9303 * lyxfunc.C: use lyx_gui::update_fonts()
9305 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9307 * lyxfunc.C: use lyx_gui::update_color()
9309 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9315 * lyxrc.C: remove file->new asks for name option, and let
9316 buffer-new take an argument
9318 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9320 * BufferView_pimpl.C: remove unneeded extra repaint()
9322 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9324 * LyXAction.C: allow command-sequence with NoBuffer
9326 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9328 2002-07-10 Angus Leeming <leeming@lyx.org>
9330 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9332 2002-07-09 Angus Leeming <leeming@lyx.org>
9334 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9336 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9338 * lengthcommon.h: whitespace
9340 * lyxfunc.C: update scrollbar after goto paragraph
9342 * lyxtext.h: factor out page break drawing, and fix it so
9343 page break/added space paints as selected nicely
9345 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9347 * BufferView_pimpl.C: add FIXMEs, clean up a little
9349 2002-07-09 André Pönitz <poenitz@gmx.net>
9351 * lyxfont.[Ch]: support for wasy symbols
9353 2002-07-08 André Pönitz <poenitz@gmx.net>
9355 * BufferView_pimpl.C: apply John's patch for #93.
9357 2002-07-05 Angus Leeming <leeming@lyx.org>
9359 * BufferView_pimpl.C (buffer): generate previews if desired.
9361 * LColor.h: add "preview" to the color enum.
9363 * LColor.C (LColor): add a corresponding entry to the items array.
9365 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9368 2002-07-05 Angus Leeming <leeming@lyx.org>
9370 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9371 The body of the code is now in the method that is passed an ostream &
9372 rather than a file name.
9373 Pass an additional only_preamble parameter, useful for the forthcoming
9376 2002-07-03 André Pönitz <poenitz@gmx.net>
9378 * lyxfunc.C: simplify getStatus() a bit for math stuff
9380 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9384 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9386 * text.C (changeRegionCase): do not change case of all the
9387 document when region ends at paragraph end (bug #461)
9389 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9391 * paragraph.C (startTeXParParams):
9392 (endTeXParParams): add \protect when necessary
9394 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9396 * BufferView_pimpl.C (workAreaExpose): remove warning
9398 2002-06-27 Angus Leeming <leeming@lyx.org>
9400 * Makefile.am: add lyxlayout_ptr_fwd.h.
9402 2002-06-26 André Pönitz <poenitz@gmx.net>
9404 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9406 2002-06-25 Angus Leeming <leeming@lyx.org>
9408 * lyxfunc.C (dispatch): Comment out the call to
9409 grfx::GCache::changeDisplay. The method no longer exists now that the
9410 pixmap generation part of the graphics loader has been moved into
9413 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * text2.C: layout as layout
9417 * text.C: layout as layout
9419 * tabular.C (OldFormatRead): layout as layout
9421 * paragraph_pimpl.C (TeXDeeper): layout as layout
9422 (realizeFont): layout as layout
9424 * paragraph.C (writeFile): layout as layout
9425 (validate): layout as layout
9426 (getFont): layout as layout
9427 (getLabelFont): layout as layout
9428 (getLayoutFont): layout as layout
9429 (breakParagraph): layout as layout
9430 (stripLeadingSpaces): layout as layout
9431 (getEndLabel): layout as layout
9432 (getMaxDepthAfter): layout as layout
9433 (applyLayout): layout as layout
9434 (TeXOnePar): layout as layout
9435 (simpleTeXOnePar): layout as layout
9436 (TeXEnvironment): layout as layout
9437 (layout): layout as layout
9438 (layout): layout as layout
9440 * lyxtextclass.C (compare_name): new functor to work with
9441 shared_ptr, layout as layout
9442 (Read): layout as layout
9443 (hasLayout): layout as layout
9444 (operator): layout as layout
9445 (delete_layout): layout as layout
9446 (defaultLayout): layout as layout
9448 * lyxlayout_ptr_fwd.h: new file
9450 * lyxlayout.C (Read): layout as layout
9452 * lyx_cb.C (MenuInsertLabel): layout as layout
9454 * bufferlist.C (newFile): layout as layout
9456 * buffer.C (readLyXformat2): layout as layout
9457 (parseSingleLyXformat2Token): layout as layout
9458 (insertStringAsLines): layout as layout
9459 (asciiParagraph): layout as layout
9460 (latexParagraphs): layout as layout
9461 (makeLinuxDocFile): layout as layout
9462 (simpleLinuxDocOnePar): layout as layout
9463 (makeDocBookFile): layout as layout
9464 (simpleDocBookOnePar): layout as layout
9465 (getLists): layout as layout
9467 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9469 * CutAndPaste.C (cutSelection): layout as layout
9470 (pasteSelection): layout as layout
9471 (SwitchLayoutsBetweenClasses): layout as layout
9473 * BufferView_pimpl.C (Dispatch): layout as layout
9474 (smartQuote): layout as layout
9476 * BufferView2.C (unlockInset): layout as layout
9478 2002-06-24 André Pönitz <poenitz@gmx.net>
9480 * lyxfunc.C: fix #487
9482 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9486 * lyxfunc.C: remove display_shortcuts, show_banner
9488 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9490 * Buffer_pimpl.C: oops, update on resize
9492 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9499 * BufferView.C: use repaint()
9501 * BufferView_pimpl.h:
9502 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9503 as it's a clearer description. Remove superfluous
9506 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9508 * text.C: fix bug 488. Not ideal, but getting
9509 getWord() to work properly for the insets that
9510 matter is more difficult ...
9512 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9514 * BufferView_pimpl.C:
9517 * lyxfunc.C: remove the six million index lyxfuncs to just
9518 one, and DTRT (bug 458)
9520 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9524 * BufferView_pimpl.h:
9525 * BufferView_pimpl.C: clean up resize() stuff,
9526 and unnecessary updateScreen()s
9528 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9532 * BufferView_pimpl.h:
9533 * BufferView_pimpl.C:
9536 * minibuffer.C: remove focus management of workarea,
9537 not needed. Use screen's greyOut()
9539 2002-06-17 Herbert Voss <voss@lyx.org>
9541 * converter.C: (convert) do not post a message, when converting
9542 fails, let the calling function decide what to do in this case
9544 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9546 * lyxfunc.C: tidy up a little
9548 2002-06-16 <alstrup@diku.dk>
9550 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9551 Got rid of FORMS_H_LOCATION include. Now we are
9554 2002-06-15 LyX Development team <lyx@rilke>
9556 * buffer.[Ch] (sgmlOpenTag):
9557 (sgmlCloseTag): Added support for avoiding pernicious mixed
9558 content. Return number of lines written.
9561 (makeDocBookFile): Fixed calls to sgml*Tag.
9562 Simple white space clean.
9564 (simpleDocBookOnePar): Simple white space clean.
9566 * tabular.[Ch] (docBook): Renamed to docbook and got another
9567 argument to related with the pernicious mixed content.
9569 (docbookRow): Fixed calls for docbook inset method.
9571 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9573 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9574 so it's X11 independent.
9578 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9580 2002-06-15 Lyx Development team <lyx@electronia>
9582 * intl.h: Renamed getTrans to getTransManager.
9584 2002-06-14 Angus Leeming <leeming@lyx.org>
9586 * Makefile.am: nuke forgotten stl_string_fwd.h.
9588 2002-06-12 Angus Leeming <leeming@lyx.org>
9590 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9592 2002-06-13 Angus Leeming <leeming@lyx.org>
9595 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9597 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9599 * kbmap.C (getiso): add support for cyrillic and greek
9601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9605 * BufferView_pimpl.h:
9606 * BufferView_pimpl.C: move bogus scrolling logic
9609 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9612 * BufferView_pimpl.C: view->resize() change
9614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9616 * BufferView_pimpl.C: topCursorVisible
9619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9623 * lyx_gui.C: move to frontends/
9627 * lyx_main.C: changes from above
9629 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9636 * lyx_main.C: minor tidy
9638 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9640 * BufferView_pimpl.h:
9641 * BufferView_pimpl.C:
9643 * BufferView.C: make painter() const,
9646 * BufferView2.C: use screen() accessor
9649 * lyx_main.C: some minor cleanup
9651 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9653 * BufferView_pimpl.h:
9654 * BufferView_pimpl.C: remove enter/leaveView,
9657 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9662 * BufferView_pimpl.h:
9663 * BufferView_pimpl.C: only construct screen once,
9666 * lyxrc.C: remove pointless comment
9668 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9671 * BufferView.C: remove active() and belowMouse()
9673 * BufferView_pimpl.h:
9674 * BufferView_pimpl.C: use workarea() not workarea_,
9675 and make it use a scoped_ptr instead
9677 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9679 * lyx_gui.C: add debug message on BadWindow
9681 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9683 * sp_spell.C: fdopen is not part of the C++ standard.
9685 * paragraph.C (InsetIterator): use >= instead of ==
9687 2002-06-07 Angus Leeming <leeming@lyx.org>
9689 Fixes needed to compile with Compaq cxx 6.5.
9690 * BufferView_pimpl.C:
9697 * lyxtextclasslist.C:
9702 all c-library variables have been moved into namespace std. Wrap
9703 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9708 Add a using std::abs declaration.
9710 * kbmap.h (modifier_pair):
9711 * paragraph.h (InsetTable, InsetList):
9712 * lyxfont.h (FontBits):
9713 type definition made public.
9715 * bufferlist.C (emergencyWriteAll): the compiler complains that
9716 there is more than one possible lyx::class_fun template to choose from.
9717 I re-named the void specialisation as lyx::void_class_fun.
9719 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9721 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9722 the compiler is is unable to find tostr in write_attribute.
9724 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9726 * buffer.C (sgmlError): hide #warning
9728 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * xtl/*: get rid of xtl, which is not in use anyway
9732 * LyXAction.C (init):
9733 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9734 were unimplemented xtl experimentation
9736 2002-06-04 André Pönitz <poenitz@gmx.net>
9738 * lyxfunc.C: disable array operation on simple formulae
9740 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9742 * converter.C: constify a bit
9744 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9746 * lyx_gui.C: check xforms version correctly
9748 2002-04-30 Herbert Voss <voss@lyx.org>
9750 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9753 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9755 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9756 attempt to register it with a VCS)
9758 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9760 * lyx_main.C (init): honor variables LYX_DIR_13x and
9763 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9767 * lyx_main.C: fix a crash on bad command line,
9768 and give a useful exit status on error
9770 * lyxfunc.C (doImport): allow -i lyx to work
9772 2002-03-30 André Pönitz <poenitz@gmx.net>
9774 * lyxfunc.C: mathed font changes
9776 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9791 * trans_mgr.h: srcdocs, and some minor cleanups
9793 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9795 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9796 call getFont all the time)
9798 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * switch from SigC signals to boost::signals
9802 2002-05-29 André Pönitz <poenitz@gmx.net>
9804 * paragraph_pimpl.C (getChar): don't call size() too often...
9806 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9808 * paragraph_pimpl.C (insertChar): do not try to update tables when
9809 appending (pos == size())
9811 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9812 in order to reduce drastically the number of comparisons needed to
9813 parse a large document
9815 2002-05-29 André Pönitz <poenitz@gmx.net>
9821 * textclasslist.[Ch]:
9822 * sp_ispell.h: whitespace change
9824 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9826 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9827 lyxaction directly now.
9829 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9833 * lyxvc.C: remove unused headers
9835 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9842 * undo_funcs.C: some cleanups. Use shared_ptr
9843 and a template for the undo stacks.
9845 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9847 * BufferView_pimpl.h:
9848 * BufferView_pimpl.C:
9855 * text2.C: use key_state/mouse_state
9857 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9859 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9862 * chset.C: change include order
9863 (loadFile): use boost regex and get rid of LRegex and LSubstring
9865 * Makefile.am (BOOST_LIBS): new variable
9868 * LaTeX.C: change include order.
9869 (scanAuxFile): use boost regex and get rid of LRegex and
9873 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9878 * FontInfo.C: moved to frontends/xforms/
9881 * FontLoader.C: moved into frontends for GUIIzation
9886 * lyxfunc.C: changes from above
9888 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9890 * LColor.C: remove spurious X include
9892 * BufferView_pimpl.C:
9897 * text2.C: move font metrics to frontends/
9899 2002-05-24 Juergen Vigna <jug@sad.it>
9901 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9902 setting the undo_cursor.
9904 * ParagraphParameters.h: include local includes first.
9906 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9908 * BufferView_pimpl.C:
9909 * BufferView_pimpl.h:
9913 * screen.C: move WorkArea into frontends/
9919 * BufferView2.C: move LyXScreen into frontends/
9923 * lyx_gui.C: move lyxlookup into frontends/xforms/
9925 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9928 * BufferView_pimpl.C:
9938 * bufferview_funcs.C:
9951 * vc-backend.C: move LyX/XFormsView into frontends/
9953 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9965 * text2.C: move Painter to frontends/
9967 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9969 * buffer.C: comment out some some code that depend upon lyx_format
9972 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9973 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9975 * buffer.h (NO_COMPABILITY): turn off compability
9977 * ColorHandler.C: include scoped_array.hpp
9979 * font.C: Use more specific smart_ptr header.
9982 * ShareContainer.h: ditto
9986 * BufferView_pimpl.h: ditto
9987 * ColorHandler.h: ditto
9989 * kbmap.C (defkey): change call to shared_ptr::reset
9991 2002-05-21 Juergen Vigna <jug@sad.it>
9993 * buffer.C (insertErtContents): fix to insert ert asis if it is
9994 non empty. Skip it completely if it contains only whitespaces.
9996 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9998 * BufferView_pimpl.C:
9999 * BufferView2.C: clear selection on paste (bug 393)
10001 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * DepTable.C: include ctime
10005 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10007 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10009 2002-05-14 Juergen Vigna <jug@sad.it>
10011 * text.C (breakParagraph): fixed function to honor the keepempty
10012 layout in the right maner and also to permit the right breaking
10013 algorithm on empty or non empyt keepempty paragraphs.
10015 * paragraph.C (breakParagraph): we have to check also if the par
10016 is really empty (!size()) for isempty otherwise we do the wrong
10019 2002-05-10 Juergen Vigna <jug@sad.it>
10021 * buffer.[Ch] : The following are only changes to the ert
10022 compatibility read reading old LaTeX layout and font stuff and
10023 convert it to ERTInsets.
10025 * buffer.h: added isErtInset().
10027 * buffer.C (struct ErtComp): add a fromlayout bool to check
10028 if we're inside a LaTeX layout.
10029 (isErtInset): new helper function.
10030 (insertErtContents): look for other ert insets before this one
10031 and insert the contents there, so that we don't have subsequent
10032 ERT insets with nothing between them. This way we create only one
10033 inset with multiple paragraphs. Also check if we don't insert only
10034 spaces ' ' as they are ignored anyway afterwards in the .tex file
10035 so if we have only spaces we will ignore this latex part in the
10037 (parseSingleLyXformat2Token \\layout): better compatibility when
10038 reading layout-latex stuff.
10039 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10041 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10042 stuff after reading the inset only get the information back from
10045 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10047 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10049 * LaTeXFeatures.C (getBabelOptions): New method.
10051 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10053 * BufferView_pimpl.C (Dispatch): work around missing argument for
10056 2002-05-08 Juergen Vigna <jug@sad.it>
10058 * text.C (leftMargin): handle paragraph leftindent.
10060 * paragraph.C (writeFile): write the new \\leftindent tag.
10061 (validate): handle leftindent code.
10062 (TeXEnvironment): handle paragraphleftindent code again.
10064 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10066 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10067 for paragrap_extra indent code and new token \\leftindent.
10068 (latexParagraphs): handle the leftindent as environment.
10070 * ParameterStruct.h: added leftindent support.
10072 * ParagraphParameters.C (leftIndent): added support functions for
10073 the paragraph left indent.
10075 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10078 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10080 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10083 * text.C (computeBidiTables): No bidi in insetERT.
10085 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10088 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * version.C.in: pre 5
10092 2002-05-02 José Matos <jamatos@fep.up.pt>
10093 * buffer.C (makeDocBookFile): white space changes, add newline to
10095 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10097 * tabular.C (docBook): fix typo.
10099 2002-05-03 Juergen Vigna <jug@sad.it>
10101 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10102 change in LyXText as we can not be sure it was not freed.
10103 (drawOneRow): remove unused code.
10105 * text.C (drawInset): redo the calculation of the need_break_row as
10106 it could have a row which was already freed.
10107 (draw): look at the return value of drawInset and return false if
10108 it also returned false.
10109 (paintRowText): look at the return value of draw and return false if
10110 it also returned false.
10112 * lyxtext.h: added bool return type to drawInset() and draw() so that
10113 if we have a change in the row so that the rowbreak has to be redone
10114 we abort drawing as it will be called again.
10116 2002-05-02 Juergen Vigna <jug@sad.it>
10118 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10119 a change in the maintext also if we're inside an inset.
10120 (Dispatch): set the cursor again after a break line and after the
10121 screen has been updated as it could be we're in a different row.
10123 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10124 to set the cursor behind the pargraph with > size().
10125 (setCursor): check also for the same paragraph when checking where
10126 to put the cursor if we have a NFR inset.
10128 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10129 parts of layout read further up as it still was in the wrong
10132 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * screen.C (drawFromTo): change sine fullRebreak always return
10137 * buffer.C (parseSingleLyXformat2Token): reindent some
10139 * BufferView_pimpl.C (update): change since fullRebreak always
10141 (Dispatch): git rid of the last hardcoded "Standard"s.
10143 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10145 * text2.[Ch] (fullRebreak): make it return void now that we always
10148 2002-04-30 Juergen Vigna <jug@sad.it>
10150 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10151 ert compatibility check for "latex" layout.
10153 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10155 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10156 minipages: use col% instead of p%, and also use the current font.
10157 (makeLaTeXFile): Fix use babel condition.
10158 (parseSingleLyXformat2Token): Correct font when reading old floats.
10160 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10162 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10163 inserting list of floats.
10165 2002-04-25 Herbert Voss <voss@lyx.org>
10167 * MenuBackend.C (expand): don't add the graphics extensions to the
10170 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10172 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10173 non-existing layout, do not complain if it was the default layout
10174 of the original class (bug #342)
10176 2002-04-24 Juergen Vigna <jug@sad.it>
10178 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10179 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10181 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10183 * buffer.C (getBibkeyList): If using \bibliography, return the
10184 option field with the reference itself. Enables us to provide natbib
10185 support when using \bibliography.
10187 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10189 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10191 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10192 natbib is provided by the LaTeX class.
10194 2002-04-23 Juergen Vigna <jug@sad.it>
10196 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10199 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10201 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10203 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10205 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10206 ensuremath around textordmasculine, textordfeminine and
10209 2002-04-19 Juergen Vigna <jug@sad.it>
10211 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10212 reinitializing the buffer otherwise row-dimensions may be wrong.
10213 (update): reset also the selection cursors if they do exits otherwise
10214 their x/y positions may be wrong.
10216 * text2.C (cursorDown): don't enter the inset if we came from a row
10217 above and are one row over the inset.
10219 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10220 really leaving an inset.
10222 2002-04-18 Juergen Vigna <jug@sad.it>
10224 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10225 of the selected paragraph does not have the selected layout also if
10228 * text2.C (setLayout): fixed bug which did not change last selected
10231 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10232 changed the read and substituted \\end_float with \\end_inset!
10234 * BufferView_pimpl.C (cursorPrevious):
10235 (cursorNext): fixed to make it work with rows heigher than the work
10236 area without moving the cursor only the draw of the row.
10237 (workAreaMotionNotify): fix jumping over high rows.
10239 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10241 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10244 2002-04-16 Juergen Vigna <jug@sad.it>
10246 * text2.C (setCursor): set also the irow().
10247 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10249 (cursorDown): support for locking an inset if the x_fix value goes
10250 inside it. That way I can transverse insets too with cursor up/down.
10252 * lyxrow.h: added irow helper function same as other (i) functions.
10254 * BufferView_pimpl.C (cursorPrevious):
10255 (cursorNext): fixed for insets!
10257 2002-04-15 Juergen Vigna <jug@sad.it>
10259 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10260 position otherwise it is wrong in some cases.
10262 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10263 inside the inset before the call.
10265 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10267 * buffer.[Ch] (getBibkeyList): make it const.
10269 2002-04-12 Juergen Vigna <jug@sad.it>
10271 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10273 * text2.C (getCursorX): new helper function
10274 (setCursor): compute also ix_
10275 (setCursorFromCoordinates): set also ix.
10277 * lyxcursor.h: added ix_ and helper functions.
10279 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10281 * buffer.C (insertStringAsLines): dont break paragraph if the this
10282 paragraph is inside an inset which does not permit it!
10284 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10285 also with no chars on this paragraph.
10286 (paintRowText): only paint stuff if it's inside the workarea!
10288 * paragraph.C (breakParagraph): honor keepempty flag and break the
10289 paragraph always below not above.
10291 * BufferView2.C (unlockInset): update the paragraph layout on inset
10292 unlock as we changed paragraph in such a case.
10294 * lyxfind.C (LyXFind): clear the former selection if not found!
10296 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10297 again called in insertChar().
10299 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10300 an inset which uses the whole row!
10301 (rightMargin): ditto.
10302 (insertChar): force a rebreak if we inserted an inset!
10304 2002-03-28 Herbert Voss <voss@lyx.org>
10306 * lyxlength.[Ch]: add inBP() to get the right PS-point
10307 units (BigPoint). With inPixels we have rounding errors
10309 2002-04-11 Juergen Vigna <jug@sad.it>
10311 * text2.C (setCursorFromCoordinates): set iy to the right value.
10312 (setCursor): add check if row->previous exists!
10314 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10315 an old float_type as this was the case in the old code!
10317 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10319 * BufferView2.C (showLockedInsetCursor): use iy
10320 (fitLockedInsetCursor): ditto
10322 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10323 locked insets as there we have the right value now.
10325 * lyxcursor.C: added iy_ variable and iy functions to set to the
10326 baseline of cursor-y of the locked inset.
10328 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10329 (setCursor): fixed for insets which need a full row.
10331 * text.C (rowLastPrintable): don't ignore the last space when before
10332 an inset which needs a full row.
10333 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10334 as last character of a row when before a inset which needs a full row.
10336 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10338 * version.C.in: update date
10340 * text2.C (fullRebreak): try to always return true and see what
10343 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10345 * MenuBackend.C (expand): use Floating::listName
10347 * FloatList.C (FloatList): add listName argument to the built-in
10350 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10351 text associated with the float.
10353 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10357 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10359 * ShareContainer.h: add a couple of missing typenames.
10361 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10363 * lyxrc.C (getDescription): use _() correctly rather than N_().
10365 2002-03-28 Herbert Voss <voss@lyx.org>
10367 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10368 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10370 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10373 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10375 2002-03-29 Juergen Vigna <jug@sad.it>
10377 * lyxfunc.C (dispatch): add a missing fitCursor call.
10379 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10380 it was scrolled by a cursor move, so return the bool status.
10382 * BufferView.C (fitCursor): return the bool flag also to the outside
10383 world as this is needed.
10385 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10387 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10388 call the edit() as it is not needed (and wrong) IMO.
10389 (workAreaButtonPress): set the screen_first variable before evt.
10390 unlock the inset as this may change screen_first and then we have
10391 a wrong y position for the click!
10393 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10395 * MenuBackend.C (expand): another translation that I missed
10397 2002-03-28 Juergen Vigna <jug@sad.it>
10399 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10401 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10403 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10405 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10407 * MenuBackend.C (expand): fix export/view/update when there is no
10410 2002-03-27 Herbert Voss <voss@lyx.org>
10412 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10415 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10417 * bufferview_funcs.C (currentState): only show paragraph number
10418 for is DEVEL_VERSION is set.
10420 * lyxfunc.C (dispatch): put warning in INFO channel
10422 * MenuBackend.C (expand): translate the name of floats
10424 * FloatList.C (FloatList): mark the float names for translation
10426 * converter.C (convert): use LibScriptSearch
10428 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10430 * MenuBackend.C (defaults): fix default menu (we might as well get
10433 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10438 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * lyxvc.C: reorder includes.
10442 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10447 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10449 * CutAndPaste.C: change layouts earlier on paste
10450 to avoid crashing when calling getFont()
10452 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10454 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10457 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10459 * WorkArea.C: remove 'Pending' debug message.
10461 * most files: ws cleanup
10463 * buffer.[Ch]: ws changes
10465 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10467 2002-03-21 Juergen Vigna <jug@sad.it>
10469 * tabular.C (SetMultiColumn): collapse also the contents of the
10470 cells and set the last border right. Added a Buffer const * param.
10472 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10474 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10477 2002-03-19 Juergen Vigna <jug@sad.it>
10479 * text2.C (clearSelection): reset also xsel_cache.
10481 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10482 where it needs to be called (John tells us to do so too :)
10483 (selectionLost): reset sel_cache.
10485 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10487 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * text2.C (setCursorIntern): put debuging code in INSETS channel
10491 2002-03-19 André Pönitz <poenitz@gmx.net>
10493 * lyxfunc.C: tiny whitespace change
10495 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * ToolbarDefaults.C (init):
10498 * LyXAction.C (init):
10500 * BufferView_pimpl.C (Dispatch):
10501 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10503 2002-03-19 Allan Rae <rae@lyx.org>
10505 * exporter.C (Export): removeAutoInsets before doing anything else.
10506 While I've just introduced a dependency on BufferView this really is
10507 the best place to clean the buffer otherwise you need to cleanup in
10508 a dozen places before calling export or cleanup in a dozen functions
10511 * converter.C (runLaTeX):
10512 (scanLog): Better handling of removeAutoInsets and screen updates.
10514 * lyxfunc.C (dispatch): small whitespace changes
10516 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * WorkArea.C (C_WorkAreaEvent): return a value.
10519 (event_cb): return 1 if we handled the event, 0 otherwise.
10521 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10523 2002-03-18 Juergen Vigna <jug@sad.it>
10525 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10526 (GetAdditionalWidth): ditto.
10527 (RightLine): ditto.
10530 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10531 inset if we're there actually (probably not used right now but this
10532 is the direction to go for unifying code).
10533 (paste): disable code to clear the selection.
10535 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10536 inside an InsetText and move the check further up as it is in the
10539 * text2.C (pasteSelection): set a selection over the pasted text.
10541 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10543 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10544 and libgraphics to build on Cygwin.
10546 2002-03-15 Juergen Vigna <jug@sad.it>
10548 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10549 inserting an Inset into the paragraph. I know this is not the best
10550 fix but we already use current_view in CutAndPaste so we will remove
10551 all of it's using at the same time.
10553 * buffer.C (sgmlError): deactivated function till it is rewritten in
10554 the right mode, now it can create problems.
10556 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10557 before accessing it.
10559 2002-03-14 Juergen Vigna <jug@sad.it>
10561 * undo_funcs.C (textHandleUndo): do the right thing when updating
10562 the inset after the undo/redo.
10564 * text2.C (setCursor): just some testcode for #44 not ready yet.
10566 * undo_funcs.C (textHandleUndo): set the next() and previous()
10567 pointers of the paragraph to 0 before deleting otherwise we have
10568 problems with the Paragraph::[destructor].
10570 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10571 on a paragraph insertion.
10573 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * buffer.C (asciiParagraph): use += operator for char append to
10578 * paragraph.C (getFontSettings): compare >= not just >
10579 (highestFontInRange): ditto
10582 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * paragraph.C: change several algorithm to be more appripriate for
10585 the problem domain. This is lookip in FontList and in the InsetList.
10587 2002-03-13 André Pönitz <poenitz@gmx.net>
10590 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10592 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10597 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10599 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * Painter.C (display): anon helper function, adjust code for this
10603 (pixmap): remove function.
10605 * Painter.h: remove private display variable.
10607 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10609 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10611 * WorkArea.[Ch]: remove figinset_canvas cruft.
10613 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * lyxtextclass.C (operator): add one item cache optimization.
10617 * bufferlist.h: doxy changes
10619 * bufferlist.C: ws changes
10621 * DepTable.[Ch] (ext_exist): place const in the right spot.
10623 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10625 (workAreaExpose): call resizeInsets when the with BufferView changes.
10626 (Dispatch): adjust for protectedBlank removal
10627 (specialChar): call updateInset if the insert went ok.
10629 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10630 specialChar instead.
10632 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10634 * BufferView.h: doxy change
10636 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10638 * lyxtextclass.C (operator[]): remove non-const version
10639 (defaultLayout): remove non-const version
10641 2002-03-12 Juergen Vigna <jug@sad.it>
10643 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10644 did resize the LyXText too.
10646 * buffer.C (readLyXformat2): set layout information on newly allocated
10649 * tabular.C (OldFormatRead): set layout information on the paragraph.
10651 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10653 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10655 2002-03-11 Juergen Vigna <jug@sad.it>
10657 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10659 (resizeCurrentBuffer): force also the insets to resize themselfes.
10660 (moveCursorUpdate): fixed up for InsetText.
10662 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10665 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10666 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10667 value of Dialogs::tooltipsEnabled().
10668 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10670 2002-03-08 Juergen Vigna <jug@sad.it>
10672 * BufferView_pimpl.C (updateInset): update inset inside inset also
10673 if it isn't inside theLockingInset().
10675 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10677 * buffer.C (asciiParagraph): redo some of the word and line length
10679 (getLists): look for Caption instead of caption.
10681 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10683 * buffer.C (Buffer): initialize niceFile to true
10685 (makeLinuxDocFile):
10686 (makeDocBookFile): make sure niceFile is true on exit
10688 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10692 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10694 * LyXSendto.C: remove.
10695 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10696 * lyx_gui.C: remove now-redundant comment.
10697 * ColorHandler.h: remove forward declaration of class WorkArea.
10698 * lyxfunc.C: remove #include "WorkArea.h".
10700 2002-03-07 Juergen Vigna <jug@sad.it>
10702 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10703 got moved away with the DEPM and also set the inset_owner always
10704 right which before could have been omitted.
10706 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10708 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10709 wanted layout is not found.
10711 2002-03-07 Juergen Vigna <jug@sad.it>
10713 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10715 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10717 * paragraph.C (breakParagraph): use default layout not layout of
10719 (Paragraph): clear ParagraphParameters.
10721 2002-03-06 Juergen Vigna <jug@sad.it>
10723 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10724 otherwise it would not be a valid lenght. Fixed a special case in
10725 the minipage compatibility read where we end the document with a
10728 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10729 was set as it could be 0 for InsetTexts first entry.
10731 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * paragraph.C (writeFile): if layout is empty write out
10734 defaultLayoutName().
10736 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10737 file without named layout we set layout to defaultLayoutName().
10739 2002-03-06 Juergen Vigna <jug@sad.it>
10741 * CutAndPaste.C (copySelection): set layout for new paragraph.
10743 * text.C (prepareToPrint): leave ERT inset left aligned
10744 (leftMargin): don't indent paragraphs inside ERT insets
10746 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * paragraph.C (breakParagraph): dont call clear do the work manually
10750 * paragraph.[Ch] (clear): remove function
10752 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * paragraph.C (Paragraph): dont call clear, the work has already
10757 * lyxtextclass.C (operator): assert if n is empty
10759 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10760 work manually instead.
10762 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.C: protect selectionLost against text == 0
10766 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10768 * text.C (breakParagraph): fix a setting layout to '0' problem.
10770 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10772 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10773 final location of file, for the included files, and graphics.
10775 2002-03-05 Juergen Vigna <jug@sad.it>
10777 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10779 2002-03-04 Juergen Vigna <jug@sad.it>
10781 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10783 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10784 last column of multicolumn cells.
10785 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10787 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10789 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10790 file if it doesn't go to a temporary file.
10792 * buffer.C (sgmlOpenTag):
10793 (sgmlCloseTag): remove extra newline insertion.
10795 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * text.C (getRowNearY): comment out debug msg
10799 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10801 * text2.C: first -> first_y
10803 * text.C (getRowNearY): add some attemts at a possible
10804 optimization, not working.
10806 * tabular.[Ch]: add BufferParams to several function so that newly
10807 created paragraph can be initialized to he default layotu for the
10810 * tabular-old.C (ReadOld): add buf->params to call of Init
10812 * screen.C: rename text->first to text->first_y
10814 * paragraph.C (breakParagraph): always set layout in the broken
10817 * lyxtextclass.C (Read): remove lowercase
10820 (delete_layout): ditto
10822 * lyxtext.h: rename first -> first_y
10824 * lyxlayout.C (Read): remove lowercase
10827 (obsoleted_by): ditto
10829 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10831 * buffer.C (insertErtContents): add params are to InsetERT
10832 (parseSingleLyXformat2Token): add code to check if a paragraphs
10833 layout really exist.
10834 (parseSingleLyXformat2Token): add params to several inset
10836 (asciiParagraph): remove lowercase, do the layout comparisons with
10839 * BufferView_pimpl.C (cursorNext): first -> first_y
10840 (resizeCurrentBuffer): first -> first_y
10841 (updateScrollbar): first -> first_y
10842 (scrollCB): first -> first_y
10843 (workAreaMotionNotify): first -> first_y
10844 (workAreaButtonPress): first -> first_y
10845 (checkInsetHit): first -> first_y
10846 (cursorPrevious): first -> first_y
10847 (cursorNext): first -> first_y
10848 (Dispatch): add buffer_->params to severl inset contructors
10850 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10852 * lyxlayout.C (Read): remove some debug info that I forgot.
10854 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10855 clean up the code slightly.
10856 (makeLinuxDocFile): ditto
10857 (makeDocBookFile): ditto
10859 * text2.C: layout as string
10861 * text.C: layout as string
10863 * paragraph_pimpl.C: layout as string
10865 * paragraph.[Ch]: layout as string
10867 * lyxtextclasslist.[Ch]: layout as string
10869 * lyxtextclass.[Ch]: layout as string
10871 * lyxtext.h: layout as string
10873 * lyxlayout.[Ch]: layout as string
10875 * lyx_cb.C: layout as string
10877 * bufferview_funcs.C: layout as string
10879 * bufferparams.C: layout as string
10881 * buffer.C: layout as string
10883 * LyXView.[Ch]: layout as string
10885 * LaTeXFeatures.[Ch]: layout as string
10887 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10889 * BufferView_pimpl.C: change current_layout to string, remove
10894 (workAreaButtonRelease): layout as string
10896 * BufferView2.C (unlockInset): adjust
10898 * vspace.C (asLatexCommand): use an explict temp variable.
10900 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10902 * Makefile.am: use FRONTEND_*
10904 2002-03-01 Juergen Vigna <jug@sad.it>
10906 * tabular.C (SetWidthOfMulticolCell): changed to something better
10907 I hope but still work in progress.
10908 (recalculateMulticolumnsOfColumn): renamed function from
10909 recalculateMulticolCells as it is more appropriate now.
10910 (SetWidthOfCell): calculate multicols better.
10912 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10914 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10916 * lyxfunc.C (processKeySym): print sequence also if it is
10917 `deleted' (complete)
10919 * kbsequence.C (print): print sequence even if it is deleted
10920 (complete would be a better word, actually).
10922 * lyxfunc.C (dispatch): print complete options after a prefix key
10924 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10926 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10928 * text2.C (setCharFont): eliminate setCharFont code duplication.
10930 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10932 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10933 LFUN_TABULAR_FEATURE (bug #177)
10935 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10937 * Makefile.am: remove figure.h
10939 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10941 * Bufferview_pimpl.C:
10953 * text2.C: remove #include "lyx_gui_misc.h".
10955 * LaTeX.C: added #include <cstdio>
10957 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10959 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10960 that the paragraph following this one can have.
10962 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10964 * vspace.C (asLatexCommand): fix bogus gcc warning
10966 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10968 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10970 * text2.C (setLayout): get rid of redundant code
10972 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10974 * text2.C (incDepth): make sure depth cannot be increased beyond
10977 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10979 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10980 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10982 * PainterBase.h (image):
10983 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10984 a LyXImage const *.
10986 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10990 * BufferView_pimpl.C:
10991 * BufferView_pimpl.h:
11011 * sp_spell.C: remove fig inset, and the crap house of
11012 cards that follows it
11014 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11019 * os2_errortable.h:
11020 * nt_defines.h: move .h into support/
11022 * vms_defines.h: remove
11024 * WorkArea.C: add space in debug output
11028 * buffer.C: add WITH_WARNINGS
11032 * bufferlist.C: s/retrive/retrieve/, add docs
11041 * chset.C: add docs
11043 * lyxgui.C: add ID to X error handler
11045 * lyxtestclass.c: fix typo
11047 2002-02-26 Juergen Vigna <jug@sad.it>
11049 * tabular_funcs.C (write_attribute): changed so that some default
11050 attributes are not written at all.
11051 (getTokenValue): set default values before trying to read the
11052 value so we have the return value always set as default if we don't
11053 find the token we search for.
11055 * tabular.C (Write): write bools as bools not as strings!
11057 2002-02-22 Juergen Vigna <jug@sad.it>
11059 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11060 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11062 * text.C (leftMargin): don't add an indent for paragraphs inside
11063 tabular cells (fix #208).
11065 2002-02-21 José Matos <jamatos@fep.up.pt>
11067 * tabular.C (docBook): fixed support for long tables.
11069 2002-02-20 Juergen Vigna <jug@sad.it>
11071 * text2.C (getFont): get the drawing font of the Inset if this
11072 paragraph is inside an inset (only important for InsetERT for now).
11074 * buffer.C (insertErtContents): use new lanugage params in ERT
11077 * CutAndPaste.C: commenting out seemingly uneeded code.
11079 2002-02-19 Allan Rae <rae@lyx.org>
11081 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11082 Iterators might be simple to use but they also get invalidated.
11083 (removeAutoInsets): renamed saved cursor tracking variables and added
11084 some comments to clarify what everything does.
11086 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11093 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11094 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11097 * vc-backend.h: remove #include "support/syscall.h"
11101 * converter.C: rearrange #includes in Lars' approved fashion.
11103 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11104 forward declare class Timeout in the header file.
11106 * XFormsView.C: changes due to the above.
11108 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11109 similar to LyXView.
11111 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11112 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11114 2002-02-18 José Matos <jamatos@fep.up.pt>
11116 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11119 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11121 * a lot of small ws changes
11122 * add a lot of using std::XXX
11123 * use std construcs some places where approp.
11124 * use some exisint stuff from lyxfunctional where approp.
11125 * Make file changes to use partial linking (lets test this now...)
11127 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11131 remove #include "support/syscontr.h" as it's redundant. Always has been.
11139 change Systemcalls::System to Systemcalls::Wait and
11140 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11141 No change of functionality, just reflects the stripped down Systemcalls
11144 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11146 * debug.[Ch]: add a GRAPHICS type to the enum.
11148 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11150 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11152 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11155 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11157 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11158 match the changes below.
11160 * text2.C (toggleInset): if there is not editable inset at cursor
11161 position, try to see if cursor is _inside_ a collapsable inset
11164 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11167 document menu has a nice checkbox
11169 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11171 * lyxlength.C (asLatexString): change PW to output as percent of
11174 * lengthcommon.C: change '%' to 't%'
11176 * lyxfunc.C (dispatch): a few comments from Martin
11178 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView_pimpl.h:
11183 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11186 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11188 * vspace.C (inPixels): fix compiler warning
11190 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11192 * lyxfunc.C (getStatus): fix status message for disabled commands.
11194 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11196 * BufferView_pimpl.C: fix crash on close buffer
11197 during selection (#227)
11199 2002-01-27 Herbert Voss <voss@lyx.org>
11201 * buffer.C: link old Figure to new graphic inset
11203 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11205 * FontLoader.C (getFontinfo): Change the latex font names in order
11206 to match the names of type1inst.
11208 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11212 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11213 (extchanged): ditto
11215 (remove_files_with_extension): ditto
11216 (remove_file): ditto
11219 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11220 document is smaller than the work area height. Do not initialize
11221 static variables to 0.
11223 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11227 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11228 LFUN_LAYOUT_PARAGRAPHS.
11230 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11231 tabular. It is possible to provide a possible cell, which will
11232 typically be the actcell from the corresponding insettabular
11234 * lyxfunc.C (getStatus): small cleanup; disable
11235 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11238 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11242 * paragraph.C (startTeXParParams):
11243 (endTeXParParams): new methods. The LaTeX code to
11244 start/end paragraph formatting
11245 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11246 empty (fixes bug #200)
11248 * vspace.C (inPixels): adapt to the change below
11249 (inPixels): [later] more cleanups (remove unused variables)
11251 * lyxlength.C (inPixels): change to use a width and a height as
11254 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11257 Replaced with \paperwidth
11259 * DepTable.C (insert): add std:: qualifier
11261 2002-01-18 Allan Rae <rae@lyx.org>
11263 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11266 * text.C (drawInset): Turned out I didn't know enough about how
11267 rebreaking worked. This fixes most of the redraw problems. I see
11268 an occasional cursor trail when a line is broken now and the cursor
11269 placement can seem out by a few pixels also after a rebreak.
11271 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * buffer.C (parseSingleLyXformat2Token): update because minipage
11274 width is now a LyXLength
11276 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11278 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11281 2002-01-17 Juergen Vigna <jug@sad.it>
11283 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11285 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11286 is set correctly and the inset is updated correctly.
11288 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11290 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11291 the beginning of the loop.
11293 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11295 * lyxrc.C: improve help for use_scalable_fonts
11297 2002-01-17 Allan Rae <rae@lyx.org>
11299 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11301 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11304 make sure to set their inset_owner to the right value (bug #171)
11306 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11309 * DepTable.C: Implement mtime checking to reduce time spent doing
11312 2002-01-16 Juergen Vigna <jug@sad.it>
11314 * tabular.C (GetAdditionalHeight): one of error fixed.
11316 * lyxrc.C (output): small fix in writing use_pspell.
11318 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11320 * sp_base.h: #include LString.h
11322 2002-01-16 Allan Rae <rae@lyx.org>
11324 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11325 Can someone check this please?
11327 * text.C (drawInset): It was possible that p.row would be removed by
11328 breakAgainOneRow upsetting a few other settings. There may be another
11329 small tweak possible by setting need_break_row = 0 when p.row has been
11330 removed but I don't know enough about the logic here.
11332 2002-01-15 Allan Rae <rae@lyx.org>
11334 * text.C (insertChar): removed conditional truism.
11336 * BufferView2.C (removeAutoInsets): More tweaks.
11337 cur_par_prev could be a stray pointer. Check for trailing empty line
11338 in case last line was cur_par and only had an error inset on it.
11340 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11345 * vc-backend.C (most methods):
11346 * exporter.C (Export):
11347 * converter.C (convert):
11349 * LyXSendto.C (SendtoApplyCB):
11350 * lyxfunc.C (dispatch):
11354 * lyx_cb.C (AutoSave):
11356 * BufferView_pimpl.C (MenuInsertLyXFile):
11357 * buffer.C (runChktex): use Buffer::filePath().
11359 * buffer.h: rename filename to filename_; rename filepath to
11360 filepath_ and make it private
11361 (filePath): new method
11363 * buffer.C (writeFile): use fileName()
11366 * lyx_main.C (init): fix starting of LyX when the binary is a
11367 link from so,ewhere else.
11369 * minibuffer.C: include <cctype> for isprint
11371 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11373 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11374 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11375 name clash with InsetCollapsable's width function.
11377 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11379 * lastfiles.C: include <iterator>
11381 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11383 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11386 * buffer.C (makeLaTeXFile): ditto.
11387 Also make loop operation more transparent.
11389 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11391 * ToolbarDefaults.C: remove trailing comma closing namespace.
11393 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11395 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11398 * trans.C (Load): comment out unused variable, allowed.
11400 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11402 * minibuffer.[Ch] (append_char): new method to recieve input from the
11403 drop-down completion browser. If a key was pressed, then recieve this
11404 char and append it to the existing string.
11405 (peek_event): modify the positioning data passed to the completion
11406 browser so that it can be placed above the minibuffer rather than below.
11407 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * LyXAction.C (init): alloe error-next for readonly documents.
11411 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11414 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * bufferlist.C (readFile): create the buffer _after_ checking that
11419 * lyxfunc.C (verboseDispatch): fix handling of arguments
11421 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11423 * lyxrc.C: use string::erase() instead of initializing to "".
11426 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11428 * BufferView_pimpl.h:
11429 * BufferView_pimpl.C:
11432 * text2.C: tell X when we have made a selection for copying
11434 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * BufferView_pimpl.C (MenuInsertLyXFile):
11437 * lyxfunc.C (menuNew):
11439 (doImport): add shortcuts to directory buttons
11441 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11444 * lyxfunc.C (setStatusMessage):
11445 (getStatusMessage): new methods
11446 (getStatus):use setStatusMessage instead of setErrorMessage
11447 (dispatch): when function is disabled, set error message here
11448 [instead of in getStatus previously]
11450 * BufferView_pimpl.C (workAreaButtonRelease): update
11451 toolbar/menubar here too.
11453 2002-01-13 Allan Rae <rae@lyx.org>
11455 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11456 Now seems indestructible. Remaining task is to audit all other
11457 code affected by deleteEmptyParagraphMechanism. One small quirk
11458 left is that an empty document with an error in the preamble can
11459 be made to report an error but no error box appears. I don't know
11461 (removeAutoInsets): Improved comments.
11463 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11466 * Thesaurus.C: update for Aiksaurus 0.14
11468 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * text2.C (firstParagraph): removed member function, all uses
11471 replaces with ownerParagraph
11472 (redoParagraphs): here
11473 (updateInset): here
11474 (toggleAppendix): here
11475 * BufferView2.C (insertErrors): here
11476 (setCursorFromRow): here
11478 2002-01-13 Allan Rae <rae@lyx.org>
11480 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11481 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11482 There is still a way to segfault this although you may have to do this
11483 multiple times: Have an InsetERT with an unknown command in it.
11484 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11485 <down-arrow>, <Enter> again, View->DVI, BANG!
11487 * text2.C (setCursor):
11488 (deleteEmptyParagraphMechanism):
11489 * lyxtext.h (setCursor):
11490 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11491 Making use of the return value may help fix other bugs.
11493 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11495 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11497 * LyXView.C (updateMenubar): call MenuBar::update here
11498 (updateToolbar): but not here
11499 (showState): do not update toolbar/menubar
11501 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11502 should need to care about that.
11504 * lyxfunc.C (verboseDispatch): simplify a bit
11505 (getStatus): have a version which takes a pseudoaction, and
11506 another which requires a (kb_action,string).
11508 * LyXAction.C (retrieveActionArg): make it work also when action
11509 is not a pseudo-action.
11510 (getActionName): simplify a bit
11513 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * lyxfunc.C (verboseDispatch): new families of methods with
11516 several ways to specify a command and a bool to indicate whether
11517 the command name and shortcut should be displayed in minibuffer
11518 (eventually, we could extend that to a finer bitmask like
11519 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11520 (dispatch): the pristine dispatch command which just, well,
11521 dispatchs! Note it still sets its result to minibuffer; I'm not
11524 * lyxfunc.h: remove setHintMessage
11526 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11528 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * BufferView_pimpl.C (specialChar): delete new inset if we have
11531 not been able to insert it.
11533 * kbmap.C: revert to using int instead of kb_action, since all we
11534 are dealing with is pseudo-actions.
11536 * LyXAction.C (searchActionArg): change to return int instead of
11537 kb_action, since the result is a pseudoaction.
11539 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11541 * buffer.C (insertErtContents): Fix (partially) the font bug.
11543 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11545 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11546 as the other one is broken on my machine!
11548 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11551 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11553 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11555 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11556 reflect their actual use. Provide compatibility code for older lyxrc
11559 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11561 change names of popup font variables in line with the changes to lyxrc.C
11563 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * buffer.C (asciiParagraph): avoid outputing a word twice after
11568 * lyxrc.C (getDescription): document that document_path and
11569 template_path can be empty.
11571 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11573 * LaTeXFeatures.C (getMacros):
11574 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11576 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11578 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11580 (getPackages): rename feature "floats" to "float". Use an array to
11581 iterate over 'simple' features (i.e. just a \usepackage). Add
11582 handling of "amsmath" (renamed from "amsstyle").
11584 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11586 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11589 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11591 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11592 FuncStaus::FuncStatus & FuncStaus::some_method().
11594 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11596 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11597 of the func_satus stuff. Edited and massaged in various ways by
11600 * lyxfunc.C (getStatus): use FuncStatus
11602 2002-01-08 Juergen Vigna <jug@sad.it>
11604 * text.C (nextBreakPoint): use function Inset::isChar().
11606 * paragraph.C (TeXOnePar): use function
11607 Inset::forceDefaultParagraphs.
11609 * buffer.C (latexParagraphs): use function
11610 Inset::forceDefaultParagraphs.
11612 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11614 * lyx_gui.C (init): set the style of the menu popups to
11615 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11617 2002-01-07 Juergen Vigna <jug@sad.it>
11619 * text.C (setHeightOfRow): small fix
11620 (prepareToPrint): don't look at alignment if we don't have the place
11623 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11625 * box.C: New file. Move the Box methods and functions out of box.h,
11626 following Lars' suggestion.
11628 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11630 * box.h: #include "support/LOstream.h", needed for inlined function.
11633 * lyxtextclasslist.C: added some using std declarations.
11635 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11637 * box.h: make signed dimensions to allow insets wider than
11638 the screen (bug #162)
11640 * BufferView_pimpl.C: add some insetHit debug
11642 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11644 * vc-backend.C: add FIXME
11646 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11648 * lyxfunc.C (getStatus): enable code for showing math font status
11651 2002-01-07 Juergen Vigna <jug@sad.it>
11653 * text.C (nextBreakPoint): removed debug output not needed anymore.
11655 2002-01-06 Juergen Vigna <jug@sad.it>
11657 * text.C (nextBreakPoint): fixed up this function we had this bug
11658 since ever but now hopefully we break row better.
11659 (insertChar): we have to check if an inset is the next char as it
11660 could now happen that a large inset is causing a break.
11662 2002-01-05 Juergen Vigna <jug@sad.it>
11664 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11665 if it doesn't like to be drawed.
11667 2002-01-04 Juergen Vigna <jug@sad.it>
11669 * BufferView2.C (lockInset): forgot to set a cursor.
11671 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11673 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11675 * FormMathsPanel.C:
11678 * form_maths_panel.C:
11679 * form_maths_panel.h:
11680 * form_maths_panel.fd: implemented sub- and super- buttons in math
11683 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11684 (or ^ space) to be used as in TeX (req'd by André).
11686 * lyxfunc.C: Allow ^ and _ again to be used both as
11687 super/subscript (mathed) and as themselves (in text).
11689 2002-01-03 Allan Rae <rae@lyx.org>
11691 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11692 "LyX" or the filename of the current buffer if it has one. This is a
11693 modified form of John Levon's patch.
11695 * XFormsView.C (setWindowTitle): also set icon title.
11697 * LyXView.h (setWindowTitle): signature changed.
11698 * XFormsView.h (setWindowTitle): ditto.
11700 2002-01-02 Juergen Vigna <jug@sad.it>
11702 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11704 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11706 * screen.C (topCursorVisible): introduce a temp var for
11707 text->cursor.row(), handle the case where this row is null. (kindo
11710 * text2.C (setCursor): add a couple of asserts.
11712 * paragraph.h (inset_iterator): add -> operator
11714 * paragraph.[Ch] (autoDeleteInsets): remove member function
11716 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11717 cursor pos correctly and handle inset deletion by itself.
11718 (insertErrors): move iterator declaration out of for expression
11720 * lyxtextclass.C: add <algorithm>
11722 * Makefile.am: added the new files to sources, removed layout.C
11724 * layout.C: removed file
11726 * layout.h: remove LYX_DUMMY_LAYOUT
11728 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11732 * lyxtextclass.[Ch]:
11733 * lyxtextclasslist.[Ch]: new files
11735 * include order changes to a lot of files, also changes because of
11738 2001-12-27 Juergen Vigna <jug@sad.it>
11740 * buffer.C (asciiParagraph): more fixes.
11742 * tabular.C (ascii): make ascii export support export of only the
11743 data separated by a column-delimiter.
11744 (ascii): better support for ascii export.
11746 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11748 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11750 * tabular_funcs.C: use a "using std::getline" instead of the
11751 previous fix from Angus (necessary for cxx + lyxstring)
11753 2001-12-24 Juergen Vigna <jug@sad.it>
11755 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11757 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11758 problems. First check a minipage also if we have some ert-contents
11759 (not only on par->size(), second set the right depth of the paragraph
11760 on the relink to the root-paragraph-list!
11762 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11763 which then did not anymore update the main paragraphs on undo/redo!
11765 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11768 code. Support all font-changing funcs (even those which are not in
11769 menu currently). Support for reporting font settings in
11770 mathed (disabled until Andre provides a function on mathed's side).
11772 * func_status.h (toggle): small helper function to set toggle
11775 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11777 * tabular_funcs.C: getline -> std::getline
11779 2001-12-21 Juergen Vigna <jug@sad.it>
11781 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11782 accessed and could be 0 (I couldn't generate this but it seems
11785 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11788 * tabular_funcs.h: here and include iosfwd
11790 2001-12-20 Juergen Vigna <jug@sad.it>
11792 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11793 inside inset but undo_par was.
11795 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * Thesaurus.C: always include <config.h> in sources.
11801 * box.h: do not include <config.h> in header files
11803 * text.C (paintLastRow): remove unused variable
11805 * text.C (transformChar):
11807 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11809 * Painter.C (text):
11810 * font.C (width): rewrite to use uppercase() instead of
11813 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11815 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11817 * lyxfind.C: clean up of find failure position change
11819 2001-12-20 Juergen Vigna <jug@sad.it>
11821 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11823 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11824 (TeXRow): added to LaTeX a single tabular row.
11825 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11826 (Latex): simplified and finally good LT-h/f support.
11827 (various_functions): just small adaptions for LT-h/f support.
11829 * tabular_funcs.[hC]: added and moved here all not classfunctions
11832 2001-12-19 Juergen Vigna <jug@sad.it>
11834 * tabular.[Ch]: better support for longtabular options (not finished
11837 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11839 * text.C (paintLastRow): use the label font instead of the font of
11840 the last character to compute the size of *_BOX. This makes more
11841 sense and avoids a crash with empty paragraphs.
11842 Use Painter::rectangle to draw EMPTY_BOX.
11844 2001-12-19 Juergen Vigna <jug@sad.it>
11846 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11847 the paragraphs if the replaced paragraph is not the first one!
11848 Tried to delete not used paragraphs but does not work yet so for
11849 now it's inside #ifdef's and by default off!
11851 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11853 * MenuBackend.C: include "lyx_main.h" instead of declaring
11854 lastfiles (actually was declared as LastFiles* instead of a
11857 2001-12-17 Juergen Vigna <jug@sad.it>
11859 * tabular.C (AppendColumn): applied John's fix
11861 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11865 * BufferView_pimpl.h:
11866 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11869 * box.h: new start of class for above
11871 * lyxfunc.C: ignore space-only minibuffer dispatches.
11872 Show the command name when it doesn't exist
11874 * minibuffer.C: don't add empty lines to the history
11876 * minibuffer.C: add a space on dropdown completion
11878 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11880 * text.C: fix line above/below drawing in insets
11882 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * lyxlength.C (LyXLength): Initialize private variables.
11886 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11889 when inserting error insets.
11891 2001-12-13 Juergen Vigna <jug@sad.it>
11893 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11894 actually sometimes the before-paragraph.
11895 (setUndo): don't clear the redostack if we're not actually undoing!
11897 2001-12-06 Juergen Vigna <jug@sad.it>
11899 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11900 and fixed redoing of main paragraph, so we can use it now ;)
11902 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11904 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11906 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11909 2001-12-13 André Pönitz <poenitz@gmx.net>
11912 * undo_func.C: minor cleanup
11914 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11916 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11917 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11918 font in urw-fonts package which is marked as -urw-fontspecific and
11919 does not work (incidentally, changing the encoding in the
11920 fonts.dir of this package to -adobe-fontspecific fixes the
11923 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11924 is a crash when undoing first paragraph (Juergen, please take a
11925 look). THis does not mean the undo fix is wrong, just that it
11928 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11929 the (Paragraph*) version when needed instead of duplicating the
11932 * text.C (workWidth): use Inset::parOwner to find out where the
11933 inset has been inserted. This is a huge performance gain for large
11934 documents with lots of insets. If Inset::parOwner is not set, fall
11935 back on the brute force method
11937 * paragraph_pimpl.C (insertInset):
11938 * paragraph.C (Paragraph):
11939 (cutIntoMinibuffer): set parOwner of insets when
11940 inserting/removing them
11942 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11944 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11950 * mathed/formulabase.C:
11951 * mathed/math_cursor.[Ch]:
11952 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11955 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * lyxlength.[Ch] (operator!=): new function
11959 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11961 * text.C (workWidth): use Inset::parOwner to find out where the
11962 inset has been inserted. This is a huge performance gain for large
11963 documents with lots of insets. If Inset::parOwner is not set, fall
11964 back on the brute force method
11966 * paragraph_pimpl.C (insertInset):
11967 * paragraph.C (Paragraph):
11968 (cutIntoMinibuffer): set parOwner of insets when
11969 inserting/removing them
11971 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11973 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * tabular-old.C (getTokenValue):
11976 * tabular.C (getTokenValue):
11977 (write_attribute): new versions for LyXLength
11978 (everywhere): adjust the use of widths
11980 * tabular.h: change the type of widths from string to LyXLength
11982 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11984 * paragraph.C: fixed missing line number count when exporting
11985 Environments to LaTeX file
11987 * buffer.C: added informational message for checking line numbers.
11989 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11991 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11992 paragraph, do the 'double space' part, but not the 'empty
11995 * text.C (workWidth): small optimization
11996 (getLengthMarkerHeight): use minimal size for negative lengths.
11998 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12000 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12002 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12004 2001-12-11 André Pönitz <poenitz@gmx.net>
12007 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12009 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12011 * text2.C: keep selection on a setFont()
12013 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12015 * lyx_cb.C: another bv->text misuse, from insert label
12017 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12020 * kbsequence.C: re-instate nmodifier mask
12022 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12024 * lyx_main.h: make lyxGUI private.
12026 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12028 * lyxfind.C: place the cursor correctly on failed search
12030 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * text.C (getLengthMarkerHeight): for small heights, the arrows
12033 are not always on top/bottom of the text
12034 (drawLengthMarker): smaller arrows; take the left margin in
12035 account; draw also vfills.
12037 (paintLastRow): remove special code for vfill and standard spaces,
12038 since everything is handled in drawLengthMarker now.
12040 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * buffer.C (insertErtContents): try to handle font and language
12043 interaction a bit better.g
12045 * ColorHandler.C (updateColor): change the hash to cover the whole
12046 LColor enum, ws cleanup
12047 (getGCLinepars): ditto
12048 (getGCLinepars): only lookup in the linecache once.
12050 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12052 * iterators.C (operator++): Make the iterator more robust
12054 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12056 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12061 * text.C: better added space drawing
12063 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12066 * BufferView2.C: fix layout combo update on inset unlock
12068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12070 * Makefile.am: don't compile unused files
12072 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12076 * LyXAction.C: remove old LFUN_LAYOUTNO
12078 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12080 * paragraph_pimpl.h:
12081 * paragraph_pimpl.C: isTextAt() doesn't need font param
12083 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12086 * lyxlex.C: little cleanup
12088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12090 * BufferView_pimpl.C: fix insertAscii for insets
12092 2001-12-05 Juergen Vigna <jug@sad.it>
12094 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12095 set the right font on the "multi" paragraph paste!
12097 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * lyxlength.C: remove out-commented code.
12105 * BufferView_pimpl:
12119 * vc-backend.C: change "while(" to "while ("
12121 * lyxlength.[Ch]: add zero function to check if length is zero or
12123 * lyxgluelength.C: use it
12125 2001-12-05 Allan Rae <rae@lyx.org>
12127 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12128 Works for 2.95.3, from what I understand of Garst's reports this should
12129 work for other g++ versions. We're screwed if the abs(int) definition
12130 changed between bugfix releases of gcc.
12132 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12134 * text.C: fix chapter label offset !
12136 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12139 * text.C: fix hfill at end of line, clean up
12141 2001-12-04 Juergen Vigna <jug@sad.it>
12143 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12144 that we force an update of the inset and it's owners if neccessary.
12146 2001-12-03 Juergen Vigna <jug@sad.it>
12148 * text.C (rowLast): simplified code
12150 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12152 * lyxfunc.C: fix show options on timeout
12154 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * screen.C (topCursorVisible): scroll half a page when the cursor
12157 reached top of bottom of screen
12159 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12161 * minibuffer.C: deactivate on loss of focus
12163 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12165 * vspace.[Ch] (operator!=): add operator.
12167 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.C: refuse to open an inset when
12170 there's a selection.
12172 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.C: allow to click on RHS of full row insets
12176 2001-11-30 Juergen Vigna <jug@sad.it>
12178 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12179 insets for undo reasons.
12181 2001-11-28 André Pönitz <poenitz@gmx.net>
12183 * vspace.[Ch]: cosmetical changes
12185 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12195 * kbsequence.C: part re-write of old kb code
12198 * WorkArea.C: remove Lgb_bug_find_hack
12200 2001-11-30 José Matos <jamatos@fep.up.pt>
12202 * buffer.C (makeDocBookFile): add a comment to point a hack.
12203 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12204 Fixed a double write of labels.
12206 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12209 * LaTeX.h Fixed bug in LaTeX class where it would not
12210 re-run latex if no depfiles were changed, but the .dvi was removed.
12212 2001-11-28 André Pönitz <poenitz@gmx.net>
12214 * all the files from the change on 2001/11/26:
12215 use lyx::layout_type instead of LyXTextClass::size_type
12216 use lyx::textclass_type instead of LyXTextClassList::size_type
12218 2001-11-29 Juergen Vigna <jug@sad.it>
12220 * text.C: added support for paragraph::isFreeSpacing()
12222 * buffer.C: same as above
12224 * paragraph.h: inserted isFreeSpacing() function to enable
12225 FreeSpacing inside InsetERT.
12227 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12228 of the paragraph's in the cut/copy buffer to 0!
12230 * text2.C (removeRow): remove the assert as it can!
12232 * lyxtext.h: added helper function firstRow returning firstrow and
12233 made firstrow private again.
12235 * BufferView2.C (lockInset): don't relock if we're already locked!
12237 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12238 the only paragraph.
12239 (removeRow): added Assert::(firstrow)
12241 * debug.C: forgot to add INSETTEXT here.
12243 2001-11-28 Juergen Vigna <jug@sad.it>
12245 * sp_spell.C (initialize): changed error text to more general
12246 spellchecker command use (not only ispell!)
12248 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12250 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12252 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12254 * vspace.C: initialise lyxgluelength on failure
12256 2001-11-28 Allan Rae <rae@lyx.org>
12258 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12259 declaration & definition that looks like a function declaration.
12261 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * BufferView2.C (copy):
12264 (copyEnvironment): do not clear the selection when doing a copy.
12266 * text.C (paintFirstRow): compilation fix
12268 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12270 * tabular.C (Latex): correct line count when writing latex.
12272 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12274 * paragraph_pimpl.h:
12275 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12278 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12282 * LColor.C: change vfillline->added_space
12284 * text.C: add markers and text for added space
12286 * vspace.C: fix comment
12288 2001-11-28 André Pönitz <poenitz@gmx.net>
12290 * paragraph.C: whitespace changes
12291 * all the other files from the change on 2001/11/26:
12292 change *::pos_type into lyx::pos_type
12294 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12296 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12297 language of the document when inserting error insets.
12299 2001-11-26 André Pönitz <poenitz@gmx.net>
12301 * BufferView_pimpl.[Ch]:
12309 * paragraph_pimpl.[Ch]:
12312 * text2.C: reduce header dependencies, introduce type for positions
12314 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12316 * <various>: change to use Alert.h
12318 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12320 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12321 when encountering an unknown token.
12322 (readLyXformat2): Show an error message if there were unknown tokens.
12324 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12327 * BufferView_pimpl.C:
12331 * text2.C: use par->isInset()
12333 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12335 * paragraph_pimpl.h:
12336 * paragraph_pimpl.C: cleanup
12338 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12340 * text2.C (removeRow):
12341 * text.C (setHeightOfRow): remove useless (and costly) call to
12344 2001-11-20 Allan Rae <rae@lyx.org>
12346 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12347 Now need Inset*::checkInsertChar() to return true for appropriate
12348 cases so that the characters in the minibuffer will actually be
12351 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * text.C: change the order of the includes.
12354 (workWidth): initialize it at once.
12355 (workWidth): make maxw unsigned
12356 (setHeightOfRow): remove unused variable (inset)
12357 (selectSelectedWord): remove unused variable (inset)
12358 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12360 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12362 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12363 server is not running.
12365 (closeConnection): add debug info when server is disabled.
12367 * ColorHandler.C (getGCForeground): send debug message to GUI
12370 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12372 * kbmap.C (bind): modify because return conventions of
12373 kb_sequence::parse have changed.
12375 * kbsequence.C (parse): only ignore spaces and not any stupid
12376 control character. This avoids tests like s[i] <= ' ', which are
12377 guaranteed to fail with 8bit characters and signed chars.
12378 Change return code to string::npos when there have been no error
12379 (0 was a bad idea when error is at first character)
12381 2001-11-14 José Matos <jamatos@fep.up.pt>
12384 * buffer.C (simpleDocBookOnePar): removed unused argument.
12386 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12389 insets which are part of a word. Paragraph::isLetter takes care of
12390 that now. Use Paragraph::isInset to identify insets.
12391 (selectSelectedWord): do not test for hyphenation break.
12393 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12394 that protected spaces are considered as spaces.
12396 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12399 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12402 * lyxserver.C: fix it. and small cleanup.
12404 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView_pimpl.C: use inline helpers
12409 * LaTeXFeatures.C: fix typos
12412 * Spacing.C: move spacing_string into class
12414 * ToolbarDefaults.C: move stuff into namespace anon
12416 * layout.h: update enum
12418 * lyxfunc.C: use better debug
12420 * minibuffer.h: fix typo
12424 * WorkArea.C: add and use Debug::WORKAREA
12428 * text2.C: code re-organisation, inline helpers
12430 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12432 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12433 std::vector.empty().
12435 2001-11-09 Allan Rae <rae@lyx.org>
12437 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12438 '\n's after tables. Tabular and ERT inset work now makes this no
12441 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12444 * minibuffer.C: fix crash, improve drop-down completion
12446 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12449 * lyxserver.C: invalidate fd's when doing endPipe()
12451 2001-11-08 José Matos <jamatos@fep.up.pt>
12453 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12454 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12457 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12459 2001-11-07 José Matos <jamatos@fep.up.pt>
12462 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12465 * buffer.C (sgmlOpenTag):
12466 * buffer.C (sgmlCloseTag): removed debug info.
12468 * buffer.h (sgmlOpenTag):
12469 * buffer.h (sgmlCloseTag): made public.
12471 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12473 * buffer.C (saveParamsAsDefaults):
12474 * lyx_cb.C (MenuLayoutSave): remove
12476 * LyXAction.C (init):
12478 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12480 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12482 * buffer.C (setPaperStuff): removed from here...
12484 * bufferparams.C (setPaperStuff): ... and moved there.
12486 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12490 * XFormsView.C: add support for drop-down completion
12492 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12494 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12497 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12499 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12502 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12504 * lyx_main.C: change ref to known bugs
12506 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12508 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12509 to work around older babel problems.
12511 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12513 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12515 2001-10-24 Juergen Vigna <jug@sad.it>
12517 * tabular-old.C (ReadOld): below variable changes reflected.
12519 * tabular.[Ch]: added ltType struct for longtable header/footer
12520 defines and changed all instances where they are used. Added
12521 future support for double top/bottom rows.
12523 2001-10-24 José Matos <jamatos@fep.up.pt>
12525 * buffer.h (docbookHandleCaption):
12526 * buffer.C (docbookHandleCaption): removed unused function.
12527 (makeDocBookFile): moved docbook supported version to v4.1.
12529 2001-10-24 José Matos <jamatos@fep.up.pt>
12532 * tabular.C (docbookRow): new function to export docbook code of a row.
12533 (DocBook): now honors the longtable flags.
12535 2001-10-23 José Matos <jamatos@fep.up.pt>
12538 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12539 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12541 * buffer.C (makeLinuxDocFile):
12542 (makeDocBookFile): reworked the preamble, more clean, and with
12543 support for lyx defined entities. Changed the document declaration
12544 to be more XML friendly.
12546 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12547 if we need to output XML that should be done with a filter.
12549 2001-10-22 Juergen Vigna <jug@sad.it>
12551 * sp_pspell.h (class PSpell): add alive function needed in the
12552 controller to see if the spellchecker could be started.
12554 2001-10-22 Juergen Vigna <jug@sad.it>
12556 * buffer.C (insertStringAsLines): modify the font for inserting
12557 chars in certain conditions by calling checkInsertChar(font).
12559 2001-10-19 Juergen Vigna <jug@sad.it>
12561 * text.C (workWidth): use getRow instead of wrong algorithm.
12562 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12564 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12569 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12571 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12573 * text.C (workWidth): do not search for the exact row when
12574 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12575 optimization for big documents.
12577 2001-10-18 Juergen Vigna <jug@sad.it>
12579 * text.C (workWidth): new function with added Inset * parameter.
12581 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12583 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12585 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12586 change return type of getColumnNearX.
12589 * text.C (changeRegionCase): use uppercase/lowercase instead of
12592 (rightMargin): simplify code by factoring out the uses of
12597 (appendParagraph): use Paragraph::size_type
12599 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12601 * vspace.C (asLatexString): add a missing break
12603 2001-10-15 Herbert Voss <voss@perce.de>
12605 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12607 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12609 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12612 2001-10-10 André Pönitz <poenitz@gmx.net>
12614 * lyxfunc.C: removed greek_kb_flag.
12616 2001-10-10 Herbert Voss <voss@perce.de>
12618 * lyx_main.C: delete global string help_lyxdir.
12620 2001-10-09 Herbert Voss <voss@perce.de>
12622 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12624 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12626 * lyx_main.C: added global string help_lyxdir.
12628 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12630 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12632 * lyxrc.C (set_font_norm_type): support iso8859-4
12634 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12636 * LaTeX.C (deplog): add another regex for MikTeX
12638 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12640 * lyxrc.C (set_font_norm_type): support iso8859-3
12642 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12646 * LaTeXFeatures.C: remove special case of french and index
12648 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12649 before \begin{document}). This solves several incompatibilities.
12651 2001-10-03 Garst Reese <reese@isn.net>
12653 * lyx_cb.C: change CheckTex error msg.
12655 2001-10-03 José Matos <jamatos@fep.up.pt>
12657 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12659 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12661 * .cvsignore: update
12663 * lyx_main.C (commandLineVersionInfo): use new style version info.
12665 * buffer.C (writeFile):
12667 (makeLinuxDocFile):
12668 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12670 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12672 * version.h: update to use stuff in version.C
12674 * version.C.in: new file. Contains version information determined
12675 at compile time. This is a merging of version.h and
12678 2001-10-03 Juergen Vigna <jug@sad.it>
12680 * BufferView_pimpl.C (update): don't change "dirty" status in
12683 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12685 * WorkArea.C (c-tor): re-position version string slightly.
12687 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12689 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12690 revert to previous code.
12692 WorkArea.[Ch]: (show, destroySplash): methods removed.
12694 WorkArea.C: rework code so that it's an amalgam of the codes before and
12695 after the splash screen was moved to WorkArea.
12697 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * vspace.C (inPixels):
12703 * buffer.C (insertStringAsLines):
12704 (asciiParagraph): fix types to be large enough
12706 * lyxlex_pimpl.h: change member status from short to int
12708 * layout.h: fix type of endlabeltype
12711 * kbsequence.C (parse): change return type to string::size_type
12713 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12716 * Bullet.C (bulletSize):
12717 (bulletEntry): do not use short ints as parameters
12719 * BufferView2.C (insertLyXFile): change a char to an int.
12721 * WorkArea.C (WorkArea): remove unneeded floats in computation
12723 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12725 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12727 * paragraph.C (asString): Do not ignore newline/hfill chars when
12728 copying to the clipboard.
12730 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12732 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12733 after a multi-line inset.
12735 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12737 * paragraph.C (validate): Set NeedLyXFootnoteCode
12739 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12741 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12742 and decrease-error to decrease.
12744 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12747 it more readable (should be equivalent)
12749 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12751 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12753 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12755 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12756 of a cursor (row, etc.) after a character has been deleted
12757 (deleteEmptyParagraphMechanism): call the method above on _all_
12758 cursors held by the LyXText when a double space has been
12761 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12763 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12765 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12767 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12768 background. Use greyOut() and the new show() methods to toggle between
12769 the foreground and background. Add code to remove the splash after
12770 its initial showing.
12772 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12773 (create_forms): no longer call Dialogs::showSplash.
12775 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12777 * .cvsignore: add version_info.h
12779 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * version_info.h.in: new file
12783 * Makefile.am: add version_info.h.in
12785 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12786 version_info.h instead of VERSION_INFO
12788 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12790 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12791 The ERT inset now returns string().
12793 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12795 * lyxtext.h, text.C (selectNextWord): renamed as
12796 selectNextWordToSpellcheck.
12798 * text.C (selectNextWordToSpellcheck): Modified to not select
12799 words inside an ERT inset.
12801 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12803 * lyx_cb.C (MenuLayoutSave): change a bit the question
12805 * sp_base.h: include <sys/types.h>
12807 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12809 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12811 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12813 * several files: fix typos in user-visible strings
12815 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12817 * text2.C (pasteSelection): do not set the selection, since it
12818 will be cleared later. Actually, the intent was to fix the way the
12819 selection was set, but I figured rmoving the code was just as good.
12821 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12823 * FontLoader.C (available): Check if font is available without
12826 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12828 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12830 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12832 * lyxrc.[Ch]: added display_graphics variable and associated code.
12834 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12836 * bufferparams.C (hasClassDefaults): new method. Returns true if
12837 the buffer parameters correspond to known class defaults
12839 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12841 * XFormsView.C (show): set minimum size to the main window.
12843 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12845 * text2.C (copySelection):
12847 * lyxfind.C (LyXReplace):
12848 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12849 LyXText::selectionAsString.
12851 * paragraph.C (asString): add "label" argument to the second form
12853 * text2.C (selectionAsString): add "label" argument and pass it to
12854 Paragraph::asString.
12856 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12858 * lyx_main.C (commandLineHelp): remove version information
12860 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12862 * lyx_main.C: add -version commandline option
12864 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * paragraph.h: make the optional constructor arg required instead.
12867 some modifications to other files because of this.
12869 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12871 * lyxserver.C (C_LyXComm_callback): make it static
12873 * lyx_main.C (error_handler): make it static
12875 * lyx_gui.C (LyX_XErrHandler): make it static
12877 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12879 * WorkArea.C: make the extern "C" methods static.
12881 * Makefile.am (lyx_LDADD): simplify
12883 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12885 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12886 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12888 * LyXAction.C (init):
12889 * lyxfunc.C (dispatch): associated code removal.
12891 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12893 * lyxfont.h (isSymbolFont): shut off warning
12895 * text.C (setHeightOfRow):
12896 (getVisibleRow): fix crash with empty paragraphs which have a
12899 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12901 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12904 2001-09-04 José Matos <jamatos@fep.up.pt>
12907 * tabular.C (docbook): rename docBook method to docbook.
12909 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12911 * Makefile.am: add dependencies to main.o.
12913 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12915 * FontLoader.C (available): Return false if !lyxrc.use_gui
12917 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12919 * FontInfo.C (query):
12920 * converter.C (view):
12921 * importer.C (Import):
12922 * exporter.C (Export): Can not -> cannot.
12924 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12926 * BufferView_pimpl.C: allow to create index inset even if
12929 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12931 * buffer.C (getLists): replace boost::tie code with an explicit pair
12932 as boost::tie can break some compilers.
12934 * iterators.h: Added a std:: declaration to the return type of
12937 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12939 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12942 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12944 * iterators.[Ch]: New files. Provide paragraph iterators.
12946 * buffer.C (changeLanguage): Use paragraph iterators.
12947 (isMultiLingual): ditto
12949 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12951 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12953 * FontLoader.C: Support for cmr font.
12955 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12957 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12958 (available): New method.
12960 * FontInfo.C (getFontname): Use scalable fonts even when
12961 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12964 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12966 * converter.C (Formats::view): reverted! Incorrect fix.
12968 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12970 * converter.C (Formats::view): only output the -paper option
12971 if the dvi viewer is xdvi, thereby fixing bug #233429.
12973 2001-08-23 Herbert Voss <voss@perce>
12975 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12977 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12979 * Spacing.h (Spacing): Set space to Default on in the default
12982 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * vc-backend.h (RCS::versionString): add RCS to version
12985 (CVS::versionString): add CVS to version
12987 * vc-backend.C (scanMaster): do not add CVS to version.
12988 (scanMaster): do not add RCS to version
12990 * lyxvc.C (versionString): new method
12992 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12994 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12996 * Spacing.C (set): initialize fval
12998 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13000 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13003 2001-08-16 Juergen Vigna <jug@sad.it>
13005 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13007 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13009 * BufferView_pimpl.C:
13012 * text2.C: setParagraph takes linespacing now
13014 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13016 * LyxAction.C: add internal LFUN_CITATION_INSERT
13018 * LyXView.C: actually apply fix
13020 * bufferlist.C: fix open non-existent file
13022 * lyxfind.C: fix indentation
13024 * lyxfunc.C: remove unneeded assert, fix typo
13026 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13028 * MenuBackend.C: use "Floatname List"
13030 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13032 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13033 when converting LaTeX layout to insetERT.
13034 Generate a non-collapsed float when reading old float
13036 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13038 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13041 2001-08-13 Juergen Vigna <jug@sad.it>
13043 * text.C (fill): return 0 instead of 20 as this seems to be the more
13046 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13048 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13051 2001-08-13 Juergen Vigna <jug@sad.it>
13053 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13055 (SearchBackward): comment out the unlocking of the inset_owner this
13056 should not be needed!
13058 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13060 * Many files: Remove inherit_language, and add latex_language
13062 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13063 collapsible insets.
13065 2001-08-10 Juergen Vigna <jug@sad.it>
13067 * text.C (prepareToPrint): fixed hfill-width in draw!
13069 * BufferView2.C (selectLastWord): save the selection cursor as this
13070 now is cleared in the function LyXText::clearSelection!
13072 2001-08-08 Juergen Vigna <jug@sad.it>
13074 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13075 BACKSPACE type functions.
13077 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13078 is only cutted from the document but not put in the cut-buffer, where
13079 still the old stuff should be.
13081 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13083 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13085 * tabular.C (SetWidthOfCell): fixed special case where the width
13087 (LeftLine): handle '|' in align_special.
13089 (LeftAlreadyDrawed): ditto
13090 (SetWidthOfCell): ditto
13092 2001-08-07 Juergen Vigna <jug@sad.it>
13094 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13096 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13098 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13099 * lyxlex.[hC]: ditto
13101 2001-08-06 Juergen Vigna <jug@sad.it>
13103 * text.C (getVisibleRow): fix up row clearing a bit.
13105 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * minibuffer.C: make sure the X server sees the changes in the input.
13109 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * paragraph.C (getFont): split into...
13112 (getLabelFont): this
13113 (getLayoutFont): and this
13114 * paragraph_pimpl.C (realizeFont): calling this
13116 * text2.C (getFont): split into...
13117 (getLayoutFont): this
13118 (getLabelFont): and this
13119 (realizeFont): all three calling this
13121 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13124 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13126 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13128 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13130 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13131 layouts from the Quote inset insertion.
13133 2001-08-03 Juergen Vigna <jug@sad.it>
13135 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13137 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13138 only if status not is already CHANGED_IN_DRAW (second level).
13140 * text.C (draw): don't set the need_break_row when inside an
13143 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13145 * buffer.C (parseSingleLyXformat2Token): handle more latex
13148 * bufferview_funcs.[hC]: change function names to
13149 begin with small char, adjust other files.
13151 2001-08-02 André Pönitz <poenitz@gmx.net>
13154 BufferView_pimpl.C: remove broken special code for math-greek
13156 2001-08-02 Juergen Vigna <jug@sad.it>
13158 * BufferView_pimpl.C (update): redone this function so that we
13159 update the text again if there was a CHANGE_IN_DRAW.
13161 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13162 (drawFromTo): added a new internal bool which is used by draw() and
13164 (general): some cursor drawing problems fixed.
13166 2001-08-01 Juergen Vigna <jug@sad.it>
13168 * lyxfind.C (LyXFind): fixed
13169 (SearchForward): ditto
13170 (SearchBackward): ditto
13172 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13173 spurius drawing of the cursor in the main area.
13175 * text2.C (status): small fix which could lead to a segfault!
13176 (clearSelection): remove unneeded BufferView param.
13178 2001-08-01 André Pönitz <poenitz@gmx.net>
13180 * lyxfunc.C: small change due to changed mathed interface
13182 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13186 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13188 * lyxfunc.c: fail gracefully if file doesn't exist
13193 * BufferView_pimpl.C: IsDirWriteable() proto changed
13195 * LyXView.C: fix updateWindowTitle() to store the last title
13197 2001-07-31 Juergen Vigna <jug@sad.it>
13199 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13200 the font (wrong since using of Paragraph::highestFontInRange).
13202 * paragraph.C (highestFontInRange): added a default_size parameter.
13204 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13205 (setHeightOfRow): reformat
13207 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * converter.[hC] + affected files: move to (inital-char)lowercase
13212 * ParagraphParameters.C (ParagraphParameters): remove commented code
13214 * PainterBase.[Ch]: remove commented code
13216 * LaTeXFeatures.h: add "bool floats" for float.sty
13218 * LaTeXFeatures.C (LaTeXFeatures): init floats
13219 (require): handle float
13220 (getPackages): do it with floats
13222 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13224 * BufferView_pimpl.C (Dispatch): improve handling of
13225 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13227 * commandtags.h: #include lyxfont.h here temporarily to avoid
13230 * bufferlist.h: include LString.h here.
13232 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13234 * text2.C (getStringToIndex): new method.
13236 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13238 * *: Reduced header file dependencies all over.
13240 2001-07-30 Baruch Even <baruch@lyx.org>
13242 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13244 2001-07-29 Baruch Even <baruch@lyx.org>
13246 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13248 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * ParameterStruct.h (endif): add a default constructor to make
13251 sure that all variables is initialized.
13253 * ParagraphParameters.C (ParagraphParameters): adjust
13255 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13257 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13258 index; also, check that there is something to index, and that it
13259 does not span over several paragraphs.
13260 (doubleClick): use WHOLE_WORD_STRICT for double click.
13262 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13264 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13267 2001-07-26 Baruch Even <baruch@lyx.org>
13269 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13270 an InsetFig figure, backwards compatible reading of old figure code.
13272 2001-07-27 Juergen Vigna <jug@sad.it>
13274 * text2.C: font.realize function adaption.
13276 * text.C (draw): add a warnings lyxerr text if needed.
13278 * layout.C: font.realize function adaption.
13280 * language.C: add inherit_language and implement it's handlings
13282 * bufferview_funcs.C (StyleReset): remove language parameter from
13283 font creation (should be language_inherit now).
13285 * bufferparams.C (writeFile): handle ignore_language.
13287 * paragraph.C (getFontSettings): the language has to be resolved
13288 otherwise we have problems in LyXFont!
13290 * lyxfont.C (lyxWriteChanges): added document_language parameter
13291 (update): removed unneeded language parameter
13293 * paragraph.C (validate): fixed wrong output of color-package when
13294 using interface colors for certain fonts in certain environments,
13295 which should not seen as that on the final output.
13297 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13299 * BufferView_pimpl.C:
13304 * LyXAction.C: add thesaurus support
13307 * lyxfind.C: add "once" parameter, for thesaurus, to not
13308 move to the next match
13310 2001-07-26 Juergen Vigna <jug@sad.it>
13312 * lyxfont.C (realize): honor ignore_language too!
13315 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13317 * text.C (draw): one place more for ignore_language to not draw
13320 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13322 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13324 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13327 the minipage conversion problem.
13329 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13334 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * BufferView.h: don't forward declare WorkArea
13338 * BufferView.C: don't include WorkArea.h
13340 2001-07-25 André Pönitz <poenitz@gmx.net>
13344 * lyxfunc.C: new LFUN 'math-space'
13346 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13348 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * text2.C (toggleInset): call open/close
13352 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * lyxfunc.C (dispatch): add debug for the disabled case
13356 * font.C (buttonText): make similar to rectText
13358 * buffer.C (readInset): comment out parsing of insetlist and
13361 * PainterBase.C (rectText): small correction
13363 * BufferView_pimpl.C: comment out insettheorem and insetlist
13364 * LyXAction.C: ditto
13365 * commandtags.h: ditto
13367 2001-07-24 Juergen Vigna <jug@sad.it>
13369 * text.C (draw): honor the ignore_language.
13371 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13373 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13375 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13378 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13380 * lyxtext.h: remove unused (and unimplemented) methods
13382 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13384 * text.C (getVisibleRow): honor background color
13387 * Painter.h: remove default color argument for fillRectangle
13389 * text.C (backgroundColor): new method
13391 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * text.C (getVisibleRow): adjust
13395 * font.[Ch] (rectText): new method, metrics
13396 (buttonText): new method, metrics
13398 * PainterBase.[hC]: make rectText and buttonText always draw and take
13401 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13403 * ToolbarDefaults.C (read):
13404 * MenuBackend.C (read): allow escaping in all strings
13406 * BufferView_pimpl.C (insertAndEditInset): new method.
13407 (Dispatch): use insertAndEditInset whenever appropriate.
13409 * BufferView_pimpl.C (insertNote): removed
13411 * BufferView_pimpl.C (smartQuote): new method, moved from
13412 BufferView; if an insetquote cannot be inserted, insert a '"'
13415 * BufferView2.C: remove insertCorrectQuote();
13417 * lyxfunc.C (getStatus): Add support for all remaingin
13418 inset-insert lfuns.
13420 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13422 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13423 command (necessary to pass " as parameter of self-insert.
13425 * text.C (selectWordWhenUnderCursor):
13426 (selectWord): add word_location parameter
13427 (selectWordWhenUnderCursor): same + remove special code for word
13429 (selectNextWord): use kind() to guess type of insetspecialchar,
13432 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13433 (insertErtContents): create ert insets as collapsed.
13434 (readInset): better compatibility code for Info inset.
13436 2001-07-20 Juergen Vigna <jug@sad.it>
13438 * lyxfunc.C (dispatch): use always LyXFind now!
13440 * text2.C (init): add a reinit flag so that the LyXText can be
13441 reinited instead of deleted and reallocated (used in InsetText).
13443 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13449 2001-07-18 Juergen Vigna <jug@sad.it>
13451 * text.C (selectNextWord): handle insets inside inset by calling
13452 always the bv->text functions so that we can go up the_locking_inset!
13454 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13455 in strange locations when inside an inset!
13457 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13458 handling to include insets.
13460 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13462 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13464 * LyXAction.C (init):
13466 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13467 LIGATURE_BREAK, since the name is so stupid.
13469 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13471 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13474 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13476 * sp_form.[Ch]: remove.
13478 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13480 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13483 * src/buffer.C (readInset): ditto.
13485 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13487 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13488 menuSeparator(), endOfSentenceDot(), ldots() and
13489 hyphenationPoint(), which are therefore removed.
13490 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13492 * LyXAction.C (init):
13493 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13495 * paragraph.C (getWord): removed.
13497 * BufferView_pimpl.C (Dispatch): use last word or selection for
13498 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13500 * lyx_main.C (queryUserLyXDir): do not ask before creating
13501 user_dir, except if it has been named explicitely.
13503 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13505 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13506 a document of zero size.
13508 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13510 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13511 approriately in the c-tor and in require().
13512 (getPackages): output the appropriate LaTeX for natbib support.
13514 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13515 variables "use_natbib" and "use_numerical_citations" when reading the
13517 (readInset): read the various natbib cite commands.
13518 (validate): white-space change.
13520 * bufferparams.[Ch]: new variables "bool use_natbib" and
13521 "bool use_numerical_citations".
13522 (writeFile): output them in the LyX file.
13524 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13526 * lyxfunc.C (getStatus): add support for all the inset insertion
13529 * text2.C (insertInset):
13530 * paragraph.C (insetAllowed):
13531 * BufferView_pimpl.C (insertInset): update to take in account the
13532 renaming of insertInsetAllowed
13534 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13536 * text2.C (getInset): new method. returns inset at cursor position.
13538 * BufferView_pimpl.C (Dispatch): changes because of this.
13540 * LyXAction.C (init): rename open-stuff to inset-toggle.
13542 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13544 * text2.C (toggleInset): renamed from openStuff; use
13547 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13549 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13551 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13553 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13555 * buffer.C (readLyXformat2): Add filename to the error dialog
13557 2001-07-18 Juergen Vigna <jug@sad.it>
13559 * tabular.C (GetCellNumber): put an assert here instead of the check!
13561 2001-07-17 Juergen Vigna <jug@sad.it>
13563 * BufferView_pimpl.C (toggleSelection): adapted too.
13565 * text.C (selectNextWord): adapted for use with insets.
13566 (selectSelectedWord): ditto
13568 2001-07-17 Juergen Vigna <jug@sad.it>
13570 * sp_spell.C (PSpell): fix initialitation order.
13572 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13574 * paragraph.C: spacing
13576 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13578 * sp_spell.C: repair language selection for pspell
13580 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * lyxfunc.h: change more methods to begin with lower char.
13584 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13586 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13587 for unknown layouts.
13589 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13591 * buffer.C (readLyXformat2): Generate an error dialog if there are
13594 2001-07-16 Juergen Vigna <jug@sad.it>
13596 * sp_spell.C: always compile ISpell part.
13598 * lyxrc.C: added use_pspell entry and it's handling.
13600 2001-07-13 Juergen Vigna <jug@sad.it>
13602 * sp_spell.C: removed double includes.
13604 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13606 Consistent use of Lsstream.h:
13607 * Lsstream.h: added using std::stringstream for consistencies sake.
13609 * buffer.C: removed using std::stringstream
13611 * lyxfont.C (stateText):
13612 * paragraph.C (asString):
13613 * text.C (selectNextWord, selectSelectedWord):
13614 * text2.C (setCounter):
13615 * vspace.C (asString, asLatexString):
13616 std::ostringstream -> ostringstream.
13618 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13620 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13621 * commandtags.h: add LFUN_HELP_ABOUTLYX
13622 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13624 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13626 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13628 * lyx_gui_misc.C: remove spellchecker
13629 * lyxfunc.C: showSpellchecker
13631 * sp_ispell.h: added
13632 * sp_pspell.h: added
13633 * sp_spell.C: added
13634 * sp_form.[Ch]: removed
13635 * spellchecker.[Ch]: removed
13637 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13639 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13641 (simpleTeXSpecialChars): Simply print the input character without
13642 any special translation if pass_thru is set.
13644 * layout.h: Added bool pass_thru to layout class for being able to
13645 implement pass through of a paragraph for Literate Programming.
13647 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13648 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13649 * layout.C (Read): add "passthru" to list of layout tags and add
13650 code to set the pass_thru boolean when it is read.
13652 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13654 * trans_decl.h: remove allowed from KmodInfo
13656 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13657 remove allowed code
13660 * paragraph_pimpl.C (erase): use boost::prior
13662 * Painter.C (text): use data() instead of c_str() when length is
13664 * WorkArea.C (putClipboard): ditto
13665 * font.h (width): ditto
13667 * BufferView2.C: use it-> instead of (*it). for iterators
13669 * paragraph_pimpl.C: ditto
13670 * paragraph.C: ditto
13671 * minibuffer.C: ditto
13672 * language.C: ditto
13674 * encoding.C: ditto
13675 * counters.C: ditto
13676 * converter.C: ditto
13678 * Variables.C: ditto
13679 * TextCache.C: ditto
13680 * MenuBackend.C: ditto
13681 * LyXAction.C: ditto
13683 * FloatList.C: ditto
13684 * DepTable.C: ditto
13685 * ColorHandler.C (LyXColorHandler): ditto
13687 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13691 * text2.C (openStuff): reintroduce this method (which had been
13692 nuked in NEW_INSETS frenzy).
13694 * lyxfunc.C (Dispatch): when an action has not been handled, use
13695 its name in the error message, not its number.
13697 * paragraph.C (inInset): change method name to begin with lowercase.
13700 * text2.C: updates because of this.
13702 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13704 * ToolbarDefaults.C (add): add spaces in error message
13706 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13709 (readLyXformat2): rename return_par to first_par, use lyxlex's
13710 pushToken and remove the manual push handling.
13711 (parseSingleLyXformat2Token): add another ert comp. variable:
13712 in_tabular, rename return_par to first_par. handle newlines better
13714 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13718 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13720 * text2.C (getParFromID): removed
13722 * buffer.C (getParFromID): new method moved form lyxtext.
13723 * BufferView2.C (insertErrors): adjust
13724 (setCursorFromRow): adjust
13725 * BufferView_pimpl.C (restorePosition): adjust
13726 * lyxfunc.C (Dispatch): adjust
13727 * undo_funcs.C (textUndo): adjust
13729 (textHandleUndo): adjust
13730 (textHandleUndo): adjust
13732 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * buffer.C: up' the LYX_FORMAT
13736 * lyxfont.h: turn NO_LATEX on as default
13738 * buffer.C (insertErtContents): new methods of tex style compability.
13739 (parseSingleLyXformat2Token): use it several places.
13740 * tabular.C (OldFormatRead): and here
13742 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * text2.C: remove some commented code.
13747 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13748 * trans.C: changes because of the above.
13750 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13752 * text2.C (setCounter): Fix counters bug with bibliography layout.
13754 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13756 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13757 own member functions
13758 (simpleTeXSpecialChars): ditto
13760 2001-07-06 Juergen Vigna <jug@sad.it>
13762 * a lot of files: changed the access to LyXText::status and the
13763 call of undo-functions.
13765 * undo.[Ch]: added a inset_id to the undo informations.
13767 * undo_funcs.[Ch]: added and moved here all undo functions.
13769 * lyxtext.h: give the status enum a weight, made status_ a private
13770 variable and made accessor functions for it, removed the whole bunch
13771 of undo-functions as they are now in their own file, make some
13772 functions publically available. Added function ownerParagraph with
13775 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13776 made InInset() a const function, added getParFromID() function.
13778 * buffer.[Ch]: added const version for inset_iterator functions,
13779 added getInsetFromID() function.
13781 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13782 changed undo functions for new version.
13784 2001-07-05 Juergen Vigna <jug@sad.it>
13786 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13787 unknow mechanism does not call the proper constructor but only this
13788 one also if I request the other!?
13790 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13794 * text2.C (LyXText): use initialization lists.
13796 * lyxtext.h (Selection): initialize set_ and mark_
13797 (init): remove method
13799 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13801 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13803 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * screen.[Ch]: change method names to begin with lowercase
13807 * BufferView_pimpl.C (updateScrollbar): simplify further and
13808 hopefully make it a bit faster.
13810 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13812 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13813 calling directly xforms functions.
13815 * Painter.C (Painter):
13816 * lyx_cb.C (MenuWrite):
13817 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13820 * lyx_gui.C: remove bogus guiruntime extern declaration.
13822 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13824 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13826 (redoDrawingOfParagraph): ditto
13827 (redoParagraphs): ditto
13828 (cutSelection): don't create a object for CutAndPaste use the
13829 static method directly
13830 (pasteSelection): ditto
13832 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13835 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * modifications to some other files because of this.
13839 * Makefile.am (lyx_SOURCES): add XFormsView
13841 * XFormsView.[Ch]: new files
13843 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13844 the main window. Move the gui dependent stuff to XFormsView
13846 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13848 * tabular.C (GetCellInset): update cur_cell also in the row/col
13849 version of this function.
13851 * lyxfunc.C: no need to include figure_form.h here.
13857 * lyxvc.C: no need to include forms.h here.
13859 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13863 * lyxfunc.C (Dispatch):
13865 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13866 constructor argument.
13868 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13870 * paragraph.C (Paragraph): dont't clear, and just set layout.
13871 (makeSameLayout): use params's copy contructor.
13873 * ParagraphParameters.[Ch] (makeSame): delete method
13875 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13877 * Variables.[Ch]: fix indentation, rename set to isSet
13879 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13881 * lyxfunc.C (Dispatch): fix typo
13883 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13885 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13888 * bufferlist.C: include assert.h for emergencyWrite().
13890 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13892 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13893 give up at last (bug #425202) !
13895 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13901 * spellchecker.C: strip spellchecker options and bring up
13902 preferences tab instead
13904 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13907 the istringstream constructor
13909 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * paragraph.C (getLayout): fix return value
13913 * paragraph.h: do not declare getLayout as inline.
13915 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13917 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * lyxcursor.h (operator<): new func
13920 (operator>): new func
13921 (operator>=): new func
13922 (operator<=): new func
13924 * text.C (changeCase): use selection.start and selection.end
13925 (changeRegionCase): require from to be <= to. Require par to be a
13928 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13930 2001-06-27 Juergen Vigna <jug@sad.it>
13932 * text.C (cursorLeftOneWord): changed to return the cursor and added
13933 overlay with BufferView * parameter which calls this one.
13935 (selectWord): use new getWord function.
13936 (changeCase): renamed from changeWordCase as and extended to work
13937 also on selections.
13939 * lyxtext.h: added enum word_location
13941 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13942 changeCase as this operates now also on selections.
13944 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13946 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13948 * many files: send debug output to Debug::INFO instead of
13951 * converter.C (View):
13953 (Move): send debug output to Debug::FILES instead of console.
13955 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13957 * lyxfunc.C (getStatus): use func_status
13959 * func_status.h: new header, describing the results of
13960 LyXFunc::getStatus;
13962 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13965 2001-06-25 The LyX Project <jug@sad.it>
13967 * buffer.C (sgmlOpenTag):
13969 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13971 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13973 * text2.C: remove some dead code
13975 * tabular.C (GetCellInset): store the last cell checked (gotten)
13977 * tabular.h: add the helper for the speedup
13979 * lyxtext.h: remove some dead code
13981 2001-06-26 The LyX Project <Asger>
13983 * paragraph.C: Change export to LaTeX of alignment to
13984 \begin{center} and family for better roundtrip work with reLyX.
13986 * Tune the math drawing a bit.
13988 2001-06-25 The LyX Project <Asger>
13990 * LColor.C (LColor): New color for math background. New color
13993 2001-06-25 The LyX Project <jug@sad.it>
13995 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13997 * lyxfunc.C (Open):
13998 * bufferlist.C (newFile): do not restrict to files ending with
14001 * BufferView_pimpl.C (MenuInsertLyXFile):
14003 2001-06-24 The LyX Project <jug@sad.it>
14005 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14008 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14010 * lyxtext.h: rename most methods to begin with a small char.
14011 Lots of changes because of this.
14013 * paragraph.C (Paragraph): do not call fitToSize
14014 (erase): call Pimpl::erase
14015 (insertChar): call Pimpl::insertChar
14016 (insertInset): call Pipl::insertInset
14017 (breakParagraph): do not call fitToSize
14018 (breakParagraphConservative): do not call fitToSize
14019 (fitToSize): remove method
14021 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14023 2001-06-24 The LyX Project <Asger>
14025 * Fix Qt compilation^2
14027 2001-06-24 The LyX Project <jug@sad.it>
14029 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14030 depthHook(getDepth()-1).
14033 * ParagraphParameters.h:
14034 * ParameterStruct.h: change type of depth to unsigned int ==
14035 depth_type. Many adaptations to other files before of that.
14037 2001-06-24 The LyX Project <Asger>
14039 * Fix Qt compilation.
14041 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14043 * paragraph.h: renamed several methods to begin with small letter.
14044 several changes to many parts of the code because of this.
14046 2001-06-23 The LyX Project <jug@sad.it>
14048 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14049 rewritten to discard all double spaces when KeepEmpty is off
14050 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14051 to only handle newlines but not fiddle with spaces and friends.
14053 * lyxfunc.C (MenuNew): when doing 'new from template', use
14054 template_path as default directory
14056 2001-06-23 The LyX Project <Asger>
14058 * Clean-up of header file includes all over
14059 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14061 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * paragraph.h: renamed from lyxparagraph.h
14065 2001-06-23 Asger <lyx@violet.home.sad.it>
14067 * Buffer.h: Removed Buffer::resize
14068 * BufferList.h: Removed BufferList::resize
14069 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14070 the document lazily when we change the width, or the font settings.
14072 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14074 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14076 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14078 * buffer.h: remove out of date comment
14080 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14083 * screen.C: fix "theoretical" GC leak
14085 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * LaTeX.C (scanAuxFile):
14088 (deplog): remove trailing \r when reading stream (useful under
14091 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14093 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14094 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14095 and BufferView::theLockingInset(Inset*), so should use them and not
14096 access bv_->text->the_locking_inset directly.
14098 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14100 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14103 * tex-defs.h: remove old unused file
14105 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14107 * BufferView_pimpl.C: fix typo, remove minibuffer message
14108 when buffer has loaded
14110 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * lyxfunc.C (Dispatch): use stringstream
14113 (MenuNew): use stringstream
14114 (Open): use stringstream
14116 * importer.C (Import): use stringstream
14118 * bufferview_funcs.C (CurrentState): use stringstream
14120 * LaTeX.C (run): use stringstream
14122 * BufferView_pimpl.C (savePosition): use stringstream
14123 (restorePosition): use stringstream
14124 (MenuInsertLyXFile): use stringstream
14126 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14139 * vspace.C: removed // -*- C++ -*- as first line.
14142 * version.h: added // -*- C++ -*- as first line.
14144 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14146 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14148 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14151 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14156 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14158 * gettext.C: include LString.h even when --disable-nls is on.
14160 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14162 * converter.h (Get): changed argument type from int to
14163 FormatList::size_type to avoid unnecessary conversion.
14165 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14168 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * gettext.h: include LString.h even when --disable-nls is on.
14172 2001-06-07 Juergen Vigna <jug@sad.it>
14174 * text.C (BreakAgain): subst spaces with tabs.
14176 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14177 (resizeInsetsLyXText): set force on resizeLyXText.
14179 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * gettext.h (gettext_init):
14182 (locale_init): use a real definition instead of a macro
14184 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14186 * Bufferview_pimpl.C:
14188 * LColor.C: further lcolor tidies
14190 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14192 * BufferView_pimpl.C (updateScrollbar): simplify.
14194 * BufferView2.C: don't include insets/insetinfo.h, change
14195 prototype for insertInset and call the Pimpl version. let
14196 updateInset call Pimpl version.
14198 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14199 gotoInset to BufferView::Pimpl
14201 2001-06-01 Juergen Vigna <jug@sad.it>
14203 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14204 inside a LockingInset (is the update needed at all?).
14206 2001-05-31 Juergen Vigna <jug@sad.it>
14208 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14209 here not the old one otherwise how should we compare it afterwards
14212 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14217 * FontInfo.C: bring C functions into global namespace when
14220 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * LString.h: make sure config.h has been loaded before LString.h.
14224 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14225 (one for each char read by EatLine!).
14227 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14230 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14232 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14233 to the same as the par we break from
14235 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14239 * MenuBackend.C (expand): also create menu entries for wide
14240 versions of the floats.
14242 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14244 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14246 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14247 frontends/Makefile.am
14253 * tabular.C (getTokenValue): add std::
14255 * tabular-old.C (getTokenValue): add std::
14256 (getTokenValue): ditto
14257 (getTokenValue): ditto
14259 * screen.C (ToggleSelection): adjust
14261 * lyxtext.h: put selection cursors inside a Selection struct.
14263 * lyxfunc.C (moveCursorUpdate): adjust
14265 * lyxfont.C (latexWriteStartChanges): add std::
14267 * lyxfind.C: adjust
14269 * font.h: delete with(char const *, LyXFont const &)
14271 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14273 * FontInfo.C (getFontname): add std::
14275 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14276 (workAreaButtonPress): adjust
14277 (tripleClick): adjust
14279 (moveCursorUpdate): adjust
14282 * BufferView2.C (gotoInset): adjust
14284 2001-05-30 Juergen Vigna <jug@sad.it>
14286 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14287 to check pspell I add this as default as I now have new pspell
14288 libraries and they seem to use this.
14290 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14292 * text2.C (CutSelection): make the cursor valid before the call to
14295 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14297 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14298 relied on 0 terminated strings and other horrors. Bug found due to
14299 the new assert in lyxstring!
14301 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14304 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14306 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14309 * lyxfunc.C (processKeySym): change method of getting to the
14312 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14313 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14314 * BufferView_pimpl.[Ch]: here as private methods.
14316 2001-05-28 Juergen Vigna <jug@sad.it>
14318 * text.C (SetHeightOfRow): added the update() call again as it is
14319 needed to initialize inset dimensions!
14321 2001-05-16 Juergen Vigna <jug@sad.it>
14323 * text2.C (SetCharFont): Add new function with BufferView * and
14324 bool toggleall parameters for setting insets internal fonts.
14325 (SetFont): Freeze the undo as we may change fonts in Insets and
14326 all this change should be inside only one Undo!
14328 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14329 setting font's in insets as for them we have the SetFont function!
14331 2001-05-15 Juergen Vigna <jug@sad.it>
14333 * text2.C (ClearSelection): to be sure we REALLY don't have any
14336 * tabular.C (TeXCellPreamble): fixed the left border problem for
14339 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14341 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14344 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14346 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14347 LFUN_BREAKPARAGRAPH.
14349 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14350 help test to "internal only", similar for LFUN_INSERT_URL
14352 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14353 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14354 auto_region_delete and deadkeys.
14356 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14359 * LColor.C: remove some dead entries, tidy a little
14361 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14365 (Dispatch): implement LFUN_ESCAPE
14367 * commandtags.h: add LFUN_ESCAPE
14369 * LyXAction.C (init): add entry for LFUN_ESCAPE
14371 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14372 Remove commented code.
14373 (insertNote): moved here
14374 (open_new_inset): moved here
14376 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14379 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * kbmap.C (findbinding): clean it up and make it work correctly.
14383 * lyx_main.C (init): do not pass argc and argv as parameters
14385 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14387 * buffer.C: fix path for OS/2 & Win32
14391 * lyx_main.C: Added os:: class.
14393 * os2_defines.h: update
14395 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14397 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14398 better by trying again with reduced state.
14400 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14402 * lyxrc.C (read): print error about invalid key sequence only when
14403 debugging (because not all latinX keysyms are known to some X
14406 * kbsequence.C (getiso): add a few std:: qualifiers
14407 (getiso): comment out extra return statement.
14409 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14411 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14413 (Dispatch): enhance the accent inset a bit. (not perfect)
14415 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14419 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14421 * bufferlist.C (emergencyWrite): fix assert() call
14423 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14425 * text.C (InsertChar): Added trivial patch to only send the "you
14426 can not do multiple spaces this way" message once during a
14429 2001-05-08 Baruch Even <baruch@lyx.org>
14431 * Makefile.am: Changed order of libraries to get LyX to link properly
14432 with the gnome frontend.
14434 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14436 * LaTeXFeatures.h: add a std:: qualifier
14438 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14440 * paragraph.C (String): use stringstream
14442 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14444 * paragraph.C (writeFile): remove footflag arg
14446 * buffer.C (makeLaTeXFile): use stringstream
14447 (latexParagraphs): remove footnot gurba
14449 * LaTeXFeatures.C (getPackages): use stringstream
14450 (getMacros): likewise
14451 (getTClassPreamble): likewise
14452 (getFloatDefinitions): new method
14454 * paragraph.C (writeFile): reindent
14457 * WorkArea.h: revert the xpos + etc changes.
14459 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14461 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14463 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14464 (pasteSelection): likewise
14465 * text2.C (CreateUndo): likewise
14467 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14469 * minibuffer.C (peek_event): temporarily reduce the functionality
14470 of the minibuffer (to allow args on lfuns)
14472 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14473 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14475 * buffer.C (readInset): add compability reading of old float
14476 lists, add reading of new style float list.
14477 (readInset): avoid reevaluation of inscmd.getCmdName()
14478 (getLists): reindent
14480 * MenuBackend.C (MenuItem): implement parsing of
14481 md_floatlistinsert and md_floatinsert.
14482 (expand::LastFiles): move initalizaton of iterators out of loop,
14483 avoid reevaluation.
14484 (expand::Documents): introduce typdedef vector<string> Strings,
14486 (expand::ExportFormats): introduce typedef vector<Format const *>
14487 Formats, and use it.
14488 (expand): implement FloatListInsert and FloatInsert.
14490 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14491 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14492 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14494 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14496 (Dispatch::LFUN_FLOAT_LIST): implement
14498 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14500 * LaTeX.C (run): Fix problem with --export code.
14502 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14504 * BufferView.[Ch] (workarea): removed.
14505 (getClipboard) new method; wrapper for workarea()->getClipboard()
14507 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14510 * WorkArea.h (width, height, xpos, ypos): These methods all
14511 returned the dimensions of the work_area sub-area of WorkArea,
14512 resulting in a position error if the WorkArea were resized. Now
14513 return the dimensions of the entire WorkArea.
14515 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14517 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14519 * LaTeX.C (deplog): correct the syntax of regex reg1
14521 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * undo.C: remove !NEW_INSETS cruft
14525 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14527 * text2.C: remove !NEW_INSETS cruft
14529 * text.C: remove !NEW_INSETS cruft
14531 * tabular.C: remove !NEW_INSETS cruft
14533 * spellchecker.C: remove !NEW_INSETS cruft
14535 * lyxtext.h: remove !NEW_INSETS cruft
14537 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14539 * lyxfunc.C: remove !NEW_INSETS cruft
14541 * lyxfind.C: remove !NEW_INSETS cruft
14543 * lyx_cb.C: remove !NEW_INSETS cruft
14545 * figureForm.C: remove !NEW_INSETS cruft
14547 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14549 * buffer.[Ch]: remove !NEW_INSETS cruft
14551 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14553 * CutAndPaste.C: remove !NEW_INSETS cruft
14555 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14557 * BufferView2.C: remove !NEW_INSETS cruft
14559 * BufferView.h: remove !NEW_INSETS cruft
14561 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * Lsstream.h: include LString.h before the sstream headers to
14564 fix problem with gcc 2.95.3 and lyxstring
14566 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * lyx_main.C: add using directives when needed for C functions
14569 declared in std:: namespace.
14571 2001-04-27 Juergen Vigna <jug@sad.it>
14573 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14574 (SetHeightOfRow): comment out the update call should not be needed!
14576 2001-04-13 Juergen Vigna <jug@sad.it>
14578 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14579 (LyXTabular): tried to minimize operator= operations (and realized
14580 hopfully Lars wish).
14582 2001-04-27 Juergen Vigna <jug@sad.it>
14584 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14586 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14588 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14590 * buffer.C (readInset): hack to make listof algorithm work
14592 * BufferView_pimpl.C: hack to make listof algorithm work
14594 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * LyXAction.C: removed all !NEW_INSETS cruft
14597 (init): moved lfun_item in method
14599 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14601 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14603 * BufferView2.C (theLockingInset): white space.
14605 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14607 * minibuffer.C: include <iostream>
14609 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14611 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14613 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14615 * text.[Ch] (TransposeChars): new method
14617 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * call message directly through LyXView instead of through LyXFunc
14620 * BufferView2.C: adjust
14621 * BufferView_pimpl.C: adjust
14622 * FontLoader.C: adjust
14624 * bufferview_funcs.C: adjust
14625 * converter.C: adjust
14626 * figureForm.C: adjust
14627 * importer.C: adjust
14629 * lyx_gui_misc.C: adjust
14630 * lyxfunc.C: adjust
14633 + more files in subdirs
14635 * lyxparagraph.h (size): move up int file
14638 * adjust all uses of Assert to lyx::Assert.
14640 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14641 lyxfunctional in namespace lyx
14642 * layout.C (hasLayout): ditto
14645 (delete_layout): ditto
14646 (NumberOfClass): ditto
14647 * converter.C (GetFormat): ditto
14652 * bufferlist.C (getFileNames): ditto
14653 (emergencyWriteAll): ditto
14656 * MenuBackend.C (hasSubmenu): ditto
14659 * BufferView_pimpl.C (getInsetByCode): ditto
14661 2001-04-18 Juergen Vigna <jug@sad.it>
14663 * vspace.C (asLatexString): fixed the 100% problem.
14665 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * lyxfunc.C (Dispatch):
14669 * minibuffer.h: add a few std:: qualifiers
14671 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * minibuffer.[Ch]: reimplement so that commands is initiated and
14674 run from lyxfunc, simplified som handling, and made the completion
14675 and history code for complete. wip.
14677 * lyxfunc.C (processKeySym): call message
14678 (miniDispatch): new temporary method
14679 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14680 (LFUN_MESSAGE): implement
14681 (LFUN_MESSAGE_PUSH): implement
14682 (LFUN_MESSAGE_POP): implement
14683 (initMiniBuffer): the initial/defualt minibuffer message.
14685 * lyxfont.[Ch]: inline some more getters
14687 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14689 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14691 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14692 (AutoSave): use LFUN_MESSAGE
14693 (Reconfigure): ditto
14695 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14697 * figureForm.C: use LFUN_MESSAGE
14699 * converter.C (runLaTeX): use LFUN_MESSAGE
14701 * bufferview_funcs.C: use LFUN_MESSAGE
14703 (changeDepth): ditto
14705 * bufferparams.h: use boost::
14707 * bufferlist.h: inherit privately from noncopyable
14709 * bufferlist.C (loadLyXFile): remove some commented code.
14711 * buffer.C (runChktex): use LFUN_MESSAGE
14713 * ShareContainer.h: inherit privately from noncopyable
14715 * ParagraphParameters.[hC] (depth): inline it.
14717 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14719 (message): new method
14720 (messagePush): ditto
14721 (messagePop): ditto
14722 (show): init minibuffer
14723 (showState): direct call
14725 * LaTeX.[Ch]: inherit privately from noncopyable
14726 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14727 instead of WriteStatus.
14729 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14731 * BufferView_pimpl.C (buffer): don't init minibuffer
14732 (workAreaButtonPress): use LFUN_MESSAGE
14733 (workAreaButtonRelease): ditto
14734 (savePosition): ditto
14735 (restorePosition): ditto
14736 (MenuInsertLyXFile): ditto
14737 (workAreaExpose): don't init minibuffer
14738 (update): remove commented code, simplify
14740 * BufferView2.C (openStuff): use LFUN_MESSAGE
14741 (toggleFloat): ditto
14744 (copyEnvironment): ditto
14745 (pasteEnvironment): ditto
14750 (updateInset): remove some commented code
14752 * lastfiles.h: inherit privately from noncopyable
14755 * lyx_main.h: ditto
14757 * lyxlex_pimpl.h: ditto
14759 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14760 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14761 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14763 * LyXAction.h: inherit privately from noncopyable, add methods
14764 func_begin, func_end, returning iterators to the func map.
14766 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14767 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14768 (func_begin): new method
14769 (func_end): new method
14771 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14773 (copySelection): ditto
14774 (pasteSelection): ditto
14776 * BufferView.C: whitespace change
14777 * BufferView.h: inherit privately from noncopyable
14779 2001-04-16 Allan Rae <rae@lyx.org>
14781 * tabular-old.C (l_getline):
14782 * spellchecker.C (sc_check_word):
14783 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14784 an unrecognised preprocessor directive. So ensure they're wrapped.
14786 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14788 * src/exporter.C (Export): Give an error message when path to file
14791 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14793 * LaTeX.C (deplog): Always check that foundfile exists.
14795 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14800 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * tabular.[Ch] (getLabelList): implement new method
14804 * minibuffer.h: comment ouf setTiimer
14806 * minibuffer.C (ExecutingCB): constify res
14807 (peek_event): constify s
14808 (Set): constify ntext
14809 (Init): constify nicename
14811 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14813 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14814 (savePosition): use two params to Minibuffer::Set
14815 (restorePosition): ditto
14817 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14819 * lyx_main.C: include language.h
14821 * Makefile.am (lyx_main.o): add language.h
14823 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * CutAndPaste.C: include gettext.h
14831 * lyxfont.h: remove old hack with ON and OFF.
14834 * lyxfont.h: do not include language.h...
14839 * bufferview_funcs.C:
14845 * paragraph.C: ... but do it here instead
14847 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14851 * tabular.C: small reformat
14853 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14856 (BreakParagraph): ditto
14857 (SetOnlyLayout): ditto
14860 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14863 * lastfiles.C: removed most using decl, add std:: where needed
14865 * buffer.C: ws changes
14867 * MenuBackend.C (class compare_format): put into anon namespace
14868 (expand): constify label, names, action, action2
14871 * text.C (SingleWidth): constify font
14872 (IsBoundary): constify rtl2
14873 (GetVisibleRow): constify ww
14875 * LaTeX.C (deplog): constify logfile
14877 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14879 (workAreaExpose): constify widthChange, heightChange
14881 * lyxrow.C (par): moved
14884 * lyxrow.h: as inlines here
14886 * lyxfont.h (shape): moved from lyxfont.C
14887 (emph): moved from lyxfont.C
14889 * lyxfont.C (LyXFont): use initialization list for all
14891 (shape): move to lyxfont.h as inline
14892 (emph): move to lyxfont.h as inline
14895 2001-04-04 Juergen Vigna <jug@sad.it>
14897 * vspace.C: had to include stdio.h for use of sscanf
14899 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14902 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14903 independent of xforms.
14905 2001-04-02 Juergen Vigna <jug@sad.it>
14907 * spellchecker.C: fixed namespace placing!
14909 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14911 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14912 the LyXParagraph * is 0.
14914 2001-03-29 Juergen Vigna <jug@sad.it>
14916 * vspace.C: added support for %, c%, p%, l%.
14917 (stringFromUnit): added helper function.
14918 (asLatexString): changed to give right results for the %-values.
14920 * buffer.C: convert the widthp in a width%.
14922 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14924 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14927 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14928 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14930 * lyx_cb.[Ch]: see above.
14932 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14936 * lyx.[Ch]: replaced by figure_form.[Ch].
14940 * lyxfunc.C: changed headers associated with above changes.
14942 2001-03-27 Juergen Vigna <jug@sad.it>
14944 * BufferView_pimpl.C: set the temporary cursor right!
14946 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14948 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14950 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14952 * LString.h: removed "using std::getline"!
14954 * BufferView_pimpl.C (Dispatch): changes due to changes in
14955 InsetInclude::Params.
14957 * buffer.C (tag_name): removed redundant break statements as they were
14958 producing lots of warnings with my compiler.
14960 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * LString.h: add "using std::getline" when using the real <string>.
14964 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14966 * buffer.C: removed bitset usage.
14967 PAR_TAG moved to an anonymous name space.
14968 (tag_name): new funtion, also in the anonymous namespace.
14969 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14970 (makeDocBookFile): clean code. Completed transition from string arrays
14972 (SimpleDocBookOnePar): code clean.
14974 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14976 * tabular.C: add some comments.
14978 2001-03-22 Juergen Vigna <jug@sad.it>
14980 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14981 compatibility read a bit and fixed bug with minipage in different
14984 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14986 * buffer.C (pop_tag): removed.
14987 (push_tag): removed.
14988 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14989 array replaced with vector. Added support for CDATA sections.
14990 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14992 (makeDocBookFile): XML conformant declaration of CDATA section,
14993 fixed bug related to <emphasis> in the first paragraph char.
14994 (sgmlOpenTag): exclude empty tags.
14995 (sgmlCloseTag): ditto.
14997 * buffer.h (pop_tag): removed.
14998 (push_tag): removed.
15000 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15002 * language.h (Languages): added size_type and size().
15004 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15006 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15007 response on compability reading of minipages. One probliem is that
15008 the old usage of minipages was «flertydig»
15010 * several files here and in subdirs: don't use static at file
15011 scope use anon namespaces instead.
15013 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15015 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15016 LaTeX output. This is necessary for Literate document
15019 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15021 * buffer.C: insert hfill when needed.
15023 * tabular.C (l_getline): use string::erase, small whitespace change.
15025 * BufferView_pimpl.C: try the anon namespace.
15026 * WorkArea.C: ditto
15028 2001-03-16 Juergen Vigna <jug@sad.it>
15030 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15031 otherwise it won't open options-dialogs.
15033 * buffer.C: honor pextraWidth(p) on converting minipages.
15035 * tabular.C (l_getline): changed the functions to strip trailing \r.
15037 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15039 * BufferView_pimpl.C:
15040 * minibuffer..C: added "using SigC::slot" declaration.
15042 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15044 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15050 * paragraph.C: ditto
15052 * lyxtext.h: NO_PEXTRA
15054 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15056 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15057 * ParameterStruct.h: ditto
15058 * ParagraphParameters.h: ditto
15059 * lyxparagraph.h: ditto
15061 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15063 * buffer.C: add compability for minipage alignment.
15064 (latexParagraphs): remove unwanted pextra check.
15066 * several files: remove CXX_WORKING_NAMESPACES
15068 * buffer.C (pop_tag): tie is in namespace boost
15070 * BufferView.h: noncopyable is in namespace boost
15072 * lyx_main.h: ditto
15075 * lastfiles.h: ditto
15076 * bufferlist.h: ditto
15077 * ShareContainer.h: ditto
15079 * LyXAction.h: ditto
15082 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15084 * Merging changes from BRANCH_MVC back into HEAD.
15086 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15088 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15090 * BufferView_pimpl.C: change from intl.C
15094 * Makefile.am: move combox.*
15100 * intl.C: remove dialog (covered by prefs)
15102 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15104 * lyxfunc.C (Dispatch): removed redundant break statement.
15106 2001-03-14 Juergen Vigna <jug@sad.it>
15108 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15110 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15112 * buffer.C: add hack to fix compability reading of minipages.
15114 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15116 * buffer.C (getLists): Cleanup.
15118 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * lyxfont.C (update): don't honor toggleall on font size.
15122 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15126 * Makefile.am: moved to frontends/xforms/
15130 * BufferView_pimpl.C: changes for moved mathpanel
15132 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15134 * gettext.h: fix gettext_init() in --disable-nls
15136 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15138 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15140 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15143 * lyx.h: strip external form
15145 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15147 * BufferView_pimpl.C: add comment, destroySplash()
15149 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15151 * BufferView_pimpl.C:
15155 * lyxfunc.C: use re-worked insetinclude
15157 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15159 * buffer.C: add using std::stringstream.
15161 * lyx_cb.C: readd using std::ios.
15163 * buffer.C: add using std::map.
15165 * BufferView_pimpl.C: add using std::vector.
15167 * ShareContainer.h: add std:: to swap.
15169 * buffer.h: add some typedefs
15170 * buffer.C (getLists): use them
15171 (getLists): renamed from getTocList.
15172 add a counter for the different float types and use it in the
15174 (getLists): use the same counter for the NEW_INSETS and the "non"
15177 * lyx_cb.h: remove unused items, includes, using etc.
15179 * ShareContainer.h: remove some commented code, add more comments
15180 and "documentation".
15182 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15184 * buffer.C (getTocList): make the list also when NEW_INSETS is
15187 * buffer.h: remove TocType
15189 * buffer.C (getTocList): change to return a map<string,
15190 vector<TocItem> >, implement for dynamic number of list.
15192 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15193 * text2.C (PasteSelection): adjust
15194 * CutAndPaste.C (pasteSelection): adjust
15196 * FloatList.C (FloatList): update from the new_insets branch.
15197 * Floating.[Ch]: ditto
15198 * LaTeXFeatures.C: ditto
15200 * lyxlex_pimpl.C: ditto
15202 * paragraph.C (Last): remove when NEW_INSETS is defined.
15204 * other file: changes because of the above.
15206 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15208 * lyxparagraph.h: rename next to next_, previous to previous_,
15209 make them private for NEW_INSETS. Rename Next() to next(),
15210 Previous() to previous().
15212 * other files: changes because of the above.
15214 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15217 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15220 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * main.C (main): pass lyx_localedir to gettext_init().
15224 * gettext.h: remove locale_init and gettext_init macros
15226 * gettext.C (locale_init): new function
15227 (gettext_init): new function
15229 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15232 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15234 * Moved credits to frontends:
15235 * credits.[Ch]: removed
15236 * credits_form.[Ch]: removed
15237 * lyx_gui_misc.C: remove credits stuff
15240 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15242 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15244 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15245 unneeded destructor.
15247 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15248 a standalone pointer again.
15250 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15252 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15258 * ToolbarDefaults.C:
15267 * BufferView_pimpl.C: use new file dialog in GUII
15270 * lyx_cb.C: remove LayoutsCB to Toolbar
15272 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * ShareContainer.h (get): add std:: qualifier
15276 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * ShareContainer.h: define a proper ShareContainer::value_type
15279 type (and use typename to please compaq cxx)
15281 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15283 * lyxparagraph.h: move serveral local vars to
15284 ParameterStruct/ParagraphParameters., use ShareContainer in
15285 FontTable., make vars in FontTable private and add getter and
15288 * paragraph.C: changes because of the above.
15290 * lyxfont.h: remove copy constructor and copy assignment. (the
15291 default ones is ok), move number inside FontBits. move inlines to
15294 * lyxfont.C: add number to initializaton of statics, move several
15295 inlines here. constify several local vars. some whitespace
15296 cleanup. Dont hide outerscope variables.
15298 * Spacing.h: add two new constructors to match the set methods.
15300 * ShareContainer.h: new file, will perhaps be moved to support
15302 * ParameterStruct.h: new file
15304 * ParagraphParameters.h: new file
15306 * ParagraphParameters.C: new file
15308 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15309 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15311 * BufferView_pimpl.C: ParagraphParameter changes.
15312 * buffer.C: Likewise.
15313 * bufferview_funcs.C: Likewise.
15314 * text.C: Likewise.
15315 * text2.C: Likewise.
15317 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15319 * lyxfind.C (LyXReplace): do not redefine default argument in
15321 (IsStringInText): ditto
15322 (SearchForward): ditto
15323 (SearchBackward): ditto
15325 2001-03-06 Juergen Vigna <jug@sad.it>
15327 * lyxfind.C (IsStringInText): put parentes around expressions.
15329 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15331 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15333 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15335 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15337 * stl_string_fwd.h: add comment
15339 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15342 * tabular.C: remove unused DocBook methods
15348 killed DO_USE_DEFAULT_LANGUAGE
15350 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * lyx_gui.C: do not include language.h.
15354 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15355 arguments in function implementation.
15357 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15359 * BufferView_pimpl.C: add <ctime>
15361 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15363 * BufferView_pimpl.C: add using std::find_if
15365 2001-02-27 José Matos <jamatos@fep.up.pt>
15367 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15370 2001-02-11 José Matos <jamatos@fep.up.pt>
15372 * buffer.C (makeDocBookFile): command styles now have a parameter as
15373 "title" by default.
15375 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15377 * layout_forms.[Ch]: removed
15378 * lyx_cb.[Ch]: out character
15379 * lyx_gui.C: out character
15380 * lyx_gui_misc.C: out character
15381 * bufferview_funcs.C: : out character,
15382 added toggleall as parameter in ToggleAndShow
15384 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15386 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15388 * text2.C (SetCurrentFont): Disable number property at boundary.
15390 2001-02-26 Juergen Vigna <jug@sad.it>
15392 * lyxfunc.C (getStatus): added a string argument override function so
15393 that this is correctly called from LyXFunc::Dispatch if it contains a
15394 do_not_use_argument which is used!
15395 (Dispatch): added check for "custom" export and call appropriate func.
15397 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15399 * lyxrc.C: Add language_command_local, language_use_babel and
15400 language_global_options.
15402 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15404 * buffer.C (makeLaTeXFile): Use language_use_babel and
15405 language_global_options.
15407 2001-02-23 Juergen Vigna <jug@sad.it>
15409 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15410 which works with LyXText and putted it inside BufferView. Here now we
15411 only call for that part the BufferView::Dispatch() function.
15413 * BufferView.C (Dispatch): added.
15415 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15416 functions which needs to use a LyXText over from LyXFunc.
15417 (MenuInsertLyXFile): added
15418 (getInsetByCode): added
15419 (moveCursorUpdate): added
15420 (static TEXT): added
15422 2001-02-22 Juergen Vigna <jug@sad.it>
15424 * BufferView_pimpl.C (update): call a status update to see if LyXText
15427 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15429 * vc-backend.C (revert): implement for CVS
15430 (getLog): implement for CVS
15432 2001-02-20 Juergen Vigna <jug@sad.it>
15434 * text2.C (ClearSelection): added BufferView param for inset_owner call
15436 * lyxfunc.C (TEXT): added this function and use it instead of
15437 directly owner->view()-text of getLyXText().
15439 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15441 * src/layout_forms.C: out preamble
15442 * src/layout_forms.h: out preamble
15443 * src/lyx_cb.C: out preamble
15444 * src/lyx_cb.h: out preamble
15445 * src/lyx_gui.C: out preamble
15446 * src/lyx_gui_misc.C: out preamble
15447 * src/lyxfunc.C: connect with guii preamble
15449 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15451 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15453 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15455 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15456 whether to run bibtex.
15458 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15460 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15462 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15464 * Makefile.am (lyx_SOURCES): removed bibforms.h
15466 * vspace.h: doxygen
15468 * text.C (GetVisibleRow): make several local vars const
15470 * tabular.C: small cleanup.
15472 * lyxserver.C (callback): use compare instead of strncmp
15474 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15475 inlines to after class or to paragraph.C
15477 * lyxfont.h: remove friend operator!=
15479 * converter.h: move friend bool operator< to non friend and after
15482 * combox.h: small cleanup
15484 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15485 to inlines after class def.
15487 * buffer.C (pop_tag): use string operations instead of strcmp
15489 * bmtable.c: doxygen, small cleanup
15491 * LaTeX.h: remove friend operator==
15493 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15505 * BufferView_pimpl.C:
15506 * BufferView.[Ch]: remove cruft
15508 2001-02-14 Juergen Vigna <jug@sad.it>
15510 * lyxfunc.C: removed #if 0 unused code
15512 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15514 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15516 * text2.C (SetSelection): added a BufferView * parameter
15518 2001-02-13 Juergen Vigna <jug@sad.it>
15520 * lyxfunc.C (Dispatch): fixed protected blank problem.
15521 * BufferView2.C (protectedBlank): added LyxText * parameter.
15523 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15524 (AppendColumn): same as above for column_info.
15526 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15527 (moveCursorUpdate): use a LyXText param for support of InsetText.
15529 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15530 (tripleClick): ditto
15532 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15534 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15536 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15538 * text2.C (SetSelection): set correct update status if inset_owner
15539 (ToggleFree): ditto
15541 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15543 * tabular.C: remove some commented code.
15545 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15547 * BufferView_pimpl.C: call hideSplash()
15549 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15552 * bibforms.h: remove
15555 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15556 add LFUN_CHILD_CREATE
15558 * counters.h: fix tiny typo
15563 * lyx.C: move splash to frontends/xforms/
15565 * lyx_gui_misc.C: move Include and Bibform to frontends
15567 * lyxvc.h: clarify comment
15569 * vspace.C: tiny housekeeping
15571 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15573 * text.C (PrepareToPrint): RTL Fix.
15575 * paragraph.C (GetUChar): New method.
15576 (String): Use GetUChar.
15578 * buffer.C (asciiParagraph): Use GetUChar.
15580 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15582 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15584 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15587 * buffer.C: rename to getLogName(), handle
15588 build log / latex log nicely
15590 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15593 * MenuBackend.h: remove support for reference menuitem type.
15595 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15597 * BufferView_pimpl.C: housekeeping
15598 * BufferView_pimpl.h:
15603 * minibuffer.h: move Timeout GUI-I
15605 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15607 * lyxrc.C (read): Update converters data-structures.
15609 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15611 * LaTeX.h (operator!=): add operator != for Aux_Info
15613 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15615 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15617 * LaTeXLog.C: deleted, useful code moved to Buffer
15620 * buffer.C: new function getLatexLogName()
15626 * lyxfunc.C: use frontends for LaTeX and VC logs
15628 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15630 * LaTeX.h: yet another std:: that Allan forgot.
15632 * Variables.C (set): renamed from isset(), because this clashes
15633 with some HP-UX macros (grr).
15635 2001-02-06 Allan Rae <rae@lyx.org>
15637 * LaTeX.h: Another bug fix. Missing std:: this time.
15639 2001-02-04 Allan Rae <rae@lyx.org>
15641 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15642 floats problem. I've left it commented out because it's not quite
15643 correct. It should also test that the current object is a table or
15644 figure inset. But I haven't gotten around to figuring out how to do
15645 that. I *think* it'll be something like: "table" == inset.type()
15647 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15650 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15652 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15653 all the citation/databases/styles in the auxilary file.
15654 (run): Rerun latex if there was a babel language error.
15656 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15658 * text.C (Backspace): Preserve the font when changing newline char
15660 (BreakParagraph): If the cursor is before a space, delete the space.
15662 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15664 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15666 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15667 new argument (code).
15668 (ChangeCitationsIfUnique): New method.
15670 * paragraph.C (GetPositionOfInset): Handle bibkey.
15672 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15674 * BufferView_pimpl.h: change type of Position::par_pos to
15675 LyXParagraph::size_type.
15677 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15679 * BufferView_pimpl.C (savePosition, restorePosition): Write
15680 messages to minibuffer.
15682 2001-01-28 José Matos <jamatos@fep.up.pt>
15684 * buffer.C (makeDocBookFile): adds support for document language.
15685 A silly restriction on the name of LatexCommand types where removed.
15686 Added support for CDATA sections, allows to chars unescaped, used
15687 among others in code, to avoid escape < and >.
15689 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15691 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15692 saved positions instrad of a stack. Furthermore, a position is
15693 stored using paragraph id/paragraph position.
15695 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15696 Remove LFUN_REF_BACK.
15698 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15700 * converter.C (dvipdfm_options): New method.
15702 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15704 * vspace.C (isValidLength): Fix for empty input string.
15706 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15708 * LyXAction.C (init): change description of LFUN_FIGURE to
15711 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15713 * LaTeX.C: add using directive
15715 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15717 * MenuBackend.C (expand): Fix the sorting of the formats.
15719 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15721 * lyx_main.C: tiny error message fix
15723 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15725 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15726 calling fl_initialize(). This fixes the problem with ',' as
15727 decimal separator in text files.
15729 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15731 * trans.C (process): Fix the keymap bug.
15733 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15735 * LaTeX.C (scanAuxFiles): New method. Provides support for
15736 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15737 (scanLogFile) Scan for "run BibTeX" messages.
15739 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15740 OT1 font encoding. Also, load the aecompl package if the ae
15743 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15745 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * texrow.C (increasePos): turn two error messages into debug
15750 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15752 * LaTeX.C (scanAux): Handle the \@input macro.
15753 (runBibTeX): Use scanAux().
15755 * language.C (latex_options_): New field.
15757 * LaTeXFeatures.C (getMacros): Add language macros.
15759 * buffer.C (makeLaTeXFile): Small fix.
15761 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15763 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15765 * text2.C: add a using directive.
15767 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15772 * lyxfunc.C: kill LyXBell.
15774 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15776 * text.C (IsBoundary): Remove the error message
15778 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15780 * lyxrc.C (setDefaults): Correct initialization value for
15783 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15785 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15788 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15789 and GotoNextNote().
15791 * src/LyXAction.C: Added reference-next.
15793 * text.C (InsertChar): Use contains instead of strchr.
15795 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15797 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15799 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15800 alignment commands (when needed).
15802 * text.C (InsertChar): Add ':' to number separator chars.