1 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
3 * text3.C: use Debug::DEBUG a bit more
5 * text.C (leftMargin): try to simplify a tiny bit change var x to
6 l_margin. Dont output the wide margins always.
7 (rightMargin): no margin in inner texts
9 * rowpainter.h (nestMargin): new func
10 (changebarMargin): new func
11 (rightMargin): new func
13 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
17 * factory.C (createInset): modify setDrawFrame
19 * cursor.C: use Debug::DEBUG a bit more
21 2004-08-14 André Pönitz <poenitz@gmx.net>
24 * Makefile.am: new files to accomodate an 'external' (x,y)-position
25 cache for all insets in (at least partially) visible (top-level)
28 * BufferView_pimpl.C: reset external coord cache before every update.
29 This means the coord cache only contains valid entries.
31 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
34 * BufferView_pimpl.C (getInsetByCode): move function out of class
35 and change in to a template in anon namespace. Also fix to do what
38 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
41 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
43 (breakParagraph): rename par to par_offset and use a local
44 reference. Add code to keep the language over a rebreak.
45 (breakParagraphConservative): rename par to par_offset, use a
47 (mergeParagraph): ditto
49 (isFirstInSequence): ditto
50 (outerFont): rename pit to par_offset
52 * paragraph.C: ws change
57 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
62 * paragraph.C (simpleTeXOnePar): when we have a \item with
63 optional argument, enclose the argument with curly brackets (in
64 case it contains a closing square bracket)
68 * text3.C (checkInsetHit): constify
70 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
75 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 Fix toggling of collapsable insets with the mouse (bug 1558)
79 * lyxfunc.C (dispatch): adapt to LCursor changes
81 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
82 make sure that dispatch is not invoked twice
84 * cursor.C (needsUpdate): new method
85 (dispatch): return void
86 (result): new method, to access the DispatchResult of the cursor.
88 2004-08-13 José Matos <jamatos@lyx.org>
90 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
92 2004-08-13 André Pönitz <poenitz@gmx.net>
94 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
96 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
99 2004-08-12 André Pönitz <poenitz@gmx.net>
101 * text3.C: take out the 'cursor right' form insertInset and only
102 do it in those places when it is really needed. Fixes crash on
105 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
109 * BufferView_pimpl.C (setBuffer): initialize the current font of
110 the underlying LyXText
112 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * kbsequence.C (print): use UI native formatting for menu
117 * text.C (insertChar): call Paragraph::insertChar with a font
120 * paragraph.C (insertInset, insertChar): the version that takes a
121 LyXFont argument is now a wrapper around the other one (the
122 opposite used to be true).
124 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
125 argument. Font setting is done in Paragraph now.
127 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * outputparams.h: add new members intitle and lang.
131 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
132 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
134 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
136 * text3.C (dispatch): remove special handling of button 4 and 5,
137 it is now taken care of in the frontend code.
139 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
141 * Spacing.h: add <string> (STLPort compile fix)
143 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
145 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
147 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
149 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
152 * converter.C (showMessage): inherit from unary_function, make
155 * buffer.C (writeFile): initialize retval
157 * InsetList.h: rename private variable list to list_
158 * InsetList.[Ch]: adjust accordingly.
160 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
162 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
163 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
164 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
165 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
166 * ParagraphParameters.C, LaTeXFeatures.C: replace
167 "support/std_sstream.h" with <sstream>
169 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
172 * lyxsocket.C (LyXServerSocket): ditto
173 (serverCallback): ditto
175 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
177 * LaTeXFeatures.C: check release date when loading jurabib.
179 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * lyxserver.C (startPipe): call register_socket_callback
182 (endPipe): call unregister_socket_callback
184 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
186 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
187 (LyXServerSocket): register the callback
188 (LyXServerSocket): unregister the callback
189 (fd): delete function
190 (serverCallback): improve error checking and setup the callbacks.
191 (dataCallback): change arg to fd.
192 (writeln): new func (copied fro the client socket) used for server
194 (LyXDataSocket): simplify
195 (~LyXDataSocket): close ann unregiser callback
196 (server): delete function
197 (fd): delete function
198 (readln): small changes, improve some std::string usage
199 (writeln): constify a bit
201 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
206 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * BufferView_pimpl.C (setBuffer): set the layout combox value only
209 after it has been populated
211 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * text2.C (insertInset): move cursor when inserting inset.
215 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * kbmap.C (findbindings): a couple of new methods. returns a
218 container of kb_sequence objects. The real work is done by the
219 private recursive version
220 (printbindings): uses findbindings to print out a bracketed list
221 of bindings (renamed from findbinding).
223 * MenuBackend.C (binding): use kb_keymap::findbindings
225 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
227 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
231 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * paragraph.C (isWord): return true on insets that report
236 * text.C (getWord): use Paragraph::isWord to decide what is in a
237 word and what is not; fix bug 1609.
239 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
241 * tex-strings.C: add "none" to string_paperpackages[], fixes
242 off-by-one-error in the paperpackage selection.
245 * tex-strings.[Ch]: char const * string[n]
246 -> char const * const string[]
248 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
251 command, return early.
253 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
255 * debug.h: add DEBUG to enum and fix size of ANY.
257 * debug.C: add support for Debug::DEBUG
258 (showTags): cast errorTags.level to unsigned int
260 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
261 (redoCurrentBuffer): ditto
262 (updateScrollbar): ditto
263 * cursor.C (dispatch): ditto
264 * text2.C (setLayout): ditto
266 (updateCounters): ditto
268 (deleteEmptyParagraphMechanism): ditto
270 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
272 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
273 annotations to cleanup the Makefile slightly.
275 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * lyxrc.C: do not set user_email to a default value but use empty
278 instead. The entry used to be translated, which does not work
279 since at the point where lyxrc is constructed there is no
280 translation service available
282 * messages.C (getLocaleDir): remove and use directly
283 lyx_localedir() instead
285 2004-06-02 Angus Leeming <leeming@lyx.org>
287 Fix crash caused by dereferencing null pointer 'exportdata' in
288 OutputParams by creating a new ExportData variable on the heap,
289 storing it in a boost::shared_ptr.
290 The crash was triggered when generating an Instant Preview
291 of an external inset.
293 * Makefile.am: add outputparams.C
295 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
296 (c-tor): allocate memory to it.
298 * exporter.C (c-tor): associated changes.
300 2004-06-01 Angus Leeming <leeming@lyx.org>
302 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
303 contains data before calling isInset(0). (Bug 1513.)
305 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
307 * exporter.C (checkOverwrite): new method
308 * exporter.C (copyFile): new method
309 * exporter.C (Export): copy referenced files to the document dir
310 * exporter.[Ch]: new class ExportedFile
311 * exporter.[Ch]: new class ExportData. Contains currently the
312 names of referenced external files
313 * outputparams.h: add exportdata member.
315 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
317 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
320 2004-05-19 Angus Leeming <leeming@lyx.org>
325 * lyxfunc.C: small changes due to the introduction of namespace
326 lyx::frontend and the moving of namespace biblio to lyx::biblio.
328 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
330 * text3.C (dispatch): supress update when only moving the cursor
331 * cursor.C (selHandle): remove commented code
333 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
335 * paragraph.C (startTeXParParams): correct column count
336 * CutAndPaste.C (pasteSelection): remove const_cast
337 * output_docbook.C (docbookParagraphs): remove const_cast
338 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
339 const_cast and return ParagraphList::const_iterator
340 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
341 * output_plaintext.C (writeFileAscii): remove const_cast
342 * paragraph.[Ch] (simpleTeXOnePar): make const
343 * paragraph_funcs.C (outerPar): use const iterators
344 * paragraph_pimpl.C (validate): use const iterators
345 * text.C (setHeightOfRow): use const iterators
347 2004-05-17 Angus Leeming <leeming@lyx.org>
350 * LyXAction.C (init): new LFUN_INSET_REFRESH.
352 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
353 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
354 if the citation engine has changed.
356 2004-05-14 José Matos <jamatos@lyx.org>
358 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
359 if the textclass does not provide it. Have it different for sgml and
361 support the language of document.
362 * output_docbook.C (docbookParagraphs):
363 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
364 first anchor as the id of the paragraph, remove special case code.
365 * sgml.C (escapeChar): escape only < & >.
367 2004-05-14 Angus Leeming <leeming@lyx.org>
369 * bufferparams.h: move biblio::CiteEngine enum here to minimize
370 dependencies on src/frontends/controllers/biblio.h. Define a
371 CiteEngine_enum wrapper class to enable the enum to be forward
374 2004-05-12 Angus Leeming <leeming@lyx.org>
376 * buffer.C: up LYX_FORMAT to 234.
377 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
378 use_numerical_citations with a single biblio::CiteEngine cite_engine
380 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
382 2004-05-13 José Matos <jamatos@lyx.org>
385 * converter.C (Converter, readFlags): add xml member.
386 * outputparams.h: add XML flavor.
387 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
389 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * lyxfunc.C (dispatch):
392 (getStatus): fix handling of LFUN_SEQUENCE
394 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
396 * debug.C (showLevel): do not forget the end-of-line marker
398 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * kbmap.C (read): do not stop parsing a bind file when an error
403 2004-04-29 Angus Leeming <leeming@lyx.org>
408 * text2.C: wrap a bunch of #warning statements
409 inside #ifdef WITH_WARNINGS blocks.
411 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
413 * buffer.C: increment format to 233.
415 2004-04-28 Angus Leeming <leeming@lyx.org>
417 * BufferView_pimpl.C:
420 s/updateToolbar()/updateToolbars()/
421 s/Toolbar.h/Toolbars.h/
423 2004-04-28 Angus Leeming <leeming@lyx.org>
425 * BufferView.[Ch] (c-tor):
426 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
427 No longer passes these data to the WorkArea generator.
429 2004-04-28 Angus Leeming <leeming@lyx.org>
431 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
433 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
437 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * output_latex.C (TeXEnvironment): make sure that there is a line
440 break before \end{foo} for the last paragraph of a document
441 (TeXOnePar): if the paragraph is at the end of the document (or
442 inset) and the language has to be reset, then make sure that the
443 line break is _before_ the language command, not after (fixes bug
444 1225); also make sure that the language reset command is the first
445 thing after the paragraph (to ensure proper nesting of
446 environments and thus fix bug 1404)
448 2004-04-21 John Levon <levon@movementarian.org>
451 * ToolbarBackend.C: make "name" be a programmatic name
452 and a gui_name field.
454 * lyxfunc.C: display the minibuffer on M-x
456 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
461 2004-04-19 Angus Leeming <leeming@lyx.org>
463 * BufferView_pimpl.C (setBuffer): changed preview interface.
465 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
468 2004-04-19 John Levon <levon@movementarian.org>
470 * BufferView_pimpl.C:
471 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
473 2004-04-05 Angus Leeming <leeming@lyx.org>
475 * text.C (redoParagraphs): add call to updateCounters(), thereby
476 fixing the missing "Figure #:" label from the caption of a
479 2004-04-13 Angus Leeming <leeming@lyx.org>
481 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
482 cursor is clicked out of an inset.
484 2004-04-13 Angus Leeming <leeming@lyx.org>
486 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
487 than an InsetOld one.
489 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
491 * format.[Ch]: add editor to Format
492 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
493 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
495 2004-04-08 André Pönitz <poenitz@gmx.net>
497 * metricsinfo.h: remove PainterInfo::width member
499 2004-04-08 Angus Leeming <leeming@lyx.org>
501 * lyx_sty.C (boldsymbol_def): modify so that it outputs
502 "\providecommand" rather than "\newcommand", thereby preventing
503 clashes with packages that define "\boldsymbol" themselves.
506 2004-04-08 Angus Leeming <leeming@lyx.org>
508 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
509 thereby squashing an unnecessary warning.
511 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
516 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
518 * BufferView.C (setCursor): call redoParagraph (some insets could
520 (putSelectionAt): remove the 'double update' trick
522 * BufferView_pimpl.C (fitCursor): call refreshPar
523 (workAreaDispatch): remove an uneeded update call
524 (dispatch): remove some manual update calls
526 * cursor.[Ch]: remove cached_y_, updatePos
527 (selHandle): set noUpdate when appropriate
529 * lyxfunc.C (dispatch): track if we need an update
531 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
533 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
534 (paintSelection): cheap optimization, do not call cursorX when not
536 (paintPars): change signature
539 (paintTextInset): adjust
543 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * lengthcommon.C: compilation fix: remove explicit array size from
546 unit_name[] and friends
548 2004-04-05 Angus Leeming <leeming@lyx.org>
550 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
552 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
553 present only for the preferences dialog.
554 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
556 2004-04-05 Angus Leeming <leeming@lyx.org>
558 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
559 to enable the frontends to export changes to lyxrc correctly.
561 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
563 2004-04-07 André Pönitz <poenitz@gmx.net>
565 * cursor.[Ch] (selClear, adjust): remove math
567 * cursor_slice.C: more agressive assert
570 * BufferView_pimpl.C: rework mouse event dispatch
577 2004-04-05 André Pönitz <poenitz@gmx.net>
579 * cursor.[Ch] (valign, halign...): remove unneeded functions
581 2004-04-05 Angus Leeming <leeming@lyx.org>
583 * lyxlength.[Ch] (unit_name et al.): const-correct.
585 2004-04-05 Angus Leeming <leeming@lyx.org>
587 * BufferView_pimpl.C:
596 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
598 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
600 * text3.C (getStatus): add LFUN_BEGINNINGBUF
602 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
604 * lyxfind.C: add a couple of inTexted() tests + other small fixes
605 * BufferView_pimpl.[Ch] (getStatus)
606 * BufferView.[Ch] (getStatus): add
607 * lyxfunc.C (getStatus): move lfuns handled in
608 BufferView::dispatch to te function above
609 * Cursor.C (setSelection): set selection() = true
611 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
613 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
615 2004-03-31 Angus Leeming <leeming@lyx.org>
617 * lyxfunc.C (dispatch): Fall through to the generic
618 Dialogs::show("preamble").
620 2004-03-31 Angus Leeming <leeming@lyx.org>
622 * lyxfunc.C (dispatch): Fall through to the generic
623 Dialogs::show("spellchecker").
625 2004-03-31 Angus Leeming <leeming@lyx.org>
627 * lyxfunc.C (getStatus, dispatch): changed invocation of the
630 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
635 * insetiterator.[Ch]:
640 * undo.[Ch]: s/DocumentIterator/DocIterator/g
642 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
644 * BufferView.C (setCursor, putSelectionAt): call edit to open the
645 insets where we are putting the cursor.
647 2004-03-31 Angus Leeming <leeming@lyx.org>
650 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
652 * lyxrc.[Ch] (read, write): overloaded member functions taking
653 a std::[io]stream arguments.
655 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
657 2004-03-31 Angus Leeming <leeming@lyx.org>
659 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
660 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
662 * lyxtextclass.C (load): if the text class couldn't be loaded, then
663 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
665 2004-03-31 Angus Leeming <leeming@lyx.org>
667 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
668 the LFUN_ALL_INSETS_TOGGLE code.
670 2004-03-30 Angus Leeming <leeming@lyx.org>
672 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
673 has died. Fall through to the generic Dialogs::show("document").
675 2004-03-30 Angus Leeming <leeming@lyx.org>
678 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
679 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
681 * lyxfunc.C (getStatus, dispatch): define the actions for these
682 lfuns. Little more than a cut and pste job from ControlDocument.C
684 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
686 2004-03-30 Angus Leeming <leeming@lyx.org>
689 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
690 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
692 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
693 open/closed state of ollapsable insets. Usage:
695 all-inset-toggle <state> <name>, where
696 <state> == "open" || "closed" || "toggle" and
697 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
699 * lyxtext.h, text2.C (toggleInset): removed.
701 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
702 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
703 now passes LFUN_INSET_TOGGLE to the found inset.
705 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
706 is now invoked as "all-insets-toggle toggle branch".
708 2004-03-30 Angus Leeming <leeming@lyx.org>
712 * pariterator.[Ch]: added/corrected header blurb.
714 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
716 * dociterator.[Ch]: add an inset_ member
717 (backwardPos): implemented
718 (backwardPos, forwardPos): use inset_ when the stack is empty.
719 (doc_iterator_begin, doc_iterator_end): implemented
720 * pariterator.[Ch]: adjust, add begin, end
721 * insetiterator.[Ch]: adjust, add begin, end
725 * BufferView_pimpl.C:
726 * CutAndPaste.C: adjust
728 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
730 * buffer.C: increment file format to 232.
731 * LaTeXFeatures.C: add bibtopic package.
732 * bufferparams.[Ch]: param \use_bibtopic.
734 * lyxrc.[Ch]: add lyxrc bibtex_command
735 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
737 * buffer.C: increment file format to 231.
739 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
741 * dociterator.C: implement forwardPar
742 * iterators.[Ch]: remove, replaced by
743 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
745 * BufferView_pimpl.C:
748 * bufferview_funcs.C:
754 * Makefile.am: adjust
756 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
758 * CutAndPaste.C (pasteSelection): fix 2 crashes
759 (eraseSelection): fix a crash
760 * paragraph_funcs.C: remove a warning
762 2004-03-28 Angus Leeming <leeming@lyx.org>
765 * LyXAction.C (init): new LFUN_PRINT.
767 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
769 2004-03-27 Angus Leeming <leeming@lyx.org>
772 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
774 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
776 2004-03-27 Angus Leeming <leeming@lyx.org>
778 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
779 insetlist always contains non-null pointers to insets.
781 2004-03-26 Angus Leeming <leeming@lyx.org>
783 * src/BufferView_pimpl.C:
787 * src/output_plaintext.C:
788 * src/outputparams.h:
789 * src/paragraph_funcs.C:
793 * src/frontends/controllers/ControlErrorList.C:
794 * src/frontends/gtk/FileDialogPrivate.C:
795 * src/frontends/gtk/GPainter.C:
796 * src/frontends/gtk/GToolbar.C:
797 * src/frontends/qt2/QRef.C:
798 * src/mathed/math_scriptinset.C: squash compiler warnings.
800 2004-03-26 Angus Leeming <leeming@lyx.org>
802 * ispell.C (LaunchIspell::start):
803 * lyx_cb.C (AutoSaveBuffer::start):
804 invoke run(DontWait) rather than runNonBlocking().
806 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
808 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
810 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * kbsequence.C (print): adjust
814 * kbmap.C (printKeySym): rename and change signature
815 (printKey): use LyXKeySym::print()
817 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
819 * undo.C: add using std::advance to compile for stlport
821 2004-03-24 Angus Leeming <leeming@lyx.org>
823 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
824 it leads to a crash when no buffer is present.
826 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
827 Martin Vermeer <martin.vermeer@hut.fi>
829 * lyxfunc.C (dispatch):
830 * bufferparams.C (readToken): use the new LColor::setColor
832 * LColor.[Ch] (setColor): new version that takes two strings as
833 argument and creates a new color entry if necessary
835 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
837 * buffer.C (makeLaTeXFile): if the main latex file that is
838 processed is usually a subdocument of some master, then pretend
839 for a while that it is actually the master
841 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
843 * buffer.C (getLabelList):
844 (getBibkeyList): use getMasterBuffer()
845 (getMasterBuffer): new method. Returns the main document in the
846 case where one is using included documents.
848 2004-03-25 André Pönitz <poenitz@gmx.net>
852 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
854 * ParagraphList_fwd.h: change ParagraphList to a std::vector
856 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
857 text*.C over here. Rename namespace CutAndPaste to lyx::cap
859 * ParameterStruct.h: merge with ParagraphParameters
861 * lyxtext.h: remove LyXText::parOffset() and getPar()
863 * text3.C: Remove all 'manual' update calls. We do now one per user
864 interaction which is completely sufficient.
868 * BufferView_pimpl.C:
871 * ParagraphParameters.[Ch]:
883 * output_docbook.[Ch]:
885 * output_linuxdoc.[Ch]:
886 * output_plaintext.[Ch]:
888 * paragraph_funcs.[Ch]:
889 * paragraph_pimpl.[Ch]:
897 * frontends/controllers/ControlDocument.C:
898 * frontends/controllers/ControlErrorList.C:
899 * frontends/controllers/ControlSpellchecker.C:
902 * insets/insetbase.h:
903 * insets/insetbibitem.C:
905 * insets/insetbranch.C:
906 * insets/insetcaption.C:
907 * insets/insetcharstyle.C:
908 * insets/insetcharstyle.h:
909 * insets/insetcollapsable.C:
910 * insets/insetcollapsable.h:
912 * insets/insetfloat.C:
913 * insets/insetfoot.C:
914 * insets/insetmarginal.C:
915 * insets/insetnote.C:
916 * insets/insetoptarg.C:
917 * insets/insettabular.C:
918 * insets/insettext.C:
919 * insets/insettext.h:
920 * insets/insetwrap.C:
921 * mathed/math_mboxinset.C:
922 * mathed/math_nestinset.C:
923 * mathed/math_scriptinset.C:
924 * mathed/math_scriptinset.h:
927 2004-03-24 Angus Leeming <leeming@lyx.org>
929 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
930 deal with any child processes that have finished but are waiting to
931 communicate this fact to the rest of LyX.
933 2004-03-24 Angus Leeming <leeming@lyx.org>
935 64-bit compile fixes.
937 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
938 (c-tor): pass lyx::pos_types rather than ints.
940 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
943 * text.C (Delete): compile fix.
944 (getPar): ensure that function declaration is the same as that in
947 2004-03-23 Angus Leeming <leeming@lyx.org>
949 * ispell.C (LaunchIspell):
950 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
951 a boost::shred_ptr rather than a std::auto_ptr.
953 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * lyxfunc.C (getStatus): handle read-only buffers correctly;
956 handle LFUN_FILE_INSERT_*
958 * lyxrc.C (setDefaults, getDescription, output, read):
959 * lyxrc.h: remove ps_command
961 2004-03-22 Angus Leeming <leeming@lyx.org>
963 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
964 Ensure that error_handler is processed once only and that all data
965 is saved before attempting to output any warning messages.
967 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
969 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
971 * tabular.C (TeXRow): crash fix (from Kayvan and André)
973 2004-03-19 André Pönitz <poenitz@gmx.net>
975 * cursor.[Ch] (reset): take main text inset as argument
978 * BufferView_pimpl.C: adjust
980 * paragraph.[Ch]: fix completely broken operator=()
982 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * LColor.C (getFromLyXName): make sure that the color name is used
987 2004-03-17 Angus Leeming <leeming@lyx.org>
990 * LyXAction.C (init): remove LFUN_FORKS_KILL.
992 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
993 dialog and to kill a forked process.
995 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
997 * text2.C (setCursorFromCoordinates): fix font problem
999 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1001 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1002 bogus "rebuild cursor" code
1004 2004-03-11 André Pönitz <poenitz@gmx.net>
1006 * buffer.[Ch]: use InsetText instead of LyXText as container for
1009 * dociterator.[Ch]: drop the BufferView * member which is not needed
1010 anymore after the change to buffer.C
1012 * paragraph_funcs.C:
1016 * BufferView_pimpl.[Ch]:
1018 * cursor_slice.[Ch]: adjust
1020 * text3.C: fix bug in mathDispatch
1022 2004-03-08 André Pönitz <poenitz@gmx.net>
1024 * undo.[Ch]: use 'StableDocumentIterator' as base for
1027 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1030 * bufferparams.[Ch]: add jurabib support and param.
1032 * LaTeX.C: add FIXME/comment.
1034 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1036 * buffer.C: increment file format to 230.
1038 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1040 * cursor.C (dispatch): avoid infinite loops
1042 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1044 * rowpainter.C (paintSelection): fix x coordinates
1046 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1048 * text.C (rowBreakPoint): fix breaking before displayed insets
1050 2004-03-01 André Pönitz <poenitz@gmx.net>
1052 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1054 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1058 * BufferView_pimpl.C:
1066 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1072 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1073 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1075 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1077 * Bidi.[Ch] (computeTables): const correctness
1078 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1079 fill_hfill, fill_label_hfill and x from Row
1080 * lyxtext.h: prepareToPrint returns a RowMetrics
1081 * rowPainter.C: adjust
1082 * text.C (prepareToPrint): use width, not textWidth. adjust
1083 (redoParagraphInternal, cursorX): adjust
1084 * text2.C (getColumnNearX): adjust
1085 (init): put a default value to the top LyXText::width
1087 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1089 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1091 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1093 * lyxtext.h: add FontIterator class
1095 * text.C (FontIterator, operator*, operator->, operator++): add
1096 (rowBreakPoint, setRowWidth): adjust (fixing a
1099 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 * BufferView_pimpl.C (workAreaDispatch): allow also
1102 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1104 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1106 * text.C (rowBreakPoint): fix a bug showing with very large insets
1108 2004-02-25 André Pönitz <poenitz@gmx.net>
1111 * cursor.[Ch]: move some mathed specific code to mathed
1113 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1115 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1116 use_tempdir in preferences
1117 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1119 * lyx_main.C: ensure that tempdir is valid
1120 * lyxlex.h: correct typo
1121 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1122 * paragraph.[Ch] (isMultiLingual): make const
1123 * cursor.[Ch] (openable): make const
1125 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1127 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1129 2004-02-20 André Pönitz <poenitz@gmx.net>
1131 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1133 * cursor.[Ch]: prepare for localized getStatus()
1139 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1141 2004-02-20 André Pönitz <poenitz@gmx.net>
1143 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1145 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1147 * text2.C (setCursorFromCoordinates): switch to absolute coords
1149 (cursorDown): adjust
1150 * text3.C (dispatch): adjust
1152 2004-02-16 André Pönitz <poenitz@gmx.net>
1154 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1157 * cursor_slice.[Ch]: remove unneeded acessor function
1159 * lyxtext.h: rename rtl() to isRTL()
1167 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1169 * rowpainter.C (paintSelection): coord fix
1171 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * Spacing.C: compile fix
1175 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1177 * cursor.C (dispatch): restore current_ before returning
1179 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1181 * text2.C (cursorUp, cursorDown): fix coords
1184 2004-02-12 André Pönitz <poenitz@gmx.net>
1189 * text3.C: add LCursor & parameter to most cursor movement functions
1190 remove usage of LyXText::cursorRow() and cursorPar()
1192 * cursor.[Ch]: add textRow() needed members
1195 * BufferView_pimpl.C:
1198 * BufferView_pimpl.C: adjust
1200 2004-02-11 André Pönitz <poenitz@gmx.net>
1204 * BufferView_pimpl.C: shift undo/redo handling
1206 * cursor.[Ch]: fix mathed crash
1209 * lyxtext.h: move selectionAsText to LCursor
1217 * rowpainter.C: fix excessive drawing
1219 2004-02-06 André Pönitz <poenitz@gmx.net>
1222 * BufferView_pimpl.[Ch]:
1223 * text3.C: move some text specific LFUN handling
1225 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1227 * text3.C (checkInsetHit): adjust coords
1228 * text2.C (getColumnNearX): adjust coords
1229 (edit): adjust coords
1230 * text.C (getRowNearY): add two asserts
1232 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1235 * format.C: add using std::distance to compile on gcc 2.95/stlport
1237 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1239 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1241 2004-02-04 André Pönitz <poenitz@gmx.net>
1243 * BufferView.[Ch] (insertInset):
1244 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1249 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1251 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1252 on the default clause of the switch
1253 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1254 wasn't catched by LCursor::dispatch
1256 2004-02-03 André Pönitz <poenitz@gmx.net>
1259 * cursor.[Ch]: some additional asserts
1261 * undo.[Ch]: remove LyXText dependency in interface
1265 * lyxtext.h (firstPar, lastPar): remove dead functions
1270 * paragraph.[Ch]: adjust
1272 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1274 * lyxfind.C (find): fix argument order in call to ::find
1276 2004-02-02 André Pönitz <poenitz@gmx.net>
1278 * cursor.[Ch]: remove direct access to anchor
1280 * text.C: remove findText() hack
1282 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1284 * iterators.[Ch] (lockPath): remove in favour of...
1285 * BufferView.[Ch] (setCursor): this addition
1286 * BufferView.C (putSelectionAt): adjust
1287 * undo.C (performUndoOrRedo): adjust
1288 * lyxfunc.C (dispatch): adjust
1290 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1292 * iterators.C (lockPath): add a missing slice
1293 * undo.C (performUndoOrRedo): remove redundant positioning code
1295 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1297 * vc-backend.C (scanMaster): ";" -> ';'
1299 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1301 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1302 std::binary_function
1304 * lyxtextclass.C (compare_name): rename to...
1305 (LayoutNamesEqual): ...this
1307 * lyxlex_pimpl.C (compare_tags): inherit from
1308 std::binary_function, put back into anon namespace
1310 * lyxfind.C (MatchString): inherig from std::binary_function
1311 (findChange): use empty() istead of !size()
1313 * format.C (FormatNamesEqual): new functor
1320 * converter.C (compare_Converter): rename to...
1321 (ConverterEqual): ...this, and fixup a bit.
1322 (getConverter): use it, and make function const
1323 (getNumber): use it, and make function const
1327 * bufferlist.C: add using boost::bind
1329 * MenuBackend.C (MenuNamesEqual): new functor
1330 (hasMenu): use it, and make function const
1331 (hasSubmenu): use nested bind to get rid of compare_memfun.
1333 2004-01-30 André Pönitz <poenitz@gmx.net>
1335 * BufferView_pimpl.C:
1338 * cursor_slice.[Ch]:
1341 * paragraph_funcs.C:
1342 * paragraph_funcs.h:
1346 * text3.C: move some of the edit(x,y) handling to the insets
1347 some coordinate changes.
1349 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1351 * text.C: add using statements for std::advance and std::distance
1353 * paragraph.C: add using statement for std::distance
1355 * lyxfind.C: add using statement for std::advance
1357 * cursor.C (region): remove std:: from swap
1358 (openable): use nucleus in stead of operator->
1360 * BufferView.C: add using statements for std::distance and std::swap
1362 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1364 * iterators.C: Remove the pimple, move the needed structures to
1365 the header file. Create accessor for the positions stack.
1366 (asPosIterator): remove function
1368 * PosIterator.C (PosIterator): move constructors to top of file
1369 (PosIterator): reimplement the constructor taking a ParIterator in
1371 (setFrom): new function
1372 (operator!=): inline it
1374 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1376 * lyxfind.C (replaceAll): use std::advance
1378 * iterators.h: inherit from std::iterator.
1380 * PosIterator.C (advance, distance): remove
1381 * PosIterator.h: interit from std::iterator.
1383 2004-01-26 André Pönitz <poenitz@gmx.net>
1386 * BufferView_pimpl.[Ch]:
1390 * bufferview_funcs.C:
1400 * output_linuxdoc.C:
1401 * output_plaintext.C:
1403 * paragraph_funcs.[Ch]:
1404 * paragraph_pimpl.[Ch]:
1410 * text3.C: more IU: dumps most of the rest of the mathcursor
1411 implementation into cursor.[Ch]; "globalize" a bit of it.
1413 2004-01-25 Angus Leeming <leeming@lyx.org>
1415 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1417 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1419 * LaTeXFeatures.h: add nice_ and nice() const
1420 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1422 2004-01-20 André Pönitz <poenitz@gmx.net>
1425 * BufferView_pimpl.C:
1427 * bufferview_funcs.C:
1429 * cursor_slice.[Ch]:
1440 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1441 LCursor and mathcursor parts to LCursor and InsetBase.
1443 2004-01-15 André Pönitz <poenitz@gmx.net>
1445 * cursor_slice.[Ch]: add a few covienience functions
1447 * funcrequest.[Ch]: remove BufferView * member
1449 * BufferView_pimpl.C:
1456 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1458 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1460 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1461 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1463 2004-01-13 André Pönitz <poenitz@gmx.net>
1466 * lyxtext.h: hide cursor and selection anchor behind accessor function
1469 * BufferView_pimpl.[Ch]:
1471 * bufferview_funcs.C:
1481 * cursor_slice.[Ch]: some integer type changes for inset unification
1483 * lyxcursor.[hC]: remove, it's CursorSlice now.
1486 * BufferView_pimpl.[Ch]:
1487 * bufferview_funcs.C:
1493 * textcursor.[Ch]: adjust
1495 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1497 * text2.C (undoSpan): add and use
1498 * text.C (breakParagraph): use undoSpan (fix bug 578)
1501 2004-01-08 Angus Leeming <leeming@lyx.org>
1503 * BufferView_pimpl.C (MenuInsertLyXFile):
1504 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1505 * lyxfunc.C (menuNew, open, doImport):
1506 FileFilterList change to the FileDialog open and save functions.
1508 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1510 * ShareContainer.h: make isEqual and isUnique adaptable
1512 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1514 2004-01-07 Angus Leeming <leeming@lyx.org>
1517 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1519 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1521 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1522 functions replacing find, replace and replaceAll.
1524 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1525 LFUN_WORDFIND(FORWARD|BACKWARD).
1527 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1529 * text.C (breakParagraph): remove an outdated #warning
1531 2004-01-07 André Pönitz <poenitz@gmx.net>
1533 * lyxfind.C: somewhat clearer logic
1535 * text.C: prevent crash in cursorX on unitialized row cache
1537 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1539 * lyxcursor.[Ch] (operator>): add
1540 * textcursor.C (selStart, selEnd): use std::min and std::max
1542 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1544 * Chktex.C: include boost/format.hpp
1546 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1548 * InsetList.C: replace functor MathcIt with adaptable functor
1550 (insetIterator): modify accordingly
1552 * BranchList.h: move the BranchNamesEqual functor here from...
1553 * BranchList.C: ... to here
1555 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1557 (add): replace a finding loop with std::find_if.
1559 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1561 * output_docbook.C: moving LatexParam functionality into
1564 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1566 * buffer.C: increment format to 229.
1568 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1571 * lyx_sty.[Ch]: remove minipageindent_def
1577 * text3.C: remove LFUN_INSET_MINIPAGE
1579 2003-12-28 Angus Leeming <leeming@lyx.org>
1581 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1583 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1585 * text2.C (setParagraph): fix off-by-one crash
1587 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1589 * output_docbook.C: header stuff for AGU
1591 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1593 * text2.C (redoCursor): remove
1596 * BufferView_pimpl.C: remove calls to redoCursor and
1597 setCursor(cursor.par(), cursor.pos()) all around
1599 2003-12-15 Angus Leeming <leeming@lyx.org>
1601 * buffer.C: up the format to 228.
1603 2003-12-15 André Pönitz <poenitz@gmx.net>
1605 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1610 * BufferView_pimpl.C:
1619 2003-12-15 Angus Leeming <leeming@lyx.org>
1621 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1622 than getFromGUIName to manipulate the color.
1624 2003-12-14 Angus Leeming <leeming@lyx.org>
1626 * BranchList.[Ch]: minimize the API.
1627 (Branch::getBranch, getColor): now return a 'const &'.
1628 (Branch::setSelected) now returns a bool set to true if the
1629 selection status changes.
1630 (BranchList::clear, size, getColor, setColor, setSelected,
1631 allBranches, allSelected, separator): removed.
1632 (BranchList::find): new functions, returning the Branch with
1634 (BranchList::add, remove): return a bool indicating that
1635 the operation was successful.
1637 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1638 new InsetBranch::isBranchSlected member function.
1640 * LColor.[Ch]: mimimize the API.
1641 (fill): renamed as addColor and made private.
1642 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1643 versions of these functions taking a string arg have been removed.
1645 * bufferparams.C (readToken):
1646 * lyxfunc.C (dispatch):
1647 * lyxrc.C (read): changes due to the altered BranchList and
1650 * factory.C (createInset, readInset): changes due to altered
1653 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1656 * lyxfunc.C: remove insetminipage. "minipage-insert"
1657 now produces a frameless minipage box inset.
1659 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1661 * textcursor.[Ch] (selStart,selEnd): add new methods
1662 remove selection::start, end, use LyXCursor::operator<
1663 * lyxcursor.[Ch] (operator<): add
1664 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1665 * BufferView.[Ch] (unsetXSel): add
1666 * text2.C (clearSelection): use unsetXSel,adjust
1669 * rowpainter.C: adjust
1670 * bufferview_funcs.C (put_selection_at): adjust
1672 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1674 * BufferView_pimpl.C: small coord. correction
1676 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1678 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1679 dragging over the splash screen.
1681 2003-12-11 Angus Leeming <leeming@lyx.org>
1683 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1684 as it is now handled in LyXText::dispatch.
1686 * text3.C (doInsertInset): remove a level of nesting.
1688 2003-12-11 Angus Leeming <leeming@lyx.org>
1690 * factory.C (createInset): changes due to the changed interface to
1691 InsetCommandMailer::string2params.
1693 2003-12-10 Angus Leeming <leeming@lyx.org>
1695 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1696 'dialog-show-new-inset <inset name>'
1698 2003-12-10 Angus Leeming <leeming@lyx.org>
1700 * buffer.C: up the format to 227.
1702 * factory.C: the box inset is now identified simply by 'Box'.
1704 2003-12-10 Angus Leeming <leeming@lyx.org>
1706 * buffer.C: up the format to 226.
1708 * factory.C: the note inset is now identified simply by 'Note'.
1710 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1712 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1713 when a pit is enough. Standarize a couple of loops.
1715 2003-12-05 Angus Leeming <leeming@lyx.org>
1717 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1718 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1719 data to the re-worked "log" dialog.
1721 2003-12-03 André Pönitz <poenitz@gmx.net>
1727 * paragraph_funcs.C:
1729 * text2.C: use Inset::getText instead of Inset::getParagraph
1731 2003-12-03 André Pönitz <poenitz@gmx.net>
1735 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1736 InsetText::read() as LyXText::read()
1738 2003-12-02 Angus Leeming <leeming@lyx.org>
1740 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1741 type. Add a comment in the implementation that the function uses
1742 the stream's bad() function rather than fail() as the std::streams
1745 2003-12-02 André Pönitz <poenitz@gmx.net>
1747 * lyxlex.[Ch]: make interface more similar to std::stream
1749 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1751 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1753 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1755 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1757 * vspace.[Ch]: remove VSpace::NONE
1759 2003-12-01 André Pönitz <poenitz@gmx.net>
1762 * lyxtext.h: move ParagraphList member to LyXText
1763 rename LyXText::ownerParagraphs to LyXText::paragraph
1766 * bufferview_funcs.C:
1776 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1778 * undo.C: fix cursor positioning
1780 2003-12-01 John Levon <levon@movementarian.org>
1782 * BufferView_pimpl.C: fix a crash on exit with
1785 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1787 * BranchList.C: fix setSelected() method.
1789 2003-11-28 André Pönitz <poenitz@gmx.net>
1791 * ParagraphParameters.[Ch]:
1792 * ParameterStruct.h: remove space above/below from Paragraph to
1795 * BufferView_pimpl.C:
1801 * paragraph_funcs.C:
1807 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1809 * factory.C: Syntax change for CharStyles
1811 2003-11-28 André Pönitz <poenitz@gmx.net>
1816 * buffer.[Ch]: move LyXText member
1818 2003-11-28 André Pönitz <poenitz@gmx.net>
1820 * BufferView.[Ch]: make LyXText * text a private member
1822 * BufferView_pimpl.C:
1833 * output_plaintext.C: cleanup
1835 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1838 * lyxtextclass.[Ch]: parametrize SGML document header
1840 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1843 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1846 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1848 * text2.C (setFont): rework using PosIterator (no more recursive)
1849 (setCharFont): no more needed
1850 (setLayout): no more selection cursors fiddling (done by redoCursor)
1851 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1852 destroy remaining ones)
1854 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1856 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1858 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1861 * text3.C: adjust + re-allow multi par depth changes
1862 * textcursor.C: simplify a bit
1864 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1870 * src/output_docbook.C:
1871 * src/output_latex.C:
1876 * src/text2.C: Introducing a number of tags parametrizing various
1877 XML formats that we may want to support
1879 2003-11-25 André Pönitz <poenitz@gmx.net>
1881 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1883 * lyxtext.h (leftMargin/rightMargin): simplify interface
1890 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1892 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1893 master file to any child files. Fixes bug 546.
1895 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1897 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1899 2003-11-24 André Pönitz <poenitz@gmx.net>
1901 * rowpainter.C: simplification
1903 * text2.C (updateCounters): remove call to redoParagraph on
1904 changed labels as this is far too expensive.
1906 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1908 * converter.C (convert): fix a crash: this function gets
1909 called with buffer == 0 from importer code.
1911 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1913 * text3.C (cursorPrevious): make sure that we do not compare
1914 iterators form different containers.
1917 * rowpainter.C (paintSelection): make sure that we do not compare
1918 iterators from different containers.
1920 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1921 iterators from different ParagraphList containers.
1924 * text2.C (LyXText): change order of initialization slightly
1925 (operator=): new function. copy all variables except cache_par_
1926 (moveUp): make sure that we do not compare iterators from
1927 different ParagraphList constainers.
1930 * text.C (firstPar): new function
1931 (lastPar): new function
1932 (endPar): new function
1934 * lyxtext.h: move things around and group public functions, public
1935 variables, private functions, private variables
1937 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1939 * factory.C: change call to InsetERT constructor to avoid
1940 additional invocation of method status
1941 * text2.C (toggleInset): remove redundant update() call
1942 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1943 instead of a Bufferview pointer
1945 2003-11-21 André Pönitz <poenitz@gmx.net>
1947 * rowpainter.C: simplification
1949 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1951 * text3.C (dispatch): make possible to extend a word/row selection
1954 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1956 * lyxtext.h: x0_,y0_ -> xo_,yo_
1957 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1958 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1959 * rowpainter.C (paintRows): paint full paragraphs
1961 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1963 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1966 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1968 * lyxtext.h: add x0_, y0_
1969 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1970 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1972 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1974 * text2.C (setCursorIntern): move the x_target update here *
1975 * text3.C: change some bv() to true/false in calls to
1976 cursorUp/Down/Right/Left
1977 * cursor.C: use helper function.
1979 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1981 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1982 * paragraph_funcs.[Ch]: correct comment
1983 * rowpainter.C: do not paint selections away from bv->cursor()
1984 Fix a long standing selection painting bug.
1985 * text3.C: generalize mouse-selection code to LyXTexts other that
1987 * textcursor.C: do not use y coords if we can use par offsets
1989 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1991 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1992 cursor position after e.g. inset insert)
1994 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1996 * lyxfind.C (replace): adjust to locking removal + some
1999 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2001 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2004 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2007 * output_docbook.C: XML sanitation: new layout
2008 parameters InnerTag and CommandDepth
2010 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2012 * BufferView_pimpl.C:
2014 * text3.C: Fix the insertion and modification of button-style
2017 2003-11-13 André Pönitz <poenitz@gmx.net>
2019 * InsetList.[Ch]: remove deleteLyXText
2021 * paragraph.[Ch]: cache beginOfBody position
2026 * text3.C: remove superfluous update() calls
2030 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2032 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2033 * BufferView.C (fitLockedInsetCursor): remove
2034 * cursor.[Ch] (getDim): add
2035 * text.C (getRowNearY): add faster version
2036 * text3.C: remove some update calls
2038 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2050 * text3.C: The Character Style /XML short element patch.
2052 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2055 * factory.C: Small step to solving 'unable to insert some insets'
2058 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2060 * cursor.[Ch] (updatePos): new function for updating the y
2061 position of the tip inset
2062 * bufferview_funcs.C (put_selection_at):
2063 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2065 2003-11-11 André Pönitz <poenitz@gmx.net>
2067 * text.C: remove big comment on invalid Paragraph pointers as it is
2070 2003-11-11 André Pönitz <poenitz@gmx.net>
2072 * text_funcs.[Ch]: merge with ...
2080 * Makefile.am: remove text_funcs.[Ch]
2082 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2084 * cursor.C (getPos): return absolute cached y coord
2086 * BufferView_pimpl.C (fitCursor): new simplistic code
2087 (workAreaDispatch): add a fitCursor call
2089 2003-11-10 André Pönitz <poenitz@gmx.net>
2092 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2094 2003-11-10 André Pönitz <poenitz@gmx.net>
2096 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2097 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2098 indicate that the cursor needs to leave an inset
2100 * lyxtext.h: remove inset locking
2102 * cursor.[Ch]: re-implement functionality provided by inset locking
2105 * BufferView_pimpl.[Ch]:
2107 * bufferview_funcs.[Ch]:
2119 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2121 * PosIterator.[Ch]: replace the stack with a vector, add inset
2123 * iterators.[C]: adjust
2125 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2127 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2129 * paragraph_funcs.C (readParToken): put the correct id in the
2130 error item, not the id of the top paragraph
2132 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2134 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2135 * bufferview_funcs.C (put_selection_at): use the above
2137 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2139 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2141 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * output_linuxdoc.h:
2144 * output_plaintext.h:
2146 * output_docbook.h: add #include statements
2148 2003-11-05 José Matos <jamatos@lyx.org>
2150 * output_docbook.[Ch]:
2151 * output_latex.[Ch]:
2152 * output_linuxdoc.[Ch]:
2153 * output_plaintext.[Ch]: New files for output formats.
2154 * output.[Ch]: New file for helper functions.
2157 * paragraph_funcs.[Ch]: output functions moved to new files.
2159 * outputparams.h: rename of latexrunparams.h
2167 * paragraph_funcs.[Ch]:
2168 * paragraph_pimpl.[Ch]:
2169 * tabular.[Ch]: rename ascii to plaintext
2170 and LatexRunParams to OutputParams.
2172 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2174 * iterators.[Ch] (text): require bv argument
2175 * undo.C (recordUndo):
2176 * lyxfunc.C (dispatch):
2177 * bufferview_funcs.C (put_selection_at): adjust
2179 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2181 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2183 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2185 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2188 2003-11-04 André Pönitz <poenitz@gmx.net>
2190 * cursor.[Ch]: restructure
2193 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2195 * iterators.[Ch] (asCursor): remove
2197 * lfuns.h: remove LFUN_INSET_EDIT
2203 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2205 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2207 * lyxfind.[Ch]: complete overhaul
2208 * BufferView_pimpl.C:
2210 * paragraph.[Ch] (insert): add
2212 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2216 * text.C: remove dead spellcheck code
2218 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * dispatchresult.h: add a val setter
2222 * cursor.C (dispatch): use a tempvar for data_[i]
2224 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2226 * PosIterator.[Ch]: compile fix
2228 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2230 * text.C (cursorPar): deactivate the cursor cache
2232 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2234 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2236 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * text3.C (dispatch): adjust for new DisptchResult semantics.
2240 * lyxfunc.C (dispatch): handle update when return from
2241 Cursor::dispatch, adjust for new DispatchResult semantics.
2243 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2244 DispatchResult(true) mean to not update. Add class functions for
2245 setting dispatched and update, as well as reading.
2247 * cursor.C (dispatch): don't handle update here
2249 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2252 * trans_mgr.C: adjust
2254 * paragraph_funcs.C (readParToken): exception safety
2256 * lyxvc.h: store the vcs pointer in a scoped_ptr
2259 * lyxsocket.C (serverCallback): exception safety
2261 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2263 * ispell.C (clone): make it return a auto_ptr
2265 * factory.C (createInset): exception safety
2266 (readInset): exception safety
2268 * bufferlist.C (newBuffer): exception safety
2270 * Thesaurus.C (Thesaurus): use initialization for aik_
2272 * MenuBackend.C (expandToc): exception safety.
2274 2003-11-03 André Pönitz <poenitz@gmx.net>
2278 * bufferview_funcs.C: remove getInsetFromId()
2281 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2287 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2289 * PosIterator.C (distance, advance): new
2290 * bufferview_funcs.[Ch] (put_selection_at): new
2291 * iterators.[Ch] (lockPath): new
2293 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2295 * iterators.[Ch] (asPosIterator): added
2296 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2297 * PosIterator.[Ch]: added
2299 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * cursor.C (dispatch):
2304 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2306 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2307 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2308 contructor, add a class function dispatched. Remove operator>=
2310 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * debug.C: only use the default constructor for debugstream
2315 * main.C (main): include debug.h and setup the lyxerr streambuf
2318 2003-10-31 José Matos <jamatos@lyx.org>
2320 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2322 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2323 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2324 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2325 * paragraph_pimpl.C (simpleTeXSpecialC):
2326 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2327 add LatexRunParams argument.
2329 * exporter.C (Export): change call accordingly.
2331 * latexrunparams.h: add new member to take care of the other backends.
2332 2003-10-30 José Matos <jamatos@lyx.org>
2334 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2335 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2336 factorise code for paragraph output.
2338 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2341 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2343 * text3.C (dispatch):
2344 * lyxfunc.C (dispatch):
2345 * cursor.C (dispatch):
2346 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2348 * dispatchresult.h: make the dispatch_result_t ctor explicit
2350 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2353 * buffer.C: small refactoring of docbook stuff
2355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2360 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2362 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2363 operator dispatch_result_t, and operators for == != and >=
2365 * cursor.C (dispatch): adjust for operator dispatch_result_t
2366 removal. comment out call to update
2368 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2381 * dispatchresult.h: new file, DispatchResult broken out of
2384 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2386 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2388 * text.C (rowBreakPoint): put a hack inside #if 0
2390 2003-10-28 André Pönitz <poenitz@gmx.net>
2394 * paragraph_funcs.C:
2397 * text2.C: general cleanup (lots of small stuff)
2399 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2401 * text2.C (cursorEnd): simple fix to the "end key goes to one
2402 before the end on last row" bug
2404 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2406 * text.C (backspace): fix the "zombie characters"
2408 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2410 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2412 2003-10-27 André Pönitz <poenitz@gmx.net>
2414 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2416 * factory.C: handle new InsetPagebreak, InsetLine
2418 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2419 and move handling into new InsetPagebreak, InsetLine
2421 * BufferView_pimpl.C:
2423 * ParagraphParameters.C:
2424 * ParameterStruct.h:
2429 * paragraph_funcs.C:
2430 * paragraph_pimpl.C:
2436 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2439 * lyxrow_funcs.[Ch]:
2445 * text3.C: remove lastPos uses in favour of Row::endpos
2447 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2449 * undo.C (performUndoOrRedo): fix two crashes by setting a
2450 cursor by hand and reordering some calls. Use bv->lockInset instead
2451 of inset->edit because the latter loses cursor information
2453 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2455 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2457 (rowBreakPoint): fix width. change point to point + 1.
2458 Add a missing check.
2460 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2463 * lyxfunc.C: fix (at least partly) the problems
2464 with the Nav menu and headers inside branch insets
2467 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2469 * paragraph.C (getChar): add strong asserts
2471 * lyxrow_funcs.C (lastPos): remove hideous hack
2473 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2474 (fill): adjust to that (avoid an infinite loop)
2476 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2478 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2480 2003-10-23 André Pönitz <poenitz@gmx.net>
2482 * RowList_fwd.h: change list<> to vector<> to gain speed
2483 after suggestion from Alfredo
2485 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2487 * lyxtext.h: move the bidi stuff from here...
2490 * Bidi.[Ch]: ... to here
2492 2003-10-23 André Pönitz <poenitz@gmx.net>
2495 * text.C (isLastRow, isFirstRow): new functions
2497 * paragraph.h: new width cache member
2499 * rowpainter.C: replace RowList::iterator with Row & where possible
2501 * lyxfunc.C: replace several view()->text with a single call
2503 * toc.C: fix 'unused' warning
2505 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2508 when woring with stream::pos_type
2509 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2511 2003-10-22 André Pönitz <poenitz@gmx.net>
2514 * text.C: use Row & instead of RowList::iterator
2516 * lyxrow.h: rename end() to endpos()
2522 2003-10-22 Angus Leeming <leeming@lyx.org>
2524 * buffer.[Ch] (fully_loaded): new member function, returning true
2525 only when the file has been loaded fully.
2526 Used to prevent the premature generation of previews and by the
2527 citation inset to prevent computation of the natbib-style label.
2529 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2530 templates are all set up.
2532 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2534 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2536 * text.C: fixed an "oops" in the "is a bit silly"
2539 2003-10-21 André Pönitz <poenitz@gmx.net>
2541 * FuncStatus.[Ch]: small stuff, whitespace
2543 * lyxfont.[Ch]: operator<<() for debug reasons
2547 * lyxtext.h: whitespace, spelling
2549 * paragraph.C: naming of variables
2552 * text2.C: small stuff
2555 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2557 * text.C: (1) finish off the inset display() work;
2558 (2) fix the "is a bit silly" bug (accessing char
2561 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2563 * text.C: re-introduce display() for insets, fixing the
2564 various bugs (stretch of line above, math inset
2567 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2569 * text.C (rightMargin): remove spurious semicolon
2571 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2574 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2576 * text3.C: fix one crash due to wrong cursor def
2578 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * vc-backend.C (scanMaster): make the regex static
2582 * LaTeX.C (scanAuxFile): make the regexs static
2584 * text3.C (doInsertInset, dispatch, dispatch):
2585 * text2.C (cursorUp, cursorDown):
2586 * text.C (selectNextWordToSpellcheck):
2587 * BufferView_pimpl.C (dispatch):
2588 * lyxfunc.C (dispatch): localDispatch -> dispatch
2590 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2592 * lyxsocket.C: include <cerrno>
2594 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * lyxfunc.C (dispatch): remove textcache stuff
2598 * bufferlist.C (release): remove textcache stuff
2601 * TextCache.C: delete file
2602 * TextCache.h: delete file
2604 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2606 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2607 delete of the bv_->text.
2608 (resizeCurrentBuffer): remove texcache stuff
2609 (workAreaResize): ditto
2611 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2613 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2616 2003-10-16 André Pönitz <poenitz@gmx.net>
2623 * text3.C: speed up by storing y positions per paragraph plus per-row
2624 offset instead of having a 'full' y position in the row.
2626 2003-10-15 André Pönitz <poenitz@gmx.net>
2630 * undo.[Ch]: make undo aware of inner insets
2632 2003-10-14 Angus Leeming <leeming@lyx.org>
2634 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2635 static member functions LyX::ref() and LyX::cref.
2636 (lastfiles): new accessor functions for the new lastfiles_ member var.
2637 (addLyXView, views_): add a new LyXView to the list of views_.
2638 (updateInset): loop over all LyXViews to call their own updateInset
2639 member function, returning a pointer to the Buffer owning the inset.
2641 * BufferView_pimpl.C (loadLyXFile):
2642 * MenuBackend.C (expandLastfiles):
2643 * bufferlist.C (MenuWrite, QuitLyX):
2644 lastfiles is no longer a global variable.
2645 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2647 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2648 static function. Access through LyX::cref().emergencyCleanup().
2650 2003-10-14 André Pönitz <poenitz@gmx.net>
2652 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2654 * undo.[Ch]: restoring part of 'undo in insets'
2657 * undo_funcs.[Ch]: merge with undo.[Ch]
2659 * tabular.C: small cleansing stuff
2661 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2663 * paragraph_funcs.C (readParToken): report unknown insets as error
2664 boxes. Use the outer paragraph as location (also for unknown
2667 * factory.C (readInset): do not abort on reading an unknown inset.
2668 Eat it and return 0.
2670 2003-10-13 Angus Leeming <leeming@lyx.org>
2672 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2674 * lyxrc.C: displayTranslator is now a function,
2675 declared in GraphicsTypes.h.
2677 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2679 * format.C: new placeholder $$a to pass the socket address.
2681 * bufferlist.[Ch]: new function getBufferFromTmp.
2683 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2684 files in the temporary dir.
2686 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2688 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2690 * Makefile.am: add lyxsocket.[Ch].
2692 * lyx_main.C (error_handler): handle SIGPIPE.
2694 2003-10-13 André Pönitz <poenitz@gmx.net>
2696 * BufferView_pimpl.C:
2701 * undo_funcs.[Ch]: use paroffset_type instead of
2702 ParagraphList::iterators to prevent multiple conversion
2703 (and get a more robust interface)
2705 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2707 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2709 * text3.C (dispatch): ditto
2711 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2714 move the onlyfile, use onlyfile instead of foundfile in a couple
2717 * DepTable.C (update): flush the error stream a bit more
2719 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2721 * lyxserver.C (callback): adjust
2723 * lyxfunc.C (getStatus): add a missing brace in commented code
2724 (ensureBufferClean): reindent
2725 (dispatch): delete version taking a string
2727 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * LaTeX.C (deplog): move found file handlig from here...
2730 (handleFoundFile): .. to new function here.
2731 (deplog): make sure to discover several files mentioned on the
2734 2003-10-10 André Pönitz <poenitz@gmx.net>
2741 * text3.C: fix some of the tabular crashes
2743 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2745 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2747 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2749 2003-10-09 André Pönitz <poenitz@gmx.net>
2751 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2754 * BufferView_pimpl.C:
2755 * bufferview_funcs.C:
2766 * undo_funcs.C: adjust
2768 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * text2.C (incrementItemDepth): new function, use a backtracking
2771 algorithm to discover the correct item depth.
2772 (resetEnumCounterIfNeeded): new function, use a backtracking
2773 algorithm to discover if counter reset is needed.
2774 (setCounter): use them. Simplify a bit. Add different labels for
2775 different item depths for itemize.
2777 * paragraph.C (Paragraph): remove initialization of enumdepth
2780 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2781 enumerate and itemize. Change the type of itemdepth to signed char.
2783 2003-10-08 André Pönitz <poenitz@gmx.net>
2785 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2790 * tabular.[Ch]: fix crash after 'row-insert'
2792 2003-10-08 Angus Leeming <leeming@lyx.org>
2794 Fix doxygen warnings.
2796 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2797 Remove CutAndPaste:: prefix from header file declaration.
2799 * LColor.h (fill): remove LColor:: prefix from declaration.
2801 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2802 use lyx::depth_type rather than Paragraph::depth_type so that
2803 header file and .C file match.
2805 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2807 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2808 * aspell.C: \file aspell_local.C -> \file aspell.C
2809 * gettext.C: \file gettext.C -> \file src/gettext.C
2810 * gettext.h: \file gettext.h -> \file src/gettext.h
2811 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2812 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2813 * text.C: \file text.C -> \file src/text.C
2815 * toc.C: move comment so that doxygen is not confused.
2817 2003-10-07 Angus Leeming <leeming@lyx.org>
2819 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2821 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2824 * aspell_local.h: add forgotten std::string's.
2826 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2833 * text3.C: The Box patch. Fancybox support, minipage, parbox
2835 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2841 * ParagraphParameters.h:
2851 * lyxtextclasslist.h:
2854 * paragraph_pimpl.C:
2855 * textcursor.h: add <string> and other small fixes to make Lars'
2856 std::string patch compile with STLport.
2858 2003-10-06 Angus Leeming <leeming@lyx.org>
2860 * LColor.h: Add missing #include <string>.
2862 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * All most all file in all subdirs: Make <string> be the prefered
2865 way of getting to std::string, add using declarations.
2867 2003-10-06 André Pönitz <poenitz@gmx.net>
2869 * metricsinfo.C: initialize LyXFont before changing attribute.
2870 (fixes the 'math in \emph is upright' bug)
2872 2003-10-06 André Pönitz <poenitz@gmx.net>
2874 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2876 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2879 * paragraph_pimpl.C: Small fixes to build using STLport
2881 2003-10-02 André Pönitz <poenitz@gmx.net>
2884 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2886 2003-10-01 André Pönitz <poenitz@gmx.net>
2888 * factory.C: assert early
2890 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * lyx_main.C: remove the global debug object
2894 * debug.h: adjust for new debugstream
2896 * debug.C: adjust for new debugstream and keep the global debug
2899 2003-09-22 Angus Leeming <leeming@lyx.org>
2901 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2902 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2903 an incomplete class LyXFont.
2905 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2907 * factory.C: bug fix in branches
2909 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * lyxfunc.C (processKeySym): adjust
2913 (dispatch): change arg name from ev to func, adjust
2914 (sendDispatchMessage): ditto
2916 * lyx_main.C (defaultKeyBindings): adjust keybindings
2917 (deadKeyBindings): ditto
2919 * kbsequence.C (addkey): return a FuncRequest
2921 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2923 * kbmap.C (bind): take a FuncRequest as arg, adjust
2926 (defkey): change to take a FuncRequest as arg, adjust
2927 (findbinding): take a FuncRequest as arg, adjust.
2929 * funcrequest.h (operator=): added
2931 * funcrequest.C (FuncRequest): default kb_action changed from
2932 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2934 * buffer.C (dispatch): simplify
2935 (dispatch): adjust to take a FuncRequest as arg, adjust
2937 * boost.C (assertion_failed): change assertion message slightly
2939 * ToolbarBackend.C (read): simplify
2941 * MenuBackend.C (binding): adjust call to findbinding, add a
2942 message if no binding is found.
2944 (expandToc): correct by adding a empty FuncRequest
2946 * LyXAction.C: include <boost/assert.hpp>
2947 (isPseudoAction): delete function
2948 (LookupFunc): change name to...
2949 (lookupFunc): this. change return type to FuncRequest.
2950 (getActionName): take kb_action as arg, simplify
2951 (funcHasFlag): add an assert, simplify.
2953 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * toc.C (action): return a FuncRequest, simplify
2957 * lyxfunc.C (processKeySym): adjust
2958 (getStatus): delete version that takes an int.
2960 (dispatch): delete version that takes action as int
2962 (sendDispatchMessage): simplify and adjust
2964 * funcrequest.C (getArg): take unsigned int as arg
2966 * ToolbarBackend.C (read): adjust
2967 (add): delete version that takes func as a string.
2968 (getIton): take a FuncRequest as arg
2970 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2973 * MenuBackend.C (MenuItem): add a new construct that only takes a
2974 Kind, simplify the constructor use for submenus.
2976 (expandLastfiles): adjust
2977 (expandDocuments): adjust
2978 (expandFormats): adjust
2979 (expandFloatListInsert): adjust
2980 (expandFloatInsert): adjust
2981 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2983 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2984 Remove class variables lyx_pseudo_map and lyx_arg_map
2986 * LyXAction.C (searchActionArg): delete function
2987 (getPseudoAction): delete function
2988 (retrieveActionArg): delete function
2989 (LookupFunc): make it return kb_action, simplify.
2990 (getActionName): simplify
2992 * factory.C (createInset): fix new bug
2994 2003-09-19 Angus Leeming <leeming@lyx.org>
2996 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2997 masterFilename_ parameter in the include inset.
2999 * factory.C (createInset): changes due to the changes to InsetInclude.
3001 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3003 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3005 2003-09-18 Angus Leeming <leeming@lyx.org>
3008 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3009 Inset::fillWithBibKeys.
3010 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3012 2003-09-18 Angus Leeming <leeming@lyx.org>
3014 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3016 (ctor): pass and store a 'Buffer const &'
3017 (buffer): new member function.
3019 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3020 '*this' to the LaTeXFeatures ctor.
3022 2003-09-18 Angus Leeming <leeming@lyx.org>
3028 * text.C: rename EnumLColor as LColor_color.
3030 2003-09-18 Angus Leeming <leeming@lyx.org>
3032 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3033 remove #include "insets/insetbase.h" from cursor.h.
3035 2003-09-18 Angus Leeming <leeming@lyx.org>
3037 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3038 InsetOld_code to remove #include "inset.h".
3040 * iterators.C: add #include "insets/inset.h"
3042 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3044 * BufferView.C: remove more locking stuff that apparently doesn't
3045 do anything sensible.
3047 2003-09-16 André Pönitz <poenitz@gmx.net>
3050 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3053 2003-09-16 Angus Leeming <leeming@lyx.org>
3055 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3057 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3060 * paragraph.h: remove #include "lyxfont.h". Forward declare
3063 2003-09-16 Angus Leeming <leeming@lyx.org>
3065 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3066 of support/textutils.h.
3067 (isWord): move the contents of support/textutils.h's IsWordChar here.
3073 * text2.C: add #include "paragraph.h".
3076 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3078 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3084 * LaTeX.C: use namespace alias for lyx::support::os
3086 2003-09-16 Angus Leeming <leeming@lyx.org>
3089 * bufferview_funcs.C:
3092 * paragraph_pimpl.C:
3094 * text.C: add #include "LColor.h".
3096 2003-09-16 Angus Leeming <leeming@lyx.org>
3098 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3099 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3101 Store the FontBits::color variable as an int rather than as an
3102 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3105 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3106 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3107 string calls together.
3109 * lyxrc.C: add #include "LColor.h".
3111 2003-09-15 Angus Leeming <leeming@lyx.org>
3113 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3116 2003-09-15 Angus Leeming <leeming@lyx.org>
3118 * LColor.h: add an EnumLColor wrapper for LColor::color.
3120 * lyxfont.[Ch] (color, setColor, realColor):
3121 * lyxtext.h, text.C (backgroundColor):
3122 pass EnumLColor args to/from the functions, rather than LColor::color
3126 * lyxtext.h: forward declare EnumLColor.
3128 * lyx_main.C: add #include "LColor.h".
3130 2003-09-15 Angus Leeming <leeming@lyx.org>
3132 * .cvsignore: add lyx-gtk.
3134 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * ParagraphParameters.C
3143 * bufferview_funcs.C
3153 * vc-backend.C: remove usage of STRCONV
3155 2003-09-15 Angus Leeming <leeming@lyx.org>
3157 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3158 explicitly define the color passed to the painter.
3160 2003-09-15 Angus Leeming <leeming@lyx.org>
3162 * bufferparams.C (BufferParams): reorder member initializers to avoid
3165 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3167 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3168 * text.C (updateRowPositions): remove an unusual nop
3170 2003-09-12 André Pönitz <poenitz@gmx.net>
3172 * BufferView_pimpl.C:
3181 * Counters.[Ch]: finish the 'automatic counters' job
3183 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3185 * aspell.C: include <boost/assert.cpp> (compile fix)
3187 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3189 * boost.C (assertion_failed): use lyx::support::abort instead of
3192 2003-09-10 Angus Leeming <leeming@lyx.org>
3194 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3195 with their _fwd progeny.
3197 2003-09-09 Angus Leeming <leeming@lyx.org>
3199 134 files throughtout the source tree: replace 'using namespace abc;'
3200 directives with the appropriate 'using abc::xyz;' declarations.
3202 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3204 * boost.C (emergencyCleanup): moved here from LAssert.c
3205 (assertion_failed): new function, called by BOOST_ASSERT
3207 * several files: change Assert to BOOST_ASSERT
3209 2003-09-09 Angus Leeming <leeming@lyx.org>
3211 * buffer.[Ch]: Add an Impl class and move Buffer's member
3212 variables into it. As a result move several header files out of
3215 Add header files to lots of .C files all over the tree as a result.
3217 2003-09-09 Angus Leeming <leeming@lyx.org>
3219 * buffer.[Ch]: make Buffer's member variables private. Add
3222 Lots of changes all over the tree as a result.
3224 2003-09-08 Angus Leeming <leeming@lyx.org>
3226 * graph.C: #include <config.h>.
3228 2003-09-08 Angus Leeming <leeming@lyx.org>
3232 * BufferView_pimpl.C:
3261 * toc.C: remove redundant using directives.
3263 2003-09-07 Angus Leeming <leeming@lyx.org>
3265 * LaTeXFeatures.h: remove #include "support/types.h".
3266 * ToolbarBackend.h: remove #include <algorithm>.
3267 * changes.h: remove #include <ctime>.
3268 * debug.h: remove #include <iosfwd>.
3269 * graph.h: remove #include "support/std_string.h".
3270 * lyx_main.h: remove #include <csignal>.
3271 * lyxlex_pimpl.h: remove #include <fstream>.
3272 * sgml.h: remove #include <algorithm>, <utility>.
3273 * toc.h: remove #include "support/std_ostream.h".
3274 Add #include <iosfwd>.
3276 2003-09-07 Angus Leeming <leeming@lyx.org>
3278 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3280 * converter.h: forward declare LatexRunParams.
3281 * encoding.h: remove #include "lyxrc.h".
3282 * lyxtext.h: remove #include "LColor.h".
3283 * lyxtextclass.h: remove #include "support/types.h".
3284 * trans.h: remove #include "tex-accent.h".
3285 * trans_mgr.h: remove #include "tex-accent.h".
3286 * insets/inset.h: remove #include "support/types.h", <vector>.
3287 * insets/insetcollapsable.h: remove #include "LColor.h".
3288 * insets/insetinclude.h: remove #include "dimension.h".
3289 * insets/insetlatexaccent.h: remove #include "dimension.h".
3290 * insets/insetoptarg.h:: remove #include "insettext.h".
3291 * insets/insettext.h: remove #include "dimension.h",
3292 <boost/shared_ptr.hpp>
3294 * insets/renderers.h: add #include "dimension.h".
3295 * insets/updatableinset.h: add #include "support/types.h".
3297 * many .C files: Associated changes.
3299 2003-09-06 Angus Leeming <leeming@lyx.org>
3301 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3302 one, inside testInvariant.
3304 * PrinterParams.C: new file.
3305 * PrinterParams.[Ch]: move the function bodies out of line.
3307 2003-09-06 Angus Leeming <leeming@lyx.org>
3309 * ParagraphParameters.h: forward declare ParameterStruct rather than
3310 including its header file.
3311 (depth): moved out-of-line.
3313 2003-09-06 Angus Leeming <leeming@lyx.org>
3315 * BufferView_pimpl.h:
3318 * lyxfunc.h: forward declare LyXKeySym rather than
3319 #include "frontends/LyXKeySym.h".
3321 * BufferView_pimpl.C:
3324 * lyxfunc.C: associated changes.
3326 2003-09-06 Angus Leeming <leeming@lyx.org>
3328 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3329 As a result, can remove the #include "insets/inset.h" from BufferView.h
3331 2003-09-06 Angus Leeming <leeming@lyx.org>
3333 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3334 As a result, can remove the #include "insets/inset.h" from BufferView.h
3336 2003-09-06 Angus Leeming <leeming@lyx.org>
3342 * bufferview_funcs.C:
3343 * BufferView_pimpl.C:
3348 * ParagraphParameters.C:
3353 * frontends/controllers/ControlDocument.C:
3354 * insets/insetcaption.C: rearrange the #includes into some sort of
3357 * buffer.h: remove #includes ErrorList.h, undo.h
3359 2003-09-06 Angus Leeming <leeming@lyx.org>
3361 * support/types.h: add a 'depth_type' typedef, used to store the
3362 nesting depth of a paragraph.
3365 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3366 defining explicitly.
3369 * paragraph_funcs.h:
3370 * ParagraphParameters.h:
3371 * sgml.h: use lyx::depth_type rather than Paragraph or
3372 ParameterStruct's depth_type.
3375 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3378 * BufferView_pimpl.C:
3380 * ParagraphParameters.C:
3383 * bufferview_funcs.C:
3390 * frontends/LyXView.C:
3391 * frontends/controllers/ControlDocument.C:
3392 * frontends/controllers/ControlErrorList.C:
3393 * insets/insetbibitem.C:
3394 * insets/insetbranch.C:
3395 * insets/insetcaption.C:
3396 * insets/insetcollapsable.C:
3397 * insets/insetenv.C:
3398 * insets/insetert.C:
3399 * insets/insetfloat.C:
3400 * insets/insetfoot.C:
3401 * insets/insetfootlike.C:
3402 * insets/insetnewline.C:
3403 * insets/insetquotes.C:
3404 * insets/insettabular.C:
3405 * insets/insettext.C:
3406 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3408 * frontends/controllers/ControlChanges.C: #include "changes.h".
3410 2003-09-06 Angus Leeming <leeming@lyx.org>
3412 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3413 than #including paragraph.h.
3416 * RowList.h: deleted. Superfluous.
3426 * insets/insettext.h: use ParagraphList_fwd.h rather than
3429 * paragraph.h: don't forward declare ParagraphList.
3432 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3433 rather than ParagraphList.h. paragraph.h is still needed for the
3434 Paragraph::depth_type parameters.
3436 * textcursor.h: enable it to compile stand-alone in light of the
3439 * bufferview_funcs.C:
3451 * frontends/controllers/ControlParagraph.C:
3452 * frontends/controllers/ControlTabular.C:
3453 * insets/insetmarginal.C:
3454 * insets/insetminipage.C:
3455 * insets/insetnote.C:
3456 * insets/insetoptarg.C: add header files needed to compile again.
3458 2003-09-06 Angus Leeming <leeming@lyx.org>
3460 * RowList_fwd.h: new file, forward-declaring Row rather than
3461 #including lyxrow.h.
3466 * insets/insettext.h: use it instead of RowList.h
3468 * bufferview_funcs.C:
3475 * text3.C: #include "RowList.h".
3477 2003-09-05 Angus Leeming <leeming@lyx.org>
3479 * factory.C (createInset):
3480 * vspace.C (c-tor): replace sscanf call with an istringstream.
3481 * ispell.C: re-add missing HP/UX headers.
3482 * lyxserver.C: re-add missing os2 headers.
3484 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3493 * text3.C: re-add missing system headers, needed for 2.95.2.
3495 2003-09-05 Angus Leeming <leeming@lyx.org>
3497 Changes most place everywhere due to the removal of using directives
3498 from support/std_sstream.h.
3500 2003-09-05 Angus Leeming <leeming@lyx.org>
3502 Replace LString.h with support/std_string.h,
3503 Lsstream.h with support/std_sstream.h,
3504 support/LIstream.h with support/std_istream.h,
3505 support/LOstream.h with support/std_ostream.h.
3507 Changes resulting throughout the tree.
3509 2003-09-05 Angus Leeming <leeming@lyx.org>
3511 * sgml.h: ensure that the header file can be compiled stand-alone.
3512 * *.C: strip out redundant #includes. (320 in total.)
3514 2003-09-04 Angus Leeming <leeming@lyx.org>
3516 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3517 here (from getPackages).
3519 * debug.[Ch]: add a new EXTERNAL tag.
3521 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3523 * text2.C (cursorEnd): simplify
3525 (getColumnNearX): adjust
3527 * text.C (computeBidiTables): adjust
3530 * rowpainter.C (paintChars): adjust
3531 (paintSelection): adjust
3532 (paintChangeBar): adjust
3535 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3537 (numberOfSeparators): adjust
3539 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3545 * text3.C: Restricts the mouse click functionality
3546 of insets like bibtex, include, toc and floatlist to the visible
3547 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3548 up the dialogs. Cursor has to be in front of the inset (i.e.
3549 start of row) for this to function.
3551 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3553 * bufferview_funcs.C (currentState): output row information
3555 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3557 * bufferview_funcs.C (currentState): output paragraph position
3559 2003-09-04 Angus Leeming <leeming@lyx.org>
3561 * FloatList.h: move out #include "Floating.h".
3562 * LaTeX.h: move out #include "DepTable.h".
3563 * LyXAction.h: move out #include "funcrequest.h".
3564 * buffer.h: move out #include "author.h", "iterators.h".
3565 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3566 * lyx_main.h: move out #include "errorlist.h".
3567 * lyxfunc.h: move out #include "FuncStatus.h".
3568 * lyxtext: move out #include "lyxcursor.h".
3569 * paragraph_pimpl.h: move out #include "counters.h".
3571 2003-09-03 Angus Leeming <leeming@lyx.org>
3573 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3574 preamble_snippets list, enabling us to add snippets to the preamble
3575 only if the snippet was not there already.
3577 2003-09-04 Angus Leeming <leeming@lyx.org>
3579 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3581 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3586 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3588 * BranchList.C: point fix, earlier forgotten
3590 2003-09-02 Angus Leeming <leeming@lyx.org>
3592 * box.C (contains): renamed from 'contained' after a fantastic
3595 2003-09-02 John Levon <levon@movementarian.org>
3601 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3603 2003-09-02 John Levon <levon@movementarian.org>
3605 * text2.C: simplification of cursorEnd(), including partial
3608 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * buffer.C (readFile): add a space
3612 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3614 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3616 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * buffer.C (readFile): new function, take a filename and a
3619 ParagraphList::iterator
3621 (readFile): adjust, make it private. don't use setStream, make
3622 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3623 always contain the filename.
3625 * BufferView.C (insertLyXFile): simplify and make it work for
3628 2003-08-30 John Levon <levon@movementarian.org>
3630 * Makefile.am: fix dist (from Kayvan)
3632 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * most files: change to use const Buffer refs
3636 2003-08-27 André Pönitz <poenitz@gmx.net>
3638 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3639 on top of ownerPar().
3641 2003-08-27 John Levon <levon@movementarian.org>
3643 * funcrequest.C: properly initialise POD members
3645 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3647 * lyxtext.h (top_y): move top_y from here
3652 * BufferView_pimpl.[Ch]: to here
3653 * frontends/screen.C:
3654 * insets/insettabular.C:
3655 * insets/insettext.C: adjust
3656 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3658 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3661 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3663 2003-08-26 André Pönitz <poenitz@gmx.net>
3665 * paragraph_func.[Ch] (outerPar): new function
3668 * paragraph_funcs.C:
3669 * paragraph_funcs.h:
3670 * paragraph_pimpl.C:
3671 * text2.C: remove Inset::par_owner
3673 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3678 * text2.C: eliminates the needFullRow/display() stuff
3679 altogether, putting the logic in metrics/draw in the insets.
3681 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3683 * text2.C (redoParagraphInternal, redoParagraphs):
3684 * text.C (redoParagraph): add a call to updateRowPositions at the
3685 end of each 'metrics-like' call. Remove all others.
3686 (getRow): remove the 'y-computing' version.
3687 (getRowNearY): do not compute nor return the real y. Solve the
3688 'y < 0' problem and simplify.
3690 2003-08-22 Angus Leeming <leeming@lyx.org>
3692 * *.[Ch]: clean-up of licence and author blurbs.
3693 Also move config.h out of a few .h files and into a few .C files.
3695 2003-08-22 André Pönitz <poenitz@gmx.net>
3697 * lyxrow.[Ch]: add x_ and *fill_ members
3702 * text2.C: adjust/remove prepareToPrint() calls
3704 2003-08-22 André Pönitz <poenitz@gmx.net>
3706 * lyxrow.[Ch]: add end_ member
3708 * lyxrow_funcs.C: use LyXRow::end_
3710 * lyxtext.h (singleWidth): add LyXFont parameter
3713 * text2.C: adjust LyXText::singleWidth() calls
3715 * text.C (redoParagraph): simplify row breaking logic
3718 2003-08-19 André Pönitz <poenitz@gmx.net>
3720 * funcrequest.C: initialize button_ member
3723 * rowpainter.[Ch]: interface consolidation
3725 2003-08-18 André Pönitz <poenitz@gmx.net>
3728 * BufferView_pimpl.C:
3730 * paragraph_funcs.C:
3732 * text3.C: remove LyXScreen::draw() and fitCursor calls
3734 * BranchList.h: remove spurious semicolons
3736 * MenuBackend.C: fix branchlist related crash
3738 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3746 * bufferparams.[Ch]:
3750 * text3.C: implements the 'branch inset'
3751 idea. This allows the output of various versions of a document
3752 from a single source version, selectively outputing or suppressing
3753 output of parts of the text.
3754 This implementation contains a 'branch list editor' in a separate
3755 tab of the document settings dialog. Branches are user definable
3756 and have a "display colour" to distinguish them on-screen.
3758 ColorHandler was somewhat cleaned up.
3759 (1) make possible a dynamically growing LColor list by allowing
3760 the graphic context cache to grow along (vector);
3761 (2) eliminate an IMHO unnecessary step in colour allocation.
3763 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3765 * BufferView_pimpl.C: compile fix
3767 2003-08-15 André Pönitz <poenitz@gmx.net>
3769 * rowpainter.C: remove extra metrics calls
3771 * lyxtext.h: merge the two constructors into a single one,
3772 pass reference to owner's par list
3774 * BufferView_pimpl.C:
3778 2003-08-15 André Pönitz <poenitz@gmx.net>
3780 * lyxrow_funcs.[Ch]:
3783 * paragraph_funcs.C:
3788 * text_funcs.C: split LyXText::rowlist_ into individual
3789 Paragraph::rows_ chunks
3792 * BufferView_pimpl.[Ch]:
3795 * text3.C: remove toggleSelection()
3797 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3799 * bufferlist.C: beautify two alerts (shorter text of buttons)
3800 * buffer.C: Remove redundant ' ' from message
3802 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3803 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3804 rename VALIGN_CENTER to VALIGN_MIDDLE
3806 2003-08-11 André Pönitz <poenitz@gmx.net>
3808 * lyxtext.h (getPar):
3809 * text.C: new function
3811 2003-08-11 André Pönitz <poenitz@gmx.net>
3814 * tracer.[Ch]: remove unneeded files
3816 * InsetList.[Ch]: remove resizeInsetsLyXText()
3821 * text3.C: merge insertParagraphs() and appendParagraph()
3822 remove breakAgain(), update()
3824 * BufferView_pimpl.[Ch]:
3825 * bufferview_funcs.[Ch]:
3829 * tabular.C: adjust after text & InsetList changes.
3831 2003-08-08 André Pönitz <poenitz@gmx.net>
3833 * text.C (insertChar, backspace): replace rowlist fiddling
3834 with rebreak of full par
3837 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3838 checkParagraph, updateInset): removed
3840 2003-08-07 André Pönitz <poenitz@gmx.net>
3843 * text3.C: merge some LFUN handlers, remove dead code
3845 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3847 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3849 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3851 * text2.C (DEPM): fix part of bug 1255 and 1256
3853 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3855 * BufferView_pimpl.C (workAreaDispatch): change to use
3856 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3857 that are no mouse related.
3859 2003-08-05 André Pönitz <poenitz@gmx.net>
3862 * BufferView_pimpl.[Ch]:
3863 * bufferview_funcs.C:
3865 * text3.C: rip out "deep update"
3867 * textcursor.[Ch] (last_sel_cursor): remove unused member
3869 2003-08-04 André Pönitz <poenitz@gmx.net>
3872 * BufferView_pimpl.[Ch]:
3873 * ParagraphParameters.C:
3874 * bufferview_funcs.C:
3880 * text3.C: replace "complicated" BufferView::update(...) calls with
3883 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3885 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3887 * Makefile.am (lyx_SOURCES): add paper.h
3889 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3891 * Makefile.am: move things around so that both lyx-qt and
3892 lyx-xforms can be built (according to --with-frontend). Then lyx
3893 is a symbolic link to lyx-[firstfrontend]
3895 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3897 * Always use std::endl with lyxerr
3899 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3901 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3903 2003-08-01 André Pönitz <poenitz@gmx.net>
3906 * BufferView_pimpl.[Ch]:
3908 * text3.C: merge BufferView::repaint() and BufferView::update()
3910 2003-08-01 José Matos <jamatos@lyx.org>
3912 * buffer.[Ch]: file_format is no longer a buffer data element.
3914 2003-08-01 André Pönitz <poenitz@gmx.net>
3919 * text2.C: make redoParagraph more independent of current cursor
3921 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3923 * text2.C: remove unneeded members
3925 2003-07-30 André Pönitz <poenitz@gmx.net>
3927 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3929 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3930 create a single function...
3932 * paragraph_funcs.C (moveItem): ... here.
3935 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3939 * LColor.[Ch]: Add comment and greyedout logical colors.
3941 2003-07-30 André Pönitz <poenitz@gmx.net>
3943 * tabular.C: don't use Assert too heavily. This crashes where it
3946 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3948 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3949 is disabled (bug 1232)
3951 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3953 * factory.C: limited 'arg' scope
3955 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3957 * factory.C: fixed Note submenu issues
3959 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3961 * factory.C: submenu for Note/Comment/Greyedout
3963 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3966 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3968 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3971 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3972 greyedout. Patch provided by Jürgen Spitzmüller.
3974 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3976 * kbmap.C (read): fix error message when reading bind files
3978 2003-07-29 Angus Leeming <leeming@lyx.org>
3980 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3981 certainly does not do what it purports to do. I am doing it, and
3982 us, a favour by killing it.
3984 2003-07-28 José Matos <jamatos@lyx.org>
3986 * buffer.C (readBody, do_writeFile):
3987 * paragraph.C(readParagraph): \end_document replaces \the_end.
3989 2003-07-29 André Pönitz <poenitz@gmx.net>
3992 * BufferView_pimpl.[Ch]:
3996 * textcursor.[Ch]: remove toggleToggle & Co
3998 2003-07-28 José Matos <jamatos@fep.up.pt>
4000 * buffer.C (readParagraph):
4001 * params_func (readParToken, readParagraph):
4002 * paragraph.C (write): \layout -> \begin_layout.
4004 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * lyxlex_pimpl.C (setFile): clean up slightly.
4008 * bufferparams.h: add compressed var
4010 * buffer_funcs.C (readFile): adjust for LyXLex change
4011 (newFile): ditto + simplify
4013 * buffer.C (writeFile): handle writing of compressed files
4015 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4016 Check if the file is compressed and set a bufferparm if so.
4018 * Makefile.am (lyx_LDADD): remove explicit -lz
4020 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4022 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4023 makeDocBookFile): put the real LyX version in the first line of
4027 * version.C.in: remove lyx_docversion
4029 * tabular.C (write_attribute): add a template-based version to
4030 write enums properly
4032 2003-07-28 André Pönitz <poenitz@gmx.net>
4037 * text3.C: use doubles again for x-coordinates. They are needed.
4039 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * messages.C (getLocaleDir): use lyx_localedir()
4043 * lyxlex_pimpl.C (setFile): compress stuff
4045 * buffer.C (writeFile): add some compression stuff
4046 (do_writeFile): new func, dont call expliti close... will this
4049 * Makefile.am (lyx_LDADD): add -lz
4051 2003-07-28 José Matos <jamatos@fep.up.pt>
4053 * buffer.C: increment file format.
4054 * paragraph_funcs (readParagraph, readParToken):
4055 * paragraph.C (readParagraph): add \end_layout.
4057 2003-07-27 Angus Leeming <leeming@lyx.org>
4059 * Makefile.am: remove special casing for configure-time setting of
4060 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4062 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4063 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4065 2003-07-26 André Pönitz <poenitz@gmx.net>
4067 * paragraph_func.[Ch]:
4068 * paragraph.C (realizeFont): inline it whereever it is used
4073 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4076 2003-07-26 André Pönitz <poenitz@gmx.net>
4080 * text2.C: get rid of LyXText::need_break_row
4082 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4084 * toc.[Ch]: put namespace toc inside namespace lyx
4086 * MenuBackend.C (expandToc2): adjust for lyx::toc
4089 * lyxfunc.C (dispatch): adjust for lyx::find
4091 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4092 lyx::find instead. Reorganize a bit.
4093 (LyXReplace): rename to replace
4094 (LyXFind): rename to find
4096 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4099 2003-07-26 André Pönitz <poenitz@gmx.net>
4101 * text.C (setHeightOfRow): restrict scope of temporary variable
4103 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4104 code (never has been used?)
4106 2003-07-27 Asger Alstrup <alstrup@local>
4108 * text.C (fill): Optimise algorithm to exploit that we can reuse
4109 the LyXFont for many characters.
4110 (setHeightOfRow): Same thing.
4111 (rowBreakPoint): Same thing.
4113 2003-07-26 Asger Alstrup <alstrup@local>
4115 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4117 * text.C (singleWidth): Spurious font copying in hot-spot
4118 singleWidth avoided. Reorder tests for arabic for efficiency.
4120 * text.C (fill): handle empty paragraphs better.
4122 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4125 * encoding.h: add includes
4127 * lyxrc.C: remove reading of bind files
4129 * lyx_main.C (init): setup bindings and menus only if we have a
4132 * kbmap.C (read): new method. Do the actual reading of bind
4135 * converter.C (dvipdfm_options):
4138 (output): adapt PAPER_* enums.
4140 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4142 * bufferparams.h: remove paper-related enums from there
4144 * paper.h: New file. A trivial header file to hold paper-related
4145 enums. It should later expand to contain many paper-related
4148 * lyxrc.C: declare extern displayTranslator
4150 2003-07-27 José Matos <jamatos@fep.up.pt>
4152 * tabular.[Ch] (linuxdoc): add support for tables and figures
4155 2003-07-27 José Matos <jamatos@fep.up.pt>
4157 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4158 consistency in both functions.
4159 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4161 2003-07-26 Asger Alstrup <alstrup@local>
4163 * rowpainter.C (paintRows): Change algorithm to work directly on
4164 the insets rather than asking every character in the document
4165 whether its an inset.
4167 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4169 * buffer.C (openFileWrite): factorize some code
4171 2003-07-26 Angus Leeming <leeming@lyx.org>
4174 * lyx_main.[Ch]: replace occurances of system_tempdir with
4177 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * rename Inset to InsetOld
4181 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4183 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4184 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4185 which I think is a bit clearer. EDIT is gone, since it was
4186 premature optimisation, and broken for mathed anyway.
4187 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4188 with cursor positioning in insets as well (math insets still do not
4189 work, but that's a different story anyway.) It mysteriously
4190 crashes sometimes with undo in the first paragraph, but I'm fairly
4191 confident that this is a compiler bug.
4193 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * paragraph.C (Paragraph): adjust for new clone return type
4197 (copyIntoMinibuffer): ditto
4199 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4201 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4202 by not having a special case, and always doing a full rebreak of
4203 the document after undo.
4205 2003-07-23 Angus Leeming <leeming@lyx.org>
4207 * factory.C (createInset): InsetExternal::setParams now takes a
4210 2003-07-23 Angus Leeming <leeming@lyx.org>
4212 * factory.C (createInset): changed interface to the external and
4213 graphics mailers' string2params functions.
4215 2003-07-23 Angus Leeming <leeming@lyx.org>
4217 * factory.C (createInset): pass a
4218 Buffer const * parameter to InsetExternalMailer's string2params.
4220 2003-07-22 John Levon <levon@movementarian.org>
4222 * Thesaurus.h: include the right aiksaurus header
4224 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4226 * MenuBackend.C (expand): check menu shortcuts unconditionally
4228 2003-07-21 Angus Leeming <leeming@lyx.org>
4230 * factory.C (createInset): pass a
4231 buffer_path parameter to InsetGraphicsMailer's string2params.
4233 2003-07-21 Angus Leeming <leeming@lyx.org>
4235 * BufferView_pimpl.C (buffer):
4238 * lyxfunc.C (dispatch):
4239 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4240 rather than the grfx shortcut.
4242 2003-07-21 André Pönitz <poenitz@gmx.net>
4244 * rowpainter.C: remove unused variables
4247 * tabular_funcs.h: move to tabular.C
4248 * Makefile.am: adjust
4250 * tabular.[Ch]: basic optical cleaning
4252 * author.h: pass references, not values
4254 2003-07-18 André Pönitz <poenitz@gmx.net>
4262 * text3.C: two-phase drawing for InsetText and InsetTabular
4263 some float -> int changes.
4265 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4267 * lyx_main.C: fix the fix
4269 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4271 * lyx_main.C: fix a crash in batch mode if no files specified
4274 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4276 * format.[Ch] (papersize): moved to BufferParams
4277 * converter.[Ch] (dvips_options): moved to BufferParams
4278 (dvipdfm_options): moved to anon namespace
4279 * bufferparams.[Ch]: added above functions.
4281 2003-07-17 André Pönitz <poenitz@gmx.net>
4285 * text2.C: don't call inset->update() anymore
4287 * metricsinfo.[Ch]: add convenience constructor
4289 2003-07-16 André Pönitz <poenitz@gmx.net>
4294 * text2.C: replace the LyXCursor::irow_ member with
4295 on-demand computation of the value
4297 2003-07-16 John Levon <levon@movementarian.org>
4299 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4301 2003-07-15 André Pönitz <poenitz@gmx.net>
4304 * text2.C: remove no more needed refresh_row
4306 2003-07-15 André Pönitz <poenitz@gmx.net>
4311 * text3.C: refresh_status tristate -> need_update bool
4313 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4315 * lyxtext.h (init): remove reinit argument (act as if always true)
4316 * text2.C: adjust to that
4318 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4320 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4321 * text3.C: use it to delete selections in some cases
4322 (bugs 441, 673, 702, 954).
4324 2003-07-14 André Pönitz <poenitz@gmx.net>
4326 * rowpainter.[Ch]: reduce interface
4328 2003-07-14 André Pönitz <poenitz@gmx.net>
4330 * BufferView_pimpl.C:
4331 * text2.C: adjust after removing unused BufferView * argument
4333 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4335 * text2.C (init): fix a crash fired on resize
4337 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4339 * buffer.[Ch]: added new closing signal
4340 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4341 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4342 BufferView::Pimpl via the closing the signal
4344 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4346 * buffer.[Ch]: take out all bv-related from buffer
4348 * BufferView_pimpl.[Ch]: connect to new signals
4349 * CutAndPaste.C: removed useless asserts
4350 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4353 * lyxfunc.C: moved view-related funciontality from vc here
4354 * paragraph.C: removed outdated comments
4357 2003-07-10 André Pönitz <poenitz@gmx.net>
4359 * BufferView_pimpl.C:
4363 * text2.C: remove InsetText::InnerCache, clean up consequences
4365 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4367 * ispell.C: fix two typos in error messages
4369 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4371 * Extend Note inset to other forms of annotation like Comment
4372 and Greyedout. Right button click gives dialog.
4374 Files modified or added (+):
4378 * ControlNote.[Ch] +
4380 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4381 frontends/controllers
4385 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4387 * aspell.C: add missing namespace lyx::support
4389 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4391 * BufferView.[Ch] (newFile): Add
4392 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4393 * LaTeX.[Ch] (message): added this signal and use it
4394 * buffer.[Ch] (busy, message): added these signals and use them
4395 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4399 * importer.C: use buffer signals instead of direct bv calling
4400 * lyx_cb.[Ch] (ShowMessage): removed
4403 * paragraph_funcs.C:
4404 * text2.C: use buffer signals
4406 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * introduce namespace lyx::graphics
4410 2003-07-02 André Pönitz <poenitz@gmx.net>
4412 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4414 2003-07-01 André Pönitz <poenitz@gmx.net>
4421 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4422 text*.C to text_func.C
4424 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * introduce namespace lyx::support
4428 2003-06-30 André Pönitz <poenitz@gmx.net>
4433 * text.C: re-enable --with-included-string
4435 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * textcursor.C: add <config.h>
4439 * text.C (getWord): remove const from word_location arg
4441 * lyxvc.C (getLogFile): fix const type order
4443 * lyxtext.h: remove const from word_location arg, add arg name
4445 * lyxlayout.h: currect type on labeltype.
4447 * importer.C: correct \file
4449 * converter.C (intToFormat): use std:: on ret val, ws changes
4451 * bufferlist.h: correct \file
4453 * buffer.C (makeLinuxDocFile): fix const type order
4454 (makeDocBookFile): ditto
4455 (fillWithBibKeys): use std:: on stdlib args.
4457 * CutAndPaste.C: fix authors.
4458 (availableSelections): use std:: on return vector
4460 2003-06-27 André Pönitz <poenitz@gmx.net>
4462 * BufferView_pimpl.C:
4463 * bufferview_funcs.C:
4471 * text3.C: remove LyXCursor::row_ member
4474 * text.C: rename fullRebreak() to partialRebreak() and implement
4475 a fullRebreak() that really bereks fully
4477 * textcursor.h: new struct for cursor-related data
4479 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4481 * lyx_main.C (LyX): get full path of document loaded on the
4484 2003-06-26 André Pönitz <poenitz@gmx.net>
4486 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4487 remove unused/broken operator>,<,>=.
4489 * text.C: remove only use of broken operator<= in an Assert().
4491 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4493 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4494 moved errorlist_.clear to showErrorList
4496 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4498 * converter.C (scanLog, runLaTeX):
4499 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4500 move the bv->showErrorList call to the callers
4501 * lyxfunc.C: i.e. here...
4503 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4504 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4505 namespace, the second to...
4506 * buffer_funcs (BufferFormat, parseErrors): added
4507 * errorlist.C (ErrorList(TeXErrors const &)): removed
4509 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4511 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4513 2003-06-24 "Garst R. Reese" <reese@isn.net>
4517 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4519 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4521 * version.C.in: change docversion to 1.4
4523 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4525 * buffer.C: fix a bug just introduced
4527 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4529 * buffer.[Ch]: added the parseError signal and use it, removed
4531 * BufferView.[Ch] (addError): moved to ...
4532 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4533 to the Buffer::parseError signal to catch (guess what) parse errors
4534 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4536 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4538 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4539 ability to create a buffer and to return an existing one from
4540 the list. Moved these functions to...
4541 * buffer_funcs.[Ch]: added
4542 * BufferView.[Ch] (loadLyXFile): added
4543 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4544 job removed from bufferlist::loadLyXFile.
4545 * buffer.C (setReadOnly): make it work without view
4546 (i.e added an if (users))
4548 2003-06-19 Angus Leeming <leeming@lyx.org>
4551 * LyXAction.C (init):
4552 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4553 with LFUN_DIALOG_SHOW <name> <data>.
4555 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4557 * CutAndPaste.C (availableSelections): small compilation fix for
4558 ancient (gcc 2.9x) compilers
4560 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * text3.C (cursorNext): add tmp var
4564 * text2.C (updateCounters): for function calling out of for clause
4565 (replaceSelectionWithString): ditto
4566 (insertStringAsParagraphs): ditto
4567 (getColumnNearX): add tmp var
4568 (setCursorFromCoordinates): add tmp var
4569 (cursorDownParagraph): add tmp var
4570 (deleteEmptyParagraphMechanism): add tmp var
4572 * text.C (insertChar): add tmp var
4574 * rowpainter.C (paintDepthBar): add tmp var
4576 * CutAndPaste.C (availableSelections): potentially check all
4577 paragraphs in a cut to fill the shown strings.
4579 2003-06-18 André Pönitz <poenitz@gmx.net>
4581 * kbmap.[Ch]: use vector<> instead of list<>
4583 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4585 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4586 pasteSelection with index
4588 * text2.C (pasteSelection): modify, call pasteSelection with index
4590 * paragraph.C (asString): reimplement version with no interval to
4591 call the one with interval.
4593 * lyxtext.h: add index arg to pasteSelection
4595 * MenuBackend.C (MenuItem): handle PasteRecent
4596 (Menu::read::Menutags): add md_pasterecent
4598 (expandPasteRecent): new function
4601 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4603 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4605 (availableSelections): new function
4607 2003-06-17 Angus Leeming <leeming@lyx.org>
4609 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4611 2003-06-17 Angus Leeming <leeming@lyx.org>
4614 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4616 * lyxfunc.C (dispatch): invoke it.
4618 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4620 * iterators.C (operator++, ParPosition): reintroduce some
4621 const_cast for the benefit of older compilers.
4623 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4625 * text3.C (dispatch): do not modify clipboard when doing
4626 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4627 LFUN_DELETE_SKIP on a selection selection
4629 2003-06-16 André Pönitz <poenitz@gmx.net>
4635 * tabular.[Ch]: IU of clone() and getLabelList();
4637 2003-06-13 André Pönitz <poenitz@gmx.net>
4639 * tabular.h: compactification
4641 2003-06-12 André Pönitz <poenitz@gmx.net>
4645 * tabular_funcs.h: some renaming plus whitespace
4647 2003-06-12 André Pönitz <poenitz@gmx.net>
4650 * BufferView_pimpl.C:
4656 * toc.C: Return a Paragraph & for ParIterator::operator*()
4658 2003-06-11 John Levon <levon@movementarian.org>
4662 * ToolbarBackend.C: add "Toolbars" section and
4665 2003-06-10 Angus Leeming <leeming@lyx.org>
4668 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4670 * lyxfunc.C (dispatch): invoke it.
4672 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * main.C: protect <ios> with HAVE_IOS
4675 (main): protect sync_with_stdio with HAVE_IOS
4677 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4679 * text2.C (cutSelection): adjust
4680 (pasteSelection): adjust
4682 * messages.C: handle get of empty string
4684 * main.C (main): use sync_with_stdio(false)
4686 * lyxfunc.C (dispatch): adjust
4688 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4689 (WriteAs): remove unneeded BufferView arg.
4691 * bufferparams.h: use correct types on papersize, papersize2 and
4694 * bufferparams.C (readToken): adjust for type
4695 (writeLaTeX): add missing cases to switch.
4697 * bufferlist.C (quitWriteBuffer): adjust
4700 * buffer.C (asciiParagraph): remove some commented code.
4702 * CutAndPaste.C: remove current_view extern variable.
4703 (cutSelection): add BufferParams arg.
4704 (eraseSelection): add BufferParams arg.
4705 (pasteSelection): add Buffer const & arg
4707 2003-06-07 John Levon <levon@movementarian.org>
4710 * paragraph_funcs.C:
4711 * paragraph_pimpl.C:
4715 * paragraph.C: allow InsetERT to freely space lines,
4716 and some consolidation of code
4718 2003-06-06 José Matos <jamatos@fep.up.pt>
4720 * buffer.C (makeDocBookFile): fix bug #821
4722 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4724 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4726 2003-06-04 Angus Leeming <leeming@lyx.org>
4728 * buffer.C: bump format to 224.
4730 2003-06-05 André Pönitz <poenitz@gmx.net>
4732 * text2.C (redoParagraphs): remove two const_cast<>
4734 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4736 * ParagraphList.h: remove last remnants of NO_STD_LIST
4738 2003-06-03 Angus Leeming <leeming@lyx.org>
4740 * factory.C (createInset): small change to the way InsetExternal's params
4743 2003-06-04 André Pönitz <poenitz@gmx.net>
4745 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4747 * paragraph_pimpl.h:
4748 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4750 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4752 * undo_funcs.C: make some simple cases of undo work again
4754 2003-06-03 John Levon <levon@movementarian.org>
4756 * ispell.C: HPUX doesn't have sys/select.h
4759 2003-06-03 John Levon <levon@movementarian.org>
4761 * CutAndPaste.C: update tabular and include inset
4766 * paragraph.C: remove owningBuffer(), don't pass Buffer
4769 * factory.C: insetGraphicsParams changed
4771 2003-06-02 John Levon <levon@movementarian.org>
4777 * text3.C: remove insetparent
4779 2003-06-02 John Levon <levon@movementarian.org>
4782 * buffer.C: fix inset_iterator.end(), move out of line
4785 2003-06-01 John Levon <levon@movementarian.org>
4787 * text3.C: use a proper cut/paste when doing inset
4788 insert (from Jürgen Spitzmüller)
4790 2003-06-01 John Levon <levon@movementarian.org>
4792 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4794 2003-05-30 André Pönitz <poenitz@gmx.net>
4796 * rowpainter.C: unify second drawing phase
4798 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * trans_mgr.C: remove one case of current_view
4802 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4804 * paragraph_funcs.h: remove paragraph.h include
4806 * paragraph.h: delete NO_STD_LIST stuff
4808 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4810 * buffer.h: remove paragraph.h include
4812 * ParagraphList.C: delete file
4814 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4816 * toc.C (getTocList): adjust
4818 * paragraph_pimpl.C (validate): adjust
4820 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4822 * paragraph.C (Paragraph): adjust
4823 (getPositionOfInset): use const_iterator, adjust
4824 (bibitem): use const_iterator, adjust
4825 (setInsetOwner): adjust
4827 * iterators.C (operator++): adjust
4829 * InsetList.[Ch]: Replace selfmade iterator with standard
4830 vector::iterator also introduce const_iterator. Remove getPos,
4831 getInset and setInset from InsetTable. Adjust accordingly.
4833 * BufferView.C (lockInset): adjust
4834 (ChangeInsets): adjust
4836 * tabular.[Ch]: delete commented same_id functions
4838 2003-05-28 John Levon <levon@movementarian.org>
4840 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4842 2003-05-28 André Pönitz <poenitz@gmx.net>
4844 * metricsinfo.[Ch]: remove 'fullredraw' member
4846 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4848 * lyxtextclass.C (operator): remove caching.
4850 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * text2.C (cursorBottom): adjust
4855 (setCounter): use ParagraphList::find, adjust
4857 * text.C (workWidth): use ParagraphList::find, adjust
4859 * lyxcursor.C (LyXCursor): adjust
4861 * buffer.C (inset_iterator): adjust
4863 * ParagraphList.h: make iterator(value_type) private, make
4864 ParagraphList a friend of iterator.
4866 * ParagraphList.C (find): new function
4868 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4870 2003-05-27 André Pönitz <poenitz@gmx.net>
4872 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4874 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4876 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4878 2003-05-26 John Levon <levon@movementarian.org>
4880 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4882 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * remove same_id from function signatures, adjust.
4886 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4890 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4892 * paragraph.C (Paragraph): get rid of same_ids parameter
4894 * ParagraphList.C (insert): adjust
4897 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * paragraph_funcs.C (breakParagraph): adjust
4900 (breakParagraphConservative): adjust
4902 * buffer.C (readParagraph): adjust
4904 * ParagraphList.C (insert): take a reference instead of a pointer
4907 * paragraph.[Ch] (id): new function
4909 * bufferlist.C (newFile): adjust
4911 * ParagraphList.C (ParagraphList): adjust
4913 (push_back): take a reference instead of a pointer.
4915 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4917 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4920 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4921 set else use old code.
4923 * ParagraphList.C: remove all NO_NEXT code and only compile this
4924 code of NO_STD_LIST is set.
4926 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4928 * BufferView_pimpl.C:
4938 * graphics/GraphicsConverter.C:
4939 * graphics/PreviewLoader.C: header adjustment
4941 2003-05-23 Angus Leeming <leeming@lyx.org>
4943 * LaTeXFeatures.[Ch] (useBabel): new method.
4944 * bufferparams.C (writeLaTeX): use it.
4946 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4948 * ParagraphList.h (set): remove unused function.
4950 2003-05-23 André Pönitz <poenitz@gmx.net>
4953 * BufferView_pimpl.C:
4957 * undo_funcs.C: setUndo reworked
4959 * iterators.[Ch]: add access to topmost ParagraphList
4961 * lyxtext.[Ch] (workWidth): add a const
4963 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4965 * texrow.[Ch] (increasePos): remove function
4966 * exporter.C (export): removed unused var and outdated comment
4968 2003-05-23 Angus Leeming <leeming@lyx.org>
4970 * latexrunparams.h: rename fragile as moving_arg.
4971 * paragraph.C (simpleTeXOnePar): ditto.
4972 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4974 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4978 (textUndoOrRedo): comment out a currently unused var.
4980 * paragraph.h (NO_NEXT): enable NO_NEXT
4982 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4984 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4986 * exporter.C (Export): adjust for removeAutoInsets removal.
4988 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4990 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4992 * BufferView.[Ch] (removeAutoInsets): delete function
4994 2003-05-22 Angus Leeming <leeming@lyx.org>
4996 * latexrunparams.h: add a free_spacing variable.
4998 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4999 to pass moving_arg, as the data is stored in runparams.fragile.
5001 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5002 to Inset::latexOptional or to simpleTeXOnePar.
5004 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5005 free_spacing arg to Inset::latexOptional.
5007 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5010 2003-05-22 Angus Leeming <leeming@lyx.org>
5012 * latexrunparams.h: add fragile and use_babel variables.
5014 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5015 * buffer.C (makeLaTeXFile): store this returned value in
5016 runparams.use_babel, thus passing it to the inset::latex methods.
5018 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5019 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5021 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5022 longer has a fragile arg, as it is stored in runparams.fragile.
5024 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5025 moving_arg parameter as the data is stored in runparams.fragile.
5027 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5028 a fragile parameter as the data is stored in runparams.fragile.
5030 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5034 2003-05-22 Angus Leeming <leeming@lyx.org>
5036 * latexrunparams.h: add a 'bool nice' which defaults to false.
5038 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5039 now encapsulated within runparams.
5041 * bufferlist.C (updateIncludedTeXfiles):
5042 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5044 2003-05-22 Angus Leeming <leeming@lyx.org>
5046 * latexrunparams.h: new file containing struct LatexRunParams.
5047 * Makefile.am: add new file.
5049 * LaTeX.[Ch] (c-tor, run):
5050 * buffer.[Ch] (makeLaTeXFile):
5051 * bufferlist.[Ch] (updateIncludedTeXfiles):
5052 * converter.C (convert, scanLog):
5053 * converter.[Ch] (runLaTeX):
5054 * exporter.C (Export):
5055 * paragraph.[Ch] (simpleTeXOnePar):
5056 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5057 * paragraph_funcs.[Ch] (latexParagraphs):
5058 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5059 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5060 pass around a LatexRunParams parameter.
5062 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * paragraph.[Ch]: remove unused constructor
5066 * ParagraphList.C (erase): new function, taking two iterators
5068 2003-05-22 André Pönitz <poenitz@gmx.net>
5070 * undo_funcs.C: remove duplicated code
5072 * iterator.[Ch]: operator=
5074 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5076 * tabular.C (SetMultiColumn): ws changes
5078 * rowpainter.C (paintFirst): get rid of a ->previous
5080 * lyx_cb.C (getPossibleLabel): parlist simplification
5082 * BufferView.C (ChangeInsets): simplify slightly.
5084 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5086 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5087 * lfuns.h: new LFUN_SPACE
5088 * lyxfunc.C: protected space has a new lfun
5089 * paragraph_funcs.C: read new space insets
5091 * factory.C: handle new space insets
5093 2003-05-22 André Pönitz <poenitz@gmx.net>
5096 * BufferView_pimpl.C:
5099 * undo_funcs.C: return a ParIterator from getParFromID.
5101 * iterators.[Ch]: add two const's
5103 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * toc.C (getTocList): adjust
5107 * iterators.[Ch]: rework for parlist
5109 * buffer.C (par_iterator_begin): adjust
5110 (par_iterator_end): adjust
5112 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5114 * BufferView.C (removeAutoInsets): adjust
5115 (ChangeInsets): adjust
5117 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5119 * text.C (top_y): fix bug 1110
5121 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5123 * errorlist.[Ch]: added
5126 * BufferView_pimpl.C:
5127 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5130 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * Makefile.am: ensure that lyx is relinked upon changes to the
5133 various "convenience" libs.
5135 2003-05-20 Angus Leeming <leeming@lyx.org>
5137 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5138 files are compiled in alphabetical order again.
5140 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5142 2003-05-19 Angus Leeming <leeming@lyx.org>
5144 * gettext.[Ch]: remove "char const * _(char const *)".
5146 2003-05-19 André Pönitz <poenitz@gmx.net>
5148 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5157 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5159 2003-05-19 André Pönitz <poenitz@gmx.net>
5163 * lyxtextclass.[Ch]:
5165 * paragraph_funcs.[Ch]:
5167 * text3.C: more insetenv work
5169 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5171 * ParagraphParameters.C (params2string): small bug fixed
5173 2003-05-16 André Pönitz <poenitz@gmx.net>
5176 * bufferview_funcs.C: patch from Kornel Benko to prevent
5177 crash when _(...) is called twice in a statement
5179 2003-05-16 André Pönitz <poenitz@gmx.net>
5186 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5188 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5190 * lyx_main.C (init): remove spurious static_cast
5192 2003-05-14 André Pönitz <poenitz@gmx.net>
5194 * BufferView.C: fix format string
5196 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5198 * BufferView.[Ch] (insertErrors): removed
5199 * BufferView.[Ch] (showErrorList): added
5200 * buffer.C (runChkTeX):
5201 * converter.C (scanLog): call showErrorList instead of inserterrors
5203 2003-05-13 André Pönitz <poenitz@gmx.net>
5205 * BufferView_pimpl.C:
5207 * bufferview_func.C:
5214 * tabular_funcs.h: tostr() from its own header
5216 * ParagraphParameters.C:
5221 * text3.C: STRCONV()
5223 2003-05-12 André Pönitz <poenitz@gmx.net>
5226 * BufferView_pimpl.C:
5230 * ParagraphParameters.C:
5234 * bufferview_funcs.C:
5247 * paragraph_funcs.C:
5251 * text3.C: boost::format -> bformat all over the place
5254 2003-05-09 André Pönitz <poenitz@gmx.net>
5256 * LColor.[Ch]: Pimpl the #include <map> away
5258 2003-05-09 John Levon <levon@movementarian.org>
5260 * bufferlist.C: never remove emergency saves
5262 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * Makefile.am: better lib building
5266 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5270 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5271 (simpleTeXSpecialChars): adjust
5272 (simpleTeXSpecialChars): adjust
5273 * paragraph.C (simpleTeXOnePar): adjust
5274 * buffer.C (makeLaTeXFile): adjust
5276 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5278 * text2.C (changeDepth): parlist cleanup
5279 (getColumnNearX): ditto
5281 * rowpainter.C (getLabelFont): parlist cleanup
5283 * bufferlist.C (newFile): parlist cleanup
5285 * CutAndPaste.C (eraseSelection): parlist cleanup
5287 * BufferView_pimpl.C (trackChanges): parlist cleanup
5290 * BufferView.C (lockInset): parlist cleanup.
5291 (ChangeInsets): ditto
5293 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5295 * CutAndPaste.h: Update file header.
5297 * CutAndPaste.C: Update file header.
5298 Store the parts cut out of the Document in a limited_stack.
5299 (copySelection): adjust
5300 (pasteSelection): new function, takes the index in the limited stack.
5301 (nrOfParagraphs): adjust
5302 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5303 simplify error inset insertion.
5304 (checkPastePossible): adjust
5306 2003-05-06 John Levon <levon@movementarian.org>
5308 * text2.C: don't cast wrap inset to float
5310 2003-05-05 André Pönitz <poenitz@gmx.net>
5313 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5315 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5316 few naked Paragraph *.
5318 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5320 * bufferparams.C: Output warning if a document with missing
5321 TeX document class is loaded
5322 * exporter.C: Disable TeX exports if the document class is missing
5325 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5326 isTeXClassAvailable()
5328 2003-05-03 John Levon <levon@movementarian.org>
5331 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5332 explicit cursor show/hide
5334 * BufferView_pimpl.h:
5335 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5336 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5338 * lyxfunc.C: hide cursor before dispatching.
5343 * text3.C: remove explicit cursor hides
5345 2003-05-02 André Pönitz <poenitz@gmx.net>
5347 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5350 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5353 * text2.C: tiny whitespace
5355 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * undo_funcs.C: almost only ws changes.
5359 * ParagraphList.C (splice): just return if pl is empty.
5361 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * ParagraphList.C (splice): new function.
5365 * CutAndPaste.C (pasteSelection): use it
5367 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * CutAndPaste.C (pasteSelection): remove the last next and
5370 previous from this file.
5372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * CutAndPaste.C (pasteSelection): more clean up, user proper
5375 ParagraphList functions for pasteing.
5377 * ParagraphList.C (insert): new function, three arg insert
5379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * ParagraphList.C (insert): new function, three arg insert
5383 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5386 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5390 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5392 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5394 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5397 (copySelection): clean up a bit.
5398 (pasteSelection): use make_pair
5400 * ParagraphList.C (ParagraphList): implement copy constructor
5401 (operator=): implement, base on copy constructor.
5404 * paragraph.C (erase): return a bool
5406 * paragraph_pimpl.C (erasePos): remove function, move contents...
5407 (erase): ... here. Return a bool.
5408 (erase): call erase instead of erasePos.
5410 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5412 * ParagraphList.h: define PitPosPair
5413 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5414 ParagraphList, fix a bug on pasting multiple pars
5415 * text2.C: change interface to C&P
5417 2003-04-30 André Pönitz <poenitz@gmx.net>
5419 * undo_func.C: revert part of yesterday's patch 2
5421 2003-04-30 John Levon <levon@movementarian.org>
5423 * LColor.C: s/tabular/table/
5425 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * text3.C (dispatch): do not convert iterator -> pointer
5428 * undo_funcs.C (setCursorParUndo): ditto
5429 * text_funcs.C (transposeChars): ditto
5431 * text2.C (setLayout): ws changes only
5433 * text.C (breakParagraph): do not convert iterator -> pointer
5435 (acceptChange): ditto
5436 (rejectChange): ditto
5441 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5444 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5446 * text3.C (gotoInset): YABG (yet another bad getChar)
5448 2003-04-29 André Pönitz <poenitz@gmx.net>
5450 * paragraph.h: make operator= private unimplemented as long as
5453 * ParagraphList.C: whitespace
5456 * paragraph_pimpl.[Ch]:
5457 * paragraph_funcs.C:
5459 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5462 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5464 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5466 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5467 * paragraph.[Ch] (erase):
5468 * paragraph_pimpl.[Ch] (erase): change return type and value
5469 * text2.C (cutSelection): some rework
5471 2003-04-28 John Levon <levon@movementarian.org>
5473 * bufferlist.C: changes for unsaved changes dialog
5475 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * bufferlist.C (newFile): set language (messages_) for new
5480 * buffer.C (readFile): ws changes only.
5482 2003-04-28 André Pönitz <poenitz@gmx.net>
5487 * BufferView_pimpl.C:
5488 * BufferView.C: getParFromID related ParagraphList::iterator changes
5490 2003-04-28 André Pönitz <poenitz@gmx.net>
5492 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5495 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * messages.C: remove one more localedir class variable.
5499 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5501 * messages.C (getLocaleDir): singleton generation function
5503 (Messages): add a default constructor.
5505 * main.C (main): do not setup localedir here, do not call
5508 * gettext.C (_): use it.
5509 (gettext_init): delete funciton
5511 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * gettext.C (getLyXMessages): new singleton generating function.
5515 * buffer.C (updateDocLang): adjust
5517 * Makefile.am (messages.o): add target
5518 (main.o): remove target
5520 2003-04-27 John Levon <levon@movementarian.org>
5525 * lyxvc.C: specify cancel button in Alert::prompt
5527 2003-04-26 John Levon <levon@movementarian.org>
5532 * LyXAction.C: add LFUN_INSET_SETTINGS
5534 * lyxfunc.C: don't enable tabular-feature when there's
5535 just any locking inset
5537 2003-04-26 John Levon <levon@movementarian.org>
5539 * bufferlist.C: re-add Cancel to buffer close question
5541 * lyxfunc.C: fix import UI a bit
5543 2003-04-25 John Levon <levon@movementarian.org>
5545 * gettext.C: remove the broken asserts for now
5547 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5549 * messages.C: make case where setlocale cannot comply work better.
5551 * buffer.C (updateDocLang): new function
5552 (changeLanguage): use it
5555 * text2.C (setCounter): use B_ a bit.
5557 * lyxlayout.C (Read): be sure to trim the label strings.
5559 * messages.C (Messages): fix typo in comment
5561 * buffer.C (readFile): set message_ after file is loaded.
5562 (makeDocBookFile): remove double return
5563 (changeLanguage): reset message_ upon language change.
5564 (B_): new func, use this to get translated buffer strings.
5566 * main.C: add myself and Jean Marc as authors.
5568 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * messages.[hC]: pimplify Messages, and three different pimpls to be
5571 used in different circumstances.
5573 * gettext.[Ch]: change for use with new message code.
5575 2003-04-24 André Pönitz <poenitz@gmx.net>
5577 * factory.C: support for eqref
5579 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * messages.[Ch]: add missing char
5583 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5585 * messages.[Ch]: New files
5587 2003-04-18 John Levon <levon@movementarian.org>
5591 * BufferView_pimpl.C:
5595 * text2.C: remove layout-copy/paste (bug 778)
5597 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5599 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5601 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5603 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5604 if they succeed. Act accordingly.
5606 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * text2.C (setCharFont): adjust
5609 (setCounter): adjust
5610 (insertStringAsLines): adjust
5612 * text.C (leftMargin): adjust
5613 (setHeightOfRow): adjust
5615 * rowpainter.C (paintFirst): adjust
5618 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5620 (isFirstInSequence): ditto
5621 (getEndLabel): ditto
5624 * paragraph.C (getParLanguage): comment out some hard stuff.
5626 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5628 (simpleDocBookOnePar): ditto
5629 (makeDocBookFile): use ParagraphList::iterator
5631 * CutAndPaste.C (pasteSelection): adjust
5633 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * text2.C (getFont): adjust
5636 (getLayoutFont): adjust
5637 (getLabelFont): adjust
5639 * paragraph_funcs.C (TeXOnePar): adjust
5641 * buffer.C (simpleLinuxDocOnePar): adjust
5642 (simpleDocBookOnePar): adjust
5644 * CutAndPaste.C (pasteSelection): adjust
5646 * BufferView.C (getEncoding): adjust
5648 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5650 2003-04-16 John Levon <levon@movementarian.org>
5652 * lyxfind.C: use parlist stuff for search/changes
5654 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5658 * text2.C (deleteEmptyParagraphMechanism): adjust
5660 * text2.[Ch] (ownerParagraph): delete func (both of them
5662 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5666 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * ParagraphList.C: prepare for NO_NEXT
5670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * text2.C (getFont): adjust
5673 (getLayoutFont): adjust
5674 (getLabelFont): adjust
5676 * paragraph.C (getFont): adjust
5677 (getLabelFont): adjust
5678 (getLayoutFont): adjust
5680 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5682 2003-04-15 John Levon <levon@movementarian.org>
5686 * lyx_main.C: handle Include in .ui files
5688 2003-04-15 John Levon <levon@movementarian.org>
5690 * MenuBackend.C: make the doc files length shorter
5693 * ToolbarBackend.C: handle toolbar placement flags,
5696 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5701 * paragraph_funcs.C (TeXOnePar): adjust
5703 * paragraph.C (getLabelFont): add outerfont arg, adjust
5704 (getLayoutFont): ditto
5705 (simpleTeXOnePar): adjust
5707 * paragraph_pimpl.C (realizeFont): delete func
5709 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5711 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5712 row argument, constify cur argument.
5714 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * text2.C (getFont): adjust
5717 (getLayoutFont): adjust
5718 (getLabelFont): adjust
5720 * paragraph_funcs.C (TeXOnePar): adjust
5721 (outerFont): new func...
5722 (realizeFont): ...moved out from here, changed this to facilitate
5725 * paragraph.C (getFont): take outerfont as arg, adjust
5726 (simpleTeXOnePar): add outerfont arg, adjust
5728 * buffer.C (simpleLinuxDocOnePar): adjust
5729 (simpleDocBookOnePar): adjust
5731 * CutAndPaste.C (pasteSelection): adjust
5733 * BufferView.C (getEncoding): adjust
5735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * text2.C (setCharFont): adjust
5738 (setCounter): adjust
5740 * text.C (leftMargin): adjust
5741 (setHeightOfRow): adjust
5743 * rowpainter.C (paintFirst): adjust
5746 * paragraph_pimpl.C (realizeFont): adjust
5748 * paragraph.C (isFirstInSequence): move from here...
5749 * paragraph_funcs.C (isFirstInSequence): ...to here
5751 * paragraph.C (outerHook): move from here...
5752 * paragraph_funcs.C (outerHook): ...to here
5754 * paragraph.C (depthHook): move from here...
5755 * paragraph_funcs.C (depthHook): ...to here
5757 * paragraph.C (getEndLabel): move from here...
5758 * paragraph_funcs.C (getEndLabel): ...to here
5760 * text2.C (realizeFont): move from here...
5761 * paragraph_funcs.C (realizeFont): ...to here
5763 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5765 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5767 2003-04-14 Angus Leeming <leeming@lyx.org>
5769 * LColor.[Ch]: scrap LColor mathcursor.
5771 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * lyxlex.[Ch] (text): delete function
5774 * trans.C (Load): adjust
5775 * paragraph_funcs.C (readParToken): adjust
5777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5780 vector<char> instead of a char[].
5782 * lyxlex_pimpl.C (getString): adjust
5784 (lex): use getString
5788 * lyxlex.C (text): use pimpl_->getString()
5792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5795 (makeFontEntriesLayoutSpecific): temp var for par.size()
5796 (setLayout): temp var for ownerParagraphs().end()
5797 (fullRebreak): temp var for rows().end()
5798 (selectionAsString): temp var for boost::next(startpit), realize
5799 that the while really is a regular for loop.
5800 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5801 setCursor in one place.
5802 (setParagraph): temp vr for ownerParagraphs().end()
5803 (updateCounters): make the while loop a for loop
5804 (cutSelection): temp var for ownerParagraphs().end()
5805 (updateInset): make the do {} while() a regular for loop
5806 (getCursorX): use temp vars
5807 (setCurrentFont): use temp vars
5808 (getColumnNearX): use temp vars
5810 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * text.C (transformChar): use temp var for getChar
5813 (computeBidiTables): use temp var for row->par()
5814 (fill): move temp vars for row->par() and pit->layout() earlier in
5816 (labelFill): use temp var for row->par()
5817 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5818 asc and desc, realize that pit never changes and that firstpit is
5819 just a duplicate and not needed. Exchange rit->par() with pit in a
5821 (breakAgain): use a temp var for boost::next(rit)
5822 (breakAgainOneRow): ditto
5823 (breakParagraph): use a temp var for rows().begin()
5824 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5825 (cursorRightOneWord): use temp var for cursor.par() and
5826 cursor.pos(), remove usage of tmpcursor.
5827 (cursorLeftOneWord): use temp var for cursor.par() and
5828 cursor.pos() only set cur at end of function.
5830 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * text.C, text2.C: exchange all usage of Paragraph::next with
5833 boost::next(ParagraphList::iterator)
5835 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5837 * text2.C (cursorTop): simplify implementation
5838 (cursorBottom): ditto
5839 (setParagraph): use ParagraphList::iterator
5840 (setCurrentFont): adjust
5841 (getColumnNearX): adjust
5842 (cursorRight): adjust
5843 (cursorLeft): remove usage of Paragraph::previous
5844 (cursorUpParagraph): ditto
5845 (deleteEmptyParagraphMechanism): slight cleanup
5847 * text.C (isBoundary): take a Paragraph const & instead of a
5849 (addressBreakPoint): ditto
5850 (leftMargin): remove usage of Paragraph::previous.
5851 (setHeightOfRow): ditto
5852 (cursorLeftOneWord): ditto
5853 (selectNextWordToSpellcheck): ditto
5856 (breakParagraph): remove one usage of Paragraph::next
5857 (redoParagraph): ditto
5858 (acceptChange): ditto
5859 (insertChar): adjust
5860 (rowBreakPoint): adjust
5862 * bufferview_funcs.C (toggleAndShow): adjust
5864 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5866 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5867 methods to access it.
5869 * text.C: Added updateRowPositions to compute all row positions.
5870 Make top_y and getRowNearY() to use the cached y position
5872 2003-04-11 John Levon <levon@movementarian.org>
5874 * text.C (rowBreakPoint): reintroduce the labelEnd
5875 checks, code copied from the row fill stuff. Deep voodoo.
5877 * text.C (fill): add a comment and debugging for the
5880 2003-04-11 John Levon <levon@movementarian.org>
5882 * text.C: make sure fullrow insets get wrapped to the next line,
5883 even when they're in a manual label
5885 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5887 * text2.C (insertParagraph): make it take ParagraphList::iterator
5889 (setLayout): make it return ParagraphList::iterator
5890 (redoParagraphs): ditto
5892 (checkParagraph): ditto
5894 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5896 * text2.C: adjust several funcs.
5897 (realizeFont): take a ParagraphList::iterator as arg.
5898 (getLayoutFont): ditto
5899 (getLabelFont): ditto
5900 (setCharFont): ditto
5902 * text.C: adjust several funcs.
5904 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5906 * text.C (selectNextWordToSpellcheck): don't accidentally
5909 2003-04-10 John Levon <levon@movementarian.org>
5911 * ToolbarBackend.C (getIcon): special handling for
5914 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5916 * text2.C (cursorRight): a getChar assert fixed
5918 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * text2.C (getFont): change to take a ParagraphList::iterator
5921 instead of Paragraph*
5922 Adjust several functions.
5924 * text.C (transformChar): change to take a ParagraphList::iterator
5925 instead of Paragraph*
5926 (singleWidth): ditto
5927 Adjust several functions.
5929 * rowpainter.C: adjust several functions
5930 * rowpainter.h:store a ParagraphList::iterator and not a
5934 2003-04-09 John Levon <levon@movementarian.org>
5939 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5940 and the "help" bits as well
5942 2003-04-09 John Levon <levon@movementarian.org>
5945 * ToolbarBackend.C: allow multiple toolbars
5947 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5949 * undo_funcs.C (setCursorParUndo): adjust
5951 * text_funcs.C (transposeChars): adjust
5953 * text3.C (gotoNextInset): adjust
5956 * text2.C (setLayout): adjust
5957 (changeDepth): adjust
5959 (redoParagraphs): adjust
5960 (selectionAsString): adjust
5961 (setParagraph): adjust
5962 (insertInset): adjust
5963 (cutSelection): adjust
5964 (copySelection): adjust
5965 (pasteSelection): adjust
5966 (insertStringAsLines): adjust
5967 (updateInset): adjust
5968 (setCursor): change to take a ParagraphList::iterator parameter
5969 (setCursorIntern): change to take a ParagraphList::iterator parameter
5970 (setCurrentFont): adjust
5971 (cursorLeft): adjust
5972 (cursorRight): adjust
5973 (deleteEmptyParagraphMechanism): adjust
5975 * text.C (breakParagraph): adjust
5976 (insertChar): adjust
5977 (acceptChange): adjust
5978 (rejectChange): adjust
5979 (selectNextWordToSpellcheck): adjust
5980 (changeCase): adjust
5984 * lyxfind.C (SearchForward): adjust
5985 (SearchBackward): adjust
5986 (nextChange): adjust
5988 * lyxcursor.C (par): adjust
5990 * lyxcursor.h: store a ParagraphList::iterator instead of a
5993 * lyx_cb.C (getPossibleLabel): adjust
5995 * bufferview_funcs.C (toggleAndShow): adjust
5997 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6000 * BufferView.C (removeAutoInsets): adjust
6001 (lockedInsetStoreUndo): adjust
6003 2003-04-09 John Levon <levon@movementarian.org>
6005 * ToolbarBackend.C: try icon without argument
6006 if with argument fails
6008 2003-04-08 John Levon <levon@movementarian.org>
6011 * ToolbarBackend.C: add getIcon(), handle tooltip,
6012 and change from "Icon" to "Item".
6014 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6016 * BufferView.C (lockInset): another bad getchar crunched
6018 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6020 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6023 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6025 * lyxfind.C (searchForward, searchBackwards): bug 782
6027 2003-04-07 John Levon <levon@movementarian.org>
6029 * paragraph.C: remove dead comment
6031 * text.C: remove troublesome depth-fiddling code
6032 in leftMargin() and rightMargin() (bug 1017)
6034 * text.C: fix breaking of rows in nested lists
6037 * text2.C (updateCounters): fix up depth values
6040 2003-04-07 John Levon <levon@movementarian.org>
6042 * BufferView_pimpl.C: clear message when doc finishes resizing,
6043 and after a mouse event
6045 * lyxfunc.C: clear message after exiting inset
6047 2003-04-07 John Levon <levon@movementarian.org>
6049 * bufferview_funcs.C: show math status not outside
6050 status in the statusbar
6052 2003-04-07 John Levon <levon@movementarian.org>
6054 * lyxfunc.C: note status changed after a depth change
6056 2003-04-04 Angus Leeming <leeming@lyx.org>
6058 * LaTeX.h: move AuxInfo operator==, != out of line.
6059 Remove LaTeX virtual destructor; nothing derives from it.
6060 Move operator()() out of public area and rename it startscript().
6061 Change protected for private.
6063 2003-04-04 Angus Leeming <leeming@lyx.org>
6066 * text2.C: remove unneeded #includes.
6068 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6070 * text2.C (dEPM): fix the heigth of the next row
6072 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6074 * text.C: squashed an invalid getChar requester + some ws changes
6076 2003-04-03 John Levon <levon@movementarian.org>
6078 * bufferview_funcs.h:
6079 * bufferview_funcs.C:
6082 * text2.C: make getStatus work for the env depth lfuns
6084 2003-04-03 John Levon <levon@movementarian.org>
6086 * bufferview_funcs.h:
6087 * bufferview_funcs.C:
6090 * text2.C: parlistize decDepth(), by merging it with incDepth()
6092 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6094 * lyxrow.h: store a ParagraphList::iterator instead of a
6095 Paragraph* and adjust other class functions to suit.
6097 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6100 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6102 * text2.C (setCursor): do not anchor to cursor row for the time being
6104 2003-04-02 John Levon <levon@movementarian.org>
6111 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6113 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * paragraph.h: make ParagraphList and ParagraphList::iterator
6116 friends of Paragraph.
6118 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6120 * ParagraphList.C: Use the private next_ and previous_ from
6123 2003-04-01 John Levon <levon@movementarian.org>
6127 * Makefile.am: rename, remove defaults gunk
6130 * MenuBackend.C: remove defaults gunk
6133 * Languages.C: remove defaults gunk
6136 * lyx_main.C: error out if files couldn't be found.
6138 2003-04-02 John Levon <levon@movementarian.org>
6140 * text2.C: make incDepth() use parlist
6142 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * undo_funcs.C (firstUndoParagraph): adjust
6146 * text3.C (gotoInset): adjust
6147 (dispatch): adjust, and rewrite loop.
6149 * text2.C (init): adjust, and rewrite loop.
6150 (redoParagraphs): adjust
6151 (updateInset): adjust, and rewrite loop.
6152 (deleteEmptyParagraphMechanism): adjust
6154 * tabular.C (LyXTabular): adjust
6155 (SetMultiColumn): adjust
6158 * lyxtext.[Ch] (ownerParagraph): delete function
6159 (ownerParagraphs): new function returns a ParagraphList.
6161 * BufferView.C (removeAutoInsets): adjust
6162 (insertErrors): adjust
6163 (setCursorFromRow): adjust
6165 2003-04-01 Angus Leeming <leeming@lyx.org>
6167 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6170 2003-04-02 John Levon <levon@movementarian.org>
6176 * text_funcs.C: make transposeChars a free function
6178 * lyxrow_funcs.C: remove wrong comment
6180 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * rowpainter.C: adjust
6188 * lyxrow_funcs. [Ch]: new files
6190 * lyxrow.[Ch]: remove next and previous pointers
6191 (next,previous): remove accessor functions
6192 (isParEnd): move to lyxrow_funcs
6193 (lastPos): move to lyxrow_funcs
6194 (nextRowIsAllInset): move to lyxrow_funcs
6195 (lastPrintablePos): move to lyxrow_funcs
6196 (numberOfSeparators): move to lyxrow_funcs
6197 (numberOfHfills): move to lyxrow_funcs
6198 (numberOfLabelHfills): move to lyxrow_funcs
6199 (hfillExpansion): move to lyxrow_funcs
6203 * bufferview_funcs.C (toggleAndShow): adjust
6205 * RowList.h: Remove class RowList from file leave just a
6208 * RowList.C: delete file
6210 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6213 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6215 * text3.C (cursorPrevious): adjust
6216 (cursorNext): adjust
6219 * text2.C (redoHeightOfParagraph): adjust
6220 (redoDrawingOfParagraph): adjust
6223 * text.C (breakParagraph): adjust
6224 (insertChar): adjust
6227 * rowpainter.C (RowPainter): adjust
6228 (leftMargin): simplify and adjust
6229 (most rowpainter functions): adjust.
6231 * rowpainter.h: store the row as RowList::iterator not as Row*
6233 * lyxcursor.C (row): taka RowList::iterator as arg
6236 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6239 2003-04-01 Angus Leeming <leeming@lyx.org>
6241 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6242 stuff like bool Bool.
6244 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6246 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6249 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6254 * lyxtext.h (rows): drop one version and leve a const variant that
6255 returns a RowList::iterator.
6257 2003-03-31 Angus Leeming <leeming@lyx.org>
6259 * text.C (fill): ensure that the signature is the same as that in the
6262 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * text2.C (redoParagraphs): adjust
6265 (updateCounters): adjust
6266 (checkParagraph): adjust
6267 (getColumnNearX): adjust and reformat a bit.
6269 * text.C (top_y): adjust
6271 (leftMargin): adjust
6272 (prepareToPrint): adjust
6274 (getRowNearY): adjust
6276 * lyxtext.h: make rowlist_ mutable.
6278 * RowList.h: add const_iterator
6279 * RowList.C: adjust for RowList::const_iterator.
6281 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6284 2003-03-31 John Levon <levon@movementarian.org>
6287 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6289 * lyx_main.C: set default fonts from using lyx_gui funcs
6291 * exporter.C: pdf_mode moved from lyxrc
6294 * lyxfunc.C: changes from above
6296 2003-03-31 John Levon <levon@movementarian.org>
6298 * lyx_main.C: fix to the last fix
6300 2003-03-31 John Levon <levon@movementarian.org>
6302 * bufferlist.C: "Load original" -> "Load Original"
6308 * format.C: more Alert cleanups
6310 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * text2.C (removeParagraph): make it take a RowList::iterator as
6314 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6315 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6317 * text.C (anchor_row): make it take a RowList::iterator as arg,
6319 (computeBidiTables): make it take a const reference to Row instead
6320 of Row pointer, adjust.
6321 (leftMargin): make it take a RowList::iterator as arg, adjust.
6322 (rowBreakPoint): adjust
6323 (breakAgainOneRow): make it take a RowList::iterator as arg,
6325 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6327 * bufferview_funcs.C (toggleAndShow): adjust
6329 2003-03-30 John Levon <levon@movementarian.org>
6333 * boost-inst.C: moved to support
6335 * several files: changes as a result
6337 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * text2.C (LyXText): adjust.
6341 (removeRow): make it take a RowList::iterator as arg, adjust.
6342 (fullRebreak): adjust
6343 (deleteEmptyParagraphMechanism): adjust
6344 (clearPaint): adjust
6347 * text.C (top_y): adjust
6348 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6349 (breakAgain): make it take a RowList::iterator as arg, adjust.
6350 (breakParagraph): adjust
6351 (insertChar): adjust
6354 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6355 need_break_row, and refresh_row.
6357 * text3.C (dispatch): adjust
6359 * text2.C (checkParagraph): adjust
6361 (setCursorFromCoordinates): adjust
6363 * text.C (top_y): adjust
6365 (getRow): make it return a RowList::iterator, adjust
6366 (getRowNearY): make it return a RowList::iterator, adjust
6368 * text2.C (init): adjust
6369 (insertRow): remove function
6370 (insertParagraph): adjust
6371 (redoParagraphs): adjust
6372 (fullRebreak): adjust
6373 (updateCounters): adjust
6375 * text.C (top_y): rewrite to use RowList iterators.
6377 (setHeightOfRow): rewrite to sue RowList iterators.
6378 (appendParagraph): adjust
6379 (breakAgain): adjust
6380 (breakAgainOneRow): adjust
6381 (breakParagraph): adjust
6383 (getRowNearY): adjust, and remove commented code.
6385 * lyxtext.h (firstRow): delete function
6386 (lastRow): delete function
6387 (rows): new function (const and non-const versions.)
6388 (insertRow): delete function
6390 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6392 2003-03-29 John Levon <levon@movementarian.org>
6394 * BufferView_pimpl.C: always update scrollbar top
6395 because pasting text when we're anchored could mean we
6396 miss an update altogether
6398 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * text2.C (init): use rowlist_.end() and not 0.
6401 (insertRow): change to take a RowList::iterator as arg, adjust
6403 (insertParagraph): change to take a RowList::iterator as arg,
6405 (redoParagraphs): remove some debug msgs.
6407 * text.C (appendParagraph): change to take a RowList::iterator
6408 arg, adjust for this.
6409 (breakAgain): add an assert
6410 (breakAgainOneRow): ditto
6412 2003-03-29 John Levon <levon@movementarian.org>
6414 * text2.C: do not clear selection after inc/decDepth
6417 2003-03-29 John Levon <levon@movementarian.org>
6420 * buffer.C: fix broken strerrors according to Lars
6422 2003-03-29 John Levon <levon@movementarian.org>
6424 * converters.C: more Alert cleanups
6426 2003-03-29 John Levon <levon@movementarian.org>
6428 * bufferview_funcs.C: remove pointless Alert
6430 * buffer.C: fix confusing error message when
6431 a template is chmoded 000
6433 2003-03-29 John Levon <levon@movementarian.org>
6437 * BufferView_pimpl.C: Alert fixes
6441 * tabular-old.C: remove unused table compat reading
6443 2003-03-29 John Levon <levon@movementarian.org>
6448 * lyx_cb.C: more Alert cleanups
6450 * lyxfunc.C: don't allow chktex if not latex document
6452 2003-03-29 John Levon <levon@movementarian.org>
6456 * buffer.C: warnings pushed down from support/,
6459 2003-03-29 John Levon <levon@movementarian.org>
6461 * lyxfunc.C: safety check for C-r (revert)
6463 2003-03-29 John Levon <levon@movementarian.org>
6466 * bufferlist.C: several UI fixes using Alert::prompt.
6467 Fix the pointless looping quit code. Fix stupid revert
6472 * lyx_cb.C: use Alert::prompt
6474 * lyx_main.C: remove a silly question
6476 * lyxfunc.C: remove a couple of silly questions,
6479 2003-03-28 John Levon <levon@movementarian.org>
6481 * text2.C: fix bug 974 (End on empty par)
6483 2003-03-28 John Levon <levon@movementarian.org>
6485 * BufferView_pimpl.C:
6487 * lfuns.h: remove do-nothing math greek lfuns
6489 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * lyxgluelength.h (isValidGlueLength): add default arg on
6492 parameter 2. Remove default arg from friend in class.
6494 * lyxlength.h (isValidLength): add default arg on parameter 2.
6495 Remove default arg from friend in class.
6497 * text2.C (LyXText): adjust, initialize refresh_row.
6501 (insertParagraph): adjst
6502 (redoParagraphs): adjust
6503 (fullRebreak): adjust
6504 (updateCounters): adjust
6505 (deleteEmptyParagraphMechanism): first attempt at fixing a
6508 * text.C (top_y): adjust
6509 (setHeightOfRow): adjust
6511 (getRowNearY): adjust
6513 * lyxtext.h: include RowList.h
6514 (~LyXText): not needed anymore, deleted.
6515 (firstRow): modify for RowList
6516 (lastRow): new function
6517 Delete firstrow and lastrow class variables, add a Rowlist
6518 rowlist_ class variable.
6520 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6523 * RowList.C (insert): fix case where it == begin().
6525 2003-03-26 Angus Leeming <leeming@lyx.org>
6527 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6528 the thesaurus dialog.
6530 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6534 * RowList.[Ch]: new files
6536 * ParagraphList.C (erase): handle the case where it == begin
6539 2003-03-25 John Levon <levon@movementarian.org>
6543 * aspell.C: add new aspell support
6546 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6549 2003-03-25 Angus Leeming <leeming@lyx.org>
6552 * LyXAction.C (init): new LFUN_INSET_INSERT.
6554 * BufferView_pimpl.C (dispatch): split out part of the
6555 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6557 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6560 2003-03-25 Angus Leeming <leeming@lyx.org>
6562 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6564 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6567 * text3.C: remove useless row->height(0)
6569 2003-03-25 John Levon <levon@movementarian.org>
6573 * text3.C: rename the refreshing stuff to better names
6575 2003-03-24 John Levon <levon@movementarian.org>
6577 * BufferView_pimpl.h:
6578 * BufferView_pimpl.C: update layout choice on a mouse
6581 2003-03-23 John Levon <levon@movementarian.org>
6583 * Makefile.am: fix commandtags.h reference
6585 2003-03-22 John Levon <levon@movementarian.org>
6587 * BufferView_pimpl.C:
6592 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6594 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6597 * text.C: take the rtl methods out of line
6599 2003-03-21 André Pönitz <poenitz@gmx.net>
6601 * metricsinfo.[Ch]: new files containing structures to be passed around
6602 during the two-phase-drawing...
6604 2003-03-21 André Pönitz <poenitz@gmx.net>
6606 * lyxtextclass.C: read 'environment' tag.
6608 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6610 * text2.C (removeRow): fix bug 964
6612 2003-03-20 John Levon <levon@movementarian.org>
6616 * text2.C: paint cleanups. Inset::update() dropped font
6619 2003-03-19 John Levon <levon@movementarian.org>
6621 * lyxfunc.C: only fitcursor/markDirty if available()
6623 2003-03-19 John Levon <levon@movementarian.org>
6625 * commandtags.h: rename to ...
6627 * lfuns.h: ... this, and renumber / cleanup
6629 2003-03-19 John Levon <levon@movementarian.org>
6631 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6632 fit the cursor after an lfun
6636 * BufferView_pimpl.h:
6637 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6639 * LyXAction.C: layout-character should have ReadOnly
6641 * ParagraphParameters.C:
6643 * bufferview_funcs.C:
6650 * undo_funcs.C: changes from above
6652 2003-03-18 John Levon <levon@movementarian.org>
6654 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6655 remove it from update()
6657 * lyxfunc.C: update layout choice after an lfun
6659 * text3.C: remove extra updateLayoutChoice()s
6661 2003-03-18 John Levon <levon@movementarian.org>
6663 * text.C: top_y change means full repaint, fix
6664 a drawing bug with cursor movement
6666 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6670 * text2.C: anchor row on setCursor
6672 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6674 * lyxtext.h: remove almost all mutable keywords
6677 * text3.C: remove const keywords accordingly
6679 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6681 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6683 (TeXEnvironment): ditto
6686 2003-03-17 John Levon <levon@movementarian.org>
6688 * text.C (rowBreakPoint): remove attempt to fix displayed
6689 math insets inside a manual label
6691 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6693 * lyxtext.h: remove BufferView* as first arg from almost all class
6695 * other files: adjust.
6697 2003-03-17 John Levon <levon@movementarian.org>
6701 * text2.C: more paint cleanups
6703 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6706 * rowpainter.C: remove "smart" background painting code
6708 2003-03-16 John Levon <levon@movementarian.org>
6713 * text3.C: add helper functions for setting refresh_row/y
6715 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6717 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6718 newline inset which *can* get inserted in the pass_thru layouts.
6719 This is primarily for literate documents.
6721 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6723 * buffer.C: increment LYX_FORMAT to 223
6725 2003-03-14 André Pönitz <poenitz@gmx.net>
6727 * textclass.h: prepare for environment handling, ws changes
6728 * lyxlayout.C: read latexheader and latexfooter tags
6730 2003-03-14 John Levon <levon@movementarian.org>
6732 * text2.C: rewrite ::status() a bit
6734 2003-03-13 John Levon <levon@movementarian.org>
6736 * lyxtext.h: add some docs
6738 2003-03-13 John Levon <levon@movementarian.org>
6743 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6745 2003-03-13 John Levon <levon@movementarian.org>
6747 * text3.C: fix appendix redrawing
6749 2003-03-13 John Levon <levon@movementarian.org>
6751 * text.C (setHeightOfRow):
6753 * rowpainter.C: make appendix mark have the text
6754 "Appendix" so the user knows what it is
6757 * LColor.C: s/appendixline/appendix/ from above
6759 2003-03-13 John Levon <levon@movementarian.org>
6761 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6763 * text.C: fix a getChar(pos) bug properly
6765 2003-03-13 Angus Leeming <leeming@lyx.org>
6768 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6769 Probably only temporary. Let's see how things pan out.
6771 * BufferView.C (unlockInset):
6772 * BufferView_pimpl.C (fitCursor):
6773 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6775 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6776 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6778 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6779 new functions that convert ParagraphParameters to and from a string.
6781 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6782 BufferView::Pimpl's dispatch.
6783 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6785 2003-03-13 André Pönitz <poenitz@gmx.net>
6789 * factory.C: make it aware of InsetEnv
6791 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * text2.C (setCursor): never ask for one past last
6794 (setCursor): add some debugging messages.
6796 * text.C (singleWidth): never ask for one past last
6797 (singleWidth): ditto
6799 (rightMargin): ditto
6800 (rowBreakPoint): ditto
6801 (setHeightOfRow): ditto
6802 (prepareToPrint): ditto
6804 * rowpainter.C (paintBackground): never ask for one past last
6805 (paintText): never ask for one past last
6807 * paragraph_pimpl.C (getChar): make the assert stricter, never
6808 allow the one past last pos to be taken
6810 * paragraph.C (getChar): ws changes only
6812 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6813 (numberOfSeparators): ditto
6814 (numberOfHfills): ditto
6816 2003-03-12 John Levon <levon@movementarian.org>
6822 * paragraph_funcs.C: fix per-buffer authorlists
6824 2003-03-12 John Levon <levon@movementarian.org>
6826 * text.C: fix newline in right address
6828 2003-03-12 Angus Leeming <leeming@lyx.org>
6830 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6831 duplicate those in LyXFunc::dispatch.
6835 * ToolbarDefaults.C:
6836 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6837 Add LFUN_FONTFREE_UPDATE.
6839 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6840 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6842 * bufferview_func.[Ch]: several new functions to facilliate
6843 transfer of data to and from the character dialog.
6845 2003-03-12 John Levon <levon@movementarian.org>
6850 * paragraph_funcs.C:
6851 * paragraph_pimpl.C:
6855 * text3.C: remove META_NEWLINE in favour of an inset
6858 * rowpainter.C: remove paintNewline (done by inset)
6860 2003-03-12 John Levon <levon@movementarian.org>
6862 * paragraph_pimpl.C: complain about bad getChar()s
6863 for a while at least
6865 2003-03-12 John Levon <levon@movementarian.org>
6868 * buffer.C: move paragraph read into a separate function,
6869 a little renaming to reflect that.
6872 * bufferparams.C: remove the author_ids map, not necessary now
6875 * factory.C: moved Buffer::readInset to here
6877 * paragraph_funcs.h:
6878 * paragraph_funcs.C: readParagraph free function moved from
6881 * tabular.C: name change
6883 2003-03-12 John Levon <levon@movementarian.org>
6886 * ParagraphParameters.C: move par params input to
6889 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6890 behave like a normal read from the stream wrt reading
6891 a line vs. a \\token
6893 2003-03-12 John Levon <levon@movementarian.org>
6896 * ParagraphParameters.h:
6897 * ParagraphParameters.C: move output code to a
6900 2003-03-12 John Levon <levon@movementarian.org>
6902 * BufferView.C (insertLyXFile):
6905 * tabular.C: use a parlist iterator for creating the
6908 2003-03-12 John Levon <levon@movementarian.org>
6910 * buffer.C: make current_change static local not
6913 2003-03-12 John Levon <levon@movementarian.org>
6915 * buffer.C: fix insertStringAsLines for change tracking
6917 2003-03-12 John Levon <levon@movementarian.org>
6924 * bufferparams.C: move author list into params. Rename some
6925 functions. Move the header reading into a separate token
6926 loop. Move the header token reading into BufferParams.
6928 2003-03-12 John Levon <levon@movementarian.org>
6930 * changes.C: put debug inside lyxerr.debugging() checks
6932 2003-03-11 André Pönitz <poenitz@gmx.net>
6934 * factory.C: make it aware of InsetHFill
6936 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * buffer.C (latexParagraphs): move function from here...
6939 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6942 2003-03-10 Angus Leeming <leeming@lyx.org>
6944 * LyXAction.C (init): fix bug in poplating array with multiple entries
6945 with the same LFUN (spotted by JMarc).
6947 2003-03-10 John Levon <levon@movementarian.org>
6950 * text2.C: move getColumnNearX() near its
6953 2003-03-10 John Levon <levon@movementarian.org>
6955 * text.C: fix break before a minipage
6957 2003-03-10 John Levon <levon@movementarian.org>
6959 * text.C: fix the last commit
6961 2003-03-09 John Levon <levon@movementarian.org>
6965 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6966 bug 365 (don't break before insets unless needed). Don't
6967 return a value > last under any circumstances.
6969 2003-03-09 Angus Leeming <leeming@lyx.org>
6971 * BufferView_pimpl.C (trackChanges, dispatch): call
6972 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6974 2003-03-09 Angus Leeming <leeming@lyx.org>
6976 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6977 than Dialogs::showAboutlyx().
6979 2003-03-09 Angus Leeming <leeming@lyx.org>
6981 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6982 than Dialogs::showTabularCreate().
6984 2003-03-09 John Levon <levon@movementarian.org>
6988 * text2.C: 3rd arg to nextBreakPoint was always the same.
6991 2003-03-08 John Levon <levon@movementarian.org>
6998 * text2.C: Remove the "main" bit from the "main body"
7001 2003-03-08 John Levon <levon@movementarian.org>
7003 * text.C (leftMargin): The left margin of an empty
7004 manual label paragraph should not include the label width
7007 * text.C (prepareToPrint): don't attempt to measure hfills
7008 for empty manual label paragraphs - the answer should be 0
7010 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * CutAndPaste.C: remove commented code and reindent.
7014 2003-03-08 John Levon <levon@movementarian.org>
7017 * lyxfunc.C: move reloadBuffer()
7020 * BufferView.C: to here
7022 * lyxvc.C: add comment
7025 * vc-backend.C: call bv->reload() to avoid
7026 getStatus() check on MENURELOAD
7028 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7030 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7031 to an old format .dep file.
7033 2003-03-07 Angus Leeming <leeming@lyx.org>
7035 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7036 when the LFUN_MOUSE_RELEASE should have been handled by
7037 inset->localDispatch.
7039 2003-03-07 Angus Leeming <leeming@lyx.org>
7041 * BufferView_pimpl.C (dispatch):
7042 * LyXAction.C (init):
7043 * ToolbarDefaults.C (init):
7045 * lyxfunc.C (getStatus):
7046 remove LFUN_INSET_GRAPHICS.
7048 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7050 2003-03-07 Angus Leeming <leeming@lyx.org>
7053 * LyXAction.C (init):
7054 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7056 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7059 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7061 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7062 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7064 2003-03-07 Angus Leeming <leeming@lyx.org>
7066 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7069 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * ParagraphList.C (front): new function
7074 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7076 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7077 and top_row_offset_. removed var first_y.
7079 * text2.C (LyXText, removeRow):
7081 * BufferView_pimpl.C:
7082 use these methods instead of using first_y
7084 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * text2.C (pasteSelection): adjust for checkPastePossible
7088 * CutAndPaste.C: remove Paragraph * buf and replace with
7089 ParagraphList paragraphs.
7090 (DeleteBuffer): delete
7091 (cutSelection): change the tc type to textclass_type
7092 (copySelection): change the tc type to textclass_type
7093 (copySelection): adjust for ParagraphList
7094 (pasteSelection): change the tc type to textclass_type
7095 (pasteSelection): adjust for Paragraphlist
7096 (nrOfParagraphs): simplify for ParagraphList
7097 (checkPastePossible): simplify for ParagraphList
7098 (checkPastePossible): remove unused arg
7100 * ParagraphList.C (insert): handle the case where there are no
7103 * CutAndPaste.h: make CutAndPaste a namespace.
7105 * text3.C (dispatch): adjust
7107 * text.C (breakParagraph): add a ParagraphList as arg
7109 * paragraph_funcs.C (breakParagraph): change to take a
7110 BufferParams and a ParagraphList as args.
7111 (breakParagraphConservative): ditto
7112 (mergeParagraph): ditto
7113 (TeXDeeper): add a ParagraphList arg
7114 (TeXEnvironment): ditto
7117 * buffer.C (readLyXformat2): adjust
7118 (insertStringAsLines): adjust
7119 (latexParagraphs): adjust
7121 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7122 (cutSelection): adjust
7123 (pasteSelection): adjust
7125 * BufferView_pimpl.C (insertInset): adjust
7127 2003-03-05 Angus Leeming <leeming@lyx.org>
7130 * LyXAction.C (init):
7131 * BufferView_pimpl.C (dispatch):
7132 * lyxfunc.C (getStatus):
7133 remove LFUN_CHILD_INSERT.
7135 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7137 2003-03-05 Angus Leeming <leeming@lyx.org>
7140 * LyXAction.C (init):
7141 * src/factory.C (createInset):
7142 * lyxfunc.C (getStatus):
7143 * text3.C (dispatch):
7144 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7146 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7148 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * ParagraphList.C (insert): handle insert right before end()
7151 (erase): fix cases where it can be first or last paragraph.
7153 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7156 Paragraph::next and Paragraph::previous
7159 * text.C (breakParagraph): adjust
7161 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7162 BufferParams& as arg.
7163 (breakParagraph): use ParagraphList::insert
7164 (breakParagraphConservative): take a Buffer* instead of a
7165 BufferParams& as arg.
7166 (breakParagraphConservative): use ParagraphList::insert.
7168 * buffer.C (insertStringAsLines): un-const it
7169 (insertStringAsLines): adjust
7171 * ParagraphList.C (insert): new function
7173 * CutAndPaste.C (pasteSelection): adjust
7175 * text.C (backspace): adjust
7177 * tabular.C (SetMultiColumn): adjust
7179 * CutAndPaste.C (cutSelection): adjust
7180 (pasteSelection): adjust
7182 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7183 Buffer const * as arg
7185 * ParagraphList.C (erase): new function
7186 * paragraph_funcs.C (mergeParagraph): use it
7187 (mergeParagraph): make it take a Buffer* instead of a
7188 BufferParams* as arg
7190 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7192 (breakParagraphConservative): ditto
7194 * paragraph.h: remove the breakParagraph friend
7196 * paragraph.C (eraseIntern): new function
7197 (setChange): new function
7199 * paragraph_funcs.C (mergeParagraph): make it take a
7200 ParagraphList::iterator instead of a Paragraph *, adjust
7203 * paragraph.h: move an #endif so that the change tracking stuff
7204 also works in the NO_NEXT case.
7206 2003-03-04 Angus Leeming <leeming@lyx.org>
7209 * LyXAction.C: new LFUN_INSET_MODIFY.
7211 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7212 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7214 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * several files: ws changes only
7218 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7219 (TeXEnvironment): ditto
7222 * buffer.C (makeLaTeXFile): adjust
7223 (latexParagraphs): make it take ParagraphList::iterator as args
7225 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * buffer.C (latexParagraphs): adjust
7229 * paragraph.C (TeXOnePar): move function...
7230 (optArgInset): move function...
7231 (TeXEnvironment): move function...
7232 * paragraph_pimpl.C (TeXDeeper): move function...
7233 * paragraph_funcs.C: ...here
7235 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7237 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * buffer.C (readInset): remove compability code for old Figure and
7242 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7244 * buffer.C: ws changes
7247 * BufferView_pimpl.C: ditto
7250 * bufferlist.h: ditto
7254 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7256 * converter.[Ch]: split into itself +
7259 * Makefile.am: += graph.[Ch] + format.[Ch]
7266 * lyxrc.C: added #include "format.h"
7268 2003-02-27 Angus Leeming <leeming@lyx.org>
7270 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7273 * factory.C (createInset): add "label" to the factory.
7275 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7276 string and do no more.
7278 2003-02-27 Angus Leeming <leeming@lyx.org>
7281 * LyXAction.C (init):
7282 * factory.C (createInset):
7283 * BufferView_pimpl.C (dispatch):
7284 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7286 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7288 * lyxfunc.C (dispatch):
7289 * text3.C (dispatch): pass name to params2string.
7291 2003-02-26 Angus Leeming <leeming@lyx.org>
7293 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7295 Rearrange the ~includes. Strip out the unnecessary ones.
7297 * factory.C (createInset): reformat.
7298 create new insets for the various LFUN_XYZ_APPLY lfuns.
7300 2003-02-26 John Levon <levon@movementarian.org>
7303 * lyxrow.C: add isParStart,isParEnd helpers
7305 * paragraph.h: make isInserted/DeletedText take refs
7307 * paragraph_funcs.h:
7308 * paragraph_funcs.C: remove #if 0'd code
7313 * text.C: use lyxrow helpers above.
7314 Move draw and paint routines to RowPainter.
7315 Make several methods use refs not pointers.
7316 Make backgroundColor() const.
7317 Add markChangeInDraw(), isInInset().
7318 Merge changeRegionCase into changeCase.
7319 Make workWidth() shouldn't-happen code into an Assert.
7322 * rowpainter.C: new class for painting a row.
7325 * vspace.C: make inPixels take a ref
7327 2003-02-26 Angus Leeming <leeming@lyx.org>
7329 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7332 2003-02-25 John Levon <levon@movementarian.org>
7334 * ispell.C: give the forked command a more accurate name
7336 2003-02-22 John Levon <levon@movementarian.org>
7339 * toc.C: make TocItem store an id not a Paragraph *
7342 2003-02-21 Angus Leeming <leeming@lyx.org>
7344 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7345 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7346 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7347 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7348 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7349 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7351 * BufferView_pimpl.C (dispatch):
7352 * LyXAction.C (init):
7353 * factory.C (createInset):
7354 * lyxfunc.C (getStatus, dispatch):
7355 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7357 2003-02-21 Angus Leeming <leeming@lyx.org>
7359 * BufferView_pimpl.C (MenuInsertLyXFile):
7360 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7361 * lyxfunc.C (menuNew, open, doImport):
7362 no longer pass a LyXView & to fileDlg.
7364 2003-02-21 Angus Leeming <leeming@lyx.org>
7366 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7367 * LyXAction.C: change, BIBKEY to BIBITEM.
7368 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7369 Change InsetBibKey to InsetBibitem.
7370 Change BIBKEY_CODE to BIBITEM_CODE.
7371 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7372 * factory.C: replace insetbib.h with insetbibitem.h.
7373 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7374 * paragraph.C: replace insetbib.h with insetbibitem.h.
7375 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7376 Change bibkey() to bibitem().
7377 * text.C: remove insetbib.h.
7378 * text2.C: replace insetbib.h with insetbibitem.h.
7379 change bibkey() to bibitem().
7380 * text3.C: remove insetbib.h.
7381 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7383 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7385 * lyxrc.C (output): enclose user email in quotes (in case there are
7388 2003-02-18 John Levon <levon@movementarian.org>
7390 * buffer.h: add std::
7392 2003-02-17 John Levon <levon@movementarian.org>
7398 * pspell.C: reworking. Especially in ispell, a large
7399 number of clean ups and bug fixes.
7401 * lyxfunc.C: fix revert to behave sensibly
7403 2003-02-17 André Pönitz <poenitz@gmx.net>
7406 * commandtags.h: new LFUN_INSERT_BIBKEY
7416 * paragraph_func.C: remove special bibkey handling
7418 2003-02-17 John Levon <levon@movementarian.org>
7420 * text.C (Delete): fix case where delete at the end of
7421 the very first paragraph would not merge the pars
7423 2003-02-17 John Levon <levon@movementarian.org>
7425 * lyxrow.C: fix lastPrintablePos()
7427 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7429 * bufferparams.C (writeLaTeX): add a std:here
7431 * buffer.C: and remove a using directive there
7433 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7435 * buffer.C (makeLaTeXFile): move the code that generates the
7438 * bufferparams.C (writeLaTeX): ... in this new method
7440 * LaTeXFeatures.C (getEncodingSet): make const
7441 (getLanguages): make const
7443 * MenuBackend.C (binding): returns the binding associated to this
7445 (add): sets the status of each item by calling getStatus. Adds
7447 (read): add support for OptSubMenu
7448 (expand): remove extra separator at the end of expanded menu
7450 2003-02-15 John Levon <levon@movementarian.org>
7453 * BufferView_pimpl.C:
7455 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7456 inset code that had no actual effect. Remove unneeded status
7459 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7461 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7464 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7466 * text.C (drawLengthMarker): also draw an arrow marker for
7467 symbolic lengths (medskip...)
7469 2003-02-14 John Levon <levon@movementarian.org>
7472 * tabular.C: better method names
7474 2003-02-14 John Levon <levon@movementarian.org>
7476 * BufferView_pimpl.C:
7481 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7482 it's a more accurate name. Remove some pointless uses.
7484 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7486 * text2.C (LyXText): change order of initilizers to shut off
7489 2003-02-14 John Levon <levon@movementarian.org>
7491 * buffer.C: use ParIterator for getParFromID()
7495 * paragraph_pimpl.h:
7496 * paragraph_pimpl.C: remove unused getParFromID()
7498 2003-02-14 John Levon <levon@movementarian.org>
7500 * buffer.C: remove some very old #if 0'd parse code
7502 2003-02-13 John Levon <levon@movementarian.org>
7506 * text2.C: move hfillExpansion(), numberOfSeparators(),
7507 rowLast(), rowLastPrintable(), numberofHfills(),
7508 numberOfLabelHfills() ...
7511 * lyxrow.C: ... to member functions here.
7516 * text.C: remove LyXText::beginningOfMainBody(), and call
7517 p->beginningOfMainBody() directly. Move the check for
7518 LABEL_MANUAL into the latter.
7525 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7531 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7532 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7534 2003-02-13 John Levon <levon@movementarian.org>
7536 * CutAndPaste.C: remove debug
7538 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7540 * paragraph.C (asString): remove two unused variables
7542 * lyxtextclass.C (readTitleType):
7544 (LyXTextClass): handle new members titletype_ and titlename_
7546 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7548 2003-02-09 John Levon <levon@movementarian.org>
7551 * buffer.C: replace hand-coded list with a map for the dep clean
7553 2003-02-08 John Levon <levon@movementarian.org>
7555 * LaTeX.C: consolidate code into showRunMessage() helper
7557 2003-02-08 John Levon <levon@movementarian.org>
7562 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7563 and pass the size in explicitly
7565 * BufferView_pimpl.h:
7566 * BufferView_pimpl.C:
7568 * BufferView.C: add getCurrentChange()
7570 * BufferView_pimpl.h:
7571 * BufferView_pimpl.C: handle change lfuns
7573 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7574 for changes. Mark pasted paragraphs as new.
7576 * support/lyxtime.h:
7577 * support/lyxtime.C:
7578 * DepTable.C: abstract time_t as lyx::time_type
7581 * LColor.C: add colours for new text, deleted text, changebars
7583 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7584 package use "usenames" option.
7588 * LyXAction.C: add change lfuns
7592 * author.C: author handling
7595 * buffer.C: add a per-buffer author list, with first entry as
7596 current author. Handle new .lyx tokens for change tracking. Output
7597 author list to .lyx file. Output dvipost stuff to .tex preamble.
7598 Bump lyx format to 222.
7601 * bufferlist.C: add setCurrentAuthor() to reset current author details
7605 * bufferparams.C: add param for tracking
7607 * bufferview_funcs.C: output change info in minibuffer
7611 * changes.C: add change-tracking structure
7614 * debug.C: add CHANGES debug flag
7617 * lyxfind.C: add code for finding the next change piece
7620 * lyxrc.C: add user_name and user_email
7623 * lyxrow.C: add a metric for the top of the text line
7626 * text.C: implement accept/rejectChange()
7629 * text.C: paint changebars. Paint new/deleted text in the chosen
7630 colours. Strike through deleted text.
7634 * paragraph_pimpl.h:
7635 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7636 in the current change to the insert functions. Rework erase to
7637 mark text as deleted, adding an eraseIntern() and a range-based
7638 erase(). Implement per-paragraph change lookup and
7641 * paragraph_funcs.C: Fixup paste for change tracking.
7643 * tabular.C: mark added row/columns as new.
7645 * text.C: fix rowLast() to never return -1. Don't allow
7646 spellchecking of deleted text. Track transpose changes. Don't
7647 allow paragraph break or merge where appropriate.
7649 * text2.C: leave cursor at end of selection after a cut.
7651 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7653 * text.C (getLengthMarkerHeight):
7654 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7655 visible on screen too.
7657 2003-02-07 John Levon <levon@movementarian.org>
7659 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7661 2003-02-05 Angus Leeming <leeming@lyx.org>
7663 * lyxserver.C (read_ready): revert my patch of 11 September last year
7664 as it sends PC cpu through the roof. Presumably this means that
7665 the lyxserver will no longer run on an Alpha...
7667 2003-01-30 Angus Leeming <leeming@lyx.org>
7669 * factory.C (createInset): create an InsetCommandParam of type "index"
7670 and use it to 'do the right thing'.
7672 * text2.C (getStringToIndex): ensure that cursor position is always
7673 reset to the reset_cursor position.
7675 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7677 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7680 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7684 * lyxfunc.C: Output messages with identical spelling, punctuation,
7687 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7689 * MenuBackend.C (expandFormats): List only viewable export formats
7692 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7695 * lyxfunc.C (getStatus): Make sure that formats other than
7696 "fax" can also be disabled
7698 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7700 * text3.C (dispatch): put the lfuns that insert insets in 3
7701 groups, and call doInsertInset with appropriate arguments.
7702 (doInsertInset): new function, that creates an inset and inserts
7703 it according to some boolean parameters.
7705 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7707 * buffer.C (readFile): remember to pass on 'par' when calling
7708 readFile recursively.
7710 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7712 * MenuBackend.C (expandFormats): add "..." to import formats.
7714 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7716 * paragraph.C (asString): Remove XForms RTL hacks.
7718 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7719 * buffer.C: fix typo
7721 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * Makefile.am (LIBS): delete var
7724 (lyx_LDADD): add @LIBS@ here instead.
7726 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7728 * Clarify the meaning of "wheel mouse jump"
7730 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7732 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7735 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7737 * importer.C (Loaders): do not preallocate 3 elements in the
7738 vector, since one ends up with 6 elements otherwise
7740 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * DepTable.C (write): write the file name as last element of the
7743 .dep file (because it may contain spaces)
7744 (read): read info in the right order
7746 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7748 * paragraph_pimpl.C (simpleTeXBlanks):
7749 (simpleTeXSpecialChars):
7750 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7752 * tabular.C (latex): add some missing case statements. Reindent.
7754 * MenuBackend.C (expandToc): remove unused variable.
7756 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7765 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7768 2003-01-05 John Levon <levon@movementarian.org>
7771 * BufferView.C: add getEncoding()
7774 * kbsequence.C: do not store last keypress
7777 * lyxfunc.C: store last keypress here instead. Pass encoding
7780 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7782 * lyx_main.C (init): remove annoying error message when following
7783 symbolic links (bug #780)
7785 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7787 * text.C (insertChar):
7788 * lyxrc.C (getDescription): remove extra spaces
7790 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7792 * lyxrc.C (getDescription): remove extra spaces
7794 2002-12-20 John Levon <levon@movementarian.org>
7796 * text3.C: hack fix for page up/down across tall rows
7798 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7800 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7803 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7805 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7806 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7807 thesaurus is not compiled in
7809 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7811 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7813 2002-12-16 Angus Leeming <leeming@lyx.org>
7816 * lyx_main.C (init): remove override_x_deadkeys stuff.
7818 2002-12-12 John Levon <levon@movementarian.org>
7820 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7821 insert. Only remove shift modifier under strict
7824 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7826 * MenuBackend.C (expandToc): fix crash.
7828 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7830 * MenuBackend.C (expandToc): gettext on float names.
7832 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7834 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7835 implement bool empty() [bug 490]
7837 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7841 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * several files: ws changes
7845 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * text2.C (setCounter): clean up a bit, use boost.format.
7848 (updateCounters): initialize par upon declaration.
7850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7851 if the layout exists. We do not just store the layout any more.
7852 (SwitchLayoutsBetweenClasses): use boost.format
7854 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7856 * converter.C (convert): if from and to files are the same, use a
7857 temporary files as intermediary
7859 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7862 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7864 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7866 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7868 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7870 * tabular.C (asciiPrintCell): use string(size, char) instead of
7873 * sgml.C (openTag): fix order of arguments to string constructor
7876 * lyxfunc.C (dispatch): use boost.format
7878 * lots of files: change "c" -> 'c'
7880 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7882 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7884 2002-11-25 Angus Leeming <leeming@lyx.org>
7886 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7888 * lyx_main.C (init): compile fix.
7890 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * lyx_cb.C (start): boost.formatify
7893 do not include <iostream>
7895 * lengthcommon.C: ws only
7897 * boost-inst.C,BoostFormat.h: add more explict instantations
7899 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * lots of files: handle USE_BOOST_FORMAT
7903 2002-11-21 John Levon <levon@movementarian.org>
7905 * pspell.C: fix compile
7907 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7909 * lyxfunc.C (dispatch): use boost::format
7913 * lyxfont.C (stateText): use boost::format
7915 * lyx_main.C (LyX): use boost::format
7917 (queryUserLyXDir): ditto
7920 (typedef boost::function): use the recommened syntax.
7922 * importer.C (Import): use boost::format
7924 * debug.C (showLevel): use boost::format
7926 * converter.C (view): use boost::format
7931 * bufferview_funcs.C (currentState): use boost::format
7933 * bufferlist.C (emergencyWrite): use boost::format
7935 * buffer.C (readLyXformat2): use boost::format
7936 (parseSingleLyXformat2Token): ditto
7938 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7940 * LaTeX.C (run): use boost::format
7942 * Chktex.C (scanLogFile): use boost::format
7944 * BufferView_pimpl.C (savePosition): use boost::format
7945 (restorePosition): ditto
7946 (MenuInsertLyXFile): ditto
7948 * BoostFormat.h: help file for explicit instation.
7950 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7952 * tabular.C (latex): Support for block alignment in fixed width
7955 2002-11-17 John Levon <levon@movementarian.org>
7957 * BufferView_pimpl.C:
7959 * lyxfunc.C: split filedialog into open/save
7961 2002-11-08 Juergen Vigna <jug@sad.it>
7963 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7964 by my last patch (hopefully).
7966 2002-11-08 John Levon <levon@movementarian.org>
7975 * toc.C: ParConstIterator, and use it (from Lars)
7977 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7979 * lyxtextclass.[Ch]: revise and add doxygen comments
7981 2002-11-07 John Levon <levon@movementarian.org>
7983 * text.C: fix progress value for spellchecker
7985 * toc.C: fix navigate menu for insetwrap inside minipage
7987 * paragraph_funcs.C: added FIXME for suspect code
7989 2002-11-07 John Levon <levon@movementarian.org>
7991 * BufferView_pimpl.C: fix redrawing of insets
7994 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7996 * text2.C (updateCounters): fix bug 668
7998 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8000 * text3.C (dispatch): Do not make the buffer dirty when moving the
8003 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8005 * vc-backend.C: STRCONV
8008 * text2.C (setCounter): STRCONV
8010 * paragraph.C (asString): STRCONV
8012 * lyxlength.C (asString): STRCONV
8013 (asLatexString): ditto
8015 * lyxgluelength.C (asString): STRCONV
8016 (asLatexString): ditto
8018 * lyxfunc.C (dispatch): STRCONV
8021 * lyxfont.C (stateText): STRCONV
8023 * importer.C (Import): STRCONV
8025 * counters.C (labelItem): STRCONV
8026 (numberLabel): ditto
8027 (numberLabel): remove unused ostringstream o
8032 * bufferview_funcs.C (currentState): STRCONV
8034 * buffer.C (readFile): STRCONV
8035 (asciiParagraph): ditto
8036 (makeLaTeXFile): ditto
8038 * Spacing.C (writeEnvirBegin): STRCONV
8040 * LaTeXFeatures.C (getLanguages): STRCONV
8041 (getPackages): ditto
8043 (getBabelOptions): ditto
8044 (getTClassPreamble): ditto
8045 (getLyXSGMLEntities): ditto
8046 (getIncludedFiles): ditto
8050 (scanAuxFile): ditto
8053 * LString.h: add the STRCONV macros
8055 * BufferView_pimpl.C (savePosition): STRCONV
8056 (restorePosition): ditto
8057 (MenuInsertLyXFile): ditto
8059 * vc-backend.C (scanMaster): change from submatch[...] to
8062 * funcrequest.C: include config.h
8064 * factory.C: include config.h
8066 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8068 * box.C: include config.h
8070 * LaTeX.C (scanAuxFile): change from submatch[...] to
8074 2002-10-25 Angus Leeming <leeming@lyx.org>
8076 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8078 * ispell.[Ch] (setError): new method.
8079 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8080 Use setError() insetead of goto END.
8082 * lyx_cb.C (AutoSave): move out child process into new class
8085 2002-10-30 John Levon <levon@movementarian.org>
8087 * text3.C: make start appendix undoable
8089 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8091 * lyxlength.C (inPixels): Fix returned value.
8093 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8096 2002-10-24 Angus Leeming <leeming@lyx.org>
8098 * lyxgluelength.h: no need to forward declare BufferParams
8099 or BufferView, so don't.
8101 2002-10-21 John Levon <levon@movementarian.org>
8103 * BufferView.C: menuUndo ->undo, redo
8105 * BufferView.h: document, remove dead, make some methods private
8107 * paragraph_funcs.h:
8108 * paragraph_funcs.C:
8109 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8114 * sgml.C: move sgml open/close tag into sgml.C
8116 * bufferview_funcs.h: unused prototype
8119 * lyxfunc.C: remove unused
8122 * text.C: remove unused
8124 2002-10-21 John Levon <levon@movementarian.org>
8128 * BufferView_pimpl.h:
8129 * BufferView_pimpl.C: fix mouse wheel handling based on
8130 patch from Darren Freeman
8132 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8134 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8136 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8138 * lyxlength.C (inPixels): Fix hanfling of negative length.
8139 Fix LyXLength::MU case.
8141 2002-10-16 John Levon <levon@movementarian.org>
8143 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8145 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8147 * converter.C (view): add support for $$i (file name) and $$p
8148 (file path) for the viewer command. If $$i is not specified, then
8149 it is appended to the command (for compatibility with old syntax)
8151 2002-10-14 Juergen Vigna <jug@sad.it>
8153 * undo_funcs.C (textHandleUndo): alter the order in which the
8154 new undopar is added to the LyXText, as we have to set first
8155 the right prev/next and then add it as otherwise the rebuild of
8156 LyXText is not correct. Also reset the cursor to the right paragraph,
8157 with this IMO we could remove the hack in "redoParagraphs()".
8159 2002-10-09 Angus Leeming <leeming@lyx.org>
8161 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8162 to turn off an optimisation if a new inset is to be inserted.
8164 2002-10-11 André Pönitz <poenitz@gmx.net>
8166 * lyxtext.h: make some functions public to allow access
8167 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8169 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8171 * text3.C (dispatch): when changing layout, avoid an infinite loop
8174 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8176 * lyxrc.C (read): treat a viewer or converter command of "none" as
8179 * MenuBackend.C (expandFormats): for an update, also allow the
8180 formats that are not viewable
8182 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8183 script if it is newer than the lyxrc.defaults in user directory
8185 2002-10-07 André Pönitz <poenitz@gmx.net>
8187 * text.C: Vitaly Lipatov's small i18n fix
8189 2002-09-25 Angus Leeming <leeming@lyx.org>
8191 * ispell.h: doxygen fix.
8193 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8195 * buffer.h (readFile): Add a new argument to the method, to allow
8196 reading of old-format templates.
8198 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8200 * toc.C (getTocList): Get TOC from InsetWrap.
8202 2002-09-16 John Levon <levon@movementarian.org>
8204 * lyxfunc.C: check tabular for cut/copy too
8206 2002-09-12 John Levon <levon@movementarian.org>
8211 * factory.C: add header
8213 * paragraph_funcs.h:
8214 * paragraph_funcs.C: cleanup
8216 2002-09-11 John Levon <levon@movementarian.org>
8218 * PrinterParams.h: odd/even default to true
8220 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8222 * PrinterParams.h: update printer parameters for new xforms dialog
8224 2002-09-11 Angus Leeming <leeming@lyx.org>
8226 * lyxserver.C (read_ready): re-write to make it more transparent
8227 and to make it work in coherent fashion under Tru64 Unix.
8229 2002-09-11 André Pönitz <poenitz@gmx.net>
8233 * text3.C: implement LFUN_WORDSEL
8235 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8238 make floatlist_ a boost::shared_ptr<FloatList>
8240 * lyxtextclass.C: include FloatList.h
8241 (LyXTextClass): initialize floatlist_
8242 (TextClassTags): add TC_NOFLOAT
8243 (Read): match "nofloat" to TC_NOFLOAT and use it.
8244 (readFloat): modify call to floatlist_
8248 * FloatList.[Ch] (FloatList): remove commented out float
8250 (erase): new function
8252 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * MenuBackend.C (expandToc): fix crash when there is no document
8257 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8259 * many files: Add insetwrap.
8261 2002-09-09 John Levon <levon@movementarian.org>
8263 * text2.C: remove confusing and awkward depth wraparound
8265 2002-09-09 John Levon <levon@movementarian.org>
8267 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8270 * buffer.C: remove getIncludeonlyList()
8273 * lyxfunc.C: remove headers
8275 2002-09-09 Juergen Vigna <jug@sad.it>
8277 * text.C (getColumnNearX): fix form Michael this is most
8278 probably a cut&paste bug.
8280 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8284 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8285 references, ws changes.
8287 * text2.C (init): update counters after init
8288 (insertParagraph): no need to set counter on idividual paragraphs.
8289 (setCounter): access the counters object in the textclass object
8290 on in the buffer object.
8291 (updateCounters): ditto
8293 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8294 shared_ptr<Counters> to avoid loading counters.h in all
8296 (LyXTextClass): initialize ctrs_
8297 (TextClassTags): add TC_COUNTER, and ...
8298 (Read): use it here.
8299 (CounterTags): new tags
8300 (readCounter): new function
8301 (counters): new funtion
8302 (defaultLayoutName): return a const reference
8304 * counters.C (Counters): remove contructor
8305 (newCounter): remove a couple of unneeded statements.
8306 (newCounter): simplify a bit.
8307 (numberLabel): some small formatting changes.
8309 * buffer.[Ch]: remove all traces of counters, move the Counters
8310 object to the LyXTextClass.
8312 2002-09-06 Alain Castera <castera@in2p3.fr>
8314 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8315 package to set the horizontal alignment on fixed width columns.
8318 * lyx_sty.h: added tabularnewline macro def.
8320 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8322 2002-09-06 John Levon <levon@movementarian.org>
8324 * LyXAction.C: tooltips for sub/superscript
8326 * MenuBackend.C: a bit more verbose
8328 * lyxfunc.C: tiny clean
8330 * undo_funcs.C: document undo_frozen
8332 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * counters.C (Counters): add missing algorithm counter.
8336 * text2.C (setCounter): lookup the counter with layouts latexname
8337 instead of by section number.
8338 (setCounter): use a hackish way to lookup the correct enum
8340 a float name->type change
8341 reset enum couners with counter name directly instead of depth value.
8343 * counters.C (Counters): remove the push_backs, change to use the
8344 float type not the float name.
8345 (labelItem): remove unused string, float name->type change
8347 * counters.h: don't include vector, loose the enums and sects vectors
8349 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8351 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8352 (Read): add float->TC_FLOAT to textclassTags
8353 (Read): and handle it in the switch
8354 (readFloat): new function
8356 * FloatList.C (FloatList): comment out the hardcoded float
8359 * lyxlayout.h: ws change.
8361 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8363 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8365 2002-09-03 Angus Leeming <leeming@lyx.org>
8367 * BufferView_pimpl.h: qualified name is not allowed in member
8368 declaration: WorkArea & Pimpl::workarea() const;
8370 * factory.C: added using std::endl directive.
8372 * text3.C: added using std::find and std::vector directives.
8374 2002-08-29 André Pönitz <poenitz@gmx.net>
8377 * text2.C: remove unused member number_of_rows
8380 * BufferView2.C: remove file, move contents to...
8381 * BufferView.C: ... here
8383 * BufferView_pimpl.C:
8384 * factory.C: move more inset creation to factory
8386 * vspace.C: avoid direct usage of LyXText, ws changes
8389 don't provide direct access to WorkArea, use two simple
8390 acessors haveSelction() and workHeight() instead
8393 2002-08-29 John Levon <levon@movementarian.org>
8395 * BufferView_pimpl.C (dispatch): do not continue when
8398 2002-08-28 André Pönitz <poenitz@gmx.net>
8400 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8403 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8405 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8407 * buffer.C: increment LYX_FORMAT to 221
8409 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8410 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8412 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8414 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8416 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8418 * factory.C (createInset): use LyXTextClass::floats
8420 * MenuBackend.C (expandFloatListInsert):
8421 (expandFloatInsert):
8424 * text2.C (setCounter):
8426 * LaTeXFeatures.C (useFloat):
8427 (getFloatDefinitions):
8429 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8431 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8432 floatlist_, with accessor floats().
8434 * FloatList.h: remove global FloatList
8436 2002-08-26 André Pönitz <poenitz@gmx.net>
8438 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8442 * BufferView_pimpl.C:
8443 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8445 2002-08-25 John Levon <levon@movementarian.org>
8447 * LyXAction.C: fix margin note description
8449 2002-08-24 John Levon <levon@movementarian.org>
8453 * bufferview_funcs.C:
8455 * undo_funcs.C: cleanups
8457 * lyxfunc.C: disable CUT/COPY when no selection
8459 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8461 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8462 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8464 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8465 Add backward compatibility to "mono", "gray" and "no".
8467 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8469 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8470 (and file_format >= 200).
8472 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8476 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8480 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8482 * BufferView_pimpl.C:
8489 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8490 inset and code to make it work with the paragraph code. The inset
8491 can be anywhere in the paragraph, but will only do the expected
8492 thing in LaTeX if the layout file contains the parameter line
8494 (or more generally, a nonzero value) for that layout.
8496 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8498 * paragraph.h: remove the declaration of undefined counters class
8501 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8503 * text2.C (setCounter): fixed enumeration mis-count as reported by
8504 Dr. Richard Hawkins.
8506 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8508 * paragraph_funcs.h: remove some unneeded includes
8510 * text.C (backspace): pasteParagraph now in global scipe
8512 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8513 (pasteSelection): ditto
8515 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8516 * paragraph_funcs.C (pasteParagraph): ... here
8518 2002-08-20 André Pönitz <poenitz@gmx.net>
8520 * commandtags.h: new LFUNs for swapping/copying table row/colums
8523 * lyxfunc.C: support for new lfuns
8525 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * buffer.[Ch]: remove NO_COMPABILITY stuff
8530 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * boost.C (throw_exception): new file, with helper function for
8533 boost compiled without exceptions.
8538 * ParameterStruct.h:
8539 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8541 * bufferlist.C (emergencyWriteAll): use boost bind
8543 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8545 * text.C: include paragraph_funcs.h
8546 (breakParagraph): breakParagraph is now in global scope
8548 * paragraph_funcs.[Ch]: new files
8550 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8553 * buffer.C: include paragraph_funcs.h
8554 (insertStringAsLines): breakParagraph is now in global scope
8556 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8559 * CutAndPaste.C: include paragraph_funcs.h
8560 (cutSelection): breakParagraphConservative is now in global scope
8561 (pasteSelection): ditto
8563 * buffer.h: declare oprator== and operator!= for
8564 Buffer::inset_iterator
8566 * bufferlist.C (emergencyWrite): don't use fmt(...)
8568 * text3.C: add using std::endl
8570 * BufferView.C (moveCursorUpdate): remove default arg
8572 2002-08-20 André Pönitz <poenitz@gmx.net>
8574 * buffer.[Ch]: move inline functions to .C
8577 * BufferView_pimpl.C:
8579 * buffer.[Ch]: use improved inset_iterator
8582 * paragraph.[Ch]: write one paragraph at a time
8584 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8586 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8587 style if style is not specified.
8589 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * text2.C (setCounter): when searching for right label for a
8592 caption, make sure to recurse to parent insets (so that a caption
8593 in a minipage in a figure float works) (bug #568)
8595 2002-08-20 André Pönitz <poenitz@gmx.net>
8597 * text3.C: new file for LyXText::dispatch() and helpers
8599 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8601 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8603 2002-08-19 André Pönitz <poenitz@gmx.net>
8606 * text.C: new LyXText::dispatch()
8608 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8610 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8612 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8614 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8617 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8619 * Makefile.am: use $(variables) instead of @substitutions@
8621 2002-08-15 André Pönitz <poenitz@gmx.net>
8624 * BufferView_pimpl.C: streamlining mathed <-> outer world
8628 * LyXAction.C: remove unused LFUN_MATH
8630 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8632 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8634 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * paragraph.C (Paragraph): reformat a bit
8637 (cutIntoMinibuffer): use builtin InsetList function instad of
8641 * buffer.C: include boost/bind.hpp, add using std::for_each
8642 (writeFileAscii): use ParagraphList iterators
8643 (validate): use for_each for validate traversal of paragraphs
8644 (getBibkeyList): use ParagraphList iterators
8645 (resizeInsets): use for_each to resizeInsetsLyXText for all
8647 (getParFromID): use ParagraphList iterators
8649 * BufferView2.C (lockInset): use paragraph list and iterators
8651 2002-08-14 John Levon <levon@movementarian.org>
8653 * lyxserver.C: remove spurious xforms include
8655 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8657 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8659 2002-08-13 André Pönitz <poenitz@gmx.net>
8662 * lyxfunc.C: further cleaning
8664 2002-08-13 André Pönitz <poenitz@gmx.net>
8666 * funcrequest.h: new constructor
8668 * funcrequest.C: move stuff here from .h
8671 * BufferView_pimpl.C:
8674 * lyxfunc.C: subsequent changes
8676 * lyxfunc.h: new view() member function
8678 * lyxfunc.C: subsequent changes
8680 2002-08-13 Angus Leeming <leeming@lyx.org>
8683 * BufferView_pimpl.C:
8691 changes due to the changed LyXView interface that now returns references
8692 to member variables not pointers.
8694 2002-08-13 Angus Leeming <leeming@lyx.org>
8696 * WordLangTuple (word, lang_code): return references to strings,
8701 * lyxtext.h: forward-declare WordLangTuple.
8706 * text.C: #include "WordLangTuple.h".
8709 * text.C: (selectNextWordToSpellcheck): constify return type.
8711 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8717 * paragraph_pimpl.h:
8720 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8722 Made updateCounter always count from start of buffer, and removed
8723 second argument (par).
8724 Reverted floats number display to '#'. Perhaps I'll try again when the
8725 code base is sanitized a bit.
8727 2002-08-12 Angus Leeming <leeming@lyx.org>
8729 * buffer.[Ch] (getLabelList): constify.
8731 2002-08-07 André Pönitz <poenitz@gmx.net>
8733 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8735 * funcrequest.h: extension to keep mouse (x,y) position
8737 2002-08-12 Juergen Vigna <jug@sad.it>
8739 * BufferView2.C (insertErrors): forbid undo when inserting error
8742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8744 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8746 * ParagraphList.[Ch]: new files
8748 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8750 * BufferView2.C (lockInset): ParagraphList changes
8753 * bufferlist.C: ditto
8757 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8759 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8760 unused class variable counter_,
8762 * paragraph.[Ch] (getFirstCounter): delete unused function
8764 * counters.C: include LAssert.h
8765 (reset): add a new function with no arg, change other version to
8766 not have def. arg and to not allow empty arg.
8768 * text2.C (setCounter): remove empty arg from call to Counters::reset
8770 2002-08-11 John Levon <levon@movementarian.org>
8772 * Makefile.am: add WordLangTuple.h
8774 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8777 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8779 * insets/insettext.C: InsetList changes
8781 * graphics/GraphicsSupport.C (operator()): InsetList changes
8783 * toc.C (getTocList): InsetList changes
8785 * paragraph_pimpl.[Ch]: InsetList changes
8787 * paragraph.[Ch]: InsetList changes
8789 * buffer.C (inset_iterator): InsetList changes
8790 (setParagraph): ditto
8791 * buffer.h (inset_iterator): ditto
8792 * iterators.C (operator++): ditto
8793 * iterators.h: ditto
8795 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8797 * InsetList.[Ch]: new files, most InsetList handling moved out of
8800 * BufferView2.C (removeAutoInsets): InsetList changes
8802 (ChangeInsets): ditto
8804 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8806 * paragraph_pimpl.h (empty): new function
8808 * paragraph.[Ch] (empty): new function
8810 * other files: use the new Paragraph::empty function
8812 2002-08-09 John Levon <levon@movementarian.org>
8814 * lyxtext.h: remove unused refresh_height
8816 2002-08-09 John Levon <levon@movementarian.org>
8823 * paragraph.C: move sgml char escaping out of paragraph
8826 * paragraph.C: remove id setter
8830 * paragraph_pimpl.C: remove dead tex_code_break_column
8832 * bufferview_funcs.C: small cleanup
8834 * lyxfunc.C: remove dead proto
8836 * lyxtext.h: make some stuff private. Remove some dead stuff.
8838 * lyxgluelength.C: make as[LyX]String() readable
8840 2002-08-08 John Levon <levon@movementarian.org>
8845 * ToolbarDefaults.C:
8848 * toc.C: lyxaction cleanup
8850 2002-08-08 John Levon <levon@movementarian.org>
8852 * BufferView2.C: small cleanup
8855 * lyxfind.C: move unnecessary header into the .C
8857 2002-08-08 John Levon <levon@movementarian.org>
8859 * funcrequest.h: just tedious nonsense
8862 * lyx_main.C: cleanups
8865 * vspace.C: remove dead header lyx_main.h
8867 2002-08-07 Angus Leeming <leeming@lyx.org>
8870 * paragraph_pimpl.h:
8871 Forward declare class Counters in paragraph.h by moving the ctrs member
8872 variable into Paragraph::Pimpl.
8873 (counters): new method, returning a reference to pimpl_->ctrs.
8875 * text2.C: ensuing changes.
8877 2002-08-07 John Levon <levon@movementarian.org>
8879 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8881 * BufferView_pimpl.C: announce X selection on double/triple
8884 * lyx_main.C: use correct bool in batch dispatch
8886 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8888 2002-08-07 André Pönitz <poenitz@gmx.net>
8890 * funcrequest.h: new class to wrap a kb_action and its argument
8893 * BufferView_pimpl[Ch]:
8897 * lyxrc.C: subsequent changes
8900 2002-08-07 John Levon <levon@movementarian.org>
8902 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8903 document options change.
8905 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8910 * makefile.am: move counters functionality over from
8911 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8913 2002-08-06 John Levon <levon@movementarian.org>
8915 * WordLangTuple.h: new file for word + language code tuple
8926 * BufferView2.C: use WordLangTuple
8929 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8931 2002-08-06 John Levon <levon@movementarian.org>
8933 * lyx_main.C: fix cmdline batch handling
8935 2002-08-06 André Pönitz <poenitz@gmx.net>
8937 * lyxrc.C: set default for show_banner to true
8939 2002-08-06 John Levon <levon@movementarian.org>
8941 * pspell.C: fix a crash, and allow new aspell to work
8943 2002-08-06 John Levon <levon@movementarian.org>
8946 * kbmap.C: small cleanup
8949 * vspace.C: add const
8951 2002-08-05 John Levon <levon@movementarian.org>
8953 * LyXAction.C: back to tabular-insert
8955 2002-08-04 John Levon <levon@movementarian.org>
8958 * BufferView.C: cosmetic change
8960 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8970 * BufferView2.C: purge all "Lyx" not "LyX" strings
8973 * lyxcursor.C: attempt to add some documentation
8978 * ToolbarDefaults.C:
8979 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8980 merge with LFUN_TABULAR_INSERT
8987 * pspell.C: split up i/pspell implementations into separate
8988 files, many cleanups
8990 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8992 * text2.C: some cleanup
8994 * lyxfunc.C: don't check for isp_command == "none" any more, it
8995 didn't make any sense
8997 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9002 * makefile.am: move counters functionality over
9003 from text2.C/paragraph.[Ch] to counters.[Ch], and
9005 2002-08-02 John Levon <levon@movementarian.org>
9007 * buffer.C: s/lyxconvert/lyx2lyx/
9009 2002-08-02 Angus Leeming <leeming@lyx.org>
9011 * lyxlex.C: revert John's change as it breaks reading of the user
9014 2002-08-02 Angus Leeming <leeming@lyx.org>
9016 * importer.C (Import):
9017 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9018 changes due to LyXView::view() now returning a boost::shared_ptr.
9020 2002-08-02 John Levon <levon@movementarian.org>
9022 * lyxlex.C: small cleanup
9024 2002-08-02 John Levon <levon@movementarian.org>
9026 * text2.C (status): small cleanup, no logic change
9028 2002-08-01 John Levon <levon@movementarian.org>
9031 * buffer.C (writeFile): don't output alerts, caller
9035 * lyx_cb.C: from above
9037 * lyxfunc.C: allow to open non-existent files
9039 2002-07-31 John Levon <levon@movementarian.org>
9041 * lyxserver.C: don't let incidental errors get
9044 2002-07-30 John Levon <levon@movementarian.org>
9046 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9048 2002-07-30 John Levon <levon@movementarian.org>
9051 * lyxserver.C: remove I/O callback too
9053 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9058 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9060 * many files: strip,frontStrip -> trim,ltrim,rtrim
9062 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9064 * PrinterParams.h: remove extern containsOnly, and include
9065 support/lstrings.h instead.
9067 * LaTeX.C (scanAuxFile): modify because of strip changes
9069 * buffer.C (makeLaTeXFile): ditto
9070 * bufferparams.C (writeFile): ditt
9071 * lyxfont.C (stateText): ditto
9072 * lyxserver.C (read_ready): ditto
9073 * vc-backend.C (scanMaster): ditto
9075 * BufferView_pimpl.h: ws changes
9077 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9079 2002-07-26 André Pönitz <poenitz@gmx.net>
9081 * kb_sequence.C: remove unnedred usings
9083 2002-07-26 Juergen Vigna <jug@sad.it>
9085 * lyxfind.C (LyXReplace): we have to check better if the returned
9086 text is not of theLockingInset()->getLockingInset().
9088 2002-07-25 Juergen Vigna <jug@sad.it>
9090 * lyxfind.C (LyXReplace): don't replace if we don't get the
9093 * undo_funcs.C (createUndo): remove debugging code.
9095 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9097 * buffer.C (parseSingleLyXformat2Token): Use default placement
9098 when reading old floats.
9100 * FloatList.C (FloatList): Change the default placement of figure
9101 and tables to "tbp".
9103 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9105 * MenuBackend.C: using std::max
9107 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * MenuBackend.C (expandToc):
9110 (expandToc2): code moved from xforms menu frontend. It is now
9111 generic and TOCs are transparent to menu frontends.
9113 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9115 * toc.C (getTocList): protect against buf=0
9117 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9118 Menu as first parameter. Now, this calls itself recursively to
9119 expand a whole tree (this will be useful for TOC handling)
9120 (expandFloatInsert): remove 'wide' version of floats
9122 * MenuBackend.h (submenuname): returns the name of the submenu.
9123 (submenu): returns the submenu itself, provided it has been
9124 created by MenuBackend::expand
9126 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9128 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9129 insets which have noFontChange == true. (bug #172)
9131 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * BufferView_pimpl.C: add connection objects and use them...
9136 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9138 * MenuBackend.C (expandLastfiles):
9141 (expandFloatListInsert):
9142 (expandFloatInsert):
9143 (expand): split expand in parts
9145 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9147 * lyx_gui.C: use lyx_gui::exit()
9149 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9151 * LyXAction.C: show the failing pseudo action
9153 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9155 * buffer.C (readFile): Run the lyxconvert script in order to read
9158 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9162 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9164 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9168 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9170 2002-07-22 Herbert Voss <voss@lyx.org>
9173 * lyxlength.[Ch]: add support for the vertical lengths
9175 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9177 * toc.[Ch]: std:: fixes
9179 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * lyxrc.C: do not include lyx_main.h
9183 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9189 * BufferView2.C: include "lyxlex.h"
9192 * bufferparams.h: do not #include "lyxlex.h"
9194 * lyxtextclasslist.C (Add): remove method
9195 (classlist): renamed to classlist_
9197 * paragraph_pimpl.C:
9201 * bufferview_funcs.C:
9206 * toc.C (getTocList): use BufferParams::getLyXTextClass
9208 * toc.C (getTocList): use InsetFloat::addToToc
9210 * toc.[Ch]: new files, containing helper functions to handle table
9213 * lyxfunc.C (dispatch): no need to remove spaces around command
9215 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9216 first command of the sequence; it is not very clever, but I do not
9217 have a better idea, actually
9219 * LyXAction.C (LookupFunc): make sure to remove space at the
9220 beginning and end of the command
9222 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * MenuBackend.C (getMenubar): new method: return the menubar of
9226 (read): treat differently reading of menu and menubar (in
9227 particular, the menubar has no name now)
9228 (Menu::menubar): remove
9230 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9233 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9235 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9236 a bibitem inset in a RTL paragraph.
9238 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9240 * paragraph_pimpl.C: constify
9242 * BufferView_pimpl.C:
9244 * lyxfunc.C: fix dispatch in a nicer way
9246 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9248 * lyxfunc.C (dispatch):
9249 * BufferView_pimpl.C:
9250 * BufferView_pimpl.h:
9252 * BufferView.h: rename Dispatch() to dispatch()
9254 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9256 * lyxlayout.C (Read): honor DependsOn tag
9258 * lyxlayout.[Ch] (depends_on): new method
9260 * version.C.in: update lyx_docversion
9262 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9264 * paragraph.C (validate): remove from here...
9265 * paragraph_pimpl.C (validate): ... and move here
9266 (isTextAt): make it const
9268 * buffer.C (getLists): ws cleanup
9270 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9272 * language.C (read): Use iso8859-1 encoding in latex_lang
9273 (this prevents LyX from crashing when using iso10646-1 encoding).
9275 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9277 * text2.C (toggleInset): if cursor is inside an inset, close the
9278 inset and leave cursor _after_ it
9280 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9282 * lyxfunc.C: move minibuffer completion handling out of here
9284 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9286 * BufferView_pimpl.C:
9287 * LaTeX.C: fix dispatch calls
9289 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9291 * text.C (drawChars): Fix Arabic text rendering.
9293 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9297 * lyxfunc.C: remove message-push/pop
9301 * lyxfunc.C: rationalise some code by removing verboseDispatch
9302 in favour of a bool argument to dispatch()
9304 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9306 * lyx_main.C (init): make sure to read symlinks as absolute paths
9308 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9311 * lyxfunc.C: no need for commandshortcut to be a member
9313 2002-07-15 André Pönitz <poenitz@gmx.net>
9315 * converter.C: add support for $$s (scripts from lib/scripts dir)
9316 * lyx_main.C: white space
9318 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9322 * lyxrc.C: remove second exit confirmation
9324 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9329 * BufferView_pimpl.h:
9330 * BufferView_pimpl.C:
9331 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9333 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * MenuBackend.C (expand): add numeric shortcuts to document menu
9337 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9339 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * lyxfont.C (setLyXFamily):
9348 * buffer.C (asciiParagraph): use ascii_lowercase
9350 2002-07-15 Mike Fabian <mfabian@suse.de>
9352 * lyxlex_pimpl.C (search_kw):
9353 * lyxlex.C (getLongString):
9354 * converter.h (operator<):
9355 * converter.C (operator<):
9356 * buffer.C (parseSingleLyXformat2Token):
9358 * ToolbarDefaults.C (read):
9359 * MenuBackend.C (checkShortcuts):
9361 * LColor.C (getFromGUIName):
9362 (getFromLyXName): use the compare_ascii_no_case instead of
9363 compare_no_case, because in turkish, 'i' is not the lowercase
9364 version of 'I', and thus turkish locale breaks parsing of tags.
9366 2002-07-16 Angus Leeming <leeming@lyx.org>
9368 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9369 now takes a Buffer const & argument.
9371 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9373 * BufferView.C (resize): check there's a buffer to resize
9375 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9377 * lyxfunc.C: remove dead code
9380 * lyxserver.C: use lyx_guii::set_read_callback
9382 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9384 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9385 an inset in a RTL paragraph.
9387 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9389 * lyxfunc.C: repaint after a font size update
9391 2002-07-15 André Pönitz <poenitz@gmx.net>
9393 * lyxlength.C: inBP should be able to return negative values
9395 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9397 * lyxfunc.C: use lyx_gui::update_fonts()
9399 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9401 * lyxfunc.C: use lyx_gui::update_color()
9403 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9409 * lyxrc.C: remove file->new asks for name option, and let
9410 buffer-new take an argument
9412 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9414 * BufferView_pimpl.C: remove unneeded extra repaint()
9416 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9418 * LyXAction.C: allow command-sequence with NoBuffer
9420 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9422 2002-07-10 Angus Leeming <leeming@lyx.org>
9424 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9426 2002-07-09 Angus Leeming <leeming@lyx.org>
9428 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9430 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9432 * lengthcommon.h: whitespace
9434 * lyxfunc.C: update scrollbar after goto paragraph
9436 * lyxtext.h: factor out page break drawing, and fix it so
9437 page break/added space paints as selected nicely
9439 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9441 * BufferView_pimpl.C: add FIXMEs, clean up a little
9443 2002-07-09 André Pönitz <poenitz@gmx.net>
9445 * lyxfont.[Ch]: support for wasy symbols
9447 2002-07-08 André Pönitz <poenitz@gmx.net>
9449 * BufferView_pimpl.C: apply John's patch for #93.
9451 2002-07-05 Angus Leeming <leeming@lyx.org>
9453 * BufferView_pimpl.C (buffer): generate previews if desired.
9455 * LColor.h: add "preview" to the color enum.
9457 * LColor.C (LColor): add a corresponding entry to the items array.
9459 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9462 2002-07-05 Angus Leeming <leeming@lyx.org>
9464 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9465 The body of the code is now in the method that is passed an ostream &
9466 rather than a file name.
9467 Pass an additional only_preamble parameter, useful for the forthcoming
9470 2002-07-03 André Pönitz <poenitz@gmx.net>
9472 * lyxfunc.C: simplify getStatus() a bit for math stuff
9474 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9476 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9478 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9480 * text.C (changeRegionCase): do not change case of all the
9481 document when region ends at paragraph end (bug #461)
9483 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9485 * paragraph.C (startTeXParParams):
9486 (endTeXParParams): add \protect when necessary
9488 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * BufferView_pimpl.C (workAreaExpose): remove warning
9492 2002-06-27 Angus Leeming <leeming@lyx.org>
9494 * Makefile.am: add lyxlayout_ptr_fwd.h.
9496 2002-06-26 André Pönitz <poenitz@gmx.net>
9498 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9500 2002-06-25 Angus Leeming <leeming@lyx.org>
9502 * lyxfunc.C (dispatch): Comment out the call to
9503 grfx::GCache::changeDisplay. The method no longer exists now that the
9504 pixmap generation part of the graphics loader has been moved into
9507 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9509 * text2.C: layout as layout
9511 * text.C: layout as layout
9513 * tabular.C (OldFormatRead): layout as layout
9515 * paragraph_pimpl.C (TeXDeeper): layout as layout
9516 (realizeFont): layout as layout
9518 * paragraph.C (writeFile): layout as layout
9519 (validate): layout as layout
9520 (getFont): layout as layout
9521 (getLabelFont): layout as layout
9522 (getLayoutFont): layout as layout
9523 (breakParagraph): layout as layout
9524 (stripLeadingSpaces): layout as layout
9525 (getEndLabel): layout as layout
9526 (getMaxDepthAfter): layout as layout
9527 (applyLayout): layout as layout
9528 (TeXOnePar): layout as layout
9529 (simpleTeXOnePar): layout as layout
9530 (TeXEnvironment): layout as layout
9531 (layout): layout as layout
9532 (layout): layout as layout
9534 * lyxtextclass.C (compare_name): new functor to work with
9535 shared_ptr, layout as layout
9536 (Read): layout as layout
9537 (hasLayout): layout as layout
9538 (operator): layout as layout
9539 (delete_layout): layout as layout
9540 (defaultLayout): layout as layout
9542 * lyxlayout_ptr_fwd.h: new file
9544 * lyxlayout.C (Read): layout as layout
9546 * lyx_cb.C (MenuInsertLabel): layout as layout
9548 * bufferlist.C (newFile): layout as layout
9550 * buffer.C (readLyXformat2): layout as layout
9551 (parseSingleLyXformat2Token): layout as layout
9552 (insertStringAsLines): layout as layout
9553 (asciiParagraph): layout as layout
9554 (latexParagraphs): layout as layout
9555 (makeLinuxDocFile): layout as layout
9556 (simpleLinuxDocOnePar): layout as layout
9557 (makeDocBookFile): layout as layout
9558 (simpleDocBookOnePar): layout as layout
9559 (getLists): layout as layout
9561 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9563 * CutAndPaste.C (cutSelection): layout as layout
9564 (pasteSelection): layout as layout
9565 (SwitchLayoutsBetweenClasses): layout as layout
9567 * BufferView_pimpl.C (Dispatch): layout as layout
9568 (smartQuote): layout as layout
9570 * BufferView2.C (unlockInset): layout as layout
9572 2002-06-24 André Pönitz <poenitz@gmx.net>
9574 * lyxfunc.C: fix #487
9576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9580 * lyxfunc.C: remove display_shortcuts, show_banner
9582 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9584 * Buffer_pimpl.C: oops, update on resize
9586 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9593 * BufferView.C: use repaint()
9595 * BufferView_pimpl.h:
9596 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9597 as it's a clearer description. Remove superfluous
9600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9602 * text.C: fix bug 488. Not ideal, but getting
9603 getWord() to work properly for the insets that
9604 matter is more difficult ...
9606 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9608 * BufferView_pimpl.C:
9611 * lyxfunc.C: remove the six million index lyxfuncs to just
9612 one, and DTRT (bug 458)
9614 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9618 * BufferView_pimpl.h:
9619 * BufferView_pimpl.C: clean up resize() stuff,
9620 and unnecessary updateScreen()s
9622 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9626 * BufferView_pimpl.h:
9627 * BufferView_pimpl.C:
9630 * minibuffer.C: remove focus management of workarea,
9631 not needed. Use screen's greyOut()
9633 2002-06-17 Herbert Voss <voss@lyx.org>
9635 * converter.C: (convert) do not post a message, when converting
9636 fails, let the calling function decide what to do in this case
9638 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9640 * lyxfunc.C: tidy up a little
9642 2002-06-16 <alstrup@diku.dk>
9644 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9645 Got rid of FORMS_H_LOCATION include. Now we are
9648 2002-06-15 LyX Development team <lyx@rilke>
9650 * buffer.[Ch] (sgmlOpenTag):
9651 (sgmlCloseTag): Added support for avoiding pernicious mixed
9652 content. Return number of lines written.
9655 (makeDocBookFile): Fixed calls to sgml*Tag.
9656 Simple white space clean.
9658 (simpleDocBookOnePar): Simple white space clean.
9660 * tabular.[Ch] (docBook): Renamed to docbook and got another
9661 argument to related with the pernicious mixed content.
9663 (docbookRow): Fixed calls for docbook inset method.
9665 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9667 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9668 so it's X11 independent.
9672 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9674 2002-06-15 Lyx Development team <lyx@electronia>
9676 * intl.h: Renamed getTrans to getTransManager.
9678 2002-06-14 Angus Leeming <leeming@lyx.org>
9680 * Makefile.am: nuke forgotten stl_string_fwd.h.
9682 2002-06-12 Angus Leeming <leeming@lyx.org>
9684 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9686 2002-06-13 Angus Leeming <leeming@lyx.org>
9689 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9691 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9693 * kbmap.C (getiso): add support for cyrillic and greek
9695 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9699 * BufferView_pimpl.h:
9700 * BufferView_pimpl.C: move bogus scrolling logic
9703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9706 * BufferView_pimpl.C: view->resize() change
9708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9710 * BufferView_pimpl.C: topCursorVisible
9713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9717 * lyx_gui.C: move to frontends/
9721 * lyx_main.C: changes from above
9723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9730 * lyx_main.C: minor tidy
9732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9734 * BufferView_pimpl.h:
9735 * BufferView_pimpl.C:
9737 * BufferView.C: make painter() const,
9740 * BufferView2.C: use screen() accessor
9743 * lyx_main.C: some minor cleanup
9745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9747 * BufferView_pimpl.h:
9748 * BufferView_pimpl.C: remove enter/leaveView,
9751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9756 * BufferView_pimpl.h:
9757 * BufferView_pimpl.C: only construct screen once,
9760 * lyxrc.C: remove pointless comment
9762 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9765 * BufferView.C: remove active() and belowMouse()
9767 * BufferView_pimpl.h:
9768 * BufferView_pimpl.C: use workarea() not workarea_,
9769 and make it use a scoped_ptr instead
9771 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9773 * lyx_gui.C: add debug message on BadWindow
9775 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * sp_spell.C: fdopen is not part of the C++ standard.
9779 * paragraph.C (InsetIterator): use >= instead of ==
9781 2002-06-07 Angus Leeming <leeming@lyx.org>
9783 Fixes needed to compile with Compaq cxx 6.5.
9784 * BufferView_pimpl.C:
9791 * lyxtextclasslist.C:
9796 all c-library variables have been moved into namespace std. Wrap
9797 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9802 Add a using std::abs declaration.
9804 * kbmap.h (modifier_pair):
9805 * paragraph.h (InsetTable, InsetList):
9806 * lyxfont.h (FontBits):
9807 type definition made public.
9809 * bufferlist.C (emergencyWriteAll): the compiler complains that
9810 there is more than one possible lyx::class_fun template to choose from.
9811 I re-named the void specialisation as lyx::void_class_fun.
9813 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9815 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9816 the compiler is is unable to find tostr in write_attribute.
9818 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9820 * buffer.C (sgmlError): hide #warning
9822 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * xtl/*: get rid of xtl, which is not in use anyway
9826 * LyXAction.C (init):
9827 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9828 were unimplemented xtl experimentation
9830 2002-06-04 André Pönitz <poenitz@gmx.net>
9832 * lyxfunc.C: disable array operation on simple formulae
9834 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9836 * converter.C: constify a bit
9838 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9840 * lyx_gui.C: check xforms version correctly
9842 2002-04-30 Herbert Voss <voss@lyx.org>
9844 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9847 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9849 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9850 attempt to register it with a VCS)
9852 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9854 * lyx_main.C (init): honor variables LYX_DIR_13x and
9857 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9861 * lyx_main.C: fix a crash on bad command line,
9862 and give a useful exit status on error
9864 * lyxfunc.C (doImport): allow -i lyx to work
9866 2002-03-30 André Pönitz <poenitz@gmx.net>
9868 * lyxfunc.C: mathed font changes
9870 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9885 * trans_mgr.h: srcdocs, and some minor cleanups
9887 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9889 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9890 call getFont all the time)
9892 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * switch from SigC signals to boost::signals
9896 2002-05-29 André Pönitz <poenitz@gmx.net>
9898 * paragraph_pimpl.C (getChar): don't call size() too often...
9900 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9902 * paragraph_pimpl.C (insertChar): do not try to update tables when
9903 appending (pos == size())
9905 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9906 in order to reduce drastically the number of comparisons needed to
9907 parse a large document
9909 2002-05-29 André Pönitz <poenitz@gmx.net>
9915 * textclasslist.[Ch]:
9916 * sp_ispell.h: whitespace change
9918 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9920 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9921 lyxaction directly now.
9923 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9927 * lyxvc.C: remove unused headers
9929 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9936 * undo_funcs.C: some cleanups. Use shared_ptr
9937 and a template for the undo stacks.
9939 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9941 * BufferView_pimpl.h:
9942 * BufferView_pimpl.C:
9949 * text2.C: use key_state/mouse_state
9951 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9953 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9956 * chset.C: change include order
9957 (loadFile): use boost regex and get rid of LRegex and LSubstring
9959 * Makefile.am (BOOST_LIBS): new variable
9962 * LaTeX.C: change include order.
9963 (scanAuxFile): use boost regex and get rid of LRegex and
9967 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9972 * FontInfo.C: moved to frontends/xforms/
9975 * FontLoader.C: moved into frontends for GUIIzation
9980 * lyxfunc.C: changes from above
9982 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9984 * LColor.C: remove spurious X include
9986 * BufferView_pimpl.C:
9991 * text2.C: move font metrics to frontends/
9993 2002-05-24 Juergen Vigna <jug@sad.it>
9995 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9996 setting the undo_cursor.
9998 * ParagraphParameters.h: include local includes first.
10000 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10002 * BufferView_pimpl.C:
10003 * BufferView_pimpl.h:
10007 * screen.C: move WorkArea into frontends/
10013 * BufferView2.C: move LyXScreen into frontends/
10017 * lyx_gui.C: move lyxlookup into frontends/xforms/
10019 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10022 * BufferView_pimpl.C:
10032 * bufferview_funcs.C:
10045 * vc-backend.C: move LyX/XFormsView into frontends/
10047 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10059 * text2.C: move Painter to frontends/
10061 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * buffer.C: comment out some some code that depend upon lyx_format
10066 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10067 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10069 * buffer.h (NO_COMPABILITY): turn off compability
10071 * ColorHandler.C: include scoped_array.hpp
10073 * font.C: Use more specific smart_ptr header.
10076 * ShareContainer.h: ditto
10077 * lyx_main.h: ditto
10079 * FontInfo.h: ditto
10080 * BufferView_pimpl.h: ditto
10081 * ColorHandler.h: ditto
10083 * kbmap.C (defkey): change call to shared_ptr::reset
10085 2002-05-21 Juergen Vigna <jug@sad.it>
10087 * buffer.C (insertErtContents): fix to insert ert asis if it is
10088 non empty. Skip it completely if it contains only whitespaces.
10090 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10092 * BufferView_pimpl.C:
10093 * BufferView2.C: clear selection on paste (bug 393)
10095 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * DepTable.C: include ctime
10099 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10101 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10103 2002-05-14 Juergen Vigna <jug@sad.it>
10105 * text.C (breakParagraph): fixed function to honor the keepempty
10106 layout in the right maner and also to permit the right breaking
10107 algorithm on empty or non empyt keepempty paragraphs.
10109 * paragraph.C (breakParagraph): we have to check also if the par
10110 is really empty (!size()) for isempty otherwise we do the wrong
10113 2002-05-10 Juergen Vigna <jug@sad.it>
10115 * buffer.[Ch] : The following are only changes to the ert
10116 compatibility read reading old LaTeX layout and font stuff and
10117 convert it to ERTInsets.
10119 * buffer.h: added isErtInset().
10121 * buffer.C (struct ErtComp): add a fromlayout bool to check
10122 if we're inside a LaTeX layout.
10123 (isErtInset): new helper function.
10124 (insertErtContents): look for other ert insets before this one
10125 and insert the contents there, so that we don't have subsequent
10126 ERT insets with nothing between them. This way we create only one
10127 inset with multiple paragraphs. Also check if we don't insert only
10128 spaces ' ' as they are ignored anyway afterwards in the .tex file
10129 so if we have only spaces we will ignore this latex part in the
10131 (parseSingleLyXformat2Token \\layout): better compatibility when
10132 reading layout-latex stuff.
10133 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10135 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10136 stuff after reading the inset only get the information back from
10139 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10141 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10143 * LaTeXFeatures.C (getBabelOptions): New method.
10145 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * BufferView_pimpl.C (Dispatch): work around missing argument for
10150 2002-05-08 Juergen Vigna <jug@sad.it>
10152 * text.C (leftMargin): handle paragraph leftindent.
10154 * paragraph.C (writeFile): write the new \\leftindent tag.
10155 (validate): handle leftindent code.
10156 (TeXEnvironment): handle paragraphleftindent code again.
10158 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10160 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10161 for paragrap_extra indent code and new token \\leftindent.
10162 (latexParagraphs): handle the leftindent as environment.
10164 * ParameterStruct.h: added leftindent support.
10166 * ParagraphParameters.C (leftIndent): added support functions for
10167 the paragraph left indent.
10169 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10172 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10174 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10177 * text.C (computeBidiTables): No bidi in insetERT.
10179 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10182 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * version.C.in: pre 5
10186 2002-05-02 José Matos <jamatos@fep.up.pt>
10187 * buffer.C (makeDocBookFile): white space changes, add newline to
10189 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10191 * tabular.C (docBook): fix typo.
10193 2002-05-03 Juergen Vigna <jug@sad.it>
10195 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10196 change in LyXText as we can not be sure it was not freed.
10197 (drawOneRow): remove unused code.
10199 * text.C (drawInset): redo the calculation of the need_break_row as
10200 it could have a row which was already freed.
10201 (draw): look at the return value of drawInset and return false if
10202 it also returned false.
10203 (paintRowText): look at the return value of draw and return false if
10204 it also returned false.
10206 * lyxtext.h: added bool return type to drawInset() and draw() so that
10207 if we have a change in the row so that the rowbreak has to be redone
10208 we abort drawing as it will be called again.
10210 2002-05-02 Juergen Vigna <jug@sad.it>
10212 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10213 a change in the maintext also if we're inside an inset.
10214 (Dispatch): set the cursor again after a break line and after the
10215 screen has been updated as it could be we're in a different row.
10217 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10218 to set the cursor behind the pargraph with > size().
10219 (setCursor): check also for the same paragraph when checking where
10220 to put the cursor if we have a NFR inset.
10222 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10223 parts of layout read further up as it still was in the wrong
10226 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * screen.C (drawFromTo): change sine fullRebreak always return
10231 * buffer.C (parseSingleLyXformat2Token): reindent some
10233 * BufferView_pimpl.C (update): change since fullRebreak always
10235 (Dispatch): git rid of the last hardcoded "Standard"s.
10237 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * text2.[Ch] (fullRebreak): make it return void now that we always
10242 2002-04-30 Juergen Vigna <jug@sad.it>
10244 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10245 ert compatibility check for "latex" layout.
10247 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10249 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10250 minipages: use col% instead of p%, and also use the current font.
10251 (makeLaTeXFile): Fix use babel condition.
10252 (parseSingleLyXformat2Token): Correct font when reading old floats.
10254 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10256 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10257 inserting list of floats.
10259 2002-04-25 Herbert Voss <voss@lyx.org>
10261 * MenuBackend.C (expand): don't add the graphics extensions to the
10264 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10267 non-existing layout, do not complain if it was the default layout
10268 of the original class (bug #342)
10270 2002-04-24 Juergen Vigna <jug@sad.it>
10272 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10273 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10275 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10277 * buffer.C (getBibkeyList): If using \bibliography, return the
10278 option field with the reference itself. Enables us to provide natbib
10279 support when using \bibliography.
10281 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10283 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10285 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10286 natbib is provided by the LaTeX class.
10288 2002-04-23 Juergen Vigna <jug@sad.it>
10290 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10293 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10295 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10297 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10299 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10300 ensuremath around textordmasculine, textordfeminine and
10303 2002-04-19 Juergen Vigna <jug@sad.it>
10305 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10306 reinitializing the buffer otherwise row-dimensions may be wrong.
10307 (update): reset also the selection cursors if they do exits otherwise
10308 their x/y positions may be wrong.
10310 * text2.C (cursorDown): don't enter the inset if we came from a row
10311 above and are one row over the inset.
10313 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10314 really leaving an inset.
10316 2002-04-18 Juergen Vigna <jug@sad.it>
10318 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10319 of the selected paragraph does not have the selected layout also if
10322 * text2.C (setLayout): fixed bug which did not change last selected
10325 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10326 changed the read and substituted \\end_float with \\end_inset!
10328 * BufferView_pimpl.C (cursorPrevious):
10329 (cursorNext): fixed to make it work with rows heigher than the work
10330 area without moving the cursor only the draw of the row.
10331 (workAreaMotionNotify): fix jumping over high rows.
10333 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10335 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10338 2002-04-16 Juergen Vigna <jug@sad.it>
10340 * text2.C (setCursor): set also the irow().
10341 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10343 (cursorDown): support for locking an inset if the x_fix value goes
10344 inside it. That way I can transverse insets too with cursor up/down.
10346 * lyxrow.h: added irow helper function same as other (i) functions.
10348 * BufferView_pimpl.C (cursorPrevious):
10349 (cursorNext): fixed for insets!
10351 2002-04-15 Juergen Vigna <jug@sad.it>
10353 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10354 position otherwise it is wrong in some cases.
10356 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10357 inside the inset before the call.
10359 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10361 * buffer.[Ch] (getBibkeyList): make it const.
10363 2002-04-12 Juergen Vigna <jug@sad.it>
10365 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10367 * text2.C (getCursorX): new helper function
10368 (setCursor): compute also ix_
10369 (setCursorFromCoordinates): set also ix.
10371 * lyxcursor.h: added ix_ and helper functions.
10373 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10375 * buffer.C (insertStringAsLines): dont break paragraph if the this
10376 paragraph is inside an inset which does not permit it!
10378 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10379 also with no chars on this paragraph.
10380 (paintRowText): only paint stuff if it's inside the workarea!
10382 * paragraph.C (breakParagraph): honor keepempty flag and break the
10383 paragraph always below not above.
10385 * BufferView2.C (unlockInset): update the paragraph layout on inset
10386 unlock as we changed paragraph in such a case.
10388 * lyxfind.C (LyXFind): clear the former selection if not found!
10390 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10391 again called in insertChar().
10393 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10394 an inset which uses the whole row!
10395 (rightMargin): ditto.
10396 (insertChar): force a rebreak if we inserted an inset!
10398 2002-03-28 Herbert Voss <voss@lyx.org>
10400 * lyxlength.[Ch]: add inBP() to get the right PS-point
10401 units (BigPoint). With inPixels we have rounding errors
10403 2002-04-11 Juergen Vigna <jug@sad.it>
10405 * text2.C (setCursorFromCoordinates): set iy to the right value.
10406 (setCursor): add check if row->previous exists!
10408 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10409 an old float_type as this was the case in the old code!
10411 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10413 * BufferView2.C (showLockedInsetCursor): use iy
10414 (fitLockedInsetCursor): ditto
10416 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10417 locked insets as there we have the right value now.
10419 * lyxcursor.C: added iy_ variable and iy functions to set to the
10420 baseline of cursor-y of the locked inset.
10422 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10423 (setCursor): fixed for insets which need a full row.
10425 * text.C (rowLastPrintable): don't ignore the last space when before
10426 an inset which needs a full row.
10427 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10428 as last character of a row when before a inset which needs a full row.
10430 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * version.C.in: update date
10434 * text2.C (fullRebreak): try to always return true and see what
10437 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * MenuBackend.C (expand): use Floating::listName
10441 * FloatList.C (FloatList): add listName argument to the built-in
10444 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10445 text associated with the float.
10447 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10449 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10451 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10453 * ShareContainer.h: add a couple of missing typenames.
10455 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10457 * lyxrc.C (getDescription): use _() correctly rather than N_().
10459 2002-03-28 Herbert Voss <voss@lyx.org>
10461 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10462 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10464 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10467 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10469 2002-03-29 Juergen Vigna <jug@sad.it>
10471 * lyxfunc.C (dispatch): add a missing fitCursor call.
10473 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10474 it was scrolled by a cursor move, so return the bool status.
10476 * BufferView.C (fitCursor): return the bool flag also to the outside
10477 world as this is needed.
10479 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10481 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10482 call the edit() as it is not needed (and wrong) IMO.
10483 (workAreaButtonPress): set the screen_first variable before evt.
10484 unlock the inset as this may change screen_first and then we have
10485 a wrong y position for the click!
10487 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * MenuBackend.C (expand): another translation that I missed
10491 2002-03-28 Juergen Vigna <jug@sad.it>
10493 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10495 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10497 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10499 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10501 * MenuBackend.C (expand): fix export/view/update when there is no
10504 2002-03-27 Herbert Voss <voss@lyx.org>
10506 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10509 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * bufferview_funcs.C (currentState): only show paragraph number
10512 for is DEVEL_VERSION is set.
10514 * lyxfunc.C (dispatch): put warning in INFO channel
10516 * MenuBackend.C (expand): translate the name of floats
10518 * FloatList.C (FloatList): mark the float names for translation
10520 * converter.C (convert): use LibScriptSearch
10522 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * MenuBackend.C (defaults): fix default menu (we might as well get
10527 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10529 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10532 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10534 * lyxvc.C: reorder includes.
10536 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10538 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10541 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10543 * CutAndPaste.C: change layouts earlier on paste
10544 to avoid crashing when calling getFont()
10546 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10548 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10551 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * WorkArea.C: remove 'Pending' debug message.
10555 * most files: ws cleanup
10557 * buffer.[Ch]: ws changes
10559 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10561 2002-03-21 Juergen Vigna <jug@sad.it>
10563 * tabular.C (SetMultiColumn): collapse also the contents of the
10564 cells and set the last border right. Added a Buffer const * param.
10566 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10571 2002-03-19 Juergen Vigna <jug@sad.it>
10573 * text2.C (clearSelection): reset also xsel_cache.
10575 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10576 where it needs to be called (John tells us to do so too :)
10577 (selectionLost): reset sel_cache.
10579 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10581 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * text2.C (setCursorIntern): put debuging code in INSETS channel
10585 2002-03-19 André Pönitz <poenitz@gmx.net>
10587 * lyxfunc.C: tiny whitespace change
10589 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * ToolbarDefaults.C (init):
10592 * LyXAction.C (init):
10594 * BufferView_pimpl.C (Dispatch):
10595 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10597 2002-03-19 Allan Rae <rae@lyx.org>
10599 * exporter.C (Export): removeAutoInsets before doing anything else.
10600 While I've just introduced a dependency on BufferView this really is
10601 the best place to clean the buffer otherwise you need to cleanup in
10602 a dozen places before calling export or cleanup in a dozen functions
10605 * converter.C (runLaTeX):
10606 (scanLog): Better handling of removeAutoInsets and screen updates.
10608 * lyxfunc.C (dispatch): small whitespace changes
10610 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * WorkArea.C (C_WorkAreaEvent): return a value.
10613 (event_cb): return 1 if we handled the event, 0 otherwise.
10615 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10617 2002-03-18 Juergen Vigna <jug@sad.it>
10619 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10620 (GetAdditionalWidth): ditto.
10621 (RightLine): ditto.
10624 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10625 inset if we're there actually (probably not used right now but this
10626 is the direction to go for unifying code).
10627 (paste): disable code to clear the selection.
10629 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10630 inside an InsetText and move the check further up as it is in the
10633 * text2.C (pasteSelection): set a selection over the pasted text.
10635 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10637 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10638 and libgraphics to build on Cygwin.
10640 2002-03-15 Juergen Vigna <jug@sad.it>
10642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10643 inserting an Inset into the paragraph. I know this is not the best
10644 fix but we already use current_view in CutAndPaste so we will remove
10645 all of it's using at the same time.
10647 * buffer.C (sgmlError): deactivated function till it is rewritten in
10648 the right mode, now it can create problems.
10650 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10651 before accessing it.
10653 2002-03-14 Juergen Vigna <jug@sad.it>
10655 * undo_funcs.C (textHandleUndo): do the right thing when updating
10656 the inset after the undo/redo.
10658 * text2.C (setCursor): just some testcode for #44 not ready yet.
10660 * undo_funcs.C (textHandleUndo): set the next() and previous()
10661 pointers of the paragraph to 0 before deleting otherwise we have
10662 problems with the Paragraph::[destructor].
10664 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10665 on a paragraph insertion.
10667 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * buffer.C (asciiParagraph): use += operator for char append to
10672 * paragraph.C (getFontSettings): compare >= not just >
10673 (highestFontInRange): ditto
10676 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10678 * paragraph.C: change several algorithm to be more appripriate for
10679 the problem domain. This is lookip in FontList and in the InsetList.
10681 2002-03-13 André Pönitz <poenitz@gmx.net>
10684 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10686 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10691 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10693 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * Painter.C (display): anon helper function, adjust code for this
10697 (pixmap): remove function.
10699 * Painter.h: remove private display variable.
10701 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10703 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10705 * WorkArea.[Ch]: remove figinset_canvas cruft.
10707 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10709 * lyxtextclass.C (operator): add one item cache optimization.
10711 * bufferlist.h: doxy changes
10713 * bufferlist.C: ws changes
10715 * DepTable.[Ch] (ext_exist): place const in the right spot.
10717 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10719 (workAreaExpose): call resizeInsets when the with BufferView changes.
10720 (Dispatch): adjust for protectedBlank removal
10721 (specialChar): call updateInset if the insert went ok.
10723 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10724 specialChar instead.
10726 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10728 * BufferView.h: doxy change
10730 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10732 * lyxtextclass.C (operator[]): remove non-const version
10733 (defaultLayout): remove non-const version
10735 2002-03-12 Juergen Vigna <jug@sad.it>
10737 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10738 did resize the LyXText too.
10740 * buffer.C (readLyXformat2): set layout information on newly allocated
10743 * tabular.C (OldFormatRead): set layout information on the paragraph.
10745 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10747 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10749 2002-03-11 Juergen Vigna <jug@sad.it>
10751 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10753 (resizeCurrentBuffer): force also the insets to resize themselfes.
10754 (moveCursorUpdate): fixed up for InsetText.
10756 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10759 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10760 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10761 value of Dialogs::tooltipsEnabled().
10762 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10764 2002-03-08 Juergen Vigna <jug@sad.it>
10766 * BufferView_pimpl.C (updateInset): update inset inside inset also
10767 if it isn't inside theLockingInset().
10769 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10771 * buffer.C (asciiParagraph): redo some of the word and line length
10773 (getLists): look for Caption instead of caption.
10775 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10777 * buffer.C (Buffer): initialize niceFile to true
10779 (makeLinuxDocFile):
10780 (makeDocBookFile): make sure niceFile is true on exit
10782 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10786 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10788 * LyXSendto.C: remove.
10789 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10790 * lyx_gui.C: remove now-redundant comment.
10791 * ColorHandler.h: remove forward declaration of class WorkArea.
10792 * lyxfunc.C: remove #include "WorkArea.h".
10794 2002-03-07 Juergen Vigna <jug@sad.it>
10796 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10797 got moved away with the DEPM and also set the inset_owner always
10798 right which before could have been omitted.
10800 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10803 wanted layout is not found.
10805 2002-03-07 Juergen Vigna <jug@sad.it>
10807 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10809 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * paragraph.C (breakParagraph): use default layout not layout of
10813 (Paragraph): clear ParagraphParameters.
10815 2002-03-06 Juergen Vigna <jug@sad.it>
10817 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10818 otherwise it would not be a valid lenght. Fixed a special case in
10819 the minipage compatibility read where we end the document with a
10822 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10823 was set as it could be 0 for InsetTexts first entry.
10825 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * paragraph.C (writeFile): if layout is empty write out
10828 defaultLayoutName().
10830 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10831 file without named layout we set layout to defaultLayoutName().
10833 2002-03-06 Juergen Vigna <jug@sad.it>
10835 * CutAndPaste.C (copySelection): set layout for new paragraph.
10837 * text.C (prepareToPrint): leave ERT inset left aligned
10838 (leftMargin): don't indent paragraphs inside ERT insets
10840 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * paragraph.C (breakParagraph): dont call clear do the work manually
10844 * paragraph.[Ch] (clear): remove function
10846 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10848 * paragraph.C (Paragraph): dont call clear, the work has already
10851 * lyxtextclass.C (operator): assert if n is empty
10853 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10854 work manually instead.
10856 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10858 * BufferView_pimpl.C: protect selectionLost against text == 0
10860 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10862 * text.C (breakParagraph): fix a setting layout to '0' problem.
10864 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10866 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10867 final location of file, for the included files, and graphics.
10869 2002-03-05 Juergen Vigna <jug@sad.it>
10871 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10873 2002-03-04 Juergen Vigna <jug@sad.it>
10875 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10877 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10878 last column of multicolumn cells.
10879 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10881 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10883 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10884 file if it doesn't go to a temporary file.
10886 * buffer.C (sgmlOpenTag):
10887 (sgmlCloseTag): remove extra newline insertion.
10889 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10891 * text.C (getRowNearY): comment out debug msg
10893 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * text2.C: first -> first_y
10897 * text.C (getRowNearY): add some attemts at a possible
10898 optimization, not working.
10900 * tabular.[Ch]: add BufferParams to several function so that newly
10901 created paragraph can be initialized to he default layotu for the
10904 * tabular-old.C (ReadOld): add buf->params to call of Init
10906 * screen.C: rename text->first to text->first_y
10908 * paragraph.C (breakParagraph): always set layout in the broken
10911 * lyxtextclass.C (Read): remove lowercase
10914 (delete_layout): ditto
10916 * lyxtext.h: rename first -> first_y
10918 * lyxlayout.C (Read): remove lowercase
10921 (obsoleted_by): ditto
10923 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10925 * buffer.C (insertErtContents): add params are to InsetERT
10926 (parseSingleLyXformat2Token): add code to check if a paragraphs
10927 layout really exist.
10928 (parseSingleLyXformat2Token): add params to several inset
10930 (asciiParagraph): remove lowercase, do the layout comparisons with
10933 * BufferView_pimpl.C (cursorNext): first -> first_y
10934 (resizeCurrentBuffer): first -> first_y
10935 (updateScrollbar): first -> first_y
10936 (scrollCB): first -> first_y
10937 (workAreaMotionNotify): first -> first_y
10938 (workAreaButtonPress): first -> first_y
10939 (checkInsetHit): first -> first_y
10940 (cursorPrevious): first -> first_y
10941 (cursorNext): first -> first_y
10942 (Dispatch): add buffer_->params to severl inset contructors
10944 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10946 * lyxlayout.C (Read): remove some debug info that I forgot.
10948 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10949 clean up the code slightly.
10950 (makeLinuxDocFile): ditto
10951 (makeDocBookFile): ditto
10953 * text2.C: layout as string
10955 * text.C: layout as string
10957 * paragraph_pimpl.C: layout as string
10959 * paragraph.[Ch]: layout as string
10961 * lyxtextclasslist.[Ch]: layout as string
10963 * lyxtextclass.[Ch]: layout as string
10965 * lyxtext.h: layout as string
10967 * lyxlayout.[Ch]: layout as string
10969 * lyx_cb.C: layout as string
10971 * bufferview_funcs.C: layout as string
10973 * bufferparams.C: layout as string
10975 * buffer.C: layout as string
10977 * LyXView.[Ch]: layout as string
10979 * LaTeXFeatures.[Ch]: layout as string
10981 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10983 * BufferView_pimpl.C: change current_layout to string, remove
10988 (workAreaButtonRelease): layout as string
10990 * BufferView2.C (unlockInset): adjust
10992 * vspace.C (asLatexCommand): use an explict temp variable.
10994 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10996 * Makefile.am: use FRONTEND_*
10998 2002-03-01 Juergen Vigna <jug@sad.it>
11000 * tabular.C (SetWidthOfMulticolCell): changed to something better
11001 I hope but still work in progress.
11002 (recalculateMulticolumnsOfColumn): renamed function from
11003 recalculateMulticolCells as it is more appropriate now.
11004 (SetWidthOfCell): calculate multicols better.
11006 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11010 * lyxfunc.C (processKeySym): print sequence also if it is
11011 `deleted' (complete)
11013 * kbsequence.C (print): print sequence even if it is deleted
11014 (complete would be a better word, actually).
11016 * lyxfunc.C (dispatch): print complete options after a prefix key
11018 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11020 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11022 * text2.C (setCharFont): eliminate setCharFont code duplication.
11024 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11027 LFUN_TABULAR_FEATURE (bug #177)
11029 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11031 * Makefile.am: remove figure.h
11033 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11035 * Bufferview_pimpl.C:
11047 * text2.C: remove #include "lyx_gui_misc.h".
11049 * LaTeX.C: added #include <cstdio>
11051 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11053 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11054 that the paragraph following this one can have.
11056 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11058 * vspace.C (asLatexCommand): fix bogus gcc warning
11060 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11062 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11064 * text2.C (setLayout): get rid of redundant code
11066 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11068 * text2.C (incDepth): make sure depth cannot be increased beyond
11071 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11073 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11074 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11076 * PainterBase.h (image):
11077 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11078 a LyXImage const *.
11080 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11084 * BufferView_pimpl.C:
11085 * BufferView_pimpl.h:
11105 * sp_spell.C: remove fig inset, and the crap house of
11106 cards that follows it
11108 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11113 * os2_errortable.h:
11114 * nt_defines.h: move .h into support/
11116 * vms_defines.h: remove
11118 * WorkArea.C: add space in debug output
11122 * buffer.C: add WITH_WARNINGS
11126 * bufferlist.C: s/retrive/retrieve/, add docs
11135 * chset.C: add docs
11137 * lyxgui.C: add ID to X error handler
11139 * lyxtestclass.c: fix typo
11141 2002-02-26 Juergen Vigna <jug@sad.it>
11143 * tabular_funcs.C (write_attribute): changed so that some default
11144 attributes are not written at all.
11145 (getTokenValue): set default values before trying to read the
11146 value so we have the return value always set as default if we don't
11147 find the token we search for.
11149 * tabular.C (Write): write bools as bools not as strings!
11151 2002-02-22 Juergen Vigna <jug@sad.it>
11153 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11154 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11156 * text.C (leftMargin): don't add an indent for paragraphs inside
11157 tabular cells (fix #208).
11159 2002-02-21 José Matos <jamatos@fep.up.pt>
11161 * tabular.C (docBook): fixed support for long tables.
11163 2002-02-20 Juergen Vigna <jug@sad.it>
11165 * text2.C (getFont): get the drawing font of the Inset if this
11166 paragraph is inside an inset (only important for InsetERT for now).
11168 * buffer.C (insertErtContents): use new lanugage params in ERT
11171 * CutAndPaste.C: commenting out seemingly uneeded code.
11173 2002-02-19 Allan Rae <rae@lyx.org>
11175 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11176 Iterators might be simple to use but they also get invalidated.
11177 (removeAutoInsets): renamed saved cursor tracking variables and added
11178 some comments to clarify what everything does.
11180 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11187 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11188 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11191 * vc-backend.h: remove #include "support/syscall.h"
11195 * converter.C: rearrange #includes in Lars' approved fashion.
11197 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11198 forward declare class Timeout in the header file.
11200 * XFormsView.C: changes due to the above.
11202 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11203 similar to LyXView.
11205 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11206 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11208 2002-02-18 José Matos <jamatos@fep.up.pt>
11210 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11213 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11215 * a lot of small ws changes
11216 * add a lot of using std::XXX
11217 * use std construcs some places where approp.
11218 * use some exisint stuff from lyxfunctional where approp.
11219 * Make file changes to use partial linking (lets test this now...)
11221 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11225 remove #include "support/syscontr.h" as it's redundant. Always has been.
11233 change Systemcalls::System to Systemcalls::Wait and
11234 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11235 No change of functionality, just reflects the stripped down Systemcalls
11238 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11240 * debug.[Ch]: add a GRAPHICS type to the enum.
11242 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11244 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11246 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11249 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11252 match the changes below.
11254 * text2.C (toggleInset): if there is not editable inset at cursor
11255 position, try to see if cursor is _inside_ a collapsable inset
11258 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11260 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11261 document menu has a nice checkbox
11263 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11265 * lyxlength.C (asLatexString): change PW to output as percent of
11268 * lengthcommon.C: change '%' to 't%'
11270 * lyxfunc.C (dispatch): a few comments from Martin
11272 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11276 * BufferView_pimpl.h:
11277 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11280 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * vspace.C (inPixels): fix compiler warning
11284 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * lyxfunc.C (getStatus): fix status message for disabled commands.
11288 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11290 * BufferView_pimpl.C: fix crash on close buffer
11291 during selection (#227)
11293 2002-01-27 Herbert Voss <voss@lyx.org>
11295 * buffer.C: link old Figure to new graphic inset
11297 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11299 * FontLoader.C (getFontinfo): Change the latex font names in order
11300 to match the names of type1inst.
11302 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11306 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11307 (extchanged): ditto
11309 (remove_files_with_extension): ditto
11310 (remove_file): ditto
11313 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11314 document is smaller than the work area height. Do not initialize
11315 static variables to 0.
11317 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11321 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11322 LFUN_LAYOUT_PARAGRAPHS.
11324 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11325 tabular. It is possible to provide a possible cell, which will
11326 typically be the actcell from the corresponding insettabular
11328 * lyxfunc.C (getStatus): small cleanup; disable
11329 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11332 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11334 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11336 * paragraph.C (startTeXParParams):
11337 (endTeXParParams): new methods. The LaTeX code to
11338 start/end paragraph formatting
11339 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11340 empty (fixes bug #200)
11342 * vspace.C (inPixels): adapt to the change below
11343 (inPixels): [later] more cleanups (remove unused variables)
11345 * lyxlength.C (inPixels): change to use a width and a height as
11348 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11351 Replaced with \paperwidth
11353 * DepTable.C (insert): add std:: qualifier
11355 2002-01-18 Allan Rae <rae@lyx.org>
11357 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11360 * text.C (drawInset): Turned out I didn't know enough about how
11361 rebreaking worked. This fixes most of the redraw problems. I see
11362 an occasional cursor trail when a line is broken now and the cursor
11363 placement can seem out by a few pixels also after a rebreak.
11365 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * buffer.C (parseSingleLyXformat2Token): update because minipage
11368 width is now a LyXLength
11370 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11372 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11375 2002-01-17 Juergen Vigna <jug@sad.it>
11377 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11379 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11380 is set correctly and the inset is updated correctly.
11382 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11385 the beginning of the loop.
11387 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11389 * lyxrc.C: improve help for use_scalable_fonts
11391 2002-01-17 Allan Rae <rae@lyx.org>
11393 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11395 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11397 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11398 make sure to set their inset_owner to the right value (bug #171)
11400 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11403 * DepTable.C: Implement mtime checking to reduce time spent doing
11406 2002-01-16 Juergen Vigna <jug@sad.it>
11408 * tabular.C (GetAdditionalHeight): one of error fixed.
11410 * lyxrc.C (output): small fix in writing use_pspell.
11412 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11414 * sp_base.h: #include LString.h
11416 2002-01-16 Allan Rae <rae@lyx.org>
11418 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11419 Can someone check this please?
11421 * text.C (drawInset): It was possible that p.row would be removed by
11422 breakAgainOneRow upsetting a few other settings. There may be another
11423 small tweak possible by setting need_break_row = 0 when p.row has been
11424 removed but I don't know enough about the logic here.
11426 2002-01-15 Allan Rae <rae@lyx.org>
11428 * text.C (insertChar): removed conditional truism.
11430 * BufferView2.C (removeAutoInsets): More tweaks.
11431 cur_par_prev could be a stray pointer. Check for trailing empty line
11432 in case last line was cur_par and only had an error inset on it.
11434 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11439 * vc-backend.C (most methods):
11440 * exporter.C (Export):
11441 * converter.C (convert):
11443 * LyXSendto.C (SendtoApplyCB):
11444 * lyxfunc.C (dispatch):
11448 * lyx_cb.C (AutoSave):
11450 * BufferView_pimpl.C (MenuInsertLyXFile):
11451 * buffer.C (runChktex): use Buffer::filePath().
11453 * buffer.h: rename filename to filename_; rename filepath to
11454 filepath_ and make it private
11455 (filePath): new method
11457 * buffer.C (writeFile): use fileName()
11460 * lyx_main.C (init): fix starting of LyX when the binary is a
11461 link from so,ewhere else.
11463 * minibuffer.C: include <cctype> for isprint
11465 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11467 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11468 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11469 name clash with InsetCollapsable's width function.
11471 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * lastfiles.C: include <iterator>
11475 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11477 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11480 * buffer.C (makeLaTeXFile): ditto.
11481 Also make loop operation more transparent.
11483 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11485 * ToolbarDefaults.C: remove trailing comma closing namespace.
11487 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11489 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11492 * trans.C (Load): comment out unused variable, allowed.
11494 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11496 * minibuffer.[Ch] (append_char): new method to recieve input from the
11497 drop-down completion browser. If a key was pressed, then recieve this
11498 char and append it to the existing string.
11499 (peek_event): modify the positioning data passed to the completion
11500 browser so that it can be placed above the minibuffer rather than below.
11501 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11503 * LyXAction.C (init): alloe error-next for readonly documents.
11505 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11508 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11510 * bufferlist.C (readFile): create the buffer _after_ checking that
11513 * lyxfunc.C (verboseDispatch): fix handling of arguments
11515 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11517 * lyxrc.C: use string::erase() instead of initializing to "".
11520 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11522 * BufferView_pimpl.h:
11523 * BufferView_pimpl.C:
11526 * text2.C: tell X when we have made a selection for copying
11528 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * BufferView_pimpl.C (MenuInsertLyXFile):
11531 * lyxfunc.C (menuNew):
11533 (doImport): add shortcuts to directory buttons
11535 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11538 * lyxfunc.C (setStatusMessage):
11539 (getStatusMessage): new methods
11540 (getStatus):use setStatusMessage instead of setErrorMessage
11541 (dispatch): when function is disabled, set error message here
11542 [instead of in getStatus previously]
11544 * BufferView_pimpl.C (workAreaButtonRelease): update
11545 toolbar/menubar here too.
11547 2002-01-13 Allan Rae <rae@lyx.org>
11549 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11550 Now seems indestructible. Remaining task is to audit all other
11551 code affected by deleteEmptyParagraphMechanism. One small quirk
11552 left is that an empty document with an error in the preamble can
11553 be made to report an error but no error box appears. I don't know
11555 (removeAutoInsets): Improved comments.
11557 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11560 * Thesaurus.C: update for Aiksaurus 0.14
11562 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11564 * text2.C (firstParagraph): removed member function, all uses
11565 replaces with ownerParagraph
11566 (redoParagraphs): here
11567 (updateInset): here
11568 (toggleAppendix): here
11569 * BufferView2.C (insertErrors): here
11570 (setCursorFromRow): here
11572 2002-01-13 Allan Rae <rae@lyx.org>
11574 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11575 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11576 There is still a way to segfault this although you may have to do this
11577 multiple times: Have an InsetERT with an unknown command in it.
11578 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11579 <down-arrow>, <Enter> again, View->DVI, BANG!
11581 * text2.C (setCursor):
11582 (deleteEmptyParagraphMechanism):
11583 * lyxtext.h (setCursor):
11584 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11585 Making use of the return value may help fix other bugs.
11587 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11589 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11591 * LyXView.C (updateMenubar): call MenuBar::update here
11592 (updateToolbar): but not here
11593 (showState): do not update toolbar/menubar
11595 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11596 should need to care about that.
11598 * lyxfunc.C (verboseDispatch): simplify a bit
11599 (getStatus): have a version which takes a pseudoaction, and
11600 another which requires a (kb_action,string).
11602 * LyXAction.C (retrieveActionArg): make it work also when action
11603 is not a pseudo-action.
11604 (getActionName): simplify a bit
11607 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * lyxfunc.C (verboseDispatch): new families of methods with
11610 several ways to specify a command and a bool to indicate whether
11611 the command name and shortcut should be displayed in minibuffer
11612 (eventually, we could extend that to a finer bitmask like
11613 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11614 (dispatch): the pristine dispatch command which just, well,
11615 dispatchs! Note it still sets its result to minibuffer; I'm not
11618 * lyxfunc.h: remove setHintMessage
11620 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11622 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11624 * BufferView_pimpl.C (specialChar): delete new inset if we have
11625 not been able to insert it.
11627 * kbmap.C: revert to using int instead of kb_action, since all we
11628 are dealing with is pseudo-actions.
11630 * LyXAction.C (searchActionArg): change to return int instead of
11631 kb_action, since the result is a pseudoaction.
11633 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11635 * buffer.C (insertErtContents): Fix (partially) the font bug.
11637 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11639 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11640 as the other one is broken on my machine!
11642 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11645 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11647 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11649 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11650 reflect their actual use. Provide compatibility code for older lyxrc
11653 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11655 change names of popup font variables in line with the changes to lyxrc.C
11657 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11659 * buffer.C (asciiParagraph): avoid outputing a word twice after
11662 * lyxrc.C (getDescription): document that document_path and
11663 template_path can be empty.
11665 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11667 * LaTeXFeatures.C (getMacros):
11668 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11670 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11672 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11674 (getPackages): rename feature "floats" to "float". Use an array to
11675 iterate over 'simple' features (i.e. just a \usepackage). Add
11676 handling of "amsmath" (renamed from "amsstyle").
11678 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11680 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11683 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11685 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11686 FuncStaus::FuncStatus & FuncStaus::some_method().
11688 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11690 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11691 of the func_satus stuff. Edited and massaged in various ways by
11694 * lyxfunc.C (getStatus): use FuncStatus
11696 2002-01-08 Juergen Vigna <jug@sad.it>
11698 * text.C (nextBreakPoint): use function Inset::isChar().
11700 * paragraph.C (TeXOnePar): use function
11701 Inset::forceDefaultParagraphs.
11703 * buffer.C (latexParagraphs): use function
11704 Inset::forceDefaultParagraphs.
11706 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11708 * lyx_gui.C (init): set the style of the menu popups to
11709 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11711 2002-01-07 Juergen Vigna <jug@sad.it>
11713 * text.C (setHeightOfRow): small fix
11714 (prepareToPrint): don't look at alignment if we don't have the place
11717 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11719 * box.C: New file. Move the Box methods and functions out of box.h,
11720 following Lars' suggestion.
11722 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11724 * box.h: #include "support/LOstream.h", needed for inlined function.
11727 * lyxtextclasslist.C: added some using std declarations.
11729 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11731 * box.h: make signed dimensions to allow insets wider than
11732 the screen (bug #162)
11734 * BufferView_pimpl.C: add some insetHit debug
11736 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11738 * vc-backend.C: add FIXME
11740 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * lyxfunc.C (getStatus): enable code for showing math font status
11745 2002-01-07 Juergen Vigna <jug@sad.it>
11747 * text.C (nextBreakPoint): removed debug output not needed anymore.
11749 2002-01-06 Juergen Vigna <jug@sad.it>
11751 * text.C (nextBreakPoint): fixed up this function we had this bug
11752 since ever but now hopefully we break row better.
11753 (insertChar): we have to check if an inset is the next char as it
11754 could now happen that a large inset is causing a break.
11756 2002-01-05 Juergen Vigna <jug@sad.it>
11758 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11759 if it doesn't like to be drawed.
11761 2002-01-04 Juergen Vigna <jug@sad.it>
11763 * BufferView2.C (lockInset): forgot to set a cursor.
11765 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11767 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11769 * FormMathsPanel.C:
11772 * form_maths_panel.C:
11773 * form_maths_panel.h:
11774 * form_maths_panel.fd: implemented sub- and super- buttons in math
11777 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11778 (or ^ space) to be used as in TeX (req'd by André).
11780 * lyxfunc.C: Allow ^ and _ again to be used both as
11781 super/subscript (mathed) and as themselves (in text).
11783 2002-01-03 Allan Rae <rae@lyx.org>
11785 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11786 "LyX" or the filename of the current buffer if it has one. This is a
11787 modified form of John Levon's patch.
11789 * XFormsView.C (setWindowTitle): also set icon title.
11791 * LyXView.h (setWindowTitle): signature changed.
11792 * XFormsView.h (setWindowTitle): ditto.
11794 2002-01-02 Juergen Vigna <jug@sad.it>
11796 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11798 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11800 * screen.C (topCursorVisible): introduce a temp var for
11801 text->cursor.row(), handle the case where this row is null. (kindo
11804 * text2.C (setCursor): add a couple of asserts.
11806 * paragraph.h (inset_iterator): add -> operator
11808 * paragraph.[Ch] (autoDeleteInsets): remove member function
11810 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11811 cursor pos correctly and handle inset deletion by itself.
11812 (insertErrors): move iterator declaration out of for expression
11814 * lyxtextclass.C: add <algorithm>
11816 * Makefile.am: added the new files to sources, removed layout.C
11818 * layout.C: removed file
11820 * layout.h: remove LYX_DUMMY_LAYOUT
11822 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11826 * lyxtextclass.[Ch]:
11827 * lyxtextclasslist.[Ch]: new files
11829 * include order changes to a lot of files, also changes because of
11832 2001-12-27 Juergen Vigna <jug@sad.it>
11834 * buffer.C (asciiParagraph): more fixes.
11836 * tabular.C (ascii): make ascii export support export of only the
11837 data separated by a column-delimiter.
11838 (ascii): better support for ascii export.
11840 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11842 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11844 * tabular_funcs.C: use a "using std::getline" instead of the
11845 previous fix from Angus (necessary for cxx + lyxstring)
11847 2001-12-24 Juergen Vigna <jug@sad.it>
11849 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11851 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11852 problems. First check a minipage also if we have some ert-contents
11853 (not only on par->size(), second set the right depth of the paragraph
11854 on the relink to the root-paragraph-list!
11856 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11857 which then did not anymore update the main paragraphs on undo/redo!
11859 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11862 code. Support all font-changing funcs (even those which are not in
11863 menu currently). Support for reporting font settings in
11864 mathed (disabled until Andre provides a function on mathed's side).
11866 * func_status.h (toggle): small helper function to set toggle
11869 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11871 * tabular_funcs.C: getline -> std::getline
11873 2001-12-21 Juergen Vigna <jug@sad.it>
11875 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11876 accessed and could be 0 (I couldn't generate this but it seems
11879 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11882 * tabular_funcs.h: here and include iosfwd
11884 2001-12-20 Juergen Vigna <jug@sad.it>
11886 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11887 inside inset but undo_par was.
11889 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11891 * Thesaurus.C: always include <config.h> in sources.
11895 * box.h: do not include <config.h> in header files
11897 * text.C (paintLastRow): remove unused variable
11899 * text.C (transformChar):
11901 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11903 * Painter.C (text):
11904 * font.C (width): rewrite to use uppercase() instead of
11907 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11909 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11911 * lyxfind.C: clean up of find failure position change
11913 2001-12-20 Juergen Vigna <jug@sad.it>
11915 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11917 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11918 (TeXRow): added to LaTeX a single tabular row.
11919 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11920 (Latex): simplified and finally good LT-h/f support.
11921 (various_functions): just small adaptions for LT-h/f support.
11923 * tabular_funcs.[hC]: added and moved here all not classfunctions
11926 2001-12-19 Juergen Vigna <jug@sad.it>
11928 * tabular.[Ch]: better support for longtabular options (not finished
11931 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * text.C (paintLastRow): use the label font instead of the font of
11934 the last character to compute the size of *_BOX. This makes more
11935 sense and avoids a crash with empty paragraphs.
11936 Use Painter::rectangle to draw EMPTY_BOX.
11938 2001-12-19 Juergen Vigna <jug@sad.it>
11940 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11941 the paragraphs if the replaced paragraph is not the first one!
11942 Tried to delete not used paragraphs but does not work yet so for
11943 now it's inside #ifdef's and by default off!
11945 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11947 * MenuBackend.C: include "lyx_main.h" instead of declaring
11948 lastfiles (actually was declared as LastFiles* instead of a
11951 2001-12-17 Juergen Vigna <jug@sad.it>
11953 * tabular.C (AppendColumn): applied John's fix
11955 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11959 * BufferView_pimpl.h:
11960 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11963 * box.h: new start of class for above
11965 * lyxfunc.C: ignore space-only minibuffer dispatches.
11966 Show the command name when it doesn't exist
11968 * minibuffer.C: don't add empty lines to the history
11970 * minibuffer.C: add a space on dropdown completion
11972 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11974 * text.C: fix line above/below drawing in insets
11976 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11978 * lyxlength.C (LyXLength): Initialize private variables.
11980 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11983 when inserting error insets.
11985 2001-12-13 Juergen Vigna <jug@sad.it>
11987 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11988 actually sometimes the before-paragraph.
11989 (setUndo): don't clear the redostack if we're not actually undoing!
11991 2001-12-06 Juergen Vigna <jug@sad.it>
11993 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11994 and fixed redoing of main paragraph, so we can use it now ;)
11996 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11998 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12003 2001-12-13 André Pönitz <poenitz@gmx.net>
12006 * undo_func.C: minor cleanup
12008 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12011 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12012 font in urw-fonts package which is marked as -urw-fontspecific and
12013 does not work (incidentally, changing the encoding in the
12014 fonts.dir of this package to -adobe-fontspecific fixes the
12017 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12018 is a crash when undoing first paragraph (Juergen, please take a
12019 look). THis does not mean the undo fix is wrong, just that it
12022 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12023 the (Paragraph*) version when needed instead of duplicating the
12026 * text.C (workWidth): use Inset::parOwner to find out where the
12027 inset has been inserted. This is a huge performance gain for large
12028 documents with lots of insets. If Inset::parOwner is not set, fall
12029 back on the brute force method
12031 * paragraph_pimpl.C (insertInset):
12032 * paragraph.C (Paragraph):
12033 (cutIntoMinibuffer): set parOwner of insets when
12034 inserting/removing them
12036 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12038 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12044 * mathed/formulabase.C:
12045 * mathed/math_cursor.[Ch]:
12046 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12049 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * lyxlength.[Ch] (operator!=): new function
12053 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12055 * text.C (workWidth): use Inset::parOwner to find out where the
12056 inset has been inserted. This is a huge performance gain for large
12057 documents with lots of insets. If Inset::parOwner is not set, fall
12058 back on the brute force method
12060 * paragraph_pimpl.C (insertInset):
12061 * paragraph.C (Paragraph):
12062 (cutIntoMinibuffer): set parOwner of insets when
12063 inserting/removing them
12065 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12067 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * tabular-old.C (getTokenValue):
12070 * tabular.C (getTokenValue):
12071 (write_attribute): new versions for LyXLength
12072 (everywhere): adjust the use of widths
12074 * tabular.h: change the type of widths from string to LyXLength
12076 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12078 * paragraph.C: fixed missing line number count when exporting
12079 Environments to LaTeX file
12081 * buffer.C: added informational message for checking line numbers.
12083 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12085 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12086 paragraph, do the 'double space' part, but not the 'empty
12089 * text.C (workWidth): small optimization
12090 (getLengthMarkerHeight): use minimal size for negative lengths.
12092 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12094 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12096 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12098 2001-12-11 André Pönitz <poenitz@gmx.net>
12101 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12103 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12105 * text2.C: keep selection on a setFont()
12107 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12109 * lyx_cb.C: another bv->text misuse, from insert label
12111 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12114 * kbsequence.C: re-instate nmodifier mask
12116 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12118 * lyx_main.h: make lyxGUI private.
12120 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12122 * lyxfind.C: place the cursor correctly on failed search
12124 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * text.C (getLengthMarkerHeight): for small heights, the arrows
12127 are not always on top/bottom of the text
12128 (drawLengthMarker): smaller arrows; take the left margin in
12129 account; draw also vfills.
12131 (paintLastRow): remove special code for vfill and standard spaces,
12132 since everything is handled in drawLengthMarker now.
12134 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * buffer.C (insertErtContents): try to handle font and language
12137 interaction a bit better.g
12139 * ColorHandler.C (updateColor): change the hash to cover the whole
12140 LColor enum, ws cleanup
12141 (getGCLinepars): ditto
12142 (getGCLinepars): only lookup in the linecache once.
12144 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12146 * iterators.C (operator++): Make the iterator more robust
12148 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12155 * text.C: better added space drawing
12157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12160 * BufferView2.C: fix layout combo update on inset unlock
12162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12164 * Makefile.am: don't compile unused files
12166 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12170 * LyXAction.C: remove old LFUN_LAYOUTNO
12172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12174 * paragraph_pimpl.h:
12175 * paragraph_pimpl.C: isTextAt() doesn't need font param
12177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12180 * lyxlex.C: little cleanup
12182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12184 * BufferView_pimpl.C: fix insertAscii for insets
12186 2001-12-05 Juergen Vigna <jug@sad.it>
12188 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12189 set the right font on the "multi" paragraph paste!
12191 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * lyxlength.C: remove out-commented code.
12199 * BufferView_pimpl:
12213 * vc-backend.C: change "while(" to "while ("
12215 * lyxlength.[Ch]: add zero function to check if length is zero or
12217 * lyxgluelength.C: use it
12219 2001-12-05 Allan Rae <rae@lyx.org>
12221 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12222 Works for 2.95.3, from what I understand of Garst's reports this should
12223 work for other g++ versions. We're screwed if the abs(int) definition
12224 changed between bugfix releases of gcc.
12226 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12228 * text.C: fix chapter label offset !
12230 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12233 * text.C: fix hfill at end of line, clean up
12235 2001-12-04 Juergen Vigna <jug@sad.it>
12237 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12238 that we force an update of the inset and it's owners if neccessary.
12240 2001-12-03 Juergen Vigna <jug@sad.it>
12242 * text.C (rowLast): simplified code
12244 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12246 * lyxfunc.C: fix show options on timeout
12248 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * screen.C (topCursorVisible): scroll half a page when the cursor
12251 reached top of bottom of screen
12253 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12255 * minibuffer.C: deactivate on loss of focus
12257 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12259 * vspace.[Ch] (operator!=): add operator.
12261 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12263 * BufferView_pimpl.C: refuse to open an inset when
12264 there's a selection.
12266 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12268 * BufferView_pimpl.C: allow to click on RHS of full row insets
12270 2001-11-30 Juergen Vigna <jug@sad.it>
12272 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12273 insets for undo reasons.
12275 2001-11-28 André Pönitz <poenitz@gmx.net>
12277 * vspace.[Ch]: cosmetical changes
12279 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12289 * kbsequence.C: part re-write of old kb code
12292 * WorkArea.C: remove Lgb_bug_find_hack
12294 2001-11-30 José Matos <jamatos@fep.up.pt>
12296 * buffer.C (makeDocBookFile): add a comment to point a hack.
12297 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12298 Fixed a double write of labels.
12300 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12303 * LaTeX.h Fixed bug in LaTeX class where it would not
12304 re-run latex if no depfiles were changed, but the .dvi was removed.
12306 2001-11-28 André Pönitz <poenitz@gmx.net>
12308 * all the files from the change on 2001/11/26:
12309 use lyx::layout_type instead of LyXTextClass::size_type
12310 use lyx::textclass_type instead of LyXTextClassList::size_type
12312 2001-11-29 Juergen Vigna <jug@sad.it>
12314 * text.C: added support for paragraph::isFreeSpacing()
12316 * buffer.C: same as above
12318 * paragraph.h: inserted isFreeSpacing() function to enable
12319 FreeSpacing inside InsetERT.
12321 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12322 of the paragraph's in the cut/copy buffer to 0!
12324 * text2.C (removeRow): remove the assert as it can!
12326 * lyxtext.h: added helper function firstRow returning firstrow and
12327 made firstrow private again.
12329 * BufferView2.C (lockInset): don't relock if we're already locked!
12331 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12332 the only paragraph.
12333 (removeRow): added Assert::(firstrow)
12335 * debug.C: forgot to add INSETTEXT here.
12337 2001-11-28 Juergen Vigna <jug@sad.it>
12339 * sp_spell.C (initialize): changed error text to more general
12340 spellchecker command use (not only ispell!)
12342 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12344 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12348 * vspace.C: initialise lyxgluelength on failure
12350 2001-11-28 Allan Rae <rae@lyx.org>
12352 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12353 declaration & definition that looks like a function declaration.
12355 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * BufferView2.C (copy):
12358 (copyEnvironment): do not clear the selection when doing a copy.
12360 * text.C (paintFirstRow): compilation fix
12362 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12364 * tabular.C (Latex): correct line count when writing latex.
12366 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12368 * paragraph_pimpl.h:
12369 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12372 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12376 * LColor.C: change vfillline->added_space
12378 * text.C: add markers and text for added space
12380 * vspace.C: fix comment
12382 2001-11-28 André Pönitz <poenitz@gmx.net>
12384 * paragraph.C: whitespace changes
12385 * all the other files from the change on 2001/11/26:
12386 change *::pos_type into lyx::pos_type
12388 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12390 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12391 language of the document when inserting error insets.
12393 2001-11-26 André Pönitz <poenitz@gmx.net>
12395 * BufferView_pimpl.[Ch]:
12403 * paragraph_pimpl.[Ch]:
12406 * text2.C: reduce header dependencies, introduce type for positions
12408 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12410 * <various>: change to use Alert.h
12412 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12414 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12415 when encountering an unknown token.
12416 (readLyXformat2): Show an error message if there were unknown tokens.
12418 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12421 * BufferView_pimpl.C:
12425 * text2.C: use par->isInset()
12427 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12429 * paragraph_pimpl.h:
12430 * paragraph_pimpl.C: cleanup
12432 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * text2.C (removeRow):
12435 * text.C (setHeightOfRow): remove useless (and costly) call to
12438 2001-11-20 Allan Rae <rae@lyx.org>
12440 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12441 Now need Inset*::checkInsertChar() to return true for appropriate
12442 cases so that the characters in the minibuffer will actually be
12445 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * text.C: change the order of the includes.
12448 (workWidth): initialize it at once.
12449 (workWidth): make maxw unsigned
12450 (setHeightOfRow): remove unused variable (inset)
12451 (selectSelectedWord): remove unused variable (inset)
12452 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12454 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12457 server is not running.
12459 (closeConnection): add debug info when server is disabled.
12461 * ColorHandler.C (getGCForeground): send debug message to GUI
12464 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12466 * kbmap.C (bind): modify because return conventions of
12467 kb_sequence::parse have changed.
12469 * kbsequence.C (parse): only ignore spaces and not any stupid
12470 control character. This avoids tests like s[i] <= ' ', which are
12471 guaranteed to fail with 8bit characters and signed chars.
12472 Change return code to string::npos when there have been no error
12473 (0 was a bad idea when error is at first character)
12475 2001-11-14 José Matos <jamatos@fep.up.pt>
12478 * buffer.C (simpleDocBookOnePar): removed unused argument.
12480 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12482 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12483 insets which are part of a word. Paragraph::isLetter takes care of
12484 that now. Use Paragraph::isInset to identify insets.
12485 (selectSelectedWord): do not test for hyphenation break.
12487 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12488 that protected spaces are considered as spaces.
12490 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12493 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12496 * lyxserver.C: fix it. and small cleanup.
12498 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12500 * BufferView_pimpl.C: use inline helpers
12503 * LaTeXFeatures.C: fix typos
12506 * Spacing.C: move spacing_string into class
12508 * ToolbarDefaults.C: move stuff into namespace anon
12510 * layout.h: update enum
12512 * lyxfunc.C: use better debug
12514 * minibuffer.h: fix typo
12518 * WorkArea.C: add and use Debug::WORKAREA
12522 * text2.C: code re-organisation, inline helpers
12524 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12526 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12527 std::vector.empty().
12529 2001-11-09 Allan Rae <rae@lyx.org>
12531 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12532 '\n's after tables. Tabular and ERT inset work now makes this no
12535 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12538 * minibuffer.C: fix crash, improve drop-down completion
12540 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12543 * lyxserver.C: invalidate fd's when doing endPipe()
12545 2001-11-08 José Matos <jamatos@fep.up.pt>
12547 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12548 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12551 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12553 2001-11-07 José Matos <jamatos@fep.up.pt>
12556 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12559 * buffer.C (sgmlOpenTag):
12560 * buffer.C (sgmlCloseTag): removed debug info.
12562 * buffer.h (sgmlOpenTag):
12563 * buffer.h (sgmlCloseTag): made public.
12565 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12567 * buffer.C (saveParamsAsDefaults):
12568 * lyx_cb.C (MenuLayoutSave): remove
12570 * LyXAction.C (init):
12572 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12574 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12576 * buffer.C (setPaperStuff): removed from here...
12578 * bufferparams.C (setPaperStuff): ... and moved there.
12580 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12584 * XFormsView.C: add support for drop-down completion
12586 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12588 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12591 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12596 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12598 * lyx_main.C: change ref to known bugs
12600 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12602 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12603 to work around older babel problems.
12605 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12607 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12609 2001-10-24 Juergen Vigna <jug@sad.it>
12611 * tabular-old.C (ReadOld): below variable changes reflected.
12613 * tabular.[Ch]: added ltType struct for longtable header/footer
12614 defines and changed all instances where they are used. Added
12615 future support for double top/bottom rows.
12617 2001-10-24 José Matos <jamatos@fep.up.pt>
12619 * buffer.h (docbookHandleCaption):
12620 * buffer.C (docbookHandleCaption): removed unused function.
12621 (makeDocBookFile): moved docbook supported version to v4.1.
12623 2001-10-24 José Matos <jamatos@fep.up.pt>
12626 * tabular.C (docbookRow): new function to export docbook code of a row.
12627 (DocBook): now honors the longtable flags.
12629 2001-10-23 José Matos <jamatos@fep.up.pt>
12632 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12633 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12635 * buffer.C (makeLinuxDocFile):
12636 (makeDocBookFile): reworked the preamble, more clean, and with
12637 support for lyx defined entities. Changed the document declaration
12638 to be more XML friendly.
12640 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12641 if we need to output XML that should be done with a filter.
12643 2001-10-22 Juergen Vigna <jug@sad.it>
12645 * sp_pspell.h (class PSpell): add alive function needed in the
12646 controller to see if the spellchecker could be started.
12648 2001-10-22 Juergen Vigna <jug@sad.it>
12650 * buffer.C (insertStringAsLines): modify the font for inserting
12651 chars in certain conditions by calling checkInsertChar(font).
12653 2001-10-19 Juergen Vigna <jug@sad.it>
12655 * text.C (workWidth): use getRow instead of wrong algorithm.
12656 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12658 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12663 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12665 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12667 * text.C (workWidth): do not search for the exact row when
12668 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12669 optimization for big documents.
12671 2001-10-18 Juergen Vigna <jug@sad.it>
12673 * text.C (workWidth): new function with added Inset * parameter.
12675 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12677 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12679 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12680 change return type of getColumnNearX.
12683 * text.C (changeRegionCase): use uppercase/lowercase instead of
12686 (rightMargin): simplify code by factoring out the uses of
12691 (appendParagraph): use Paragraph::size_type
12693 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12695 * vspace.C (asLatexString): add a missing break
12697 2001-10-15 Herbert Voss <voss@perce.de>
12699 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12701 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12706 2001-10-10 André Pönitz <poenitz@gmx.net>
12708 * lyxfunc.C: removed greek_kb_flag.
12710 2001-10-10 Herbert Voss <voss@perce.de>
12712 * lyx_main.C: delete global string help_lyxdir.
12714 2001-10-09 Herbert Voss <voss@perce.de>
12716 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12718 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12720 * lyx_main.C: added global string help_lyxdir.
12722 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12724 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12726 * lyxrc.C (set_font_norm_type): support iso8859-4
12728 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12730 * LaTeX.C (deplog): add another regex for MikTeX
12732 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12734 * lyxrc.C (set_font_norm_type): support iso8859-3
12736 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12740 * LaTeXFeatures.C: remove special case of french and index
12742 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12743 before \begin{document}). This solves several incompatibilities.
12745 2001-10-03 Garst Reese <reese@isn.net>
12747 * lyx_cb.C: change CheckTex error msg.
12749 2001-10-03 José Matos <jamatos@fep.up.pt>
12751 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12753 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12755 * .cvsignore: update
12757 * lyx_main.C (commandLineVersionInfo): use new style version info.
12759 * buffer.C (writeFile):
12761 (makeLinuxDocFile):
12762 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12764 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12766 * version.h: update to use stuff in version.C
12768 * version.C.in: new file. Contains version information determined
12769 at compile time. This is a merging of version.h and
12772 2001-10-03 Juergen Vigna <jug@sad.it>
12774 * BufferView_pimpl.C (update): don't change "dirty" status in
12777 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12779 * WorkArea.C (c-tor): re-position version string slightly.
12781 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12783 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12784 revert to previous code.
12786 WorkArea.[Ch]: (show, destroySplash): methods removed.
12788 WorkArea.C: rework code so that it's an amalgam of the codes before and
12789 after the splash screen was moved to WorkArea.
12791 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12794 * vspace.C (inPixels):
12797 * buffer.C (insertStringAsLines):
12798 (asciiParagraph): fix types to be large enough
12800 * lyxlex_pimpl.h: change member status from short to int
12802 * layout.h: fix type of endlabeltype
12805 * kbsequence.C (parse): change return type to string::size_type
12807 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12810 * Bullet.C (bulletSize):
12811 (bulletEntry): do not use short ints as parameters
12813 * BufferView2.C (insertLyXFile): change a char to an int.
12815 * WorkArea.C (WorkArea): remove unneeded floats in computation
12817 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12819 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12821 * paragraph.C (asString): Do not ignore newline/hfill chars when
12822 copying to the clipboard.
12824 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12826 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12827 after a multi-line inset.
12829 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12831 * paragraph.C (validate): Set NeedLyXFootnoteCode
12833 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12835 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12836 and decrease-error to decrease.
12838 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12840 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12841 it more readable (should be equivalent)
12843 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12845 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12847 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12849 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12850 of a cursor (row, etc.) after a character has been deleted
12851 (deleteEmptyParagraphMechanism): call the method above on _all_
12852 cursors held by the LyXText when a double space has been
12855 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12857 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12859 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12861 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12862 background. Use greyOut() and the new show() methods to toggle between
12863 the foreground and background. Add code to remove the splash after
12864 its initial showing.
12866 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12867 (create_forms): no longer call Dialogs::showSplash.
12869 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12871 * .cvsignore: add version_info.h
12873 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12875 * version_info.h.in: new file
12877 * Makefile.am: add version_info.h.in
12879 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12880 version_info.h instead of VERSION_INFO
12882 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12884 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12885 The ERT inset now returns string().
12887 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12889 * lyxtext.h, text.C (selectNextWord): renamed as
12890 selectNextWordToSpellcheck.
12892 * text.C (selectNextWordToSpellcheck): Modified to not select
12893 words inside an ERT inset.
12895 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12897 * lyx_cb.C (MenuLayoutSave): change a bit the question
12899 * sp_base.h: include <sys/types.h>
12901 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12903 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12905 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12907 * several files: fix typos in user-visible strings
12909 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12911 * text2.C (pasteSelection): do not set the selection, since it
12912 will be cleared later. Actually, the intent was to fix the way the
12913 selection was set, but I figured rmoving the code was just as good.
12915 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12917 * FontLoader.C (available): Check if font is available without
12920 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12922 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12924 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12926 * lyxrc.[Ch]: added display_graphics variable and associated code.
12928 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12930 * bufferparams.C (hasClassDefaults): new method. Returns true if
12931 the buffer parameters correspond to known class defaults
12933 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12935 * XFormsView.C (show): set minimum size to the main window.
12937 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12939 * text2.C (copySelection):
12941 * lyxfind.C (LyXReplace):
12942 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12943 LyXText::selectionAsString.
12945 * paragraph.C (asString): add "label" argument to the second form
12947 * text2.C (selectionAsString): add "label" argument and pass it to
12948 Paragraph::asString.
12950 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * lyx_main.C (commandLineHelp): remove version information
12954 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12956 * lyx_main.C: add -version commandline option
12958 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * paragraph.h: make the optional constructor arg required instead.
12961 some modifications to other files because of this.
12963 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12965 * lyxserver.C (C_LyXComm_callback): make it static
12967 * lyx_main.C (error_handler): make it static
12969 * lyx_gui.C (LyX_XErrHandler): make it static
12971 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12973 * WorkArea.C: make the extern "C" methods static.
12975 * Makefile.am (lyx_LDADD): simplify
12977 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12979 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12980 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12982 * LyXAction.C (init):
12983 * lyxfunc.C (dispatch): associated code removal.
12985 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12987 * lyxfont.h (isSymbolFont): shut off warning
12989 * text.C (setHeightOfRow):
12990 (getVisibleRow): fix crash with empty paragraphs which have a
12993 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12995 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12998 2001-09-04 José Matos <jamatos@fep.up.pt>
13001 * tabular.C (docbook): rename docBook method to docbook.
13003 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13005 * Makefile.am: add dependencies to main.o.
13007 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13009 * FontLoader.C (available): Return false if !lyxrc.use_gui
13011 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13013 * FontInfo.C (query):
13014 * converter.C (view):
13015 * importer.C (Import):
13016 * exporter.C (Export): Can not -> cannot.
13018 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13020 * BufferView_pimpl.C: allow to create index inset even if
13023 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13025 * buffer.C (getLists): replace boost::tie code with an explicit pair
13026 as boost::tie can break some compilers.
13028 * iterators.h: Added a std:: declaration to the return type of
13031 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13033 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13036 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13038 * iterators.[Ch]: New files. Provide paragraph iterators.
13040 * buffer.C (changeLanguage): Use paragraph iterators.
13041 (isMultiLingual): ditto
13043 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13045 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13047 * FontLoader.C: Support for cmr font.
13049 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13051 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13052 (available): New method.
13054 * FontInfo.C (getFontname): Use scalable fonts even when
13055 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13058 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13060 * converter.C (Formats::view): reverted! Incorrect fix.
13062 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13064 * converter.C (Formats::view): only output the -paper option
13065 if the dvi viewer is xdvi, thereby fixing bug #233429.
13067 2001-08-23 Herbert Voss <voss@perce>
13069 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13071 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13073 * Spacing.h (Spacing): Set space to Default on in the default
13076 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * vc-backend.h (RCS::versionString): add RCS to version
13079 (CVS::versionString): add CVS to version
13081 * vc-backend.C (scanMaster): do not add CVS to version.
13082 (scanMaster): do not add RCS to version
13084 * lyxvc.C (versionString): new method
13086 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13088 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * Spacing.C (set): initialize fval
13092 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13094 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13097 2001-08-16 Juergen Vigna <jug@sad.it>
13099 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13101 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13103 * BufferView_pimpl.C:
13106 * text2.C: setParagraph takes linespacing now
13108 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13110 * LyxAction.C: add internal LFUN_CITATION_INSERT
13112 * LyXView.C: actually apply fix
13114 * bufferlist.C: fix open non-existent file
13116 * lyxfind.C: fix indentation
13118 * lyxfunc.C: remove unneeded assert, fix typo
13120 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13122 * MenuBackend.C: use "Floatname List"
13124 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13126 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13127 when converting LaTeX layout to insetERT.
13128 Generate a non-collapsed float when reading old float
13130 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13132 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13135 2001-08-13 Juergen Vigna <jug@sad.it>
13137 * text.C (fill): return 0 instead of 20 as this seems to be the more
13140 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13142 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13145 2001-08-13 Juergen Vigna <jug@sad.it>
13147 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13149 (SearchBackward): comment out the unlocking of the inset_owner this
13150 should not be needed!
13152 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13154 * Many files: Remove inherit_language, and add latex_language
13156 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13157 collapsible insets.
13159 2001-08-10 Juergen Vigna <jug@sad.it>
13161 * text.C (prepareToPrint): fixed hfill-width in draw!
13163 * BufferView2.C (selectLastWord): save the selection cursor as this
13164 now is cleared in the function LyXText::clearSelection!
13166 2001-08-08 Juergen Vigna <jug@sad.it>
13168 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13169 BACKSPACE type functions.
13171 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13172 is only cutted from the document but not put in the cut-buffer, where
13173 still the old stuff should be.
13175 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13177 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13179 * tabular.C (SetWidthOfCell): fixed special case where the width
13181 (LeftLine): handle '|' in align_special.
13183 (LeftAlreadyDrawed): ditto
13184 (SetWidthOfCell): ditto
13186 2001-08-07 Juergen Vigna <jug@sad.it>
13188 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13190 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13193 * lyxlex.[hC]: ditto
13195 2001-08-06 Juergen Vigna <jug@sad.it>
13197 * text.C (getVisibleRow): fix up row clearing a bit.
13199 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * minibuffer.C: make sure the X server sees the changes in the input.
13203 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13205 * paragraph.C (getFont): split into...
13206 (getLabelFont): this
13207 (getLayoutFont): and this
13208 * paragraph_pimpl.C (realizeFont): calling this
13210 * text2.C (getFont): split into...
13211 (getLayoutFont): this
13212 (getLabelFont): and this
13213 (realizeFont): all three calling this
13215 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13218 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13222 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13224 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13225 layouts from the Quote inset insertion.
13227 2001-08-03 Juergen Vigna <jug@sad.it>
13229 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13231 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13232 only if status not is already CHANGED_IN_DRAW (second level).
13234 * text.C (draw): don't set the need_break_row when inside an
13237 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * buffer.C (parseSingleLyXformat2Token): handle more latex
13242 * bufferview_funcs.[hC]: change function names to
13243 begin with small char, adjust other files.
13245 2001-08-02 André Pönitz <poenitz@gmx.net>
13248 BufferView_pimpl.C: remove broken special code for math-greek
13250 2001-08-02 Juergen Vigna <jug@sad.it>
13252 * BufferView_pimpl.C (update): redone this function so that we
13253 update the text again if there was a CHANGE_IN_DRAW.
13255 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13256 (drawFromTo): added a new internal bool which is used by draw() and
13258 (general): some cursor drawing problems fixed.
13260 2001-08-01 Juergen Vigna <jug@sad.it>
13262 * lyxfind.C (LyXFind): fixed
13263 (SearchForward): ditto
13264 (SearchBackward): ditto
13266 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13267 spurius drawing of the cursor in the main area.
13269 * text2.C (status): small fix which could lead to a segfault!
13270 (clearSelection): remove unneeded BufferView param.
13272 2001-08-01 André Pönitz <poenitz@gmx.net>
13274 * lyxfunc.C: small change due to changed mathed interface
13276 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13280 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13282 * lyxfunc.c: fail gracefully if file doesn't exist
13287 * BufferView_pimpl.C: IsDirWriteable() proto changed
13289 * LyXView.C: fix updateWindowTitle() to store the last title
13291 2001-07-31 Juergen Vigna <jug@sad.it>
13293 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13294 the font (wrong since using of Paragraph::highestFontInRange).
13296 * paragraph.C (highestFontInRange): added a default_size parameter.
13298 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13299 (setHeightOfRow): reformat
13301 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * converter.[hC] + affected files: move to (inital-char)lowercase
13306 * ParagraphParameters.C (ParagraphParameters): remove commented code
13308 * PainterBase.[Ch]: remove commented code
13310 * LaTeXFeatures.h: add "bool floats" for float.sty
13312 * LaTeXFeatures.C (LaTeXFeatures): init floats
13313 (require): handle float
13314 (getPackages): do it with floats
13316 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13318 * BufferView_pimpl.C (Dispatch): improve handling of
13319 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13321 * commandtags.h: #include lyxfont.h here temporarily to avoid
13324 * bufferlist.h: include LString.h here.
13326 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * text2.C (getStringToIndex): new method.
13330 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13332 * *: Reduced header file dependencies all over.
13334 2001-07-30 Baruch Even <baruch@lyx.org>
13336 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13338 2001-07-29 Baruch Even <baruch@lyx.org>
13340 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13342 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * ParameterStruct.h (endif): add a default constructor to make
13345 sure that all variables is initialized.
13347 * ParagraphParameters.C (ParagraphParameters): adjust
13349 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13351 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13352 index; also, check that there is something to index, and that it
13353 does not span over several paragraphs.
13354 (doubleClick): use WHOLE_WORD_STRICT for double click.
13356 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13358 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13361 2001-07-26 Baruch Even <baruch@lyx.org>
13363 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13364 an InsetFig figure, backwards compatible reading of old figure code.
13366 2001-07-27 Juergen Vigna <jug@sad.it>
13368 * text2.C: font.realize function adaption.
13370 * text.C (draw): add a warnings lyxerr text if needed.
13372 * layout.C: font.realize function adaption.
13374 * language.C: add inherit_language and implement it's handlings
13376 * bufferview_funcs.C (StyleReset): remove language parameter from
13377 font creation (should be language_inherit now).
13379 * bufferparams.C (writeFile): handle ignore_language.
13381 * paragraph.C (getFontSettings): the language has to be resolved
13382 otherwise we have problems in LyXFont!
13384 * lyxfont.C (lyxWriteChanges): added document_language parameter
13385 (update): removed unneeded language parameter
13387 * paragraph.C (validate): fixed wrong output of color-package when
13388 using interface colors for certain fonts in certain environments,
13389 which should not seen as that on the final output.
13391 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13393 * BufferView_pimpl.C:
13398 * LyXAction.C: add thesaurus support
13401 * lyxfind.C: add "once" parameter, for thesaurus, to not
13402 move to the next match
13404 2001-07-26 Juergen Vigna <jug@sad.it>
13406 * lyxfont.C (realize): honor ignore_language too!
13409 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13411 * text.C (draw): one place more for ignore_language to not draw
13414 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13416 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13418 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13421 the minipage conversion problem.
13423 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13428 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * BufferView.h: don't forward declare WorkArea
13432 * BufferView.C: don't include WorkArea.h
13434 2001-07-25 André Pönitz <poenitz@gmx.net>
13438 * lyxfunc.C: new LFUN 'math-space'
13440 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13442 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * text2.C (toggleInset): call open/close
13446 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * lyxfunc.C (dispatch): add debug for the disabled case
13450 * font.C (buttonText): make similar to rectText
13452 * buffer.C (readInset): comment out parsing of insetlist and
13455 * PainterBase.C (rectText): small correction
13457 * BufferView_pimpl.C: comment out insettheorem and insetlist
13458 * LyXAction.C: ditto
13459 * commandtags.h: ditto
13461 2001-07-24 Juergen Vigna <jug@sad.it>
13463 * text.C (draw): honor the ignore_language.
13465 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13467 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13469 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13472 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13474 * lyxtext.h: remove unused (and unimplemented) methods
13476 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13478 * text.C (getVisibleRow): honor background color
13481 * Painter.h: remove default color argument for fillRectangle
13483 * text.C (backgroundColor): new method
13485 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * text.C (getVisibleRow): adjust
13489 * font.[Ch] (rectText): new method, metrics
13490 (buttonText): new method, metrics
13492 * PainterBase.[hC]: make rectText and buttonText always draw and take
13495 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13497 * ToolbarDefaults.C (read):
13498 * MenuBackend.C (read): allow escaping in all strings
13500 * BufferView_pimpl.C (insertAndEditInset): new method.
13501 (Dispatch): use insertAndEditInset whenever appropriate.
13503 * BufferView_pimpl.C (insertNote): removed
13505 * BufferView_pimpl.C (smartQuote): new method, moved from
13506 BufferView; if an insetquote cannot be inserted, insert a '"'
13509 * BufferView2.C: remove insertCorrectQuote();
13511 * lyxfunc.C (getStatus): Add support for all remaingin
13512 inset-insert lfuns.
13514 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13516 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13517 command (necessary to pass " as parameter of self-insert.
13519 * text.C (selectWordWhenUnderCursor):
13520 (selectWord): add word_location parameter
13521 (selectWordWhenUnderCursor): same + remove special code for word
13523 (selectNextWord): use kind() to guess type of insetspecialchar,
13526 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13527 (insertErtContents): create ert insets as collapsed.
13528 (readInset): better compatibility code for Info inset.
13530 2001-07-20 Juergen Vigna <jug@sad.it>
13532 * lyxfunc.C (dispatch): use always LyXFind now!
13534 * text2.C (init): add a reinit flag so that the LyXText can be
13535 reinited instead of deleted and reallocated (used in InsetText).
13537 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13543 2001-07-18 Juergen Vigna <jug@sad.it>
13545 * text.C (selectNextWord): handle insets inside inset by calling
13546 always the bv->text functions so that we can go up the_locking_inset!
13548 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13549 in strange locations when inside an inset!
13551 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13552 handling to include insets.
13554 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13556 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13558 * LyXAction.C (init):
13560 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13561 LIGATURE_BREAK, since the name is so stupid.
13563 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13565 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13568 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13570 * sp_form.[Ch]: remove.
13572 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13574 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13577 * src/buffer.C (readInset): ditto.
13579 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13581 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13582 menuSeparator(), endOfSentenceDot(), ldots() and
13583 hyphenationPoint(), which are therefore removed.
13584 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13586 * LyXAction.C (init):
13587 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13589 * paragraph.C (getWord): removed.
13591 * BufferView_pimpl.C (Dispatch): use last word or selection for
13592 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13594 * lyx_main.C (queryUserLyXDir): do not ask before creating
13595 user_dir, except if it has been named explicitely.
13597 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13599 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13600 a document of zero size.
13602 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13604 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13605 approriately in the c-tor and in require().
13606 (getPackages): output the appropriate LaTeX for natbib support.
13608 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13609 variables "use_natbib" and "use_numerical_citations" when reading the
13611 (readInset): read the various natbib cite commands.
13612 (validate): white-space change.
13614 * bufferparams.[Ch]: new variables "bool use_natbib" and
13615 "bool use_numerical_citations".
13616 (writeFile): output them in the LyX file.
13618 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13620 * lyxfunc.C (getStatus): add support for all the inset insertion
13623 * text2.C (insertInset):
13624 * paragraph.C (insetAllowed):
13625 * BufferView_pimpl.C (insertInset): update to take in account the
13626 renaming of insertInsetAllowed
13628 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13630 * text2.C (getInset): new method. returns inset at cursor position.
13632 * BufferView_pimpl.C (Dispatch): changes because of this.
13634 * LyXAction.C (init): rename open-stuff to inset-toggle.
13636 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13638 * text2.C (toggleInset): renamed from openStuff; use
13641 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13643 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13645 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13647 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13649 * buffer.C (readLyXformat2): Add filename to the error dialog
13651 2001-07-18 Juergen Vigna <jug@sad.it>
13653 * tabular.C (GetCellNumber): put an assert here instead of the check!
13655 2001-07-17 Juergen Vigna <jug@sad.it>
13657 * BufferView_pimpl.C (toggleSelection): adapted too.
13659 * text.C (selectNextWord): adapted for use with insets.
13660 (selectSelectedWord): ditto
13662 2001-07-17 Juergen Vigna <jug@sad.it>
13664 * sp_spell.C (PSpell): fix initialitation order.
13666 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * paragraph.C: spacing
13670 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13672 * sp_spell.C: repair language selection for pspell
13674 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * lyxfunc.h: change more methods to begin with lower char.
13678 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13680 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13681 for unknown layouts.
13683 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13685 * buffer.C (readLyXformat2): Generate an error dialog if there are
13688 2001-07-16 Juergen Vigna <jug@sad.it>
13690 * sp_spell.C: always compile ISpell part.
13692 * lyxrc.C: added use_pspell entry and it's handling.
13694 2001-07-13 Juergen Vigna <jug@sad.it>
13696 * sp_spell.C: removed double includes.
13698 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13700 Consistent use of Lsstream.h:
13701 * Lsstream.h: added using std::stringstream for consistencies sake.
13703 * buffer.C: removed using std::stringstream
13705 * lyxfont.C (stateText):
13706 * paragraph.C (asString):
13707 * text.C (selectNextWord, selectSelectedWord):
13708 * text2.C (setCounter):
13709 * vspace.C (asString, asLatexString):
13710 std::ostringstream -> ostringstream.
13712 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13714 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13715 * commandtags.h: add LFUN_HELP_ABOUTLYX
13716 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13718 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13720 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13722 * lyx_gui_misc.C: remove spellchecker
13723 * lyxfunc.C: showSpellchecker
13725 * sp_ispell.h: added
13726 * sp_pspell.h: added
13727 * sp_spell.C: added
13728 * sp_form.[Ch]: removed
13729 * spellchecker.[Ch]: removed
13731 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13733 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13735 (simpleTeXSpecialChars): Simply print the input character without
13736 any special translation if pass_thru is set.
13738 * layout.h: Added bool pass_thru to layout class for being able to
13739 implement pass through of a paragraph for Literate Programming.
13741 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13742 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13743 * layout.C (Read): add "passthru" to list of layout tags and add
13744 code to set the pass_thru boolean when it is read.
13746 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13748 * trans_decl.h: remove allowed from KmodInfo
13750 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13751 remove allowed code
13754 * paragraph_pimpl.C (erase): use boost::prior
13756 * Painter.C (text): use data() instead of c_str() when length is
13758 * WorkArea.C (putClipboard): ditto
13759 * font.h (width): ditto
13761 * BufferView2.C: use it-> instead of (*it). for iterators
13763 * paragraph_pimpl.C: ditto
13764 * paragraph.C: ditto
13765 * minibuffer.C: ditto
13766 * language.C: ditto
13768 * encoding.C: ditto
13769 * counters.C: ditto
13770 * converter.C: ditto
13772 * Variables.C: ditto
13773 * TextCache.C: ditto
13774 * MenuBackend.C: ditto
13775 * LyXAction.C: ditto
13777 * FloatList.C: ditto
13778 * DepTable.C: ditto
13779 * ColorHandler.C (LyXColorHandler): ditto
13781 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13783 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13785 * text2.C (openStuff): reintroduce this method (which had been
13786 nuked in NEW_INSETS frenzy).
13788 * lyxfunc.C (Dispatch): when an action has not been handled, use
13789 its name in the error message, not its number.
13791 * paragraph.C (inInset): change method name to begin with lowercase.
13794 * text2.C: updates because of this.
13796 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13798 * ToolbarDefaults.C (add): add spaces in error message
13800 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13803 (readLyXformat2): rename return_par to first_par, use lyxlex's
13804 pushToken and remove the manual push handling.
13805 (parseSingleLyXformat2Token): add another ert comp. variable:
13806 in_tabular, rename return_par to first_par. handle newlines better
13808 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13810 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13812 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13814 * text2.C (getParFromID): removed
13816 * buffer.C (getParFromID): new method moved form lyxtext.
13817 * BufferView2.C (insertErrors): adjust
13818 (setCursorFromRow): adjust
13819 * BufferView_pimpl.C (restorePosition): adjust
13820 * lyxfunc.C (Dispatch): adjust
13821 * undo_funcs.C (textUndo): adjust
13823 (textHandleUndo): adjust
13824 (textHandleUndo): adjust
13826 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * buffer.C: up' the LYX_FORMAT
13830 * lyxfont.h: turn NO_LATEX on as default
13832 * buffer.C (insertErtContents): new methods of tex style compability.
13833 (parseSingleLyXformat2Token): use it several places.
13834 * tabular.C (OldFormatRead): and here
13836 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * text2.C: remove some commented code.
13841 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13842 * trans.C: changes because of the above.
13844 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13846 * text2.C (setCounter): Fix counters bug with bibliography layout.
13848 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13850 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13851 own member functions
13852 (simpleTeXSpecialChars): ditto
13854 2001-07-06 Juergen Vigna <jug@sad.it>
13856 * a lot of files: changed the access to LyXText::status and the
13857 call of undo-functions.
13859 * undo.[Ch]: added a inset_id to the undo informations.
13861 * undo_funcs.[Ch]: added and moved here all undo functions.
13863 * lyxtext.h: give the status enum a weight, made status_ a private
13864 variable and made accessor functions for it, removed the whole bunch
13865 of undo-functions as they are now in their own file, make some
13866 functions publically available. Added function ownerParagraph with
13869 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13870 made InInset() a const function, added getParFromID() function.
13872 * buffer.[Ch]: added const version for inset_iterator functions,
13873 added getInsetFromID() function.
13875 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13876 changed undo functions for new version.
13878 2001-07-05 Juergen Vigna <jug@sad.it>
13880 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13881 unknow mechanism does not call the proper constructor but only this
13882 one also if I request the other!?
13884 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13888 * text2.C (LyXText): use initialization lists.
13890 * lyxtext.h (Selection): initialize set_ and mark_
13891 (init): remove method
13893 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13895 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13897 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * screen.[Ch]: change method names to begin with lowercase
13901 * BufferView_pimpl.C (updateScrollbar): simplify further and
13902 hopefully make it a bit faster.
13904 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13907 calling directly xforms functions.
13909 * Painter.C (Painter):
13910 * lyx_cb.C (MenuWrite):
13911 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13914 * lyx_gui.C: remove bogus guiruntime extern declaration.
13916 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13918 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13920 (redoDrawingOfParagraph): ditto
13921 (redoParagraphs): ditto
13922 (cutSelection): don't create a object for CutAndPaste use the
13923 static method directly
13924 (pasteSelection): ditto
13926 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13929 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13931 * modifications to some other files because of this.
13933 * Makefile.am (lyx_SOURCES): add XFormsView
13935 * XFormsView.[Ch]: new files
13937 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13938 the main window. Move the gui dependent stuff to XFormsView
13940 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13942 * tabular.C (GetCellInset): update cur_cell also in the row/col
13943 version of this function.
13945 * lyxfunc.C: no need to include figure_form.h here.
13951 * lyxvc.C: no need to include forms.h here.
13953 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13955 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13957 * lyxfunc.C (Dispatch):
13959 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13960 constructor argument.
13962 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * paragraph.C (Paragraph): dont't clear, and just set layout.
13965 (makeSameLayout): use params's copy contructor.
13967 * ParagraphParameters.[Ch] (makeSame): delete method
13969 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13971 * Variables.[Ch]: fix indentation, rename set to isSet
13973 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * lyxfunc.C (Dispatch): fix typo
13977 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13979 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13982 * bufferlist.C: include assert.h for emergencyWrite().
13984 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13986 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13987 give up at last (bug #425202) !
13989 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13995 * spellchecker.C: strip spellchecker options and bring up
13996 preferences tab instead
13998 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14000 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14001 the istringstream constructor
14003 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * paragraph.C (getLayout): fix return value
14007 * paragraph.h: do not declare getLayout as inline.
14009 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14011 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * lyxcursor.h (operator<): new func
14014 (operator>): new func
14015 (operator>=): new func
14016 (operator<=): new func
14018 * text.C (changeCase): use selection.start and selection.end
14019 (changeRegionCase): require from to be <= to. Require par to be a
14022 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14024 2001-06-27 Juergen Vigna <jug@sad.it>
14026 * text.C (cursorLeftOneWord): changed to return the cursor and added
14027 overlay with BufferView * parameter which calls this one.
14029 (selectWord): use new getWord function.
14030 (changeCase): renamed from changeWordCase as and extended to work
14031 also on selections.
14033 * lyxtext.h: added enum word_location
14035 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14036 changeCase as this operates now also on selections.
14038 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14040 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14042 * many files: send debug output to Debug::INFO instead of
14045 * converter.C (View):
14047 (Move): send debug output to Debug::FILES instead of console.
14049 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14051 * lyxfunc.C (getStatus): use func_status
14053 * func_status.h: new header, describing the results of
14054 LyXFunc::getStatus;
14056 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14059 2001-06-25 The LyX Project <jug@sad.it>
14061 * buffer.C (sgmlOpenTag):
14063 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14065 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * text2.C: remove some dead code
14069 * tabular.C (GetCellInset): store the last cell checked (gotten)
14071 * tabular.h: add the helper for the speedup
14073 * lyxtext.h: remove some dead code
14075 2001-06-26 The LyX Project <Asger>
14077 * paragraph.C: Change export to LaTeX of alignment to
14078 \begin{center} and family for better roundtrip work with reLyX.
14080 * Tune the math drawing a bit.
14082 2001-06-25 The LyX Project <Asger>
14084 * LColor.C (LColor): New color for math background. New color
14087 2001-06-25 The LyX Project <jug@sad.it>
14089 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14091 * lyxfunc.C (Open):
14092 * bufferlist.C (newFile): do not restrict to files ending with
14095 * BufferView_pimpl.C (MenuInsertLyXFile):
14097 2001-06-24 The LyX Project <jug@sad.it>
14099 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14102 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14104 * lyxtext.h: rename most methods to begin with a small char.
14105 Lots of changes because of this.
14107 * paragraph.C (Paragraph): do not call fitToSize
14108 (erase): call Pimpl::erase
14109 (insertChar): call Pimpl::insertChar
14110 (insertInset): call Pipl::insertInset
14111 (breakParagraph): do not call fitToSize
14112 (breakParagraphConservative): do not call fitToSize
14113 (fitToSize): remove method
14115 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14117 2001-06-24 The LyX Project <Asger>
14119 * Fix Qt compilation^2
14121 2001-06-24 The LyX Project <jug@sad.it>
14123 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14124 depthHook(getDepth()-1).
14127 * ParagraphParameters.h:
14128 * ParameterStruct.h: change type of depth to unsigned int ==
14129 depth_type. Many adaptations to other files before of that.
14131 2001-06-24 The LyX Project <Asger>
14133 * Fix Qt compilation.
14135 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * paragraph.h: renamed several methods to begin with small letter.
14138 several changes to many parts of the code because of this.
14140 2001-06-23 The LyX Project <jug@sad.it>
14142 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14143 rewritten to discard all double spaces when KeepEmpty is off
14144 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14145 to only handle newlines but not fiddle with spaces and friends.
14147 * lyxfunc.C (MenuNew): when doing 'new from template', use
14148 template_path as default directory
14150 2001-06-23 The LyX Project <Asger>
14152 * Clean-up of header file includes all over
14153 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14155 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14157 * paragraph.h: renamed from lyxparagraph.h
14159 2001-06-23 Asger <lyx@violet.home.sad.it>
14161 * Buffer.h: Removed Buffer::resize
14162 * BufferList.h: Removed BufferList::resize
14163 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14164 the document lazily when we change the width, or the font settings.
14166 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14168 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14170 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14172 * buffer.h: remove out of date comment
14174 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14177 * screen.C: fix "theoretical" GC leak
14179 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * LaTeX.C (scanAuxFile):
14182 (deplog): remove trailing \r when reading stream (useful under
14185 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14187 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14188 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14189 and BufferView::theLockingInset(Inset*), so should use them and not
14190 access bv_->text->the_locking_inset directly.
14192 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14194 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14197 * tex-defs.h: remove old unused file
14199 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14201 * BufferView_pimpl.C: fix typo, remove minibuffer message
14202 when buffer has loaded
14204 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * lyxfunc.C (Dispatch): use stringstream
14207 (MenuNew): use stringstream
14208 (Open): use stringstream
14210 * importer.C (Import): use stringstream
14212 * bufferview_funcs.C (CurrentState): use stringstream
14214 * LaTeX.C (run): use stringstream
14216 * BufferView_pimpl.C (savePosition): use stringstream
14217 (restorePosition): use stringstream
14218 (MenuInsertLyXFile): use stringstream
14220 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14233 * vspace.C: removed // -*- C++ -*- as first line.
14236 * version.h: added // -*- C++ -*- as first line.
14238 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14240 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14242 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14245 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14247 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14250 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * gettext.C: include LString.h even when --disable-nls is on.
14254 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14256 * converter.h (Get): changed argument type from int to
14257 FormatList::size_type to avoid unnecessary conversion.
14259 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14262 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14264 * gettext.h: include LString.h even when --disable-nls is on.
14266 2001-06-07 Juergen Vigna <jug@sad.it>
14268 * text.C (BreakAgain): subst spaces with tabs.
14270 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14271 (resizeInsetsLyXText): set force on resizeLyXText.
14273 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * gettext.h (gettext_init):
14276 (locale_init): use a real definition instead of a macro
14278 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14280 * Bufferview_pimpl.C:
14282 * LColor.C: further lcolor tidies
14284 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * BufferView_pimpl.C (updateScrollbar): simplify.
14288 * BufferView2.C: don't include insets/insetinfo.h, change
14289 prototype for insertInset and call the Pimpl version. let
14290 updateInset call Pimpl version.
14292 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14293 gotoInset to BufferView::Pimpl
14295 2001-06-01 Juergen Vigna <jug@sad.it>
14297 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14298 inside a LockingInset (is the update needed at all?).
14300 2001-05-31 Juergen Vigna <jug@sad.it>
14302 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14303 here not the old one otherwise how should we compare it afterwards
14306 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14311 * FontInfo.C: bring C functions into global namespace when
14314 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14316 * LString.h: make sure config.h has been loaded before LString.h.
14318 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14319 (one for each char read by EatLine!).
14321 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14324 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14327 to the same as the par we break from
14329 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14331 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14333 * MenuBackend.C (expand): also create menu entries for wide
14334 versions of the floats.
14336 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14338 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14340 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14341 frontends/Makefile.am
14347 * tabular.C (getTokenValue): add std::
14349 * tabular-old.C (getTokenValue): add std::
14350 (getTokenValue): ditto
14351 (getTokenValue): ditto
14353 * screen.C (ToggleSelection): adjust
14355 * lyxtext.h: put selection cursors inside a Selection struct.
14357 * lyxfunc.C (moveCursorUpdate): adjust
14359 * lyxfont.C (latexWriteStartChanges): add std::
14361 * lyxfind.C: adjust
14363 * font.h: delete with(char const *, LyXFont const &)
14365 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14367 * FontInfo.C (getFontname): add std::
14369 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14370 (workAreaButtonPress): adjust
14371 (tripleClick): adjust
14373 (moveCursorUpdate): adjust
14376 * BufferView2.C (gotoInset): adjust
14378 2001-05-30 Juergen Vigna <jug@sad.it>
14380 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14381 to check pspell I add this as default as I now have new pspell
14382 libraries and they seem to use this.
14384 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14386 * text2.C (CutSelection): make the cursor valid before the call to
14389 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14391 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14392 relied on 0 terminated strings and other horrors. Bug found due to
14393 the new assert in lyxstring!
14395 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14398 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14400 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14403 * lyxfunc.C (processKeySym): change method of getting to the
14406 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14407 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14408 * BufferView_pimpl.[Ch]: here as private methods.
14410 2001-05-28 Juergen Vigna <jug@sad.it>
14412 * text.C (SetHeightOfRow): added the update() call again as it is
14413 needed to initialize inset dimensions!
14415 2001-05-16 Juergen Vigna <jug@sad.it>
14417 * text2.C (SetCharFont): Add new function with BufferView * and
14418 bool toggleall parameters for setting insets internal fonts.
14419 (SetFont): Freeze the undo as we may change fonts in Insets and
14420 all this change should be inside only one Undo!
14422 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14423 setting font's in insets as for them we have the SetFont function!
14425 2001-05-15 Juergen Vigna <jug@sad.it>
14427 * text2.C (ClearSelection): to be sure we REALLY don't have any
14430 * tabular.C (TeXCellPreamble): fixed the left border problem for
14433 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14435 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14438 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14440 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14441 LFUN_BREAKPARAGRAPH.
14443 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14444 help test to "internal only", similar for LFUN_INSERT_URL
14446 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14447 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14448 auto_region_delete and deadkeys.
14450 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14453 * LColor.C: remove some dead entries, tidy a little
14455 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14457 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14459 (Dispatch): implement LFUN_ESCAPE
14461 * commandtags.h: add LFUN_ESCAPE
14463 * LyXAction.C (init): add entry for LFUN_ESCAPE
14465 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14466 Remove commented code.
14467 (insertNote): moved here
14468 (open_new_inset): moved here
14470 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14473 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14475 * kbmap.C (findbinding): clean it up and make it work correctly.
14477 * lyx_main.C (init): do not pass argc and argv as parameters
14479 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14481 * buffer.C: fix path for OS/2 & Win32
14485 * lyx_main.C: Added os:: class.
14487 * os2_defines.h: update
14489 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14492 better by trying again with reduced state.
14494 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14496 * lyxrc.C (read): print error about invalid key sequence only when
14497 debugging (because not all latinX keysyms are known to some X
14500 * kbsequence.C (getiso): add a few std:: qualifiers
14501 (getiso): comment out extra return statement.
14503 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14505 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14507 (Dispatch): enhance the accent inset a bit. (not perfect)
14509 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14511 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14513 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * bufferlist.C (emergencyWrite): fix assert() call
14517 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14519 * text.C (InsertChar): Added trivial patch to only send the "you
14520 can not do multiple spaces this way" message once during a
14523 2001-05-08 Baruch Even <baruch@lyx.org>
14525 * Makefile.am: Changed order of libraries to get LyX to link properly
14526 with the gnome frontend.
14528 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14530 * LaTeXFeatures.h: add a std:: qualifier
14532 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * paragraph.C (String): use stringstream
14536 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14538 * paragraph.C (writeFile): remove footflag arg
14540 * buffer.C (makeLaTeXFile): use stringstream
14541 (latexParagraphs): remove footnot gurba
14543 * LaTeXFeatures.C (getPackages): use stringstream
14544 (getMacros): likewise
14545 (getTClassPreamble): likewise
14546 (getFloatDefinitions): new method
14548 * paragraph.C (writeFile): reindent
14551 * WorkArea.h: revert the xpos + etc changes.
14553 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14555 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14557 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14558 (pasteSelection): likewise
14559 * text2.C (CreateUndo): likewise
14561 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14563 * minibuffer.C (peek_event): temporarily reduce the functionality
14564 of the minibuffer (to allow args on lfuns)
14566 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14567 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14569 * buffer.C (readInset): add compability reading of old float
14570 lists, add reading of new style float list.
14571 (readInset): avoid reevaluation of inscmd.getCmdName()
14572 (getLists): reindent
14574 * MenuBackend.C (MenuItem): implement parsing of
14575 md_floatlistinsert and md_floatinsert.
14576 (expand::LastFiles): move initalizaton of iterators out of loop,
14577 avoid reevaluation.
14578 (expand::Documents): introduce typdedef vector<string> Strings,
14580 (expand::ExportFormats): introduce typedef vector<Format const *>
14581 Formats, and use it.
14582 (expand): implement FloatListInsert and FloatInsert.
14584 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14585 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14586 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14588 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14590 (Dispatch::LFUN_FLOAT_LIST): implement
14592 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14594 * LaTeX.C (run): Fix problem with --export code.
14596 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14598 * BufferView.[Ch] (workarea): removed.
14599 (getClipboard) new method; wrapper for workarea()->getClipboard()
14601 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14604 * WorkArea.h (width, height, xpos, ypos): These methods all
14605 returned the dimensions of the work_area sub-area of WorkArea,
14606 resulting in a position error if the WorkArea were resized. Now
14607 return the dimensions of the entire WorkArea.
14609 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14611 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14613 * LaTeX.C (deplog): correct the syntax of regex reg1
14615 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14617 * undo.C: remove !NEW_INSETS cruft
14619 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * text2.C: remove !NEW_INSETS cruft
14623 * text.C: remove !NEW_INSETS cruft
14625 * tabular.C: remove !NEW_INSETS cruft
14627 * spellchecker.C: remove !NEW_INSETS cruft
14629 * lyxtext.h: remove !NEW_INSETS cruft
14631 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14633 * lyxfunc.C: remove !NEW_INSETS cruft
14635 * lyxfind.C: remove !NEW_INSETS cruft
14637 * lyx_cb.C: remove !NEW_INSETS cruft
14639 * figureForm.C: remove !NEW_INSETS cruft
14641 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14643 * buffer.[Ch]: remove !NEW_INSETS cruft
14645 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14647 * CutAndPaste.C: remove !NEW_INSETS cruft
14649 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14651 * BufferView2.C: remove !NEW_INSETS cruft
14653 * BufferView.h: remove !NEW_INSETS cruft
14655 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14657 * Lsstream.h: include LString.h before the sstream headers to
14658 fix problem with gcc 2.95.3 and lyxstring
14660 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * lyx_main.C: add using directives when needed for C functions
14663 declared in std:: namespace.
14665 2001-04-27 Juergen Vigna <jug@sad.it>
14667 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14668 (SetHeightOfRow): comment out the update call should not be needed!
14670 2001-04-13 Juergen Vigna <jug@sad.it>
14672 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14673 (LyXTabular): tried to minimize operator= operations (and realized
14674 hopfully Lars wish).
14676 2001-04-27 Juergen Vigna <jug@sad.it>
14678 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14680 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14684 * buffer.C (readInset): hack to make listof algorithm work
14686 * BufferView_pimpl.C: hack to make listof algorithm work
14688 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * LyXAction.C: removed all !NEW_INSETS cruft
14691 (init): moved lfun_item in method
14693 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14695 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14697 * BufferView2.C (theLockingInset): white space.
14699 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14701 * minibuffer.C: include <iostream>
14703 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14705 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14707 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14709 * text.[Ch] (TransposeChars): new method
14711 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14713 * call message directly through LyXView instead of through LyXFunc
14714 * BufferView2.C: adjust
14715 * BufferView_pimpl.C: adjust
14716 * FontLoader.C: adjust
14718 * bufferview_funcs.C: adjust
14719 * converter.C: adjust
14720 * figureForm.C: adjust
14721 * importer.C: adjust
14723 * lyx_gui_misc.C: adjust
14724 * lyxfunc.C: adjust
14727 + more files in subdirs
14729 * lyxparagraph.h (size): move up int file
14732 * adjust all uses of Assert to lyx::Assert.
14734 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14735 lyxfunctional in namespace lyx
14736 * layout.C (hasLayout): ditto
14739 (delete_layout): ditto
14740 (NumberOfClass): ditto
14741 * converter.C (GetFormat): ditto
14746 * bufferlist.C (getFileNames): ditto
14747 (emergencyWriteAll): ditto
14750 * MenuBackend.C (hasSubmenu): ditto
14753 * BufferView_pimpl.C (getInsetByCode): ditto
14755 2001-04-18 Juergen Vigna <jug@sad.it>
14757 * vspace.C (asLatexString): fixed the 100% problem.
14759 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14761 * lyxfunc.C (Dispatch):
14763 * minibuffer.h: add a few std:: qualifiers
14765 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14767 * minibuffer.[Ch]: reimplement so that commands is initiated and
14768 run from lyxfunc, simplified som handling, and made the completion
14769 and history code for complete. wip.
14771 * lyxfunc.C (processKeySym): call message
14772 (miniDispatch): new temporary method
14773 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14774 (LFUN_MESSAGE): implement
14775 (LFUN_MESSAGE_PUSH): implement
14776 (LFUN_MESSAGE_POP): implement
14777 (initMiniBuffer): the initial/defualt minibuffer message.
14779 * lyxfont.[Ch]: inline some more getters
14781 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14783 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14785 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14786 (AutoSave): use LFUN_MESSAGE
14787 (Reconfigure): ditto
14789 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14791 * figureForm.C: use LFUN_MESSAGE
14793 * converter.C (runLaTeX): use LFUN_MESSAGE
14795 * bufferview_funcs.C: use LFUN_MESSAGE
14797 (changeDepth): ditto
14799 * bufferparams.h: use boost::
14801 * bufferlist.h: inherit privately from noncopyable
14803 * bufferlist.C (loadLyXFile): remove some commented code.
14805 * buffer.C (runChktex): use LFUN_MESSAGE
14807 * ShareContainer.h: inherit privately from noncopyable
14809 * ParagraphParameters.[hC] (depth): inline it.
14811 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14813 (message): new method
14814 (messagePush): ditto
14815 (messagePop): ditto
14816 (show): init minibuffer
14817 (showState): direct call
14819 * LaTeX.[Ch]: inherit privately from noncopyable
14820 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14821 instead of WriteStatus.
14823 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14825 * BufferView_pimpl.C (buffer): don't init minibuffer
14826 (workAreaButtonPress): use LFUN_MESSAGE
14827 (workAreaButtonRelease): ditto
14828 (savePosition): ditto
14829 (restorePosition): ditto
14830 (MenuInsertLyXFile): ditto
14831 (workAreaExpose): don't init minibuffer
14832 (update): remove commented code, simplify
14834 * BufferView2.C (openStuff): use LFUN_MESSAGE
14835 (toggleFloat): ditto
14838 (copyEnvironment): ditto
14839 (pasteEnvironment): ditto
14844 (updateInset): remove some commented code
14846 * lastfiles.h: inherit privately from noncopyable
14849 * lyx_main.h: ditto
14851 * lyxlex_pimpl.h: ditto
14853 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14854 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14855 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14857 * LyXAction.h: inherit privately from noncopyable, add methods
14858 func_begin, func_end, returning iterators to the func map.
14860 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14861 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14862 (func_begin): new method
14863 (func_end): new method
14865 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14867 (copySelection): ditto
14868 (pasteSelection): ditto
14870 * BufferView.C: whitespace change
14871 * BufferView.h: inherit privately from noncopyable
14873 2001-04-16 Allan Rae <rae@lyx.org>
14875 * tabular-old.C (l_getline):
14876 * spellchecker.C (sc_check_word):
14877 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14878 an unrecognised preprocessor directive. So ensure they're wrapped.
14880 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14882 * src/exporter.C (Export): Give an error message when path to file
14885 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14887 * LaTeX.C (deplog): Always check that foundfile exists.
14889 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14892 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14894 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14896 * tabular.[Ch] (getLabelList): implement new method
14898 * minibuffer.h: comment ouf setTiimer
14900 * minibuffer.C (ExecutingCB): constify res
14901 (peek_event): constify s
14902 (Set): constify ntext
14903 (Init): constify nicename
14905 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14907 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14908 (savePosition): use two params to Minibuffer::Set
14909 (restorePosition): ditto
14911 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * lyx_main.C: include language.h
14915 * Makefile.am (lyx_main.o): add language.h
14917 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * CutAndPaste.C: include gettext.h
14925 * lyxfont.h: remove old hack with ON and OFF.
14928 * lyxfont.h: do not include language.h...
14933 * bufferview_funcs.C:
14939 * paragraph.C: ... but do it here instead
14941 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14943 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14945 * tabular.C: small reformat
14947 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14950 (BreakParagraph): ditto
14951 (SetOnlyLayout): ditto
14954 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14957 * lastfiles.C: removed most using decl, add std:: where needed
14959 * buffer.C: ws changes
14961 * MenuBackend.C (class compare_format): put into anon namespace
14962 (expand): constify label, names, action, action2
14965 * text.C (SingleWidth): constify font
14966 (IsBoundary): constify rtl2
14967 (GetVisibleRow): constify ww
14969 * LaTeX.C (deplog): constify logfile
14971 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14973 (workAreaExpose): constify widthChange, heightChange
14975 * lyxrow.C (par): moved
14978 * lyxrow.h: as inlines here
14980 * lyxfont.h (shape): moved from lyxfont.C
14981 (emph): moved from lyxfont.C
14983 * lyxfont.C (LyXFont): use initialization list for all
14985 (shape): move to lyxfont.h as inline
14986 (emph): move to lyxfont.h as inline
14989 2001-04-04 Juergen Vigna <jug@sad.it>
14991 * vspace.C: had to include stdio.h for use of sscanf
14993 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14996 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14997 independent of xforms.
14999 2001-04-02 Juergen Vigna <jug@sad.it>
15001 * spellchecker.C: fixed namespace placing!
15003 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15005 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15006 the LyXParagraph * is 0.
15008 2001-03-29 Juergen Vigna <jug@sad.it>
15010 * vspace.C: added support for %, c%, p%, l%.
15011 (stringFromUnit): added helper function.
15012 (asLatexString): changed to give right results for the %-values.
15014 * buffer.C: convert the widthp in a width%.
15016 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15018 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15021 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15022 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15024 * lyx_cb.[Ch]: see above.
15026 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15030 * lyx.[Ch]: replaced by figure_form.[Ch].
15034 * lyxfunc.C: changed headers associated with above changes.
15036 2001-03-27 Juergen Vigna <jug@sad.it>
15038 * BufferView_pimpl.C: set the temporary cursor right!
15040 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15042 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15044 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15046 * LString.h: removed "using std::getline"!
15048 * BufferView_pimpl.C (Dispatch): changes due to changes in
15049 InsetInclude::Params.
15051 * buffer.C (tag_name): removed redundant break statements as they were
15052 producing lots of warnings with my compiler.
15054 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * LString.h: add "using std::getline" when using the real <string>.
15058 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15060 * buffer.C: removed bitset usage.
15061 PAR_TAG moved to an anonymous name space.
15062 (tag_name): new funtion, also in the anonymous namespace.
15063 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15064 (makeDocBookFile): clean code. Completed transition from string arrays
15066 (SimpleDocBookOnePar): code clean.
15068 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15070 * tabular.C: add some comments.
15072 2001-03-22 Juergen Vigna <jug@sad.it>
15074 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15075 compatibility read a bit and fixed bug with minipage in different
15078 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15080 * buffer.C (pop_tag): removed.
15081 (push_tag): removed.
15082 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15083 array replaced with vector. Added support for CDATA sections.
15084 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15086 (makeDocBookFile): XML conformant declaration of CDATA section,
15087 fixed bug related to <emphasis> in the first paragraph char.
15088 (sgmlOpenTag): exclude empty tags.
15089 (sgmlCloseTag): ditto.
15091 * buffer.h (pop_tag): removed.
15092 (push_tag): removed.
15094 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15096 * language.h (Languages): added size_type and size().
15098 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15100 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15101 response on compability reading of minipages. One probliem is that
15102 the old usage of minipages was «flertydig»
15104 * several files here and in subdirs: don't use static at file
15105 scope use anon namespaces instead.
15107 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15109 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15110 LaTeX output. This is necessary for Literate document
15113 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15115 * buffer.C: insert hfill when needed.
15117 * tabular.C (l_getline): use string::erase, small whitespace change.
15119 * BufferView_pimpl.C: try the anon namespace.
15120 * WorkArea.C: ditto
15122 2001-03-16 Juergen Vigna <jug@sad.it>
15124 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15125 otherwise it won't open options-dialogs.
15127 * buffer.C: honor pextraWidth(p) on converting minipages.
15129 * tabular.C (l_getline): changed the functions to strip trailing \r.
15131 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15133 * BufferView_pimpl.C:
15134 * minibuffer..C: added "using SigC::slot" declaration.
15136 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15138 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15144 * paragraph.C: ditto
15146 * lyxtext.h: NO_PEXTRA
15148 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15150 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15151 * ParameterStruct.h: ditto
15152 * ParagraphParameters.h: ditto
15153 * lyxparagraph.h: ditto
15155 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15157 * buffer.C: add compability for minipage alignment.
15158 (latexParagraphs): remove unwanted pextra check.
15160 * several files: remove CXX_WORKING_NAMESPACES
15162 * buffer.C (pop_tag): tie is in namespace boost
15164 * BufferView.h: noncopyable is in namespace boost
15166 * lyx_main.h: ditto
15169 * lastfiles.h: ditto
15170 * bufferlist.h: ditto
15171 * ShareContainer.h: ditto
15173 * LyXAction.h: ditto
15176 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15178 * Merging changes from BRANCH_MVC back into HEAD.
15180 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15182 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15184 * BufferView_pimpl.C: change from intl.C
15188 * Makefile.am: move combox.*
15194 * intl.C: remove dialog (covered by prefs)
15196 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15198 * lyxfunc.C (Dispatch): removed redundant break statement.
15200 2001-03-14 Juergen Vigna <jug@sad.it>
15202 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15204 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15206 * buffer.C: add hack to fix compability reading of minipages.
15208 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15210 * buffer.C (getLists): Cleanup.
15212 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15214 * lyxfont.C (update): don't honor toggleall on font size.
15216 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15220 * Makefile.am: moved to frontends/xforms/
15224 * BufferView_pimpl.C: changes for moved mathpanel
15226 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15228 * gettext.h: fix gettext_init() in --disable-nls
15230 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15232 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15234 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15237 * lyx.h: strip external form
15239 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15241 * BufferView_pimpl.C: add comment, destroySplash()
15243 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15245 * BufferView_pimpl.C:
15249 * lyxfunc.C: use re-worked insetinclude
15251 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15253 * buffer.C: add using std::stringstream.
15255 * lyx_cb.C: readd using std::ios.
15257 * buffer.C: add using std::map.
15259 * BufferView_pimpl.C: add using std::vector.
15261 * ShareContainer.h: add std:: to swap.
15263 * buffer.h: add some typedefs
15264 * buffer.C (getLists): use them
15265 (getLists): renamed from getTocList.
15266 add a counter for the different float types and use it in the
15268 (getLists): use the same counter for the NEW_INSETS and the "non"
15271 * lyx_cb.h: remove unused items, includes, using etc.
15273 * ShareContainer.h: remove some commented code, add more comments
15274 and "documentation".
15276 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15278 * buffer.C (getTocList): make the list also when NEW_INSETS is
15281 * buffer.h: remove TocType
15283 * buffer.C (getTocList): change to return a map<string,
15284 vector<TocItem> >, implement for dynamic number of list.
15286 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15287 * text2.C (PasteSelection): adjust
15288 * CutAndPaste.C (pasteSelection): adjust
15290 * FloatList.C (FloatList): update from the new_insets branch.
15291 * Floating.[Ch]: ditto
15292 * LaTeXFeatures.C: ditto
15294 * lyxlex_pimpl.C: ditto
15296 * paragraph.C (Last): remove when NEW_INSETS is defined.
15298 * other file: changes because of the above.
15300 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15302 * lyxparagraph.h: rename next to next_, previous to previous_,
15303 make them private for NEW_INSETS. Rename Next() to next(),
15304 Previous() to previous().
15306 * other files: changes because of the above.
15308 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15311 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15314 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15316 * main.C (main): pass lyx_localedir to gettext_init().
15318 * gettext.h: remove locale_init and gettext_init macros
15320 * gettext.C (locale_init): new function
15321 (gettext_init): new function
15323 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15326 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15328 * Moved credits to frontends:
15329 * credits.[Ch]: removed
15330 * credits_form.[Ch]: removed
15331 * lyx_gui_misc.C: remove credits stuff
15334 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15336 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15338 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15339 unneeded destructor.
15341 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15342 a standalone pointer again.
15344 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15346 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15352 * ToolbarDefaults.C:
15361 * BufferView_pimpl.C: use new file dialog in GUII
15364 * lyx_cb.C: remove LayoutsCB to Toolbar
15366 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * ShareContainer.h (get): add std:: qualifier
15370 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * ShareContainer.h: define a proper ShareContainer::value_type
15373 type (and use typename to please compaq cxx)
15375 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15377 * lyxparagraph.h: move serveral local vars to
15378 ParameterStruct/ParagraphParameters., use ShareContainer in
15379 FontTable., make vars in FontTable private and add getter and
15382 * paragraph.C: changes because of the above.
15384 * lyxfont.h: remove copy constructor and copy assignment. (the
15385 default ones is ok), move number inside FontBits. move inlines to
15388 * lyxfont.C: add number to initializaton of statics, move several
15389 inlines here. constify several local vars. some whitespace
15390 cleanup. Dont hide outerscope variables.
15392 * Spacing.h: add two new constructors to match the set methods.
15394 * ShareContainer.h: new file, will perhaps be moved to support
15396 * ParameterStruct.h: new file
15398 * ParagraphParameters.h: new file
15400 * ParagraphParameters.C: new file
15402 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15403 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15405 * BufferView_pimpl.C: ParagraphParameter changes.
15406 * buffer.C: Likewise.
15407 * bufferview_funcs.C: Likewise.
15408 * text.C: Likewise.
15409 * text2.C: Likewise.
15411 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15413 * lyxfind.C (LyXReplace): do not redefine default argument in
15415 (IsStringInText): ditto
15416 (SearchForward): ditto
15417 (SearchBackward): ditto
15419 2001-03-06 Juergen Vigna <jug@sad.it>
15421 * lyxfind.C (IsStringInText): put parentes around expressions.
15423 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15425 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15427 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15429 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15431 * stl_string_fwd.h: add comment
15433 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15436 * tabular.C: remove unused DocBook methods
15442 killed DO_USE_DEFAULT_LANGUAGE
15444 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15446 * lyx_gui.C: do not include language.h.
15448 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15449 arguments in function implementation.
15451 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15453 * BufferView_pimpl.C: add <ctime>
15455 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15457 * BufferView_pimpl.C: add using std::find_if
15459 2001-02-27 José Matos <jamatos@fep.up.pt>
15461 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15464 2001-02-11 José Matos <jamatos@fep.up.pt>
15466 * buffer.C (makeDocBookFile): command styles now have a parameter as
15467 "title" by default.
15469 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15471 * layout_forms.[Ch]: removed
15472 * lyx_cb.[Ch]: out character
15473 * lyx_gui.C: out character
15474 * lyx_gui_misc.C: out character
15475 * bufferview_funcs.C: : out character,
15476 added toggleall as parameter in ToggleAndShow
15478 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15480 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15482 * text2.C (SetCurrentFont): Disable number property at boundary.
15484 2001-02-26 Juergen Vigna <jug@sad.it>
15486 * lyxfunc.C (getStatus): added a string argument override function so
15487 that this is correctly called from LyXFunc::Dispatch if it contains a
15488 do_not_use_argument which is used!
15489 (Dispatch): added check for "custom" export and call appropriate func.
15491 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15493 * lyxrc.C: Add language_command_local, language_use_babel and
15494 language_global_options.
15496 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15498 * buffer.C (makeLaTeXFile): Use language_use_babel and
15499 language_global_options.
15501 2001-02-23 Juergen Vigna <jug@sad.it>
15503 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15504 which works with LyXText and putted it inside BufferView. Here now we
15505 only call for that part the BufferView::Dispatch() function.
15507 * BufferView.C (Dispatch): added.
15509 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15510 functions which needs to use a LyXText over from LyXFunc.
15511 (MenuInsertLyXFile): added
15512 (getInsetByCode): added
15513 (moveCursorUpdate): added
15514 (static TEXT): added
15516 2001-02-22 Juergen Vigna <jug@sad.it>
15518 * BufferView_pimpl.C (update): call a status update to see if LyXText
15521 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15523 * vc-backend.C (revert): implement for CVS
15524 (getLog): implement for CVS
15526 2001-02-20 Juergen Vigna <jug@sad.it>
15528 * text2.C (ClearSelection): added BufferView param for inset_owner call
15530 * lyxfunc.C (TEXT): added this function and use it instead of
15531 directly owner->view()-text of getLyXText().
15533 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15535 * src/layout_forms.C: out preamble
15536 * src/layout_forms.h: out preamble
15537 * src/lyx_cb.C: out preamble
15538 * src/lyx_cb.h: out preamble
15539 * src/lyx_gui.C: out preamble
15540 * src/lyx_gui_misc.C: out preamble
15541 * src/lyxfunc.C: connect with guii preamble
15543 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15545 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15547 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15549 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15550 whether to run bibtex.
15552 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15554 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15556 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15558 * Makefile.am (lyx_SOURCES): removed bibforms.h
15560 * vspace.h: doxygen
15562 * text.C (GetVisibleRow): make several local vars const
15564 * tabular.C: small cleanup.
15566 * lyxserver.C (callback): use compare instead of strncmp
15568 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15569 inlines to after class or to paragraph.C
15571 * lyxfont.h: remove friend operator!=
15573 * converter.h: move friend bool operator< to non friend and after
15576 * combox.h: small cleanup
15578 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15579 to inlines after class def.
15581 * buffer.C (pop_tag): use string operations instead of strcmp
15583 * bmtable.c: doxygen, small cleanup
15585 * LaTeX.h: remove friend operator==
15587 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15599 * BufferView_pimpl.C:
15600 * BufferView.[Ch]: remove cruft
15602 2001-02-14 Juergen Vigna <jug@sad.it>
15604 * lyxfunc.C: removed #if 0 unused code
15606 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15608 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15610 * text2.C (SetSelection): added a BufferView * parameter
15612 2001-02-13 Juergen Vigna <jug@sad.it>
15614 * lyxfunc.C (Dispatch): fixed protected blank problem.
15615 * BufferView2.C (protectedBlank): added LyxText * parameter.
15617 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15618 (AppendColumn): same as above for column_info.
15620 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15621 (moveCursorUpdate): use a LyXText param for support of InsetText.
15623 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15624 (tripleClick): ditto
15626 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15628 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15630 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15632 * text2.C (SetSelection): set correct update status if inset_owner
15633 (ToggleFree): ditto
15635 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15637 * tabular.C: remove some commented code.
15639 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15641 * BufferView_pimpl.C: call hideSplash()
15643 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15646 * bibforms.h: remove
15649 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15650 add LFUN_CHILD_CREATE
15652 * counters.h: fix tiny typo
15657 * lyx.C: move splash to frontends/xforms/
15659 * lyx_gui_misc.C: move Include and Bibform to frontends
15661 * lyxvc.h: clarify comment
15663 * vspace.C: tiny housekeeping
15665 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15667 * text.C (PrepareToPrint): RTL Fix.
15669 * paragraph.C (GetUChar): New method.
15670 (String): Use GetUChar.
15672 * buffer.C (asciiParagraph): Use GetUChar.
15674 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15676 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15678 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15681 * buffer.C: rename to getLogName(), handle
15682 build log / latex log nicely
15684 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15687 * MenuBackend.h: remove support for reference menuitem type.
15689 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15691 * BufferView_pimpl.C: housekeeping
15692 * BufferView_pimpl.h:
15697 * minibuffer.h: move Timeout GUI-I
15699 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15701 * lyxrc.C (read): Update converters data-structures.
15703 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15705 * LaTeX.h (operator!=): add operator != for Aux_Info
15707 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15709 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15711 * LaTeXLog.C: deleted, useful code moved to Buffer
15714 * buffer.C: new function getLatexLogName()
15720 * lyxfunc.C: use frontends for LaTeX and VC logs
15722 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * LaTeX.h: yet another std:: that Allan forgot.
15726 * Variables.C (set): renamed from isset(), because this clashes
15727 with some HP-UX macros (grr).
15729 2001-02-06 Allan Rae <rae@lyx.org>
15731 * LaTeX.h: Another bug fix. Missing std:: this time.
15733 2001-02-04 Allan Rae <rae@lyx.org>
15735 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15736 floats problem. I've left it commented out because it's not quite
15737 correct. It should also test that the current object is a table or
15738 figure inset. But I haven't gotten around to figuring out how to do
15739 that. I *think* it'll be something like: "table" == inset.type()
15741 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15744 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15746 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15747 all the citation/databases/styles in the auxilary file.
15748 (run): Rerun latex if there was a babel language error.
15750 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15752 * text.C (Backspace): Preserve the font when changing newline char
15754 (BreakParagraph): If the cursor is before a space, delete the space.
15756 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15758 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15760 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15761 new argument (code).
15762 (ChangeCitationsIfUnique): New method.
15764 * paragraph.C (GetPositionOfInset): Handle bibkey.
15766 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15768 * BufferView_pimpl.h: change type of Position::par_pos to
15769 LyXParagraph::size_type.
15771 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15773 * BufferView_pimpl.C (savePosition, restorePosition): Write
15774 messages to minibuffer.
15776 2001-01-28 José Matos <jamatos@fep.up.pt>
15778 * buffer.C (makeDocBookFile): adds support for document language.
15779 A silly restriction on the name of LatexCommand types where removed.
15780 Added support for CDATA sections, allows to chars unescaped, used
15781 among others in code, to avoid escape < and >.
15783 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15785 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15786 saved positions instrad of a stack. Furthermore, a position is
15787 stored using paragraph id/paragraph position.
15789 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15790 Remove LFUN_REF_BACK.
15792 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15794 * converter.C (dvipdfm_options): New method.
15796 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15798 * vspace.C (isValidLength): Fix for empty input string.
15800 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * LyXAction.C (init): change description of LFUN_FIGURE to
15805 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15807 * LaTeX.C: add using directive
15809 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15811 * MenuBackend.C (expand): Fix the sorting of the formats.
15813 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15815 * lyx_main.C: tiny error message fix
15817 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15819 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15820 calling fl_initialize(). This fixes the problem with ',' as
15821 decimal separator in text files.
15823 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15825 * trans.C (process): Fix the keymap bug.
15827 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15829 * LaTeX.C (scanAuxFiles): New method. Provides support for
15830 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15831 (scanLogFile) Scan for "run BibTeX" messages.
15833 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15834 OT1 font encoding. Also, load the aecompl package if the ae
15837 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15839 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15841 * texrow.C (increasePos): turn two error messages into debug
15844 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15846 * LaTeX.C (scanAux): Handle the \@input macro.
15847 (runBibTeX): Use scanAux().
15849 * language.C (latex_options_): New field.
15851 * LaTeXFeatures.C (getMacros): Add language macros.
15853 * buffer.C (makeLaTeXFile): Small fix.
15855 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15857 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15859 * text2.C: add a using directive.
15861 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15866 * lyxfunc.C: kill LyXBell.
15868 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15870 * text.C (IsBoundary): Remove the error message
15872 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15874 * lyxrc.C (setDefaults): Correct initialization value for
15877 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15879 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15882 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15883 and GotoNextNote().
15885 * src/LyXAction.C: Added reference-next.
15887 * text.C (InsertChar): Use contains instead of strchr.
15889 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15891 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15893 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15894 alignment commands (when needed).
15896 * text.C (InsertChar): Add ':' to number separator chars.