1 2004-08-15 José Matos <jamatos@lyx.org>
3 * lyxlex.C (getString): fix comment, buffer::readBody is now
6 * tex-strings.C (string_papersize): Default -> default,
7 Custom -> custom, for consistency with other options.
9 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * Makefile.am: support pch
15 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * text.C (readParToken): remove the static LyXFont variable and
18 pass it as a parameter instead. This fixes a nasty bug where an
19 inset will be inserted with a bad font in some situations
20 (readParagraph): adapt
22 * text2.C (setCounter): reduce number of calls to pars_[pit]
24 * text.C (singleWidth): add an assert, fix a test
26 * rowpainter.C (paintText): reduce number of calls to singleWidth
28 * paragraph.C (isHfill):
31 2004-08-14 André Pönitz <poenitz@gmx.net>
36 * lyxtext.h (several functions): use a Paragraph & argument
39 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * metricsinfo.h: add a new field ltr_pos to PainterInfo
43 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
45 * text.C (singleWidth): remove useless test
47 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * tabular.h: remove bogus comments
51 * tabular.C (getDescentOfRow):
52 (isPartOfMultiColumn): add assertions
54 * lyxlength.C (inPixels): remove #warning
56 2004-08-14 André Pönitz <poenitz@gmx.net>
58 * paragraph.h: inline getChar()
60 * BufferView.h: remove unused declarations
62 2004-08-14 José Matos <jamatos@lyx.org>
64 * Buffer.[Ch] (readDocument): new name for old readBody.
65 * Buffer.C: new file format, new keywords: \begin_document,
66 \begin_header, \begin_body, \end_body.
68 * bufferparams.C (readToken): replace all calls to lex.nextToken
69 by lex.next(). Do the same to eatLine except where really needed.
71 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
72 line when writing to the lyx file.
74 * output_plaintext.C (asciiParagraph): fix Bibliography style
77 * text.C (read): fix end of file handling.
79 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * MenuBackend.C (Menu::operator[]): new method to access
83 (Menu::hasFunc): new method. search for an item that corresponds
85 (MenuBackend::specialMenu): new method
86 (MenuBackend::expand): if a special menu has been set, skip
87 entries whose func() appears in this menu
89 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
91 * text3.C: use Debug::DEBUG a bit more
93 * text.C (leftMargin): try to simplify a tiny bit change var x to
94 l_margin. Dont output the wide margins always.
95 (rightMargin): no margin in inner texts
97 * rowpainter.h (nestMargin): new func
98 (changebarMargin): new func
99 (rightMargin): new func
101 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
105 * factory.C (createInset): modify setDrawFrame
107 * cursor.C: use Debug::DEBUG a bit more
109 2004-08-14 André Pönitz <poenitz@gmx.net>
112 * Makefile.am: new files to accomodate an 'external' (x,y)-position
113 cache for all insets in (at least partially) visible (top-level)
116 * BufferView_pimpl.C: reset external coord cache before every update.
117 This means the coord cache only contains valid entries.
119 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
122 * BufferView_pimpl.C (getInsetByCode): move function out of class
123 and change in to a template in anon namespace. Also fix to do what
126 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
129 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
131 (breakParagraph): rename par to par_offset and use a local
132 reference. Add code to keep the language over a rebreak.
133 (breakParagraphConservative): rename par to par_offset, use a
135 (mergeParagraph): ditto
137 (isFirstInSequence): ditto
138 (outerFont): rename pit to par_offset
140 * paragraph.C: ws change
145 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
150 * paragraph.C (simpleTeXOnePar): when we have a \item with
151 optional argument, enclose the argument with curly brackets (in
152 case it contains a closing square bracket)
156 * text3.C (checkInsetHit): constify
158 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
160 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
163 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 Fix toggling of collapsable insets with the mouse (bug 1558)
167 * lyxfunc.C (dispatch): adapt to LCursor changes
169 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
170 make sure that dispatch is not invoked twice
172 * cursor.C (needsUpdate): new method
173 (dispatch): return void
174 (result): new method, to access the DispatchResult of the cursor.
176 2004-08-13 José Matos <jamatos@lyx.org>
178 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
180 2004-08-13 André Pönitz <poenitz@gmx.net>
182 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
184 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
187 2004-08-12 André Pönitz <poenitz@gmx.net>
189 * text3.C: take out the 'cursor right' form insertInset and only
190 do it in those places when it is really needed. Fixes crash on
193 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
197 * BufferView_pimpl.C (setBuffer): initialize the current font of
198 the underlying LyXText
200 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * kbsequence.C (print): use UI native formatting for menu
205 * text.C (insertChar): call Paragraph::insertChar with a font
208 * paragraph.C (insertInset, insertChar): the version that takes a
209 LyXFont argument is now a wrapper around the other one (the
210 opposite used to be true).
212 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
213 argument. Font setting is done in Paragraph now.
215 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * outputparams.h: add new members intitle and lang.
219 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
220 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
222 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
224 * text3.C (dispatch): remove special handling of button 4 and 5,
225 it is now taken care of in the frontend code.
227 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * Spacing.h: add <string> (STLPort compile fix)
231 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
233 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
235 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
237 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
240 * converter.C (showMessage): inherit from unary_function, make
243 * buffer.C (writeFile): initialize retval
245 * InsetList.h: rename private variable list to list_
246 * InsetList.[Ch]: adjust accordingly.
248 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
250 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
251 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
252 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
253 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
254 * ParagraphParameters.C, LaTeXFeatures.C: replace
255 "support/std_sstream.h" with <sstream>
257 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
259 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
260 * lyxsocket.C (LyXServerSocket): ditto
261 (serverCallback): ditto
263 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
265 * LaTeXFeatures.C: check release date when loading jurabib.
267 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
269 * lyxserver.C (startPipe): call register_socket_callback
270 (endPipe): call unregister_socket_callback
272 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
274 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
275 (LyXServerSocket): register the callback
276 (LyXServerSocket): unregister the callback
277 (fd): delete function
278 (serverCallback): improve error checking and setup the callbacks.
279 (dataCallback): change arg to fd.
280 (writeln): new func (copied fro the client socket) used for server
282 (LyXDataSocket): simplify
283 (~LyXDataSocket): close ann unregiser callback
284 (server): delete function
285 (fd): delete function
286 (readln): small changes, improve some std::string usage
287 (writeln): constify a bit
289 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
294 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * BufferView_pimpl.C (setBuffer): set the layout combox value only
297 after it has been populated
299 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * text2.C (insertInset): move cursor when inserting inset.
303 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * kbmap.C (findbindings): a couple of new methods. returns a
306 container of kb_sequence objects. The real work is done by the
307 private recursive version
308 (printbindings): uses findbindings to print out a bracketed list
309 of bindings (renamed from findbinding).
311 * MenuBackend.C (binding): use kb_keymap::findbindings
313 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
315 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
319 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * paragraph.C (isWord): return true on insets that report
324 * text.C (getWord): use Paragraph::isWord to decide what is in a
325 word and what is not; fix bug 1609.
327 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
329 * tex-strings.C: add "none" to string_paperpackages[], fixes
330 off-by-one-error in the paperpackage selection.
333 * tex-strings.[Ch]: char const * string[n]
334 -> char const * const string[]
336 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
339 command, return early.
341 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
343 * debug.h: add DEBUG to enum and fix size of ANY.
345 * debug.C: add support for Debug::DEBUG
346 (showTags): cast errorTags.level to unsigned int
348 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
349 (redoCurrentBuffer): ditto
350 (updateScrollbar): ditto
351 * cursor.C (dispatch): ditto
352 * text2.C (setLayout): ditto
354 (updateCounters): ditto
356 (deleteEmptyParagraphMechanism): ditto
358 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
360 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
361 annotations to cleanup the Makefile slightly.
363 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * lyxrc.C: do not set user_email to a default value but use empty
366 instead. The entry used to be translated, which does not work
367 since at the point where lyxrc is constructed there is no
368 translation service available
370 * messages.C (getLocaleDir): remove and use directly
371 lyx_localedir() instead
373 2004-06-02 Angus Leeming <leeming@lyx.org>
375 Fix crash caused by dereferencing null pointer 'exportdata' in
376 OutputParams by creating a new ExportData variable on the heap,
377 storing it in a boost::shared_ptr.
378 The crash was triggered when generating an Instant Preview
379 of an external inset.
381 * Makefile.am: add outputparams.C
383 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
384 (c-tor): allocate memory to it.
386 * exporter.C (c-tor): associated changes.
388 2004-06-01 Angus Leeming <leeming@lyx.org>
390 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
391 contains data before calling isInset(0). (Bug 1513.)
393 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
395 * exporter.C (checkOverwrite): new method
396 * exporter.C (copyFile): new method
397 * exporter.C (Export): copy referenced files to the document dir
398 * exporter.[Ch]: new class ExportedFile
399 * exporter.[Ch]: new class ExportData. Contains currently the
400 names of referenced external files
401 * outputparams.h: add exportdata member.
403 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
405 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
408 2004-05-19 Angus Leeming <leeming@lyx.org>
413 * lyxfunc.C: small changes due to the introduction of namespace
414 lyx::frontend and the moving of namespace biblio to lyx::biblio.
416 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
418 * text3.C (dispatch): supress update when only moving the cursor
419 * cursor.C (selHandle): remove commented code
421 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
423 * paragraph.C (startTeXParParams): correct column count
424 * CutAndPaste.C (pasteSelection): remove const_cast
425 * output_docbook.C (docbookParagraphs): remove const_cast
426 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
427 const_cast and return ParagraphList::const_iterator
428 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
429 * output_plaintext.C (writeFileAscii): remove const_cast
430 * paragraph.[Ch] (simpleTeXOnePar): make const
431 * paragraph_funcs.C (outerPar): use const iterators
432 * paragraph_pimpl.C (validate): use const iterators
433 * text.C (setHeightOfRow): use const iterators
435 2004-05-17 Angus Leeming <leeming@lyx.org>
438 * LyXAction.C (init): new LFUN_INSET_REFRESH.
440 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
441 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
442 if the citation engine has changed.
444 2004-05-14 José Matos <jamatos@lyx.org>
446 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
447 if the textclass does not provide it. Have it different for sgml and
449 support the language of document.
450 * output_docbook.C (docbookParagraphs):
451 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
452 first anchor as the id of the paragraph, remove special case code.
453 * sgml.C (escapeChar): escape only < & >.
455 2004-05-14 Angus Leeming <leeming@lyx.org>
457 * bufferparams.h: move biblio::CiteEngine enum here to minimize
458 dependencies on src/frontends/controllers/biblio.h. Define a
459 CiteEngine_enum wrapper class to enable the enum to be forward
462 2004-05-12 Angus Leeming <leeming@lyx.org>
464 * buffer.C: up LYX_FORMAT to 234.
465 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
466 use_numerical_citations with a single biblio::CiteEngine cite_engine
468 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
470 2004-05-13 José Matos <jamatos@lyx.org>
473 * converter.C (Converter, readFlags): add xml member.
474 * outputparams.h: add XML flavor.
475 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
477 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * lyxfunc.C (dispatch):
480 (getStatus): fix handling of LFUN_SEQUENCE
482 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * debug.C (showLevel): do not forget the end-of-line marker
486 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * kbmap.C (read): do not stop parsing a bind file when an error
491 2004-04-29 Angus Leeming <leeming@lyx.org>
496 * text2.C: wrap a bunch of #warning statements
497 inside #ifdef WITH_WARNINGS blocks.
499 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
501 * buffer.C: increment format to 233.
503 2004-04-28 Angus Leeming <leeming@lyx.org>
505 * BufferView_pimpl.C:
508 s/updateToolbar()/updateToolbars()/
509 s/Toolbar.h/Toolbars.h/
511 2004-04-28 Angus Leeming <leeming@lyx.org>
513 * BufferView.[Ch] (c-tor):
514 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
515 No longer passes these data to the WorkArea generator.
517 2004-04-28 Angus Leeming <leeming@lyx.org>
519 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
521 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
523 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
525 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * output_latex.C (TeXEnvironment): make sure that there is a line
528 break before \end{foo} for the last paragraph of a document
529 (TeXOnePar): if the paragraph is at the end of the document (or
530 inset) and the language has to be reset, then make sure that the
531 line break is _before_ the language command, not after (fixes bug
532 1225); also make sure that the language reset command is the first
533 thing after the paragraph (to ensure proper nesting of
534 environments and thus fix bug 1404)
536 2004-04-21 John Levon <levon@movementarian.org>
539 * ToolbarBackend.C: make "name" be a programmatic name
540 and a gui_name field.
542 * lyxfunc.C: display the minibuffer on M-x
544 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
549 2004-04-19 Angus Leeming <leeming@lyx.org>
551 * BufferView_pimpl.C (setBuffer): changed preview interface.
553 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
556 2004-04-19 John Levon <levon@movementarian.org>
558 * BufferView_pimpl.C:
559 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
561 2004-04-05 Angus Leeming <leeming@lyx.org>
563 * text.C (redoParagraphs): add call to updateCounters(), thereby
564 fixing the missing "Figure #:" label from the caption of a
567 2004-04-13 Angus Leeming <leeming@lyx.org>
569 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
570 cursor is clicked out of an inset.
572 2004-04-13 Angus Leeming <leeming@lyx.org>
574 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
575 than an InsetOld one.
577 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
579 * format.[Ch]: add editor to Format
580 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
581 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
583 2004-04-08 André Pönitz <poenitz@gmx.net>
585 * metricsinfo.h: remove PainterInfo::width member
587 2004-04-08 Angus Leeming <leeming@lyx.org>
589 * lyx_sty.C (boldsymbol_def): modify so that it outputs
590 "\providecommand" rather than "\newcommand", thereby preventing
591 clashes with packages that define "\boldsymbol" themselves.
594 2004-04-08 Angus Leeming <leeming@lyx.org>
596 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
597 thereby squashing an unnecessary warning.
599 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
601 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
604 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
606 * BufferView.C (setCursor): call redoParagraph (some insets could
608 (putSelectionAt): remove the 'double update' trick
610 * BufferView_pimpl.C (fitCursor): call refreshPar
611 (workAreaDispatch): remove an uneeded update call
612 (dispatch): remove some manual update calls
614 * cursor.[Ch]: remove cached_y_, updatePos
615 (selHandle): set noUpdate when appropriate
617 * lyxfunc.C (dispatch): track if we need an update
619 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
621 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
622 (paintSelection): cheap optimization, do not call cursorX when not
624 (paintPars): change signature
627 (paintTextInset): adjust
631 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * lengthcommon.C: compilation fix: remove explicit array size from
634 unit_name[] and friends
636 2004-04-05 Angus Leeming <leeming@lyx.org>
638 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
640 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
641 present only for the preferences dialog.
642 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
644 2004-04-05 Angus Leeming <leeming@lyx.org>
646 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
647 to enable the frontends to export changes to lyxrc correctly.
649 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
651 2004-04-07 André Pönitz <poenitz@gmx.net>
653 * cursor.[Ch] (selClear, adjust): remove math
655 * cursor_slice.C: more agressive assert
658 * BufferView_pimpl.C: rework mouse event dispatch
665 2004-04-05 André Pönitz <poenitz@gmx.net>
667 * cursor.[Ch] (valign, halign...): remove unneeded functions
669 2004-04-05 Angus Leeming <leeming@lyx.org>
671 * lyxlength.[Ch] (unit_name et al.): const-correct.
673 2004-04-05 Angus Leeming <leeming@lyx.org>
675 * BufferView_pimpl.C:
684 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
686 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
688 * text3.C (getStatus): add LFUN_BEGINNINGBUF
690 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
692 * lyxfind.C: add a couple of inTexted() tests + other small fixes
693 * BufferView_pimpl.[Ch] (getStatus)
694 * BufferView.[Ch] (getStatus): add
695 * lyxfunc.C (getStatus): move lfuns handled in
696 BufferView::dispatch to te function above
697 * Cursor.C (setSelection): set selection() = true
699 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
701 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
703 2004-03-31 Angus Leeming <leeming@lyx.org>
705 * lyxfunc.C (dispatch): Fall through to the generic
706 Dialogs::show("preamble").
708 2004-03-31 Angus Leeming <leeming@lyx.org>
710 * lyxfunc.C (dispatch): Fall through to the generic
711 Dialogs::show("spellchecker").
713 2004-03-31 Angus Leeming <leeming@lyx.org>
715 * lyxfunc.C (getStatus, dispatch): changed invocation of the
718 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
723 * insetiterator.[Ch]:
728 * undo.[Ch]: s/DocumentIterator/DocIterator/g
730 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
732 * BufferView.C (setCursor, putSelectionAt): call edit to open the
733 insets where we are putting the cursor.
735 2004-03-31 Angus Leeming <leeming@lyx.org>
738 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
740 * lyxrc.[Ch] (read, write): overloaded member functions taking
741 a std::[io]stream arguments.
743 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
745 2004-03-31 Angus Leeming <leeming@lyx.org>
747 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
748 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
750 * lyxtextclass.C (load): if the text class couldn't be loaded, then
751 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
753 2004-03-31 Angus Leeming <leeming@lyx.org>
755 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
756 the LFUN_ALL_INSETS_TOGGLE code.
758 2004-03-30 Angus Leeming <leeming@lyx.org>
760 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
761 has died. Fall through to the generic Dialogs::show("document").
763 2004-03-30 Angus Leeming <leeming@lyx.org>
766 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
767 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
769 * lyxfunc.C (getStatus, dispatch): define the actions for these
770 lfuns. Little more than a cut and pste job from ControlDocument.C
772 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
774 2004-03-30 Angus Leeming <leeming@lyx.org>
777 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
778 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
780 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
781 open/closed state of ollapsable insets. Usage:
783 all-inset-toggle <state> <name>, where
784 <state> == "open" || "closed" || "toggle" and
785 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
787 * lyxtext.h, text2.C (toggleInset): removed.
789 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
790 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
791 now passes LFUN_INSET_TOGGLE to the found inset.
793 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
794 is now invoked as "all-insets-toggle toggle branch".
796 2004-03-30 Angus Leeming <leeming@lyx.org>
800 * pariterator.[Ch]: added/corrected header blurb.
802 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
804 * dociterator.[Ch]: add an inset_ member
805 (backwardPos): implemented
806 (backwardPos, forwardPos): use inset_ when the stack is empty.
807 (doc_iterator_begin, doc_iterator_end): implemented
808 * pariterator.[Ch]: adjust, add begin, end
809 * insetiterator.[Ch]: adjust, add begin, end
813 * BufferView_pimpl.C:
814 * CutAndPaste.C: adjust
816 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
818 * buffer.C: increment file format to 232.
819 * LaTeXFeatures.C: add bibtopic package.
820 * bufferparams.[Ch]: param \use_bibtopic.
822 * lyxrc.[Ch]: add lyxrc bibtex_command
823 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
825 * buffer.C: increment file format to 231.
827 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
829 * dociterator.C: implement forwardPar
830 * iterators.[Ch]: remove, replaced by
831 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
833 * BufferView_pimpl.C:
836 * bufferview_funcs.C:
842 * Makefile.am: adjust
844 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
846 * CutAndPaste.C (pasteSelection): fix 2 crashes
847 (eraseSelection): fix a crash
848 * paragraph_funcs.C: remove a warning
850 2004-03-28 Angus Leeming <leeming@lyx.org>
853 * LyXAction.C (init): new LFUN_PRINT.
855 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
857 2004-03-27 Angus Leeming <leeming@lyx.org>
860 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
862 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
864 2004-03-27 Angus Leeming <leeming@lyx.org>
866 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
867 insetlist always contains non-null pointers to insets.
869 2004-03-26 Angus Leeming <leeming@lyx.org>
871 * src/BufferView_pimpl.C:
875 * src/output_plaintext.C:
876 * src/outputparams.h:
877 * src/paragraph_funcs.C:
881 * src/frontends/controllers/ControlErrorList.C:
882 * src/frontends/gtk/FileDialogPrivate.C:
883 * src/frontends/gtk/GPainter.C:
884 * src/frontends/gtk/GToolbar.C:
885 * src/frontends/qt2/QRef.C:
886 * src/mathed/math_scriptinset.C: squash compiler warnings.
888 2004-03-26 Angus Leeming <leeming@lyx.org>
890 * ispell.C (LaunchIspell::start):
891 * lyx_cb.C (AutoSaveBuffer::start):
892 invoke run(DontWait) rather than runNonBlocking().
894 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
896 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
898 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
900 * kbsequence.C (print): adjust
902 * kbmap.C (printKeySym): rename and change signature
903 (printKey): use LyXKeySym::print()
905 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
907 * undo.C: add using std::advance to compile for stlport
909 2004-03-24 Angus Leeming <leeming@lyx.org>
911 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
912 it leads to a crash when no buffer is present.
914 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 Martin Vermeer <martin.vermeer@hut.fi>
917 * lyxfunc.C (dispatch):
918 * bufferparams.C (readToken): use the new LColor::setColor
920 * LColor.[Ch] (setColor): new version that takes two strings as
921 argument and creates a new color entry if necessary
923 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
925 * buffer.C (makeLaTeXFile): if the main latex file that is
926 processed is usually a subdocument of some master, then pretend
927 for a while that it is actually the master
929 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
931 * buffer.C (getLabelList):
932 (getBibkeyList): use getMasterBuffer()
933 (getMasterBuffer): new method. Returns the main document in the
934 case where one is using included documents.
936 2004-03-25 André Pönitz <poenitz@gmx.net>
940 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
942 * ParagraphList_fwd.h: change ParagraphList to a std::vector
944 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
945 text*.C over here. Rename namespace CutAndPaste to lyx::cap
947 * ParameterStruct.h: merge with ParagraphParameters
949 * lyxtext.h: remove LyXText::parOffset() and getPar()
951 * text3.C: Remove all 'manual' update calls. We do now one per user
952 interaction which is completely sufficient.
956 * BufferView_pimpl.C:
959 * ParagraphParameters.[Ch]:
971 * output_docbook.[Ch]:
973 * output_linuxdoc.[Ch]:
974 * output_plaintext.[Ch]:
976 * paragraph_funcs.[Ch]:
977 * paragraph_pimpl.[Ch]:
985 * frontends/controllers/ControlDocument.C:
986 * frontends/controllers/ControlErrorList.C:
987 * frontends/controllers/ControlSpellchecker.C:
990 * insets/insetbase.h:
991 * insets/insetbibitem.C:
993 * insets/insetbranch.C:
994 * insets/insetcaption.C:
995 * insets/insetcharstyle.C:
996 * insets/insetcharstyle.h:
997 * insets/insetcollapsable.C:
998 * insets/insetcollapsable.h:
1000 * insets/insetfloat.C:
1001 * insets/insetfoot.C:
1002 * insets/insetmarginal.C:
1003 * insets/insetnote.C:
1004 * insets/insetoptarg.C:
1005 * insets/insettabular.C:
1006 * insets/insettext.C:
1007 * insets/insettext.h:
1008 * insets/insetwrap.C:
1009 * mathed/math_mboxinset.C:
1010 * mathed/math_nestinset.C:
1011 * mathed/math_scriptinset.C:
1012 * mathed/math_scriptinset.h:
1015 2004-03-24 Angus Leeming <leeming@lyx.org>
1017 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1018 deal with any child processes that have finished but are waiting to
1019 communicate this fact to the rest of LyX.
1021 2004-03-24 Angus Leeming <leeming@lyx.org>
1023 64-bit compile fixes.
1025 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1026 (c-tor): pass lyx::pos_types rather than ints.
1028 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1031 * text.C (Delete): compile fix.
1032 (getPar): ensure that function declaration is the same as that in
1035 2004-03-23 Angus Leeming <leeming@lyx.org>
1037 * ispell.C (LaunchIspell):
1038 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1039 a boost::shred_ptr rather than a std::auto_ptr.
1041 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1044 handle LFUN_FILE_INSERT_*
1046 * lyxrc.C (setDefaults, getDescription, output, read):
1047 * lyxrc.h: remove ps_command
1049 2004-03-22 Angus Leeming <leeming@lyx.org>
1051 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1052 Ensure that error_handler is processed once only and that all data
1053 is saved before attempting to output any warning messages.
1055 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1057 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1059 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1061 2004-03-19 André Pönitz <poenitz@gmx.net>
1063 * cursor.[Ch] (reset): take main text inset as argument
1065 * BufferView: adjust
1066 * BufferView_pimpl.C: adjust
1068 * paragraph.[Ch]: fix completely broken operator=()
1070 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * LColor.C (getFromLyXName): make sure that the color name is used
1075 2004-03-17 Angus Leeming <leeming@lyx.org>
1078 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1080 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1081 dialog and to kill a forked process.
1083 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1085 * text2.C (setCursorFromCoordinates): fix font problem
1087 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1089 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1090 bogus "rebuild cursor" code
1092 2004-03-11 André Pönitz <poenitz@gmx.net>
1094 * buffer.[Ch]: use InsetText instead of LyXText as container for
1097 * dociterator.[Ch]: drop the BufferView * member which is not needed
1098 anymore after the change to buffer.C
1100 * paragraph_funcs.C:
1104 * BufferView_pimpl.[Ch]:
1106 * cursor_slice.[Ch]: adjust
1108 * text3.C: fix bug in mathDispatch
1110 2004-03-08 André Pönitz <poenitz@gmx.net>
1112 * undo.[Ch]: use 'StableDocumentIterator' as base for
1115 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1118 * bufferparams.[Ch]: add jurabib support and param.
1120 * LaTeX.C: add FIXME/comment.
1122 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1124 * buffer.C: increment file format to 230.
1126 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1128 * cursor.C (dispatch): avoid infinite loops
1130 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1132 * rowpainter.C (paintSelection): fix x coordinates
1134 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1136 * text.C (rowBreakPoint): fix breaking before displayed insets
1138 2004-03-01 André Pönitz <poenitz@gmx.net>
1140 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1142 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1146 * BufferView_pimpl.C:
1154 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1160 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1161 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1163 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1165 * Bidi.[Ch] (computeTables): const correctness
1166 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1167 fill_hfill, fill_label_hfill and x from Row
1168 * lyxtext.h: prepareToPrint returns a RowMetrics
1169 * rowPainter.C: adjust
1170 * text.C (prepareToPrint): use width, not textWidth. adjust
1171 (redoParagraphInternal, cursorX): adjust
1172 * text2.C (getColumnNearX): adjust
1173 (init): put a default value to the top LyXText::width
1175 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1177 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1179 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1181 * lyxtext.h: add FontIterator class
1183 * text.C (FontIterator, operator*, operator->, operator++): add
1184 (rowBreakPoint, setRowWidth): adjust (fixing a
1187 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * BufferView_pimpl.C (workAreaDispatch): allow also
1190 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1192 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1194 * text.C (rowBreakPoint): fix a bug showing with very large insets
1196 2004-02-25 André Pönitz <poenitz@gmx.net>
1199 * cursor.[Ch]: move some mathed specific code to mathed
1201 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1203 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1204 use_tempdir in preferences
1205 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1207 * lyx_main.C: ensure that tempdir is valid
1208 * lyxlex.h: correct typo
1209 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1210 * paragraph.[Ch] (isMultiLingual): make const
1211 * cursor.[Ch] (openable): make const
1213 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1215 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1217 2004-02-20 André Pönitz <poenitz@gmx.net>
1219 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1221 * cursor.[Ch]: prepare for localized getStatus()
1227 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1229 2004-02-20 André Pönitz <poenitz@gmx.net>
1231 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1233 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1235 * text2.C (setCursorFromCoordinates): switch to absolute coords
1237 (cursorDown): adjust
1238 * text3.C (dispatch): adjust
1240 2004-02-16 André Pönitz <poenitz@gmx.net>
1242 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1245 * cursor_slice.[Ch]: remove unneeded acessor function
1247 * lyxtext.h: rename rtl() to isRTL()
1255 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1257 * rowpainter.C (paintSelection): coord fix
1259 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1261 * Spacing.C: compile fix
1263 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1265 * cursor.C (dispatch): restore current_ before returning
1267 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1269 * text2.C (cursorUp, cursorDown): fix coords
1272 2004-02-12 André Pönitz <poenitz@gmx.net>
1277 * text3.C: add LCursor & parameter to most cursor movement functions
1278 remove usage of LyXText::cursorRow() and cursorPar()
1280 * cursor.[Ch]: add textRow() needed members
1283 * BufferView_pimpl.C:
1286 * BufferView_pimpl.C: adjust
1288 2004-02-11 André Pönitz <poenitz@gmx.net>
1292 * BufferView_pimpl.C: shift undo/redo handling
1294 * cursor.[Ch]: fix mathed crash
1297 * lyxtext.h: move selectionAsText to LCursor
1305 * rowpainter.C: fix excessive drawing
1307 2004-02-06 André Pönitz <poenitz@gmx.net>
1310 * BufferView_pimpl.[Ch]:
1311 * text3.C: move some text specific LFUN handling
1313 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1315 * text3.C (checkInsetHit): adjust coords
1316 * text2.C (getColumnNearX): adjust coords
1317 (edit): adjust coords
1318 * text.C (getRowNearY): add two asserts
1320 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1323 * format.C: add using std::distance to compile on gcc 2.95/stlport
1325 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1327 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1329 2004-02-04 André Pönitz <poenitz@gmx.net>
1331 * BufferView.[Ch] (insertInset):
1332 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1337 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1339 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1340 on the default clause of the switch
1341 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1342 wasn't catched by LCursor::dispatch
1344 2004-02-03 André Pönitz <poenitz@gmx.net>
1347 * cursor.[Ch]: some additional asserts
1349 * undo.[Ch]: remove LyXText dependency in interface
1353 * lyxtext.h (firstPar, lastPar): remove dead functions
1358 * paragraph.[Ch]: adjust
1360 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1362 * lyxfind.C (find): fix argument order in call to ::find
1364 2004-02-02 André Pönitz <poenitz@gmx.net>
1366 * cursor.[Ch]: remove direct access to anchor
1368 * text.C: remove findText() hack
1370 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1372 * iterators.[Ch] (lockPath): remove in favour of...
1373 * BufferView.[Ch] (setCursor): this addition
1374 * BufferView.C (putSelectionAt): adjust
1375 * undo.C (performUndoOrRedo): adjust
1376 * lyxfunc.C (dispatch): adjust
1378 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1380 * iterators.C (lockPath): add a missing slice
1381 * undo.C (performUndoOrRedo): remove redundant positioning code
1383 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1385 * vc-backend.C (scanMaster): ";" -> ';'
1387 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1389 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1390 std::binary_function
1392 * lyxtextclass.C (compare_name): rename to...
1393 (LayoutNamesEqual): ...this
1395 * lyxlex_pimpl.C (compare_tags): inherit from
1396 std::binary_function, put back into anon namespace
1398 * lyxfind.C (MatchString): inherig from std::binary_function
1399 (findChange): use empty() istead of !size()
1401 * format.C (FormatNamesEqual): new functor
1408 * converter.C (compare_Converter): rename to...
1409 (ConverterEqual): ...this, and fixup a bit.
1410 (getConverter): use it, and make function const
1411 (getNumber): use it, and make function const
1415 * bufferlist.C: add using boost::bind
1417 * MenuBackend.C (MenuNamesEqual): new functor
1418 (hasMenu): use it, and make function const
1419 (hasSubmenu): use nested bind to get rid of compare_memfun.
1421 2004-01-30 André Pönitz <poenitz@gmx.net>
1423 * BufferView_pimpl.C:
1426 * cursor_slice.[Ch]:
1429 * paragraph_funcs.C:
1430 * paragraph_funcs.h:
1434 * text3.C: move some of the edit(x,y) handling to the insets
1435 some coordinate changes.
1437 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1439 * text.C: add using statements for std::advance and std::distance
1441 * paragraph.C: add using statement for std::distance
1443 * lyxfind.C: add using statement for std::advance
1445 * cursor.C (region): remove std:: from swap
1446 (openable): use nucleus in stead of operator->
1448 * BufferView.C: add using statements for std::distance and std::swap
1450 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1452 * iterators.C: Remove the pimple, move the needed structures to
1453 the header file. Create accessor for the positions stack.
1454 (asPosIterator): remove function
1456 * PosIterator.C (PosIterator): move constructors to top of file
1457 (PosIterator): reimplement the constructor taking a ParIterator in
1459 (setFrom): new function
1460 (operator!=): inline it
1462 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1464 * lyxfind.C (replaceAll): use std::advance
1466 * iterators.h: inherit from std::iterator.
1468 * PosIterator.C (advance, distance): remove
1469 * PosIterator.h: interit from std::iterator.
1471 2004-01-26 André Pönitz <poenitz@gmx.net>
1474 * BufferView_pimpl.[Ch]:
1478 * bufferview_funcs.C:
1488 * output_linuxdoc.C:
1489 * output_plaintext.C:
1491 * paragraph_funcs.[Ch]:
1492 * paragraph_pimpl.[Ch]:
1498 * text3.C: more IU: dumps most of the rest of the mathcursor
1499 implementation into cursor.[Ch]; "globalize" a bit of it.
1501 2004-01-25 Angus Leeming <leeming@lyx.org>
1503 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1505 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1507 * LaTeXFeatures.h: add nice_ and nice() const
1508 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1510 2004-01-20 André Pönitz <poenitz@gmx.net>
1513 * BufferView_pimpl.C:
1515 * bufferview_funcs.C:
1517 * cursor_slice.[Ch]:
1528 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1529 LCursor and mathcursor parts to LCursor and InsetBase.
1531 2004-01-15 André Pönitz <poenitz@gmx.net>
1533 * cursor_slice.[Ch]: add a few covienience functions
1535 * funcrequest.[Ch]: remove BufferView * member
1537 * BufferView_pimpl.C:
1544 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1546 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1548 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1549 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1551 2004-01-13 André Pönitz <poenitz@gmx.net>
1554 * lyxtext.h: hide cursor and selection anchor behind accessor function
1557 * BufferView_pimpl.[Ch]:
1559 * bufferview_funcs.C:
1569 * cursor_slice.[Ch]: some integer type changes for inset unification
1571 * lyxcursor.[hC]: remove, it's CursorSlice now.
1574 * BufferView_pimpl.[Ch]:
1575 * bufferview_funcs.C:
1581 * textcursor.[Ch]: adjust
1583 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1585 * text2.C (undoSpan): add and use
1586 * text.C (breakParagraph): use undoSpan (fix bug 578)
1589 2004-01-08 Angus Leeming <leeming@lyx.org>
1591 * BufferView_pimpl.C (MenuInsertLyXFile):
1592 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1593 * lyxfunc.C (menuNew, open, doImport):
1594 FileFilterList change to the FileDialog open and save functions.
1596 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1598 * ShareContainer.h: make isEqual and isUnique adaptable
1600 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1602 2004-01-07 Angus Leeming <leeming@lyx.org>
1605 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1607 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1609 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1610 functions replacing find, replace and replaceAll.
1612 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1613 LFUN_WORDFIND(FORWARD|BACKWARD).
1615 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1617 * text.C (breakParagraph): remove an outdated #warning
1619 2004-01-07 André Pönitz <poenitz@gmx.net>
1621 * lyxfind.C: somewhat clearer logic
1623 * text.C: prevent crash in cursorX on unitialized row cache
1625 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1627 * lyxcursor.[Ch] (operator>): add
1628 * textcursor.C (selStart, selEnd): use std::min and std::max
1630 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1632 * Chktex.C: include boost/format.hpp
1634 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1636 * InsetList.C: replace functor MathcIt with adaptable functor
1638 (insetIterator): modify accordingly
1640 * BranchList.h: move the BranchNamesEqual functor here from...
1641 * BranchList.C: ... to here
1643 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1645 (add): replace a finding loop with std::find_if.
1647 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1649 * output_docbook.C: moving LatexParam functionality into
1652 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1654 * buffer.C: increment format to 229.
1656 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1659 * lyx_sty.[Ch]: remove minipageindent_def
1665 * text3.C: remove LFUN_INSET_MINIPAGE
1667 2003-12-28 Angus Leeming <leeming@lyx.org>
1669 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1671 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1673 * text2.C (setParagraph): fix off-by-one crash
1675 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1677 * output_docbook.C: header stuff for AGU
1679 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1681 * text2.C (redoCursor): remove
1684 * BufferView_pimpl.C: remove calls to redoCursor and
1685 setCursor(cursor.par(), cursor.pos()) all around
1687 2003-12-15 Angus Leeming <leeming@lyx.org>
1689 * buffer.C: up the format to 228.
1691 2003-12-15 André Pönitz <poenitz@gmx.net>
1693 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1698 * BufferView_pimpl.C:
1707 2003-12-15 Angus Leeming <leeming@lyx.org>
1709 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1710 than getFromGUIName to manipulate the color.
1712 2003-12-14 Angus Leeming <leeming@lyx.org>
1714 * BranchList.[Ch]: minimize the API.
1715 (Branch::getBranch, getColor): now return a 'const &'.
1716 (Branch::setSelected) now returns a bool set to true if the
1717 selection status changes.
1718 (BranchList::clear, size, getColor, setColor, setSelected,
1719 allBranches, allSelected, separator): removed.
1720 (BranchList::find): new functions, returning the Branch with
1722 (BranchList::add, remove): return a bool indicating that
1723 the operation was successful.
1725 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1726 new InsetBranch::isBranchSlected member function.
1728 * LColor.[Ch]: mimimize the API.
1729 (fill): renamed as addColor and made private.
1730 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1731 versions of these functions taking a string arg have been removed.
1733 * bufferparams.C (readToken):
1734 * lyxfunc.C (dispatch):
1735 * lyxrc.C (read): changes due to the altered BranchList and
1738 * factory.C (createInset, readInset): changes due to altered
1741 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1744 * lyxfunc.C: remove insetminipage. "minipage-insert"
1745 now produces a frameless minipage box inset.
1747 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1749 * textcursor.[Ch] (selStart,selEnd): add new methods
1750 remove selection::start, end, use LyXCursor::operator<
1751 * lyxcursor.[Ch] (operator<): add
1752 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1753 * BufferView.[Ch] (unsetXSel): add
1754 * text2.C (clearSelection): use unsetXSel,adjust
1757 * rowpainter.C: adjust
1758 * bufferview_funcs.C (put_selection_at): adjust
1760 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1762 * BufferView_pimpl.C: small coord. correction
1764 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1766 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1767 dragging over the splash screen.
1769 2003-12-11 Angus Leeming <leeming@lyx.org>
1771 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1772 as it is now handled in LyXText::dispatch.
1774 * text3.C (doInsertInset): remove a level of nesting.
1776 2003-12-11 Angus Leeming <leeming@lyx.org>
1778 * factory.C (createInset): changes due to the changed interface to
1779 InsetCommandMailer::string2params.
1781 2003-12-10 Angus Leeming <leeming@lyx.org>
1783 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1784 'dialog-show-new-inset <inset name>'
1786 2003-12-10 Angus Leeming <leeming@lyx.org>
1788 * buffer.C: up the format to 227.
1790 * factory.C: the box inset is now identified simply by 'Box'.
1792 2003-12-10 Angus Leeming <leeming@lyx.org>
1794 * buffer.C: up the format to 226.
1796 * factory.C: the note inset is now identified simply by 'Note'.
1798 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1800 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1801 when a pit is enough. Standarize a couple of loops.
1803 2003-12-05 Angus Leeming <leeming@lyx.org>
1805 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1806 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1807 data to the re-worked "log" dialog.
1809 2003-12-03 André Pönitz <poenitz@gmx.net>
1815 * paragraph_funcs.C:
1817 * text2.C: use Inset::getText instead of Inset::getParagraph
1819 2003-12-03 André Pönitz <poenitz@gmx.net>
1823 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1824 InsetText::read() as LyXText::read()
1826 2003-12-02 Angus Leeming <leeming@lyx.org>
1828 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1829 type. Add a comment in the implementation that the function uses
1830 the stream's bad() function rather than fail() as the std::streams
1833 2003-12-02 André Pönitz <poenitz@gmx.net>
1835 * lyxlex.[Ch]: make interface more similar to std::stream
1837 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1839 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1841 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1843 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1845 * vspace.[Ch]: remove VSpace::NONE
1847 2003-12-01 André Pönitz <poenitz@gmx.net>
1850 * lyxtext.h: move ParagraphList member to LyXText
1851 rename LyXText::ownerParagraphs to LyXText::paragraph
1854 * bufferview_funcs.C:
1864 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1866 * undo.C: fix cursor positioning
1868 2003-12-01 John Levon <levon@movementarian.org>
1870 * BufferView_pimpl.C: fix a crash on exit with
1873 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1875 * BranchList.C: fix setSelected() method.
1877 2003-11-28 André Pönitz <poenitz@gmx.net>
1879 * ParagraphParameters.[Ch]:
1880 * ParameterStruct.h: remove space above/below from Paragraph to
1883 * BufferView_pimpl.C:
1889 * paragraph_funcs.C:
1895 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1897 * factory.C: Syntax change for CharStyles
1899 2003-11-28 André Pönitz <poenitz@gmx.net>
1904 * buffer.[Ch]: move LyXText member
1906 2003-11-28 André Pönitz <poenitz@gmx.net>
1908 * BufferView.[Ch]: make LyXText * text a private member
1910 * BufferView_pimpl.C:
1921 * output_plaintext.C: cleanup
1923 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1926 * lyxtextclass.[Ch]: parametrize SGML document header
1928 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1931 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1934 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1936 * text2.C (setFont): rework using PosIterator (no more recursive)
1937 (setCharFont): no more needed
1938 (setLayout): no more selection cursors fiddling (done by redoCursor)
1939 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1940 destroy remaining ones)
1942 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1944 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1946 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1949 * text3.C: adjust + re-allow multi par depth changes
1950 * textcursor.C: simplify a bit
1952 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1958 * src/output_docbook.C:
1959 * src/output_latex.C:
1964 * src/text2.C: Introducing a number of tags parametrizing various
1965 XML formats that we may want to support
1967 2003-11-25 André Pönitz <poenitz@gmx.net>
1969 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1971 * lyxtext.h (leftMargin/rightMargin): simplify interface
1978 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1980 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1981 master file to any child files. Fixes bug 546.
1983 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1985 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1987 2003-11-24 André Pönitz <poenitz@gmx.net>
1989 * rowpainter.C: simplification
1991 * text2.C (updateCounters): remove call to redoParagraph on
1992 changed labels as this is far too expensive.
1994 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1996 * converter.C (convert): fix a crash: this function gets
1997 called with buffer == 0 from importer code.
1999 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2001 * text3.C (cursorPrevious): make sure that we do not compare
2002 iterators form different containers.
2005 * rowpainter.C (paintSelection): make sure that we do not compare
2006 iterators from different containers.
2008 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2009 iterators from different ParagraphList containers.
2012 * text2.C (LyXText): change order of initialization slightly
2013 (operator=): new function. copy all variables except cache_par_
2014 (moveUp): make sure that we do not compare iterators from
2015 different ParagraphList constainers.
2018 * text.C (firstPar): new function
2019 (lastPar): new function
2020 (endPar): new function
2022 * lyxtext.h: move things around and group public functions, public
2023 variables, private functions, private variables
2025 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2027 * factory.C: change call to InsetERT constructor to avoid
2028 additional invocation of method status
2029 * text2.C (toggleInset): remove redundant update() call
2030 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2031 instead of a Bufferview pointer
2033 2003-11-21 André Pönitz <poenitz@gmx.net>
2035 * rowpainter.C: simplification
2037 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2039 * text3.C (dispatch): make possible to extend a word/row selection
2042 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2044 * lyxtext.h: x0_,y0_ -> xo_,yo_
2045 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2046 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2047 * rowpainter.C (paintRows): paint full paragraphs
2049 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2051 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2054 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2056 * lyxtext.h: add x0_, y0_
2057 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2058 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2060 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2062 * text2.C (setCursorIntern): move the x_target update here *
2063 * text3.C: change some bv() to true/false in calls to
2064 cursorUp/Down/Right/Left
2065 * cursor.C: use helper function.
2067 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2069 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2070 * paragraph_funcs.[Ch]: correct comment
2071 * rowpainter.C: do not paint selections away from bv->cursor()
2072 Fix a long standing selection painting bug.
2073 * text3.C: generalize mouse-selection code to LyXTexts other that
2075 * textcursor.C: do not use y coords if we can use par offsets
2077 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2079 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2080 cursor position after e.g. inset insert)
2082 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2084 * lyxfind.C (replace): adjust to locking removal + some
2087 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2089 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2092 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2095 * output_docbook.C: XML sanitation: new layout
2096 parameters InnerTag and CommandDepth
2098 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2100 * BufferView_pimpl.C:
2102 * text3.C: Fix the insertion and modification of button-style
2105 2003-11-13 André Pönitz <poenitz@gmx.net>
2107 * InsetList.[Ch]: remove deleteLyXText
2109 * paragraph.[Ch]: cache beginOfBody position
2114 * text3.C: remove superfluous update() calls
2118 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2120 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2121 * BufferView.C (fitLockedInsetCursor): remove
2122 * cursor.[Ch] (getDim): add
2123 * text.C (getRowNearY): add faster version
2124 * text3.C: remove some update calls
2126 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2138 * text3.C: The Character Style /XML short element patch.
2140 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2143 * factory.C: Small step to solving 'unable to insert some insets'
2146 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2148 * cursor.[Ch] (updatePos): new function for updating the y
2149 position of the tip inset
2150 * bufferview_funcs.C (put_selection_at):
2151 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2153 2003-11-11 André Pönitz <poenitz@gmx.net>
2155 * text.C: remove big comment on invalid Paragraph pointers as it is
2158 2003-11-11 André Pönitz <poenitz@gmx.net>
2160 * text_funcs.[Ch]: merge with ...
2168 * Makefile.am: remove text_funcs.[Ch]
2170 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2172 * cursor.C (getPos): return absolute cached y coord
2174 * BufferView_pimpl.C (fitCursor): new simplistic code
2175 (workAreaDispatch): add a fitCursor call
2177 2003-11-10 André Pönitz <poenitz@gmx.net>
2180 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2182 2003-11-10 André Pönitz <poenitz@gmx.net>
2184 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2185 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2186 indicate that the cursor needs to leave an inset
2188 * lyxtext.h: remove inset locking
2190 * cursor.[Ch]: re-implement functionality provided by inset locking
2193 * BufferView_pimpl.[Ch]:
2195 * bufferview_funcs.[Ch]:
2207 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2209 * PosIterator.[Ch]: replace the stack with a vector, add inset
2211 * iterators.[C]: adjust
2213 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2215 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2217 * paragraph_funcs.C (readParToken): put the correct id in the
2218 error item, not the id of the top paragraph
2220 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2222 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2223 * bufferview_funcs.C (put_selection_at): use the above
2225 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2227 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2229 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2231 * output_linuxdoc.h:
2232 * output_plaintext.h:
2234 * output_docbook.h: add #include statements
2236 2003-11-05 José Matos <jamatos@lyx.org>
2238 * output_docbook.[Ch]:
2239 * output_latex.[Ch]:
2240 * output_linuxdoc.[Ch]:
2241 * output_plaintext.[Ch]: New files for output formats.
2242 * output.[Ch]: New file for helper functions.
2245 * paragraph_funcs.[Ch]: output functions moved to new files.
2247 * outputparams.h: rename of latexrunparams.h
2255 * paragraph_funcs.[Ch]:
2256 * paragraph_pimpl.[Ch]:
2257 * tabular.[Ch]: rename ascii to plaintext
2258 and LatexRunParams to OutputParams.
2260 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2262 * iterators.[Ch] (text): require bv argument
2263 * undo.C (recordUndo):
2264 * lyxfunc.C (dispatch):
2265 * bufferview_funcs.C (put_selection_at): adjust
2267 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2269 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2271 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2273 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2276 2003-11-04 André Pönitz <poenitz@gmx.net>
2278 * cursor.[Ch]: restructure
2281 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2283 * iterators.[Ch] (asCursor): remove
2285 * lfuns.h: remove LFUN_INSET_EDIT
2291 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2293 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2295 * lyxfind.[Ch]: complete overhaul
2296 * BufferView_pimpl.C:
2298 * paragraph.[Ch] (insert): add
2300 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2304 * text.C: remove dead spellcheck code
2306 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * dispatchresult.h: add a val setter
2310 * cursor.C (dispatch): use a tempvar for data_[i]
2312 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2314 * PosIterator.[Ch]: compile fix
2316 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2318 * text.C (cursorPar): deactivate the cursor cache
2320 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2322 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2324 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * text3.C (dispatch): adjust for new DisptchResult semantics.
2328 * lyxfunc.C (dispatch): handle update when return from
2329 Cursor::dispatch, adjust for new DispatchResult semantics.
2331 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2332 DispatchResult(true) mean to not update. Add class functions for
2333 setting dispatched and update, as well as reading.
2335 * cursor.C (dispatch): don't handle update here
2337 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2340 * trans_mgr.C: adjust
2342 * paragraph_funcs.C (readParToken): exception safety
2344 * lyxvc.h: store the vcs pointer in a scoped_ptr
2347 * lyxsocket.C (serverCallback): exception safety
2349 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2351 * ispell.C (clone): make it return a auto_ptr
2353 * factory.C (createInset): exception safety
2354 (readInset): exception safety
2356 * bufferlist.C (newBuffer): exception safety
2358 * Thesaurus.C (Thesaurus): use initialization for aik_
2360 * MenuBackend.C (expandToc): exception safety.
2362 2003-11-03 André Pönitz <poenitz@gmx.net>
2366 * bufferview_funcs.C: remove getInsetFromId()
2369 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2375 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2377 * PosIterator.C (distance, advance): new
2378 * bufferview_funcs.[Ch] (put_selection_at): new
2379 * iterators.[Ch] (lockPath): new
2381 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2383 * iterators.[Ch] (asPosIterator): added
2384 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2385 * PosIterator.[Ch]: added
2387 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2391 * cursor.C (dispatch):
2392 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2394 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2395 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2396 contructor, add a class function dispatched. Remove operator>=
2398 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * debug.C: only use the default constructor for debugstream
2403 * main.C (main): include debug.h and setup the lyxerr streambuf
2406 2003-10-31 José Matos <jamatos@lyx.org>
2408 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2410 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2411 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2412 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2413 * paragraph_pimpl.C (simpleTeXSpecialC):
2414 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2415 add LatexRunParams argument.
2417 * exporter.C (Export): change call accordingly.
2419 * latexrunparams.h: add new member to take care of the other backends.
2420 2003-10-30 José Matos <jamatos@lyx.org>
2422 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2423 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2424 factorise code for paragraph output.
2426 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2429 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * text3.C (dispatch):
2432 * lyxfunc.C (dispatch):
2433 * cursor.C (dispatch):
2434 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2436 * dispatchresult.h: make the dispatch_result_t ctor explicit
2438 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2441 * buffer.C: small refactoring of docbook stuff
2443 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2448 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2451 operator dispatch_result_t, and operators for == != and >=
2453 * cursor.C (dispatch): adjust for operator dispatch_result_t
2454 removal. comment out call to update
2456 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2458 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2469 * dispatchresult.h: new file, DispatchResult broken out of
2472 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2474 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2476 * text.C (rowBreakPoint): put a hack inside #if 0
2478 2003-10-28 André Pönitz <poenitz@gmx.net>
2482 * paragraph_funcs.C:
2485 * text2.C: general cleanup (lots of small stuff)
2487 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2489 * text2.C (cursorEnd): simple fix to the "end key goes to one
2490 before the end on last row" bug
2492 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2494 * text.C (backspace): fix the "zombie characters"
2496 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2498 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2500 2003-10-27 André Pönitz <poenitz@gmx.net>
2502 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2504 * factory.C: handle new InsetPagebreak, InsetLine
2506 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2507 and move handling into new InsetPagebreak, InsetLine
2509 * BufferView_pimpl.C:
2511 * ParagraphParameters.C:
2512 * ParameterStruct.h:
2517 * paragraph_funcs.C:
2518 * paragraph_pimpl.C:
2524 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2527 * lyxrow_funcs.[Ch]:
2533 * text3.C: remove lastPos uses in favour of Row::endpos
2535 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2537 * undo.C (performUndoOrRedo): fix two crashes by setting a
2538 cursor by hand and reordering some calls. Use bv->lockInset instead
2539 of inset->edit because the latter loses cursor information
2541 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2543 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2545 (rowBreakPoint): fix width. change point to point + 1.
2546 Add a missing check.
2548 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2551 * lyxfunc.C: fix (at least partly) the problems
2552 with the Nav menu and headers inside branch insets
2555 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2557 * paragraph.C (getChar): add strong asserts
2559 * lyxrow_funcs.C (lastPos): remove hideous hack
2561 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2562 (fill): adjust to that (avoid an infinite loop)
2564 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2566 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2568 2003-10-23 André Pönitz <poenitz@gmx.net>
2570 * RowList_fwd.h: change list<> to vector<> to gain speed
2571 after suggestion from Alfredo
2573 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2575 * lyxtext.h: move the bidi stuff from here...
2578 * Bidi.[Ch]: ... to here
2580 2003-10-23 André Pönitz <poenitz@gmx.net>
2583 * text.C (isLastRow, isFirstRow): new functions
2585 * paragraph.h: new width cache member
2587 * rowpainter.C: replace RowList::iterator with Row & where possible
2589 * lyxfunc.C: replace several view()->text with a single call
2591 * toc.C: fix 'unused' warning
2593 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2596 when woring with stream::pos_type
2597 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2599 2003-10-22 André Pönitz <poenitz@gmx.net>
2602 * text.C: use Row & instead of RowList::iterator
2604 * lyxrow.h: rename end() to endpos()
2610 2003-10-22 Angus Leeming <leeming@lyx.org>
2612 * buffer.[Ch] (fully_loaded): new member function, returning true
2613 only when the file has been loaded fully.
2614 Used to prevent the premature generation of previews and by the
2615 citation inset to prevent computation of the natbib-style label.
2617 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2618 templates are all set up.
2620 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2622 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2624 * text.C: fixed an "oops" in the "is a bit silly"
2627 2003-10-21 André Pönitz <poenitz@gmx.net>
2629 * FuncStatus.[Ch]: small stuff, whitespace
2631 * lyxfont.[Ch]: operator<<() for debug reasons
2635 * lyxtext.h: whitespace, spelling
2637 * paragraph.C: naming of variables
2640 * text2.C: small stuff
2643 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2645 * text.C: (1) finish off the inset display() work;
2646 (2) fix the "is a bit silly" bug (accessing char
2649 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2651 * text.C: re-introduce display() for insets, fixing the
2652 various bugs (stretch of line above, math inset
2655 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2657 * text.C (rightMargin): remove spurious semicolon
2659 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2662 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2664 * text3.C: fix one crash due to wrong cursor def
2666 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * vc-backend.C (scanMaster): make the regex static
2670 * LaTeX.C (scanAuxFile): make the regexs static
2672 * text3.C (doInsertInset, dispatch, dispatch):
2673 * text2.C (cursorUp, cursorDown):
2674 * text.C (selectNextWordToSpellcheck):
2675 * BufferView_pimpl.C (dispatch):
2676 * lyxfunc.C (dispatch): localDispatch -> dispatch
2678 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2680 * lyxsocket.C: include <cerrno>
2682 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * lyxfunc.C (dispatch): remove textcache stuff
2686 * bufferlist.C (release): remove textcache stuff
2689 * TextCache.C: delete file
2690 * TextCache.h: delete file
2692 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2694 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2695 delete of the bv_->text.
2696 (resizeCurrentBuffer): remove texcache stuff
2697 (workAreaResize): ditto
2699 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2704 2003-10-16 André Pönitz <poenitz@gmx.net>
2711 * text3.C: speed up by storing y positions per paragraph plus per-row
2712 offset instead of having a 'full' y position in the row.
2714 2003-10-15 André Pönitz <poenitz@gmx.net>
2718 * undo.[Ch]: make undo aware of inner insets
2720 2003-10-14 Angus Leeming <leeming@lyx.org>
2722 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2723 static member functions LyX::ref() and LyX::cref.
2724 (lastfiles): new accessor functions for the new lastfiles_ member var.
2725 (addLyXView, views_): add a new LyXView to the list of views_.
2726 (updateInset): loop over all LyXViews to call their own updateInset
2727 member function, returning a pointer to the Buffer owning the inset.
2729 * BufferView_pimpl.C (loadLyXFile):
2730 * MenuBackend.C (expandLastfiles):
2731 * bufferlist.C (MenuWrite, QuitLyX):
2732 lastfiles is no longer a global variable.
2733 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2735 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2736 static function. Access through LyX::cref().emergencyCleanup().
2738 2003-10-14 André Pönitz <poenitz@gmx.net>
2740 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2742 * undo.[Ch]: restoring part of 'undo in insets'
2745 * undo_funcs.[Ch]: merge with undo.[Ch]
2747 * tabular.C: small cleansing stuff
2749 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2751 * paragraph_funcs.C (readParToken): report unknown insets as error
2752 boxes. Use the outer paragraph as location (also for unknown
2755 * factory.C (readInset): do not abort on reading an unknown inset.
2756 Eat it and return 0.
2758 2003-10-13 Angus Leeming <leeming@lyx.org>
2760 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2762 * lyxrc.C: displayTranslator is now a function,
2763 declared in GraphicsTypes.h.
2765 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2767 * format.C: new placeholder $$a to pass the socket address.
2769 * bufferlist.[Ch]: new function getBufferFromTmp.
2771 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2772 files in the temporary dir.
2774 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2776 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2778 * Makefile.am: add lyxsocket.[Ch].
2780 * lyx_main.C (error_handler): handle SIGPIPE.
2782 2003-10-13 André Pönitz <poenitz@gmx.net>
2784 * BufferView_pimpl.C:
2789 * undo_funcs.[Ch]: use paroffset_type instead of
2790 ParagraphList::iterators to prevent multiple conversion
2791 (and get a more robust interface)
2793 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2797 * text3.C (dispatch): ditto
2799 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2802 move the onlyfile, use onlyfile instead of foundfile in a couple
2805 * DepTable.C (update): flush the error stream a bit more
2807 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * lyxserver.C (callback): adjust
2811 * lyxfunc.C (getStatus): add a missing brace in commented code
2812 (ensureBufferClean): reindent
2813 (dispatch): delete version taking a string
2815 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * LaTeX.C (deplog): move found file handlig from here...
2818 (handleFoundFile): .. to new function here.
2819 (deplog): make sure to discover several files mentioned on the
2822 2003-10-10 André Pönitz <poenitz@gmx.net>
2829 * text3.C: fix some of the tabular crashes
2831 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2833 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2835 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2837 2003-10-09 André Pönitz <poenitz@gmx.net>
2839 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2842 * BufferView_pimpl.C:
2843 * bufferview_funcs.C:
2854 * undo_funcs.C: adjust
2856 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * text2.C (incrementItemDepth): new function, use a backtracking
2859 algorithm to discover the correct item depth.
2860 (resetEnumCounterIfNeeded): new function, use a backtracking
2861 algorithm to discover if counter reset is needed.
2862 (setCounter): use them. Simplify a bit. Add different labels for
2863 different item depths for itemize.
2865 * paragraph.C (Paragraph): remove initialization of enumdepth
2868 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2869 enumerate and itemize. Change the type of itemdepth to signed char.
2871 2003-10-08 André Pönitz <poenitz@gmx.net>
2873 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2878 * tabular.[Ch]: fix crash after 'row-insert'
2880 2003-10-08 Angus Leeming <leeming@lyx.org>
2882 Fix doxygen warnings.
2884 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2885 Remove CutAndPaste:: prefix from header file declaration.
2887 * LColor.h (fill): remove LColor:: prefix from declaration.
2889 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2890 use lyx::depth_type rather than Paragraph::depth_type so that
2891 header file and .C file match.
2893 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2895 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2896 * aspell.C: \file aspell_local.C -> \file aspell.C
2897 * gettext.C: \file gettext.C -> \file src/gettext.C
2898 * gettext.h: \file gettext.h -> \file src/gettext.h
2899 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2900 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2901 * text.C: \file text.C -> \file src/text.C
2903 * toc.C: move comment so that doxygen is not confused.
2905 2003-10-07 Angus Leeming <leeming@lyx.org>
2907 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2909 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2912 * aspell_local.h: add forgotten std::string's.
2914 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2921 * text3.C: The Box patch. Fancybox support, minipage, parbox
2923 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2929 * ParagraphParameters.h:
2939 * lyxtextclasslist.h:
2942 * paragraph_pimpl.C:
2943 * textcursor.h: add <string> and other small fixes to make Lars'
2944 std::string patch compile with STLport.
2946 2003-10-06 Angus Leeming <leeming@lyx.org>
2948 * LColor.h: Add missing #include <string>.
2950 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * All most all file in all subdirs: Make <string> be the prefered
2953 way of getting to std::string, add using declarations.
2955 2003-10-06 André Pönitz <poenitz@gmx.net>
2957 * metricsinfo.C: initialize LyXFont before changing attribute.
2958 (fixes the 'math in \emph is upright' bug)
2960 2003-10-06 André Pönitz <poenitz@gmx.net>
2962 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2964 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2967 * paragraph_pimpl.C: Small fixes to build using STLport
2969 2003-10-02 André Pönitz <poenitz@gmx.net>
2972 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2974 2003-10-01 André Pönitz <poenitz@gmx.net>
2976 * factory.C: assert early
2978 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * lyx_main.C: remove the global debug object
2982 * debug.h: adjust for new debugstream
2984 * debug.C: adjust for new debugstream and keep the global debug
2987 2003-09-22 Angus Leeming <leeming@lyx.org>
2989 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2990 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2991 an incomplete class LyXFont.
2993 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2995 * factory.C: bug fix in branches
2997 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * lyxfunc.C (processKeySym): adjust
3001 (dispatch): change arg name from ev to func, adjust
3002 (sendDispatchMessage): ditto
3004 * lyx_main.C (defaultKeyBindings): adjust keybindings
3005 (deadKeyBindings): ditto
3007 * kbsequence.C (addkey): return a FuncRequest
3009 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3011 * kbmap.C (bind): take a FuncRequest as arg, adjust
3014 (defkey): change to take a FuncRequest as arg, adjust
3015 (findbinding): take a FuncRequest as arg, adjust.
3017 * funcrequest.h (operator=): added
3019 * funcrequest.C (FuncRequest): default kb_action changed from
3020 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3022 * buffer.C (dispatch): simplify
3023 (dispatch): adjust to take a FuncRequest as arg, adjust
3025 * boost.C (assertion_failed): change assertion message slightly
3027 * ToolbarBackend.C (read): simplify
3029 * MenuBackend.C (binding): adjust call to findbinding, add a
3030 message if no binding is found.
3032 (expandToc): correct by adding a empty FuncRequest
3034 * LyXAction.C: include <boost/assert.hpp>
3035 (isPseudoAction): delete function
3036 (LookupFunc): change name to...
3037 (lookupFunc): this. change return type to FuncRequest.
3038 (getActionName): take kb_action as arg, simplify
3039 (funcHasFlag): add an assert, simplify.
3041 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * toc.C (action): return a FuncRequest, simplify
3045 * lyxfunc.C (processKeySym): adjust
3046 (getStatus): delete version that takes an int.
3048 (dispatch): delete version that takes action as int
3050 (sendDispatchMessage): simplify and adjust
3052 * funcrequest.C (getArg): take unsigned int as arg
3054 * ToolbarBackend.C (read): adjust
3055 (add): delete version that takes func as a string.
3056 (getIton): take a FuncRequest as arg
3058 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3061 * MenuBackend.C (MenuItem): add a new construct that only takes a
3062 Kind, simplify the constructor use for submenus.
3064 (expandLastfiles): adjust
3065 (expandDocuments): adjust
3066 (expandFormats): adjust
3067 (expandFloatListInsert): adjust
3068 (expandFloatInsert): adjust
3069 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3071 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3072 Remove class variables lyx_pseudo_map and lyx_arg_map
3074 * LyXAction.C (searchActionArg): delete function
3075 (getPseudoAction): delete function
3076 (retrieveActionArg): delete function
3077 (LookupFunc): make it return kb_action, simplify.
3078 (getActionName): simplify
3080 * factory.C (createInset): fix new bug
3082 2003-09-19 Angus Leeming <leeming@lyx.org>
3084 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3085 masterFilename_ parameter in the include inset.
3087 * factory.C (createInset): changes due to the changes to InsetInclude.
3089 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3091 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3093 2003-09-18 Angus Leeming <leeming@lyx.org>
3096 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3097 Inset::fillWithBibKeys.
3098 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3100 2003-09-18 Angus Leeming <leeming@lyx.org>
3102 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3104 (ctor): pass and store a 'Buffer const &'
3105 (buffer): new member function.
3107 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3108 '*this' to the LaTeXFeatures ctor.
3110 2003-09-18 Angus Leeming <leeming@lyx.org>
3116 * text.C: rename EnumLColor as LColor_color.
3118 2003-09-18 Angus Leeming <leeming@lyx.org>
3120 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3121 remove #include "insets/insetbase.h" from cursor.h.
3123 2003-09-18 Angus Leeming <leeming@lyx.org>
3125 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3126 InsetOld_code to remove #include "inset.h".
3128 * iterators.C: add #include "insets/inset.h"
3130 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3132 * BufferView.C: remove more locking stuff that apparently doesn't
3133 do anything sensible.
3135 2003-09-16 André Pönitz <poenitz@gmx.net>
3138 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3141 2003-09-16 Angus Leeming <leeming@lyx.org>
3143 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3145 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3148 * paragraph.h: remove #include "lyxfont.h". Forward declare
3151 2003-09-16 Angus Leeming <leeming@lyx.org>
3153 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3154 of support/textutils.h.
3155 (isWord): move the contents of support/textutils.h's IsWordChar here.
3161 * text2.C: add #include "paragraph.h".
3164 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3166 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * LaTeX.C: use namespace alias for lyx::support::os
3174 2003-09-16 Angus Leeming <leeming@lyx.org>
3177 * bufferview_funcs.C:
3180 * paragraph_pimpl.C:
3182 * text.C: add #include "LColor.h".
3184 2003-09-16 Angus Leeming <leeming@lyx.org>
3186 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3187 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3189 Store the FontBits::color variable as an int rather than as an
3190 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3193 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3194 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3195 string calls together.
3197 * lyxrc.C: add #include "LColor.h".
3199 2003-09-15 Angus Leeming <leeming@lyx.org>
3201 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3204 2003-09-15 Angus Leeming <leeming@lyx.org>
3206 * LColor.h: add an EnumLColor wrapper for LColor::color.
3208 * lyxfont.[Ch] (color, setColor, realColor):
3209 * lyxtext.h, text.C (backgroundColor):
3210 pass EnumLColor args to/from the functions, rather than LColor::color
3214 * lyxtext.h: forward declare EnumLColor.
3216 * lyx_main.C: add #include "LColor.h".
3218 2003-09-15 Angus Leeming <leeming@lyx.org>
3220 * .cvsignore: add lyx-gtk.
3222 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * ParagraphParameters.C
3231 * bufferview_funcs.C
3241 * vc-backend.C: remove usage of STRCONV
3243 2003-09-15 Angus Leeming <leeming@lyx.org>
3245 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3246 explicitly define the color passed to the painter.
3248 2003-09-15 Angus Leeming <leeming@lyx.org>
3250 * bufferparams.C (BufferParams): reorder member initializers to avoid
3253 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3255 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3256 * text.C (updateRowPositions): remove an unusual nop
3258 2003-09-12 André Pönitz <poenitz@gmx.net>
3260 * BufferView_pimpl.C:
3269 * Counters.[Ch]: finish the 'automatic counters' job
3271 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3273 * aspell.C: include <boost/assert.cpp> (compile fix)
3275 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3277 * boost.C (assertion_failed): use lyx::support::abort instead of
3280 2003-09-10 Angus Leeming <leeming@lyx.org>
3282 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3283 with their _fwd progeny.
3285 2003-09-09 Angus Leeming <leeming@lyx.org>
3287 134 files throughtout the source tree: replace 'using namespace abc;'
3288 directives with the appropriate 'using abc::xyz;' declarations.
3290 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3292 * boost.C (emergencyCleanup): moved here from LAssert.c
3293 (assertion_failed): new function, called by BOOST_ASSERT
3295 * several files: change Assert to BOOST_ASSERT
3297 2003-09-09 Angus Leeming <leeming@lyx.org>
3299 * buffer.[Ch]: Add an Impl class and move Buffer's member
3300 variables into it. As a result move several header files out of
3303 Add header files to lots of .C files all over the tree as a result.
3305 2003-09-09 Angus Leeming <leeming@lyx.org>
3307 * buffer.[Ch]: make Buffer's member variables private. Add
3310 Lots of changes all over the tree as a result.
3312 2003-09-08 Angus Leeming <leeming@lyx.org>
3314 * graph.C: #include <config.h>.
3316 2003-09-08 Angus Leeming <leeming@lyx.org>
3320 * BufferView_pimpl.C:
3349 * toc.C: remove redundant using directives.
3351 2003-09-07 Angus Leeming <leeming@lyx.org>
3353 * LaTeXFeatures.h: remove #include "support/types.h".
3354 * ToolbarBackend.h: remove #include <algorithm>.
3355 * changes.h: remove #include <ctime>.
3356 * debug.h: remove #include <iosfwd>.
3357 * graph.h: remove #include "support/std_string.h".
3358 * lyx_main.h: remove #include <csignal>.
3359 * lyxlex_pimpl.h: remove #include <fstream>.
3360 * sgml.h: remove #include <algorithm>, <utility>.
3361 * toc.h: remove #include "support/std_ostream.h".
3362 Add #include <iosfwd>.
3364 2003-09-07 Angus Leeming <leeming@lyx.org>
3366 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3368 * converter.h: forward declare LatexRunParams.
3369 * encoding.h: remove #include "lyxrc.h".
3370 * lyxtext.h: remove #include "LColor.h".
3371 * lyxtextclass.h: remove #include "support/types.h".
3372 * trans.h: remove #include "tex-accent.h".
3373 * trans_mgr.h: remove #include "tex-accent.h".
3374 * insets/inset.h: remove #include "support/types.h", <vector>.
3375 * insets/insetcollapsable.h: remove #include "LColor.h".
3376 * insets/insetinclude.h: remove #include "dimension.h".
3377 * insets/insetlatexaccent.h: remove #include "dimension.h".
3378 * insets/insetoptarg.h:: remove #include "insettext.h".
3379 * insets/insettext.h: remove #include "dimension.h",
3380 <boost/shared_ptr.hpp>
3382 * insets/renderers.h: add #include "dimension.h".
3383 * insets/updatableinset.h: add #include "support/types.h".
3385 * many .C files: Associated changes.
3387 2003-09-06 Angus Leeming <leeming@lyx.org>
3389 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3390 one, inside testInvariant.
3392 * PrinterParams.C: new file.
3393 * PrinterParams.[Ch]: move the function bodies out of line.
3395 2003-09-06 Angus Leeming <leeming@lyx.org>
3397 * ParagraphParameters.h: forward declare ParameterStruct rather than
3398 including its header file.
3399 (depth): moved out-of-line.
3401 2003-09-06 Angus Leeming <leeming@lyx.org>
3403 * BufferView_pimpl.h:
3406 * lyxfunc.h: forward declare LyXKeySym rather than
3407 #include "frontends/LyXKeySym.h".
3409 * BufferView_pimpl.C:
3412 * lyxfunc.C: associated changes.
3414 2003-09-06 Angus Leeming <leeming@lyx.org>
3416 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3417 As a result, can remove the #include "insets/inset.h" from BufferView.h
3419 2003-09-06 Angus Leeming <leeming@lyx.org>
3421 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3422 As a result, can remove the #include "insets/inset.h" from BufferView.h
3424 2003-09-06 Angus Leeming <leeming@lyx.org>
3430 * bufferview_funcs.C:
3431 * BufferView_pimpl.C:
3436 * ParagraphParameters.C:
3441 * frontends/controllers/ControlDocument.C:
3442 * insets/insetcaption.C: rearrange the #includes into some sort of
3445 * buffer.h: remove #includes ErrorList.h, undo.h
3447 2003-09-06 Angus Leeming <leeming@lyx.org>
3449 * support/types.h: add a 'depth_type' typedef, used to store the
3450 nesting depth of a paragraph.
3453 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3454 defining explicitly.
3457 * paragraph_funcs.h:
3458 * ParagraphParameters.h:
3459 * sgml.h: use lyx::depth_type rather than Paragraph or
3460 ParameterStruct's depth_type.
3463 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3466 * BufferView_pimpl.C:
3468 * ParagraphParameters.C:
3471 * bufferview_funcs.C:
3478 * frontends/LyXView.C:
3479 * frontends/controllers/ControlDocument.C:
3480 * frontends/controllers/ControlErrorList.C:
3481 * insets/insetbibitem.C:
3482 * insets/insetbranch.C:
3483 * insets/insetcaption.C:
3484 * insets/insetcollapsable.C:
3485 * insets/insetenv.C:
3486 * insets/insetert.C:
3487 * insets/insetfloat.C:
3488 * insets/insetfoot.C:
3489 * insets/insetfootlike.C:
3490 * insets/insetnewline.C:
3491 * insets/insetquotes.C:
3492 * insets/insettabular.C:
3493 * insets/insettext.C:
3494 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3496 * frontends/controllers/ControlChanges.C: #include "changes.h".
3498 2003-09-06 Angus Leeming <leeming@lyx.org>
3500 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3501 than #including paragraph.h.
3504 * RowList.h: deleted. Superfluous.
3514 * insets/insettext.h: use ParagraphList_fwd.h rather than
3517 * paragraph.h: don't forward declare ParagraphList.
3520 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3521 rather than ParagraphList.h. paragraph.h is still needed for the
3522 Paragraph::depth_type parameters.
3524 * textcursor.h: enable it to compile stand-alone in light of the
3527 * bufferview_funcs.C:
3539 * frontends/controllers/ControlParagraph.C:
3540 * frontends/controllers/ControlTabular.C:
3541 * insets/insetmarginal.C:
3542 * insets/insetminipage.C:
3543 * insets/insetnote.C:
3544 * insets/insetoptarg.C: add header files needed to compile again.
3546 2003-09-06 Angus Leeming <leeming@lyx.org>
3548 * RowList_fwd.h: new file, forward-declaring Row rather than
3549 #including lyxrow.h.
3554 * insets/insettext.h: use it instead of RowList.h
3556 * bufferview_funcs.C:
3563 * text3.C: #include "RowList.h".
3565 2003-09-05 Angus Leeming <leeming@lyx.org>
3567 * factory.C (createInset):
3568 * vspace.C (c-tor): replace sscanf call with an istringstream.
3569 * ispell.C: re-add missing HP/UX headers.
3570 * lyxserver.C: re-add missing os2 headers.
3572 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3581 * text3.C: re-add missing system headers, needed for 2.95.2.
3583 2003-09-05 Angus Leeming <leeming@lyx.org>
3585 Changes most place everywhere due to the removal of using directives
3586 from support/std_sstream.h.
3588 2003-09-05 Angus Leeming <leeming@lyx.org>
3590 Replace LString.h with support/std_string.h,
3591 Lsstream.h with support/std_sstream.h,
3592 support/LIstream.h with support/std_istream.h,
3593 support/LOstream.h with support/std_ostream.h.
3595 Changes resulting throughout the tree.
3597 2003-09-05 Angus Leeming <leeming@lyx.org>
3599 * sgml.h: ensure that the header file can be compiled stand-alone.
3600 * *.C: strip out redundant #includes. (320 in total.)
3602 2003-09-04 Angus Leeming <leeming@lyx.org>
3604 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3605 here (from getPackages).
3607 * debug.[Ch]: add a new EXTERNAL tag.
3609 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3611 * text2.C (cursorEnd): simplify
3613 (getColumnNearX): adjust
3615 * text.C (computeBidiTables): adjust
3618 * rowpainter.C (paintChars): adjust
3619 (paintSelection): adjust
3620 (paintChangeBar): adjust
3623 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3625 (numberOfSeparators): adjust
3627 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3633 * text3.C: Restricts the mouse click functionality
3634 of insets like bibtex, include, toc and floatlist to the visible
3635 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3636 up the dialogs. Cursor has to be in front of the inset (i.e.
3637 start of row) for this to function.
3639 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3641 * bufferview_funcs.C (currentState): output row information
3643 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3645 * bufferview_funcs.C (currentState): output paragraph position
3647 2003-09-04 Angus Leeming <leeming@lyx.org>
3649 * FloatList.h: move out #include "Floating.h".
3650 * LaTeX.h: move out #include "DepTable.h".
3651 * LyXAction.h: move out #include "funcrequest.h".
3652 * buffer.h: move out #include "author.h", "iterators.h".
3653 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3654 * lyx_main.h: move out #include "errorlist.h".
3655 * lyxfunc.h: move out #include "FuncStatus.h".
3656 * lyxtext: move out #include "lyxcursor.h".
3657 * paragraph_pimpl.h: move out #include "counters.h".
3659 2003-09-03 Angus Leeming <leeming@lyx.org>
3661 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3662 preamble_snippets list, enabling us to add snippets to the preamble
3663 only if the snippet was not there already.
3665 2003-09-04 Angus Leeming <leeming@lyx.org>
3667 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3669 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3674 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3676 * BranchList.C: point fix, earlier forgotten
3678 2003-09-02 Angus Leeming <leeming@lyx.org>
3680 * box.C (contains): renamed from 'contained' after a fantastic
3683 2003-09-02 John Levon <levon@movementarian.org>
3689 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3691 2003-09-02 John Levon <levon@movementarian.org>
3693 * text2.C: simplification of cursorEnd(), including partial
3696 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * buffer.C (readFile): add a space
3700 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3702 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3704 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * buffer.C (readFile): new function, take a filename and a
3707 ParagraphList::iterator
3709 (readFile): adjust, make it private. don't use setStream, make
3710 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3711 always contain the filename.
3713 * BufferView.C (insertLyXFile): simplify and make it work for
3716 2003-08-30 John Levon <levon@movementarian.org>
3718 * Makefile.am: fix dist (from Kayvan)
3720 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * most files: change to use const Buffer refs
3724 2003-08-27 André Pönitz <poenitz@gmx.net>
3726 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3727 on top of ownerPar().
3729 2003-08-27 John Levon <levon@movementarian.org>
3731 * funcrequest.C: properly initialise POD members
3733 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3735 * lyxtext.h (top_y): move top_y from here
3740 * BufferView_pimpl.[Ch]: to here
3741 * frontends/screen.C:
3742 * insets/insettabular.C:
3743 * insets/insettext.C: adjust
3744 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3746 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3749 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3751 2003-08-26 André Pönitz <poenitz@gmx.net>
3753 * paragraph_func.[Ch] (outerPar): new function
3756 * paragraph_funcs.C:
3757 * paragraph_funcs.h:
3758 * paragraph_pimpl.C:
3759 * text2.C: remove Inset::par_owner
3761 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3766 * text2.C: eliminates the needFullRow/display() stuff
3767 altogether, putting the logic in metrics/draw in the insets.
3769 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3771 * text2.C (redoParagraphInternal, redoParagraphs):
3772 * text.C (redoParagraph): add a call to updateRowPositions at the
3773 end of each 'metrics-like' call. Remove all others.
3774 (getRow): remove the 'y-computing' version.
3775 (getRowNearY): do not compute nor return the real y. Solve the
3776 'y < 0' problem and simplify.
3778 2003-08-22 Angus Leeming <leeming@lyx.org>
3780 * *.[Ch]: clean-up of licence and author blurbs.
3781 Also move config.h out of a few .h files and into a few .C files.
3783 2003-08-22 André Pönitz <poenitz@gmx.net>
3785 * lyxrow.[Ch]: add x_ and *fill_ members
3790 * text2.C: adjust/remove prepareToPrint() calls
3792 2003-08-22 André Pönitz <poenitz@gmx.net>
3794 * lyxrow.[Ch]: add end_ member
3796 * lyxrow_funcs.C: use LyXRow::end_
3798 * lyxtext.h (singleWidth): add LyXFont parameter
3801 * text2.C: adjust LyXText::singleWidth() calls
3803 * text.C (redoParagraph): simplify row breaking logic
3806 2003-08-19 André Pönitz <poenitz@gmx.net>
3808 * funcrequest.C: initialize button_ member
3811 * rowpainter.[Ch]: interface consolidation
3813 2003-08-18 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.C:
3818 * paragraph_funcs.C:
3820 * text3.C: remove LyXScreen::draw() and fitCursor calls
3822 * BranchList.h: remove spurious semicolons
3824 * MenuBackend.C: fix branchlist related crash
3826 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3834 * bufferparams.[Ch]:
3838 * text3.C: implements the 'branch inset'
3839 idea. This allows the output of various versions of a document
3840 from a single source version, selectively outputing or suppressing
3841 output of parts of the text.
3842 This implementation contains a 'branch list editor' in a separate
3843 tab of the document settings dialog. Branches are user definable
3844 and have a "display colour" to distinguish them on-screen.
3846 ColorHandler was somewhat cleaned up.
3847 (1) make possible a dynamically growing LColor list by allowing
3848 the graphic context cache to grow along (vector);
3849 (2) eliminate an IMHO unnecessary step in colour allocation.
3851 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3853 * BufferView_pimpl.C: compile fix
3855 2003-08-15 André Pönitz <poenitz@gmx.net>
3857 * rowpainter.C: remove extra metrics calls
3859 * lyxtext.h: merge the two constructors into a single one,
3860 pass reference to owner's par list
3862 * BufferView_pimpl.C:
3866 2003-08-15 André Pönitz <poenitz@gmx.net>
3868 * lyxrow_funcs.[Ch]:
3871 * paragraph_funcs.C:
3876 * text_funcs.C: split LyXText::rowlist_ into individual
3877 Paragraph::rows_ chunks
3880 * BufferView_pimpl.[Ch]:
3883 * text3.C: remove toggleSelection()
3885 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3887 * bufferlist.C: beautify two alerts (shorter text of buttons)
3888 * buffer.C: Remove redundant ' ' from message
3890 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3891 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3892 rename VALIGN_CENTER to VALIGN_MIDDLE
3894 2003-08-11 André Pönitz <poenitz@gmx.net>
3896 * lyxtext.h (getPar):
3897 * text.C: new function
3899 2003-08-11 André Pönitz <poenitz@gmx.net>
3902 * tracer.[Ch]: remove unneeded files
3904 * InsetList.[Ch]: remove resizeInsetsLyXText()
3909 * text3.C: merge insertParagraphs() and appendParagraph()
3910 remove breakAgain(), update()
3912 * BufferView_pimpl.[Ch]:
3913 * bufferview_funcs.[Ch]:
3917 * tabular.C: adjust after text & InsetList changes.
3919 2003-08-08 André Pönitz <poenitz@gmx.net>
3921 * text.C (insertChar, backspace): replace rowlist fiddling
3922 with rebreak of full par
3925 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3926 checkParagraph, updateInset): removed
3928 2003-08-07 André Pönitz <poenitz@gmx.net>
3931 * text3.C: merge some LFUN handlers, remove dead code
3933 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3935 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3937 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3939 * text2.C (DEPM): fix part of bug 1255 and 1256
3941 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3943 * BufferView_pimpl.C (workAreaDispatch): change to use
3944 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3945 that are no mouse related.
3947 2003-08-05 André Pönitz <poenitz@gmx.net>
3950 * BufferView_pimpl.[Ch]:
3951 * bufferview_funcs.C:
3953 * text3.C: rip out "deep update"
3955 * textcursor.[Ch] (last_sel_cursor): remove unused member
3957 2003-08-04 André Pönitz <poenitz@gmx.net>
3960 * BufferView_pimpl.[Ch]:
3961 * ParagraphParameters.C:
3962 * bufferview_funcs.C:
3968 * text3.C: replace "complicated" BufferView::update(...) calls with
3971 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3973 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3975 * Makefile.am (lyx_SOURCES): add paper.h
3977 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3979 * Makefile.am: move things around so that both lyx-qt and
3980 lyx-xforms can be built (according to --with-frontend). Then lyx
3981 is a symbolic link to lyx-[firstfrontend]
3983 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3985 * Always use std::endl with lyxerr
3987 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3989 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3991 2003-08-01 André Pönitz <poenitz@gmx.net>
3994 * BufferView_pimpl.[Ch]:
3996 * text3.C: merge BufferView::repaint() and BufferView::update()
3998 2003-08-01 José Matos <jamatos@lyx.org>
4000 * buffer.[Ch]: file_format is no longer a buffer data element.
4002 2003-08-01 André Pönitz <poenitz@gmx.net>
4007 * text2.C: make redoParagraph more independent of current cursor
4009 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4011 * text2.C: remove unneeded members
4013 2003-07-30 André Pönitz <poenitz@gmx.net>
4015 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4017 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4018 create a single function...
4020 * paragraph_funcs.C (moveItem): ... here.
4023 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4025 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4027 * LColor.[Ch]: Add comment and greyedout logical colors.
4029 2003-07-30 André Pönitz <poenitz@gmx.net>
4031 * tabular.C: don't use Assert too heavily. This crashes where it
4034 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4036 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4037 is disabled (bug 1232)
4039 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4041 * factory.C: limited 'arg' scope
4043 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4045 * factory.C: fixed Note submenu issues
4047 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4049 * factory.C: submenu for Note/Comment/Greyedout
4051 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4054 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4056 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4059 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4060 greyedout. Patch provided by Jürgen Spitzmüller.
4062 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4064 * kbmap.C (read): fix error message when reading bind files
4066 2003-07-29 Angus Leeming <leeming@lyx.org>
4068 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4069 certainly does not do what it purports to do. I am doing it, and
4070 us, a favour by killing it.
4072 2003-07-28 José Matos <jamatos@lyx.org>
4074 * buffer.C (readBody, do_writeFile):
4075 * paragraph.C(readParagraph): \end_document replaces \the_end.
4077 2003-07-29 André Pönitz <poenitz@gmx.net>
4080 * BufferView_pimpl.[Ch]:
4084 * textcursor.[Ch]: remove toggleToggle & Co
4086 2003-07-28 José Matos <jamatos@fep.up.pt>
4088 * buffer.C (readParagraph):
4089 * params_func (readParToken, readParagraph):
4090 * paragraph.C (write): \layout -> \begin_layout.
4092 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * lyxlex_pimpl.C (setFile): clean up slightly.
4096 * bufferparams.h: add compressed var
4098 * buffer_funcs.C (readFile): adjust for LyXLex change
4099 (newFile): ditto + simplify
4101 * buffer.C (writeFile): handle writing of compressed files
4103 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4104 Check if the file is compressed and set a bufferparm if so.
4106 * Makefile.am (lyx_LDADD): remove explicit -lz
4108 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4110 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4111 makeDocBookFile): put the real LyX version in the first line of
4115 * version.C.in: remove lyx_docversion
4117 * tabular.C (write_attribute): add a template-based version to
4118 write enums properly
4120 2003-07-28 André Pönitz <poenitz@gmx.net>
4125 * text3.C: use doubles again for x-coordinates. They are needed.
4127 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * messages.C (getLocaleDir): use lyx_localedir()
4131 * lyxlex_pimpl.C (setFile): compress stuff
4133 * buffer.C (writeFile): add some compression stuff
4134 (do_writeFile): new func, dont call expliti close... will this
4137 * Makefile.am (lyx_LDADD): add -lz
4139 2003-07-28 José Matos <jamatos@fep.up.pt>
4141 * buffer.C: increment file format.
4142 * paragraph_funcs (readParagraph, readParToken):
4143 * paragraph.C (readParagraph): add \end_layout.
4145 2003-07-27 Angus Leeming <leeming@lyx.org>
4147 * Makefile.am: remove special casing for configure-time setting of
4148 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4150 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4151 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4153 2003-07-26 André Pönitz <poenitz@gmx.net>
4155 * paragraph_func.[Ch]:
4156 * paragraph.C (realizeFont): inline it whereever it is used
4161 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4164 2003-07-26 André Pönitz <poenitz@gmx.net>
4168 * text2.C: get rid of LyXText::need_break_row
4170 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * toc.[Ch]: put namespace toc inside namespace lyx
4174 * MenuBackend.C (expandToc2): adjust for lyx::toc
4177 * lyxfunc.C (dispatch): adjust for lyx::find
4179 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4180 lyx::find instead. Reorganize a bit.
4181 (LyXReplace): rename to replace
4182 (LyXFind): rename to find
4184 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4187 2003-07-26 André Pönitz <poenitz@gmx.net>
4189 * text.C (setHeightOfRow): restrict scope of temporary variable
4191 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4192 code (never has been used?)
4194 2003-07-27 Asger Alstrup <alstrup@local>
4196 * text.C (fill): Optimise algorithm to exploit that we can reuse
4197 the LyXFont for many characters.
4198 (setHeightOfRow): Same thing.
4199 (rowBreakPoint): Same thing.
4201 2003-07-26 Asger Alstrup <alstrup@local>
4203 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4205 * text.C (singleWidth): Spurious font copying in hot-spot
4206 singleWidth avoided. Reorder tests for arabic for efficiency.
4208 * text.C (fill): handle empty paragraphs better.
4210 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4213 * encoding.h: add includes
4215 * lyxrc.C: remove reading of bind files
4217 * lyx_main.C (init): setup bindings and menus only if we have a
4220 * kbmap.C (read): new method. Do the actual reading of bind
4223 * converter.C (dvipdfm_options):
4226 (output): adapt PAPER_* enums.
4228 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4230 * bufferparams.h: remove paper-related enums from there
4232 * paper.h: New file. A trivial header file to hold paper-related
4233 enums. It should later expand to contain many paper-related
4236 * lyxrc.C: declare extern displayTranslator
4238 2003-07-27 José Matos <jamatos@fep.up.pt>
4240 * tabular.[Ch] (linuxdoc): add support for tables and figures
4243 2003-07-27 José Matos <jamatos@fep.up.pt>
4245 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4246 consistency in both functions.
4247 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4249 2003-07-26 Asger Alstrup <alstrup@local>
4251 * rowpainter.C (paintRows): Change algorithm to work directly on
4252 the insets rather than asking every character in the document
4253 whether its an inset.
4255 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4257 * buffer.C (openFileWrite): factorize some code
4259 2003-07-26 Angus Leeming <leeming@lyx.org>
4262 * lyx_main.[Ch]: replace occurances of system_tempdir with
4265 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * rename Inset to InsetOld
4269 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4271 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4272 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4273 which I think is a bit clearer. EDIT is gone, since it was
4274 premature optimisation, and broken for mathed anyway.
4275 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4276 with cursor positioning in insets as well (math insets still do not
4277 work, but that's a different story anyway.) It mysteriously
4278 crashes sometimes with undo in the first paragraph, but I'm fairly
4279 confident that this is a compiler bug.
4281 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4283 * paragraph.C (Paragraph): adjust for new clone return type
4285 (copyIntoMinibuffer): ditto
4287 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4289 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4290 by not having a special case, and always doing a full rebreak of
4291 the document after undo.
4293 2003-07-23 Angus Leeming <leeming@lyx.org>
4295 * factory.C (createInset): InsetExternal::setParams now takes a
4298 2003-07-23 Angus Leeming <leeming@lyx.org>
4300 * factory.C (createInset): changed interface to the external and
4301 graphics mailers' string2params functions.
4303 2003-07-23 Angus Leeming <leeming@lyx.org>
4305 * factory.C (createInset): pass a
4306 Buffer const * parameter to InsetExternalMailer's string2params.
4308 2003-07-22 John Levon <levon@movementarian.org>
4310 * Thesaurus.h: include the right aiksaurus header
4312 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4314 * MenuBackend.C (expand): check menu shortcuts unconditionally
4316 2003-07-21 Angus Leeming <leeming@lyx.org>
4318 * factory.C (createInset): pass a
4319 buffer_path parameter to InsetGraphicsMailer's string2params.
4321 2003-07-21 Angus Leeming <leeming@lyx.org>
4323 * BufferView_pimpl.C (buffer):
4326 * lyxfunc.C (dispatch):
4327 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4328 rather than the grfx shortcut.
4330 2003-07-21 André Pönitz <poenitz@gmx.net>
4332 * rowpainter.C: remove unused variables
4335 * tabular_funcs.h: move to tabular.C
4336 * Makefile.am: adjust
4338 * tabular.[Ch]: basic optical cleaning
4340 * author.h: pass references, not values
4342 2003-07-18 André Pönitz <poenitz@gmx.net>
4350 * text3.C: two-phase drawing for InsetText and InsetTabular
4351 some float -> int changes.
4353 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4355 * lyx_main.C: fix the fix
4357 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4359 * lyx_main.C: fix a crash in batch mode if no files specified
4362 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4364 * format.[Ch] (papersize): moved to BufferParams
4365 * converter.[Ch] (dvips_options): moved to BufferParams
4366 (dvipdfm_options): moved to anon namespace
4367 * bufferparams.[Ch]: added above functions.
4369 2003-07-17 André Pönitz <poenitz@gmx.net>
4373 * text2.C: don't call inset->update() anymore
4375 * metricsinfo.[Ch]: add convenience constructor
4377 2003-07-16 André Pönitz <poenitz@gmx.net>
4382 * text2.C: replace the LyXCursor::irow_ member with
4383 on-demand computation of the value
4385 2003-07-16 John Levon <levon@movementarian.org>
4387 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4389 2003-07-15 André Pönitz <poenitz@gmx.net>
4392 * text2.C: remove no more needed refresh_row
4394 2003-07-15 André Pönitz <poenitz@gmx.net>
4399 * text3.C: refresh_status tristate -> need_update bool
4401 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4403 * lyxtext.h (init): remove reinit argument (act as if always true)
4404 * text2.C: adjust to that
4406 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4408 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4409 * text3.C: use it to delete selections in some cases
4410 (bugs 441, 673, 702, 954).
4412 2003-07-14 André Pönitz <poenitz@gmx.net>
4414 * rowpainter.[Ch]: reduce interface
4416 2003-07-14 André Pönitz <poenitz@gmx.net>
4418 * BufferView_pimpl.C:
4419 * text2.C: adjust after removing unused BufferView * argument
4421 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4423 * text2.C (init): fix a crash fired on resize
4425 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4427 * buffer.[Ch]: added new closing signal
4428 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4429 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4430 BufferView::Pimpl via the closing the signal
4432 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4434 * buffer.[Ch]: take out all bv-related from buffer
4436 * BufferView_pimpl.[Ch]: connect to new signals
4437 * CutAndPaste.C: removed useless asserts
4438 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4441 * lyxfunc.C: moved view-related funciontality from vc here
4442 * paragraph.C: removed outdated comments
4445 2003-07-10 André Pönitz <poenitz@gmx.net>
4447 * BufferView_pimpl.C:
4451 * text2.C: remove InsetText::InnerCache, clean up consequences
4453 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4455 * ispell.C: fix two typos in error messages
4457 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4459 * Extend Note inset to other forms of annotation like Comment
4460 and Greyedout. Right button click gives dialog.
4462 Files modified or added (+):
4466 * ControlNote.[Ch] +
4468 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4469 frontends/controllers
4473 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4475 * aspell.C: add missing namespace lyx::support
4477 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4479 * BufferView.[Ch] (newFile): Add
4480 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4481 * LaTeX.[Ch] (message): added this signal and use it
4482 * buffer.[Ch] (busy, message): added these signals and use them
4483 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4487 * importer.C: use buffer signals instead of direct bv calling
4488 * lyx_cb.[Ch] (ShowMessage): removed
4491 * paragraph_funcs.C:
4492 * text2.C: use buffer signals
4494 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * introduce namespace lyx::graphics
4498 2003-07-02 André Pönitz <poenitz@gmx.net>
4500 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4502 2003-07-01 André Pönitz <poenitz@gmx.net>
4509 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4510 text*.C to text_func.C
4512 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * introduce namespace lyx::support
4516 2003-06-30 André Pönitz <poenitz@gmx.net>
4521 * text.C: re-enable --with-included-string
4523 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * textcursor.C: add <config.h>
4527 * text.C (getWord): remove const from word_location arg
4529 * lyxvc.C (getLogFile): fix const type order
4531 * lyxtext.h: remove const from word_location arg, add arg name
4533 * lyxlayout.h: currect type on labeltype.
4535 * importer.C: correct \file
4537 * converter.C (intToFormat): use std:: on ret val, ws changes
4539 * bufferlist.h: correct \file
4541 * buffer.C (makeLinuxDocFile): fix const type order
4542 (makeDocBookFile): ditto
4543 (fillWithBibKeys): use std:: on stdlib args.
4545 * CutAndPaste.C: fix authors.
4546 (availableSelections): use std:: on return vector
4548 2003-06-27 André Pönitz <poenitz@gmx.net>
4550 * BufferView_pimpl.C:
4551 * bufferview_funcs.C:
4559 * text3.C: remove LyXCursor::row_ member
4562 * text.C: rename fullRebreak() to partialRebreak() and implement
4563 a fullRebreak() that really bereks fully
4565 * textcursor.h: new struct for cursor-related data
4567 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4569 * lyx_main.C (LyX): get full path of document loaded on the
4572 2003-06-26 André Pönitz <poenitz@gmx.net>
4574 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4575 remove unused/broken operator>,<,>=.
4577 * text.C: remove only use of broken operator<= in an Assert().
4579 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4581 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4582 moved errorlist_.clear to showErrorList
4584 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4586 * converter.C (scanLog, runLaTeX):
4587 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4588 move the bv->showErrorList call to the callers
4589 * lyxfunc.C: i.e. here...
4591 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4592 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4593 namespace, the second to...
4594 * buffer_funcs (BufferFormat, parseErrors): added
4595 * errorlist.C (ErrorList(TeXErrors const &)): removed
4597 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4599 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4601 2003-06-24 "Garst R. Reese" <reese@isn.net>
4605 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4607 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4609 * version.C.in: change docversion to 1.4
4611 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4613 * buffer.C: fix a bug just introduced
4615 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4617 * buffer.[Ch]: added the parseError signal and use it, removed
4619 * BufferView.[Ch] (addError): moved to ...
4620 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4621 to the Buffer::parseError signal to catch (guess what) parse errors
4622 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4624 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4626 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4627 ability to create a buffer and to return an existing one from
4628 the list. Moved these functions to...
4629 * buffer_funcs.[Ch]: added
4630 * BufferView.[Ch] (loadLyXFile): added
4631 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4632 job removed from bufferlist::loadLyXFile.
4633 * buffer.C (setReadOnly): make it work without view
4634 (i.e added an if (users))
4636 2003-06-19 Angus Leeming <leeming@lyx.org>
4639 * LyXAction.C (init):
4640 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4641 with LFUN_DIALOG_SHOW <name> <data>.
4643 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4645 * CutAndPaste.C (availableSelections): small compilation fix for
4646 ancient (gcc 2.9x) compilers
4648 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * text3.C (cursorNext): add tmp var
4652 * text2.C (updateCounters): for function calling out of for clause
4653 (replaceSelectionWithString): ditto
4654 (insertStringAsParagraphs): ditto
4655 (getColumnNearX): add tmp var
4656 (setCursorFromCoordinates): add tmp var
4657 (cursorDownParagraph): add tmp var
4658 (deleteEmptyParagraphMechanism): add tmp var
4660 * text.C (insertChar): add tmp var
4662 * rowpainter.C (paintDepthBar): add tmp var
4664 * CutAndPaste.C (availableSelections): potentially check all
4665 paragraphs in a cut to fill the shown strings.
4667 2003-06-18 André Pönitz <poenitz@gmx.net>
4669 * kbmap.[Ch]: use vector<> instead of list<>
4671 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4673 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4674 pasteSelection with index
4676 * text2.C (pasteSelection): modify, call pasteSelection with index
4678 * paragraph.C (asString): reimplement version with no interval to
4679 call the one with interval.
4681 * lyxtext.h: add index arg to pasteSelection
4683 * MenuBackend.C (MenuItem): handle PasteRecent
4684 (Menu::read::Menutags): add md_pasterecent
4686 (expandPasteRecent): new function
4689 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4691 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4693 (availableSelections): new function
4695 2003-06-17 Angus Leeming <leeming@lyx.org>
4697 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4699 2003-06-17 Angus Leeming <leeming@lyx.org>
4702 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4704 * lyxfunc.C (dispatch): invoke it.
4706 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4708 * iterators.C (operator++, ParPosition): reintroduce some
4709 const_cast for the benefit of older compilers.
4711 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4713 * text3.C (dispatch): do not modify clipboard when doing
4714 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4715 LFUN_DELETE_SKIP on a selection selection
4717 2003-06-16 André Pönitz <poenitz@gmx.net>
4723 * tabular.[Ch]: IU of clone() and getLabelList();
4725 2003-06-13 André Pönitz <poenitz@gmx.net>
4727 * tabular.h: compactification
4729 2003-06-12 André Pönitz <poenitz@gmx.net>
4733 * tabular_funcs.h: some renaming plus whitespace
4735 2003-06-12 André Pönitz <poenitz@gmx.net>
4738 * BufferView_pimpl.C:
4744 * toc.C: Return a Paragraph & for ParIterator::operator*()
4746 2003-06-11 John Levon <levon@movementarian.org>
4750 * ToolbarBackend.C: add "Toolbars" section and
4753 2003-06-10 Angus Leeming <leeming@lyx.org>
4756 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4758 * lyxfunc.C (dispatch): invoke it.
4760 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * main.C: protect <ios> with HAVE_IOS
4763 (main): protect sync_with_stdio with HAVE_IOS
4765 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4767 * text2.C (cutSelection): adjust
4768 (pasteSelection): adjust
4770 * messages.C: handle get of empty string
4772 * main.C (main): use sync_with_stdio(false)
4774 * lyxfunc.C (dispatch): adjust
4776 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4777 (WriteAs): remove unneeded BufferView arg.
4779 * bufferparams.h: use correct types on papersize, papersize2 and
4782 * bufferparams.C (readToken): adjust for type
4783 (writeLaTeX): add missing cases to switch.
4785 * bufferlist.C (quitWriteBuffer): adjust
4788 * buffer.C (asciiParagraph): remove some commented code.
4790 * CutAndPaste.C: remove current_view extern variable.
4791 (cutSelection): add BufferParams arg.
4792 (eraseSelection): add BufferParams arg.
4793 (pasteSelection): add Buffer const & arg
4795 2003-06-07 John Levon <levon@movementarian.org>
4798 * paragraph_funcs.C:
4799 * paragraph_pimpl.C:
4803 * paragraph.C: allow InsetERT to freely space lines,
4804 and some consolidation of code
4806 2003-06-06 José Matos <jamatos@fep.up.pt>
4808 * buffer.C (makeDocBookFile): fix bug #821
4810 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4812 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4814 2003-06-04 Angus Leeming <leeming@lyx.org>
4816 * buffer.C: bump format to 224.
4818 2003-06-05 André Pönitz <poenitz@gmx.net>
4820 * text2.C (redoParagraphs): remove two const_cast<>
4822 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4824 * ParagraphList.h: remove last remnants of NO_STD_LIST
4826 2003-06-03 Angus Leeming <leeming@lyx.org>
4828 * factory.C (createInset): small change to the way InsetExternal's params
4831 2003-06-04 André Pönitz <poenitz@gmx.net>
4833 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4835 * paragraph_pimpl.h:
4836 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4838 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4840 * undo_funcs.C: make some simple cases of undo work again
4842 2003-06-03 John Levon <levon@movementarian.org>
4844 * ispell.C: HPUX doesn't have sys/select.h
4847 2003-06-03 John Levon <levon@movementarian.org>
4849 * CutAndPaste.C: update tabular and include inset
4854 * paragraph.C: remove owningBuffer(), don't pass Buffer
4857 * factory.C: insetGraphicsParams changed
4859 2003-06-02 John Levon <levon@movementarian.org>
4865 * text3.C: remove insetparent
4867 2003-06-02 John Levon <levon@movementarian.org>
4870 * buffer.C: fix inset_iterator.end(), move out of line
4873 2003-06-01 John Levon <levon@movementarian.org>
4875 * text3.C: use a proper cut/paste when doing inset
4876 insert (from Jürgen Spitzmüller)
4878 2003-06-01 John Levon <levon@movementarian.org>
4880 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4882 2003-05-30 André Pönitz <poenitz@gmx.net>
4884 * rowpainter.C: unify second drawing phase
4886 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * trans_mgr.C: remove one case of current_view
4890 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4892 * paragraph_funcs.h: remove paragraph.h include
4894 * paragraph.h: delete NO_STD_LIST stuff
4896 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4898 * buffer.h: remove paragraph.h include
4900 * ParagraphList.C: delete file
4902 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4904 * toc.C (getTocList): adjust
4906 * paragraph_pimpl.C (validate): adjust
4908 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4910 * paragraph.C (Paragraph): adjust
4911 (getPositionOfInset): use const_iterator, adjust
4912 (bibitem): use const_iterator, adjust
4913 (setInsetOwner): adjust
4915 * iterators.C (operator++): adjust
4917 * InsetList.[Ch]: Replace selfmade iterator with standard
4918 vector::iterator also introduce const_iterator. Remove getPos,
4919 getInset and setInset from InsetTable. Adjust accordingly.
4921 * BufferView.C (lockInset): adjust
4922 (ChangeInsets): adjust
4924 * tabular.[Ch]: delete commented same_id functions
4926 2003-05-28 John Levon <levon@movementarian.org>
4928 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4930 2003-05-28 André Pönitz <poenitz@gmx.net>
4932 * metricsinfo.[Ch]: remove 'fullredraw' member
4934 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4936 * lyxtextclass.C (operator): remove caching.
4938 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * text2.C (cursorBottom): adjust
4943 (setCounter): use ParagraphList::find, adjust
4945 * text.C (workWidth): use ParagraphList::find, adjust
4947 * lyxcursor.C (LyXCursor): adjust
4949 * buffer.C (inset_iterator): adjust
4951 * ParagraphList.h: make iterator(value_type) private, make
4952 ParagraphList a friend of iterator.
4954 * ParagraphList.C (find): new function
4956 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4958 2003-05-27 André Pönitz <poenitz@gmx.net>
4960 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4962 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4966 2003-05-26 John Levon <levon@movementarian.org>
4968 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4970 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * remove same_id from function signatures, adjust.
4974 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4978 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4980 * paragraph.C (Paragraph): get rid of same_ids parameter
4982 * ParagraphList.C (insert): adjust
4985 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * paragraph_funcs.C (breakParagraph): adjust
4988 (breakParagraphConservative): adjust
4990 * buffer.C (readParagraph): adjust
4992 * ParagraphList.C (insert): take a reference instead of a pointer
4995 * paragraph.[Ch] (id): new function
4997 * bufferlist.C (newFile): adjust
4999 * ParagraphList.C (ParagraphList): adjust
5001 (push_back): take a reference instead of a pointer.
5003 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5005 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5008 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5009 set else use old code.
5011 * ParagraphList.C: remove all NO_NEXT code and only compile this
5012 code of NO_STD_LIST is set.
5014 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5016 * BufferView_pimpl.C:
5026 * graphics/GraphicsConverter.C:
5027 * graphics/PreviewLoader.C: header adjustment
5029 2003-05-23 Angus Leeming <leeming@lyx.org>
5031 * LaTeXFeatures.[Ch] (useBabel): new method.
5032 * bufferparams.C (writeLaTeX): use it.
5034 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5036 * ParagraphList.h (set): remove unused function.
5038 2003-05-23 André Pönitz <poenitz@gmx.net>
5041 * BufferView_pimpl.C:
5045 * undo_funcs.C: setUndo reworked
5047 * iterators.[Ch]: add access to topmost ParagraphList
5049 * lyxtext.[Ch] (workWidth): add a const
5051 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5053 * texrow.[Ch] (increasePos): remove function
5054 * exporter.C (export): removed unused var and outdated comment
5056 2003-05-23 Angus Leeming <leeming@lyx.org>
5058 * latexrunparams.h: rename fragile as moving_arg.
5059 * paragraph.C (simpleTeXOnePar): ditto.
5060 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5062 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5066 (textUndoOrRedo): comment out a currently unused var.
5068 * paragraph.h (NO_NEXT): enable NO_NEXT
5070 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5072 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5074 * exporter.C (Export): adjust for removeAutoInsets removal.
5076 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5078 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5080 * BufferView.[Ch] (removeAutoInsets): delete function
5082 2003-05-22 Angus Leeming <leeming@lyx.org>
5084 * latexrunparams.h: add a free_spacing variable.
5086 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5087 to pass moving_arg, as the data is stored in runparams.fragile.
5089 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5090 to Inset::latexOptional or to simpleTeXOnePar.
5092 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5093 free_spacing arg to Inset::latexOptional.
5095 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5098 2003-05-22 Angus Leeming <leeming@lyx.org>
5100 * latexrunparams.h: add fragile and use_babel variables.
5102 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5103 * buffer.C (makeLaTeXFile): store this returned value in
5104 runparams.use_babel, thus passing it to the inset::latex methods.
5106 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5107 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5109 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5110 longer has a fragile arg, as it is stored in runparams.fragile.
5112 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5113 moving_arg parameter as the data is stored in runparams.fragile.
5115 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5116 a fragile parameter as the data is stored in runparams.fragile.
5118 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5122 2003-05-22 Angus Leeming <leeming@lyx.org>
5124 * latexrunparams.h: add a 'bool nice' which defaults to false.
5126 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5127 now encapsulated within runparams.
5129 * bufferlist.C (updateIncludedTeXfiles):
5130 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5132 2003-05-22 Angus Leeming <leeming@lyx.org>
5134 * latexrunparams.h: new file containing struct LatexRunParams.
5135 * Makefile.am: add new file.
5137 * LaTeX.[Ch] (c-tor, run):
5138 * buffer.[Ch] (makeLaTeXFile):
5139 * bufferlist.[Ch] (updateIncludedTeXfiles):
5140 * converter.C (convert, scanLog):
5141 * converter.[Ch] (runLaTeX):
5142 * exporter.C (Export):
5143 * paragraph.[Ch] (simpleTeXOnePar):
5144 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5145 * paragraph_funcs.[Ch] (latexParagraphs):
5146 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5147 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5148 pass around a LatexRunParams parameter.
5150 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * paragraph.[Ch]: remove unused constructor
5154 * ParagraphList.C (erase): new function, taking two iterators
5156 2003-05-22 André Pönitz <poenitz@gmx.net>
5158 * undo_funcs.C: remove duplicated code
5160 * iterator.[Ch]: operator=
5162 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * tabular.C (SetMultiColumn): ws changes
5166 * rowpainter.C (paintFirst): get rid of a ->previous
5168 * lyx_cb.C (getPossibleLabel): parlist simplification
5170 * BufferView.C (ChangeInsets): simplify slightly.
5172 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5174 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5175 * lfuns.h: new LFUN_SPACE
5176 * lyxfunc.C: protected space has a new lfun
5177 * paragraph_funcs.C: read new space insets
5179 * factory.C: handle new space insets
5181 2003-05-22 André Pönitz <poenitz@gmx.net>
5184 * BufferView_pimpl.C:
5187 * undo_funcs.C: return a ParIterator from getParFromID.
5189 * iterators.[Ch]: add two const's
5191 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * toc.C (getTocList): adjust
5195 * iterators.[Ch]: rework for parlist
5197 * buffer.C (par_iterator_begin): adjust
5198 (par_iterator_end): adjust
5200 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5202 * BufferView.C (removeAutoInsets): adjust
5203 (ChangeInsets): adjust
5205 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5207 * text.C (top_y): fix bug 1110
5209 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5211 * errorlist.[Ch]: added
5214 * BufferView_pimpl.C:
5215 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5218 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * Makefile.am: ensure that lyx is relinked upon changes to the
5221 various "convenience" libs.
5223 2003-05-20 Angus Leeming <leeming@lyx.org>
5225 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5226 files are compiled in alphabetical order again.
5228 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5230 2003-05-19 Angus Leeming <leeming@lyx.org>
5232 * gettext.[Ch]: remove "char const * _(char const *)".
5234 2003-05-19 André Pönitz <poenitz@gmx.net>
5236 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5245 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5247 2003-05-19 André Pönitz <poenitz@gmx.net>
5251 * lyxtextclass.[Ch]:
5253 * paragraph_funcs.[Ch]:
5255 * text3.C: more insetenv work
5257 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5259 * ParagraphParameters.C (params2string): small bug fixed
5261 2003-05-16 André Pönitz <poenitz@gmx.net>
5264 * bufferview_funcs.C: patch from Kornel Benko to prevent
5265 crash when _(...) is called twice in a statement
5267 2003-05-16 André Pönitz <poenitz@gmx.net>
5274 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5276 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5278 * lyx_main.C (init): remove spurious static_cast
5280 2003-05-14 André Pönitz <poenitz@gmx.net>
5282 * BufferView.C: fix format string
5284 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5286 * BufferView.[Ch] (insertErrors): removed
5287 * BufferView.[Ch] (showErrorList): added
5288 * buffer.C (runChkTeX):
5289 * converter.C (scanLog): call showErrorList instead of inserterrors
5291 2003-05-13 André Pönitz <poenitz@gmx.net>
5293 * BufferView_pimpl.C:
5295 * bufferview_func.C:
5302 * tabular_funcs.h: tostr() from its own header
5304 * ParagraphParameters.C:
5309 * text3.C: STRCONV()
5311 2003-05-12 André Pönitz <poenitz@gmx.net>
5314 * BufferView_pimpl.C:
5318 * ParagraphParameters.C:
5322 * bufferview_funcs.C:
5335 * paragraph_funcs.C:
5339 * text3.C: boost::format -> bformat all over the place
5342 2003-05-09 André Pönitz <poenitz@gmx.net>
5344 * LColor.[Ch]: Pimpl the #include <map> away
5346 2003-05-09 John Levon <levon@movementarian.org>
5348 * bufferlist.C: never remove emergency saves
5350 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * Makefile.am: better lib building
5354 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5356 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5358 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5359 (simpleTeXSpecialChars): adjust
5360 (simpleTeXSpecialChars): adjust
5361 * paragraph.C (simpleTeXOnePar): adjust
5362 * buffer.C (makeLaTeXFile): adjust
5364 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5366 * text2.C (changeDepth): parlist cleanup
5367 (getColumnNearX): ditto
5369 * rowpainter.C (getLabelFont): parlist cleanup
5371 * bufferlist.C (newFile): parlist cleanup
5373 * CutAndPaste.C (eraseSelection): parlist cleanup
5375 * BufferView_pimpl.C (trackChanges): parlist cleanup
5378 * BufferView.C (lockInset): parlist cleanup.
5379 (ChangeInsets): ditto
5381 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * CutAndPaste.h: Update file header.
5385 * CutAndPaste.C: Update file header.
5386 Store the parts cut out of the Document in a limited_stack.
5387 (copySelection): adjust
5388 (pasteSelection): new function, takes the index in the limited stack.
5389 (nrOfParagraphs): adjust
5390 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5391 simplify error inset insertion.
5392 (checkPastePossible): adjust
5394 2003-05-06 John Levon <levon@movementarian.org>
5396 * text2.C: don't cast wrap inset to float
5398 2003-05-05 André Pönitz <poenitz@gmx.net>
5401 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5403 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5404 few naked Paragraph *.
5406 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5408 * bufferparams.C: Output warning if a document with missing
5409 TeX document class is loaded
5410 * exporter.C: Disable TeX exports if the document class is missing
5413 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5414 isTeXClassAvailable()
5416 2003-05-03 John Levon <levon@movementarian.org>
5419 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5420 explicit cursor show/hide
5422 * BufferView_pimpl.h:
5423 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5424 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5426 * lyxfunc.C: hide cursor before dispatching.
5431 * text3.C: remove explicit cursor hides
5433 2003-05-02 André Pönitz <poenitz@gmx.net>
5435 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5438 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5441 * text2.C: tiny whitespace
5443 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * undo_funcs.C: almost only ws changes.
5447 * ParagraphList.C (splice): just return if pl is empty.
5449 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * ParagraphList.C (splice): new function.
5453 * CutAndPaste.C (pasteSelection): use it
5455 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * CutAndPaste.C (pasteSelection): remove the last next and
5458 previous from this file.
5460 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * CutAndPaste.C (pasteSelection): more clean up, user proper
5463 ParagraphList functions for pasteing.
5465 * ParagraphList.C (insert): new function, three arg insert
5467 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * ParagraphList.C (insert): new function, three arg insert
5471 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5474 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5478 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5482 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5485 (copySelection): clean up a bit.
5486 (pasteSelection): use make_pair
5488 * ParagraphList.C (ParagraphList): implement copy constructor
5489 (operator=): implement, base on copy constructor.
5492 * paragraph.C (erase): return a bool
5494 * paragraph_pimpl.C (erasePos): remove function, move contents...
5495 (erase): ... here. Return a bool.
5496 (erase): call erase instead of erasePos.
5498 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5500 * ParagraphList.h: define PitPosPair
5501 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5502 ParagraphList, fix a bug on pasting multiple pars
5503 * text2.C: change interface to C&P
5505 2003-04-30 André Pönitz <poenitz@gmx.net>
5507 * undo_func.C: revert part of yesterday's patch 2
5509 2003-04-30 John Levon <levon@movementarian.org>
5511 * LColor.C: s/tabular/table/
5513 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * text3.C (dispatch): do not convert iterator -> pointer
5516 * undo_funcs.C (setCursorParUndo): ditto
5517 * text_funcs.C (transposeChars): ditto
5519 * text2.C (setLayout): ws changes only
5521 * text.C (breakParagraph): do not convert iterator -> pointer
5523 (acceptChange): ditto
5524 (rejectChange): ditto
5529 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5532 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5534 * text3.C (gotoInset): YABG (yet another bad getChar)
5536 2003-04-29 André Pönitz <poenitz@gmx.net>
5538 * paragraph.h: make operator= private unimplemented as long as
5541 * ParagraphList.C: whitespace
5544 * paragraph_pimpl.[Ch]:
5545 * paragraph_funcs.C:
5547 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5550 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5552 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5554 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5555 * paragraph.[Ch] (erase):
5556 * paragraph_pimpl.[Ch] (erase): change return type and value
5557 * text2.C (cutSelection): some rework
5559 2003-04-28 John Levon <levon@movementarian.org>
5561 * bufferlist.C: changes for unsaved changes dialog
5563 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * bufferlist.C (newFile): set language (messages_) for new
5568 * buffer.C (readFile): ws changes only.
5570 2003-04-28 André Pönitz <poenitz@gmx.net>
5575 * BufferView_pimpl.C:
5576 * BufferView.C: getParFromID related ParagraphList::iterator changes
5578 2003-04-28 André Pönitz <poenitz@gmx.net>
5580 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5583 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * messages.C: remove one more localedir class variable.
5587 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5589 * messages.C (getLocaleDir): singleton generation function
5591 (Messages): add a default constructor.
5593 * main.C (main): do not setup localedir here, do not call
5596 * gettext.C (_): use it.
5597 (gettext_init): delete funciton
5599 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * gettext.C (getLyXMessages): new singleton generating function.
5603 * buffer.C (updateDocLang): adjust
5605 * Makefile.am (messages.o): add target
5606 (main.o): remove target
5608 2003-04-27 John Levon <levon@movementarian.org>
5613 * lyxvc.C: specify cancel button in Alert::prompt
5615 2003-04-26 John Levon <levon@movementarian.org>
5620 * LyXAction.C: add LFUN_INSET_SETTINGS
5622 * lyxfunc.C: don't enable tabular-feature when there's
5623 just any locking inset
5625 2003-04-26 John Levon <levon@movementarian.org>
5627 * bufferlist.C: re-add Cancel to buffer close question
5629 * lyxfunc.C: fix import UI a bit
5631 2003-04-25 John Levon <levon@movementarian.org>
5633 * gettext.C: remove the broken asserts for now
5635 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5637 * messages.C: make case where setlocale cannot comply work better.
5639 * buffer.C (updateDocLang): new function
5640 (changeLanguage): use it
5643 * text2.C (setCounter): use B_ a bit.
5645 * lyxlayout.C (Read): be sure to trim the label strings.
5647 * messages.C (Messages): fix typo in comment
5649 * buffer.C (readFile): set message_ after file is loaded.
5650 (makeDocBookFile): remove double return
5651 (changeLanguage): reset message_ upon language change.
5652 (B_): new func, use this to get translated buffer strings.
5654 * main.C: add myself and Jean Marc as authors.
5656 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5658 * messages.[hC]: pimplify Messages, and three different pimpls to be
5659 used in different circumstances.
5661 * gettext.[Ch]: change for use with new message code.
5663 2003-04-24 André Pönitz <poenitz@gmx.net>
5665 * factory.C: support for eqref
5667 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * messages.[Ch]: add missing char
5671 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5673 * messages.[Ch]: New files
5675 2003-04-18 John Levon <levon@movementarian.org>
5679 * BufferView_pimpl.C:
5683 * text2.C: remove layout-copy/paste (bug 778)
5685 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5687 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5689 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5691 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5692 if they succeed. Act accordingly.
5694 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * text2.C (setCharFont): adjust
5697 (setCounter): adjust
5698 (insertStringAsLines): adjust
5700 * text.C (leftMargin): adjust
5701 (setHeightOfRow): adjust
5703 * rowpainter.C (paintFirst): adjust
5706 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5708 (isFirstInSequence): ditto
5709 (getEndLabel): ditto
5712 * paragraph.C (getParLanguage): comment out some hard stuff.
5714 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5716 (simpleDocBookOnePar): ditto
5717 (makeDocBookFile): use ParagraphList::iterator
5719 * CutAndPaste.C (pasteSelection): adjust
5721 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * text2.C (getFont): adjust
5724 (getLayoutFont): adjust
5725 (getLabelFont): adjust
5727 * paragraph_funcs.C (TeXOnePar): adjust
5729 * buffer.C (simpleLinuxDocOnePar): adjust
5730 (simpleDocBookOnePar): adjust
5732 * CutAndPaste.C (pasteSelection): adjust
5734 * BufferView.C (getEncoding): adjust
5736 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5738 2003-04-16 John Levon <levon@movementarian.org>
5740 * lyxfind.C: use parlist stuff for search/changes
5742 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5746 * text2.C (deleteEmptyParagraphMechanism): adjust
5748 * text2.[Ch] (ownerParagraph): delete func (both of them
5750 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5754 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * ParagraphList.C: prepare for NO_NEXT
5758 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * text2.C (getFont): adjust
5761 (getLayoutFont): adjust
5762 (getLabelFont): adjust
5764 * paragraph.C (getFont): adjust
5765 (getLabelFont): adjust
5766 (getLayoutFont): adjust
5768 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5770 2003-04-15 John Levon <levon@movementarian.org>
5774 * lyx_main.C: handle Include in .ui files
5776 2003-04-15 John Levon <levon@movementarian.org>
5778 * MenuBackend.C: make the doc files length shorter
5781 * ToolbarBackend.C: handle toolbar placement flags,
5784 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5786 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5789 * paragraph_funcs.C (TeXOnePar): adjust
5791 * paragraph.C (getLabelFont): add outerfont arg, adjust
5792 (getLayoutFont): ditto
5793 (simpleTeXOnePar): adjust
5795 * paragraph_pimpl.C (realizeFont): delete func
5797 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5799 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5800 row argument, constify cur argument.
5802 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * text2.C (getFont): adjust
5805 (getLayoutFont): adjust
5806 (getLabelFont): adjust
5808 * paragraph_funcs.C (TeXOnePar): adjust
5809 (outerFont): new func...
5810 (realizeFont): ...moved out from here, changed this to facilitate
5813 * paragraph.C (getFont): take outerfont as arg, adjust
5814 (simpleTeXOnePar): add outerfont arg, adjust
5816 * buffer.C (simpleLinuxDocOnePar): adjust
5817 (simpleDocBookOnePar): adjust
5819 * CutAndPaste.C (pasteSelection): adjust
5821 * BufferView.C (getEncoding): adjust
5823 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5825 * text2.C (setCharFont): adjust
5826 (setCounter): adjust
5828 * text.C (leftMargin): adjust
5829 (setHeightOfRow): adjust
5831 * rowpainter.C (paintFirst): adjust
5834 * paragraph_pimpl.C (realizeFont): adjust
5836 * paragraph.C (isFirstInSequence): move from here...
5837 * paragraph_funcs.C (isFirstInSequence): ...to here
5839 * paragraph.C (outerHook): move from here...
5840 * paragraph_funcs.C (outerHook): ...to here
5842 * paragraph.C (depthHook): move from here...
5843 * paragraph_funcs.C (depthHook): ...to here
5845 * paragraph.C (getEndLabel): move from here...
5846 * paragraph_funcs.C (getEndLabel): ...to here
5848 * text2.C (realizeFont): move from here...
5849 * paragraph_funcs.C (realizeFont): ...to here
5851 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5853 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5855 2003-04-14 Angus Leeming <leeming@lyx.org>
5857 * LColor.[Ch]: scrap LColor mathcursor.
5859 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * lyxlex.[Ch] (text): delete function
5862 * trans.C (Load): adjust
5863 * paragraph_funcs.C (readParToken): adjust
5865 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5868 vector<char> instead of a char[].
5870 * lyxlex_pimpl.C (getString): adjust
5872 (lex): use getString
5876 * lyxlex.C (text): use pimpl_->getString()
5880 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5883 (makeFontEntriesLayoutSpecific): temp var for par.size()
5884 (setLayout): temp var for ownerParagraphs().end()
5885 (fullRebreak): temp var for rows().end()
5886 (selectionAsString): temp var for boost::next(startpit), realize
5887 that the while really is a regular for loop.
5888 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5889 setCursor in one place.
5890 (setParagraph): temp vr for ownerParagraphs().end()
5891 (updateCounters): make the while loop a for loop
5892 (cutSelection): temp var for ownerParagraphs().end()
5893 (updateInset): make the do {} while() a regular for loop
5894 (getCursorX): use temp vars
5895 (setCurrentFont): use temp vars
5896 (getColumnNearX): use temp vars
5898 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * text.C (transformChar): use temp var for getChar
5901 (computeBidiTables): use temp var for row->par()
5902 (fill): move temp vars for row->par() and pit->layout() earlier in
5904 (labelFill): use temp var for row->par()
5905 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5906 asc and desc, realize that pit never changes and that firstpit is
5907 just a duplicate and not needed. Exchange rit->par() with pit in a
5909 (breakAgain): use a temp var for boost::next(rit)
5910 (breakAgainOneRow): ditto
5911 (breakParagraph): use a temp var for rows().begin()
5912 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5913 (cursorRightOneWord): use temp var for cursor.par() and
5914 cursor.pos(), remove usage of tmpcursor.
5915 (cursorLeftOneWord): use temp var for cursor.par() and
5916 cursor.pos() only set cur at end of function.
5918 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * text.C, text2.C: exchange all usage of Paragraph::next with
5921 boost::next(ParagraphList::iterator)
5923 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5925 * text2.C (cursorTop): simplify implementation
5926 (cursorBottom): ditto
5927 (setParagraph): use ParagraphList::iterator
5928 (setCurrentFont): adjust
5929 (getColumnNearX): adjust
5930 (cursorRight): adjust
5931 (cursorLeft): remove usage of Paragraph::previous
5932 (cursorUpParagraph): ditto
5933 (deleteEmptyParagraphMechanism): slight cleanup
5935 * text.C (isBoundary): take a Paragraph const & instead of a
5937 (addressBreakPoint): ditto
5938 (leftMargin): remove usage of Paragraph::previous.
5939 (setHeightOfRow): ditto
5940 (cursorLeftOneWord): ditto
5941 (selectNextWordToSpellcheck): ditto
5944 (breakParagraph): remove one usage of Paragraph::next
5945 (redoParagraph): ditto
5946 (acceptChange): ditto
5947 (insertChar): adjust
5948 (rowBreakPoint): adjust
5950 * bufferview_funcs.C (toggleAndShow): adjust
5952 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5954 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5955 methods to access it.
5957 * text.C: Added updateRowPositions to compute all row positions.
5958 Make top_y and getRowNearY() to use the cached y position
5960 2003-04-11 John Levon <levon@movementarian.org>
5962 * text.C (rowBreakPoint): reintroduce the labelEnd
5963 checks, code copied from the row fill stuff. Deep voodoo.
5965 * text.C (fill): add a comment and debugging for the
5968 2003-04-11 John Levon <levon@movementarian.org>
5970 * text.C: make sure fullrow insets get wrapped to the next line,
5971 even when they're in a manual label
5973 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * text2.C (insertParagraph): make it take ParagraphList::iterator
5977 (setLayout): make it return ParagraphList::iterator
5978 (redoParagraphs): ditto
5980 (checkParagraph): ditto
5982 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5984 * text2.C: adjust several funcs.
5985 (realizeFont): take a ParagraphList::iterator as arg.
5986 (getLayoutFont): ditto
5987 (getLabelFont): ditto
5988 (setCharFont): ditto
5990 * text.C: adjust several funcs.
5992 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5994 * text.C (selectNextWordToSpellcheck): don't accidentally
5997 2003-04-10 John Levon <levon@movementarian.org>
5999 * ToolbarBackend.C (getIcon): special handling for
6002 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6004 * text2.C (cursorRight): a getChar assert fixed
6006 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * text2.C (getFont): change to take a ParagraphList::iterator
6009 instead of Paragraph*
6010 Adjust several functions.
6012 * text.C (transformChar): change to take a ParagraphList::iterator
6013 instead of Paragraph*
6014 (singleWidth): ditto
6015 Adjust several functions.
6017 * rowpainter.C: adjust several functions
6018 * rowpainter.h:store a ParagraphList::iterator and not a
6022 2003-04-09 John Levon <levon@movementarian.org>
6027 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6028 and the "help" bits as well
6030 2003-04-09 John Levon <levon@movementarian.org>
6033 * ToolbarBackend.C: allow multiple toolbars
6035 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * undo_funcs.C (setCursorParUndo): adjust
6039 * text_funcs.C (transposeChars): adjust
6041 * text3.C (gotoNextInset): adjust
6044 * text2.C (setLayout): adjust
6045 (changeDepth): adjust
6047 (redoParagraphs): adjust
6048 (selectionAsString): adjust
6049 (setParagraph): adjust
6050 (insertInset): adjust
6051 (cutSelection): adjust
6052 (copySelection): adjust
6053 (pasteSelection): adjust
6054 (insertStringAsLines): adjust
6055 (updateInset): adjust
6056 (setCursor): change to take a ParagraphList::iterator parameter
6057 (setCursorIntern): change to take a ParagraphList::iterator parameter
6058 (setCurrentFont): adjust
6059 (cursorLeft): adjust
6060 (cursorRight): adjust
6061 (deleteEmptyParagraphMechanism): adjust
6063 * text.C (breakParagraph): adjust
6064 (insertChar): adjust
6065 (acceptChange): adjust
6066 (rejectChange): adjust
6067 (selectNextWordToSpellcheck): adjust
6068 (changeCase): adjust
6072 * lyxfind.C (SearchForward): adjust
6073 (SearchBackward): adjust
6074 (nextChange): adjust
6076 * lyxcursor.C (par): adjust
6078 * lyxcursor.h: store a ParagraphList::iterator instead of a
6081 * lyx_cb.C (getPossibleLabel): adjust
6083 * bufferview_funcs.C (toggleAndShow): adjust
6085 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6088 * BufferView.C (removeAutoInsets): adjust
6089 (lockedInsetStoreUndo): adjust
6091 2003-04-09 John Levon <levon@movementarian.org>
6093 * ToolbarBackend.C: try icon without argument
6094 if with argument fails
6096 2003-04-08 John Levon <levon@movementarian.org>
6099 * ToolbarBackend.C: add getIcon(), handle tooltip,
6100 and change from "Icon" to "Item".
6102 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6104 * BufferView.C (lockInset): another bad getchar crunched
6106 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6108 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6111 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6113 * lyxfind.C (searchForward, searchBackwards): bug 782
6115 2003-04-07 John Levon <levon@movementarian.org>
6117 * paragraph.C: remove dead comment
6119 * text.C: remove troublesome depth-fiddling code
6120 in leftMargin() and rightMargin() (bug 1017)
6122 * text.C: fix breaking of rows in nested lists
6125 * text2.C (updateCounters): fix up depth values
6128 2003-04-07 John Levon <levon@movementarian.org>
6130 * BufferView_pimpl.C: clear message when doc finishes resizing,
6131 and after a mouse event
6133 * lyxfunc.C: clear message after exiting inset
6135 2003-04-07 John Levon <levon@movementarian.org>
6137 * bufferview_funcs.C: show math status not outside
6138 status in the statusbar
6140 2003-04-07 John Levon <levon@movementarian.org>
6142 * lyxfunc.C: note status changed after a depth change
6144 2003-04-04 Angus Leeming <leeming@lyx.org>
6146 * LaTeX.h: move AuxInfo operator==, != out of line.
6147 Remove LaTeX virtual destructor; nothing derives from it.
6148 Move operator()() out of public area and rename it startscript().
6149 Change protected for private.
6151 2003-04-04 Angus Leeming <leeming@lyx.org>
6154 * text2.C: remove unneeded #includes.
6156 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6158 * text2.C (dEPM): fix the heigth of the next row
6160 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6162 * text.C: squashed an invalid getChar requester + some ws changes
6164 2003-04-03 John Levon <levon@movementarian.org>
6166 * bufferview_funcs.h:
6167 * bufferview_funcs.C:
6170 * text2.C: make getStatus work for the env depth lfuns
6172 2003-04-03 John Levon <levon@movementarian.org>
6174 * bufferview_funcs.h:
6175 * bufferview_funcs.C:
6178 * text2.C: parlistize decDepth(), by merging it with incDepth()
6180 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * lyxrow.h: store a ParagraphList::iterator instead of a
6183 Paragraph* and adjust other class functions to suit.
6185 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6188 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6190 * text2.C (setCursor): do not anchor to cursor row for the time being
6192 2003-04-02 John Levon <levon@movementarian.org>
6199 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6201 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * paragraph.h: make ParagraphList and ParagraphList::iterator
6204 friends of Paragraph.
6206 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6208 * ParagraphList.C: Use the private next_ and previous_ from
6211 2003-04-01 John Levon <levon@movementarian.org>
6215 * Makefile.am: rename, remove defaults gunk
6218 * MenuBackend.C: remove defaults gunk
6221 * Languages.C: remove defaults gunk
6224 * lyx_main.C: error out if files couldn't be found.
6226 2003-04-02 John Levon <levon@movementarian.org>
6228 * text2.C: make incDepth() use parlist
6230 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * undo_funcs.C (firstUndoParagraph): adjust
6234 * text3.C (gotoInset): adjust
6235 (dispatch): adjust, and rewrite loop.
6237 * text2.C (init): adjust, and rewrite loop.
6238 (redoParagraphs): adjust
6239 (updateInset): adjust, and rewrite loop.
6240 (deleteEmptyParagraphMechanism): adjust
6242 * tabular.C (LyXTabular): adjust
6243 (SetMultiColumn): adjust
6246 * lyxtext.[Ch] (ownerParagraph): delete function
6247 (ownerParagraphs): new function returns a ParagraphList.
6249 * BufferView.C (removeAutoInsets): adjust
6250 (insertErrors): adjust
6251 (setCursorFromRow): adjust
6253 2003-04-01 Angus Leeming <leeming@lyx.org>
6255 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6258 2003-04-02 John Levon <levon@movementarian.org>
6264 * text_funcs.C: make transposeChars a free function
6266 * lyxrow_funcs.C: remove wrong comment
6268 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * rowpainter.C: adjust
6276 * lyxrow_funcs. [Ch]: new files
6278 * lyxrow.[Ch]: remove next and previous pointers
6279 (next,previous): remove accessor functions
6280 (isParEnd): move to lyxrow_funcs
6281 (lastPos): move to lyxrow_funcs
6282 (nextRowIsAllInset): move to lyxrow_funcs
6283 (lastPrintablePos): move to lyxrow_funcs
6284 (numberOfSeparators): move to lyxrow_funcs
6285 (numberOfHfills): move to lyxrow_funcs
6286 (numberOfLabelHfills): move to lyxrow_funcs
6287 (hfillExpansion): move to lyxrow_funcs
6291 * bufferview_funcs.C (toggleAndShow): adjust
6293 * RowList.h: Remove class RowList from file leave just a
6296 * RowList.C: delete file
6298 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6301 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * text3.C (cursorPrevious): adjust
6304 (cursorNext): adjust
6307 * text2.C (redoHeightOfParagraph): adjust
6308 (redoDrawingOfParagraph): adjust
6311 * text.C (breakParagraph): adjust
6312 (insertChar): adjust
6315 * rowpainter.C (RowPainter): adjust
6316 (leftMargin): simplify and adjust
6317 (most rowpainter functions): adjust.
6319 * rowpainter.h: store the row as RowList::iterator not as Row*
6321 * lyxcursor.C (row): taka RowList::iterator as arg
6324 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6327 2003-04-01 Angus Leeming <leeming@lyx.org>
6329 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6330 stuff like bool Bool.
6332 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6334 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6337 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6342 * lyxtext.h (rows): drop one version and leve a const variant that
6343 returns a RowList::iterator.
6345 2003-03-31 Angus Leeming <leeming@lyx.org>
6347 * text.C (fill): ensure that the signature is the same as that in the
6350 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * text2.C (redoParagraphs): adjust
6353 (updateCounters): adjust
6354 (checkParagraph): adjust
6355 (getColumnNearX): adjust and reformat a bit.
6357 * text.C (top_y): adjust
6359 (leftMargin): adjust
6360 (prepareToPrint): adjust
6362 (getRowNearY): adjust
6364 * lyxtext.h: make rowlist_ mutable.
6366 * RowList.h: add const_iterator
6367 * RowList.C: adjust for RowList::const_iterator.
6369 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6372 2003-03-31 John Levon <levon@movementarian.org>
6375 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6377 * lyx_main.C: set default fonts from using lyx_gui funcs
6379 * exporter.C: pdf_mode moved from lyxrc
6382 * lyxfunc.C: changes from above
6384 2003-03-31 John Levon <levon@movementarian.org>
6386 * lyx_main.C: fix to the last fix
6388 2003-03-31 John Levon <levon@movementarian.org>
6390 * bufferlist.C: "Load original" -> "Load Original"
6396 * format.C: more Alert cleanups
6398 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * text2.C (removeParagraph): make it take a RowList::iterator as
6402 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6403 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6405 * text.C (anchor_row): make it take a RowList::iterator as arg,
6407 (computeBidiTables): make it take a const reference to Row instead
6408 of Row pointer, adjust.
6409 (leftMargin): make it take a RowList::iterator as arg, adjust.
6410 (rowBreakPoint): adjust
6411 (breakAgainOneRow): make it take a RowList::iterator as arg,
6413 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6415 * bufferview_funcs.C (toggleAndShow): adjust
6417 2003-03-30 John Levon <levon@movementarian.org>
6421 * boost-inst.C: moved to support
6423 * several files: changes as a result
6425 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * text2.C (LyXText): adjust.
6429 (removeRow): make it take a RowList::iterator as arg, adjust.
6430 (fullRebreak): adjust
6431 (deleteEmptyParagraphMechanism): adjust
6432 (clearPaint): adjust
6435 * text.C (top_y): adjust
6436 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6437 (breakAgain): make it take a RowList::iterator as arg, adjust.
6438 (breakParagraph): adjust
6439 (insertChar): adjust
6442 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6443 need_break_row, and refresh_row.
6445 * text3.C (dispatch): adjust
6447 * text2.C (checkParagraph): adjust
6449 (setCursorFromCoordinates): adjust
6451 * text.C (top_y): adjust
6453 (getRow): make it return a RowList::iterator, adjust
6454 (getRowNearY): make it return a RowList::iterator, adjust
6456 * text2.C (init): adjust
6457 (insertRow): remove function
6458 (insertParagraph): adjust
6459 (redoParagraphs): adjust
6460 (fullRebreak): adjust
6461 (updateCounters): adjust
6463 * text.C (top_y): rewrite to use RowList iterators.
6465 (setHeightOfRow): rewrite to sue RowList iterators.
6466 (appendParagraph): adjust
6467 (breakAgain): adjust
6468 (breakAgainOneRow): adjust
6469 (breakParagraph): adjust
6471 (getRowNearY): adjust, and remove commented code.
6473 * lyxtext.h (firstRow): delete function
6474 (lastRow): delete function
6475 (rows): new function (const and non-const versions.)
6476 (insertRow): delete function
6478 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6480 2003-03-29 John Levon <levon@movementarian.org>
6482 * BufferView_pimpl.C: always update scrollbar top
6483 because pasting text when we're anchored could mean we
6484 miss an update altogether
6486 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6488 * text2.C (init): use rowlist_.end() and not 0.
6489 (insertRow): change to take a RowList::iterator as arg, adjust
6491 (insertParagraph): change to take a RowList::iterator as arg,
6493 (redoParagraphs): remove some debug msgs.
6495 * text.C (appendParagraph): change to take a RowList::iterator
6496 arg, adjust for this.
6497 (breakAgain): add an assert
6498 (breakAgainOneRow): ditto
6500 2003-03-29 John Levon <levon@movementarian.org>
6502 * text2.C: do not clear selection after inc/decDepth
6505 2003-03-29 John Levon <levon@movementarian.org>
6508 * buffer.C: fix broken strerrors according to Lars
6510 2003-03-29 John Levon <levon@movementarian.org>
6512 * converters.C: more Alert cleanups
6514 2003-03-29 John Levon <levon@movementarian.org>
6516 * bufferview_funcs.C: remove pointless Alert
6518 * buffer.C: fix confusing error message when
6519 a template is chmoded 000
6521 2003-03-29 John Levon <levon@movementarian.org>
6525 * BufferView_pimpl.C: Alert fixes
6529 * tabular-old.C: remove unused table compat reading
6531 2003-03-29 John Levon <levon@movementarian.org>
6536 * lyx_cb.C: more Alert cleanups
6538 * lyxfunc.C: don't allow chktex if not latex document
6540 2003-03-29 John Levon <levon@movementarian.org>
6544 * buffer.C: warnings pushed down from support/,
6547 2003-03-29 John Levon <levon@movementarian.org>
6549 * lyxfunc.C: safety check for C-r (revert)
6551 2003-03-29 John Levon <levon@movementarian.org>
6554 * bufferlist.C: several UI fixes using Alert::prompt.
6555 Fix the pointless looping quit code. Fix stupid revert
6560 * lyx_cb.C: use Alert::prompt
6562 * lyx_main.C: remove a silly question
6564 * lyxfunc.C: remove a couple of silly questions,
6567 2003-03-28 John Levon <levon@movementarian.org>
6569 * text2.C: fix bug 974 (End on empty par)
6571 2003-03-28 John Levon <levon@movementarian.org>
6573 * BufferView_pimpl.C:
6575 * lfuns.h: remove do-nothing math greek lfuns
6577 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * lyxgluelength.h (isValidGlueLength): add default arg on
6580 parameter 2. Remove default arg from friend in class.
6582 * lyxlength.h (isValidLength): add default arg on parameter 2.
6583 Remove default arg from friend in class.
6585 * text2.C (LyXText): adjust, initialize refresh_row.
6589 (insertParagraph): adjst
6590 (redoParagraphs): adjust
6591 (fullRebreak): adjust
6592 (updateCounters): adjust
6593 (deleteEmptyParagraphMechanism): first attempt at fixing a
6596 * text.C (top_y): adjust
6597 (setHeightOfRow): adjust
6599 (getRowNearY): adjust
6601 * lyxtext.h: include RowList.h
6602 (~LyXText): not needed anymore, deleted.
6603 (firstRow): modify for RowList
6604 (lastRow): new function
6605 Delete firstrow and lastrow class variables, add a Rowlist
6606 rowlist_ class variable.
6608 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6611 * RowList.C (insert): fix case where it == begin().
6613 2003-03-26 Angus Leeming <leeming@lyx.org>
6615 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6616 the thesaurus dialog.
6618 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6622 * RowList.[Ch]: new files
6624 * ParagraphList.C (erase): handle the case where it == begin
6627 2003-03-25 John Levon <levon@movementarian.org>
6631 * aspell.C: add new aspell support
6634 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6637 2003-03-25 Angus Leeming <leeming@lyx.org>
6640 * LyXAction.C (init): new LFUN_INSET_INSERT.
6642 * BufferView_pimpl.C (dispatch): split out part of the
6643 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6645 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6648 2003-03-25 Angus Leeming <leeming@lyx.org>
6650 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6652 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6655 * text3.C: remove useless row->height(0)
6657 2003-03-25 John Levon <levon@movementarian.org>
6661 * text3.C: rename the refreshing stuff to better names
6663 2003-03-24 John Levon <levon@movementarian.org>
6665 * BufferView_pimpl.h:
6666 * BufferView_pimpl.C: update layout choice on a mouse
6669 2003-03-23 John Levon <levon@movementarian.org>
6671 * Makefile.am: fix commandtags.h reference
6673 2003-03-22 John Levon <levon@movementarian.org>
6675 * BufferView_pimpl.C:
6680 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6682 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6685 * text.C: take the rtl methods out of line
6687 2003-03-21 André Pönitz <poenitz@gmx.net>
6689 * metricsinfo.[Ch]: new files containing structures to be passed around
6690 during the two-phase-drawing...
6692 2003-03-21 André Pönitz <poenitz@gmx.net>
6694 * lyxtextclass.C: read 'environment' tag.
6696 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6698 * text2.C (removeRow): fix bug 964
6700 2003-03-20 John Levon <levon@movementarian.org>
6704 * text2.C: paint cleanups. Inset::update() dropped font
6707 2003-03-19 John Levon <levon@movementarian.org>
6709 * lyxfunc.C: only fitcursor/markDirty if available()
6711 2003-03-19 John Levon <levon@movementarian.org>
6713 * commandtags.h: rename to ...
6715 * lfuns.h: ... this, and renumber / cleanup
6717 2003-03-19 John Levon <levon@movementarian.org>
6719 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6720 fit the cursor after an lfun
6724 * BufferView_pimpl.h:
6725 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6727 * LyXAction.C: layout-character should have ReadOnly
6729 * ParagraphParameters.C:
6731 * bufferview_funcs.C:
6738 * undo_funcs.C: changes from above
6740 2003-03-18 John Levon <levon@movementarian.org>
6742 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6743 remove it from update()
6745 * lyxfunc.C: update layout choice after an lfun
6747 * text3.C: remove extra updateLayoutChoice()s
6749 2003-03-18 John Levon <levon@movementarian.org>
6751 * text.C: top_y change means full repaint, fix
6752 a drawing bug with cursor movement
6754 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6758 * text2.C: anchor row on setCursor
6760 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6762 * lyxtext.h: remove almost all mutable keywords
6765 * text3.C: remove const keywords accordingly
6767 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6771 (TeXEnvironment): ditto
6774 2003-03-17 John Levon <levon@movementarian.org>
6776 * text.C (rowBreakPoint): remove attempt to fix displayed
6777 math insets inside a manual label
6779 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * lyxtext.h: remove BufferView* as first arg from almost all class
6783 * other files: adjust.
6785 2003-03-17 John Levon <levon@movementarian.org>
6789 * text2.C: more paint cleanups
6791 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6794 * rowpainter.C: remove "smart" background painting code
6796 2003-03-16 John Levon <levon@movementarian.org>
6801 * text3.C: add helper functions for setting refresh_row/y
6803 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6805 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6806 newline inset which *can* get inserted in the pass_thru layouts.
6807 This is primarily for literate documents.
6809 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6811 * buffer.C: increment LYX_FORMAT to 223
6813 2003-03-14 André Pönitz <poenitz@gmx.net>
6815 * textclass.h: prepare for environment handling, ws changes
6816 * lyxlayout.C: read latexheader and latexfooter tags
6818 2003-03-14 John Levon <levon@movementarian.org>
6820 * text2.C: rewrite ::status() a bit
6822 2003-03-13 John Levon <levon@movementarian.org>
6824 * lyxtext.h: add some docs
6826 2003-03-13 John Levon <levon@movementarian.org>
6831 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6833 2003-03-13 John Levon <levon@movementarian.org>
6835 * text3.C: fix appendix redrawing
6837 2003-03-13 John Levon <levon@movementarian.org>
6839 * text.C (setHeightOfRow):
6841 * rowpainter.C: make appendix mark have the text
6842 "Appendix" so the user knows what it is
6845 * LColor.C: s/appendixline/appendix/ from above
6847 2003-03-13 John Levon <levon@movementarian.org>
6849 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6851 * text.C: fix a getChar(pos) bug properly
6853 2003-03-13 Angus Leeming <leeming@lyx.org>
6856 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6857 Probably only temporary. Let's see how things pan out.
6859 * BufferView.C (unlockInset):
6860 * BufferView_pimpl.C (fitCursor):
6861 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6863 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6864 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6866 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6867 new functions that convert ParagraphParameters to and from a string.
6869 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6870 BufferView::Pimpl's dispatch.
6871 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6873 2003-03-13 André Pönitz <poenitz@gmx.net>
6877 * factory.C: make it aware of InsetEnv
6879 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * text2.C (setCursor): never ask for one past last
6882 (setCursor): add some debugging messages.
6884 * text.C (singleWidth): never ask for one past last
6885 (singleWidth): ditto
6887 (rightMargin): ditto
6888 (rowBreakPoint): ditto
6889 (setHeightOfRow): ditto
6890 (prepareToPrint): ditto
6892 * rowpainter.C (paintBackground): never ask for one past last
6893 (paintText): never ask for one past last
6895 * paragraph_pimpl.C (getChar): make the assert stricter, never
6896 allow the one past last pos to be taken
6898 * paragraph.C (getChar): ws changes only
6900 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6901 (numberOfSeparators): ditto
6902 (numberOfHfills): ditto
6904 2003-03-12 John Levon <levon@movementarian.org>
6910 * paragraph_funcs.C: fix per-buffer authorlists
6912 2003-03-12 John Levon <levon@movementarian.org>
6914 * text.C: fix newline in right address
6916 2003-03-12 Angus Leeming <leeming@lyx.org>
6918 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6919 duplicate those in LyXFunc::dispatch.
6923 * ToolbarDefaults.C:
6924 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6925 Add LFUN_FONTFREE_UPDATE.
6927 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6928 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6930 * bufferview_func.[Ch]: several new functions to facilliate
6931 transfer of data to and from the character dialog.
6933 2003-03-12 John Levon <levon@movementarian.org>
6938 * paragraph_funcs.C:
6939 * paragraph_pimpl.C:
6943 * text3.C: remove META_NEWLINE in favour of an inset
6946 * rowpainter.C: remove paintNewline (done by inset)
6948 2003-03-12 John Levon <levon@movementarian.org>
6950 * paragraph_pimpl.C: complain about bad getChar()s
6951 for a while at least
6953 2003-03-12 John Levon <levon@movementarian.org>
6956 * buffer.C: move paragraph read into a separate function,
6957 a little renaming to reflect that.
6960 * bufferparams.C: remove the author_ids map, not necessary now
6963 * factory.C: moved Buffer::readInset to here
6965 * paragraph_funcs.h:
6966 * paragraph_funcs.C: readParagraph free function moved from
6969 * tabular.C: name change
6971 2003-03-12 John Levon <levon@movementarian.org>
6974 * ParagraphParameters.C: move par params input to
6977 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6978 behave like a normal read from the stream wrt reading
6979 a line vs. a \\token
6981 2003-03-12 John Levon <levon@movementarian.org>
6984 * ParagraphParameters.h:
6985 * ParagraphParameters.C: move output code to a
6988 2003-03-12 John Levon <levon@movementarian.org>
6990 * BufferView.C (insertLyXFile):
6993 * tabular.C: use a parlist iterator for creating the
6996 2003-03-12 John Levon <levon@movementarian.org>
6998 * buffer.C: make current_change static local not
7001 2003-03-12 John Levon <levon@movementarian.org>
7003 * buffer.C: fix insertStringAsLines for change tracking
7005 2003-03-12 John Levon <levon@movementarian.org>
7012 * bufferparams.C: move author list into params. Rename some
7013 functions. Move the header reading into a separate token
7014 loop. Move the header token reading into BufferParams.
7016 2003-03-12 John Levon <levon@movementarian.org>
7018 * changes.C: put debug inside lyxerr.debugging() checks
7020 2003-03-11 André Pönitz <poenitz@gmx.net>
7022 * factory.C: make it aware of InsetHFill
7024 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7026 * buffer.C (latexParagraphs): move function from here...
7027 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7030 2003-03-10 Angus Leeming <leeming@lyx.org>
7032 * LyXAction.C (init): fix bug in poplating array with multiple entries
7033 with the same LFUN (spotted by JMarc).
7035 2003-03-10 John Levon <levon@movementarian.org>
7038 * text2.C: move getColumnNearX() near its
7041 2003-03-10 John Levon <levon@movementarian.org>
7043 * text.C: fix break before a minipage
7045 2003-03-10 John Levon <levon@movementarian.org>
7047 * text.C: fix the last commit
7049 2003-03-09 John Levon <levon@movementarian.org>
7053 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7054 bug 365 (don't break before insets unless needed). Don't
7055 return a value > last under any circumstances.
7057 2003-03-09 Angus Leeming <leeming@lyx.org>
7059 * BufferView_pimpl.C (trackChanges, dispatch): call
7060 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7062 2003-03-09 Angus Leeming <leeming@lyx.org>
7064 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7065 than Dialogs::showAboutlyx().
7067 2003-03-09 Angus Leeming <leeming@lyx.org>
7069 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7070 than Dialogs::showTabularCreate().
7072 2003-03-09 John Levon <levon@movementarian.org>
7076 * text2.C: 3rd arg to nextBreakPoint was always the same.
7079 2003-03-08 John Levon <levon@movementarian.org>
7086 * text2.C: Remove the "main" bit from the "main body"
7089 2003-03-08 John Levon <levon@movementarian.org>
7091 * text.C (leftMargin): The left margin of an empty
7092 manual label paragraph should not include the label width
7095 * text.C (prepareToPrint): don't attempt to measure hfills
7096 for empty manual label paragraphs - the answer should be 0
7098 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * CutAndPaste.C: remove commented code and reindent.
7102 2003-03-08 John Levon <levon@movementarian.org>
7105 * lyxfunc.C: move reloadBuffer()
7108 * BufferView.C: to here
7110 * lyxvc.C: add comment
7113 * vc-backend.C: call bv->reload() to avoid
7114 getStatus() check on MENURELOAD
7116 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7118 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7119 to an old format .dep file.
7121 2003-03-07 Angus Leeming <leeming@lyx.org>
7123 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7124 when the LFUN_MOUSE_RELEASE should have been handled by
7125 inset->localDispatch.
7127 2003-03-07 Angus Leeming <leeming@lyx.org>
7129 * BufferView_pimpl.C (dispatch):
7130 * LyXAction.C (init):
7131 * ToolbarDefaults.C (init):
7133 * lyxfunc.C (getStatus):
7134 remove LFUN_INSET_GRAPHICS.
7136 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7138 2003-03-07 Angus Leeming <leeming@lyx.org>
7141 * LyXAction.C (init):
7142 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7144 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7147 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7149 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7150 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7152 2003-03-07 Angus Leeming <leeming@lyx.org>
7154 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7157 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * ParagraphList.C (front): new function
7162 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7164 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7165 and top_row_offset_. removed var first_y.
7167 * text2.C (LyXText, removeRow):
7169 * BufferView_pimpl.C:
7170 use these methods instead of using first_y
7172 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * text2.C (pasteSelection): adjust for checkPastePossible
7176 * CutAndPaste.C: remove Paragraph * buf and replace with
7177 ParagraphList paragraphs.
7178 (DeleteBuffer): delete
7179 (cutSelection): change the tc type to textclass_type
7180 (copySelection): change the tc type to textclass_type
7181 (copySelection): adjust for ParagraphList
7182 (pasteSelection): change the tc type to textclass_type
7183 (pasteSelection): adjust for Paragraphlist
7184 (nrOfParagraphs): simplify for ParagraphList
7185 (checkPastePossible): simplify for ParagraphList
7186 (checkPastePossible): remove unused arg
7188 * ParagraphList.C (insert): handle the case where there are no
7191 * CutAndPaste.h: make CutAndPaste a namespace.
7193 * text3.C (dispatch): adjust
7195 * text.C (breakParagraph): add a ParagraphList as arg
7197 * paragraph_funcs.C (breakParagraph): change to take a
7198 BufferParams and a ParagraphList as args.
7199 (breakParagraphConservative): ditto
7200 (mergeParagraph): ditto
7201 (TeXDeeper): add a ParagraphList arg
7202 (TeXEnvironment): ditto
7205 * buffer.C (readLyXformat2): adjust
7206 (insertStringAsLines): adjust
7207 (latexParagraphs): adjust
7209 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7210 (cutSelection): adjust
7211 (pasteSelection): adjust
7213 * BufferView_pimpl.C (insertInset): adjust
7215 2003-03-05 Angus Leeming <leeming@lyx.org>
7218 * LyXAction.C (init):
7219 * BufferView_pimpl.C (dispatch):
7220 * lyxfunc.C (getStatus):
7221 remove LFUN_CHILD_INSERT.
7223 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7225 2003-03-05 Angus Leeming <leeming@lyx.org>
7228 * LyXAction.C (init):
7229 * src/factory.C (createInset):
7230 * lyxfunc.C (getStatus):
7231 * text3.C (dispatch):
7232 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7234 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7236 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * ParagraphList.C (insert): handle insert right before end()
7239 (erase): fix cases where it can be first or last paragraph.
7241 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7244 Paragraph::next and Paragraph::previous
7247 * text.C (breakParagraph): adjust
7249 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7250 BufferParams& as arg.
7251 (breakParagraph): use ParagraphList::insert
7252 (breakParagraphConservative): take a Buffer* instead of a
7253 BufferParams& as arg.
7254 (breakParagraphConservative): use ParagraphList::insert.
7256 * buffer.C (insertStringAsLines): un-const it
7257 (insertStringAsLines): adjust
7259 * ParagraphList.C (insert): new function
7261 * CutAndPaste.C (pasteSelection): adjust
7263 * text.C (backspace): adjust
7265 * tabular.C (SetMultiColumn): adjust
7267 * CutAndPaste.C (cutSelection): adjust
7268 (pasteSelection): adjust
7270 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7271 Buffer const * as arg
7273 * ParagraphList.C (erase): new function
7274 * paragraph_funcs.C (mergeParagraph): use it
7275 (mergeParagraph): make it take a Buffer* instead of a
7276 BufferParams* as arg
7278 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7280 (breakParagraphConservative): ditto
7282 * paragraph.h: remove the breakParagraph friend
7284 * paragraph.C (eraseIntern): new function
7285 (setChange): new function
7287 * paragraph_funcs.C (mergeParagraph): make it take a
7288 ParagraphList::iterator instead of a Paragraph *, adjust
7291 * paragraph.h: move an #endif so that the change tracking stuff
7292 also works in the NO_NEXT case.
7294 2003-03-04 Angus Leeming <leeming@lyx.org>
7297 * LyXAction.C: new LFUN_INSET_MODIFY.
7299 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7300 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7302 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * several files: ws changes only
7306 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7307 (TeXEnvironment): ditto
7310 * buffer.C (makeLaTeXFile): adjust
7311 (latexParagraphs): make it take ParagraphList::iterator as args
7313 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * buffer.C (latexParagraphs): adjust
7317 * paragraph.C (TeXOnePar): move function...
7318 (optArgInset): move function...
7319 (TeXEnvironment): move function...
7320 * paragraph_pimpl.C (TeXDeeper): move function...
7321 * paragraph_funcs.C: ...here
7323 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7325 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * buffer.C (readInset): remove compability code for old Figure and
7330 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * buffer.C: ws changes
7335 * BufferView_pimpl.C: ditto
7338 * bufferlist.h: ditto
7342 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7344 * converter.[Ch]: split into itself +
7347 * Makefile.am: += graph.[Ch] + format.[Ch]
7354 * lyxrc.C: added #include "format.h"
7356 2003-02-27 Angus Leeming <leeming@lyx.org>
7358 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7361 * factory.C (createInset): add "label" to the factory.
7363 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7364 string and do no more.
7366 2003-02-27 Angus Leeming <leeming@lyx.org>
7369 * LyXAction.C (init):
7370 * factory.C (createInset):
7371 * BufferView_pimpl.C (dispatch):
7372 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7374 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7376 * lyxfunc.C (dispatch):
7377 * text3.C (dispatch): pass name to params2string.
7379 2003-02-26 Angus Leeming <leeming@lyx.org>
7381 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7383 Rearrange the ~includes. Strip out the unnecessary ones.
7385 * factory.C (createInset): reformat.
7386 create new insets for the various LFUN_XYZ_APPLY lfuns.
7388 2003-02-26 John Levon <levon@movementarian.org>
7391 * lyxrow.C: add isParStart,isParEnd helpers
7393 * paragraph.h: make isInserted/DeletedText take refs
7395 * paragraph_funcs.h:
7396 * paragraph_funcs.C: remove #if 0'd code
7401 * text.C: use lyxrow helpers above.
7402 Move draw and paint routines to RowPainter.
7403 Make several methods use refs not pointers.
7404 Make backgroundColor() const.
7405 Add markChangeInDraw(), isInInset().
7406 Merge changeRegionCase into changeCase.
7407 Make workWidth() shouldn't-happen code into an Assert.
7410 * rowpainter.C: new class for painting a row.
7413 * vspace.C: make inPixels take a ref
7415 2003-02-26 Angus Leeming <leeming@lyx.org>
7417 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7420 2003-02-25 John Levon <levon@movementarian.org>
7422 * ispell.C: give the forked command a more accurate name
7424 2003-02-22 John Levon <levon@movementarian.org>
7427 * toc.C: make TocItem store an id not a Paragraph *
7430 2003-02-21 Angus Leeming <leeming@lyx.org>
7432 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7433 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7434 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7435 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7436 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7437 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7439 * BufferView_pimpl.C (dispatch):
7440 * LyXAction.C (init):
7441 * factory.C (createInset):
7442 * lyxfunc.C (getStatus, dispatch):
7443 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7445 2003-02-21 Angus Leeming <leeming@lyx.org>
7447 * BufferView_pimpl.C (MenuInsertLyXFile):
7448 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7449 * lyxfunc.C (menuNew, open, doImport):
7450 no longer pass a LyXView & to fileDlg.
7452 2003-02-21 Angus Leeming <leeming@lyx.org>
7454 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7455 * LyXAction.C: change, BIBKEY to BIBITEM.
7456 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7457 Change InsetBibKey to InsetBibitem.
7458 Change BIBKEY_CODE to BIBITEM_CODE.
7459 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7460 * factory.C: replace insetbib.h with insetbibitem.h.
7461 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7462 * paragraph.C: replace insetbib.h with insetbibitem.h.
7463 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7464 Change bibkey() to bibitem().
7465 * text.C: remove insetbib.h.
7466 * text2.C: replace insetbib.h with insetbibitem.h.
7467 change bibkey() to bibitem().
7468 * text3.C: remove insetbib.h.
7469 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7471 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7473 * lyxrc.C (output): enclose user email in quotes (in case there are
7476 2003-02-18 John Levon <levon@movementarian.org>
7478 * buffer.h: add std::
7480 2003-02-17 John Levon <levon@movementarian.org>
7486 * pspell.C: reworking. Especially in ispell, a large
7487 number of clean ups and bug fixes.
7489 * lyxfunc.C: fix revert to behave sensibly
7491 2003-02-17 André Pönitz <poenitz@gmx.net>
7494 * commandtags.h: new LFUN_INSERT_BIBKEY
7504 * paragraph_func.C: remove special bibkey handling
7506 2003-02-17 John Levon <levon@movementarian.org>
7508 * text.C (Delete): fix case where delete at the end of
7509 the very first paragraph would not merge the pars
7511 2003-02-17 John Levon <levon@movementarian.org>
7513 * lyxrow.C: fix lastPrintablePos()
7515 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7517 * bufferparams.C (writeLaTeX): add a std:here
7519 * buffer.C: and remove a using directive there
7521 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * buffer.C (makeLaTeXFile): move the code that generates the
7526 * bufferparams.C (writeLaTeX): ... in this new method
7528 * LaTeXFeatures.C (getEncodingSet): make const
7529 (getLanguages): make const
7531 * MenuBackend.C (binding): returns the binding associated to this
7533 (add): sets the status of each item by calling getStatus. Adds
7535 (read): add support for OptSubMenu
7536 (expand): remove extra separator at the end of expanded menu
7538 2003-02-15 John Levon <levon@movementarian.org>
7541 * BufferView_pimpl.C:
7543 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7544 inset code that had no actual effect. Remove unneeded status
7547 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7549 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7552 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7554 * text.C (drawLengthMarker): also draw an arrow marker for
7555 symbolic lengths (medskip...)
7557 2003-02-14 John Levon <levon@movementarian.org>
7560 * tabular.C: better method names
7562 2003-02-14 John Levon <levon@movementarian.org>
7564 * BufferView_pimpl.C:
7569 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7570 it's a more accurate name. Remove some pointless uses.
7572 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7574 * text2.C (LyXText): change order of initilizers to shut off
7577 2003-02-14 John Levon <levon@movementarian.org>
7579 * buffer.C: use ParIterator for getParFromID()
7583 * paragraph_pimpl.h:
7584 * paragraph_pimpl.C: remove unused getParFromID()
7586 2003-02-14 John Levon <levon@movementarian.org>
7588 * buffer.C: remove some very old #if 0'd parse code
7590 2003-02-13 John Levon <levon@movementarian.org>
7594 * text2.C: move hfillExpansion(), numberOfSeparators(),
7595 rowLast(), rowLastPrintable(), numberofHfills(),
7596 numberOfLabelHfills() ...
7599 * lyxrow.C: ... to member functions here.
7604 * text.C: remove LyXText::beginningOfMainBody(), and call
7605 p->beginningOfMainBody() directly. Move the check for
7606 LABEL_MANUAL into the latter.
7613 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7619 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7620 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7622 2003-02-13 John Levon <levon@movementarian.org>
7624 * CutAndPaste.C: remove debug
7626 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7628 * paragraph.C (asString): remove two unused variables
7630 * lyxtextclass.C (readTitleType):
7632 (LyXTextClass): handle new members titletype_ and titlename_
7634 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7636 2003-02-09 John Levon <levon@movementarian.org>
7639 * buffer.C: replace hand-coded list with a map for the dep clean
7641 2003-02-08 John Levon <levon@movementarian.org>
7643 * LaTeX.C: consolidate code into showRunMessage() helper
7645 2003-02-08 John Levon <levon@movementarian.org>
7650 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7651 and pass the size in explicitly
7653 * BufferView_pimpl.h:
7654 * BufferView_pimpl.C:
7656 * BufferView.C: add getCurrentChange()
7658 * BufferView_pimpl.h:
7659 * BufferView_pimpl.C: handle change lfuns
7661 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7662 for changes. Mark pasted paragraphs as new.
7664 * support/lyxtime.h:
7665 * support/lyxtime.C:
7666 * DepTable.C: abstract time_t as lyx::time_type
7669 * LColor.C: add colours for new text, deleted text, changebars
7671 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7672 package use "usenames" option.
7676 * LyXAction.C: add change lfuns
7680 * author.C: author handling
7683 * buffer.C: add a per-buffer author list, with first entry as
7684 current author. Handle new .lyx tokens for change tracking. Output
7685 author list to .lyx file. Output dvipost stuff to .tex preamble.
7686 Bump lyx format to 222.
7689 * bufferlist.C: add setCurrentAuthor() to reset current author details
7693 * bufferparams.C: add param for tracking
7695 * bufferview_funcs.C: output change info in minibuffer
7699 * changes.C: add change-tracking structure
7702 * debug.C: add CHANGES debug flag
7705 * lyxfind.C: add code for finding the next change piece
7708 * lyxrc.C: add user_name and user_email
7711 * lyxrow.C: add a metric for the top of the text line
7714 * text.C: implement accept/rejectChange()
7717 * text.C: paint changebars. Paint new/deleted text in the chosen
7718 colours. Strike through deleted text.
7722 * paragraph_pimpl.h:
7723 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7724 in the current change to the insert functions. Rework erase to
7725 mark text as deleted, adding an eraseIntern() and a range-based
7726 erase(). Implement per-paragraph change lookup and
7729 * paragraph_funcs.C: Fixup paste for change tracking.
7731 * tabular.C: mark added row/columns as new.
7733 * text.C: fix rowLast() to never return -1. Don't allow
7734 spellchecking of deleted text. Track transpose changes. Don't
7735 allow paragraph break or merge where appropriate.
7737 * text2.C: leave cursor at end of selection after a cut.
7739 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7741 * text.C (getLengthMarkerHeight):
7742 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7743 visible on screen too.
7745 2003-02-07 John Levon <levon@movementarian.org>
7747 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7749 2003-02-05 Angus Leeming <leeming@lyx.org>
7751 * lyxserver.C (read_ready): revert my patch of 11 September last year
7752 as it sends PC cpu through the roof. Presumably this means that
7753 the lyxserver will no longer run on an Alpha...
7755 2003-01-30 Angus Leeming <leeming@lyx.org>
7757 * factory.C (createInset): create an InsetCommandParam of type "index"
7758 and use it to 'do the right thing'.
7760 * text2.C (getStringToIndex): ensure that cursor position is always
7761 reset to the reset_cursor position.
7763 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7765 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7768 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7772 * lyxfunc.C: Output messages with identical spelling, punctuation,
7775 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7777 * MenuBackend.C (expandFormats): List only viewable export formats
7780 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7783 * lyxfunc.C (getStatus): Make sure that formats other than
7784 "fax" can also be disabled
7786 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7788 * text3.C (dispatch): put the lfuns that insert insets in 3
7789 groups, and call doInsertInset with appropriate arguments.
7790 (doInsertInset): new function, that creates an inset and inserts
7791 it according to some boolean parameters.
7793 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * buffer.C (readFile): remember to pass on 'par' when calling
7796 readFile recursively.
7798 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7800 * MenuBackend.C (expandFormats): add "..." to import formats.
7802 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7804 * paragraph.C (asString): Remove XForms RTL hacks.
7806 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7807 * buffer.C: fix typo
7809 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * Makefile.am (LIBS): delete var
7812 (lyx_LDADD): add @LIBS@ here instead.
7814 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7816 * Clarify the meaning of "wheel mouse jump"
7818 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7820 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7823 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7825 * importer.C (Loaders): do not preallocate 3 elements in the
7826 vector, since one ends up with 6 elements otherwise
7828 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7830 * DepTable.C (write): write the file name as last element of the
7831 .dep file (because it may contain spaces)
7832 (read): read info in the right order
7834 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7836 * paragraph_pimpl.C (simpleTeXBlanks):
7837 (simpleTeXSpecialChars):
7838 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7840 * tabular.C (latex): add some missing case statements. Reindent.
7842 * MenuBackend.C (expandToc): remove unused variable.
7844 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7853 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7856 2003-01-05 John Levon <levon@movementarian.org>
7859 * BufferView.C: add getEncoding()
7862 * kbsequence.C: do not store last keypress
7865 * lyxfunc.C: store last keypress here instead. Pass encoding
7868 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7870 * lyx_main.C (init): remove annoying error message when following
7871 symbolic links (bug #780)
7873 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7875 * text.C (insertChar):
7876 * lyxrc.C (getDescription): remove extra spaces
7878 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7880 * lyxrc.C (getDescription): remove extra spaces
7882 2002-12-20 John Levon <levon@movementarian.org>
7884 * text3.C: hack fix for page up/down across tall rows
7886 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7888 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7891 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7893 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7894 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7895 thesaurus is not compiled in
7897 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7899 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7901 2002-12-16 Angus Leeming <leeming@lyx.org>
7904 * lyx_main.C (init): remove override_x_deadkeys stuff.
7906 2002-12-12 John Levon <levon@movementarian.org>
7908 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7909 insert. Only remove shift modifier under strict
7912 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * MenuBackend.C (expandToc): fix crash.
7916 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * MenuBackend.C (expandToc): gettext on float names.
7920 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7922 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7923 implement bool empty() [bug 490]
7925 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7929 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7931 * several files: ws changes
7933 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * text2.C (setCounter): clean up a bit, use boost.format.
7936 (updateCounters): initialize par upon declaration.
7938 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7939 if the layout exists. We do not just store the layout any more.
7940 (SwitchLayoutsBetweenClasses): use boost.format
7942 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * converter.C (convert): if from and to files are the same, use a
7945 temporary files as intermediary
7947 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7952 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7954 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7956 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * tabular.C (asciiPrintCell): use string(size, char) instead of
7961 * sgml.C (openTag): fix order of arguments to string constructor
7964 * lyxfunc.C (dispatch): use boost.format
7966 * lots of files: change "c" -> 'c'
7968 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7970 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7972 2002-11-25 Angus Leeming <leeming@lyx.org>
7974 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7976 * lyx_main.C (init): compile fix.
7978 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7980 * lyx_cb.C (start): boost.formatify
7981 do not include <iostream>
7983 * lengthcommon.C: ws only
7985 * boost-inst.C,BoostFormat.h: add more explict instantations
7987 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * lots of files: handle USE_BOOST_FORMAT
7991 2002-11-21 John Levon <levon@movementarian.org>
7993 * pspell.C: fix compile
7995 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * lyxfunc.C (dispatch): use boost::format
8001 * lyxfont.C (stateText): use boost::format
8003 * lyx_main.C (LyX): use boost::format
8005 (queryUserLyXDir): ditto
8008 (typedef boost::function): use the recommened syntax.
8010 * importer.C (Import): use boost::format
8012 * debug.C (showLevel): use boost::format
8014 * converter.C (view): use boost::format
8019 * bufferview_funcs.C (currentState): use boost::format
8021 * bufferlist.C (emergencyWrite): use boost::format
8023 * buffer.C (readLyXformat2): use boost::format
8024 (parseSingleLyXformat2Token): ditto
8026 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8028 * LaTeX.C (run): use boost::format
8030 * Chktex.C (scanLogFile): use boost::format
8032 * BufferView_pimpl.C (savePosition): use boost::format
8033 (restorePosition): ditto
8034 (MenuInsertLyXFile): ditto
8036 * BoostFormat.h: help file for explicit instation.
8038 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8040 * tabular.C (latex): Support for block alignment in fixed width
8043 2002-11-17 John Levon <levon@movementarian.org>
8045 * BufferView_pimpl.C:
8047 * lyxfunc.C: split filedialog into open/save
8049 2002-11-08 Juergen Vigna <jug@sad.it>
8051 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8052 by my last patch (hopefully).
8054 2002-11-08 John Levon <levon@movementarian.org>
8063 * toc.C: ParConstIterator, and use it (from Lars)
8065 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8067 * lyxtextclass.[Ch]: revise and add doxygen comments
8069 2002-11-07 John Levon <levon@movementarian.org>
8071 * text.C: fix progress value for spellchecker
8073 * toc.C: fix navigate menu for insetwrap inside minipage
8075 * paragraph_funcs.C: added FIXME for suspect code
8077 2002-11-07 John Levon <levon@movementarian.org>
8079 * BufferView_pimpl.C: fix redrawing of insets
8082 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8084 * text2.C (updateCounters): fix bug 668
8086 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8088 * text3.C (dispatch): Do not make the buffer dirty when moving the
8091 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * vc-backend.C: STRCONV
8096 * text2.C (setCounter): STRCONV
8098 * paragraph.C (asString): STRCONV
8100 * lyxlength.C (asString): STRCONV
8101 (asLatexString): ditto
8103 * lyxgluelength.C (asString): STRCONV
8104 (asLatexString): ditto
8106 * lyxfunc.C (dispatch): STRCONV
8109 * lyxfont.C (stateText): STRCONV
8111 * importer.C (Import): STRCONV
8113 * counters.C (labelItem): STRCONV
8114 (numberLabel): ditto
8115 (numberLabel): remove unused ostringstream o
8120 * bufferview_funcs.C (currentState): STRCONV
8122 * buffer.C (readFile): STRCONV
8123 (asciiParagraph): ditto
8124 (makeLaTeXFile): ditto
8126 * Spacing.C (writeEnvirBegin): STRCONV
8128 * LaTeXFeatures.C (getLanguages): STRCONV
8129 (getPackages): ditto
8131 (getBabelOptions): ditto
8132 (getTClassPreamble): ditto
8133 (getLyXSGMLEntities): ditto
8134 (getIncludedFiles): ditto
8138 (scanAuxFile): ditto
8141 * LString.h: add the STRCONV macros
8143 * BufferView_pimpl.C (savePosition): STRCONV
8144 (restorePosition): ditto
8145 (MenuInsertLyXFile): ditto
8147 * vc-backend.C (scanMaster): change from submatch[...] to
8150 * funcrequest.C: include config.h
8152 * factory.C: include config.h
8154 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8156 * box.C: include config.h
8158 * LaTeX.C (scanAuxFile): change from submatch[...] to
8162 2002-10-25 Angus Leeming <leeming@lyx.org>
8164 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8166 * ispell.[Ch] (setError): new method.
8167 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8168 Use setError() insetead of goto END.
8170 * lyx_cb.C (AutoSave): move out child process into new class
8173 2002-10-30 John Levon <levon@movementarian.org>
8175 * text3.C: make start appendix undoable
8177 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8179 * lyxlength.C (inPixels): Fix returned value.
8181 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8184 2002-10-24 Angus Leeming <leeming@lyx.org>
8186 * lyxgluelength.h: no need to forward declare BufferParams
8187 or BufferView, so don't.
8189 2002-10-21 John Levon <levon@movementarian.org>
8191 * BufferView.C: menuUndo ->undo, redo
8193 * BufferView.h: document, remove dead, make some methods private
8195 * paragraph_funcs.h:
8196 * paragraph_funcs.C:
8197 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8202 * sgml.C: move sgml open/close tag into sgml.C
8204 * bufferview_funcs.h: unused prototype
8207 * lyxfunc.C: remove unused
8210 * text.C: remove unused
8212 2002-10-21 John Levon <levon@movementarian.org>
8216 * BufferView_pimpl.h:
8217 * BufferView_pimpl.C: fix mouse wheel handling based on
8218 patch from Darren Freeman
8220 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8222 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8224 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8226 * lyxlength.C (inPixels): Fix hanfling of negative length.
8227 Fix LyXLength::MU case.
8229 2002-10-16 John Levon <levon@movementarian.org>
8231 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8233 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8235 * converter.C (view): add support for $$i (file name) and $$p
8236 (file path) for the viewer command. If $$i is not specified, then
8237 it is appended to the command (for compatibility with old syntax)
8239 2002-10-14 Juergen Vigna <jug@sad.it>
8241 * undo_funcs.C (textHandleUndo): alter the order in which the
8242 new undopar is added to the LyXText, as we have to set first
8243 the right prev/next and then add it as otherwise the rebuild of
8244 LyXText is not correct. Also reset the cursor to the right paragraph,
8245 with this IMO we could remove the hack in "redoParagraphs()".
8247 2002-10-09 Angus Leeming <leeming@lyx.org>
8249 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8250 to turn off an optimisation if a new inset is to be inserted.
8252 2002-10-11 André Pönitz <poenitz@gmx.net>
8254 * lyxtext.h: make some functions public to allow access
8255 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8257 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8259 * text3.C (dispatch): when changing layout, avoid an infinite loop
8262 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * lyxrc.C (read): treat a viewer or converter command of "none" as
8267 * MenuBackend.C (expandFormats): for an update, also allow the
8268 formats that are not viewable
8270 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8271 script if it is newer than the lyxrc.defaults in user directory
8273 2002-10-07 André Pönitz <poenitz@gmx.net>
8275 * text.C: Vitaly Lipatov's small i18n fix
8277 2002-09-25 Angus Leeming <leeming@lyx.org>
8279 * ispell.h: doxygen fix.
8281 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8283 * buffer.h (readFile): Add a new argument to the method, to allow
8284 reading of old-format templates.
8286 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8288 * toc.C (getTocList): Get TOC from InsetWrap.
8290 2002-09-16 John Levon <levon@movementarian.org>
8292 * lyxfunc.C: check tabular for cut/copy too
8294 2002-09-12 John Levon <levon@movementarian.org>
8299 * factory.C: add header
8301 * paragraph_funcs.h:
8302 * paragraph_funcs.C: cleanup
8304 2002-09-11 John Levon <levon@movementarian.org>
8306 * PrinterParams.h: odd/even default to true
8308 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8310 * PrinterParams.h: update printer parameters for new xforms dialog
8312 2002-09-11 Angus Leeming <leeming@lyx.org>
8314 * lyxserver.C (read_ready): re-write to make it more transparent
8315 and to make it work in coherent fashion under Tru64 Unix.
8317 2002-09-11 André Pönitz <poenitz@gmx.net>
8321 * text3.C: implement LFUN_WORDSEL
8323 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8326 make floatlist_ a boost::shared_ptr<FloatList>
8328 * lyxtextclass.C: include FloatList.h
8329 (LyXTextClass): initialize floatlist_
8330 (TextClassTags): add TC_NOFLOAT
8331 (Read): match "nofloat" to TC_NOFLOAT and use it.
8332 (readFloat): modify call to floatlist_
8336 * FloatList.[Ch] (FloatList): remove commented out float
8338 (erase): new function
8340 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8342 * MenuBackend.C (expandToc): fix crash when there is no document
8345 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8347 * many files: Add insetwrap.
8349 2002-09-09 John Levon <levon@movementarian.org>
8351 * text2.C: remove confusing and awkward depth wraparound
8353 2002-09-09 John Levon <levon@movementarian.org>
8355 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8358 * buffer.C: remove getIncludeonlyList()
8361 * lyxfunc.C: remove headers
8363 2002-09-09 Juergen Vigna <jug@sad.it>
8365 * text.C (getColumnNearX): fix form Michael this is most
8366 probably a cut&paste bug.
8368 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8372 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8373 references, ws changes.
8375 * text2.C (init): update counters after init
8376 (insertParagraph): no need to set counter on idividual paragraphs.
8377 (setCounter): access the counters object in the textclass object
8378 on in the buffer object.
8379 (updateCounters): ditto
8381 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8382 shared_ptr<Counters> to avoid loading counters.h in all
8384 (LyXTextClass): initialize ctrs_
8385 (TextClassTags): add TC_COUNTER, and ...
8386 (Read): use it here.
8387 (CounterTags): new tags
8388 (readCounter): new function
8389 (counters): new funtion
8390 (defaultLayoutName): return a const reference
8392 * counters.C (Counters): remove contructor
8393 (newCounter): remove a couple of unneeded statements.
8394 (newCounter): simplify a bit.
8395 (numberLabel): some small formatting changes.
8397 * buffer.[Ch]: remove all traces of counters, move the Counters
8398 object to the LyXTextClass.
8400 2002-09-06 Alain Castera <castera@in2p3.fr>
8402 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8403 package to set the horizontal alignment on fixed width columns.
8406 * lyx_sty.h: added tabularnewline macro def.
8408 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8410 2002-09-06 John Levon <levon@movementarian.org>
8412 * LyXAction.C: tooltips for sub/superscript
8414 * MenuBackend.C: a bit more verbose
8416 * lyxfunc.C: tiny clean
8418 * undo_funcs.C: document undo_frozen
8420 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * counters.C (Counters): add missing algorithm counter.
8424 * text2.C (setCounter): lookup the counter with layouts latexname
8425 instead of by section number.
8426 (setCounter): use a hackish way to lookup the correct enum
8428 a float name->type change
8429 reset enum couners with counter name directly instead of depth value.
8431 * counters.C (Counters): remove the push_backs, change to use the
8432 float type not the float name.
8433 (labelItem): remove unused string, float name->type change
8435 * counters.h: don't include vector, loose the enums and sects vectors
8437 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8440 (Read): add float->TC_FLOAT to textclassTags
8441 (Read): and handle it in the switch
8442 (readFloat): new function
8444 * FloatList.C (FloatList): comment out the hardcoded float
8447 * lyxlayout.h: ws change.
8449 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8451 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8453 2002-09-03 Angus Leeming <leeming@lyx.org>
8455 * BufferView_pimpl.h: qualified name is not allowed in member
8456 declaration: WorkArea & Pimpl::workarea() const;
8458 * factory.C: added using std::endl directive.
8460 * text3.C: added using std::find and std::vector directives.
8462 2002-08-29 André Pönitz <poenitz@gmx.net>
8465 * text2.C: remove unused member number_of_rows
8468 * BufferView2.C: remove file, move contents to...
8469 * BufferView.C: ... here
8471 * BufferView_pimpl.C:
8472 * factory.C: move more inset creation to factory
8474 * vspace.C: avoid direct usage of LyXText, ws changes
8477 don't provide direct access to WorkArea, use two simple
8478 acessors haveSelction() and workHeight() instead
8481 2002-08-29 John Levon <levon@movementarian.org>
8483 * BufferView_pimpl.C (dispatch): do not continue when
8486 2002-08-28 André Pönitz <poenitz@gmx.net>
8488 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8491 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8493 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8495 * buffer.C: increment LYX_FORMAT to 221
8497 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8498 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8500 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8502 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8504 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8506 * factory.C (createInset): use LyXTextClass::floats
8508 * MenuBackend.C (expandFloatListInsert):
8509 (expandFloatInsert):
8512 * text2.C (setCounter):
8514 * LaTeXFeatures.C (useFloat):
8515 (getFloatDefinitions):
8517 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8519 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8520 floatlist_, with accessor floats().
8522 * FloatList.h: remove global FloatList
8524 2002-08-26 André Pönitz <poenitz@gmx.net>
8526 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8530 * BufferView_pimpl.C:
8531 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8533 2002-08-25 John Levon <levon@movementarian.org>
8535 * LyXAction.C: fix margin note description
8537 2002-08-24 John Levon <levon@movementarian.org>
8541 * bufferview_funcs.C:
8543 * undo_funcs.C: cleanups
8545 * lyxfunc.C: disable CUT/COPY when no selection
8547 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8549 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8550 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8552 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8553 Add backward compatibility to "mono", "gray" and "no".
8555 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8557 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8558 (and file_format >= 200).
8560 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8562 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8564 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8566 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8568 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8570 * BufferView_pimpl.C:
8577 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8578 inset and code to make it work with the paragraph code. The inset
8579 can be anywhere in the paragraph, but will only do the expected
8580 thing in LaTeX if the layout file contains the parameter line
8582 (or more generally, a nonzero value) for that layout.
8584 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * paragraph.h: remove the declaration of undefined counters class
8589 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8591 * text2.C (setCounter): fixed enumeration mis-count as reported by
8592 Dr. Richard Hawkins.
8594 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8596 * paragraph_funcs.h: remove some unneeded includes
8598 * text.C (backspace): pasteParagraph now in global scipe
8600 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8601 (pasteSelection): ditto
8603 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8604 * paragraph_funcs.C (pasteParagraph): ... here
8606 2002-08-20 André Pönitz <poenitz@gmx.net>
8608 * commandtags.h: new LFUNs for swapping/copying table row/colums
8611 * lyxfunc.C: support for new lfuns
8613 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * buffer.[Ch]: remove NO_COMPABILITY stuff
8618 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * boost.C (throw_exception): new file, with helper function for
8621 boost compiled without exceptions.
8626 * ParameterStruct.h:
8627 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8629 * bufferlist.C (emergencyWriteAll): use boost bind
8631 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8633 * text.C: include paragraph_funcs.h
8634 (breakParagraph): breakParagraph is now in global scope
8636 * paragraph_funcs.[Ch]: new files
8638 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8641 * buffer.C: include paragraph_funcs.h
8642 (insertStringAsLines): breakParagraph is now in global scope
8644 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8647 * CutAndPaste.C: include paragraph_funcs.h
8648 (cutSelection): breakParagraphConservative is now in global scope
8649 (pasteSelection): ditto
8651 * buffer.h: declare oprator== and operator!= for
8652 Buffer::inset_iterator
8654 * bufferlist.C (emergencyWrite): don't use fmt(...)
8656 * text3.C: add using std::endl
8658 * BufferView.C (moveCursorUpdate): remove default arg
8660 2002-08-20 André Pönitz <poenitz@gmx.net>
8662 * buffer.[Ch]: move inline functions to .C
8665 * BufferView_pimpl.C:
8667 * buffer.[Ch]: use improved inset_iterator
8670 * paragraph.[Ch]: write one paragraph at a time
8672 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8674 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8675 style if style is not specified.
8677 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8679 * text2.C (setCounter): when searching for right label for a
8680 caption, make sure to recurse to parent insets (so that a caption
8681 in a minipage in a figure float works) (bug #568)
8683 2002-08-20 André Pönitz <poenitz@gmx.net>
8685 * text3.C: new file for LyXText::dispatch() and helpers
8687 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8689 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8691 2002-08-19 André Pönitz <poenitz@gmx.net>
8694 * text.C: new LyXText::dispatch()
8696 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8698 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8700 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8702 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8705 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8707 * Makefile.am: use $(variables) instead of @substitutions@
8709 2002-08-15 André Pönitz <poenitz@gmx.net>
8712 * BufferView_pimpl.C: streamlining mathed <-> outer world
8716 * LyXAction.C: remove unused LFUN_MATH
8718 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8720 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8722 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8724 * paragraph.C (Paragraph): reformat a bit
8725 (cutIntoMinibuffer): use builtin InsetList function instad of
8729 * buffer.C: include boost/bind.hpp, add using std::for_each
8730 (writeFileAscii): use ParagraphList iterators
8731 (validate): use for_each for validate traversal of paragraphs
8732 (getBibkeyList): use ParagraphList iterators
8733 (resizeInsets): use for_each to resizeInsetsLyXText for all
8735 (getParFromID): use ParagraphList iterators
8737 * BufferView2.C (lockInset): use paragraph list and iterators
8739 2002-08-14 John Levon <levon@movementarian.org>
8741 * lyxserver.C: remove spurious xforms include
8743 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8747 2002-08-13 André Pönitz <poenitz@gmx.net>
8750 * lyxfunc.C: further cleaning
8752 2002-08-13 André Pönitz <poenitz@gmx.net>
8754 * funcrequest.h: new constructor
8756 * funcrequest.C: move stuff here from .h
8759 * BufferView_pimpl.C:
8762 * lyxfunc.C: subsequent changes
8764 * lyxfunc.h: new view() member function
8766 * lyxfunc.C: subsequent changes
8768 2002-08-13 Angus Leeming <leeming@lyx.org>
8771 * BufferView_pimpl.C:
8779 changes due to the changed LyXView interface that now returns references
8780 to member variables not pointers.
8782 2002-08-13 Angus Leeming <leeming@lyx.org>
8784 * WordLangTuple (word, lang_code): return references to strings,
8789 * lyxtext.h: forward-declare WordLangTuple.
8794 * text.C: #include "WordLangTuple.h".
8797 * text.C: (selectNextWordToSpellcheck): constify return type.
8799 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8805 * paragraph_pimpl.h:
8808 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8810 Made updateCounter always count from start of buffer, and removed
8811 second argument (par).
8812 Reverted floats number display to '#'. Perhaps I'll try again when the
8813 code base is sanitized a bit.
8815 2002-08-12 Angus Leeming <leeming@lyx.org>
8817 * buffer.[Ch] (getLabelList): constify.
8819 2002-08-07 André Pönitz <poenitz@gmx.net>
8821 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8823 * funcrequest.h: extension to keep mouse (x,y) position
8825 2002-08-12 Juergen Vigna <jug@sad.it>
8827 * BufferView2.C (insertErrors): forbid undo when inserting error
8830 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8832 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8834 * ParagraphList.[Ch]: new files
8836 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8838 * BufferView2.C (lockInset): ParagraphList changes
8841 * bufferlist.C: ditto
8845 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8847 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8848 unused class variable counter_,
8850 * paragraph.[Ch] (getFirstCounter): delete unused function
8852 * counters.C: include LAssert.h
8853 (reset): add a new function with no arg, change other version to
8854 not have def. arg and to not allow empty arg.
8856 * text2.C (setCounter): remove empty arg from call to Counters::reset
8858 2002-08-11 John Levon <levon@movementarian.org>
8860 * Makefile.am: add WordLangTuple.h
8862 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8865 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8867 * insets/insettext.C: InsetList changes
8869 * graphics/GraphicsSupport.C (operator()): InsetList changes
8871 * toc.C (getTocList): InsetList changes
8873 * paragraph_pimpl.[Ch]: InsetList changes
8875 * paragraph.[Ch]: InsetList changes
8877 * buffer.C (inset_iterator): InsetList changes
8878 (setParagraph): ditto
8879 * buffer.h (inset_iterator): ditto
8880 * iterators.C (operator++): ditto
8881 * iterators.h: ditto
8883 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8885 * InsetList.[Ch]: new files, most InsetList handling moved out of
8888 * BufferView2.C (removeAutoInsets): InsetList changes
8890 (ChangeInsets): ditto
8892 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8894 * paragraph_pimpl.h (empty): new function
8896 * paragraph.[Ch] (empty): new function
8898 * other files: use the new Paragraph::empty function
8900 2002-08-09 John Levon <levon@movementarian.org>
8902 * lyxtext.h: remove unused refresh_height
8904 2002-08-09 John Levon <levon@movementarian.org>
8911 * paragraph.C: move sgml char escaping out of paragraph
8914 * paragraph.C: remove id setter
8918 * paragraph_pimpl.C: remove dead tex_code_break_column
8920 * bufferview_funcs.C: small cleanup
8922 * lyxfunc.C: remove dead proto
8924 * lyxtext.h: make some stuff private. Remove some dead stuff.
8926 * lyxgluelength.C: make as[LyX]String() readable
8928 2002-08-08 John Levon <levon@movementarian.org>
8933 * ToolbarDefaults.C:
8936 * toc.C: lyxaction cleanup
8938 2002-08-08 John Levon <levon@movementarian.org>
8940 * BufferView2.C: small cleanup
8943 * lyxfind.C: move unnecessary header into the .C
8945 2002-08-08 John Levon <levon@movementarian.org>
8947 * funcrequest.h: just tedious nonsense
8950 * lyx_main.C: cleanups
8953 * vspace.C: remove dead header lyx_main.h
8955 2002-08-07 Angus Leeming <leeming@lyx.org>
8958 * paragraph_pimpl.h:
8959 Forward declare class Counters in paragraph.h by moving the ctrs member
8960 variable into Paragraph::Pimpl.
8961 (counters): new method, returning a reference to pimpl_->ctrs.
8963 * text2.C: ensuing changes.
8965 2002-08-07 John Levon <levon@movementarian.org>
8967 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8969 * BufferView_pimpl.C: announce X selection on double/triple
8972 * lyx_main.C: use correct bool in batch dispatch
8974 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8976 2002-08-07 André Pönitz <poenitz@gmx.net>
8978 * funcrequest.h: new class to wrap a kb_action and its argument
8981 * BufferView_pimpl[Ch]:
8985 * lyxrc.C: subsequent changes
8988 2002-08-07 John Levon <levon@movementarian.org>
8990 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8991 document options change.
8993 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8998 * makefile.am: move counters functionality over from
8999 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9001 2002-08-06 John Levon <levon@movementarian.org>
9003 * WordLangTuple.h: new file for word + language code tuple
9014 * BufferView2.C: use WordLangTuple
9017 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9019 2002-08-06 John Levon <levon@movementarian.org>
9021 * lyx_main.C: fix cmdline batch handling
9023 2002-08-06 André Pönitz <poenitz@gmx.net>
9025 * lyxrc.C: set default for show_banner to true
9027 2002-08-06 John Levon <levon@movementarian.org>
9029 * pspell.C: fix a crash, and allow new aspell to work
9031 2002-08-06 John Levon <levon@movementarian.org>
9034 * kbmap.C: small cleanup
9037 * vspace.C: add const
9039 2002-08-05 John Levon <levon@movementarian.org>
9041 * LyXAction.C: back to tabular-insert
9043 2002-08-04 John Levon <levon@movementarian.org>
9046 * BufferView.C: cosmetic change
9048 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9058 * BufferView2.C: purge all "Lyx" not "LyX" strings
9061 * lyxcursor.C: attempt to add some documentation
9066 * ToolbarDefaults.C:
9067 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9068 merge with LFUN_TABULAR_INSERT
9075 * pspell.C: split up i/pspell implementations into separate
9076 files, many cleanups
9078 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9080 * text2.C: some cleanup
9082 * lyxfunc.C: don't check for isp_command == "none" any more, it
9083 didn't make any sense
9085 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9090 * makefile.am: move counters functionality over
9091 from text2.C/paragraph.[Ch] to counters.[Ch], and
9093 2002-08-02 John Levon <levon@movementarian.org>
9095 * buffer.C: s/lyxconvert/lyx2lyx/
9097 2002-08-02 Angus Leeming <leeming@lyx.org>
9099 * lyxlex.C: revert John's change as it breaks reading of the user
9102 2002-08-02 Angus Leeming <leeming@lyx.org>
9104 * importer.C (Import):
9105 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9106 changes due to LyXView::view() now returning a boost::shared_ptr.
9108 2002-08-02 John Levon <levon@movementarian.org>
9110 * lyxlex.C: small cleanup
9112 2002-08-02 John Levon <levon@movementarian.org>
9114 * text2.C (status): small cleanup, no logic change
9116 2002-08-01 John Levon <levon@movementarian.org>
9119 * buffer.C (writeFile): don't output alerts, caller
9123 * lyx_cb.C: from above
9125 * lyxfunc.C: allow to open non-existent files
9127 2002-07-31 John Levon <levon@movementarian.org>
9129 * lyxserver.C: don't let incidental errors get
9132 2002-07-30 John Levon <levon@movementarian.org>
9134 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9136 2002-07-30 John Levon <levon@movementarian.org>
9139 * lyxserver.C: remove I/O callback too
9141 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9146 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * many files: strip,frontStrip -> trim,ltrim,rtrim
9150 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9152 * PrinterParams.h: remove extern containsOnly, and include
9153 support/lstrings.h instead.
9155 * LaTeX.C (scanAuxFile): modify because of strip changes
9157 * buffer.C (makeLaTeXFile): ditto
9158 * bufferparams.C (writeFile): ditt
9159 * lyxfont.C (stateText): ditto
9160 * lyxserver.C (read_ready): ditto
9161 * vc-backend.C (scanMaster): ditto
9163 * BufferView_pimpl.h: ws changes
9165 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9167 2002-07-26 André Pönitz <poenitz@gmx.net>
9169 * kb_sequence.C: remove unnedred usings
9171 2002-07-26 Juergen Vigna <jug@sad.it>
9173 * lyxfind.C (LyXReplace): we have to check better if the returned
9174 text is not of theLockingInset()->getLockingInset().
9176 2002-07-25 Juergen Vigna <jug@sad.it>
9178 * lyxfind.C (LyXReplace): don't replace if we don't get the
9181 * undo_funcs.C (createUndo): remove debugging code.
9183 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9185 * buffer.C (parseSingleLyXformat2Token): Use default placement
9186 when reading old floats.
9188 * FloatList.C (FloatList): Change the default placement of figure
9189 and tables to "tbp".
9191 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9193 * MenuBackend.C: using std::max
9195 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9197 * MenuBackend.C (expandToc):
9198 (expandToc2): code moved from xforms menu frontend. It is now
9199 generic and TOCs are transparent to menu frontends.
9201 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9203 * toc.C (getTocList): protect against buf=0
9205 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9206 Menu as first parameter. Now, this calls itself recursively to
9207 expand a whole tree (this will be useful for TOC handling)
9208 (expandFloatInsert): remove 'wide' version of floats
9210 * MenuBackend.h (submenuname): returns the name of the submenu.
9211 (submenu): returns the submenu itself, provided it has been
9212 created by MenuBackend::expand
9214 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9217 insets which have noFontChange == true. (bug #172)
9219 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9221 * BufferView_pimpl.C: add connection objects and use them...
9224 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9226 * MenuBackend.C (expandLastfiles):
9229 (expandFloatListInsert):
9230 (expandFloatInsert):
9231 (expand): split expand in parts
9233 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9235 * lyx_gui.C: use lyx_gui::exit()
9237 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9239 * LyXAction.C: show the failing pseudo action
9241 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9243 * buffer.C (readFile): Run the lyxconvert script in order to read
9246 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9250 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9252 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9256 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9258 2002-07-22 Herbert Voss <voss@lyx.org>
9261 * lyxlength.[Ch]: add support for the vertical lengths
9263 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9265 * toc.[Ch]: std:: fixes
9267 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * lyxrc.C: do not include lyx_main.h
9271 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9277 * BufferView2.C: include "lyxlex.h"
9280 * bufferparams.h: do not #include "lyxlex.h"
9282 * lyxtextclasslist.C (Add): remove method
9283 (classlist): renamed to classlist_
9285 * paragraph_pimpl.C:
9289 * bufferview_funcs.C:
9294 * toc.C (getTocList): use BufferParams::getLyXTextClass
9296 * toc.C (getTocList): use InsetFloat::addToToc
9298 * toc.[Ch]: new files, containing helper functions to handle table
9301 * lyxfunc.C (dispatch): no need to remove spaces around command
9303 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9304 first command of the sequence; it is not very clever, but I do not
9305 have a better idea, actually
9307 * LyXAction.C (LookupFunc): make sure to remove space at the
9308 beginning and end of the command
9310 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9312 * MenuBackend.C (getMenubar): new method: return the menubar of
9314 (read): treat differently reading of menu and menubar (in
9315 particular, the menubar has no name now)
9316 (Menu::menubar): remove
9318 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9321 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9323 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9324 a bibitem inset in a RTL paragraph.
9326 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9328 * paragraph_pimpl.C: constify
9330 * BufferView_pimpl.C:
9332 * lyxfunc.C: fix dispatch in a nicer way
9334 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9336 * lyxfunc.C (dispatch):
9337 * BufferView_pimpl.C:
9338 * BufferView_pimpl.h:
9340 * BufferView.h: rename Dispatch() to dispatch()
9342 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9344 * lyxlayout.C (Read): honor DependsOn tag
9346 * lyxlayout.[Ch] (depends_on): new method
9348 * version.C.in: update lyx_docversion
9350 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9352 * paragraph.C (validate): remove from here...
9353 * paragraph_pimpl.C (validate): ... and move here
9354 (isTextAt): make it const
9356 * buffer.C (getLists): ws cleanup
9358 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9360 * language.C (read): Use iso8859-1 encoding in latex_lang
9361 (this prevents LyX from crashing when using iso10646-1 encoding).
9363 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * text2.C (toggleInset): if cursor is inside an inset, close the
9366 inset and leave cursor _after_ it
9368 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9370 * lyxfunc.C: move minibuffer completion handling out of here
9372 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9374 * BufferView_pimpl.C:
9375 * LaTeX.C: fix dispatch calls
9377 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9379 * text.C (drawChars): Fix Arabic text rendering.
9381 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9385 * lyxfunc.C: remove message-push/pop
9389 * lyxfunc.C: rationalise some code by removing verboseDispatch
9390 in favour of a bool argument to dispatch()
9392 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9394 * lyx_main.C (init): make sure to read symlinks as absolute paths
9396 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9399 * lyxfunc.C: no need for commandshortcut to be a member
9401 2002-07-15 André Pönitz <poenitz@gmx.net>
9403 * converter.C: add support for $$s (scripts from lib/scripts dir)
9404 * lyx_main.C: white space
9406 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9410 * lyxrc.C: remove second exit confirmation
9412 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9417 * BufferView_pimpl.h:
9418 * BufferView_pimpl.C:
9419 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9421 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * MenuBackend.C (expand): add numeric shortcuts to document menu
9425 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9427 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * lyxfont.C (setLyXFamily):
9436 * buffer.C (asciiParagraph): use ascii_lowercase
9438 2002-07-15 Mike Fabian <mfabian@suse.de>
9440 * lyxlex_pimpl.C (search_kw):
9441 * lyxlex.C (getLongString):
9442 * converter.h (operator<):
9443 * converter.C (operator<):
9444 * buffer.C (parseSingleLyXformat2Token):
9446 * ToolbarDefaults.C (read):
9447 * MenuBackend.C (checkShortcuts):
9449 * LColor.C (getFromGUIName):
9450 (getFromLyXName): use the compare_ascii_no_case instead of
9451 compare_no_case, because in turkish, 'i' is not the lowercase
9452 version of 'I', and thus turkish locale breaks parsing of tags.
9454 2002-07-16 Angus Leeming <leeming@lyx.org>
9456 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9457 now takes a Buffer const & argument.
9459 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9461 * BufferView.C (resize): check there's a buffer to resize
9463 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9465 * lyxfunc.C: remove dead code
9468 * lyxserver.C: use lyx_guii::set_read_callback
9470 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9472 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9473 an inset in a RTL paragraph.
9475 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9477 * lyxfunc.C: repaint after a font size update
9479 2002-07-15 André Pönitz <poenitz@gmx.net>
9481 * lyxlength.C: inBP should be able to return negative values
9483 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9485 * lyxfunc.C: use lyx_gui::update_fonts()
9487 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9489 * lyxfunc.C: use lyx_gui::update_color()
9491 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9497 * lyxrc.C: remove file->new asks for name option, and let
9498 buffer-new take an argument
9500 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9502 * BufferView_pimpl.C: remove unneeded extra repaint()
9504 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9506 * LyXAction.C: allow command-sequence with NoBuffer
9508 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9510 2002-07-10 Angus Leeming <leeming@lyx.org>
9512 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9514 2002-07-09 Angus Leeming <leeming@lyx.org>
9516 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9518 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9520 * lengthcommon.h: whitespace
9522 * lyxfunc.C: update scrollbar after goto paragraph
9524 * lyxtext.h: factor out page break drawing, and fix it so
9525 page break/added space paints as selected nicely
9527 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9529 * BufferView_pimpl.C: add FIXMEs, clean up a little
9531 2002-07-09 André Pönitz <poenitz@gmx.net>
9533 * lyxfont.[Ch]: support for wasy symbols
9535 2002-07-08 André Pönitz <poenitz@gmx.net>
9537 * BufferView_pimpl.C: apply John's patch for #93.
9539 2002-07-05 Angus Leeming <leeming@lyx.org>
9541 * BufferView_pimpl.C (buffer): generate previews if desired.
9543 * LColor.h: add "preview" to the color enum.
9545 * LColor.C (LColor): add a corresponding entry to the items array.
9547 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9550 2002-07-05 Angus Leeming <leeming@lyx.org>
9552 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9553 The body of the code is now in the method that is passed an ostream &
9554 rather than a file name.
9555 Pass an additional only_preamble parameter, useful for the forthcoming
9558 2002-07-03 André Pönitz <poenitz@gmx.net>
9560 * lyxfunc.C: simplify getStatus() a bit for math stuff
9562 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9566 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9568 * text.C (changeRegionCase): do not change case of all the
9569 document when region ends at paragraph end (bug #461)
9571 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9573 * paragraph.C (startTeXParParams):
9574 (endTeXParParams): add \protect when necessary
9576 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9578 * BufferView_pimpl.C (workAreaExpose): remove warning
9580 2002-06-27 Angus Leeming <leeming@lyx.org>
9582 * Makefile.am: add lyxlayout_ptr_fwd.h.
9584 2002-06-26 André Pönitz <poenitz@gmx.net>
9586 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9588 2002-06-25 Angus Leeming <leeming@lyx.org>
9590 * lyxfunc.C (dispatch): Comment out the call to
9591 grfx::GCache::changeDisplay. The method no longer exists now that the
9592 pixmap generation part of the graphics loader has been moved into
9595 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * text2.C: layout as layout
9599 * text.C: layout as layout
9601 * tabular.C (OldFormatRead): layout as layout
9603 * paragraph_pimpl.C (TeXDeeper): layout as layout
9604 (realizeFont): layout as layout
9606 * paragraph.C (writeFile): layout as layout
9607 (validate): layout as layout
9608 (getFont): layout as layout
9609 (getLabelFont): layout as layout
9610 (getLayoutFont): layout as layout
9611 (breakParagraph): layout as layout
9612 (stripLeadingSpaces): layout as layout
9613 (getEndLabel): layout as layout
9614 (getMaxDepthAfter): layout as layout
9615 (applyLayout): layout as layout
9616 (TeXOnePar): layout as layout
9617 (simpleTeXOnePar): layout as layout
9618 (TeXEnvironment): layout as layout
9619 (layout): layout as layout
9620 (layout): layout as layout
9622 * lyxtextclass.C (compare_name): new functor to work with
9623 shared_ptr, layout as layout
9624 (Read): layout as layout
9625 (hasLayout): layout as layout
9626 (operator): layout as layout
9627 (delete_layout): layout as layout
9628 (defaultLayout): layout as layout
9630 * lyxlayout_ptr_fwd.h: new file
9632 * lyxlayout.C (Read): layout as layout
9634 * lyx_cb.C (MenuInsertLabel): layout as layout
9636 * bufferlist.C (newFile): layout as layout
9638 * buffer.C (readLyXformat2): layout as layout
9639 (parseSingleLyXformat2Token): layout as layout
9640 (insertStringAsLines): layout as layout
9641 (asciiParagraph): layout as layout
9642 (latexParagraphs): layout as layout
9643 (makeLinuxDocFile): layout as layout
9644 (simpleLinuxDocOnePar): layout as layout
9645 (makeDocBookFile): layout as layout
9646 (simpleDocBookOnePar): layout as layout
9647 (getLists): layout as layout
9649 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9651 * CutAndPaste.C (cutSelection): layout as layout
9652 (pasteSelection): layout as layout
9653 (SwitchLayoutsBetweenClasses): layout as layout
9655 * BufferView_pimpl.C (Dispatch): layout as layout
9656 (smartQuote): layout as layout
9658 * BufferView2.C (unlockInset): layout as layout
9660 2002-06-24 André Pönitz <poenitz@gmx.net>
9662 * lyxfunc.C: fix #487
9664 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9668 * lyxfunc.C: remove display_shortcuts, show_banner
9670 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9672 * Buffer_pimpl.C: oops, update on resize
9674 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9681 * BufferView.C: use repaint()
9683 * BufferView_pimpl.h:
9684 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9685 as it's a clearer description. Remove superfluous
9688 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9690 * text.C: fix bug 488. Not ideal, but getting
9691 getWord() to work properly for the insets that
9692 matter is more difficult ...
9694 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9696 * BufferView_pimpl.C:
9699 * lyxfunc.C: remove the six million index lyxfuncs to just
9700 one, and DTRT (bug 458)
9702 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9706 * BufferView_pimpl.h:
9707 * BufferView_pimpl.C: clean up resize() stuff,
9708 and unnecessary updateScreen()s
9710 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9714 * BufferView_pimpl.h:
9715 * BufferView_pimpl.C:
9718 * minibuffer.C: remove focus management of workarea,
9719 not needed. Use screen's greyOut()
9721 2002-06-17 Herbert Voss <voss@lyx.org>
9723 * converter.C: (convert) do not post a message, when converting
9724 fails, let the calling function decide what to do in this case
9726 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9728 * lyxfunc.C: tidy up a little
9730 2002-06-16 <alstrup@diku.dk>
9732 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9733 Got rid of FORMS_H_LOCATION include. Now we are
9736 2002-06-15 LyX Development team <lyx@rilke>
9738 * buffer.[Ch] (sgmlOpenTag):
9739 (sgmlCloseTag): Added support for avoiding pernicious mixed
9740 content. Return number of lines written.
9743 (makeDocBookFile): Fixed calls to sgml*Tag.
9744 Simple white space clean.
9746 (simpleDocBookOnePar): Simple white space clean.
9748 * tabular.[Ch] (docBook): Renamed to docbook and got another
9749 argument to related with the pernicious mixed content.
9751 (docbookRow): Fixed calls for docbook inset method.
9753 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9755 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9756 so it's X11 independent.
9760 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9762 2002-06-15 Lyx Development team <lyx@electronia>
9764 * intl.h: Renamed getTrans to getTransManager.
9766 2002-06-14 Angus Leeming <leeming@lyx.org>
9768 * Makefile.am: nuke forgotten stl_string_fwd.h.
9770 2002-06-12 Angus Leeming <leeming@lyx.org>
9772 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9774 2002-06-13 Angus Leeming <leeming@lyx.org>
9777 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9779 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9781 * kbmap.C (getiso): add support for cyrillic and greek
9783 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9787 * BufferView_pimpl.h:
9788 * BufferView_pimpl.C: move bogus scrolling logic
9791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9794 * BufferView_pimpl.C: view->resize() change
9796 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9798 * BufferView_pimpl.C: topCursorVisible
9801 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9805 * lyx_gui.C: move to frontends/
9809 * lyx_main.C: changes from above
9811 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9818 * lyx_main.C: minor tidy
9820 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9822 * BufferView_pimpl.h:
9823 * BufferView_pimpl.C:
9825 * BufferView.C: make painter() const,
9828 * BufferView2.C: use screen() accessor
9831 * lyx_main.C: some minor cleanup
9833 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9835 * BufferView_pimpl.h:
9836 * BufferView_pimpl.C: remove enter/leaveView,
9839 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9844 * BufferView_pimpl.h:
9845 * BufferView_pimpl.C: only construct screen once,
9848 * lyxrc.C: remove pointless comment
9850 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9853 * BufferView.C: remove active() and belowMouse()
9855 * BufferView_pimpl.h:
9856 * BufferView_pimpl.C: use workarea() not workarea_,
9857 and make it use a scoped_ptr instead
9859 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9861 * lyx_gui.C: add debug message on BadWindow
9863 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * sp_spell.C: fdopen is not part of the C++ standard.
9867 * paragraph.C (InsetIterator): use >= instead of ==
9869 2002-06-07 Angus Leeming <leeming@lyx.org>
9871 Fixes needed to compile with Compaq cxx 6.5.
9872 * BufferView_pimpl.C:
9879 * lyxtextclasslist.C:
9884 all c-library variables have been moved into namespace std. Wrap
9885 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9890 Add a using std::abs declaration.
9892 * kbmap.h (modifier_pair):
9893 * paragraph.h (InsetTable, InsetList):
9894 * lyxfont.h (FontBits):
9895 type definition made public.
9897 * bufferlist.C (emergencyWriteAll): the compiler complains that
9898 there is more than one possible lyx::class_fun template to choose from.
9899 I re-named the void specialisation as lyx::void_class_fun.
9901 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9903 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9904 the compiler is is unable to find tostr in write_attribute.
9906 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9908 * buffer.C (sgmlError): hide #warning
9910 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9912 * xtl/*: get rid of xtl, which is not in use anyway
9914 * LyXAction.C (init):
9915 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9916 were unimplemented xtl experimentation
9918 2002-06-04 André Pönitz <poenitz@gmx.net>
9920 * lyxfunc.C: disable array operation on simple formulae
9922 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9924 * converter.C: constify a bit
9926 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9928 * lyx_gui.C: check xforms version correctly
9930 2002-04-30 Herbert Voss <voss@lyx.org>
9932 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9935 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9937 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9938 attempt to register it with a VCS)
9940 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * lyx_main.C (init): honor variables LYX_DIR_13x and
9945 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9949 * lyx_main.C: fix a crash on bad command line,
9950 and give a useful exit status on error
9952 * lyxfunc.C (doImport): allow -i lyx to work
9954 2002-03-30 André Pönitz <poenitz@gmx.net>
9956 * lyxfunc.C: mathed font changes
9958 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9973 * trans_mgr.h: srcdocs, and some minor cleanups
9975 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9978 call getFont all the time)
9980 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9982 * switch from SigC signals to boost::signals
9984 2002-05-29 André Pönitz <poenitz@gmx.net>
9986 * paragraph_pimpl.C (getChar): don't call size() too often...
9988 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9990 * paragraph_pimpl.C (insertChar): do not try to update tables when
9991 appending (pos == size())
9993 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9994 in order to reduce drastically the number of comparisons needed to
9995 parse a large document
9997 2002-05-29 André Pönitz <poenitz@gmx.net>
10003 * textclasslist.[Ch]:
10004 * sp_ispell.h: whitespace change
10006 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10008 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10009 lyxaction directly now.
10011 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10015 * lyxvc.C: remove unused headers
10017 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10024 * undo_funcs.C: some cleanups. Use shared_ptr
10025 and a template for the undo stacks.
10027 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10029 * BufferView_pimpl.h:
10030 * BufferView_pimpl.C:
10037 * text2.C: use key_state/mouse_state
10039 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10044 * chset.C: change include order
10045 (loadFile): use boost regex and get rid of LRegex and LSubstring
10047 * Makefile.am (BOOST_LIBS): new variable
10048 (lyx_LDADD): use it
10050 * LaTeX.C: change include order.
10051 (scanAuxFile): use boost regex and get rid of LRegex and
10055 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10060 * FontInfo.C: moved to frontends/xforms/
10063 * FontLoader.C: moved into frontends for GUIIzation
10068 * lyxfunc.C: changes from above
10070 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10072 * LColor.C: remove spurious X include
10074 * BufferView_pimpl.C:
10079 * text2.C: move font metrics to frontends/
10081 2002-05-24 Juergen Vigna <jug@sad.it>
10083 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10084 setting the undo_cursor.
10086 * ParagraphParameters.h: include local includes first.
10088 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10090 * BufferView_pimpl.C:
10091 * BufferView_pimpl.h:
10095 * screen.C: move WorkArea into frontends/
10101 * BufferView2.C: move LyXScreen into frontends/
10105 * lyx_gui.C: move lyxlookup into frontends/xforms/
10107 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10110 * BufferView_pimpl.C:
10120 * bufferview_funcs.C:
10133 * vc-backend.C: move LyX/XFormsView into frontends/
10135 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10147 * text2.C: move Painter to frontends/
10149 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10151 * buffer.C: comment out some some code that depend upon lyx_format
10154 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10155 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10157 * buffer.h (NO_COMPABILITY): turn off compability
10159 * ColorHandler.C: include scoped_array.hpp
10161 * font.C: Use more specific smart_ptr header.
10164 * ShareContainer.h: ditto
10165 * lyx_main.h: ditto
10167 * FontInfo.h: ditto
10168 * BufferView_pimpl.h: ditto
10169 * ColorHandler.h: ditto
10171 * kbmap.C (defkey): change call to shared_ptr::reset
10173 2002-05-21 Juergen Vigna <jug@sad.it>
10175 * buffer.C (insertErtContents): fix to insert ert asis if it is
10176 non empty. Skip it completely if it contains only whitespaces.
10178 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10180 * BufferView_pimpl.C:
10181 * BufferView2.C: clear selection on paste (bug 393)
10183 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * DepTable.C: include ctime
10187 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10189 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10191 2002-05-14 Juergen Vigna <jug@sad.it>
10193 * text.C (breakParagraph): fixed function to honor the keepempty
10194 layout in the right maner and also to permit the right breaking
10195 algorithm on empty or non empyt keepempty paragraphs.
10197 * paragraph.C (breakParagraph): we have to check also if the par
10198 is really empty (!size()) for isempty otherwise we do the wrong
10201 2002-05-10 Juergen Vigna <jug@sad.it>
10203 * buffer.[Ch] : The following are only changes to the ert
10204 compatibility read reading old LaTeX layout and font stuff and
10205 convert it to ERTInsets.
10207 * buffer.h: added isErtInset().
10209 * buffer.C (struct ErtComp): add a fromlayout bool to check
10210 if we're inside a LaTeX layout.
10211 (isErtInset): new helper function.
10212 (insertErtContents): look for other ert insets before this one
10213 and insert the contents there, so that we don't have subsequent
10214 ERT insets with nothing between them. This way we create only one
10215 inset with multiple paragraphs. Also check if we don't insert only
10216 spaces ' ' as they are ignored anyway afterwards in the .tex file
10217 so if we have only spaces we will ignore this latex part in the
10219 (parseSingleLyXformat2Token \\layout): better compatibility when
10220 reading layout-latex stuff.
10221 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10223 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10224 stuff after reading the inset only get the information back from
10227 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10229 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10231 * LaTeXFeatures.C (getBabelOptions): New method.
10233 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * BufferView_pimpl.C (Dispatch): work around missing argument for
10238 2002-05-08 Juergen Vigna <jug@sad.it>
10240 * text.C (leftMargin): handle paragraph leftindent.
10242 * paragraph.C (writeFile): write the new \\leftindent tag.
10243 (validate): handle leftindent code.
10244 (TeXEnvironment): handle paragraphleftindent code again.
10246 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10248 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10249 for paragrap_extra indent code and new token \\leftindent.
10250 (latexParagraphs): handle the leftindent as environment.
10252 * ParameterStruct.h: added leftindent support.
10254 * ParagraphParameters.C (leftIndent): added support functions for
10255 the paragraph left indent.
10257 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10260 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10262 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10265 * text.C (computeBidiTables): No bidi in insetERT.
10267 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10270 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10272 * version.C.in: pre 5
10274 2002-05-02 José Matos <jamatos@fep.up.pt>
10275 * buffer.C (makeDocBookFile): white space changes, add newline to
10277 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10279 * tabular.C (docBook): fix typo.
10281 2002-05-03 Juergen Vigna <jug@sad.it>
10283 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10284 change in LyXText as we can not be sure it was not freed.
10285 (drawOneRow): remove unused code.
10287 * text.C (drawInset): redo the calculation of the need_break_row as
10288 it could have a row which was already freed.
10289 (draw): look at the return value of drawInset and return false if
10290 it also returned false.
10291 (paintRowText): look at the return value of draw and return false if
10292 it also returned false.
10294 * lyxtext.h: added bool return type to drawInset() and draw() so that
10295 if we have a change in the row so that the rowbreak has to be redone
10296 we abort drawing as it will be called again.
10298 2002-05-02 Juergen Vigna <jug@sad.it>
10300 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10301 a change in the maintext also if we're inside an inset.
10302 (Dispatch): set the cursor again after a break line and after the
10303 screen has been updated as it could be we're in a different row.
10305 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10306 to set the cursor behind the pargraph with > size().
10307 (setCursor): check also for the same paragraph when checking where
10308 to put the cursor if we have a NFR inset.
10310 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10311 parts of layout read further up as it still was in the wrong
10314 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * screen.C (drawFromTo): change sine fullRebreak always return
10319 * buffer.C (parseSingleLyXformat2Token): reindent some
10321 * BufferView_pimpl.C (update): change since fullRebreak always
10323 (Dispatch): git rid of the last hardcoded "Standard"s.
10325 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10327 * text2.[Ch] (fullRebreak): make it return void now that we always
10330 2002-04-30 Juergen Vigna <jug@sad.it>
10332 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10333 ert compatibility check for "latex" layout.
10335 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10337 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10338 minipages: use col% instead of p%, and also use the current font.
10339 (makeLaTeXFile): Fix use babel condition.
10340 (parseSingleLyXformat2Token): Correct font when reading old floats.
10342 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10344 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10345 inserting list of floats.
10347 2002-04-25 Herbert Voss <voss@lyx.org>
10349 * MenuBackend.C (expand): don't add the graphics extensions to the
10352 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10355 non-existing layout, do not complain if it was the default layout
10356 of the original class (bug #342)
10358 2002-04-24 Juergen Vigna <jug@sad.it>
10360 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10361 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10363 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10365 * buffer.C (getBibkeyList): If using \bibliography, return the
10366 option field with the reference itself. Enables us to provide natbib
10367 support when using \bibliography.
10369 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10371 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10373 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10374 natbib is provided by the LaTeX class.
10376 2002-04-23 Juergen Vigna <jug@sad.it>
10378 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10381 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10383 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10387 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10388 ensuremath around textordmasculine, textordfeminine and
10391 2002-04-19 Juergen Vigna <jug@sad.it>
10393 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10394 reinitializing the buffer otherwise row-dimensions may be wrong.
10395 (update): reset also the selection cursors if they do exits otherwise
10396 their x/y positions may be wrong.
10398 * text2.C (cursorDown): don't enter the inset if we came from a row
10399 above and are one row over the inset.
10401 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10402 really leaving an inset.
10404 2002-04-18 Juergen Vigna <jug@sad.it>
10406 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10407 of the selected paragraph does not have the selected layout also if
10410 * text2.C (setLayout): fixed bug which did not change last selected
10413 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10414 changed the read and substituted \\end_float with \\end_inset!
10416 * BufferView_pimpl.C (cursorPrevious):
10417 (cursorNext): fixed to make it work with rows heigher than the work
10418 area without moving the cursor only the draw of the row.
10419 (workAreaMotionNotify): fix jumping over high rows.
10421 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10423 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10426 2002-04-16 Juergen Vigna <jug@sad.it>
10428 * text2.C (setCursor): set also the irow().
10429 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10431 (cursorDown): support for locking an inset if the x_fix value goes
10432 inside it. That way I can transverse insets too with cursor up/down.
10434 * lyxrow.h: added irow helper function same as other (i) functions.
10436 * BufferView_pimpl.C (cursorPrevious):
10437 (cursorNext): fixed for insets!
10439 2002-04-15 Juergen Vigna <jug@sad.it>
10441 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10442 position otherwise it is wrong in some cases.
10444 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10445 inside the inset before the call.
10447 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10449 * buffer.[Ch] (getBibkeyList): make it const.
10451 2002-04-12 Juergen Vigna <jug@sad.it>
10453 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10455 * text2.C (getCursorX): new helper function
10456 (setCursor): compute also ix_
10457 (setCursorFromCoordinates): set also ix.
10459 * lyxcursor.h: added ix_ and helper functions.
10461 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10463 * buffer.C (insertStringAsLines): dont break paragraph if the this
10464 paragraph is inside an inset which does not permit it!
10466 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10467 also with no chars on this paragraph.
10468 (paintRowText): only paint stuff if it's inside the workarea!
10470 * paragraph.C (breakParagraph): honor keepempty flag and break the
10471 paragraph always below not above.
10473 * BufferView2.C (unlockInset): update the paragraph layout on inset
10474 unlock as we changed paragraph in such a case.
10476 * lyxfind.C (LyXFind): clear the former selection if not found!
10478 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10479 again called in insertChar().
10481 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10482 an inset which uses the whole row!
10483 (rightMargin): ditto.
10484 (insertChar): force a rebreak if we inserted an inset!
10486 2002-03-28 Herbert Voss <voss@lyx.org>
10488 * lyxlength.[Ch]: add inBP() to get the right PS-point
10489 units (BigPoint). With inPixels we have rounding errors
10491 2002-04-11 Juergen Vigna <jug@sad.it>
10493 * text2.C (setCursorFromCoordinates): set iy to the right value.
10494 (setCursor): add check if row->previous exists!
10496 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10497 an old float_type as this was the case in the old code!
10499 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10501 * BufferView2.C (showLockedInsetCursor): use iy
10502 (fitLockedInsetCursor): ditto
10504 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10505 locked insets as there we have the right value now.
10507 * lyxcursor.C: added iy_ variable and iy functions to set to the
10508 baseline of cursor-y of the locked inset.
10510 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10511 (setCursor): fixed for insets which need a full row.
10513 * text.C (rowLastPrintable): don't ignore the last space when before
10514 an inset which needs a full row.
10515 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10516 as last character of a row when before a inset which needs a full row.
10518 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10520 * version.C.in: update date
10522 * text2.C (fullRebreak): try to always return true and see what
10525 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * MenuBackend.C (expand): use Floating::listName
10529 * FloatList.C (FloatList): add listName argument to the built-in
10532 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10533 text associated with the float.
10535 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10539 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * ShareContainer.h: add a couple of missing typenames.
10543 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10545 * lyxrc.C (getDescription): use _() correctly rather than N_().
10547 2002-03-28 Herbert Voss <voss@lyx.org>
10549 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10550 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10552 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10554 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10555 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10557 2002-03-29 Juergen Vigna <jug@sad.it>
10559 * lyxfunc.C (dispatch): add a missing fitCursor call.
10561 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10562 it was scrolled by a cursor move, so return the bool status.
10564 * BufferView.C (fitCursor): return the bool flag also to the outside
10565 world as this is needed.
10567 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10569 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10570 call the edit() as it is not needed (and wrong) IMO.
10571 (workAreaButtonPress): set the screen_first variable before evt.
10572 unlock the inset as this may change screen_first and then we have
10573 a wrong y position for the click!
10575 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10577 * MenuBackend.C (expand): another translation that I missed
10579 2002-03-28 Juergen Vigna <jug@sad.it>
10581 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10583 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10585 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10589 * MenuBackend.C (expand): fix export/view/update when there is no
10592 2002-03-27 Herbert Voss <voss@lyx.org>
10594 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10597 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10599 * bufferview_funcs.C (currentState): only show paragraph number
10600 for is DEVEL_VERSION is set.
10602 * lyxfunc.C (dispatch): put warning in INFO channel
10604 * MenuBackend.C (expand): translate the name of floats
10606 * FloatList.C (FloatList): mark the float names for translation
10608 * converter.C (convert): use LibScriptSearch
10610 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * MenuBackend.C (defaults): fix default menu (we might as well get
10615 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10620 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10622 * lyxvc.C: reorder includes.
10624 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10626 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10629 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10631 * CutAndPaste.C: change layouts earlier on paste
10632 to avoid crashing when calling getFont()
10634 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10636 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10639 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10641 * WorkArea.C: remove 'Pending' debug message.
10643 * most files: ws cleanup
10645 * buffer.[Ch]: ws changes
10647 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10649 2002-03-21 Juergen Vigna <jug@sad.it>
10651 * tabular.C (SetMultiColumn): collapse also the contents of the
10652 cells and set the last border right. Added a Buffer const * param.
10654 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10656 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10659 2002-03-19 Juergen Vigna <jug@sad.it>
10661 * text2.C (clearSelection): reset also xsel_cache.
10663 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10664 where it needs to be called (John tells us to do so too :)
10665 (selectionLost): reset sel_cache.
10667 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10669 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10671 * text2.C (setCursorIntern): put debuging code in INSETS channel
10673 2002-03-19 André Pönitz <poenitz@gmx.net>
10675 * lyxfunc.C: tiny whitespace change
10677 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10679 * ToolbarDefaults.C (init):
10680 * LyXAction.C (init):
10682 * BufferView_pimpl.C (Dispatch):
10683 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10685 2002-03-19 Allan Rae <rae@lyx.org>
10687 * exporter.C (Export): removeAutoInsets before doing anything else.
10688 While I've just introduced a dependency on BufferView this really is
10689 the best place to clean the buffer otherwise you need to cleanup in
10690 a dozen places before calling export or cleanup in a dozen functions
10693 * converter.C (runLaTeX):
10694 (scanLog): Better handling of removeAutoInsets and screen updates.
10696 * lyxfunc.C (dispatch): small whitespace changes
10698 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10700 * WorkArea.C (C_WorkAreaEvent): return a value.
10701 (event_cb): return 1 if we handled the event, 0 otherwise.
10703 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10705 2002-03-18 Juergen Vigna <jug@sad.it>
10707 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10708 (GetAdditionalWidth): ditto.
10709 (RightLine): ditto.
10712 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10713 inset if we're there actually (probably not used right now but this
10714 is the direction to go for unifying code).
10715 (paste): disable code to clear the selection.
10717 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10718 inside an InsetText and move the check further up as it is in the
10721 * text2.C (pasteSelection): set a selection over the pasted text.
10723 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10725 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10726 and libgraphics to build on Cygwin.
10728 2002-03-15 Juergen Vigna <jug@sad.it>
10730 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10731 inserting an Inset into the paragraph. I know this is not the best
10732 fix but we already use current_view in CutAndPaste so we will remove
10733 all of it's using at the same time.
10735 * buffer.C (sgmlError): deactivated function till it is rewritten in
10736 the right mode, now it can create problems.
10738 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10739 before accessing it.
10741 2002-03-14 Juergen Vigna <jug@sad.it>
10743 * undo_funcs.C (textHandleUndo): do the right thing when updating
10744 the inset after the undo/redo.
10746 * text2.C (setCursor): just some testcode for #44 not ready yet.
10748 * undo_funcs.C (textHandleUndo): set the next() and previous()
10749 pointers of the paragraph to 0 before deleting otherwise we have
10750 problems with the Paragraph::[destructor].
10752 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10753 on a paragraph insertion.
10755 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * buffer.C (asciiParagraph): use += operator for char append to
10760 * paragraph.C (getFontSettings): compare >= not just >
10761 (highestFontInRange): ditto
10764 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * paragraph.C: change several algorithm to be more appripriate for
10767 the problem domain. This is lookip in FontList and in the InsetList.
10769 2002-03-13 André Pönitz <poenitz@gmx.net>
10772 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10774 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10779 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10781 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10783 * Painter.C (display): anon helper function, adjust code for this
10785 (pixmap): remove function.
10787 * Painter.h: remove private display variable.
10789 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10791 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10793 * WorkArea.[Ch]: remove figinset_canvas cruft.
10795 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * lyxtextclass.C (operator): add one item cache optimization.
10799 * bufferlist.h: doxy changes
10801 * bufferlist.C: ws changes
10803 * DepTable.[Ch] (ext_exist): place const in the right spot.
10805 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10807 (workAreaExpose): call resizeInsets when the with BufferView changes.
10808 (Dispatch): adjust for protectedBlank removal
10809 (specialChar): call updateInset if the insert went ok.
10811 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10812 specialChar instead.
10814 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10816 * BufferView.h: doxy change
10818 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10820 * lyxtextclass.C (operator[]): remove non-const version
10821 (defaultLayout): remove non-const version
10823 2002-03-12 Juergen Vigna <jug@sad.it>
10825 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10826 did resize the LyXText too.
10828 * buffer.C (readLyXformat2): set layout information on newly allocated
10831 * tabular.C (OldFormatRead): set layout information on the paragraph.
10833 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10835 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10837 2002-03-11 Juergen Vigna <jug@sad.it>
10839 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10841 (resizeCurrentBuffer): force also the insets to resize themselfes.
10842 (moveCursorUpdate): fixed up for InsetText.
10844 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10847 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10848 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10849 value of Dialogs::tooltipsEnabled().
10850 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10852 2002-03-08 Juergen Vigna <jug@sad.it>
10854 * BufferView_pimpl.C (updateInset): update inset inside inset also
10855 if it isn't inside theLockingInset().
10857 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10859 * buffer.C (asciiParagraph): redo some of the word and line length
10861 (getLists): look for Caption instead of caption.
10863 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10865 * buffer.C (Buffer): initialize niceFile to true
10867 (makeLinuxDocFile):
10868 (makeDocBookFile): make sure niceFile is true on exit
10870 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10874 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10876 * LyXSendto.C: remove.
10877 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10878 * lyx_gui.C: remove now-redundant comment.
10879 * ColorHandler.h: remove forward declaration of class WorkArea.
10880 * lyxfunc.C: remove #include "WorkArea.h".
10882 2002-03-07 Juergen Vigna <jug@sad.it>
10884 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10885 got moved away with the DEPM and also set the inset_owner always
10886 right which before could have been omitted.
10888 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10890 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10891 wanted layout is not found.
10893 2002-03-07 Juergen Vigna <jug@sad.it>
10895 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10897 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * paragraph.C (breakParagraph): use default layout not layout of
10901 (Paragraph): clear ParagraphParameters.
10903 2002-03-06 Juergen Vigna <jug@sad.it>
10905 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10906 otherwise it would not be a valid lenght. Fixed a special case in
10907 the minipage compatibility read where we end the document with a
10910 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10911 was set as it could be 0 for InsetTexts first entry.
10913 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * paragraph.C (writeFile): if layout is empty write out
10916 defaultLayoutName().
10918 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10919 file without named layout we set layout to defaultLayoutName().
10921 2002-03-06 Juergen Vigna <jug@sad.it>
10923 * CutAndPaste.C (copySelection): set layout for new paragraph.
10925 * text.C (prepareToPrint): leave ERT inset left aligned
10926 (leftMargin): don't indent paragraphs inside ERT insets
10928 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * paragraph.C (breakParagraph): dont call clear do the work manually
10932 * paragraph.[Ch] (clear): remove function
10934 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * paragraph.C (Paragraph): dont call clear, the work has already
10939 * lyxtextclass.C (operator): assert if n is empty
10941 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10942 work manually instead.
10944 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10946 * BufferView_pimpl.C: protect selectionLost against text == 0
10948 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10950 * text.C (breakParagraph): fix a setting layout to '0' problem.
10952 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10954 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10955 final location of file, for the included files, and graphics.
10957 2002-03-05 Juergen Vigna <jug@sad.it>
10959 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10961 2002-03-04 Juergen Vigna <jug@sad.it>
10963 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10965 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10966 last column of multicolumn cells.
10967 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10969 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10971 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10972 file if it doesn't go to a temporary file.
10974 * buffer.C (sgmlOpenTag):
10975 (sgmlCloseTag): remove extra newline insertion.
10977 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10979 * text.C (getRowNearY): comment out debug msg
10981 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * text2.C: first -> first_y
10985 * text.C (getRowNearY): add some attemts at a possible
10986 optimization, not working.
10988 * tabular.[Ch]: add BufferParams to several function so that newly
10989 created paragraph can be initialized to he default layotu for the
10992 * tabular-old.C (ReadOld): add buf->params to call of Init
10994 * screen.C: rename text->first to text->first_y
10996 * paragraph.C (breakParagraph): always set layout in the broken
10999 * lyxtextclass.C (Read): remove lowercase
11002 (delete_layout): ditto
11004 * lyxtext.h: rename first -> first_y
11006 * lyxlayout.C (Read): remove lowercase
11009 (obsoleted_by): ditto
11011 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11013 * buffer.C (insertErtContents): add params are to InsetERT
11014 (parseSingleLyXformat2Token): add code to check if a paragraphs
11015 layout really exist.
11016 (parseSingleLyXformat2Token): add params to several inset
11018 (asciiParagraph): remove lowercase, do the layout comparisons with
11021 * BufferView_pimpl.C (cursorNext): first -> first_y
11022 (resizeCurrentBuffer): first -> first_y
11023 (updateScrollbar): first -> first_y
11024 (scrollCB): first -> first_y
11025 (workAreaMotionNotify): first -> first_y
11026 (workAreaButtonPress): first -> first_y
11027 (checkInsetHit): first -> first_y
11028 (cursorPrevious): first -> first_y
11029 (cursorNext): first -> first_y
11030 (Dispatch): add buffer_->params to severl inset contructors
11032 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11034 * lyxlayout.C (Read): remove some debug info that I forgot.
11036 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11037 clean up the code slightly.
11038 (makeLinuxDocFile): ditto
11039 (makeDocBookFile): ditto
11041 * text2.C: layout as string
11043 * text.C: layout as string
11045 * paragraph_pimpl.C: layout as string
11047 * paragraph.[Ch]: layout as string
11049 * lyxtextclasslist.[Ch]: layout as string
11051 * lyxtextclass.[Ch]: layout as string
11053 * lyxtext.h: layout as string
11055 * lyxlayout.[Ch]: layout as string
11057 * lyx_cb.C: layout as string
11059 * bufferview_funcs.C: layout as string
11061 * bufferparams.C: layout as string
11063 * buffer.C: layout as string
11065 * LyXView.[Ch]: layout as string
11067 * LaTeXFeatures.[Ch]: layout as string
11069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11071 * BufferView_pimpl.C: change current_layout to string, remove
11076 (workAreaButtonRelease): layout as string
11078 * BufferView2.C (unlockInset): adjust
11080 * vspace.C (asLatexCommand): use an explict temp variable.
11082 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11084 * Makefile.am: use FRONTEND_*
11086 2002-03-01 Juergen Vigna <jug@sad.it>
11088 * tabular.C (SetWidthOfMulticolCell): changed to something better
11089 I hope but still work in progress.
11090 (recalculateMulticolumnsOfColumn): renamed function from
11091 recalculateMulticolCells as it is more appropriate now.
11092 (SetWidthOfCell): calculate multicols better.
11094 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11098 * lyxfunc.C (processKeySym): print sequence also if it is
11099 `deleted' (complete)
11101 * kbsequence.C (print): print sequence even if it is deleted
11102 (complete would be a better word, actually).
11104 * lyxfunc.C (dispatch): print complete options after a prefix key
11106 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11108 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11110 * text2.C (setCharFont): eliminate setCharFont code duplication.
11112 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11115 LFUN_TABULAR_FEATURE (bug #177)
11117 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11119 * Makefile.am: remove figure.h
11121 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11123 * Bufferview_pimpl.C:
11135 * text2.C: remove #include "lyx_gui_misc.h".
11137 * LaTeX.C: added #include <cstdio>
11139 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11141 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11142 that the paragraph following this one can have.
11144 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11146 * vspace.C (asLatexCommand): fix bogus gcc warning
11148 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11150 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11152 * text2.C (setLayout): get rid of redundant code
11154 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11156 * text2.C (incDepth): make sure depth cannot be increased beyond
11159 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11161 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11162 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11164 * PainterBase.h (image):
11165 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11166 a LyXImage const *.
11168 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11172 * BufferView_pimpl.C:
11173 * BufferView_pimpl.h:
11193 * sp_spell.C: remove fig inset, and the crap house of
11194 cards that follows it
11196 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11201 * os2_errortable.h:
11202 * nt_defines.h: move .h into support/
11204 * vms_defines.h: remove
11206 * WorkArea.C: add space in debug output
11210 * buffer.C: add WITH_WARNINGS
11214 * bufferlist.C: s/retrive/retrieve/, add docs
11223 * chset.C: add docs
11225 * lyxgui.C: add ID to X error handler
11227 * lyxtestclass.c: fix typo
11229 2002-02-26 Juergen Vigna <jug@sad.it>
11231 * tabular_funcs.C (write_attribute): changed so that some default
11232 attributes are not written at all.
11233 (getTokenValue): set default values before trying to read the
11234 value so we have the return value always set as default if we don't
11235 find the token we search for.
11237 * tabular.C (Write): write bools as bools not as strings!
11239 2002-02-22 Juergen Vigna <jug@sad.it>
11241 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11242 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11244 * text.C (leftMargin): don't add an indent for paragraphs inside
11245 tabular cells (fix #208).
11247 2002-02-21 José Matos <jamatos@fep.up.pt>
11249 * tabular.C (docBook): fixed support for long tables.
11251 2002-02-20 Juergen Vigna <jug@sad.it>
11253 * text2.C (getFont): get the drawing font of the Inset if this
11254 paragraph is inside an inset (only important for InsetERT for now).
11256 * buffer.C (insertErtContents): use new lanugage params in ERT
11259 * CutAndPaste.C: commenting out seemingly uneeded code.
11261 2002-02-19 Allan Rae <rae@lyx.org>
11263 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11264 Iterators might be simple to use but they also get invalidated.
11265 (removeAutoInsets): renamed saved cursor tracking variables and added
11266 some comments to clarify what everything does.
11268 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11275 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11276 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11279 * vc-backend.h: remove #include "support/syscall.h"
11283 * converter.C: rearrange #includes in Lars' approved fashion.
11285 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11286 forward declare class Timeout in the header file.
11288 * XFormsView.C: changes due to the above.
11290 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11291 similar to LyXView.
11293 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11294 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11296 2002-02-18 José Matos <jamatos@fep.up.pt>
11298 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11301 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11303 * a lot of small ws changes
11304 * add a lot of using std::XXX
11305 * use std construcs some places where approp.
11306 * use some exisint stuff from lyxfunctional where approp.
11307 * Make file changes to use partial linking (lets test this now...)
11309 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11313 remove #include "support/syscontr.h" as it's redundant. Always has been.
11321 change Systemcalls::System to Systemcalls::Wait and
11322 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11323 No change of functionality, just reflects the stripped down Systemcalls
11326 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11328 * debug.[Ch]: add a GRAPHICS type to the enum.
11330 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11334 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11337 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11340 match the changes below.
11342 * text2.C (toggleInset): if there is not editable inset at cursor
11343 position, try to see if cursor is _inside_ a collapsable inset
11346 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11349 document menu has a nice checkbox
11351 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11353 * lyxlength.C (asLatexString): change PW to output as percent of
11356 * lengthcommon.C: change '%' to 't%'
11358 * lyxfunc.C (dispatch): a few comments from Martin
11360 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11364 * BufferView_pimpl.h:
11365 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11368 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * vspace.C (inPixels): fix compiler warning
11372 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11374 * lyxfunc.C (getStatus): fix status message for disabled commands.
11376 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11378 * BufferView_pimpl.C: fix crash on close buffer
11379 during selection (#227)
11381 2002-01-27 Herbert Voss <voss@lyx.org>
11383 * buffer.C: link old Figure to new graphic inset
11385 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11387 * FontLoader.C (getFontinfo): Change the latex font names in order
11388 to match the names of type1inst.
11390 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11394 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11395 (extchanged): ditto
11397 (remove_files_with_extension): ditto
11398 (remove_file): ditto
11401 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11402 document is smaller than the work area height. Do not initialize
11403 static variables to 0.
11405 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11407 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11409 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11410 LFUN_LAYOUT_PARAGRAPHS.
11412 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11413 tabular. It is possible to provide a possible cell, which will
11414 typically be the actcell from the corresponding insettabular
11416 * lyxfunc.C (getStatus): small cleanup; disable
11417 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11420 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11422 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11424 * paragraph.C (startTeXParParams):
11425 (endTeXParParams): new methods. The LaTeX code to
11426 start/end paragraph formatting
11427 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11428 empty (fixes bug #200)
11430 * vspace.C (inPixels): adapt to the change below
11431 (inPixels): [later] more cleanups (remove unused variables)
11433 * lyxlength.C (inPixels): change to use a width and a height as
11436 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11438 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11439 Replaced with \paperwidth
11441 * DepTable.C (insert): add std:: qualifier
11443 2002-01-18 Allan Rae <rae@lyx.org>
11445 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11448 * text.C (drawInset): Turned out I didn't know enough about how
11449 rebreaking worked. This fixes most of the redraw problems. I see
11450 an occasional cursor trail when a line is broken now and the cursor
11451 placement can seem out by a few pixels also after a rebreak.
11453 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * buffer.C (parseSingleLyXformat2Token): update because minipage
11456 width is now a LyXLength
11458 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11460 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11463 2002-01-17 Juergen Vigna <jug@sad.it>
11465 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11467 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11468 is set correctly and the inset is updated correctly.
11470 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11472 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11473 the beginning of the loop.
11475 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11477 * lyxrc.C: improve help for use_scalable_fonts
11479 2002-01-17 Allan Rae <rae@lyx.org>
11481 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11483 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11486 make sure to set their inset_owner to the right value (bug #171)
11488 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11491 * DepTable.C: Implement mtime checking to reduce time spent doing
11494 2002-01-16 Juergen Vigna <jug@sad.it>
11496 * tabular.C (GetAdditionalHeight): one of error fixed.
11498 * lyxrc.C (output): small fix in writing use_pspell.
11500 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11502 * sp_base.h: #include LString.h
11504 2002-01-16 Allan Rae <rae@lyx.org>
11506 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11507 Can someone check this please?
11509 * text.C (drawInset): It was possible that p.row would be removed by
11510 breakAgainOneRow upsetting a few other settings. There may be another
11511 small tweak possible by setting need_break_row = 0 when p.row has been
11512 removed but I don't know enough about the logic here.
11514 2002-01-15 Allan Rae <rae@lyx.org>
11516 * text.C (insertChar): removed conditional truism.
11518 * BufferView2.C (removeAutoInsets): More tweaks.
11519 cur_par_prev could be a stray pointer. Check for trailing empty line
11520 in case last line was cur_par and only had an error inset on it.
11522 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11524 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11527 * vc-backend.C (most methods):
11528 * exporter.C (Export):
11529 * converter.C (convert):
11531 * LyXSendto.C (SendtoApplyCB):
11532 * lyxfunc.C (dispatch):
11536 * lyx_cb.C (AutoSave):
11538 * BufferView_pimpl.C (MenuInsertLyXFile):
11539 * buffer.C (runChktex): use Buffer::filePath().
11541 * buffer.h: rename filename to filename_; rename filepath to
11542 filepath_ and make it private
11543 (filePath): new method
11545 * buffer.C (writeFile): use fileName()
11548 * lyx_main.C (init): fix starting of LyX when the binary is a
11549 link from so,ewhere else.
11551 * minibuffer.C: include <cctype> for isprint
11553 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11555 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11556 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11557 name clash with InsetCollapsable's width function.
11559 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11561 * lastfiles.C: include <iterator>
11563 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11565 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11568 * buffer.C (makeLaTeXFile): ditto.
11569 Also make loop operation more transparent.
11571 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11573 * ToolbarDefaults.C: remove trailing comma closing namespace.
11575 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11577 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11580 * trans.C (Load): comment out unused variable, allowed.
11582 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11584 * minibuffer.[Ch] (append_char): new method to recieve input from the
11585 drop-down completion browser. If a key was pressed, then recieve this
11586 char and append it to the existing string.
11587 (peek_event): modify the positioning data passed to the completion
11588 browser so that it can be placed above the minibuffer rather than below.
11589 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * LyXAction.C (init): alloe error-next for readonly documents.
11593 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11596 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * bufferlist.C (readFile): create the buffer _after_ checking that
11601 * lyxfunc.C (verboseDispatch): fix handling of arguments
11603 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11605 * lyxrc.C: use string::erase() instead of initializing to "".
11608 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11610 * BufferView_pimpl.h:
11611 * BufferView_pimpl.C:
11614 * text2.C: tell X when we have made a selection for copying
11616 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11618 * BufferView_pimpl.C (MenuInsertLyXFile):
11619 * lyxfunc.C (menuNew):
11621 (doImport): add shortcuts to directory buttons
11623 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11626 * lyxfunc.C (setStatusMessage):
11627 (getStatusMessage): new methods
11628 (getStatus):use setStatusMessage instead of setErrorMessage
11629 (dispatch): when function is disabled, set error message here
11630 [instead of in getStatus previously]
11632 * BufferView_pimpl.C (workAreaButtonRelease): update
11633 toolbar/menubar here too.
11635 2002-01-13 Allan Rae <rae@lyx.org>
11637 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11638 Now seems indestructible. Remaining task is to audit all other
11639 code affected by deleteEmptyParagraphMechanism. One small quirk
11640 left is that an empty document with an error in the preamble can
11641 be made to report an error but no error box appears. I don't know
11643 (removeAutoInsets): Improved comments.
11645 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11648 * Thesaurus.C: update for Aiksaurus 0.14
11650 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * text2.C (firstParagraph): removed member function, all uses
11653 replaces with ownerParagraph
11654 (redoParagraphs): here
11655 (updateInset): here
11656 (toggleAppendix): here
11657 * BufferView2.C (insertErrors): here
11658 (setCursorFromRow): here
11660 2002-01-13 Allan Rae <rae@lyx.org>
11662 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11663 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11664 There is still a way to segfault this although you may have to do this
11665 multiple times: Have an InsetERT with an unknown command in it.
11666 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11667 <down-arrow>, <Enter> again, View->DVI, BANG!
11669 * text2.C (setCursor):
11670 (deleteEmptyParagraphMechanism):
11671 * lyxtext.h (setCursor):
11672 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11673 Making use of the return value may help fix other bugs.
11675 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11677 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11679 * LyXView.C (updateMenubar): call MenuBar::update here
11680 (updateToolbar): but not here
11681 (showState): do not update toolbar/menubar
11683 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11684 should need to care about that.
11686 * lyxfunc.C (verboseDispatch): simplify a bit
11687 (getStatus): have a version which takes a pseudoaction, and
11688 another which requires a (kb_action,string).
11690 * LyXAction.C (retrieveActionArg): make it work also when action
11691 is not a pseudo-action.
11692 (getActionName): simplify a bit
11695 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11697 * lyxfunc.C (verboseDispatch): new families of methods with
11698 several ways to specify a command and a bool to indicate whether
11699 the command name and shortcut should be displayed in minibuffer
11700 (eventually, we could extend that to a finer bitmask like
11701 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11702 (dispatch): the pristine dispatch command which just, well,
11703 dispatchs! Note it still sets its result to minibuffer; I'm not
11706 * lyxfunc.h: remove setHintMessage
11708 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11710 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11712 * BufferView_pimpl.C (specialChar): delete new inset if we have
11713 not been able to insert it.
11715 * kbmap.C: revert to using int instead of kb_action, since all we
11716 are dealing with is pseudo-actions.
11718 * LyXAction.C (searchActionArg): change to return int instead of
11719 kb_action, since the result is a pseudoaction.
11721 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11723 * buffer.C (insertErtContents): Fix (partially) the font bug.
11725 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11727 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11728 as the other one is broken on my machine!
11730 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11733 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11735 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11737 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11738 reflect their actual use. Provide compatibility code for older lyxrc
11741 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11743 change names of popup font variables in line with the changes to lyxrc.C
11745 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * buffer.C (asciiParagraph): avoid outputing a word twice after
11750 * lyxrc.C (getDescription): document that document_path and
11751 template_path can be empty.
11753 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11755 * LaTeXFeatures.C (getMacros):
11756 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11758 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11760 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11762 (getPackages): rename feature "floats" to "float". Use an array to
11763 iterate over 'simple' features (i.e. just a \usepackage). Add
11764 handling of "amsmath" (renamed from "amsstyle").
11766 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11768 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11771 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11773 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11774 FuncStaus::FuncStatus & FuncStaus::some_method().
11776 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11778 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11779 of the func_satus stuff. Edited and massaged in various ways by
11782 * lyxfunc.C (getStatus): use FuncStatus
11784 2002-01-08 Juergen Vigna <jug@sad.it>
11786 * text.C (nextBreakPoint): use function Inset::isChar().
11788 * paragraph.C (TeXOnePar): use function
11789 Inset::forceDefaultParagraphs.
11791 * buffer.C (latexParagraphs): use function
11792 Inset::forceDefaultParagraphs.
11794 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11796 * lyx_gui.C (init): set the style of the menu popups to
11797 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11799 2002-01-07 Juergen Vigna <jug@sad.it>
11801 * text.C (setHeightOfRow): small fix
11802 (prepareToPrint): don't look at alignment if we don't have the place
11805 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11807 * box.C: New file. Move the Box methods and functions out of box.h,
11808 following Lars' suggestion.
11810 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11812 * box.h: #include "support/LOstream.h", needed for inlined function.
11815 * lyxtextclasslist.C: added some using std declarations.
11817 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11819 * box.h: make signed dimensions to allow insets wider than
11820 the screen (bug #162)
11822 * BufferView_pimpl.C: add some insetHit debug
11824 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11826 * vc-backend.C: add FIXME
11828 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * lyxfunc.C (getStatus): enable code for showing math font status
11833 2002-01-07 Juergen Vigna <jug@sad.it>
11835 * text.C (nextBreakPoint): removed debug output not needed anymore.
11837 2002-01-06 Juergen Vigna <jug@sad.it>
11839 * text.C (nextBreakPoint): fixed up this function we had this bug
11840 since ever but now hopefully we break row better.
11841 (insertChar): we have to check if an inset is the next char as it
11842 could now happen that a large inset is causing a break.
11844 2002-01-05 Juergen Vigna <jug@sad.it>
11846 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11847 if it doesn't like to be drawed.
11849 2002-01-04 Juergen Vigna <jug@sad.it>
11851 * BufferView2.C (lockInset): forgot to set a cursor.
11853 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11855 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11857 * FormMathsPanel.C:
11860 * form_maths_panel.C:
11861 * form_maths_panel.h:
11862 * form_maths_panel.fd: implemented sub- and super- buttons in math
11865 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11866 (or ^ space) to be used as in TeX (req'd by André).
11868 * lyxfunc.C: Allow ^ and _ again to be used both as
11869 super/subscript (mathed) and as themselves (in text).
11871 2002-01-03 Allan Rae <rae@lyx.org>
11873 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11874 "LyX" or the filename of the current buffer if it has one. This is a
11875 modified form of John Levon's patch.
11877 * XFormsView.C (setWindowTitle): also set icon title.
11879 * LyXView.h (setWindowTitle): signature changed.
11880 * XFormsView.h (setWindowTitle): ditto.
11882 2002-01-02 Juergen Vigna <jug@sad.it>
11884 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11886 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * screen.C (topCursorVisible): introduce a temp var for
11889 text->cursor.row(), handle the case where this row is null. (kindo
11892 * text2.C (setCursor): add a couple of asserts.
11894 * paragraph.h (inset_iterator): add -> operator
11896 * paragraph.[Ch] (autoDeleteInsets): remove member function
11898 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11899 cursor pos correctly and handle inset deletion by itself.
11900 (insertErrors): move iterator declaration out of for expression
11902 * lyxtextclass.C: add <algorithm>
11904 * Makefile.am: added the new files to sources, removed layout.C
11906 * layout.C: removed file
11908 * layout.h: remove LYX_DUMMY_LAYOUT
11910 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11914 * lyxtextclass.[Ch]:
11915 * lyxtextclasslist.[Ch]: new files
11917 * include order changes to a lot of files, also changes because of
11920 2001-12-27 Juergen Vigna <jug@sad.it>
11922 * buffer.C (asciiParagraph): more fixes.
11924 * tabular.C (ascii): make ascii export support export of only the
11925 data separated by a column-delimiter.
11926 (ascii): better support for ascii export.
11928 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11930 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11932 * tabular_funcs.C: use a "using std::getline" instead of the
11933 previous fix from Angus (necessary for cxx + lyxstring)
11935 2001-12-24 Juergen Vigna <jug@sad.it>
11937 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11939 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11940 problems. First check a minipage also if we have some ert-contents
11941 (not only on par->size(), second set the right depth of the paragraph
11942 on the relink to the root-paragraph-list!
11944 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11945 which then did not anymore update the main paragraphs on undo/redo!
11947 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11949 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11950 code. Support all font-changing funcs (even those which are not in
11951 menu currently). Support for reporting font settings in
11952 mathed (disabled until Andre provides a function on mathed's side).
11954 * func_status.h (toggle): small helper function to set toggle
11957 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11959 * tabular_funcs.C: getline -> std::getline
11961 2001-12-21 Juergen Vigna <jug@sad.it>
11963 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11964 accessed and could be 0 (I couldn't generate this but it seems
11967 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11969 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11970 * tabular_funcs.h: here and include iosfwd
11972 2001-12-20 Juergen Vigna <jug@sad.it>
11974 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11975 inside inset but undo_par was.
11977 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * Thesaurus.C: always include <config.h> in sources.
11983 * box.h: do not include <config.h> in header files
11985 * text.C (paintLastRow): remove unused variable
11987 * text.C (transformChar):
11989 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11991 * Painter.C (text):
11992 * font.C (width): rewrite to use uppercase() instead of
11995 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11997 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11999 * lyxfind.C: clean up of find failure position change
12001 2001-12-20 Juergen Vigna <jug@sad.it>
12003 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12005 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12006 (TeXRow): added to LaTeX a single tabular row.
12007 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12008 (Latex): simplified and finally good LT-h/f support.
12009 (various_functions): just small adaptions for LT-h/f support.
12011 * tabular_funcs.[hC]: added and moved here all not classfunctions
12014 2001-12-19 Juergen Vigna <jug@sad.it>
12016 * tabular.[Ch]: better support for longtabular options (not finished
12019 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12021 * text.C (paintLastRow): use the label font instead of the font of
12022 the last character to compute the size of *_BOX. This makes more
12023 sense and avoids a crash with empty paragraphs.
12024 Use Painter::rectangle to draw EMPTY_BOX.
12026 2001-12-19 Juergen Vigna <jug@sad.it>
12028 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12029 the paragraphs if the replaced paragraph is not the first one!
12030 Tried to delete not used paragraphs but does not work yet so for
12031 now it's inside #ifdef's and by default off!
12033 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12035 * MenuBackend.C: include "lyx_main.h" instead of declaring
12036 lastfiles (actually was declared as LastFiles* instead of a
12039 2001-12-17 Juergen Vigna <jug@sad.it>
12041 * tabular.C (AppendColumn): applied John's fix
12043 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12047 * BufferView_pimpl.h:
12048 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12051 * box.h: new start of class for above
12053 * lyxfunc.C: ignore space-only minibuffer dispatches.
12054 Show the command name when it doesn't exist
12056 * minibuffer.C: don't add empty lines to the history
12058 * minibuffer.C: add a space on dropdown completion
12060 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12062 * text.C: fix line above/below drawing in insets
12064 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * lyxlength.C (LyXLength): Initialize private variables.
12068 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12070 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12071 when inserting error insets.
12073 2001-12-13 Juergen Vigna <jug@sad.it>
12075 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12076 actually sometimes the before-paragraph.
12077 (setUndo): don't clear the redostack if we're not actually undoing!
12079 2001-12-06 Juergen Vigna <jug@sad.it>
12081 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12082 and fixed redoing of main paragraph, so we can use it now ;)
12084 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12086 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12088 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12091 2001-12-13 André Pönitz <poenitz@gmx.net>
12094 * undo_func.C: minor cleanup
12096 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12098 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12099 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12100 font in urw-fonts package which is marked as -urw-fontspecific and
12101 does not work (incidentally, changing the encoding in the
12102 fonts.dir of this package to -adobe-fontspecific fixes the
12105 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12106 is a crash when undoing first paragraph (Juergen, please take a
12107 look). THis does not mean the undo fix is wrong, just that it
12110 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12111 the (Paragraph*) version when needed instead of duplicating the
12114 * text.C (workWidth): use Inset::parOwner to find out where the
12115 inset has been inserted. This is a huge performance gain for large
12116 documents with lots of insets. If Inset::parOwner is not set, fall
12117 back on the brute force method
12119 * paragraph_pimpl.C (insertInset):
12120 * paragraph.C (Paragraph):
12121 (cutIntoMinibuffer): set parOwner of insets when
12122 inserting/removing them
12124 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12126 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12132 * mathed/formulabase.C:
12133 * mathed/math_cursor.[Ch]:
12134 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12137 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * lyxlength.[Ch] (operator!=): new function
12141 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12143 * text.C (workWidth): use Inset::parOwner to find out where the
12144 inset has been inserted. This is a huge performance gain for large
12145 documents with lots of insets. If Inset::parOwner is not set, fall
12146 back on the brute force method
12148 * paragraph_pimpl.C (insertInset):
12149 * paragraph.C (Paragraph):
12150 (cutIntoMinibuffer): set parOwner of insets when
12151 inserting/removing them
12153 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12155 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12157 * tabular-old.C (getTokenValue):
12158 * tabular.C (getTokenValue):
12159 (write_attribute): new versions for LyXLength
12160 (everywhere): adjust the use of widths
12162 * tabular.h: change the type of widths from string to LyXLength
12164 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12166 * paragraph.C: fixed missing line number count when exporting
12167 Environments to LaTeX file
12169 * buffer.C: added informational message for checking line numbers.
12171 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12173 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12174 paragraph, do the 'double space' part, but not the 'empty
12177 * text.C (workWidth): small optimization
12178 (getLengthMarkerHeight): use minimal size for negative lengths.
12180 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12182 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12184 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12186 2001-12-11 André Pönitz <poenitz@gmx.net>
12189 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12191 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12193 * text2.C: keep selection on a setFont()
12195 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12197 * lyx_cb.C: another bv->text misuse, from insert label
12199 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12202 * kbsequence.C: re-instate nmodifier mask
12204 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12206 * lyx_main.h: make lyxGUI private.
12208 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12210 * lyxfind.C: place the cursor correctly on failed search
12212 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12214 * text.C (getLengthMarkerHeight): for small heights, the arrows
12215 are not always on top/bottom of the text
12216 (drawLengthMarker): smaller arrows; take the left margin in
12217 account; draw also vfills.
12219 (paintLastRow): remove special code for vfill and standard spaces,
12220 since everything is handled in drawLengthMarker now.
12222 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * buffer.C (insertErtContents): try to handle font and language
12225 interaction a bit better.g
12227 * ColorHandler.C (updateColor): change the hash to cover the whole
12228 LColor enum, ws cleanup
12229 (getGCLinepars): ditto
12230 (getGCLinepars): only lookup in the linecache once.
12232 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12234 * iterators.C (operator++): Make the iterator more robust
12236 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12238 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12240 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12243 * text.C: better added space drawing
12245 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12248 * BufferView2.C: fix layout combo update on inset unlock
12250 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12252 * Makefile.am: don't compile unused files
12254 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12258 * LyXAction.C: remove old LFUN_LAYOUTNO
12260 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12262 * paragraph_pimpl.h:
12263 * paragraph_pimpl.C: isTextAt() doesn't need font param
12265 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12268 * lyxlex.C: little cleanup
12270 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12272 * BufferView_pimpl.C: fix insertAscii for insets
12274 2001-12-05 Juergen Vigna <jug@sad.it>
12276 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12277 set the right font on the "multi" paragraph paste!
12279 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12285 * lyxlength.C: remove out-commented code.
12287 * BufferView_pimpl:
12301 * vc-backend.C: change "while(" to "while ("
12303 * lyxlength.[Ch]: add zero function to check if length is zero or
12305 * lyxgluelength.C: use it
12307 2001-12-05 Allan Rae <rae@lyx.org>
12309 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12310 Works for 2.95.3, from what I understand of Garst's reports this should
12311 work for other g++ versions. We're screwed if the abs(int) definition
12312 changed between bugfix releases of gcc.
12314 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12316 * text.C: fix chapter label offset !
12318 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12321 * text.C: fix hfill at end of line, clean up
12323 2001-12-04 Juergen Vigna <jug@sad.it>
12325 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12326 that we force an update of the inset and it's owners if neccessary.
12328 2001-12-03 Juergen Vigna <jug@sad.it>
12330 * text.C (rowLast): simplified code
12332 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12334 * lyxfunc.C: fix show options on timeout
12336 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * screen.C (topCursorVisible): scroll half a page when the cursor
12339 reached top of bottom of screen
12341 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12343 * minibuffer.C: deactivate on loss of focus
12345 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * vspace.[Ch] (operator!=): add operator.
12349 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12351 * BufferView_pimpl.C: refuse to open an inset when
12352 there's a selection.
12354 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12356 * BufferView_pimpl.C: allow to click on RHS of full row insets
12358 2001-11-30 Juergen Vigna <jug@sad.it>
12360 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12361 insets for undo reasons.
12363 2001-11-28 André Pönitz <poenitz@gmx.net>
12365 * vspace.[Ch]: cosmetical changes
12367 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12377 * kbsequence.C: part re-write of old kb code
12380 * WorkArea.C: remove Lgb_bug_find_hack
12382 2001-11-30 José Matos <jamatos@fep.up.pt>
12384 * buffer.C (makeDocBookFile): add a comment to point a hack.
12385 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12386 Fixed a double write of labels.
12388 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12391 * LaTeX.h Fixed bug in LaTeX class where it would not
12392 re-run latex if no depfiles were changed, but the .dvi was removed.
12394 2001-11-28 André Pönitz <poenitz@gmx.net>
12396 * all the files from the change on 2001/11/26:
12397 use lyx::layout_type instead of LyXTextClass::size_type
12398 use lyx::textclass_type instead of LyXTextClassList::size_type
12400 2001-11-29 Juergen Vigna <jug@sad.it>
12402 * text.C: added support for paragraph::isFreeSpacing()
12404 * buffer.C: same as above
12406 * paragraph.h: inserted isFreeSpacing() function to enable
12407 FreeSpacing inside InsetERT.
12409 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12410 of the paragraph's in the cut/copy buffer to 0!
12412 * text2.C (removeRow): remove the assert as it can!
12414 * lyxtext.h: added helper function firstRow returning firstrow and
12415 made firstrow private again.
12417 * BufferView2.C (lockInset): don't relock if we're already locked!
12419 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12420 the only paragraph.
12421 (removeRow): added Assert::(firstrow)
12423 * debug.C: forgot to add INSETTEXT here.
12425 2001-11-28 Juergen Vigna <jug@sad.it>
12427 * sp_spell.C (initialize): changed error text to more general
12428 spellchecker command use (not only ispell!)
12430 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12432 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12434 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12436 * vspace.C: initialise lyxgluelength on failure
12438 2001-11-28 Allan Rae <rae@lyx.org>
12440 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12441 declaration & definition that looks like a function declaration.
12443 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12445 * BufferView2.C (copy):
12446 (copyEnvironment): do not clear the selection when doing a copy.
12448 * text.C (paintFirstRow): compilation fix
12450 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12452 * tabular.C (Latex): correct line count when writing latex.
12454 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12456 * paragraph_pimpl.h:
12457 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12460 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12464 * LColor.C: change vfillline->added_space
12466 * text.C: add markers and text for added space
12468 * vspace.C: fix comment
12470 2001-11-28 André Pönitz <poenitz@gmx.net>
12472 * paragraph.C: whitespace changes
12473 * all the other files from the change on 2001/11/26:
12474 change *::pos_type into lyx::pos_type
12476 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12478 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12479 language of the document when inserting error insets.
12481 2001-11-26 André Pönitz <poenitz@gmx.net>
12483 * BufferView_pimpl.[Ch]:
12491 * paragraph_pimpl.[Ch]:
12494 * text2.C: reduce header dependencies, introduce type for positions
12496 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12498 * <various>: change to use Alert.h
12500 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12502 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12503 when encountering an unknown token.
12504 (readLyXformat2): Show an error message if there were unknown tokens.
12506 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12509 * BufferView_pimpl.C:
12513 * text2.C: use par->isInset()
12515 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12517 * paragraph_pimpl.h:
12518 * paragraph_pimpl.C: cleanup
12520 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12522 * text2.C (removeRow):
12523 * text.C (setHeightOfRow): remove useless (and costly) call to
12526 2001-11-20 Allan Rae <rae@lyx.org>
12528 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12529 Now need Inset*::checkInsertChar() to return true for appropriate
12530 cases so that the characters in the minibuffer will actually be
12533 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * text.C: change the order of the includes.
12536 (workWidth): initialize it at once.
12537 (workWidth): make maxw unsigned
12538 (setHeightOfRow): remove unused variable (inset)
12539 (selectSelectedWord): remove unused variable (inset)
12540 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12542 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12545 server is not running.
12547 (closeConnection): add debug info when server is disabled.
12549 * ColorHandler.C (getGCForeground): send debug message to GUI
12552 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12554 * kbmap.C (bind): modify because return conventions of
12555 kb_sequence::parse have changed.
12557 * kbsequence.C (parse): only ignore spaces and not any stupid
12558 control character. This avoids tests like s[i] <= ' ', which are
12559 guaranteed to fail with 8bit characters and signed chars.
12560 Change return code to string::npos when there have been no error
12561 (0 was a bad idea when error is at first character)
12563 2001-11-14 José Matos <jamatos@fep.up.pt>
12566 * buffer.C (simpleDocBookOnePar): removed unused argument.
12568 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12570 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12571 insets which are part of a word. Paragraph::isLetter takes care of
12572 that now. Use Paragraph::isInset to identify insets.
12573 (selectSelectedWord): do not test for hyphenation break.
12575 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12576 that protected spaces are considered as spaces.
12578 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12581 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12584 * lyxserver.C: fix it. and small cleanup.
12586 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12588 * BufferView_pimpl.C: use inline helpers
12591 * LaTeXFeatures.C: fix typos
12594 * Spacing.C: move spacing_string into class
12596 * ToolbarDefaults.C: move stuff into namespace anon
12598 * layout.h: update enum
12600 * lyxfunc.C: use better debug
12602 * minibuffer.h: fix typo
12606 * WorkArea.C: add and use Debug::WORKAREA
12610 * text2.C: code re-organisation, inline helpers
12612 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12614 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12615 std::vector.empty().
12617 2001-11-09 Allan Rae <rae@lyx.org>
12619 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12620 '\n's after tables. Tabular and ERT inset work now makes this no
12623 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12626 * minibuffer.C: fix crash, improve drop-down completion
12628 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12631 * lyxserver.C: invalidate fd's when doing endPipe()
12633 2001-11-08 José Matos <jamatos@fep.up.pt>
12635 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12636 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12639 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12641 2001-11-07 José Matos <jamatos@fep.up.pt>
12644 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12647 * buffer.C (sgmlOpenTag):
12648 * buffer.C (sgmlCloseTag): removed debug info.
12650 * buffer.h (sgmlOpenTag):
12651 * buffer.h (sgmlCloseTag): made public.
12653 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12655 * buffer.C (saveParamsAsDefaults):
12656 * lyx_cb.C (MenuLayoutSave): remove
12658 * LyXAction.C (init):
12660 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12662 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * buffer.C (setPaperStuff): removed from here...
12666 * bufferparams.C (setPaperStuff): ... and moved there.
12668 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12672 * XFormsView.C: add support for drop-down completion
12674 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12676 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12679 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12684 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12686 * lyx_main.C: change ref to known bugs
12688 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12690 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12691 to work around older babel problems.
12693 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12695 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12697 2001-10-24 Juergen Vigna <jug@sad.it>
12699 * tabular-old.C (ReadOld): below variable changes reflected.
12701 * tabular.[Ch]: added ltType struct for longtable header/footer
12702 defines and changed all instances where they are used. Added
12703 future support for double top/bottom rows.
12705 2001-10-24 José Matos <jamatos@fep.up.pt>
12707 * buffer.h (docbookHandleCaption):
12708 * buffer.C (docbookHandleCaption): removed unused function.
12709 (makeDocBookFile): moved docbook supported version to v4.1.
12711 2001-10-24 José Matos <jamatos@fep.up.pt>
12714 * tabular.C (docbookRow): new function to export docbook code of a row.
12715 (DocBook): now honors the longtable flags.
12717 2001-10-23 José Matos <jamatos@fep.up.pt>
12720 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12721 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12723 * buffer.C (makeLinuxDocFile):
12724 (makeDocBookFile): reworked the preamble, more clean, and with
12725 support for lyx defined entities. Changed the document declaration
12726 to be more XML friendly.
12728 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12729 if we need to output XML that should be done with a filter.
12731 2001-10-22 Juergen Vigna <jug@sad.it>
12733 * sp_pspell.h (class PSpell): add alive function needed in the
12734 controller to see if the spellchecker could be started.
12736 2001-10-22 Juergen Vigna <jug@sad.it>
12738 * buffer.C (insertStringAsLines): modify the font for inserting
12739 chars in certain conditions by calling checkInsertChar(font).
12741 2001-10-19 Juergen Vigna <jug@sad.it>
12743 * text.C (workWidth): use getRow instead of wrong algorithm.
12744 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12746 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12751 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12753 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12755 * text.C (workWidth): do not search for the exact row when
12756 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12757 optimization for big documents.
12759 2001-10-18 Juergen Vigna <jug@sad.it>
12761 * text.C (workWidth): new function with added Inset * parameter.
12763 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12767 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12768 change return type of getColumnNearX.
12771 * text.C (changeRegionCase): use uppercase/lowercase instead of
12774 (rightMargin): simplify code by factoring out the uses of
12779 (appendParagraph): use Paragraph::size_type
12781 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * vspace.C (asLatexString): add a missing break
12785 2001-10-15 Herbert Voss <voss@perce.de>
12787 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12789 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12791 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12794 2001-10-10 André Pönitz <poenitz@gmx.net>
12796 * lyxfunc.C: removed greek_kb_flag.
12798 2001-10-10 Herbert Voss <voss@perce.de>
12800 * lyx_main.C: delete global string help_lyxdir.
12802 2001-10-09 Herbert Voss <voss@perce.de>
12804 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12806 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12808 * lyx_main.C: added global string help_lyxdir.
12810 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12812 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12814 * lyxrc.C (set_font_norm_type): support iso8859-4
12816 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12818 * LaTeX.C (deplog): add another regex for MikTeX
12820 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12822 * lyxrc.C (set_font_norm_type): support iso8859-3
12824 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12828 * LaTeXFeatures.C: remove special case of french and index
12830 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12831 before \begin{document}). This solves several incompatibilities.
12833 2001-10-03 Garst Reese <reese@isn.net>
12835 * lyx_cb.C: change CheckTex error msg.
12837 2001-10-03 José Matos <jamatos@fep.up.pt>
12839 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12841 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12843 * .cvsignore: update
12845 * lyx_main.C (commandLineVersionInfo): use new style version info.
12847 * buffer.C (writeFile):
12849 (makeLinuxDocFile):
12850 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12852 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12854 * version.h: update to use stuff in version.C
12856 * version.C.in: new file. Contains version information determined
12857 at compile time. This is a merging of version.h and
12860 2001-10-03 Juergen Vigna <jug@sad.it>
12862 * BufferView_pimpl.C (update): don't change "dirty" status in
12865 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12867 * WorkArea.C (c-tor): re-position version string slightly.
12869 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12871 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12872 revert to previous code.
12874 WorkArea.[Ch]: (show, destroySplash): methods removed.
12876 WorkArea.C: rework code so that it's an amalgam of the codes before and
12877 after the splash screen was moved to WorkArea.
12879 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12882 * vspace.C (inPixels):
12885 * buffer.C (insertStringAsLines):
12886 (asciiParagraph): fix types to be large enough
12888 * lyxlex_pimpl.h: change member status from short to int
12890 * layout.h: fix type of endlabeltype
12893 * kbsequence.C (parse): change return type to string::size_type
12895 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12898 * Bullet.C (bulletSize):
12899 (bulletEntry): do not use short ints as parameters
12901 * BufferView2.C (insertLyXFile): change a char to an int.
12903 * WorkArea.C (WorkArea): remove unneeded floats in computation
12905 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12907 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12909 * paragraph.C (asString): Do not ignore newline/hfill chars when
12910 copying to the clipboard.
12912 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12914 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12915 after a multi-line inset.
12917 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12919 * paragraph.C (validate): Set NeedLyXFootnoteCode
12921 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12923 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12924 and decrease-error to decrease.
12926 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12928 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12929 it more readable (should be equivalent)
12931 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12933 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12935 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12937 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12938 of a cursor (row, etc.) after a character has been deleted
12939 (deleteEmptyParagraphMechanism): call the method above on _all_
12940 cursors held by the LyXText when a double space has been
12943 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12945 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12947 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12949 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12950 background. Use greyOut() and the new show() methods to toggle between
12951 the foreground and background. Add code to remove the splash after
12952 its initial showing.
12954 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12955 (create_forms): no longer call Dialogs::showSplash.
12957 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * .cvsignore: add version_info.h
12961 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12963 * version_info.h.in: new file
12965 * Makefile.am: add version_info.h.in
12967 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12968 version_info.h instead of VERSION_INFO
12970 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12972 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12973 The ERT inset now returns string().
12975 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12977 * lyxtext.h, text.C (selectNextWord): renamed as
12978 selectNextWordToSpellcheck.
12980 * text.C (selectNextWordToSpellcheck): Modified to not select
12981 words inside an ERT inset.
12983 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * lyx_cb.C (MenuLayoutSave): change a bit the question
12987 * sp_base.h: include <sys/types.h>
12989 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12991 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12993 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12995 * several files: fix typos in user-visible strings
12997 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12999 * text2.C (pasteSelection): do not set the selection, since it
13000 will be cleared later. Actually, the intent was to fix the way the
13001 selection was set, but I figured rmoving the code was just as good.
13003 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13005 * FontLoader.C (available): Check if font is available without
13008 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13010 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13012 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13014 * lyxrc.[Ch]: added display_graphics variable and associated code.
13016 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13018 * bufferparams.C (hasClassDefaults): new method. Returns true if
13019 the buffer parameters correspond to known class defaults
13021 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13023 * XFormsView.C (show): set minimum size to the main window.
13025 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * text2.C (copySelection):
13029 * lyxfind.C (LyXReplace):
13030 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13031 LyXText::selectionAsString.
13033 * paragraph.C (asString): add "label" argument to the second form
13035 * text2.C (selectionAsString): add "label" argument and pass it to
13036 Paragraph::asString.
13038 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13040 * lyx_main.C (commandLineHelp): remove version information
13042 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13044 * lyx_main.C: add -version commandline option
13046 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * paragraph.h: make the optional constructor arg required instead.
13049 some modifications to other files because of this.
13051 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13053 * lyxserver.C (C_LyXComm_callback): make it static
13055 * lyx_main.C (error_handler): make it static
13057 * lyx_gui.C (LyX_XErrHandler): make it static
13059 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13061 * WorkArea.C: make the extern "C" methods static.
13063 * Makefile.am (lyx_LDADD): simplify
13065 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13067 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13068 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13070 * LyXAction.C (init):
13071 * lyxfunc.C (dispatch): associated code removal.
13073 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13075 * lyxfont.h (isSymbolFont): shut off warning
13077 * text.C (setHeightOfRow):
13078 (getVisibleRow): fix crash with empty paragraphs which have a
13081 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13083 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13086 2001-09-04 José Matos <jamatos@fep.up.pt>
13089 * tabular.C (docbook): rename docBook method to docbook.
13091 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13093 * Makefile.am: add dependencies to main.o.
13095 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13097 * FontLoader.C (available): Return false if !lyxrc.use_gui
13099 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13101 * FontInfo.C (query):
13102 * converter.C (view):
13103 * importer.C (Import):
13104 * exporter.C (Export): Can not -> cannot.
13106 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13108 * BufferView_pimpl.C: allow to create index inset even if
13111 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13113 * buffer.C (getLists): replace boost::tie code with an explicit pair
13114 as boost::tie can break some compilers.
13116 * iterators.h: Added a std:: declaration to the return type of
13119 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13121 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13124 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13126 * iterators.[Ch]: New files. Provide paragraph iterators.
13128 * buffer.C (changeLanguage): Use paragraph iterators.
13129 (isMultiLingual): ditto
13131 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13133 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13135 * FontLoader.C: Support for cmr font.
13137 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13139 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13140 (available): New method.
13142 * FontInfo.C (getFontname): Use scalable fonts even when
13143 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13146 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13148 * converter.C (Formats::view): reverted! Incorrect fix.
13150 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13152 * converter.C (Formats::view): only output the -paper option
13153 if the dvi viewer is xdvi, thereby fixing bug #233429.
13155 2001-08-23 Herbert Voss <voss@perce>
13157 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13159 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13161 * Spacing.h (Spacing): Set space to Default on in the default
13164 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * vc-backend.h (RCS::versionString): add RCS to version
13167 (CVS::versionString): add CVS to version
13169 * vc-backend.C (scanMaster): do not add CVS to version.
13170 (scanMaster): do not add RCS to version
13172 * lyxvc.C (versionString): new method
13174 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13176 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * Spacing.C (set): initialize fval
13180 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13182 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13185 2001-08-16 Juergen Vigna <jug@sad.it>
13187 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13189 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13191 * BufferView_pimpl.C:
13194 * text2.C: setParagraph takes linespacing now
13196 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13198 * LyxAction.C: add internal LFUN_CITATION_INSERT
13200 * LyXView.C: actually apply fix
13202 * bufferlist.C: fix open non-existent file
13204 * lyxfind.C: fix indentation
13206 * lyxfunc.C: remove unneeded assert, fix typo
13208 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13210 * MenuBackend.C: use "Floatname List"
13212 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13214 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13215 when converting LaTeX layout to insetERT.
13216 Generate a non-collapsed float when reading old float
13218 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13220 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13223 2001-08-13 Juergen Vigna <jug@sad.it>
13225 * text.C (fill): return 0 instead of 20 as this seems to be the more
13228 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13230 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13233 2001-08-13 Juergen Vigna <jug@sad.it>
13235 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13237 (SearchBackward): comment out the unlocking of the inset_owner this
13238 should not be needed!
13240 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13242 * Many files: Remove inherit_language, and add latex_language
13244 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13245 collapsible insets.
13247 2001-08-10 Juergen Vigna <jug@sad.it>
13249 * text.C (prepareToPrint): fixed hfill-width in draw!
13251 * BufferView2.C (selectLastWord): save the selection cursor as this
13252 now is cleared in the function LyXText::clearSelection!
13254 2001-08-08 Juergen Vigna <jug@sad.it>
13256 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13257 BACKSPACE type functions.
13259 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13260 is only cutted from the document but not put in the cut-buffer, where
13261 still the old stuff should be.
13263 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13265 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13267 * tabular.C (SetWidthOfCell): fixed special case where the width
13269 (LeftLine): handle '|' in align_special.
13271 (LeftAlreadyDrawed): ditto
13272 (SetWidthOfCell): ditto
13274 2001-08-07 Juergen Vigna <jug@sad.it>
13276 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13278 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13281 * lyxlex.[hC]: ditto
13283 2001-08-06 Juergen Vigna <jug@sad.it>
13285 * text.C (getVisibleRow): fix up row clearing a bit.
13287 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * minibuffer.C: make sure the X server sees the changes in the input.
13291 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * paragraph.C (getFont): split into...
13294 (getLabelFont): this
13295 (getLayoutFont): and this
13296 * paragraph_pimpl.C (realizeFont): calling this
13298 * text2.C (getFont): split into...
13299 (getLayoutFont): this
13300 (getLabelFont): and this
13301 (realizeFont): all three calling this
13303 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13306 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13308 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13310 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13312 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13313 layouts from the Quote inset insertion.
13315 2001-08-03 Juergen Vigna <jug@sad.it>
13317 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13319 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13320 only if status not is already CHANGED_IN_DRAW (second level).
13322 * text.C (draw): don't set the need_break_row when inside an
13325 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * buffer.C (parseSingleLyXformat2Token): handle more latex
13330 * bufferview_funcs.[hC]: change function names to
13331 begin with small char, adjust other files.
13333 2001-08-02 André Pönitz <poenitz@gmx.net>
13336 BufferView_pimpl.C: remove broken special code for math-greek
13338 2001-08-02 Juergen Vigna <jug@sad.it>
13340 * BufferView_pimpl.C (update): redone this function so that we
13341 update the text again if there was a CHANGE_IN_DRAW.
13343 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13344 (drawFromTo): added a new internal bool which is used by draw() and
13346 (general): some cursor drawing problems fixed.
13348 2001-08-01 Juergen Vigna <jug@sad.it>
13350 * lyxfind.C (LyXFind): fixed
13351 (SearchForward): ditto
13352 (SearchBackward): ditto
13354 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13355 spurius drawing of the cursor in the main area.
13357 * text2.C (status): small fix which could lead to a segfault!
13358 (clearSelection): remove unneeded BufferView param.
13360 2001-08-01 André Pönitz <poenitz@gmx.net>
13362 * lyxfunc.C: small change due to changed mathed interface
13364 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13366 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13368 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13370 * lyxfunc.c: fail gracefully if file doesn't exist
13375 * BufferView_pimpl.C: IsDirWriteable() proto changed
13377 * LyXView.C: fix updateWindowTitle() to store the last title
13379 2001-07-31 Juergen Vigna <jug@sad.it>
13381 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13382 the font (wrong since using of Paragraph::highestFontInRange).
13384 * paragraph.C (highestFontInRange): added a default_size parameter.
13386 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13387 (setHeightOfRow): reformat
13389 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * converter.[hC] + affected files: move to (inital-char)lowercase
13394 * ParagraphParameters.C (ParagraphParameters): remove commented code
13396 * PainterBase.[Ch]: remove commented code
13398 * LaTeXFeatures.h: add "bool floats" for float.sty
13400 * LaTeXFeatures.C (LaTeXFeatures): init floats
13401 (require): handle float
13402 (getPackages): do it with floats
13404 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * BufferView_pimpl.C (Dispatch): improve handling of
13407 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13409 * commandtags.h: #include lyxfont.h here temporarily to avoid
13412 * bufferlist.h: include LString.h here.
13414 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13416 * text2.C (getStringToIndex): new method.
13418 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13420 * *: Reduced header file dependencies all over.
13422 2001-07-30 Baruch Even <baruch@lyx.org>
13424 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13426 2001-07-29 Baruch Even <baruch@lyx.org>
13428 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13430 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13432 * ParameterStruct.h (endif): add a default constructor to make
13433 sure that all variables is initialized.
13435 * ParagraphParameters.C (ParagraphParameters): adjust
13437 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13440 index; also, check that there is something to index, and that it
13441 does not span over several paragraphs.
13442 (doubleClick): use WHOLE_WORD_STRICT for double click.
13444 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13446 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13449 2001-07-26 Baruch Even <baruch@lyx.org>
13451 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13452 an InsetFig figure, backwards compatible reading of old figure code.
13454 2001-07-27 Juergen Vigna <jug@sad.it>
13456 * text2.C: font.realize function adaption.
13458 * text.C (draw): add a warnings lyxerr text if needed.
13460 * layout.C: font.realize function adaption.
13462 * language.C: add inherit_language and implement it's handlings
13464 * bufferview_funcs.C (StyleReset): remove language parameter from
13465 font creation (should be language_inherit now).
13467 * bufferparams.C (writeFile): handle ignore_language.
13469 * paragraph.C (getFontSettings): the language has to be resolved
13470 otherwise we have problems in LyXFont!
13472 * lyxfont.C (lyxWriteChanges): added document_language parameter
13473 (update): removed unneeded language parameter
13475 * paragraph.C (validate): fixed wrong output of color-package when
13476 using interface colors for certain fonts in certain environments,
13477 which should not seen as that on the final output.
13479 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13481 * BufferView_pimpl.C:
13486 * LyXAction.C: add thesaurus support
13489 * lyxfind.C: add "once" parameter, for thesaurus, to not
13490 move to the next match
13492 2001-07-26 Juergen Vigna <jug@sad.it>
13494 * lyxfont.C (realize): honor ignore_language too!
13497 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13499 * text.C (draw): one place more for ignore_language to not draw
13502 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13504 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13506 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13509 the minipage conversion problem.
13511 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13516 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * BufferView.h: don't forward declare WorkArea
13520 * BufferView.C: don't include WorkArea.h
13522 2001-07-25 André Pönitz <poenitz@gmx.net>
13526 * lyxfunc.C: new LFUN 'math-space'
13528 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13530 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * text2.C (toggleInset): call open/close
13534 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13536 * lyxfunc.C (dispatch): add debug for the disabled case
13538 * font.C (buttonText): make similar to rectText
13540 * buffer.C (readInset): comment out parsing of insetlist and
13543 * PainterBase.C (rectText): small correction
13545 * BufferView_pimpl.C: comment out insettheorem and insetlist
13546 * LyXAction.C: ditto
13547 * commandtags.h: ditto
13549 2001-07-24 Juergen Vigna <jug@sad.it>
13551 * text.C (draw): honor the ignore_language.
13553 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13555 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13560 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13562 * lyxtext.h: remove unused (and unimplemented) methods
13564 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13566 * text.C (getVisibleRow): honor background color
13569 * Painter.h: remove default color argument for fillRectangle
13571 * text.C (backgroundColor): new method
13573 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13575 * text.C (getVisibleRow): adjust
13577 * font.[Ch] (rectText): new method, metrics
13578 (buttonText): new method, metrics
13580 * PainterBase.[hC]: make rectText and buttonText always draw and take
13583 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13585 * ToolbarDefaults.C (read):
13586 * MenuBackend.C (read): allow escaping in all strings
13588 * BufferView_pimpl.C (insertAndEditInset): new method.
13589 (Dispatch): use insertAndEditInset whenever appropriate.
13591 * BufferView_pimpl.C (insertNote): removed
13593 * BufferView_pimpl.C (smartQuote): new method, moved from
13594 BufferView; if an insetquote cannot be inserted, insert a '"'
13597 * BufferView2.C: remove insertCorrectQuote();
13599 * lyxfunc.C (getStatus): Add support for all remaingin
13600 inset-insert lfuns.
13602 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13604 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13605 command (necessary to pass " as parameter of self-insert.
13607 * text.C (selectWordWhenUnderCursor):
13608 (selectWord): add word_location parameter
13609 (selectWordWhenUnderCursor): same + remove special code for word
13611 (selectNextWord): use kind() to guess type of insetspecialchar,
13614 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13615 (insertErtContents): create ert insets as collapsed.
13616 (readInset): better compatibility code for Info inset.
13618 2001-07-20 Juergen Vigna <jug@sad.it>
13620 * lyxfunc.C (dispatch): use always LyXFind now!
13622 * text2.C (init): add a reinit flag so that the LyXText can be
13623 reinited instead of deleted and reallocated (used in InsetText).
13625 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13631 2001-07-18 Juergen Vigna <jug@sad.it>
13633 * text.C (selectNextWord): handle insets inside inset by calling
13634 always the bv->text functions so that we can go up the_locking_inset!
13636 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13637 in strange locations when inside an inset!
13639 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13640 handling to include insets.
13642 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13644 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13646 * LyXAction.C (init):
13648 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13649 LIGATURE_BREAK, since the name is so stupid.
13651 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13653 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13656 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13658 * sp_form.[Ch]: remove.
13660 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13662 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13665 * src/buffer.C (readInset): ditto.
13667 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13669 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13670 menuSeparator(), endOfSentenceDot(), ldots() and
13671 hyphenationPoint(), which are therefore removed.
13672 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13674 * LyXAction.C (init):
13675 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13677 * paragraph.C (getWord): removed.
13679 * BufferView_pimpl.C (Dispatch): use last word or selection for
13680 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13682 * lyx_main.C (queryUserLyXDir): do not ask before creating
13683 user_dir, except if it has been named explicitely.
13685 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13687 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13688 a document of zero size.
13690 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13692 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13693 approriately in the c-tor and in require().
13694 (getPackages): output the appropriate LaTeX for natbib support.
13696 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13697 variables "use_natbib" and "use_numerical_citations" when reading the
13699 (readInset): read the various natbib cite commands.
13700 (validate): white-space change.
13702 * bufferparams.[Ch]: new variables "bool use_natbib" and
13703 "bool use_numerical_citations".
13704 (writeFile): output them in the LyX file.
13706 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13708 * lyxfunc.C (getStatus): add support for all the inset insertion
13711 * text2.C (insertInset):
13712 * paragraph.C (insetAllowed):
13713 * BufferView_pimpl.C (insertInset): update to take in account the
13714 renaming of insertInsetAllowed
13716 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13718 * text2.C (getInset): new method. returns inset at cursor position.
13720 * BufferView_pimpl.C (Dispatch): changes because of this.
13722 * LyXAction.C (init): rename open-stuff to inset-toggle.
13724 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13726 * text2.C (toggleInset): renamed from openStuff; use
13729 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13731 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13733 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13735 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13737 * buffer.C (readLyXformat2): Add filename to the error dialog
13739 2001-07-18 Juergen Vigna <jug@sad.it>
13741 * tabular.C (GetCellNumber): put an assert here instead of the check!
13743 2001-07-17 Juergen Vigna <jug@sad.it>
13745 * BufferView_pimpl.C (toggleSelection): adapted too.
13747 * text.C (selectNextWord): adapted for use with insets.
13748 (selectSelectedWord): ditto
13750 2001-07-17 Juergen Vigna <jug@sad.it>
13752 * sp_spell.C (PSpell): fix initialitation order.
13754 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13756 * paragraph.C: spacing
13758 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13760 * sp_spell.C: repair language selection for pspell
13762 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * lyxfunc.h: change more methods to begin with lower char.
13766 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13768 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13769 for unknown layouts.
13771 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13773 * buffer.C (readLyXformat2): Generate an error dialog if there are
13776 2001-07-16 Juergen Vigna <jug@sad.it>
13778 * sp_spell.C: always compile ISpell part.
13780 * lyxrc.C: added use_pspell entry and it's handling.
13782 2001-07-13 Juergen Vigna <jug@sad.it>
13784 * sp_spell.C: removed double includes.
13786 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13788 Consistent use of Lsstream.h:
13789 * Lsstream.h: added using std::stringstream for consistencies sake.
13791 * buffer.C: removed using std::stringstream
13793 * lyxfont.C (stateText):
13794 * paragraph.C (asString):
13795 * text.C (selectNextWord, selectSelectedWord):
13796 * text2.C (setCounter):
13797 * vspace.C (asString, asLatexString):
13798 std::ostringstream -> ostringstream.
13800 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13802 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13803 * commandtags.h: add LFUN_HELP_ABOUTLYX
13804 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13806 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13808 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13810 * lyx_gui_misc.C: remove spellchecker
13811 * lyxfunc.C: showSpellchecker
13813 * sp_ispell.h: added
13814 * sp_pspell.h: added
13815 * sp_spell.C: added
13816 * sp_form.[Ch]: removed
13817 * spellchecker.[Ch]: removed
13819 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13821 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13823 (simpleTeXSpecialChars): Simply print the input character without
13824 any special translation if pass_thru is set.
13826 * layout.h: Added bool pass_thru to layout class for being able to
13827 implement pass through of a paragraph for Literate Programming.
13829 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13830 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13831 * layout.C (Read): add "passthru" to list of layout tags and add
13832 code to set the pass_thru boolean when it is read.
13834 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13836 * trans_decl.h: remove allowed from KmodInfo
13838 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13839 remove allowed code
13842 * paragraph_pimpl.C (erase): use boost::prior
13844 * Painter.C (text): use data() instead of c_str() when length is
13846 * WorkArea.C (putClipboard): ditto
13847 * font.h (width): ditto
13849 * BufferView2.C: use it-> instead of (*it). for iterators
13851 * paragraph_pimpl.C: ditto
13852 * paragraph.C: ditto
13853 * minibuffer.C: ditto
13854 * language.C: ditto
13856 * encoding.C: ditto
13857 * counters.C: ditto
13858 * converter.C: ditto
13860 * Variables.C: ditto
13861 * TextCache.C: ditto
13862 * MenuBackend.C: ditto
13863 * LyXAction.C: ditto
13865 * FloatList.C: ditto
13866 * DepTable.C: ditto
13867 * ColorHandler.C (LyXColorHandler): ditto
13869 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13873 * text2.C (openStuff): reintroduce this method (which had been
13874 nuked in NEW_INSETS frenzy).
13876 * lyxfunc.C (Dispatch): when an action has not been handled, use
13877 its name in the error message, not its number.
13879 * paragraph.C (inInset): change method name to begin with lowercase.
13882 * text2.C: updates because of this.
13884 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * ToolbarDefaults.C (add): add spaces in error message
13888 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13891 (readLyXformat2): rename return_par to first_par, use lyxlex's
13892 pushToken and remove the manual push handling.
13893 (parseSingleLyXformat2Token): add another ert comp. variable:
13894 in_tabular, rename return_par to first_par. handle newlines better
13896 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13898 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13900 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * text2.C (getParFromID): removed
13904 * buffer.C (getParFromID): new method moved form lyxtext.
13905 * BufferView2.C (insertErrors): adjust
13906 (setCursorFromRow): adjust
13907 * BufferView_pimpl.C (restorePosition): adjust
13908 * lyxfunc.C (Dispatch): adjust
13909 * undo_funcs.C (textUndo): adjust
13911 (textHandleUndo): adjust
13912 (textHandleUndo): adjust
13914 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13916 * buffer.C: up' the LYX_FORMAT
13918 * lyxfont.h: turn NO_LATEX on as default
13920 * buffer.C (insertErtContents): new methods of tex style compability.
13921 (parseSingleLyXformat2Token): use it several places.
13922 * tabular.C (OldFormatRead): and here
13924 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13926 * text2.C: remove some commented code.
13929 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13930 * trans.C: changes because of the above.
13932 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13934 * text2.C (setCounter): Fix counters bug with bibliography layout.
13936 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13939 own member functions
13940 (simpleTeXSpecialChars): ditto
13942 2001-07-06 Juergen Vigna <jug@sad.it>
13944 * a lot of files: changed the access to LyXText::status and the
13945 call of undo-functions.
13947 * undo.[Ch]: added a inset_id to the undo informations.
13949 * undo_funcs.[Ch]: added and moved here all undo functions.
13951 * lyxtext.h: give the status enum a weight, made status_ a private
13952 variable and made accessor functions for it, removed the whole bunch
13953 of undo-functions as they are now in their own file, make some
13954 functions publically available. Added function ownerParagraph with
13957 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13958 made InInset() a const function, added getParFromID() function.
13960 * buffer.[Ch]: added const version for inset_iterator functions,
13961 added getInsetFromID() function.
13963 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13964 changed undo functions for new version.
13966 2001-07-05 Juergen Vigna <jug@sad.it>
13968 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13969 unknow mechanism does not call the proper constructor but only this
13970 one also if I request the other!?
13972 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13974 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13976 * text2.C (LyXText): use initialization lists.
13978 * lyxtext.h (Selection): initialize set_ and mark_
13979 (init): remove method
13981 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13983 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13985 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13987 * screen.[Ch]: change method names to begin with lowercase
13989 * BufferView_pimpl.C (updateScrollbar): simplify further and
13990 hopefully make it a bit faster.
13992 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13994 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13995 calling directly xforms functions.
13997 * Painter.C (Painter):
13998 * lyx_cb.C (MenuWrite):
13999 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14002 * lyx_gui.C: remove bogus guiruntime extern declaration.
14004 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14008 (redoDrawingOfParagraph): ditto
14009 (redoParagraphs): ditto
14010 (cutSelection): don't create a object for CutAndPaste use the
14011 static method directly
14012 (pasteSelection): ditto
14014 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14017 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14019 * modifications to some other files because of this.
14021 * Makefile.am (lyx_SOURCES): add XFormsView
14023 * XFormsView.[Ch]: new files
14025 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14026 the main window. Move the gui dependent stuff to XFormsView
14028 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * tabular.C (GetCellInset): update cur_cell also in the row/col
14031 version of this function.
14033 * lyxfunc.C: no need to include figure_form.h here.
14039 * lyxvc.C: no need to include forms.h here.
14041 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14043 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14045 * lyxfunc.C (Dispatch):
14047 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14048 constructor argument.
14050 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * paragraph.C (Paragraph): dont't clear, and just set layout.
14053 (makeSameLayout): use params's copy contructor.
14055 * ParagraphParameters.[Ch] (makeSame): delete method
14057 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14059 * Variables.[Ch]: fix indentation, rename set to isSet
14061 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * lyxfunc.C (Dispatch): fix typo
14065 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14067 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14070 * bufferlist.C: include assert.h for emergencyWrite().
14072 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14074 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14075 give up at last (bug #425202) !
14077 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14083 * spellchecker.C: strip spellchecker options and bring up
14084 preferences tab instead
14086 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14089 the istringstream constructor
14091 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * paragraph.C (getLayout): fix return value
14095 * paragraph.h: do not declare getLayout as inline.
14097 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14099 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * lyxcursor.h (operator<): new func
14102 (operator>): new func
14103 (operator>=): new func
14104 (operator<=): new func
14106 * text.C (changeCase): use selection.start and selection.end
14107 (changeRegionCase): require from to be <= to. Require par to be a
14110 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14112 2001-06-27 Juergen Vigna <jug@sad.it>
14114 * text.C (cursorLeftOneWord): changed to return the cursor and added
14115 overlay with BufferView * parameter which calls this one.
14117 (selectWord): use new getWord function.
14118 (changeCase): renamed from changeWordCase as and extended to work
14119 also on selections.
14121 * lyxtext.h: added enum word_location
14123 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14124 changeCase as this operates now also on selections.
14126 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14128 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14130 * many files: send debug output to Debug::INFO instead of
14133 * converter.C (View):
14135 (Move): send debug output to Debug::FILES instead of console.
14137 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14139 * lyxfunc.C (getStatus): use func_status
14141 * func_status.h: new header, describing the results of
14142 LyXFunc::getStatus;
14144 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14147 2001-06-25 The LyX Project <jug@sad.it>
14149 * buffer.C (sgmlOpenTag):
14151 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14153 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14155 * text2.C: remove some dead code
14157 * tabular.C (GetCellInset): store the last cell checked (gotten)
14159 * tabular.h: add the helper for the speedup
14161 * lyxtext.h: remove some dead code
14163 2001-06-26 The LyX Project <Asger>
14165 * paragraph.C: Change export to LaTeX of alignment to
14166 \begin{center} and family for better roundtrip work with reLyX.
14168 * Tune the math drawing a bit.
14170 2001-06-25 The LyX Project <Asger>
14172 * LColor.C (LColor): New color for math background. New color
14175 2001-06-25 The LyX Project <jug@sad.it>
14177 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14179 * lyxfunc.C (Open):
14180 * bufferlist.C (newFile): do not restrict to files ending with
14183 * BufferView_pimpl.C (MenuInsertLyXFile):
14185 2001-06-24 The LyX Project <jug@sad.it>
14187 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14190 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14192 * lyxtext.h: rename most methods to begin with a small char.
14193 Lots of changes because of this.
14195 * paragraph.C (Paragraph): do not call fitToSize
14196 (erase): call Pimpl::erase
14197 (insertChar): call Pimpl::insertChar
14198 (insertInset): call Pipl::insertInset
14199 (breakParagraph): do not call fitToSize
14200 (breakParagraphConservative): do not call fitToSize
14201 (fitToSize): remove method
14203 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14205 2001-06-24 The LyX Project <Asger>
14207 * Fix Qt compilation^2
14209 2001-06-24 The LyX Project <jug@sad.it>
14211 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14212 depthHook(getDepth()-1).
14215 * ParagraphParameters.h:
14216 * ParameterStruct.h: change type of depth to unsigned int ==
14217 depth_type. Many adaptations to other files before of that.
14219 2001-06-24 The LyX Project <Asger>
14221 * Fix Qt compilation.
14223 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14225 * paragraph.h: renamed several methods to begin with small letter.
14226 several changes to many parts of the code because of this.
14228 2001-06-23 The LyX Project <jug@sad.it>
14230 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14231 rewritten to discard all double spaces when KeepEmpty is off
14232 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14233 to only handle newlines but not fiddle with spaces and friends.
14235 * lyxfunc.C (MenuNew): when doing 'new from template', use
14236 template_path as default directory
14238 2001-06-23 The LyX Project <Asger>
14240 * Clean-up of header file includes all over
14241 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14243 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * paragraph.h: renamed from lyxparagraph.h
14247 2001-06-23 Asger <lyx@violet.home.sad.it>
14249 * Buffer.h: Removed Buffer::resize
14250 * BufferList.h: Removed BufferList::resize
14251 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14252 the document lazily when we change the width, or the font settings.
14254 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14256 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14258 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14260 * buffer.h: remove out of date comment
14262 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14265 * screen.C: fix "theoretical" GC leak
14267 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14269 * LaTeX.C (scanAuxFile):
14270 (deplog): remove trailing \r when reading stream (useful under
14273 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14275 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14276 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14277 and BufferView::theLockingInset(Inset*), so should use them and not
14278 access bv_->text->the_locking_inset directly.
14280 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14282 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14285 * tex-defs.h: remove old unused file
14287 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14289 * BufferView_pimpl.C: fix typo, remove minibuffer message
14290 when buffer has loaded
14292 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * lyxfunc.C (Dispatch): use stringstream
14295 (MenuNew): use stringstream
14296 (Open): use stringstream
14298 * importer.C (Import): use stringstream
14300 * bufferview_funcs.C (CurrentState): use stringstream
14302 * LaTeX.C (run): use stringstream
14304 * BufferView_pimpl.C (savePosition): use stringstream
14305 (restorePosition): use stringstream
14306 (MenuInsertLyXFile): use stringstream
14308 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14321 * vspace.C: removed // -*- C++ -*- as first line.
14324 * version.h: added // -*- C++ -*- as first line.
14326 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14330 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14333 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14335 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14338 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14340 * gettext.C: include LString.h even when --disable-nls is on.
14342 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14344 * converter.h (Get): changed argument type from int to
14345 FormatList::size_type to avoid unnecessary conversion.
14347 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14350 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * gettext.h: include LString.h even when --disable-nls is on.
14354 2001-06-07 Juergen Vigna <jug@sad.it>
14356 * text.C (BreakAgain): subst spaces with tabs.
14358 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14359 (resizeInsetsLyXText): set force on resizeLyXText.
14361 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14363 * gettext.h (gettext_init):
14364 (locale_init): use a real definition instead of a macro
14366 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14368 * Bufferview_pimpl.C:
14370 * LColor.C: further lcolor tidies
14372 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * BufferView_pimpl.C (updateScrollbar): simplify.
14376 * BufferView2.C: don't include insets/insetinfo.h, change
14377 prototype for insertInset and call the Pimpl version. let
14378 updateInset call Pimpl version.
14380 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14381 gotoInset to BufferView::Pimpl
14383 2001-06-01 Juergen Vigna <jug@sad.it>
14385 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14386 inside a LockingInset (is the update needed at all?).
14388 2001-05-31 Juergen Vigna <jug@sad.it>
14390 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14391 here not the old one otherwise how should we compare it afterwards
14394 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * FontInfo.C: bring C functions into global namespace when
14402 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * LString.h: make sure config.h has been loaded before LString.h.
14406 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14407 (one for each char read by EatLine!).
14409 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14412 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14415 to the same as the par we break from
14417 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14419 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14421 * MenuBackend.C (expand): also create menu entries for wide
14422 versions of the floats.
14424 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14426 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14428 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14429 frontends/Makefile.am
14435 * tabular.C (getTokenValue): add std::
14437 * tabular-old.C (getTokenValue): add std::
14438 (getTokenValue): ditto
14439 (getTokenValue): ditto
14441 * screen.C (ToggleSelection): adjust
14443 * lyxtext.h: put selection cursors inside a Selection struct.
14445 * lyxfunc.C (moveCursorUpdate): adjust
14447 * lyxfont.C (latexWriteStartChanges): add std::
14449 * lyxfind.C: adjust
14451 * font.h: delete with(char const *, LyXFont const &)
14453 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14455 * FontInfo.C (getFontname): add std::
14457 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14458 (workAreaButtonPress): adjust
14459 (tripleClick): adjust
14461 (moveCursorUpdate): adjust
14464 * BufferView2.C (gotoInset): adjust
14466 2001-05-30 Juergen Vigna <jug@sad.it>
14468 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14469 to check pspell I add this as default as I now have new pspell
14470 libraries and they seem to use this.
14472 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * text2.C (CutSelection): make the cursor valid before the call to
14477 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14479 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14480 relied on 0 terminated strings and other horrors. Bug found due to
14481 the new assert in lyxstring!
14483 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14486 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14491 * lyxfunc.C (processKeySym): change method of getting to the
14494 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14495 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14496 * BufferView_pimpl.[Ch]: here as private methods.
14498 2001-05-28 Juergen Vigna <jug@sad.it>
14500 * text.C (SetHeightOfRow): added the update() call again as it is
14501 needed to initialize inset dimensions!
14503 2001-05-16 Juergen Vigna <jug@sad.it>
14505 * text2.C (SetCharFont): Add new function with BufferView * and
14506 bool toggleall parameters for setting insets internal fonts.
14507 (SetFont): Freeze the undo as we may change fonts in Insets and
14508 all this change should be inside only one Undo!
14510 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14511 setting font's in insets as for them we have the SetFont function!
14513 2001-05-15 Juergen Vigna <jug@sad.it>
14515 * text2.C (ClearSelection): to be sure we REALLY don't have any
14518 * tabular.C (TeXCellPreamble): fixed the left border problem for
14521 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14523 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14526 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14528 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14529 LFUN_BREAKPARAGRAPH.
14531 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14532 help test to "internal only", similar for LFUN_INSERT_URL
14534 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14535 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14536 auto_region_delete and deadkeys.
14538 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14541 * LColor.C: remove some dead entries, tidy a little
14543 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14545 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14547 (Dispatch): implement LFUN_ESCAPE
14549 * commandtags.h: add LFUN_ESCAPE
14551 * LyXAction.C (init): add entry for LFUN_ESCAPE
14553 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14554 Remove commented code.
14555 (insertNote): moved here
14556 (open_new_inset): moved here
14558 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14561 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * kbmap.C (findbinding): clean it up and make it work correctly.
14565 * lyx_main.C (init): do not pass argc and argv as parameters
14567 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14569 * buffer.C: fix path for OS/2 & Win32
14573 * lyx_main.C: Added os:: class.
14575 * os2_defines.h: update
14577 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14579 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14580 better by trying again with reduced state.
14582 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14584 * lyxrc.C (read): print error about invalid key sequence only when
14585 debugging (because not all latinX keysyms are known to some X
14588 * kbsequence.C (getiso): add a few std:: qualifiers
14589 (getiso): comment out extra return statement.
14591 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14593 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14595 (Dispatch): enhance the accent inset a bit. (not perfect)
14597 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14601 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14603 * bufferlist.C (emergencyWrite): fix assert() call
14605 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14607 * text.C (InsertChar): Added trivial patch to only send the "you
14608 can not do multiple spaces this way" message once during a
14611 2001-05-08 Baruch Even <baruch@lyx.org>
14613 * Makefile.am: Changed order of libraries to get LyX to link properly
14614 with the gnome frontend.
14616 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * LaTeXFeatures.h: add a std:: qualifier
14620 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14622 * paragraph.C (String): use stringstream
14624 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14626 * paragraph.C (writeFile): remove footflag arg
14628 * buffer.C (makeLaTeXFile): use stringstream
14629 (latexParagraphs): remove footnot gurba
14631 * LaTeXFeatures.C (getPackages): use stringstream
14632 (getMacros): likewise
14633 (getTClassPreamble): likewise
14634 (getFloatDefinitions): new method
14636 * paragraph.C (writeFile): reindent
14639 * WorkArea.h: revert the xpos + etc changes.
14641 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14643 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14645 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14646 (pasteSelection): likewise
14647 * text2.C (CreateUndo): likewise
14649 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14651 * minibuffer.C (peek_event): temporarily reduce the functionality
14652 of the minibuffer (to allow args on lfuns)
14654 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14655 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14657 * buffer.C (readInset): add compability reading of old float
14658 lists, add reading of new style float list.
14659 (readInset): avoid reevaluation of inscmd.getCmdName()
14660 (getLists): reindent
14662 * MenuBackend.C (MenuItem): implement parsing of
14663 md_floatlistinsert and md_floatinsert.
14664 (expand::LastFiles): move initalizaton of iterators out of loop,
14665 avoid reevaluation.
14666 (expand::Documents): introduce typdedef vector<string> Strings,
14668 (expand::ExportFormats): introduce typedef vector<Format const *>
14669 Formats, and use it.
14670 (expand): implement FloatListInsert and FloatInsert.
14672 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14673 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14674 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14676 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14678 (Dispatch::LFUN_FLOAT_LIST): implement
14680 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14682 * LaTeX.C (run): Fix problem with --export code.
14684 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14686 * BufferView.[Ch] (workarea): removed.
14687 (getClipboard) new method; wrapper for workarea()->getClipboard()
14689 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14692 * WorkArea.h (width, height, xpos, ypos): These methods all
14693 returned the dimensions of the work_area sub-area of WorkArea,
14694 resulting in a position error if the WorkArea were resized. Now
14695 return the dimensions of the entire WorkArea.
14697 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14699 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * LaTeX.C (deplog): correct the syntax of regex reg1
14703 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14705 * undo.C: remove !NEW_INSETS cruft
14707 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14709 * text2.C: remove !NEW_INSETS cruft
14711 * text.C: remove !NEW_INSETS cruft
14713 * tabular.C: remove !NEW_INSETS cruft
14715 * spellchecker.C: remove !NEW_INSETS cruft
14717 * lyxtext.h: remove !NEW_INSETS cruft
14719 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14721 * lyxfunc.C: remove !NEW_INSETS cruft
14723 * lyxfind.C: remove !NEW_INSETS cruft
14725 * lyx_cb.C: remove !NEW_INSETS cruft
14727 * figureForm.C: remove !NEW_INSETS cruft
14729 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14731 * buffer.[Ch]: remove !NEW_INSETS cruft
14733 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14735 * CutAndPaste.C: remove !NEW_INSETS cruft
14737 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14739 * BufferView2.C: remove !NEW_INSETS cruft
14741 * BufferView.h: remove !NEW_INSETS cruft
14743 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * Lsstream.h: include LString.h before the sstream headers to
14746 fix problem with gcc 2.95.3 and lyxstring
14748 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * lyx_main.C: add using directives when needed for C functions
14751 declared in std:: namespace.
14753 2001-04-27 Juergen Vigna <jug@sad.it>
14755 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14756 (SetHeightOfRow): comment out the update call should not be needed!
14758 2001-04-13 Juergen Vigna <jug@sad.it>
14760 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14761 (LyXTabular): tried to minimize operator= operations (and realized
14762 hopfully Lars wish).
14764 2001-04-27 Juergen Vigna <jug@sad.it>
14766 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14768 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14772 * buffer.C (readInset): hack to make listof algorithm work
14774 * BufferView_pimpl.C: hack to make listof algorithm work
14776 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14778 * LyXAction.C: removed all !NEW_INSETS cruft
14779 (init): moved lfun_item in method
14781 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14783 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14785 * BufferView2.C (theLockingInset): white space.
14787 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14789 * minibuffer.C: include <iostream>
14791 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14793 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14795 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14797 * text.[Ch] (TransposeChars): new method
14799 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14801 * call message directly through LyXView instead of through LyXFunc
14802 * BufferView2.C: adjust
14803 * BufferView_pimpl.C: adjust
14804 * FontLoader.C: adjust
14806 * bufferview_funcs.C: adjust
14807 * converter.C: adjust
14808 * figureForm.C: adjust
14809 * importer.C: adjust
14811 * lyx_gui_misc.C: adjust
14812 * lyxfunc.C: adjust
14815 + more files in subdirs
14817 * lyxparagraph.h (size): move up int file
14820 * adjust all uses of Assert to lyx::Assert.
14822 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14823 lyxfunctional in namespace lyx
14824 * layout.C (hasLayout): ditto
14827 (delete_layout): ditto
14828 (NumberOfClass): ditto
14829 * converter.C (GetFormat): ditto
14834 * bufferlist.C (getFileNames): ditto
14835 (emergencyWriteAll): ditto
14838 * MenuBackend.C (hasSubmenu): ditto
14841 * BufferView_pimpl.C (getInsetByCode): ditto
14843 2001-04-18 Juergen Vigna <jug@sad.it>
14845 * vspace.C (asLatexString): fixed the 100% problem.
14847 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * lyxfunc.C (Dispatch):
14851 * minibuffer.h: add a few std:: qualifiers
14853 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14855 * minibuffer.[Ch]: reimplement so that commands is initiated and
14856 run from lyxfunc, simplified som handling, and made the completion
14857 and history code for complete. wip.
14859 * lyxfunc.C (processKeySym): call message
14860 (miniDispatch): new temporary method
14861 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14862 (LFUN_MESSAGE): implement
14863 (LFUN_MESSAGE_PUSH): implement
14864 (LFUN_MESSAGE_POP): implement
14865 (initMiniBuffer): the initial/defualt minibuffer message.
14867 * lyxfont.[Ch]: inline some more getters
14869 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14871 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14873 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14874 (AutoSave): use LFUN_MESSAGE
14875 (Reconfigure): ditto
14877 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14879 * figureForm.C: use LFUN_MESSAGE
14881 * converter.C (runLaTeX): use LFUN_MESSAGE
14883 * bufferview_funcs.C: use LFUN_MESSAGE
14885 (changeDepth): ditto
14887 * bufferparams.h: use boost::
14889 * bufferlist.h: inherit privately from noncopyable
14891 * bufferlist.C (loadLyXFile): remove some commented code.
14893 * buffer.C (runChktex): use LFUN_MESSAGE
14895 * ShareContainer.h: inherit privately from noncopyable
14897 * ParagraphParameters.[hC] (depth): inline it.
14899 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14901 (message): new method
14902 (messagePush): ditto
14903 (messagePop): ditto
14904 (show): init minibuffer
14905 (showState): direct call
14907 * LaTeX.[Ch]: inherit privately from noncopyable
14908 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14909 instead of WriteStatus.
14911 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14913 * BufferView_pimpl.C (buffer): don't init minibuffer
14914 (workAreaButtonPress): use LFUN_MESSAGE
14915 (workAreaButtonRelease): ditto
14916 (savePosition): ditto
14917 (restorePosition): ditto
14918 (MenuInsertLyXFile): ditto
14919 (workAreaExpose): don't init minibuffer
14920 (update): remove commented code, simplify
14922 * BufferView2.C (openStuff): use LFUN_MESSAGE
14923 (toggleFloat): ditto
14926 (copyEnvironment): ditto
14927 (pasteEnvironment): ditto
14932 (updateInset): remove some commented code
14934 * lastfiles.h: inherit privately from noncopyable
14937 * lyx_main.h: ditto
14939 * lyxlex_pimpl.h: ditto
14941 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14942 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14943 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14945 * LyXAction.h: inherit privately from noncopyable, add methods
14946 func_begin, func_end, returning iterators to the func map.
14948 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14949 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14950 (func_begin): new method
14951 (func_end): new method
14953 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14955 (copySelection): ditto
14956 (pasteSelection): ditto
14958 * BufferView.C: whitespace change
14959 * BufferView.h: inherit privately from noncopyable
14961 2001-04-16 Allan Rae <rae@lyx.org>
14963 * tabular-old.C (l_getline):
14964 * spellchecker.C (sc_check_word):
14965 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14966 an unrecognised preprocessor directive. So ensure they're wrapped.
14968 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14970 * src/exporter.C (Export): Give an error message when path to file
14973 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14975 * LaTeX.C (deplog): Always check that foundfile exists.
14977 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14980 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14982 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14984 * tabular.[Ch] (getLabelList): implement new method
14986 * minibuffer.h: comment ouf setTiimer
14988 * minibuffer.C (ExecutingCB): constify res
14989 (peek_event): constify s
14990 (Set): constify ntext
14991 (Init): constify nicename
14993 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14995 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14996 (savePosition): use two params to Minibuffer::Set
14997 (restorePosition): ditto
14999 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15001 * lyx_main.C: include language.h
15003 * Makefile.am (lyx_main.o): add language.h
15005 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * CutAndPaste.C: include gettext.h
15013 * lyxfont.h: remove old hack with ON and OFF.
15016 * lyxfont.h: do not include language.h...
15021 * bufferview_funcs.C:
15027 * paragraph.C: ... but do it here instead
15029 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15031 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15033 * tabular.C: small reformat
15035 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15038 (BreakParagraph): ditto
15039 (SetOnlyLayout): ditto
15042 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15045 * lastfiles.C: removed most using decl, add std:: where needed
15047 * buffer.C: ws changes
15049 * MenuBackend.C (class compare_format): put into anon namespace
15050 (expand): constify label, names, action, action2
15053 * text.C (SingleWidth): constify font
15054 (IsBoundary): constify rtl2
15055 (GetVisibleRow): constify ww
15057 * LaTeX.C (deplog): constify logfile
15059 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15061 (workAreaExpose): constify widthChange, heightChange
15063 * lyxrow.C (par): moved
15066 * lyxrow.h: as inlines here
15068 * lyxfont.h (shape): moved from lyxfont.C
15069 (emph): moved from lyxfont.C
15071 * lyxfont.C (LyXFont): use initialization list for all
15073 (shape): move to lyxfont.h as inline
15074 (emph): move to lyxfont.h as inline
15077 2001-04-04 Juergen Vigna <jug@sad.it>
15079 * vspace.C: had to include stdio.h for use of sscanf
15081 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15084 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15085 independent of xforms.
15087 2001-04-02 Juergen Vigna <jug@sad.it>
15089 * spellchecker.C: fixed namespace placing!
15091 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15093 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15094 the LyXParagraph * is 0.
15096 2001-03-29 Juergen Vigna <jug@sad.it>
15098 * vspace.C: added support for %, c%, p%, l%.
15099 (stringFromUnit): added helper function.
15100 (asLatexString): changed to give right results for the %-values.
15102 * buffer.C: convert the widthp in a width%.
15104 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15106 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15109 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15110 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15112 * lyx_cb.[Ch]: see above.
15114 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15118 * lyx.[Ch]: replaced by figure_form.[Ch].
15122 * lyxfunc.C: changed headers associated with above changes.
15124 2001-03-27 Juergen Vigna <jug@sad.it>
15126 * BufferView_pimpl.C: set the temporary cursor right!
15128 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15130 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15132 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15134 * LString.h: removed "using std::getline"!
15136 * BufferView_pimpl.C (Dispatch): changes due to changes in
15137 InsetInclude::Params.
15139 * buffer.C (tag_name): removed redundant break statements as they were
15140 producing lots of warnings with my compiler.
15142 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * LString.h: add "using std::getline" when using the real <string>.
15146 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15148 * buffer.C: removed bitset usage.
15149 PAR_TAG moved to an anonymous name space.
15150 (tag_name): new funtion, also in the anonymous namespace.
15151 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15152 (makeDocBookFile): clean code. Completed transition from string arrays
15154 (SimpleDocBookOnePar): code clean.
15156 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15158 * tabular.C: add some comments.
15160 2001-03-22 Juergen Vigna <jug@sad.it>
15162 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15163 compatibility read a bit and fixed bug with minipage in different
15166 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15168 * buffer.C (pop_tag): removed.
15169 (push_tag): removed.
15170 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15171 array replaced with vector. Added support for CDATA sections.
15172 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15174 (makeDocBookFile): XML conformant declaration of CDATA section,
15175 fixed bug related to <emphasis> in the first paragraph char.
15176 (sgmlOpenTag): exclude empty tags.
15177 (sgmlCloseTag): ditto.
15179 * buffer.h (pop_tag): removed.
15180 (push_tag): removed.
15182 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15184 * language.h (Languages): added size_type and size().
15186 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15188 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15189 response on compability reading of minipages. One probliem is that
15190 the old usage of minipages was «flertydig»
15192 * several files here and in subdirs: don't use static at file
15193 scope use anon namespaces instead.
15195 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15197 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15198 LaTeX output. This is necessary for Literate document
15201 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15203 * buffer.C: insert hfill when needed.
15205 * tabular.C (l_getline): use string::erase, small whitespace change.
15207 * BufferView_pimpl.C: try the anon namespace.
15208 * WorkArea.C: ditto
15210 2001-03-16 Juergen Vigna <jug@sad.it>
15212 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15213 otherwise it won't open options-dialogs.
15215 * buffer.C: honor pextraWidth(p) on converting minipages.
15217 * tabular.C (l_getline): changed the functions to strip trailing \r.
15219 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15221 * BufferView_pimpl.C:
15222 * minibuffer..C: added "using SigC::slot" declaration.
15224 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15226 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15232 * paragraph.C: ditto
15234 * lyxtext.h: NO_PEXTRA
15236 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15238 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15239 * ParameterStruct.h: ditto
15240 * ParagraphParameters.h: ditto
15241 * lyxparagraph.h: ditto
15243 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15245 * buffer.C: add compability for minipage alignment.
15246 (latexParagraphs): remove unwanted pextra check.
15248 * several files: remove CXX_WORKING_NAMESPACES
15250 * buffer.C (pop_tag): tie is in namespace boost
15252 * BufferView.h: noncopyable is in namespace boost
15254 * lyx_main.h: ditto
15257 * lastfiles.h: ditto
15258 * bufferlist.h: ditto
15259 * ShareContainer.h: ditto
15261 * LyXAction.h: ditto
15264 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15266 * Merging changes from BRANCH_MVC back into HEAD.
15268 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15270 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15272 * BufferView_pimpl.C: change from intl.C
15276 * Makefile.am: move combox.*
15282 * intl.C: remove dialog (covered by prefs)
15284 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15286 * lyxfunc.C (Dispatch): removed redundant break statement.
15288 2001-03-14 Juergen Vigna <jug@sad.it>
15290 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15292 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15294 * buffer.C: add hack to fix compability reading of minipages.
15296 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15298 * buffer.C (getLists): Cleanup.
15300 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15302 * lyxfont.C (update): don't honor toggleall on font size.
15304 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15308 * Makefile.am: moved to frontends/xforms/
15312 * BufferView_pimpl.C: changes for moved mathpanel
15314 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15316 * gettext.h: fix gettext_init() in --disable-nls
15318 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15320 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15322 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15325 * lyx.h: strip external form
15327 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15329 * BufferView_pimpl.C: add comment, destroySplash()
15331 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15333 * BufferView_pimpl.C:
15337 * lyxfunc.C: use re-worked insetinclude
15339 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15341 * buffer.C: add using std::stringstream.
15343 * lyx_cb.C: readd using std::ios.
15345 * buffer.C: add using std::map.
15347 * BufferView_pimpl.C: add using std::vector.
15349 * ShareContainer.h: add std:: to swap.
15351 * buffer.h: add some typedefs
15352 * buffer.C (getLists): use them
15353 (getLists): renamed from getTocList.
15354 add a counter for the different float types and use it in the
15356 (getLists): use the same counter for the NEW_INSETS and the "non"
15359 * lyx_cb.h: remove unused items, includes, using etc.
15361 * ShareContainer.h: remove some commented code, add more comments
15362 and "documentation".
15364 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15366 * buffer.C (getTocList): make the list also when NEW_INSETS is
15369 * buffer.h: remove TocType
15371 * buffer.C (getTocList): change to return a map<string,
15372 vector<TocItem> >, implement for dynamic number of list.
15374 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15375 * text2.C (PasteSelection): adjust
15376 * CutAndPaste.C (pasteSelection): adjust
15378 * FloatList.C (FloatList): update from the new_insets branch.
15379 * Floating.[Ch]: ditto
15380 * LaTeXFeatures.C: ditto
15382 * lyxlex_pimpl.C: ditto
15384 * paragraph.C (Last): remove when NEW_INSETS is defined.
15386 * other file: changes because of the above.
15388 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15390 * lyxparagraph.h: rename next to next_, previous to previous_,
15391 make them private for NEW_INSETS. Rename Next() to next(),
15392 Previous() to previous().
15394 * other files: changes because of the above.
15396 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15399 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15402 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15404 * main.C (main): pass lyx_localedir to gettext_init().
15406 * gettext.h: remove locale_init and gettext_init macros
15408 * gettext.C (locale_init): new function
15409 (gettext_init): new function
15411 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15414 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15416 * Moved credits to frontends:
15417 * credits.[Ch]: removed
15418 * credits_form.[Ch]: removed
15419 * lyx_gui_misc.C: remove credits stuff
15422 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15424 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15426 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15427 unneeded destructor.
15429 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15430 a standalone pointer again.
15432 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15434 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15440 * ToolbarDefaults.C:
15449 * BufferView_pimpl.C: use new file dialog in GUII
15452 * lyx_cb.C: remove LayoutsCB to Toolbar
15454 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15456 * ShareContainer.h (get): add std:: qualifier
15458 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * ShareContainer.h: define a proper ShareContainer::value_type
15461 type (and use typename to please compaq cxx)
15463 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15465 * lyxparagraph.h: move serveral local vars to
15466 ParameterStruct/ParagraphParameters., use ShareContainer in
15467 FontTable., make vars in FontTable private and add getter and
15470 * paragraph.C: changes because of the above.
15472 * lyxfont.h: remove copy constructor and copy assignment. (the
15473 default ones is ok), move number inside FontBits. move inlines to
15476 * lyxfont.C: add number to initializaton of statics, move several
15477 inlines here. constify several local vars. some whitespace
15478 cleanup. Dont hide outerscope variables.
15480 * Spacing.h: add two new constructors to match the set methods.
15482 * ShareContainer.h: new file, will perhaps be moved to support
15484 * ParameterStruct.h: new file
15486 * ParagraphParameters.h: new file
15488 * ParagraphParameters.C: new file
15490 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15491 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15493 * BufferView_pimpl.C: ParagraphParameter changes.
15494 * buffer.C: Likewise.
15495 * bufferview_funcs.C: Likewise.
15496 * text.C: Likewise.
15497 * text2.C: Likewise.
15499 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * lyxfind.C (LyXReplace): do not redefine default argument in
15503 (IsStringInText): ditto
15504 (SearchForward): ditto
15505 (SearchBackward): ditto
15507 2001-03-06 Juergen Vigna <jug@sad.it>
15509 * lyxfind.C (IsStringInText): put parentes around expressions.
15511 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15513 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15515 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15517 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15519 * stl_string_fwd.h: add comment
15521 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15524 * tabular.C: remove unused DocBook methods
15530 killed DO_USE_DEFAULT_LANGUAGE
15532 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * lyx_gui.C: do not include language.h.
15536 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15537 arguments in function implementation.
15539 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15541 * BufferView_pimpl.C: add <ctime>
15543 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15545 * BufferView_pimpl.C: add using std::find_if
15547 2001-02-27 José Matos <jamatos@fep.up.pt>
15549 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15552 2001-02-11 José Matos <jamatos@fep.up.pt>
15554 * buffer.C (makeDocBookFile): command styles now have a parameter as
15555 "title" by default.
15557 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15559 * layout_forms.[Ch]: removed
15560 * lyx_cb.[Ch]: out character
15561 * lyx_gui.C: out character
15562 * lyx_gui_misc.C: out character
15563 * bufferview_funcs.C: : out character,
15564 added toggleall as parameter in ToggleAndShow
15566 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15568 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15570 * text2.C (SetCurrentFont): Disable number property at boundary.
15572 2001-02-26 Juergen Vigna <jug@sad.it>
15574 * lyxfunc.C (getStatus): added a string argument override function so
15575 that this is correctly called from LyXFunc::Dispatch if it contains a
15576 do_not_use_argument which is used!
15577 (Dispatch): added check for "custom" export and call appropriate func.
15579 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15581 * lyxrc.C: Add language_command_local, language_use_babel and
15582 language_global_options.
15584 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15586 * buffer.C (makeLaTeXFile): Use language_use_babel and
15587 language_global_options.
15589 2001-02-23 Juergen Vigna <jug@sad.it>
15591 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15592 which works with LyXText and putted it inside BufferView. Here now we
15593 only call for that part the BufferView::Dispatch() function.
15595 * BufferView.C (Dispatch): added.
15597 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15598 functions which needs to use a LyXText over from LyXFunc.
15599 (MenuInsertLyXFile): added
15600 (getInsetByCode): added
15601 (moveCursorUpdate): added
15602 (static TEXT): added
15604 2001-02-22 Juergen Vigna <jug@sad.it>
15606 * BufferView_pimpl.C (update): call a status update to see if LyXText
15609 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15611 * vc-backend.C (revert): implement for CVS
15612 (getLog): implement for CVS
15614 2001-02-20 Juergen Vigna <jug@sad.it>
15616 * text2.C (ClearSelection): added BufferView param for inset_owner call
15618 * lyxfunc.C (TEXT): added this function and use it instead of
15619 directly owner->view()-text of getLyXText().
15621 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15623 * src/layout_forms.C: out preamble
15624 * src/layout_forms.h: out preamble
15625 * src/lyx_cb.C: out preamble
15626 * src/lyx_cb.h: out preamble
15627 * src/lyx_gui.C: out preamble
15628 * src/lyx_gui_misc.C: out preamble
15629 * src/lyxfunc.C: connect with guii preamble
15631 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15633 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15635 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15637 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15638 whether to run bibtex.
15640 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15642 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15644 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15646 * Makefile.am (lyx_SOURCES): removed bibforms.h
15648 * vspace.h: doxygen
15650 * text.C (GetVisibleRow): make several local vars const
15652 * tabular.C: small cleanup.
15654 * lyxserver.C (callback): use compare instead of strncmp
15656 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15657 inlines to after class or to paragraph.C
15659 * lyxfont.h: remove friend operator!=
15661 * converter.h: move friend bool operator< to non friend and after
15664 * combox.h: small cleanup
15666 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15667 to inlines after class def.
15669 * buffer.C (pop_tag): use string operations instead of strcmp
15671 * bmtable.c: doxygen, small cleanup
15673 * LaTeX.h: remove friend operator==
15675 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15687 * BufferView_pimpl.C:
15688 * BufferView.[Ch]: remove cruft
15690 2001-02-14 Juergen Vigna <jug@sad.it>
15692 * lyxfunc.C: removed #if 0 unused code
15694 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15696 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15698 * text2.C (SetSelection): added a BufferView * parameter
15700 2001-02-13 Juergen Vigna <jug@sad.it>
15702 * lyxfunc.C (Dispatch): fixed protected blank problem.
15703 * BufferView2.C (protectedBlank): added LyxText * parameter.
15705 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15706 (AppendColumn): same as above for column_info.
15708 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15709 (moveCursorUpdate): use a LyXText param for support of InsetText.
15711 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15712 (tripleClick): ditto
15714 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15716 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15718 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15720 * text2.C (SetSelection): set correct update status if inset_owner
15721 (ToggleFree): ditto
15723 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15725 * tabular.C: remove some commented code.
15727 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15729 * BufferView_pimpl.C: call hideSplash()
15731 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15734 * bibforms.h: remove
15737 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15738 add LFUN_CHILD_CREATE
15740 * counters.h: fix tiny typo
15745 * lyx.C: move splash to frontends/xforms/
15747 * lyx_gui_misc.C: move Include and Bibform to frontends
15749 * lyxvc.h: clarify comment
15751 * vspace.C: tiny housekeeping
15753 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15755 * text.C (PrepareToPrint): RTL Fix.
15757 * paragraph.C (GetUChar): New method.
15758 (String): Use GetUChar.
15760 * buffer.C (asciiParagraph): Use GetUChar.
15762 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15764 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15766 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15769 * buffer.C: rename to getLogName(), handle
15770 build log / latex log nicely
15772 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15775 * MenuBackend.h: remove support for reference menuitem type.
15777 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15779 * BufferView_pimpl.C: housekeeping
15780 * BufferView_pimpl.h:
15785 * minibuffer.h: move Timeout GUI-I
15787 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15789 * lyxrc.C (read): Update converters data-structures.
15791 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15793 * LaTeX.h (operator!=): add operator != for Aux_Info
15795 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15797 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15799 * LaTeXLog.C: deleted, useful code moved to Buffer
15802 * buffer.C: new function getLatexLogName()
15808 * lyxfunc.C: use frontends for LaTeX and VC logs
15810 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * LaTeX.h: yet another std:: that Allan forgot.
15814 * Variables.C (set): renamed from isset(), because this clashes
15815 with some HP-UX macros (grr).
15817 2001-02-06 Allan Rae <rae@lyx.org>
15819 * LaTeX.h: Another bug fix. Missing std:: this time.
15821 2001-02-04 Allan Rae <rae@lyx.org>
15823 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15824 floats problem. I've left it commented out because it's not quite
15825 correct. It should also test that the current object is a table or
15826 figure inset. But I haven't gotten around to figuring out how to do
15827 that. I *think* it'll be something like: "table" == inset.type()
15829 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15832 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15834 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15835 all the citation/databases/styles in the auxilary file.
15836 (run): Rerun latex if there was a babel language error.
15838 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15840 * text.C (Backspace): Preserve the font when changing newline char
15842 (BreakParagraph): If the cursor is before a space, delete the space.
15844 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15846 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15848 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15849 new argument (code).
15850 (ChangeCitationsIfUnique): New method.
15852 * paragraph.C (GetPositionOfInset): Handle bibkey.
15854 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15856 * BufferView_pimpl.h: change type of Position::par_pos to
15857 LyXParagraph::size_type.
15859 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15861 * BufferView_pimpl.C (savePosition, restorePosition): Write
15862 messages to minibuffer.
15864 2001-01-28 José Matos <jamatos@fep.up.pt>
15866 * buffer.C (makeDocBookFile): adds support for document language.
15867 A silly restriction on the name of LatexCommand types where removed.
15868 Added support for CDATA sections, allows to chars unescaped, used
15869 among others in code, to avoid escape < and >.
15871 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15873 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15874 saved positions instrad of a stack. Furthermore, a position is
15875 stored using paragraph id/paragraph position.
15877 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15878 Remove LFUN_REF_BACK.
15880 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15882 * converter.C (dvipdfm_options): New method.
15884 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15886 * vspace.C (isValidLength): Fix for empty input string.
15888 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15890 * LyXAction.C (init): change description of LFUN_FIGURE to
15893 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * LaTeX.C: add using directive
15897 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15899 * MenuBackend.C (expand): Fix the sorting of the formats.
15901 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15903 * lyx_main.C: tiny error message fix
15905 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15908 calling fl_initialize(). This fixes the problem with ',' as
15909 decimal separator in text files.
15911 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15913 * trans.C (process): Fix the keymap bug.
15915 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15917 * LaTeX.C (scanAuxFiles): New method. Provides support for
15918 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15919 (scanLogFile) Scan for "run BibTeX" messages.
15921 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15922 OT1 font encoding. Also, load the aecompl package if the ae
15925 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15927 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15929 * texrow.C (increasePos): turn two error messages into debug
15932 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15934 * LaTeX.C (scanAux): Handle the \@input macro.
15935 (runBibTeX): Use scanAux().
15937 * language.C (latex_options_): New field.
15939 * LaTeXFeatures.C (getMacros): Add language macros.
15941 * buffer.C (makeLaTeXFile): Small fix.
15943 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15945 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15947 * text2.C: add a using directive.
15949 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15954 * lyxfunc.C: kill LyXBell.
15956 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15958 * text.C (IsBoundary): Remove the error message
15960 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15962 * lyxrc.C (setDefaults): Correct initialization value for
15965 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15967 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15970 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15971 and GotoNextNote().
15973 * src/LyXAction.C: Added reference-next.
15975 * text.C (InsertChar): Use contains instead of strchr.
15977 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15979 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15981 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15982 alignment commands (when needed).
15984 * text.C (InsertChar): Add ':' to number separator chars.