1 2004-08-16 José Matos <jamatos@lyx.org>
3 * text.C (readParagraph): remove debug message.
5 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
10 * output_plaintext.C (asciiParagraph): set depth correctly
12 * outputparams.h: add member depth
14 * paragraph_funcs.C (ownerPar): remove.
16 * text2.C (setCounter): remove first_pit; comment out some
17 non-working code that uses ownerPar
19 * BufferView.C (getParentLanguage): remove. Not used anymore, and
22 2004-08-16 José Matos <jamatos@lyx.org>
24 * text.C (readParToken, readParagraph, read): report all unknown tokens.
25 For the same level of importance use the same chanel to report problems.
26 (read): add code to deal with \begin_body and \end_body.
29 2004-08-15 José Matos <jamatos@lyx.org>
31 * lyxlex.C (getString): fix comment, buffer::readBody is now
34 * tex-strings.C (string_papersize): Default -> default,
35 Custom -> custom, for consistency with other options.
37 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
41 * Makefile.am: support pch
43 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * text.C (readParToken): remove the static LyXFont variable and
46 pass it as a parameter instead. This fixes a nasty bug where an
47 inset will be inserted with a bad font in some situations
48 (readParagraph): adapt
50 * text2.C (setCounter): reduce number of calls to pars_[pit]
52 * text.C (singleWidth): add an assert, fix a test
54 * rowpainter.C (paintText): reduce number of calls to singleWidth
56 * paragraph.C (isHfill):
59 2004-08-14 André Pönitz <poenitz@gmx.net>
64 * lyxtext.h (several functions): use a Paragraph & argument
67 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * metricsinfo.h: add a new field ltr_pos to PainterInfo
71 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
73 * text.C (singleWidth): remove useless test
75 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * tabular.h: remove bogus comments
79 * tabular.C (getDescentOfRow):
80 (isPartOfMultiColumn): add assertions
82 * lyxlength.C (inPixels): remove #warning
84 2004-08-14 André Pönitz <poenitz@gmx.net>
86 * paragraph.h: inline getChar()
88 * BufferView.h: remove unused declarations
90 2004-08-14 José Matos <jamatos@lyx.org>
92 * Buffer.[Ch] (readDocument): new name for old readBody.
93 * Buffer.C: new file format, new keywords: \begin_document,
94 \begin_header, \begin_body, \end_body.
96 * bufferparams.C (readToken): replace all calls to lex.nextToken
97 by lex.next(). Do the same to eatLine except where really needed.
99 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
100 line when writing to the lyx file.
102 * output_plaintext.C (asciiParagraph): fix Bibliography style
105 * text.C (read): fix end of file handling.
107 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * MenuBackend.C (Menu::operator[]): new method to access
110 individual menu items
111 (Menu::hasFunc): new method. search for an item that corresponds
113 (MenuBackend::specialMenu): new method
114 (MenuBackend::expand): if a special menu has been set, skip
115 entries whose func() appears in this menu
117 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
119 * text3.C: use Debug::DEBUG a bit more
121 * text.C (leftMargin): try to simplify a tiny bit change var x to
122 l_margin. Dont output the wide margins always.
123 (rightMargin): no margin in inner texts
125 * rowpainter.h (nestMargin): new func
126 (changebarMargin): new func
127 (rightMargin): new func
129 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
133 * factory.C (createInset): modify setDrawFrame
135 * cursor.C: use Debug::DEBUG a bit more
137 2004-08-14 André Pönitz <poenitz@gmx.net>
140 * Makefile.am: new files to accomodate an 'external' (x,y)-position
141 cache for all insets in (at least partially) visible (top-level)
144 * BufferView_pimpl.C: reset external coord cache before every update.
145 This means the coord cache only contains valid entries.
147 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
150 * BufferView_pimpl.C (getInsetByCode): move function out of class
151 and change in to a template in anon namespace. Also fix to do what
154 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
157 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
159 (breakParagraph): rename par to par_offset and use a local
160 reference. Add code to keep the language over a rebreak.
161 (breakParagraphConservative): rename par to par_offset, use a
163 (mergeParagraph): ditto
165 (isFirstInSequence): ditto
166 (outerFont): rename pit to par_offset
168 * paragraph.C: ws change
173 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
178 * paragraph.C (simpleTeXOnePar): when we have a \item with
179 optional argument, enclose the argument with curly brackets (in
180 case it contains a closing square bracket)
184 * text3.C (checkInsetHit): constify
186 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
191 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 Fix toggling of collapsable insets with the mouse (bug 1558)
195 * lyxfunc.C (dispatch): adapt to LCursor changes
197 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
198 make sure that dispatch is not invoked twice
200 * cursor.C (needsUpdate): new method
201 (dispatch): return void
202 (result): new method, to access the DispatchResult of the cursor.
204 2004-08-13 José Matos <jamatos@lyx.org>
206 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
208 2004-08-13 André Pönitz <poenitz@gmx.net>
210 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
212 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
215 2004-08-12 André Pönitz <poenitz@gmx.net>
217 * text3.C: take out the 'cursor right' form insertInset and only
218 do it in those places when it is really needed. Fixes crash on
221 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
225 * BufferView_pimpl.C (setBuffer): initialize the current font of
226 the underlying LyXText
228 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * kbsequence.C (print): use UI native formatting for menu
233 * text.C (insertChar): call Paragraph::insertChar with a font
236 * paragraph.C (insertInset, insertChar): the version that takes a
237 LyXFont argument is now a wrapper around the other one (the
238 opposite used to be true).
240 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
241 argument. Font setting is done in Paragraph now.
243 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * outputparams.h: add new members intitle and lang.
247 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
248 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
250 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
252 * text3.C (dispatch): remove special handling of button 4 and 5,
253 it is now taken care of in the frontend code.
255 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * Spacing.h: add <string> (STLPort compile fix)
259 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
261 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
263 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
265 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
268 * converter.C (showMessage): inherit from unary_function, make
271 * buffer.C (writeFile): initialize retval
273 * InsetList.h: rename private variable list to list_
274 * InsetList.[Ch]: adjust accordingly.
276 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
278 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
279 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
280 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
281 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
282 * ParagraphParameters.C, LaTeXFeatures.C: replace
283 "support/std_sstream.h" with <sstream>
285 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
287 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
288 * lyxsocket.C (LyXServerSocket): ditto
289 (serverCallback): ditto
291 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
293 * LaTeXFeatures.C: check release date when loading jurabib.
295 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * lyxserver.C (startPipe): call register_socket_callback
298 (endPipe): call unregister_socket_callback
300 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
302 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
303 (LyXServerSocket): register the callback
304 (LyXServerSocket): unregister the callback
305 (fd): delete function
306 (serverCallback): improve error checking and setup the callbacks.
307 (dataCallback): change arg to fd.
308 (writeln): new func (copied fro the client socket) used for server
310 (LyXDataSocket): simplify
311 (~LyXDataSocket): close ann unregiser callback
312 (server): delete function
313 (fd): delete function
314 (readln): small changes, improve some std::string usage
315 (writeln): constify a bit
317 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
322 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * BufferView_pimpl.C (setBuffer): set the layout combox value only
325 after it has been populated
327 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * text2.C (insertInset): move cursor when inserting inset.
331 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * kbmap.C (findbindings): a couple of new methods. returns a
334 container of kb_sequence objects. The real work is done by the
335 private recursive version
336 (printbindings): uses findbindings to print out a bracketed list
337 of bindings (renamed from findbinding).
339 * MenuBackend.C (binding): use kb_keymap::findbindings
341 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
343 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
347 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * paragraph.C (isWord): return true on insets that report
352 * text.C (getWord): use Paragraph::isWord to decide what is in a
353 word and what is not; fix bug 1609.
355 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
357 * tex-strings.C: add "none" to string_paperpackages[], fixes
358 off-by-one-error in the paperpackage selection.
361 * tex-strings.[Ch]: char const * string[n]
362 -> char const * const string[]
364 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
367 command, return early.
369 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
371 * debug.h: add DEBUG to enum and fix size of ANY.
373 * debug.C: add support for Debug::DEBUG
374 (showTags): cast errorTags.level to unsigned int
376 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
377 (redoCurrentBuffer): ditto
378 (updateScrollbar): ditto
379 * cursor.C (dispatch): ditto
380 * text2.C (setLayout): ditto
382 (updateCounters): ditto
384 (deleteEmptyParagraphMechanism): ditto
386 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
388 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
389 annotations to cleanup the Makefile slightly.
391 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * lyxrc.C: do not set user_email to a default value but use empty
394 instead. The entry used to be translated, which does not work
395 since at the point where lyxrc is constructed there is no
396 translation service available
398 * messages.C (getLocaleDir): remove and use directly
399 lyx_localedir() instead
401 2004-06-02 Angus Leeming <leeming@lyx.org>
403 Fix crash caused by dereferencing null pointer 'exportdata' in
404 OutputParams by creating a new ExportData variable on the heap,
405 storing it in a boost::shared_ptr.
406 The crash was triggered when generating an Instant Preview
407 of an external inset.
409 * Makefile.am: add outputparams.C
411 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
412 (c-tor): allocate memory to it.
414 * exporter.C (c-tor): associated changes.
416 2004-06-01 Angus Leeming <leeming@lyx.org>
418 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
419 contains data before calling isInset(0). (Bug 1513.)
421 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
423 * exporter.C (checkOverwrite): new method
424 * exporter.C (copyFile): new method
425 * exporter.C (Export): copy referenced files to the document dir
426 * exporter.[Ch]: new class ExportedFile
427 * exporter.[Ch]: new class ExportData. Contains currently the
428 names of referenced external files
429 * outputparams.h: add exportdata member.
431 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
433 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
436 2004-05-19 Angus Leeming <leeming@lyx.org>
441 * lyxfunc.C: small changes due to the introduction of namespace
442 lyx::frontend and the moving of namespace biblio to lyx::biblio.
444 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
446 * text3.C (dispatch): supress update when only moving the cursor
447 * cursor.C (selHandle): remove commented code
449 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
451 * paragraph.C (startTeXParParams): correct column count
452 * CutAndPaste.C (pasteSelection): remove const_cast
453 * output_docbook.C (docbookParagraphs): remove const_cast
454 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
455 const_cast and return ParagraphList::const_iterator
456 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
457 * output_plaintext.C (writeFileAscii): remove const_cast
458 * paragraph.[Ch] (simpleTeXOnePar): make const
459 * paragraph_funcs.C (outerPar): use const iterators
460 * paragraph_pimpl.C (validate): use const iterators
461 * text.C (setHeightOfRow): use const iterators
463 2004-05-17 Angus Leeming <leeming@lyx.org>
466 * LyXAction.C (init): new LFUN_INSET_REFRESH.
468 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
469 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
470 if the citation engine has changed.
472 2004-05-14 José Matos <jamatos@lyx.org>
474 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
475 if the textclass does not provide it. Have it different for sgml and
477 support the language of document.
478 * output_docbook.C (docbookParagraphs):
479 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
480 first anchor as the id of the paragraph, remove special case code.
481 * sgml.C (escapeChar): escape only < & >.
483 2004-05-14 Angus Leeming <leeming@lyx.org>
485 * bufferparams.h: move biblio::CiteEngine enum here to minimize
486 dependencies on src/frontends/controllers/biblio.h. Define a
487 CiteEngine_enum wrapper class to enable the enum to be forward
490 2004-05-12 Angus Leeming <leeming@lyx.org>
492 * buffer.C: up LYX_FORMAT to 234.
493 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
494 use_numerical_citations with a single biblio::CiteEngine cite_engine
496 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
498 2004-05-13 José Matos <jamatos@lyx.org>
501 * converter.C (Converter, readFlags): add xml member.
502 * outputparams.h: add XML flavor.
503 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
505 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * lyxfunc.C (dispatch):
508 (getStatus): fix handling of LFUN_SEQUENCE
510 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * debug.C (showLevel): do not forget the end-of-line marker
514 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * kbmap.C (read): do not stop parsing a bind file when an error
519 2004-04-29 Angus Leeming <leeming@lyx.org>
524 * text2.C: wrap a bunch of #warning statements
525 inside #ifdef WITH_WARNINGS blocks.
527 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
529 * buffer.C: increment format to 233.
531 2004-04-28 Angus Leeming <leeming@lyx.org>
533 * BufferView_pimpl.C:
536 s/updateToolbar()/updateToolbars()/
537 s/Toolbar.h/Toolbars.h/
539 2004-04-28 Angus Leeming <leeming@lyx.org>
541 * BufferView.[Ch] (c-tor):
542 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
543 No longer passes these data to the WorkArea generator.
545 2004-04-28 Angus Leeming <leeming@lyx.org>
547 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
549 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
551 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
553 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
555 * output_latex.C (TeXEnvironment): make sure that there is a line
556 break before \end{foo} for the last paragraph of a document
557 (TeXOnePar): if the paragraph is at the end of the document (or
558 inset) and the language has to be reset, then make sure that the
559 line break is _before_ the language command, not after (fixes bug
560 1225); also make sure that the language reset command is the first
561 thing after the paragraph (to ensure proper nesting of
562 environments and thus fix bug 1404)
564 2004-04-21 John Levon <levon@movementarian.org>
567 * ToolbarBackend.C: make "name" be a programmatic name
568 and a gui_name field.
570 * lyxfunc.C: display the minibuffer on M-x
572 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
577 2004-04-19 Angus Leeming <leeming@lyx.org>
579 * BufferView_pimpl.C (setBuffer): changed preview interface.
581 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
584 2004-04-19 John Levon <levon@movementarian.org>
586 * BufferView_pimpl.C:
587 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
589 2004-04-05 Angus Leeming <leeming@lyx.org>
591 * text.C (redoParagraphs): add call to updateCounters(), thereby
592 fixing the missing "Figure #:" label from the caption of a
595 2004-04-13 Angus Leeming <leeming@lyx.org>
597 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
598 cursor is clicked out of an inset.
600 2004-04-13 Angus Leeming <leeming@lyx.org>
602 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
603 than an InsetOld one.
605 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
607 * format.[Ch]: add editor to Format
608 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
609 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
611 2004-04-08 André Pönitz <poenitz@gmx.net>
613 * metricsinfo.h: remove PainterInfo::width member
615 2004-04-08 Angus Leeming <leeming@lyx.org>
617 * lyx_sty.C (boldsymbol_def): modify so that it outputs
618 "\providecommand" rather than "\newcommand", thereby preventing
619 clashes with packages that define "\boldsymbol" themselves.
622 2004-04-08 Angus Leeming <leeming@lyx.org>
624 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
625 thereby squashing an unnecessary warning.
627 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
629 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
632 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
634 * BufferView.C (setCursor): call redoParagraph (some insets could
636 (putSelectionAt): remove the 'double update' trick
638 * BufferView_pimpl.C (fitCursor): call refreshPar
639 (workAreaDispatch): remove an uneeded update call
640 (dispatch): remove some manual update calls
642 * cursor.[Ch]: remove cached_y_, updatePos
643 (selHandle): set noUpdate when appropriate
645 * lyxfunc.C (dispatch): track if we need an update
647 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
649 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
650 (paintSelection): cheap optimization, do not call cursorX when not
652 (paintPars): change signature
655 (paintTextInset): adjust
659 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * lengthcommon.C: compilation fix: remove explicit array size from
662 unit_name[] and friends
664 2004-04-05 Angus Leeming <leeming@lyx.org>
666 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
668 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
669 present only for the preferences dialog.
670 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
672 2004-04-05 Angus Leeming <leeming@lyx.org>
674 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
675 to enable the frontends to export changes to lyxrc correctly.
677 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
679 2004-04-07 André Pönitz <poenitz@gmx.net>
681 * cursor.[Ch] (selClear, adjust): remove math
683 * cursor_slice.C: more agressive assert
686 * BufferView_pimpl.C: rework mouse event dispatch
693 2004-04-05 André Pönitz <poenitz@gmx.net>
695 * cursor.[Ch] (valign, halign...): remove unneeded functions
697 2004-04-05 Angus Leeming <leeming@lyx.org>
699 * lyxlength.[Ch] (unit_name et al.): const-correct.
701 2004-04-05 Angus Leeming <leeming@lyx.org>
703 * BufferView_pimpl.C:
712 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
714 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
716 * text3.C (getStatus): add LFUN_BEGINNINGBUF
718 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
720 * lyxfind.C: add a couple of inTexted() tests + other small fixes
721 * BufferView_pimpl.[Ch] (getStatus)
722 * BufferView.[Ch] (getStatus): add
723 * lyxfunc.C (getStatus): move lfuns handled in
724 BufferView::dispatch to te function above
725 * Cursor.C (setSelection): set selection() = true
727 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
729 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
731 2004-03-31 Angus Leeming <leeming@lyx.org>
733 * lyxfunc.C (dispatch): Fall through to the generic
734 Dialogs::show("preamble").
736 2004-03-31 Angus Leeming <leeming@lyx.org>
738 * lyxfunc.C (dispatch): Fall through to the generic
739 Dialogs::show("spellchecker").
741 2004-03-31 Angus Leeming <leeming@lyx.org>
743 * lyxfunc.C (getStatus, dispatch): changed invocation of the
746 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
751 * insetiterator.[Ch]:
756 * undo.[Ch]: s/DocumentIterator/DocIterator/g
758 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
760 * BufferView.C (setCursor, putSelectionAt): call edit to open the
761 insets where we are putting the cursor.
763 2004-03-31 Angus Leeming <leeming@lyx.org>
766 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
768 * lyxrc.[Ch] (read, write): overloaded member functions taking
769 a std::[io]stream arguments.
771 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
773 2004-03-31 Angus Leeming <leeming@lyx.org>
775 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
776 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
778 * lyxtextclass.C (load): if the text class couldn't be loaded, then
779 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
781 2004-03-31 Angus Leeming <leeming@lyx.org>
783 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
784 the LFUN_ALL_INSETS_TOGGLE code.
786 2004-03-30 Angus Leeming <leeming@lyx.org>
788 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
789 has died. Fall through to the generic Dialogs::show("document").
791 2004-03-30 Angus Leeming <leeming@lyx.org>
794 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
795 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
797 * lyxfunc.C (getStatus, dispatch): define the actions for these
798 lfuns. Little more than a cut and pste job from ControlDocument.C
800 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
802 2004-03-30 Angus Leeming <leeming@lyx.org>
805 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
806 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
808 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
809 open/closed state of ollapsable insets. Usage:
811 all-inset-toggle <state> <name>, where
812 <state> == "open" || "closed" || "toggle" and
813 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
815 * lyxtext.h, text2.C (toggleInset): removed.
817 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
818 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
819 now passes LFUN_INSET_TOGGLE to the found inset.
821 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
822 is now invoked as "all-insets-toggle toggle branch".
824 2004-03-30 Angus Leeming <leeming@lyx.org>
828 * pariterator.[Ch]: added/corrected header blurb.
830 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
832 * dociterator.[Ch]: add an inset_ member
833 (backwardPos): implemented
834 (backwardPos, forwardPos): use inset_ when the stack is empty.
835 (doc_iterator_begin, doc_iterator_end): implemented
836 * pariterator.[Ch]: adjust, add begin, end
837 * insetiterator.[Ch]: adjust, add begin, end
841 * BufferView_pimpl.C:
842 * CutAndPaste.C: adjust
844 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
846 * buffer.C: increment file format to 232.
847 * LaTeXFeatures.C: add bibtopic package.
848 * bufferparams.[Ch]: param \use_bibtopic.
850 * lyxrc.[Ch]: add lyxrc bibtex_command
851 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
853 * buffer.C: increment file format to 231.
855 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
857 * dociterator.C: implement forwardPar
858 * iterators.[Ch]: remove, replaced by
859 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
861 * BufferView_pimpl.C:
864 * bufferview_funcs.C:
870 * Makefile.am: adjust
872 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
874 * CutAndPaste.C (pasteSelection): fix 2 crashes
875 (eraseSelection): fix a crash
876 * paragraph_funcs.C: remove a warning
878 2004-03-28 Angus Leeming <leeming@lyx.org>
881 * LyXAction.C (init): new LFUN_PRINT.
883 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
885 2004-03-27 Angus Leeming <leeming@lyx.org>
888 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
890 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
892 2004-03-27 Angus Leeming <leeming@lyx.org>
894 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
895 insetlist always contains non-null pointers to insets.
897 2004-03-26 Angus Leeming <leeming@lyx.org>
899 * src/BufferView_pimpl.C:
903 * src/output_plaintext.C:
904 * src/outputparams.h:
905 * src/paragraph_funcs.C:
909 * src/frontends/controllers/ControlErrorList.C:
910 * src/frontends/gtk/FileDialogPrivate.C:
911 * src/frontends/gtk/GPainter.C:
912 * src/frontends/gtk/GToolbar.C:
913 * src/frontends/qt2/QRef.C:
914 * src/mathed/math_scriptinset.C: squash compiler warnings.
916 2004-03-26 Angus Leeming <leeming@lyx.org>
918 * ispell.C (LaunchIspell::start):
919 * lyx_cb.C (AutoSaveBuffer::start):
920 invoke run(DontWait) rather than runNonBlocking().
922 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
924 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
926 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * kbsequence.C (print): adjust
930 * kbmap.C (printKeySym): rename and change signature
931 (printKey): use LyXKeySym::print()
933 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
935 * undo.C: add using std::advance to compile for stlport
937 2004-03-24 Angus Leeming <leeming@lyx.org>
939 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
940 it leads to a crash when no buffer is present.
942 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
943 Martin Vermeer <martin.vermeer@hut.fi>
945 * lyxfunc.C (dispatch):
946 * bufferparams.C (readToken): use the new LColor::setColor
948 * LColor.[Ch] (setColor): new version that takes two strings as
949 argument and creates a new color entry if necessary
951 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
953 * buffer.C (makeLaTeXFile): if the main latex file that is
954 processed is usually a subdocument of some master, then pretend
955 for a while that it is actually the master
957 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
959 * buffer.C (getLabelList):
960 (getBibkeyList): use getMasterBuffer()
961 (getMasterBuffer): new method. Returns the main document in the
962 case where one is using included documents.
964 2004-03-25 André Pönitz <poenitz@gmx.net>
968 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
970 * ParagraphList_fwd.h: change ParagraphList to a std::vector
972 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
973 text*.C over here. Rename namespace CutAndPaste to lyx::cap
975 * ParameterStruct.h: merge with ParagraphParameters
977 * lyxtext.h: remove LyXText::parOffset() and getPar()
979 * text3.C: Remove all 'manual' update calls. We do now one per user
980 interaction which is completely sufficient.
984 * BufferView_pimpl.C:
987 * ParagraphParameters.[Ch]:
999 * output_docbook.[Ch]:
1000 * output_latex.[Ch]:
1001 * output_linuxdoc.[Ch]:
1002 * output_plaintext.[Ch]:
1004 * paragraph_funcs.[Ch]:
1005 * paragraph_pimpl.[Ch]:
1013 * frontends/controllers/ControlDocument.C:
1014 * frontends/controllers/ControlErrorList.C:
1015 * frontends/controllers/ControlSpellchecker.C:
1018 * insets/insetbase.h:
1019 * insets/insetbibitem.C:
1020 * insets/insetbox.C:
1021 * insets/insetbranch.C:
1022 * insets/insetcaption.C:
1023 * insets/insetcharstyle.C:
1024 * insets/insetcharstyle.h:
1025 * insets/insetcollapsable.C:
1026 * insets/insetcollapsable.h:
1027 * insets/insetert.C:
1028 * insets/insetfloat.C:
1029 * insets/insetfoot.C:
1030 * insets/insetmarginal.C:
1031 * insets/insetnote.C:
1032 * insets/insetoptarg.C:
1033 * insets/insettabular.C:
1034 * insets/insettext.C:
1035 * insets/insettext.h:
1036 * insets/insetwrap.C:
1037 * mathed/math_mboxinset.C:
1038 * mathed/math_nestinset.C:
1039 * mathed/math_scriptinset.C:
1040 * mathed/math_scriptinset.h:
1043 2004-03-24 Angus Leeming <leeming@lyx.org>
1045 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1046 deal with any child processes that have finished but are waiting to
1047 communicate this fact to the rest of LyX.
1049 2004-03-24 Angus Leeming <leeming@lyx.org>
1051 64-bit compile fixes.
1053 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1054 (c-tor): pass lyx::pos_types rather than ints.
1056 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1059 * text.C (Delete): compile fix.
1060 (getPar): ensure that function declaration is the same as that in
1063 2004-03-23 Angus Leeming <leeming@lyx.org>
1065 * ispell.C (LaunchIspell):
1066 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1067 a boost::shred_ptr rather than a std::auto_ptr.
1069 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1072 handle LFUN_FILE_INSERT_*
1074 * lyxrc.C (setDefaults, getDescription, output, read):
1075 * lyxrc.h: remove ps_command
1077 2004-03-22 Angus Leeming <leeming@lyx.org>
1079 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1080 Ensure that error_handler is processed once only and that all data
1081 is saved before attempting to output any warning messages.
1083 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1085 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1087 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1089 2004-03-19 André Pönitz <poenitz@gmx.net>
1091 * cursor.[Ch] (reset): take main text inset as argument
1093 * BufferView: adjust
1094 * BufferView_pimpl.C: adjust
1096 * paragraph.[Ch]: fix completely broken operator=()
1098 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1100 * LColor.C (getFromLyXName): make sure that the color name is used
1103 2004-03-17 Angus Leeming <leeming@lyx.org>
1106 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1108 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1109 dialog and to kill a forked process.
1111 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1113 * text2.C (setCursorFromCoordinates): fix font problem
1115 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1117 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1118 bogus "rebuild cursor" code
1120 2004-03-11 André Pönitz <poenitz@gmx.net>
1122 * buffer.[Ch]: use InsetText instead of LyXText as container for
1125 * dociterator.[Ch]: drop the BufferView * member which is not needed
1126 anymore after the change to buffer.C
1128 * paragraph_funcs.C:
1132 * BufferView_pimpl.[Ch]:
1134 * cursor_slice.[Ch]: adjust
1136 * text3.C: fix bug in mathDispatch
1138 2004-03-08 André Pönitz <poenitz@gmx.net>
1140 * undo.[Ch]: use 'StableDocumentIterator' as base for
1143 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1146 * bufferparams.[Ch]: add jurabib support and param.
1148 * LaTeX.C: add FIXME/comment.
1150 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1152 * buffer.C: increment file format to 230.
1154 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1156 * cursor.C (dispatch): avoid infinite loops
1158 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1160 * rowpainter.C (paintSelection): fix x coordinates
1162 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1164 * text.C (rowBreakPoint): fix breaking before displayed insets
1166 2004-03-01 André Pönitz <poenitz@gmx.net>
1168 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1170 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1174 * BufferView_pimpl.C:
1182 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1188 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1189 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1191 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1193 * Bidi.[Ch] (computeTables): const correctness
1194 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1195 fill_hfill, fill_label_hfill and x from Row
1196 * lyxtext.h: prepareToPrint returns a RowMetrics
1197 * rowPainter.C: adjust
1198 * text.C (prepareToPrint): use width, not textWidth. adjust
1199 (redoParagraphInternal, cursorX): adjust
1200 * text2.C (getColumnNearX): adjust
1201 (init): put a default value to the top LyXText::width
1203 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1205 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1207 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1209 * lyxtext.h: add FontIterator class
1211 * text.C (FontIterator, operator*, operator->, operator++): add
1212 (rowBreakPoint, setRowWidth): adjust (fixing a
1215 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1217 * BufferView_pimpl.C (workAreaDispatch): allow also
1218 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1220 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1222 * text.C (rowBreakPoint): fix a bug showing with very large insets
1224 2004-02-25 André Pönitz <poenitz@gmx.net>
1227 * cursor.[Ch]: move some mathed specific code to mathed
1229 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1231 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1232 use_tempdir in preferences
1233 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1235 * lyx_main.C: ensure that tempdir is valid
1236 * lyxlex.h: correct typo
1237 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1238 * paragraph.[Ch] (isMultiLingual): make const
1239 * cursor.[Ch] (openable): make const
1241 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1243 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1245 2004-02-20 André Pönitz <poenitz@gmx.net>
1247 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1249 * cursor.[Ch]: prepare for localized getStatus()
1255 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1257 2004-02-20 André Pönitz <poenitz@gmx.net>
1259 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1261 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1263 * text2.C (setCursorFromCoordinates): switch to absolute coords
1265 (cursorDown): adjust
1266 * text3.C (dispatch): adjust
1268 2004-02-16 André Pönitz <poenitz@gmx.net>
1270 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1273 * cursor_slice.[Ch]: remove unneeded acessor function
1275 * lyxtext.h: rename rtl() to isRTL()
1283 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1285 * rowpainter.C (paintSelection): coord fix
1287 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1289 * Spacing.C: compile fix
1291 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1293 * cursor.C (dispatch): restore current_ before returning
1295 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1297 * text2.C (cursorUp, cursorDown): fix coords
1300 2004-02-12 André Pönitz <poenitz@gmx.net>
1305 * text3.C: add LCursor & parameter to most cursor movement functions
1306 remove usage of LyXText::cursorRow() and cursorPar()
1308 * cursor.[Ch]: add textRow() needed members
1311 * BufferView_pimpl.C:
1314 * BufferView_pimpl.C: adjust
1316 2004-02-11 André Pönitz <poenitz@gmx.net>
1320 * BufferView_pimpl.C: shift undo/redo handling
1322 * cursor.[Ch]: fix mathed crash
1325 * lyxtext.h: move selectionAsText to LCursor
1333 * rowpainter.C: fix excessive drawing
1335 2004-02-06 André Pönitz <poenitz@gmx.net>
1338 * BufferView_pimpl.[Ch]:
1339 * text3.C: move some text specific LFUN handling
1341 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1343 * text3.C (checkInsetHit): adjust coords
1344 * text2.C (getColumnNearX): adjust coords
1345 (edit): adjust coords
1346 * text.C (getRowNearY): add two asserts
1348 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1351 * format.C: add using std::distance to compile on gcc 2.95/stlport
1353 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1355 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1357 2004-02-04 André Pönitz <poenitz@gmx.net>
1359 * BufferView.[Ch] (insertInset):
1360 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1365 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1367 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1368 on the default clause of the switch
1369 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1370 wasn't catched by LCursor::dispatch
1372 2004-02-03 André Pönitz <poenitz@gmx.net>
1375 * cursor.[Ch]: some additional asserts
1377 * undo.[Ch]: remove LyXText dependency in interface
1381 * lyxtext.h (firstPar, lastPar): remove dead functions
1386 * paragraph.[Ch]: adjust
1388 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1390 * lyxfind.C (find): fix argument order in call to ::find
1392 2004-02-02 André Pönitz <poenitz@gmx.net>
1394 * cursor.[Ch]: remove direct access to anchor
1396 * text.C: remove findText() hack
1398 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1400 * iterators.[Ch] (lockPath): remove in favour of...
1401 * BufferView.[Ch] (setCursor): this addition
1402 * BufferView.C (putSelectionAt): adjust
1403 * undo.C (performUndoOrRedo): adjust
1404 * lyxfunc.C (dispatch): adjust
1406 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1408 * iterators.C (lockPath): add a missing slice
1409 * undo.C (performUndoOrRedo): remove redundant positioning code
1411 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1413 * vc-backend.C (scanMaster): ";" -> ';'
1415 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1417 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1418 std::binary_function
1420 * lyxtextclass.C (compare_name): rename to...
1421 (LayoutNamesEqual): ...this
1423 * lyxlex_pimpl.C (compare_tags): inherit from
1424 std::binary_function, put back into anon namespace
1426 * lyxfind.C (MatchString): inherig from std::binary_function
1427 (findChange): use empty() istead of !size()
1429 * format.C (FormatNamesEqual): new functor
1436 * converter.C (compare_Converter): rename to...
1437 (ConverterEqual): ...this, and fixup a bit.
1438 (getConverter): use it, and make function const
1439 (getNumber): use it, and make function const
1443 * bufferlist.C: add using boost::bind
1445 * MenuBackend.C (MenuNamesEqual): new functor
1446 (hasMenu): use it, and make function const
1447 (hasSubmenu): use nested bind to get rid of compare_memfun.
1449 2004-01-30 André Pönitz <poenitz@gmx.net>
1451 * BufferView_pimpl.C:
1454 * cursor_slice.[Ch]:
1457 * paragraph_funcs.C:
1458 * paragraph_funcs.h:
1462 * text3.C: move some of the edit(x,y) handling to the insets
1463 some coordinate changes.
1465 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1467 * text.C: add using statements for std::advance and std::distance
1469 * paragraph.C: add using statement for std::distance
1471 * lyxfind.C: add using statement for std::advance
1473 * cursor.C (region): remove std:: from swap
1474 (openable): use nucleus in stead of operator->
1476 * BufferView.C: add using statements for std::distance and std::swap
1478 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * iterators.C: Remove the pimple, move the needed structures to
1481 the header file. Create accessor for the positions stack.
1482 (asPosIterator): remove function
1484 * PosIterator.C (PosIterator): move constructors to top of file
1485 (PosIterator): reimplement the constructor taking a ParIterator in
1487 (setFrom): new function
1488 (operator!=): inline it
1490 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1492 * lyxfind.C (replaceAll): use std::advance
1494 * iterators.h: inherit from std::iterator.
1496 * PosIterator.C (advance, distance): remove
1497 * PosIterator.h: interit from std::iterator.
1499 2004-01-26 André Pönitz <poenitz@gmx.net>
1502 * BufferView_pimpl.[Ch]:
1506 * bufferview_funcs.C:
1516 * output_linuxdoc.C:
1517 * output_plaintext.C:
1519 * paragraph_funcs.[Ch]:
1520 * paragraph_pimpl.[Ch]:
1526 * text3.C: more IU: dumps most of the rest of the mathcursor
1527 implementation into cursor.[Ch]; "globalize" a bit of it.
1529 2004-01-25 Angus Leeming <leeming@lyx.org>
1531 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1533 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1535 * LaTeXFeatures.h: add nice_ and nice() const
1536 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1538 2004-01-20 André Pönitz <poenitz@gmx.net>
1541 * BufferView_pimpl.C:
1543 * bufferview_funcs.C:
1545 * cursor_slice.[Ch]:
1556 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1557 LCursor and mathcursor parts to LCursor and InsetBase.
1559 2004-01-15 André Pönitz <poenitz@gmx.net>
1561 * cursor_slice.[Ch]: add a few covienience functions
1563 * funcrequest.[Ch]: remove BufferView * member
1565 * BufferView_pimpl.C:
1572 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1574 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1576 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1577 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1579 2004-01-13 André Pönitz <poenitz@gmx.net>
1582 * lyxtext.h: hide cursor and selection anchor behind accessor function
1585 * BufferView_pimpl.[Ch]:
1587 * bufferview_funcs.C:
1597 * cursor_slice.[Ch]: some integer type changes for inset unification
1599 * lyxcursor.[hC]: remove, it's CursorSlice now.
1602 * BufferView_pimpl.[Ch]:
1603 * bufferview_funcs.C:
1609 * textcursor.[Ch]: adjust
1611 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1613 * text2.C (undoSpan): add and use
1614 * text.C (breakParagraph): use undoSpan (fix bug 578)
1617 2004-01-08 Angus Leeming <leeming@lyx.org>
1619 * BufferView_pimpl.C (MenuInsertLyXFile):
1620 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1621 * lyxfunc.C (menuNew, open, doImport):
1622 FileFilterList change to the FileDialog open and save functions.
1624 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1626 * ShareContainer.h: make isEqual and isUnique adaptable
1628 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1630 2004-01-07 Angus Leeming <leeming@lyx.org>
1633 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1635 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1637 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1638 functions replacing find, replace and replaceAll.
1640 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1641 LFUN_WORDFIND(FORWARD|BACKWARD).
1643 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1645 * text.C (breakParagraph): remove an outdated #warning
1647 2004-01-07 André Pönitz <poenitz@gmx.net>
1649 * lyxfind.C: somewhat clearer logic
1651 * text.C: prevent crash in cursorX on unitialized row cache
1653 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1655 * lyxcursor.[Ch] (operator>): add
1656 * textcursor.C (selStart, selEnd): use std::min and std::max
1658 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1660 * Chktex.C: include boost/format.hpp
1662 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1664 * InsetList.C: replace functor MathcIt with adaptable functor
1666 (insetIterator): modify accordingly
1668 * BranchList.h: move the BranchNamesEqual functor here from...
1669 * BranchList.C: ... to here
1671 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1673 (add): replace a finding loop with std::find_if.
1675 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1677 * output_docbook.C: moving LatexParam functionality into
1680 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1682 * buffer.C: increment format to 229.
1684 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1687 * lyx_sty.[Ch]: remove minipageindent_def
1693 * text3.C: remove LFUN_INSET_MINIPAGE
1695 2003-12-28 Angus Leeming <leeming@lyx.org>
1697 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1699 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1701 * text2.C (setParagraph): fix off-by-one crash
1703 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1705 * output_docbook.C: header stuff for AGU
1707 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1709 * text2.C (redoCursor): remove
1712 * BufferView_pimpl.C: remove calls to redoCursor and
1713 setCursor(cursor.par(), cursor.pos()) all around
1715 2003-12-15 Angus Leeming <leeming@lyx.org>
1717 * buffer.C: up the format to 228.
1719 2003-12-15 André Pönitz <poenitz@gmx.net>
1721 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1726 * BufferView_pimpl.C:
1735 2003-12-15 Angus Leeming <leeming@lyx.org>
1737 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1738 than getFromGUIName to manipulate the color.
1740 2003-12-14 Angus Leeming <leeming@lyx.org>
1742 * BranchList.[Ch]: minimize the API.
1743 (Branch::getBranch, getColor): now return a 'const &'.
1744 (Branch::setSelected) now returns a bool set to true if the
1745 selection status changes.
1746 (BranchList::clear, size, getColor, setColor, setSelected,
1747 allBranches, allSelected, separator): removed.
1748 (BranchList::find): new functions, returning the Branch with
1750 (BranchList::add, remove): return a bool indicating that
1751 the operation was successful.
1753 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1754 new InsetBranch::isBranchSlected member function.
1756 * LColor.[Ch]: mimimize the API.
1757 (fill): renamed as addColor and made private.
1758 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1759 versions of these functions taking a string arg have been removed.
1761 * bufferparams.C (readToken):
1762 * lyxfunc.C (dispatch):
1763 * lyxrc.C (read): changes due to the altered BranchList and
1766 * factory.C (createInset, readInset): changes due to altered
1769 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1772 * lyxfunc.C: remove insetminipage. "minipage-insert"
1773 now produces a frameless minipage box inset.
1775 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1777 * textcursor.[Ch] (selStart,selEnd): add new methods
1778 remove selection::start, end, use LyXCursor::operator<
1779 * lyxcursor.[Ch] (operator<): add
1780 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1781 * BufferView.[Ch] (unsetXSel): add
1782 * text2.C (clearSelection): use unsetXSel,adjust
1785 * rowpainter.C: adjust
1786 * bufferview_funcs.C (put_selection_at): adjust
1788 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1790 * BufferView_pimpl.C: small coord. correction
1792 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1794 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1795 dragging over the splash screen.
1797 2003-12-11 Angus Leeming <leeming@lyx.org>
1799 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1800 as it is now handled in LyXText::dispatch.
1802 * text3.C (doInsertInset): remove a level of nesting.
1804 2003-12-11 Angus Leeming <leeming@lyx.org>
1806 * factory.C (createInset): changes due to the changed interface to
1807 InsetCommandMailer::string2params.
1809 2003-12-10 Angus Leeming <leeming@lyx.org>
1811 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1812 'dialog-show-new-inset <inset name>'
1814 2003-12-10 Angus Leeming <leeming@lyx.org>
1816 * buffer.C: up the format to 227.
1818 * factory.C: the box inset is now identified simply by 'Box'.
1820 2003-12-10 Angus Leeming <leeming@lyx.org>
1822 * buffer.C: up the format to 226.
1824 * factory.C: the note inset is now identified simply by 'Note'.
1826 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1828 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1829 when a pit is enough. Standarize a couple of loops.
1831 2003-12-05 Angus Leeming <leeming@lyx.org>
1833 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1834 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1835 data to the re-worked "log" dialog.
1837 2003-12-03 André Pönitz <poenitz@gmx.net>
1843 * paragraph_funcs.C:
1845 * text2.C: use Inset::getText instead of Inset::getParagraph
1847 2003-12-03 André Pönitz <poenitz@gmx.net>
1851 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1852 InsetText::read() as LyXText::read()
1854 2003-12-02 Angus Leeming <leeming@lyx.org>
1856 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1857 type. Add a comment in the implementation that the function uses
1858 the stream's bad() function rather than fail() as the std::streams
1861 2003-12-02 André Pönitz <poenitz@gmx.net>
1863 * lyxlex.[Ch]: make interface more similar to std::stream
1865 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1867 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1869 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1871 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1873 * vspace.[Ch]: remove VSpace::NONE
1875 2003-12-01 André Pönitz <poenitz@gmx.net>
1878 * lyxtext.h: move ParagraphList member to LyXText
1879 rename LyXText::ownerParagraphs to LyXText::paragraph
1882 * bufferview_funcs.C:
1892 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1894 * undo.C: fix cursor positioning
1896 2003-12-01 John Levon <levon@movementarian.org>
1898 * BufferView_pimpl.C: fix a crash on exit with
1901 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1903 * BranchList.C: fix setSelected() method.
1905 2003-11-28 André Pönitz <poenitz@gmx.net>
1907 * ParagraphParameters.[Ch]:
1908 * ParameterStruct.h: remove space above/below from Paragraph to
1911 * BufferView_pimpl.C:
1917 * paragraph_funcs.C:
1923 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1925 * factory.C: Syntax change for CharStyles
1927 2003-11-28 André Pönitz <poenitz@gmx.net>
1932 * buffer.[Ch]: move LyXText member
1934 2003-11-28 André Pönitz <poenitz@gmx.net>
1936 * BufferView.[Ch]: make LyXText * text a private member
1938 * BufferView_pimpl.C:
1949 * output_plaintext.C: cleanup
1951 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1954 * lyxtextclass.[Ch]: parametrize SGML document header
1956 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1959 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1962 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1964 * text2.C (setFont): rework using PosIterator (no more recursive)
1965 (setCharFont): no more needed
1966 (setLayout): no more selection cursors fiddling (done by redoCursor)
1967 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1968 destroy remaining ones)
1970 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1972 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1974 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1977 * text3.C: adjust + re-allow multi par depth changes
1978 * textcursor.C: simplify a bit
1980 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1986 * src/output_docbook.C:
1987 * src/output_latex.C:
1992 * src/text2.C: Introducing a number of tags parametrizing various
1993 XML formats that we may want to support
1995 2003-11-25 André Pönitz <poenitz@gmx.net>
1997 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1999 * lyxtext.h (leftMargin/rightMargin): simplify interface
2006 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2008 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2009 master file to any child files. Fixes bug 546.
2011 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2013 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2015 2003-11-24 André Pönitz <poenitz@gmx.net>
2017 * rowpainter.C: simplification
2019 * text2.C (updateCounters): remove call to redoParagraph on
2020 changed labels as this is far too expensive.
2022 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2024 * converter.C (convert): fix a crash: this function gets
2025 called with buffer == 0 from importer code.
2027 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2029 * text3.C (cursorPrevious): make sure that we do not compare
2030 iterators form different containers.
2033 * rowpainter.C (paintSelection): make sure that we do not compare
2034 iterators from different containers.
2036 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2037 iterators from different ParagraphList containers.
2040 * text2.C (LyXText): change order of initialization slightly
2041 (operator=): new function. copy all variables except cache_par_
2042 (moveUp): make sure that we do not compare iterators from
2043 different ParagraphList constainers.
2046 * text.C (firstPar): new function
2047 (lastPar): new function
2048 (endPar): new function
2050 * lyxtext.h: move things around and group public functions, public
2051 variables, private functions, private variables
2053 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2055 * factory.C: change call to InsetERT constructor to avoid
2056 additional invocation of method status
2057 * text2.C (toggleInset): remove redundant update() call
2058 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2059 instead of a Bufferview pointer
2061 2003-11-21 André Pönitz <poenitz@gmx.net>
2063 * rowpainter.C: simplification
2065 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2067 * text3.C (dispatch): make possible to extend a word/row selection
2070 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2072 * lyxtext.h: x0_,y0_ -> xo_,yo_
2073 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2074 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2075 * rowpainter.C (paintRows): paint full paragraphs
2077 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2079 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2082 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2084 * lyxtext.h: add x0_, y0_
2085 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2086 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2088 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2090 * text2.C (setCursorIntern): move the x_target update here *
2091 * text3.C: change some bv() to true/false in calls to
2092 cursorUp/Down/Right/Left
2093 * cursor.C: use helper function.
2095 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2097 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2098 * paragraph_funcs.[Ch]: correct comment
2099 * rowpainter.C: do not paint selections away from bv->cursor()
2100 Fix a long standing selection painting bug.
2101 * text3.C: generalize mouse-selection code to LyXTexts other that
2103 * textcursor.C: do not use y coords if we can use par offsets
2105 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2107 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2108 cursor position after e.g. inset insert)
2110 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2112 * lyxfind.C (replace): adjust to locking removal + some
2115 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2117 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2120 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2123 * output_docbook.C: XML sanitation: new layout
2124 parameters InnerTag and CommandDepth
2126 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2128 * BufferView_pimpl.C:
2130 * text3.C: Fix the insertion and modification of button-style
2133 2003-11-13 André Pönitz <poenitz@gmx.net>
2135 * InsetList.[Ch]: remove deleteLyXText
2137 * paragraph.[Ch]: cache beginOfBody position
2142 * text3.C: remove superfluous update() calls
2146 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2148 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2149 * BufferView.C (fitLockedInsetCursor): remove
2150 * cursor.[Ch] (getDim): add
2151 * text.C (getRowNearY): add faster version
2152 * text3.C: remove some update calls
2154 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2166 * text3.C: The Character Style /XML short element patch.
2168 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2171 * factory.C: Small step to solving 'unable to insert some insets'
2174 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2176 * cursor.[Ch] (updatePos): new function for updating the y
2177 position of the tip inset
2178 * bufferview_funcs.C (put_selection_at):
2179 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2181 2003-11-11 André Pönitz <poenitz@gmx.net>
2183 * text.C: remove big comment on invalid Paragraph pointers as it is
2186 2003-11-11 André Pönitz <poenitz@gmx.net>
2188 * text_funcs.[Ch]: merge with ...
2196 * Makefile.am: remove text_funcs.[Ch]
2198 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2200 * cursor.C (getPos): return absolute cached y coord
2202 * BufferView_pimpl.C (fitCursor): new simplistic code
2203 (workAreaDispatch): add a fitCursor call
2205 2003-11-10 André Pönitz <poenitz@gmx.net>
2208 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2210 2003-11-10 André Pönitz <poenitz@gmx.net>
2212 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2213 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2214 indicate that the cursor needs to leave an inset
2216 * lyxtext.h: remove inset locking
2218 * cursor.[Ch]: re-implement functionality provided by inset locking
2221 * BufferView_pimpl.[Ch]:
2223 * bufferview_funcs.[Ch]:
2235 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2237 * PosIterator.[Ch]: replace the stack with a vector, add inset
2239 * iterators.[C]: adjust
2241 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2243 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2245 * paragraph_funcs.C (readParToken): put the correct id in the
2246 error item, not the id of the top paragraph
2248 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2250 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2251 * bufferview_funcs.C (put_selection_at): use the above
2253 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2255 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2257 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * output_linuxdoc.h:
2260 * output_plaintext.h:
2262 * output_docbook.h: add #include statements
2264 2003-11-05 José Matos <jamatos@lyx.org>
2266 * output_docbook.[Ch]:
2267 * output_latex.[Ch]:
2268 * output_linuxdoc.[Ch]:
2269 * output_plaintext.[Ch]: New files for output formats.
2270 * output.[Ch]: New file for helper functions.
2273 * paragraph_funcs.[Ch]: output functions moved to new files.
2275 * outputparams.h: rename of latexrunparams.h
2283 * paragraph_funcs.[Ch]:
2284 * paragraph_pimpl.[Ch]:
2285 * tabular.[Ch]: rename ascii to plaintext
2286 and LatexRunParams to OutputParams.
2288 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2290 * iterators.[Ch] (text): require bv argument
2291 * undo.C (recordUndo):
2292 * lyxfunc.C (dispatch):
2293 * bufferview_funcs.C (put_selection_at): adjust
2295 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2297 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2299 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2301 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2304 2003-11-04 André Pönitz <poenitz@gmx.net>
2306 * cursor.[Ch]: restructure
2309 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2311 * iterators.[Ch] (asCursor): remove
2313 * lfuns.h: remove LFUN_INSET_EDIT
2319 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2321 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2323 * lyxfind.[Ch]: complete overhaul
2324 * BufferView_pimpl.C:
2326 * paragraph.[Ch] (insert): add
2328 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2332 * text.C: remove dead spellcheck code
2334 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * dispatchresult.h: add a val setter
2338 * cursor.C (dispatch): use a tempvar for data_[i]
2340 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2342 * PosIterator.[Ch]: compile fix
2344 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2346 * text.C (cursorPar): deactivate the cursor cache
2348 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2350 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2352 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * text3.C (dispatch): adjust for new DisptchResult semantics.
2356 * lyxfunc.C (dispatch): handle update when return from
2357 Cursor::dispatch, adjust for new DispatchResult semantics.
2359 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2360 DispatchResult(true) mean to not update. Add class functions for
2361 setting dispatched and update, as well as reading.
2363 * cursor.C (dispatch): don't handle update here
2365 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2367 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2368 * trans_mgr.C: adjust
2370 * paragraph_funcs.C (readParToken): exception safety
2372 * lyxvc.h: store the vcs pointer in a scoped_ptr
2375 * lyxsocket.C (serverCallback): exception safety
2377 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2379 * ispell.C (clone): make it return a auto_ptr
2381 * factory.C (createInset): exception safety
2382 (readInset): exception safety
2384 * bufferlist.C (newBuffer): exception safety
2386 * Thesaurus.C (Thesaurus): use initialization for aik_
2388 * MenuBackend.C (expandToc): exception safety.
2390 2003-11-03 André Pönitz <poenitz@gmx.net>
2394 * bufferview_funcs.C: remove getInsetFromId()
2397 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2403 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2405 * PosIterator.C (distance, advance): new
2406 * bufferview_funcs.[Ch] (put_selection_at): new
2407 * iterators.[Ch] (lockPath): new
2409 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2411 * iterators.[Ch] (asPosIterator): added
2412 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2413 * PosIterator.[Ch]: added
2415 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * cursor.C (dispatch):
2420 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2422 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2423 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2424 contructor, add a class function dispatched. Remove operator>=
2426 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * debug.C: only use the default constructor for debugstream
2431 * main.C (main): include debug.h and setup the lyxerr streambuf
2434 2003-10-31 José Matos <jamatos@lyx.org>
2436 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2438 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2439 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2440 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2441 * paragraph_pimpl.C (simpleTeXSpecialC):
2442 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2443 add LatexRunParams argument.
2445 * exporter.C (Export): change call accordingly.
2447 * latexrunparams.h: add new member to take care of the other backends.
2448 2003-10-30 José Matos <jamatos@lyx.org>
2450 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2451 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2452 factorise code for paragraph output.
2454 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2457 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * text3.C (dispatch):
2460 * lyxfunc.C (dispatch):
2461 * cursor.C (dispatch):
2462 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2464 * dispatchresult.h: make the dispatch_result_t ctor explicit
2466 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2469 * buffer.C: small refactoring of docbook stuff
2471 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2476 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2479 operator dispatch_result_t, and operators for == != and >=
2481 * cursor.C (dispatch): adjust for operator dispatch_result_t
2482 removal. comment out call to update
2484 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2486 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2497 * dispatchresult.h: new file, DispatchResult broken out of
2500 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2502 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2504 * text.C (rowBreakPoint): put a hack inside #if 0
2506 2003-10-28 André Pönitz <poenitz@gmx.net>
2510 * paragraph_funcs.C:
2513 * text2.C: general cleanup (lots of small stuff)
2515 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2517 * text2.C (cursorEnd): simple fix to the "end key goes to one
2518 before the end on last row" bug
2520 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2522 * text.C (backspace): fix the "zombie characters"
2524 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2526 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2528 2003-10-27 André Pönitz <poenitz@gmx.net>
2530 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2532 * factory.C: handle new InsetPagebreak, InsetLine
2534 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2535 and move handling into new InsetPagebreak, InsetLine
2537 * BufferView_pimpl.C:
2539 * ParagraphParameters.C:
2540 * ParameterStruct.h:
2545 * paragraph_funcs.C:
2546 * paragraph_pimpl.C:
2552 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2555 * lyxrow_funcs.[Ch]:
2561 * text3.C: remove lastPos uses in favour of Row::endpos
2563 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2565 * undo.C (performUndoOrRedo): fix two crashes by setting a
2566 cursor by hand and reordering some calls. Use bv->lockInset instead
2567 of inset->edit because the latter loses cursor information
2569 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2571 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2573 (rowBreakPoint): fix width. change point to point + 1.
2574 Add a missing check.
2576 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2579 * lyxfunc.C: fix (at least partly) the problems
2580 with the Nav menu and headers inside branch insets
2583 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2585 * paragraph.C (getChar): add strong asserts
2587 * lyxrow_funcs.C (lastPos): remove hideous hack
2589 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2590 (fill): adjust to that (avoid an infinite loop)
2592 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2594 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2596 2003-10-23 André Pönitz <poenitz@gmx.net>
2598 * RowList_fwd.h: change list<> to vector<> to gain speed
2599 after suggestion from Alfredo
2601 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2603 * lyxtext.h: move the bidi stuff from here...
2606 * Bidi.[Ch]: ... to here
2608 2003-10-23 André Pönitz <poenitz@gmx.net>
2611 * text.C (isLastRow, isFirstRow): new functions
2613 * paragraph.h: new width cache member
2615 * rowpainter.C: replace RowList::iterator with Row & where possible
2617 * lyxfunc.C: replace several view()->text with a single call
2619 * toc.C: fix 'unused' warning
2621 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2624 when woring with stream::pos_type
2625 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2627 2003-10-22 André Pönitz <poenitz@gmx.net>
2630 * text.C: use Row & instead of RowList::iterator
2632 * lyxrow.h: rename end() to endpos()
2638 2003-10-22 Angus Leeming <leeming@lyx.org>
2640 * buffer.[Ch] (fully_loaded): new member function, returning true
2641 only when the file has been loaded fully.
2642 Used to prevent the premature generation of previews and by the
2643 citation inset to prevent computation of the natbib-style label.
2645 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2646 templates are all set up.
2648 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2650 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2652 * text.C: fixed an "oops" in the "is a bit silly"
2655 2003-10-21 André Pönitz <poenitz@gmx.net>
2657 * FuncStatus.[Ch]: small stuff, whitespace
2659 * lyxfont.[Ch]: operator<<() for debug reasons
2663 * lyxtext.h: whitespace, spelling
2665 * paragraph.C: naming of variables
2668 * text2.C: small stuff
2671 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2673 * text.C: (1) finish off the inset display() work;
2674 (2) fix the "is a bit silly" bug (accessing char
2677 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2679 * text.C: re-introduce display() for insets, fixing the
2680 various bugs (stretch of line above, math inset
2683 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * text.C (rightMargin): remove spurious semicolon
2687 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2690 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2692 * text3.C: fix one crash due to wrong cursor def
2694 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * vc-backend.C (scanMaster): make the regex static
2698 * LaTeX.C (scanAuxFile): make the regexs static
2700 * text3.C (doInsertInset, dispatch, dispatch):
2701 * text2.C (cursorUp, cursorDown):
2702 * text.C (selectNextWordToSpellcheck):
2703 * BufferView_pimpl.C (dispatch):
2704 * lyxfunc.C (dispatch): localDispatch -> dispatch
2706 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2708 * lyxsocket.C: include <cerrno>
2710 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * lyxfunc.C (dispatch): remove textcache stuff
2714 * bufferlist.C (release): remove textcache stuff
2717 * TextCache.C: delete file
2718 * TextCache.h: delete file
2720 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2722 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2723 delete of the bv_->text.
2724 (resizeCurrentBuffer): remove texcache stuff
2725 (workAreaResize): ditto
2727 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2732 2003-10-16 André Pönitz <poenitz@gmx.net>
2739 * text3.C: speed up by storing y positions per paragraph plus per-row
2740 offset instead of having a 'full' y position in the row.
2742 2003-10-15 André Pönitz <poenitz@gmx.net>
2746 * undo.[Ch]: make undo aware of inner insets
2748 2003-10-14 Angus Leeming <leeming@lyx.org>
2750 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2751 static member functions LyX::ref() and LyX::cref.
2752 (lastfiles): new accessor functions for the new lastfiles_ member var.
2753 (addLyXView, views_): add a new LyXView to the list of views_.
2754 (updateInset): loop over all LyXViews to call their own updateInset
2755 member function, returning a pointer to the Buffer owning the inset.
2757 * BufferView_pimpl.C (loadLyXFile):
2758 * MenuBackend.C (expandLastfiles):
2759 * bufferlist.C (MenuWrite, QuitLyX):
2760 lastfiles is no longer a global variable.
2761 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2763 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2764 static function. Access through LyX::cref().emergencyCleanup().
2766 2003-10-14 André Pönitz <poenitz@gmx.net>
2768 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2770 * undo.[Ch]: restoring part of 'undo in insets'
2773 * undo_funcs.[Ch]: merge with undo.[Ch]
2775 * tabular.C: small cleansing stuff
2777 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2779 * paragraph_funcs.C (readParToken): report unknown insets as error
2780 boxes. Use the outer paragraph as location (also for unknown
2783 * factory.C (readInset): do not abort on reading an unknown inset.
2784 Eat it and return 0.
2786 2003-10-13 Angus Leeming <leeming@lyx.org>
2788 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2790 * lyxrc.C: displayTranslator is now a function,
2791 declared in GraphicsTypes.h.
2793 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2795 * format.C: new placeholder $$a to pass the socket address.
2797 * bufferlist.[Ch]: new function getBufferFromTmp.
2799 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2800 files in the temporary dir.
2802 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2804 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2806 * Makefile.am: add lyxsocket.[Ch].
2808 * lyx_main.C (error_handler): handle SIGPIPE.
2810 2003-10-13 André Pönitz <poenitz@gmx.net>
2812 * BufferView_pimpl.C:
2817 * undo_funcs.[Ch]: use paroffset_type instead of
2818 ParagraphList::iterators to prevent multiple conversion
2819 (and get a more robust interface)
2821 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2825 * text3.C (dispatch): ditto
2827 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2830 move the onlyfile, use onlyfile instead of foundfile in a couple
2833 * DepTable.C (update): flush the error stream a bit more
2835 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * lyxserver.C (callback): adjust
2839 * lyxfunc.C (getStatus): add a missing brace in commented code
2840 (ensureBufferClean): reindent
2841 (dispatch): delete version taking a string
2843 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * LaTeX.C (deplog): move found file handlig from here...
2846 (handleFoundFile): .. to new function here.
2847 (deplog): make sure to discover several files mentioned on the
2850 2003-10-10 André Pönitz <poenitz@gmx.net>
2857 * text3.C: fix some of the tabular crashes
2859 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2861 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2863 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2865 2003-10-09 André Pönitz <poenitz@gmx.net>
2867 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2870 * BufferView_pimpl.C:
2871 * bufferview_funcs.C:
2882 * undo_funcs.C: adjust
2884 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2886 * text2.C (incrementItemDepth): new function, use a backtracking
2887 algorithm to discover the correct item depth.
2888 (resetEnumCounterIfNeeded): new function, use a backtracking
2889 algorithm to discover if counter reset is needed.
2890 (setCounter): use them. Simplify a bit. Add different labels for
2891 different item depths for itemize.
2893 * paragraph.C (Paragraph): remove initialization of enumdepth
2896 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2897 enumerate and itemize. Change the type of itemdepth to signed char.
2899 2003-10-08 André Pönitz <poenitz@gmx.net>
2901 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2906 * tabular.[Ch]: fix crash after 'row-insert'
2908 2003-10-08 Angus Leeming <leeming@lyx.org>
2910 Fix doxygen warnings.
2912 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2913 Remove CutAndPaste:: prefix from header file declaration.
2915 * LColor.h (fill): remove LColor:: prefix from declaration.
2917 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2918 use lyx::depth_type rather than Paragraph::depth_type so that
2919 header file and .C file match.
2921 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2923 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2924 * aspell.C: \file aspell_local.C -> \file aspell.C
2925 * gettext.C: \file gettext.C -> \file src/gettext.C
2926 * gettext.h: \file gettext.h -> \file src/gettext.h
2927 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2928 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2929 * text.C: \file text.C -> \file src/text.C
2931 * toc.C: move comment so that doxygen is not confused.
2933 2003-10-07 Angus Leeming <leeming@lyx.org>
2935 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2937 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2940 * aspell_local.h: add forgotten std::string's.
2942 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2949 * text3.C: The Box patch. Fancybox support, minipage, parbox
2951 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2957 * ParagraphParameters.h:
2967 * lyxtextclasslist.h:
2970 * paragraph_pimpl.C:
2971 * textcursor.h: add <string> and other small fixes to make Lars'
2972 std::string patch compile with STLport.
2974 2003-10-06 Angus Leeming <leeming@lyx.org>
2976 * LColor.h: Add missing #include <string>.
2978 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * All most all file in all subdirs: Make <string> be the prefered
2981 way of getting to std::string, add using declarations.
2983 2003-10-06 André Pönitz <poenitz@gmx.net>
2985 * metricsinfo.C: initialize LyXFont before changing attribute.
2986 (fixes the 'math in \emph is upright' bug)
2988 2003-10-06 André Pönitz <poenitz@gmx.net>
2990 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2992 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2995 * paragraph_pimpl.C: Small fixes to build using STLport
2997 2003-10-02 André Pönitz <poenitz@gmx.net>
3000 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3002 2003-10-01 André Pönitz <poenitz@gmx.net>
3004 * factory.C: assert early
3006 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3008 * lyx_main.C: remove the global debug object
3010 * debug.h: adjust for new debugstream
3012 * debug.C: adjust for new debugstream and keep the global debug
3015 2003-09-22 Angus Leeming <leeming@lyx.org>
3017 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3018 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3019 an incomplete class LyXFont.
3021 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3023 * factory.C: bug fix in branches
3025 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * lyxfunc.C (processKeySym): adjust
3029 (dispatch): change arg name from ev to func, adjust
3030 (sendDispatchMessage): ditto
3032 * lyx_main.C (defaultKeyBindings): adjust keybindings
3033 (deadKeyBindings): ditto
3035 * kbsequence.C (addkey): return a FuncRequest
3037 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3039 * kbmap.C (bind): take a FuncRequest as arg, adjust
3042 (defkey): change to take a FuncRequest as arg, adjust
3043 (findbinding): take a FuncRequest as arg, adjust.
3045 * funcrequest.h (operator=): added
3047 * funcrequest.C (FuncRequest): default kb_action changed from
3048 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3050 * buffer.C (dispatch): simplify
3051 (dispatch): adjust to take a FuncRequest as arg, adjust
3053 * boost.C (assertion_failed): change assertion message slightly
3055 * ToolbarBackend.C (read): simplify
3057 * MenuBackend.C (binding): adjust call to findbinding, add a
3058 message if no binding is found.
3060 (expandToc): correct by adding a empty FuncRequest
3062 * LyXAction.C: include <boost/assert.hpp>
3063 (isPseudoAction): delete function
3064 (LookupFunc): change name to...
3065 (lookupFunc): this. change return type to FuncRequest.
3066 (getActionName): take kb_action as arg, simplify
3067 (funcHasFlag): add an assert, simplify.
3069 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * toc.C (action): return a FuncRequest, simplify
3073 * lyxfunc.C (processKeySym): adjust
3074 (getStatus): delete version that takes an int.
3076 (dispatch): delete version that takes action as int
3078 (sendDispatchMessage): simplify and adjust
3080 * funcrequest.C (getArg): take unsigned int as arg
3082 * ToolbarBackend.C (read): adjust
3083 (add): delete version that takes func as a string.
3084 (getIton): take a FuncRequest as arg
3086 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3089 * MenuBackend.C (MenuItem): add a new construct that only takes a
3090 Kind, simplify the constructor use for submenus.
3092 (expandLastfiles): adjust
3093 (expandDocuments): adjust
3094 (expandFormats): adjust
3095 (expandFloatListInsert): adjust
3096 (expandFloatInsert): adjust
3097 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3099 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3100 Remove class variables lyx_pseudo_map and lyx_arg_map
3102 * LyXAction.C (searchActionArg): delete function
3103 (getPseudoAction): delete function
3104 (retrieveActionArg): delete function
3105 (LookupFunc): make it return kb_action, simplify.
3106 (getActionName): simplify
3108 * factory.C (createInset): fix new bug
3110 2003-09-19 Angus Leeming <leeming@lyx.org>
3112 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3113 masterFilename_ parameter in the include inset.
3115 * factory.C (createInset): changes due to the changes to InsetInclude.
3117 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3119 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3121 2003-09-18 Angus Leeming <leeming@lyx.org>
3124 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3125 Inset::fillWithBibKeys.
3126 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3128 2003-09-18 Angus Leeming <leeming@lyx.org>
3130 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3132 (ctor): pass and store a 'Buffer const &'
3133 (buffer): new member function.
3135 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3136 '*this' to the LaTeXFeatures ctor.
3138 2003-09-18 Angus Leeming <leeming@lyx.org>
3144 * text.C: rename EnumLColor as LColor_color.
3146 2003-09-18 Angus Leeming <leeming@lyx.org>
3148 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3149 remove #include "insets/insetbase.h" from cursor.h.
3151 2003-09-18 Angus Leeming <leeming@lyx.org>
3153 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3154 InsetOld_code to remove #include "inset.h".
3156 * iterators.C: add #include "insets/inset.h"
3158 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3160 * BufferView.C: remove more locking stuff that apparently doesn't
3161 do anything sensible.
3163 2003-09-16 André Pönitz <poenitz@gmx.net>
3166 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3169 2003-09-16 Angus Leeming <leeming@lyx.org>
3171 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3173 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3176 * paragraph.h: remove #include "lyxfont.h". Forward declare
3179 2003-09-16 Angus Leeming <leeming@lyx.org>
3181 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3182 of support/textutils.h.
3183 (isWord): move the contents of support/textutils.h's IsWordChar here.
3189 * text2.C: add #include "paragraph.h".
3192 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3194 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * LaTeX.C: use namespace alias for lyx::support::os
3202 2003-09-16 Angus Leeming <leeming@lyx.org>
3205 * bufferview_funcs.C:
3208 * paragraph_pimpl.C:
3210 * text.C: add #include "LColor.h".
3212 2003-09-16 Angus Leeming <leeming@lyx.org>
3214 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3215 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3217 Store the FontBits::color variable as an int rather than as an
3218 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3221 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3222 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3223 string calls together.
3225 * lyxrc.C: add #include "LColor.h".
3227 2003-09-15 Angus Leeming <leeming@lyx.org>
3229 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3232 2003-09-15 Angus Leeming <leeming@lyx.org>
3234 * LColor.h: add an EnumLColor wrapper for LColor::color.
3236 * lyxfont.[Ch] (color, setColor, realColor):
3237 * lyxtext.h, text.C (backgroundColor):
3238 pass EnumLColor args to/from the functions, rather than LColor::color
3242 * lyxtext.h: forward declare EnumLColor.
3244 * lyx_main.C: add #include "LColor.h".
3246 2003-09-15 Angus Leeming <leeming@lyx.org>
3248 * .cvsignore: add lyx-gtk.
3250 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * ParagraphParameters.C
3259 * bufferview_funcs.C
3269 * vc-backend.C: remove usage of STRCONV
3271 2003-09-15 Angus Leeming <leeming@lyx.org>
3273 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3274 explicitly define the color passed to the painter.
3276 2003-09-15 Angus Leeming <leeming@lyx.org>
3278 * bufferparams.C (BufferParams): reorder member initializers to avoid
3281 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3283 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3284 * text.C (updateRowPositions): remove an unusual nop
3286 2003-09-12 André Pönitz <poenitz@gmx.net>
3288 * BufferView_pimpl.C:
3297 * Counters.[Ch]: finish the 'automatic counters' job
3299 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3301 * aspell.C: include <boost/assert.cpp> (compile fix)
3303 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3305 * boost.C (assertion_failed): use lyx::support::abort instead of
3308 2003-09-10 Angus Leeming <leeming@lyx.org>
3310 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3311 with their _fwd progeny.
3313 2003-09-09 Angus Leeming <leeming@lyx.org>
3315 134 files throughtout the source tree: replace 'using namespace abc;'
3316 directives with the appropriate 'using abc::xyz;' declarations.
3318 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3320 * boost.C (emergencyCleanup): moved here from LAssert.c
3321 (assertion_failed): new function, called by BOOST_ASSERT
3323 * several files: change Assert to BOOST_ASSERT
3325 2003-09-09 Angus Leeming <leeming@lyx.org>
3327 * buffer.[Ch]: Add an Impl class and move Buffer's member
3328 variables into it. As a result move several header files out of
3331 Add header files to lots of .C files all over the tree as a result.
3333 2003-09-09 Angus Leeming <leeming@lyx.org>
3335 * buffer.[Ch]: make Buffer's member variables private. Add
3338 Lots of changes all over the tree as a result.
3340 2003-09-08 Angus Leeming <leeming@lyx.org>
3342 * graph.C: #include <config.h>.
3344 2003-09-08 Angus Leeming <leeming@lyx.org>
3348 * BufferView_pimpl.C:
3377 * toc.C: remove redundant using directives.
3379 2003-09-07 Angus Leeming <leeming@lyx.org>
3381 * LaTeXFeatures.h: remove #include "support/types.h".
3382 * ToolbarBackend.h: remove #include <algorithm>.
3383 * changes.h: remove #include <ctime>.
3384 * debug.h: remove #include <iosfwd>.
3385 * graph.h: remove #include "support/std_string.h".
3386 * lyx_main.h: remove #include <csignal>.
3387 * lyxlex_pimpl.h: remove #include <fstream>.
3388 * sgml.h: remove #include <algorithm>, <utility>.
3389 * toc.h: remove #include "support/std_ostream.h".
3390 Add #include <iosfwd>.
3392 2003-09-07 Angus Leeming <leeming@lyx.org>
3394 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3396 * converter.h: forward declare LatexRunParams.
3397 * encoding.h: remove #include "lyxrc.h".
3398 * lyxtext.h: remove #include "LColor.h".
3399 * lyxtextclass.h: remove #include "support/types.h".
3400 * trans.h: remove #include "tex-accent.h".
3401 * trans_mgr.h: remove #include "tex-accent.h".
3402 * insets/inset.h: remove #include "support/types.h", <vector>.
3403 * insets/insetcollapsable.h: remove #include "LColor.h".
3404 * insets/insetinclude.h: remove #include "dimension.h".
3405 * insets/insetlatexaccent.h: remove #include "dimension.h".
3406 * insets/insetoptarg.h:: remove #include "insettext.h".
3407 * insets/insettext.h: remove #include "dimension.h",
3408 <boost/shared_ptr.hpp>
3410 * insets/renderers.h: add #include "dimension.h".
3411 * insets/updatableinset.h: add #include "support/types.h".
3413 * many .C files: Associated changes.
3415 2003-09-06 Angus Leeming <leeming@lyx.org>
3417 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3418 one, inside testInvariant.
3420 * PrinterParams.C: new file.
3421 * PrinterParams.[Ch]: move the function bodies out of line.
3423 2003-09-06 Angus Leeming <leeming@lyx.org>
3425 * ParagraphParameters.h: forward declare ParameterStruct rather than
3426 including its header file.
3427 (depth): moved out-of-line.
3429 2003-09-06 Angus Leeming <leeming@lyx.org>
3431 * BufferView_pimpl.h:
3434 * lyxfunc.h: forward declare LyXKeySym rather than
3435 #include "frontends/LyXKeySym.h".
3437 * BufferView_pimpl.C:
3440 * lyxfunc.C: associated changes.
3442 2003-09-06 Angus Leeming <leeming@lyx.org>
3444 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3445 As a result, can remove the #include "insets/inset.h" from BufferView.h
3447 2003-09-06 Angus Leeming <leeming@lyx.org>
3449 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3450 As a result, can remove the #include "insets/inset.h" from BufferView.h
3452 2003-09-06 Angus Leeming <leeming@lyx.org>
3458 * bufferview_funcs.C:
3459 * BufferView_pimpl.C:
3464 * ParagraphParameters.C:
3469 * frontends/controllers/ControlDocument.C:
3470 * insets/insetcaption.C: rearrange the #includes into some sort of
3473 * buffer.h: remove #includes ErrorList.h, undo.h
3475 2003-09-06 Angus Leeming <leeming@lyx.org>
3477 * support/types.h: add a 'depth_type' typedef, used to store the
3478 nesting depth of a paragraph.
3481 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3482 defining explicitly.
3485 * paragraph_funcs.h:
3486 * ParagraphParameters.h:
3487 * sgml.h: use lyx::depth_type rather than Paragraph or
3488 ParameterStruct's depth_type.
3491 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3494 * BufferView_pimpl.C:
3496 * ParagraphParameters.C:
3499 * bufferview_funcs.C:
3506 * frontends/LyXView.C:
3507 * frontends/controllers/ControlDocument.C:
3508 * frontends/controllers/ControlErrorList.C:
3509 * insets/insetbibitem.C:
3510 * insets/insetbranch.C:
3511 * insets/insetcaption.C:
3512 * insets/insetcollapsable.C:
3513 * insets/insetenv.C:
3514 * insets/insetert.C:
3515 * insets/insetfloat.C:
3516 * insets/insetfoot.C:
3517 * insets/insetfootlike.C:
3518 * insets/insetnewline.C:
3519 * insets/insetquotes.C:
3520 * insets/insettabular.C:
3521 * insets/insettext.C:
3522 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3524 * frontends/controllers/ControlChanges.C: #include "changes.h".
3526 2003-09-06 Angus Leeming <leeming@lyx.org>
3528 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3529 than #including paragraph.h.
3532 * RowList.h: deleted. Superfluous.
3542 * insets/insettext.h: use ParagraphList_fwd.h rather than
3545 * paragraph.h: don't forward declare ParagraphList.
3548 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3549 rather than ParagraphList.h. paragraph.h is still needed for the
3550 Paragraph::depth_type parameters.
3552 * textcursor.h: enable it to compile stand-alone in light of the
3555 * bufferview_funcs.C:
3567 * frontends/controllers/ControlParagraph.C:
3568 * frontends/controllers/ControlTabular.C:
3569 * insets/insetmarginal.C:
3570 * insets/insetminipage.C:
3571 * insets/insetnote.C:
3572 * insets/insetoptarg.C: add header files needed to compile again.
3574 2003-09-06 Angus Leeming <leeming@lyx.org>
3576 * RowList_fwd.h: new file, forward-declaring Row rather than
3577 #including lyxrow.h.
3582 * insets/insettext.h: use it instead of RowList.h
3584 * bufferview_funcs.C:
3591 * text3.C: #include "RowList.h".
3593 2003-09-05 Angus Leeming <leeming@lyx.org>
3595 * factory.C (createInset):
3596 * vspace.C (c-tor): replace sscanf call with an istringstream.
3597 * ispell.C: re-add missing HP/UX headers.
3598 * lyxserver.C: re-add missing os2 headers.
3600 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3609 * text3.C: re-add missing system headers, needed for 2.95.2.
3611 2003-09-05 Angus Leeming <leeming@lyx.org>
3613 Changes most place everywhere due to the removal of using directives
3614 from support/std_sstream.h.
3616 2003-09-05 Angus Leeming <leeming@lyx.org>
3618 Replace LString.h with support/std_string.h,
3619 Lsstream.h with support/std_sstream.h,
3620 support/LIstream.h with support/std_istream.h,
3621 support/LOstream.h with support/std_ostream.h.
3623 Changes resulting throughout the tree.
3625 2003-09-05 Angus Leeming <leeming@lyx.org>
3627 * sgml.h: ensure that the header file can be compiled stand-alone.
3628 * *.C: strip out redundant #includes. (320 in total.)
3630 2003-09-04 Angus Leeming <leeming@lyx.org>
3632 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3633 here (from getPackages).
3635 * debug.[Ch]: add a new EXTERNAL tag.
3637 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3639 * text2.C (cursorEnd): simplify
3641 (getColumnNearX): adjust
3643 * text.C (computeBidiTables): adjust
3646 * rowpainter.C (paintChars): adjust
3647 (paintSelection): adjust
3648 (paintChangeBar): adjust
3651 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3653 (numberOfSeparators): adjust
3655 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3661 * text3.C: Restricts the mouse click functionality
3662 of insets like bibtex, include, toc and floatlist to the visible
3663 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3664 up the dialogs. Cursor has to be in front of the inset (i.e.
3665 start of row) for this to function.
3667 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3669 * bufferview_funcs.C (currentState): output row information
3671 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3673 * bufferview_funcs.C (currentState): output paragraph position
3675 2003-09-04 Angus Leeming <leeming@lyx.org>
3677 * FloatList.h: move out #include "Floating.h".
3678 * LaTeX.h: move out #include "DepTable.h".
3679 * LyXAction.h: move out #include "funcrequest.h".
3680 * buffer.h: move out #include "author.h", "iterators.h".
3681 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3682 * lyx_main.h: move out #include "errorlist.h".
3683 * lyxfunc.h: move out #include "FuncStatus.h".
3684 * lyxtext: move out #include "lyxcursor.h".
3685 * paragraph_pimpl.h: move out #include "counters.h".
3687 2003-09-03 Angus Leeming <leeming@lyx.org>
3689 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3690 preamble_snippets list, enabling us to add snippets to the preamble
3691 only if the snippet was not there already.
3693 2003-09-04 Angus Leeming <leeming@lyx.org>
3695 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3697 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3702 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3704 * BranchList.C: point fix, earlier forgotten
3706 2003-09-02 Angus Leeming <leeming@lyx.org>
3708 * box.C (contains): renamed from 'contained' after a fantastic
3711 2003-09-02 John Levon <levon@movementarian.org>
3717 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3719 2003-09-02 John Levon <levon@movementarian.org>
3721 * text2.C: simplification of cursorEnd(), including partial
3724 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * buffer.C (readFile): add a space
3728 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3730 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3732 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * buffer.C (readFile): new function, take a filename and a
3735 ParagraphList::iterator
3737 (readFile): adjust, make it private. don't use setStream, make
3738 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3739 always contain the filename.
3741 * BufferView.C (insertLyXFile): simplify and make it work for
3744 2003-08-30 John Levon <levon@movementarian.org>
3746 * Makefile.am: fix dist (from Kayvan)
3748 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * most files: change to use const Buffer refs
3752 2003-08-27 André Pönitz <poenitz@gmx.net>
3754 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3755 on top of ownerPar().
3757 2003-08-27 John Levon <levon@movementarian.org>
3759 * funcrequest.C: properly initialise POD members
3761 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3763 * lyxtext.h (top_y): move top_y from here
3768 * BufferView_pimpl.[Ch]: to here
3769 * frontends/screen.C:
3770 * insets/insettabular.C:
3771 * insets/insettext.C: adjust
3772 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3774 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3777 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3779 2003-08-26 André Pönitz <poenitz@gmx.net>
3781 * paragraph_func.[Ch] (outerPar): new function
3784 * paragraph_funcs.C:
3785 * paragraph_funcs.h:
3786 * paragraph_pimpl.C:
3787 * text2.C: remove Inset::par_owner
3789 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3794 * text2.C: eliminates the needFullRow/display() stuff
3795 altogether, putting the logic in metrics/draw in the insets.
3797 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3799 * text2.C (redoParagraphInternal, redoParagraphs):
3800 * text.C (redoParagraph): add a call to updateRowPositions at the
3801 end of each 'metrics-like' call. Remove all others.
3802 (getRow): remove the 'y-computing' version.
3803 (getRowNearY): do not compute nor return the real y. Solve the
3804 'y < 0' problem and simplify.
3806 2003-08-22 Angus Leeming <leeming@lyx.org>
3808 * *.[Ch]: clean-up of licence and author blurbs.
3809 Also move config.h out of a few .h files and into a few .C files.
3811 2003-08-22 André Pönitz <poenitz@gmx.net>
3813 * lyxrow.[Ch]: add x_ and *fill_ members
3818 * text2.C: adjust/remove prepareToPrint() calls
3820 2003-08-22 André Pönitz <poenitz@gmx.net>
3822 * lyxrow.[Ch]: add end_ member
3824 * lyxrow_funcs.C: use LyXRow::end_
3826 * lyxtext.h (singleWidth): add LyXFont parameter
3829 * text2.C: adjust LyXText::singleWidth() calls
3831 * text.C (redoParagraph): simplify row breaking logic
3834 2003-08-19 André Pönitz <poenitz@gmx.net>
3836 * funcrequest.C: initialize button_ member
3839 * rowpainter.[Ch]: interface consolidation
3841 2003-08-18 André Pönitz <poenitz@gmx.net>
3844 * BufferView_pimpl.C:
3846 * paragraph_funcs.C:
3848 * text3.C: remove LyXScreen::draw() and fitCursor calls
3850 * BranchList.h: remove spurious semicolons
3852 * MenuBackend.C: fix branchlist related crash
3854 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3862 * bufferparams.[Ch]:
3866 * text3.C: implements the 'branch inset'
3867 idea. This allows the output of various versions of a document
3868 from a single source version, selectively outputing or suppressing
3869 output of parts of the text.
3870 This implementation contains a 'branch list editor' in a separate
3871 tab of the document settings dialog. Branches are user definable
3872 and have a "display colour" to distinguish them on-screen.
3874 ColorHandler was somewhat cleaned up.
3875 (1) make possible a dynamically growing LColor list by allowing
3876 the graphic context cache to grow along (vector);
3877 (2) eliminate an IMHO unnecessary step in colour allocation.
3879 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3881 * BufferView_pimpl.C: compile fix
3883 2003-08-15 André Pönitz <poenitz@gmx.net>
3885 * rowpainter.C: remove extra metrics calls
3887 * lyxtext.h: merge the two constructors into a single one,
3888 pass reference to owner's par list
3890 * BufferView_pimpl.C:
3894 2003-08-15 André Pönitz <poenitz@gmx.net>
3896 * lyxrow_funcs.[Ch]:
3899 * paragraph_funcs.C:
3904 * text_funcs.C: split LyXText::rowlist_ into individual
3905 Paragraph::rows_ chunks
3908 * BufferView_pimpl.[Ch]:
3911 * text3.C: remove toggleSelection()
3913 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3915 * bufferlist.C: beautify two alerts (shorter text of buttons)
3916 * buffer.C: Remove redundant ' ' from message
3918 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3919 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3920 rename VALIGN_CENTER to VALIGN_MIDDLE
3922 2003-08-11 André Pönitz <poenitz@gmx.net>
3924 * lyxtext.h (getPar):
3925 * text.C: new function
3927 2003-08-11 André Pönitz <poenitz@gmx.net>
3930 * tracer.[Ch]: remove unneeded files
3932 * InsetList.[Ch]: remove resizeInsetsLyXText()
3937 * text3.C: merge insertParagraphs() and appendParagraph()
3938 remove breakAgain(), update()
3940 * BufferView_pimpl.[Ch]:
3941 * bufferview_funcs.[Ch]:
3945 * tabular.C: adjust after text & InsetList changes.
3947 2003-08-08 André Pönitz <poenitz@gmx.net>
3949 * text.C (insertChar, backspace): replace rowlist fiddling
3950 with rebreak of full par
3953 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3954 checkParagraph, updateInset): removed
3956 2003-08-07 André Pönitz <poenitz@gmx.net>
3959 * text3.C: merge some LFUN handlers, remove dead code
3961 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3963 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3965 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3967 * text2.C (DEPM): fix part of bug 1255 and 1256
3969 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3971 * BufferView_pimpl.C (workAreaDispatch): change to use
3972 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3973 that are no mouse related.
3975 2003-08-05 André Pönitz <poenitz@gmx.net>
3978 * BufferView_pimpl.[Ch]:
3979 * bufferview_funcs.C:
3981 * text3.C: rip out "deep update"
3983 * textcursor.[Ch] (last_sel_cursor): remove unused member
3985 2003-08-04 André Pönitz <poenitz@gmx.net>
3988 * BufferView_pimpl.[Ch]:
3989 * ParagraphParameters.C:
3990 * bufferview_funcs.C:
3996 * text3.C: replace "complicated" BufferView::update(...) calls with
3999 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4001 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4003 * Makefile.am (lyx_SOURCES): add paper.h
4005 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4007 * Makefile.am: move things around so that both lyx-qt and
4008 lyx-xforms can be built (according to --with-frontend). Then lyx
4009 is a symbolic link to lyx-[firstfrontend]
4011 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4013 * Always use std::endl with lyxerr
4015 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4017 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4019 2003-08-01 André Pönitz <poenitz@gmx.net>
4022 * BufferView_pimpl.[Ch]:
4024 * text3.C: merge BufferView::repaint() and BufferView::update()
4026 2003-08-01 José Matos <jamatos@lyx.org>
4028 * buffer.[Ch]: file_format is no longer a buffer data element.
4030 2003-08-01 André Pönitz <poenitz@gmx.net>
4035 * text2.C: make redoParagraph more independent of current cursor
4037 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4039 * text2.C: remove unneeded members
4041 2003-07-30 André Pönitz <poenitz@gmx.net>
4043 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4045 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4046 create a single function...
4048 * paragraph_funcs.C (moveItem): ... here.
4051 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4053 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4055 * LColor.[Ch]: Add comment and greyedout logical colors.
4057 2003-07-30 André Pönitz <poenitz@gmx.net>
4059 * tabular.C: don't use Assert too heavily. This crashes where it
4062 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4064 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4065 is disabled (bug 1232)
4067 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4069 * factory.C: limited 'arg' scope
4071 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4073 * factory.C: fixed Note submenu issues
4075 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4077 * factory.C: submenu for Note/Comment/Greyedout
4079 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4082 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4084 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4087 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4088 greyedout. Patch provided by Jürgen Spitzmüller.
4090 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4092 * kbmap.C (read): fix error message when reading bind files
4094 2003-07-29 Angus Leeming <leeming@lyx.org>
4096 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4097 certainly does not do what it purports to do. I am doing it, and
4098 us, a favour by killing it.
4100 2003-07-28 José Matos <jamatos@lyx.org>
4102 * buffer.C (readBody, do_writeFile):
4103 * paragraph.C(readParagraph): \end_document replaces \the_end.
4105 2003-07-29 André Pönitz <poenitz@gmx.net>
4108 * BufferView_pimpl.[Ch]:
4112 * textcursor.[Ch]: remove toggleToggle & Co
4114 2003-07-28 José Matos <jamatos@fep.up.pt>
4116 * buffer.C (readParagraph):
4117 * params_func (readParToken, readParagraph):
4118 * paragraph.C (write): \layout -> \begin_layout.
4120 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * lyxlex_pimpl.C (setFile): clean up slightly.
4124 * bufferparams.h: add compressed var
4126 * buffer_funcs.C (readFile): adjust for LyXLex change
4127 (newFile): ditto + simplify
4129 * buffer.C (writeFile): handle writing of compressed files
4131 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4132 Check if the file is compressed and set a bufferparm if so.
4134 * Makefile.am (lyx_LDADD): remove explicit -lz
4136 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4138 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4139 makeDocBookFile): put the real LyX version in the first line of
4143 * version.C.in: remove lyx_docversion
4145 * tabular.C (write_attribute): add a template-based version to
4146 write enums properly
4148 2003-07-28 André Pönitz <poenitz@gmx.net>
4153 * text3.C: use doubles again for x-coordinates. They are needed.
4155 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * messages.C (getLocaleDir): use lyx_localedir()
4159 * lyxlex_pimpl.C (setFile): compress stuff
4161 * buffer.C (writeFile): add some compression stuff
4162 (do_writeFile): new func, dont call expliti close... will this
4165 * Makefile.am (lyx_LDADD): add -lz
4167 2003-07-28 José Matos <jamatos@fep.up.pt>
4169 * buffer.C: increment file format.
4170 * paragraph_funcs (readParagraph, readParToken):
4171 * paragraph.C (readParagraph): add \end_layout.
4173 2003-07-27 Angus Leeming <leeming@lyx.org>
4175 * Makefile.am: remove special casing for configure-time setting of
4176 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4178 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4179 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4181 2003-07-26 André Pönitz <poenitz@gmx.net>
4183 * paragraph_func.[Ch]:
4184 * paragraph.C (realizeFont): inline it whereever it is used
4189 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4192 2003-07-26 André Pönitz <poenitz@gmx.net>
4196 * text2.C: get rid of LyXText::need_break_row
4198 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * toc.[Ch]: put namespace toc inside namespace lyx
4202 * MenuBackend.C (expandToc2): adjust for lyx::toc
4205 * lyxfunc.C (dispatch): adjust for lyx::find
4207 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4208 lyx::find instead. Reorganize a bit.
4209 (LyXReplace): rename to replace
4210 (LyXFind): rename to find
4212 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4215 2003-07-26 André Pönitz <poenitz@gmx.net>
4217 * text.C (setHeightOfRow): restrict scope of temporary variable
4219 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4220 code (never has been used?)
4222 2003-07-27 Asger Alstrup <alstrup@local>
4224 * text.C (fill): Optimise algorithm to exploit that we can reuse
4225 the LyXFont for many characters.
4226 (setHeightOfRow): Same thing.
4227 (rowBreakPoint): Same thing.
4229 2003-07-26 Asger Alstrup <alstrup@local>
4231 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4233 * text.C (singleWidth): Spurious font copying in hot-spot
4234 singleWidth avoided. Reorder tests for arabic for efficiency.
4236 * text.C (fill): handle empty paragraphs better.
4238 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4241 * encoding.h: add includes
4243 * lyxrc.C: remove reading of bind files
4245 * lyx_main.C (init): setup bindings and menus only if we have a
4248 * kbmap.C (read): new method. Do the actual reading of bind
4251 * converter.C (dvipdfm_options):
4254 (output): adapt PAPER_* enums.
4256 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4258 * bufferparams.h: remove paper-related enums from there
4260 * paper.h: New file. A trivial header file to hold paper-related
4261 enums. It should later expand to contain many paper-related
4264 * lyxrc.C: declare extern displayTranslator
4266 2003-07-27 José Matos <jamatos@fep.up.pt>
4268 * tabular.[Ch] (linuxdoc): add support for tables and figures
4271 2003-07-27 José Matos <jamatos@fep.up.pt>
4273 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4274 consistency in both functions.
4275 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4277 2003-07-26 Asger Alstrup <alstrup@local>
4279 * rowpainter.C (paintRows): Change algorithm to work directly on
4280 the insets rather than asking every character in the document
4281 whether its an inset.
4283 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4285 * buffer.C (openFileWrite): factorize some code
4287 2003-07-26 Angus Leeming <leeming@lyx.org>
4290 * lyx_main.[Ch]: replace occurances of system_tempdir with
4293 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * rename Inset to InsetOld
4297 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4299 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4300 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4301 which I think is a bit clearer. EDIT is gone, since it was
4302 premature optimisation, and broken for mathed anyway.
4303 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4304 with cursor positioning in insets as well (math insets still do not
4305 work, but that's a different story anyway.) It mysteriously
4306 crashes sometimes with undo in the first paragraph, but I'm fairly
4307 confident that this is a compiler bug.
4309 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4311 * paragraph.C (Paragraph): adjust for new clone return type
4313 (copyIntoMinibuffer): ditto
4315 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4317 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4318 by not having a special case, and always doing a full rebreak of
4319 the document after undo.
4321 2003-07-23 Angus Leeming <leeming@lyx.org>
4323 * factory.C (createInset): InsetExternal::setParams now takes a
4326 2003-07-23 Angus Leeming <leeming@lyx.org>
4328 * factory.C (createInset): changed interface to the external and
4329 graphics mailers' string2params functions.
4331 2003-07-23 Angus Leeming <leeming@lyx.org>
4333 * factory.C (createInset): pass a
4334 Buffer const * parameter to InsetExternalMailer's string2params.
4336 2003-07-22 John Levon <levon@movementarian.org>
4338 * Thesaurus.h: include the right aiksaurus header
4340 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4342 * MenuBackend.C (expand): check menu shortcuts unconditionally
4344 2003-07-21 Angus Leeming <leeming@lyx.org>
4346 * factory.C (createInset): pass a
4347 buffer_path parameter to InsetGraphicsMailer's string2params.
4349 2003-07-21 Angus Leeming <leeming@lyx.org>
4351 * BufferView_pimpl.C (buffer):
4354 * lyxfunc.C (dispatch):
4355 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4356 rather than the grfx shortcut.
4358 2003-07-21 André Pönitz <poenitz@gmx.net>
4360 * rowpainter.C: remove unused variables
4363 * tabular_funcs.h: move to tabular.C
4364 * Makefile.am: adjust
4366 * tabular.[Ch]: basic optical cleaning
4368 * author.h: pass references, not values
4370 2003-07-18 André Pönitz <poenitz@gmx.net>
4378 * text3.C: two-phase drawing for InsetText and InsetTabular
4379 some float -> int changes.
4381 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4383 * lyx_main.C: fix the fix
4385 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4387 * lyx_main.C: fix a crash in batch mode if no files specified
4390 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4392 * format.[Ch] (papersize): moved to BufferParams
4393 * converter.[Ch] (dvips_options): moved to BufferParams
4394 (dvipdfm_options): moved to anon namespace
4395 * bufferparams.[Ch]: added above functions.
4397 2003-07-17 André Pönitz <poenitz@gmx.net>
4401 * text2.C: don't call inset->update() anymore
4403 * metricsinfo.[Ch]: add convenience constructor
4405 2003-07-16 André Pönitz <poenitz@gmx.net>
4410 * text2.C: replace the LyXCursor::irow_ member with
4411 on-demand computation of the value
4413 2003-07-16 John Levon <levon@movementarian.org>
4415 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4417 2003-07-15 André Pönitz <poenitz@gmx.net>
4420 * text2.C: remove no more needed refresh_row
4422 2003-07-15 André Pönitz <poenitz@gmx.net>
4427 * text3.C: refresh_status tristate -> need_update bool
4429 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4431 * lyxtext.h (init): remove reinit argument (act as if always true)
4432 * text2.C: adjust to that
4434 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4436 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4437 * text3.C: use it to delete selections in some cases
4438 (bugs 441, 673, 702, 954).
4440 2003-07-14 André Pönitz <poenitz@gmx.net>
4442 * rowpainter.[Ch]: reduce interface
4444 2003-07-14 André Pönitz <poenitz@gmx.net>
4446 * BufferView_pimpl.C:
4447 * text2.C: adjust after removing unused BufferView * argument
4449 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4451 * text2.C (init): fix a crash fired on resize
4453 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4455 * buffer.[Ch]: added new closing signal
4456 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4457 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4458 BufferView::Pimpl via the closing the signal
4460 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4462 * buffer.[Ch]: take out all bv-related from buffer
4464 * BufferView_pimpl.[Ch]: connect to new signals
4465 * CutAndPaste.C: removed useless asserts
4466 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4469 * lyxfunc.C: moved view-related funciontality from vc here
4470 * paragraph.C: removed outdated comments
4473 2003-07-10 André Pönitz <poenitz@gmx.net>
4475 * BufferView_pimpl.C:
4479 * text2.C: remove InsetText::InnerCache, clean up consequences
4481 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4483 * ispell.C: fix two typos in error messages
4485 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4487 * Extend Note inset to other forms of annotation like Comment
4488 and Greyedout. Right button click gives dialog.
4490 Files modified or added (+):
4494 * ControlNote.[Ch] +
4496 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4497 frontends/controllers
4501 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4503 * aspell.C: add missing namespace lyx::support
4505 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4507 * BufferView.[Ch] (newFile): Add
4508 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4509 * LaTeX.[Ch] (message): added this signal and use it
4510 * buffer.[Ch] (busy, message): added these signals and use them
4511 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4515 * importer.C: use buffer signals instead of direct bv calling
4516 * lyx_cb.[Ch] (ShowMessage): removed
4519 * paragraph_funcs.C:
4520 * text2.C: use buffer signals
4522 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * introduce namespace lyx::graphics
4526 2003-07-02 André Pönitz <poenitz@gmx.net>
4528 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4530 2003-07-01 André Pönitz <poenitz@gmx.net>
4537 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4538 text*.C to text_func.C
4540 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * introduce namespace lyx::support
4544 2003-06-30 André Pönitz <poenitz@gmx.net>
4549 * text.C: re-enable --with-included-string
4551 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * textcursor.C: add <config.h>
4555 * text.C (getWord): remove const from word_location arg
4557 * lyxvc.C (getLogFile): fix const type order
4559 * lyxtext.h: remove const from word_location arg, add arg name
4561 * lyxlayout.h: currect type on labeltype.
4563 * importer.C: correct \file
4565 * converter.C (intToFormat): use std:: on ret val, ws changes
4567 * bufferlist.h: correct \file
4569 * buffer.C (makeLinuxDocFile): fix const type order
4570 (makeDocBookFile): ditto
4571 (fillWithBibKeys): use std:: on stdlib args.
4573 * CutAndPaste.C: fix authors.
4574 (availableSelections): use std:: on return vector
4576 2003-06-27 André Pönitz <poenitz@gmx.net>
4578 * BufferView_pimpl.C:
4579 * bufferview_funcs.C:
4587 * text3.C: remove LyXCursor::row_ member
4590 * text.C: rename fullRebreak() to partialRebreak() and implement
4591 a fullRebreak() that really bereks fully
4593 * textcursor.h: new struct for cursor-related data
4595 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4597 * lyx_main.C (LyX): get full path of document loaded on the
4600 2003-06-26 André Pönitz <poenitz@gmx.net>
4602 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4603 remove unused/broken operator>,<,>=.
4605 * text.C: remove only use of broken operator<= in an Assert().
4607 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4609 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4610 moved errorlist_.clear to showErrorList
4612 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4614 * converter.C (scanLog, runLaTeX):
4615 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4616 move the bv->showErrorList call to the callers
4617 * lyxfunc.C: i.e. here...
4619 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4620 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4621 namespace, the second to...
4622 * buffer_funcs (BufferFormat, parseErrors): added
4623 * errorlist.C (ErrorList(TeXErrors const &)): removed
4625 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4627 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4629 2003-06-24 "Garst R. Reese" <reese@isn.net>
4633 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4635 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4637 * version.C.in: change docversion to 1.4
4639 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4641 * buffer.C: fix a bug just introduced
4643 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4645 * buffer.[Ch]: added the parseError signal and use it, removed
4647 * BufferView.[Ch] (addError): moved to ...
4648 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4649 to the Buffer::parseError signal to catch (guess what) parse errors
4650 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4652 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4654 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4655 ability to create a buffer and to return an existing one from
4656 the list. Moved these functions to...
4657 * buffer_funcs.[Ch]: added
4658 * BufferView.[Ch] (loadLyXFile): added
4659 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4660 job removed from bufferlist::loadLyXFile.
4661 * buffer.C (setReadOnly): make it work without view
4662 (i.e added an if (users))
4664 2003-06-19 Angus Leeming <leeming@lyx.org>
4667 * LyXAction.C (init):
4668 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4669 with LFUN_DIALOG_SHOW <name> <data>.
4671 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4673 * CutAndPaste.C (availableSelections): small compilation fix for
4674 ancient (gcc 2.9x) compilers
4676 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * text3.C (cursorNext): add tmp var
4680 * text2.C (updateCounters): for function calling out of for clause
4681 (replaceSelectionWithString): ditto
4682 (insertStringAsParagraphs): ditto
4683 (getColumnNearX): add tmp var
4684 (setCursorFromCoordinates): add tmp var
4685 (cursorDownParagraph): add tmp var
4686 (deleteEmptyParagraphMechanism): add tmp var
4688 * text.C (insertChar): add tmp var
4690 * rowpainter.C (paintDepthBar): add tmp var
4692 * CutAndPaste.C (availableSelections): potentially check all
4693 paragraphs in a cut to fill the shown strings.
4695 2003-06-18 André Pönitz <poenitz@gmx.net>
4697 * kbmap.[Ch]: use vector<> instead of list<>
4699 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4701 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4702 pasteSelection with index
4704 * text2.C (pasteSelection): modify, call pasteSelection with index
4706 * paragraph.C (asString): reimplement version with no interval to
4707 call the one with interval.
4709 * lyxtext.h: add index arg to pasteSelection
4711 * MenuBackend.C (MenuItem): handle PasteRecent
4712 (Menu::read::Menutags): add md_pasterecent
4714 (expandPasteRecent): new function
4717 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4719 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4721 (availableSelections): new function
4723 2003-06-17 Angus Leeming <leeming@lyx.org>
4725 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4727 2003-06-17 Angus Leeming <leeming@lyx.org>
4730 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4732 * lyxfunc.C (dispatch): invoke it.
4734 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4736 * iterators.C (operator++, ParPosition): reintroduce some
4737 const_cast for the benefit of older compilers.
4739 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4741 * text3.C (dispatch): do not modify clipboard when doing
4742 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4743 LFUN_DELETE_SKIP on a selection selection
4745 2003-06-16 André Pönitz <poenitz@gmx.net>
4751 * tabular.[Ch]: IU of clone() and getLabelList();
4753 2003-06-13 André Pönitz <poenitz@gmx.net>
4755 * tabular.h: compactification
4757 2003-06-12 André Pönitz <poenitz@gmx.net>
4761 * tabular_funcs.h: some renaming plus whitespace
4763 2003-06-12 André Pönitz <poenitz@gmx.net>
4766 * BufferView_pimpl.C:
4772 * toc.C: Return a Paragraph & for ParIterator::operator*()
4774 2003-06-11 John Levon <levon@movementarian.org>
4778 * ToolbarBackend.C: add "Toolbars" section and
4781 2003-06-10 Angus Leeming <leeming@lyx.org>
4784 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4786 * lyxfunc.C (dispatch): invoke it.
4788 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * main.C: protect <ios> with HAVE_IOS
4791 (main): protect sync_with_stdio with HAVE_IOS
4793 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4795 * text2.C (cutSelection): adjust
4796 (pasteSelection): adjust
4798 * messages.C: handle get of empty string
4800 * main.C (main): use sync_with_stdio(false)
4802 * lyxfunc.C (dispatch): adjust
4804 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4805 (WriteAs): remove unneeded BufferView arg.
4807 * bufferparams.h: use correct types on papersize, papersize2 and
4810 * bufferparams.C (readToken): adjust for type
4811 (writeLaTeX): add missing cases to switch.
4813 * bufferlist.C (quitWriteBuffer): adjust
4816 * buffer.C (asciiParagraph): remove some commented code.
4818 * CutAndPaste.C: remove current_view extern variable.
4819 (cutSelection): add BufferParams arg.
4820 (eraseSelection): add BufferParams arg.
4821 (pasteSelection): add Buffer const & arg
4823 2003-06-07 John Levon <levon@movementarian.org>
4826 * paragraph_funcs.C:
4827 * paragraph_pimpl.C:
4831 * paragraph.C: allow InsetERT to freely space lines,
4832 and some consolidation of code
4834 2003-06-06 José Matos <jamatos@fep.up.pt>
4836 * buffer.C (makeDocBookFile): fix bug #821
4838 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4840 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4842 2003-06-04 Angus Leeming <leeming@lyx.org>
4844 * buffer.C: bump format to 224.
4846 2003-06-05 André Pönitz <poenitz@gmx.net>
4848 * text2.C (redoParagraphs): remove two const_cast<>
4850 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4852 * ParagraphList.h: remove last remnants of NO_STD_LIST
4854 2003-06-03 Angus Leeming <leeming@lyx.org>
4856 * factory.C (createInset): small change to the way InsetExternal's params
4859 2003-06-04 André Pönitz <poenitz@gmx.net>
4861 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4863 * paragraph_pimpl.h:
4864 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4866 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4868 * undo_funcs.C: make some simple cases of undo work again
4870 2003-06-03 John Levon <levon@movementarian.org>
4872 * ispell.C: HPUX doesn't have sys/select.h
4875 2003-06-03 John Levon <levon@movementarian.org>
4877 * CutAndPaste.C: update tabular and include inset
4882 * paragraph.C: remove owningBuffer(), don't pass Buffer
4885 * factory.C: insetGraphicsParams changed
4887 2003-06-02 John Levon <levon@movementarian.org>
4893 * text3.C: remove insetparent
4895 2003-06-02 John Levon <levon@movementarian.org>
4898 * buffer.C: fix inset_iterator.end(), move out of line
4901 2003-06-01 John Levon <levon@movementarian.org>
4903 * text3.C: use a proper cut/paste when doing inset
4904 insert (from Jürgen Spitzmüller)
4906 2003-06-01 John Levon <levon@movementarian.org>
4908 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4910 2003-05-30 André Pönitz <poenitz@gmx.net>
4912 * rowpainter.C: unify second drawing phase
4914 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4916 * trans_mgr.C: remove one case of current_view
4918 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4920 * paragraph_funcs.h: remove paragraph.h include
4922 * paragraph.h: delete NO_STD_LIST stuff
4924 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4926 * buffer.h: remove paragraph.h include
4928 * ParagraphList.C: delete file
4930 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4932 * toc.C (getTocList): adjust
4934 * paragraph_pimpl.C (validate): adjust
4936 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4938 * paragraph.C (Paragraph): adjust
4939 (getPositionOfInset): use const_iterator, adjust
4940 (bibitem): use const_iterator, adjust
4941 (setInsetOwner): adjust
4943 * iterators.C (operator++): adjust
4945 * InsetList.[Ch]: Replace selfmade iterator with standard
4946 vector::iterator also introduce const_iterator. Remove getPos,
4947 getInset and setInset from InsetTable. Adjust accordingly.
4949 * BufferView.C (lockInset): adjust
4950 (ChangeInsets): adjust
4952 * tabular.[Ch]: delete commented same_id functions
4954 2003-05-28 John Levon <levon@movementarian.org>
4956 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4958 2003-05-28 André Pönitz <poenitz@gmx.net>
4960 * metricsinfo.[Ch]: remove 'fullredraw' member
4962 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4964 * lyxtextclass.C (operator): remove caching.
4966 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * text2.C (cursorBottom): adjust
4971 (setCounter): use ParagraphList::find, adjust
4973 * text.C (workWidth): use ParagraphList::find, adjust
4975 * lyxcursor.C (LyXCursor): adjust
4977 * buffer.C (inset_iterator): adjust
4979 * ParagraphList.h: make iterator(value_type) private, make
4980 ParagraphList a friend of iterator.
4982 * ParagraphList.C (find): new function
4984 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4986 2003-05-27 André Pönitz <poenitz@gmx.net>
4988 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4990 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4992 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4994 2003-05-26 John Levon <levon@movementarian.org>
4996 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4998 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * remove same_id from function signatures, adjust.
5002 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5006 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5008 * paragraph.C (Paragraph): get rid of same_ids parameter
5010 * ParagraphList.C (insert): adjust
5013 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * paragraph_funcs.C (breakParagraph): adjust
5016 (breakParagraphConservative): adjust
5018 * buffer.C (readParagraph): adjust
5020 * ParagraphList.C (insert): take a reference instead of a pointer
5023 * paragraph.[Ch] (id): new function
5025 * bufferlist.C (newFile): adjust
5027 * ParagraphList.C (ParagraphList): adjust
5029 (push_back): take a reference instead of a pointer.
5031 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5033 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5036 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5037 set else use old code.
5039 * ParagraphList.C: remove all NO_NEXT code and only compile this
5040 code of NO_STD_LIST is set.
5042 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5044 * BufferView_pimpl.C:
5054 * graphics/GraphicsConverter.C:
5055 * graphics/PreviewLoader.C: header adjustment
5057 2003-05-23 Angus Leeming <leeming@lyx.org>
5059 * LaTeXFeatures.[Ch] (useBabel): new method.
5060 * bufferparams.C (writeLaTeX): use it.
5062 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * ParagraphList.h (set): remove unused function.
5066 2003-05-23 André Pönitz <poenitz@gmx.net>
5069 * BufferView_pimpl.C:
5073 * undo_funcs.C: setUndo reworked
5075 * iterators.[Ch]: add access to topmost ParagraphList
5077 * lyxtext.[Ch] (workWidth): add a const
5079 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5081 * texrow.[Ch] (increasePos): remove function
5082 * exporter.C (export): removed unused var and outdated comment
5084 2003-05-23 Angus Leeming <leeming@lyx.org>
5086 * latexrunparams.h: rename fragile as moving_arg.
5087 * paragraph.C (simpleTeXOnePar): ditto.
5088 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5090 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5094 (textUndoOrRedo): comment out a currently unused var.
5096 * paragraph.h (NO_NEXT): enable NO_NEXT
5098 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5100 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5102 * exporter.C (Export): adjust for removeAutoInsets removal.
5104 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5106 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5108 * BufferView.[Ch] (removeAutoInsets): delete function
5110 2003-05-22 Angus Leeming <leeming@lyx.org>
5112 * latexrunparams.h: add a free_spacing variable.
5114 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5115 to pass moving_arg, as the data is stored in runparams.fragile.
5117 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5118 to Inset::latexOptional or to simpleTeXOnePar.
5120 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5121 free_spacing arg to Inset::latexOptional.
5123 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5126 2003-05-22 Angus Leeming <leeming@lyx.org>
5128 * latexrunparams.h: add fragile and use_babel variables.
5130 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5131 * buffer.C (makeLaTeXFile): store this returned value in
5132 runparams.use_babel, thus passing it to the inset::latex methods.
5134 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5135 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5137 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5138 longer has a fragile arg, as it is stored in runparams.fragile.
5140 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5141 moving_arg parameter as the data is stored in runparams.fragile.
5143 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5144 a fragile parameter as the data is stored in runparams.fragile.
5146 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5150 2003-05-22 Angus Leeming <leeming@lyx.org>
5152 * latexrunparams.h: add a 'bool nice' which defaults to false.
5154 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5155 now encapsulated within runparams.
5157 * bufferlist.C (updateIncludedTeXfiles):
5158 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5160 2003-05-22 Angus Leeming <leeming@lyx.org>
5162 * latexrunparams.h: new file containing struct LatexRunParams.
5163 * Makefile.am: add new file.
5165 * LaTeX.[Ch] (c-tor, run):
5166 * buffer.[Ch] (makeLaTeXFile):
5167 * bufferlist.[Ch] (updateIncludedTeXfiles):
5168 * converter.C (convert, scanLog):
5169 * converter.[Ch] (runLaTeX):
5170 * exporter.C (Export):
5171 * paragraph.[Ch] (simpleTeXOnePar):
5172 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5173 * paragraph_funcs.[Ch] (latexParagraphs):
5174 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5175 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5176 pass around a LatexRunParams parameter.
5178 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * paragraph.[Ch]: remove unused constructor
5182 * ParagraphList.C (erase): new function, taking two iterators
5184 2003-05-22 André Pönitz <poenitz@gmx.net>
5186 * undo_funcs.C: remove duplicated code
5188 * iterator.[Ch]: operator=
5190 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5192 * tabular.C (SetMultiColumn): ws changes
5194 * rowpainter.C (paintFirst): get rid of a ->previous
5196 * lyx_cb.C (getPossibleLabel): parlist simplification
5198 * BufferView.C (ChangeInsets): simplify slightly.
5200 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5202 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5203 * lfuns.h: new LFUN_SPACE
5204 * lyxfunc.C: protected space has a new lfun
5205 * paragraph_funcs.C: read new space insets
5207 * factory.C: handle new space insets
5209 2003-05-22 André Pönitz <poenitz@gmx.net>
5212 * BufferView_pimpl.C:
5215 * undo_funcs.C: return a ParIterator from getParFromID.
5217 * iterators.[Ch]: add two const's
5219 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5221 * toc.C (getTocList): adjust
5223 * iterators.[Ch]: rework for parlist
5225 * buffer.C (par_iterator_begin): adjust
5226 (par_iterator_end): adjust
5228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5230 * BufferView.C (removeAutoInsets): adjust
5231 (ChangeInsets): adjust
5233 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5235 * text.C (top_y): fix bug 1110
5237 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5239 * errorlist.[Ch]: added
5242 * BufferView_pimpl.C:
5243 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5246 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * Makefile.am: ensure that lyx is relinked upon changes to the
5249 various "convenience" libs.
5251 2003-05-20 Angus Leeming <leeming@lyx.org>
5253 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5254 files are compiled in alphabetical order again.
5256 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5258 2003-05-19 Angus Leeming <leeming@lyx.org>
5260 * gettext.[Ch]: remove "char const * _(char const *)".
5262 2003-05-19 André Pönitz <poenitz@gmx.net>
5264 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5273 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5275 2003-05-19 André Pönitz <poenitz@gmx.net>
5279 * lyxtextclass.[Ch]:
5281 * paragraph_funcs.[Ch]:
5283 * text3.C: more insetenv work
5285 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5287 * ParagraphParameters.C (params2string): small bug fixed
5289 2003-05-16 André Pönitz <poenitz@gmx.net>
5292 * bufferview_funcs.C: patch from Kornel Benko to prevent
5293 crash when _(...) is called twice in a statement
5295 2003-05-16 André Pönitz <poenitz@gmx.net>
5302 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5304 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5306 * lyx_main.C (init): remove spurious static_cast
5308 2003-05-14 André Pönitz <poenitz@gmx.net>
5310 * BufferView.C: fix format string
5312 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5314 * BufferView.[Ch] (insertErrors): removed
5315 * BufferView.[Ch] (showErrorList): added
5316 * buffer.C (runChkTeX):
5317 * converter.C (scanLog): call showErrorList instead of inserterrors
5319 2003-05-13 André Pönitz <poenitz@gmx.net>
5321 * BufferView_pimpl.C:
5323 * bufferview_func.C:
5330 * tabular_funcs.h: tostr() from its own header
5332 * ParagraphParameters.C:
5337 * text3.C: STRCONV()
5339 2003-05-12 André Pönitz <poenitz@gmx.net>
5342 * BufferView_pimpl.C:
5346 * ParagraphParameters.C:
5350 * bufferview_funcs.C:
5363 * paragraph_funcs.C:
5367 * text3.C: boost::format -> bformat all over the place
5370 2003-05-09 André Pönitz <poenitz@gmx.net>
5372 * LColor.[Ch]: Pimpl the #include <map> away
5374 2003-05-09 John Levon <levon@movementarian.org>
5376 * bufferlist.C: never remove emergency saves
5378 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * Makefile.am: better lib building
5382 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5386 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5387 (simpleTeXSpecialChars): adjust
5388 (simpleTeXSpecialChars): adjust
5389 * paragraph.C (simpleTeXOnePar): adjust
5390 * buffer.C (makeLaTeXFile): adjust
5392 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5394 * text2.C (changeDepth): parlist cleanup
5395 (getColumnNearX): ditto
5397 * rowpainter.C (getLabelFont): parlist cleanup
5399 * bufferlist.C (newFile): parlist cleanup
5401 * CutAndPaste.C (eraseSelection): parlist cleanup
5403 * BufferView_pimpl.C (trackChanges): parlist cleanup
5406 * BufferView.C (lockInset): parlist cleanup.
5407 (ChangeInsets): ditto
5409 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * CutAndPaste.h: Update file header.
5413 * CutAndPaste.C: Update file header.
5414 Store the parts cut out of the Document in a limited_stack.
5415 (copySelection): adjust
5416 (pasteSelection): new function, takes the index in the limited stack.
5417 (nrOfParagraphs): adjust
5418 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5419 simplify error inset insertion.
5420 (checkPastePossible): adjust
5422 2003-05-06 John Levon <levon@movementarian.org>
5424 * text2.C: don't cast wrap inset to float
5426 2003-05-05 André Pönitz <poenitz@gmx.net>
5429 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5431 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5432 few naked Paragraph *.
5434 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5436 * bufferparams.C: Output warning if a document with missing
5437 TeX document class is loaded
5438 * exporter.C: Disable TeX exports if the document class is missing
5441 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5442 isTeXClassAvailable()
5444 2003-05-03 John Levon <levon@movementarian.org>
5447 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5448 explicit cursor show/hide
5450 * BufferView_pimpl.h:
5451 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5452 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5454 * lyxfunc.C: hide cursor before dispatching.
5459 * text3.C: remove explicit cursor hides
5461 2003-05-02 André Pönitz <poenitz@gmx.net>
5463 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5466 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5469 * text2.C: tiny whitespace
5471 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5473 * undo_funcs.C: almost only ws changes.
5475 * ParagraphList.C (splice): just return if pl is empty.
5477 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * ParagraphList.C (splice): new function.
5481 * CutAndPaste.C (pasteSelection): use it
5483 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * CutAndPaste.C (pasteSelection): remove the last next and
5486 previous from this file.
5488 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * CutAndPaste.C (pasteSelection): more clean up, user proper
5491 ParagraphList functions for pasteing.
5493 * ParagraphList.C (insert): new function, three arg insert
5495 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * ParagraphList.C (insert): new function, three arg insert
5499 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5502 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5506 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5510 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5512 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5513 (copySelection): clean up a bit.
5514 (pasteSelection): use make_pair
5516 * ParagraphList.C (ParagraphList): implement copy constructor
5517 (operator=): implement, base on copy constructor.
5520 * paragraph.C (erase): return a bool
5522 * paragraph_pimpl.C (erasePos): remove function, move contents...
5523 (erase): ... here. Return a bool.
5524 (erase): call erase instead of erasePos.
5526 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5528 * ParagraphList.h: define PitPosPair
5529 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5530 ParagraphList, fix a bug on pasting multiple pars
5531 * text2.C: change interface to C&P
5533 2003-04-30 André Pönitz <poenitz@gmx.net>
5535 * undo_func.C: revert part of yesterday's patch 2
5537 2003-04-30 John Levon <levon@movementarian.org>
5539 * LColor.C: s/tabular/table/
5541 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * text3.C (dispatch): do not convert iterator -> pointer
5544 * undo_funcs.C (setCursorParUndo): ditto
5545 * text_funcs.C (transposeChars): ditto
5547 * text2.C (setLayout): ws changes only
5549 * text.C (breakParagraph): do not convert iterator -> pointer
5551 (acceptChange): ditto
5552 (rejectChange): ditto
5557 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5560 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5562 * text3.C (gotoInset): YABG (yet another bad getChar)
5564 2003-04-29 André Pönitz <poenitz@gmx.net>
5566 * paragraph.h: make operator= private unimplemented as long as
5569 * ParagraphList.C: whitespace
5572 * paragraph_pimpl.[Ch]:
5573 * paragraph_funcs.C:
5575 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5578 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5580 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5582 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5583 * paragraph.[Ch] (erase):
5584 * paragraph_pimpl.[Ch] (erase): change return type and value
5585 * text2.C (cutSelection): some rework
5587 2003-04-28 John Levon <levon@movementarian.org>
5589 * bufferlist.C: changes for unsaved changes dialog
5591 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5593 * bufferlist.C (newFile): set language (messages_) for new
5596 * buffer.C (readFile): ws changes only.
5598 2003-04-28 André Pönitz <poenitz@gmx.net>
5603 * BufferView_pimpl.C:
5604 * BufferView.C: getParFromID related ParagraphList::iterator changes
5606 2003-04-28 André Pönitz <poenitz@gmx.net>
5608 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5611 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * messages.C: remove one more localedir class variable.
5615 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5617 * messages.C (getLocaleDir): singleton generation function
5619 (Messages): add a default constructor.
5621 * main.C (main): do not setup localedir here, do not call
5624 * gettext.C (_): use it.
5625 (gettext_init): delete funciton
5627 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * gettext.C (getLyXMessages): new singleton generating function.
5631 * buffer.C (updateDocLang): adjust
5633 * Makefile.am (messages.o): add target
5634 (main.o): remove target
5636 2003-04-27 John Levon <levon@movementarian.org>
5641 * lyxvc.C: specify cancel button in Alert::prompt
5643 2003-04-26 John Levon <levon@movementarian.org>
5648 * LyXAction.C: add LFUN_INSET_SETTINGS
5650 * lyxfunc.C: don't enable tabular-feature when there's
5651 just any locking inset
5653 2003-04-26 John Levon <levon@movementarian.org>
5655 * bufferlist.C: re-add Cancel to buffer close question
5657 * lyxfunc.C: fix import UI a bit
5659 2003-04-25 John Levon <levon@movementarian.org>
5661 * gettext.C: remove the broken asserts for now
5663 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5665 * messages.C: make case where setlocale cannot comply work better.
5667 * buffer.C (updateDocLang): new function
5668 (changeLanguage): use it
5671 * text2.C (setCounter): use B_ a bit.
5673 * lyxlayout.C (Read): be sure to trim the label strings.
5675 * messages.C (Messages): fix typo in comment
5677 * buffer.C (readFile): set message_ after file is loaded.
5678 (makeDocBookFile): remove double return
5679 (changeLanguage): reset message_ upon language change.
5680 (B_): new func, use this to get translated buffer strings.
5682 * main.C: add myself and Jean Marc as authors.
5684 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * messages.[hC]: pimplify Messages, and three different pimpls to be
5687 used in different circumstances.
5689 * gettext.[Ch]: change for use with new message code.
5691 2003-04-24 André Pönitz <poenitz@gmx.net>
5693 * factory.C: support for eqref
5695 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * messages.[Ch]: add missing char
5699 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5701 * messages.[Ch]: New files
5703 2003-04-18 John Levon <levon@movementarian.org>
5707 * BufferView_pimpl.C:
5711 * text2.C: remove layout-copy/paste (bug 778)
5713 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5715 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5717 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5719 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5720 if they succeed. Act accordingly.
5722 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * text2.C (setCharFont): adjust
5725 (setCounter): adjust
5726 (insertStringAsLines): adjust
5728 * text.C (leftMargin): adjust
5729 (setHeightOfRow): adjust
5731 * rowpainter.C (paintFirst): adjust
5734 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5736 (isFirstInSequence): ditto
5737 (getEndLabel): ditto
5740 * paragraph.C (getParLanguage): comment out some hard stuff.
5742 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5744 (simpleDocBookOnePar): ditto
5745 (makeDocBookFile): use ParagraphList::iterator
5747 * CutAndPaste.C (pasteSelection): adjust
5749 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * text2.C (getFont): adjust
5752 (getLayoutFont): adjust
5753 (getLabelFont): adjust
5755 * paragraph_funcs.C (TeXOnePar): adjust
5757 * buffer.C (simpleLinuxDocOnePar): adjust
5758 (simpleDocBookOnePar): adjust
5760 * CutAndPaste.C (pasteSelection): adjust
5762 * BufferView.C (getEncoding): adjust
5764 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5766 2003-04-16 John Levon <levon@movementarian.org>
5768 * lyxfind.C: use parlist stuff for search/changes
5770 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5772 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5774 * text2.C (deleteEmptyParagraphMechanism): adjust
5776 * text2.[Ch] (ownerParagraph): delete func (both of them
5778 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5782 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * ParagraphList.C: prepare for NO_NEXT
5786 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * text2.C (getFont): adjust
5789 (getLayoutFont): adjust
5790 (getLabelFont): adjust
5792 * paragraph.C (getFont): adjust
5793 (getLabelFont): adjust
5794 (getLayoutFont): adjust
5796 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5798 2003-04-15 John Levon <levon@movementarian.org>
5802 * lyx_main.C: handle Include in .ui files
5804 2003-04-15 John Levon <levon@movementarian.org>
5806 * MenuBackend.C: make the doc files length shorter
5809 * ToolbarBackend.C: handle toolbar placement flags,
5812 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5817 * paragraph_funcs.C (TeXOnePar): adjust
5819 * paragraph.C (getLabelFont): add outerfont arg, adjust
5820 (getLayoutFont): ditto
5821 (simpleTeXOnePar): adjust
5823 * paragraph_pimpl.C (realizeFont): delete func
5825 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5827 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5828 row argument, constify cur argument.
5830 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * text2.C (getFont): adjust
5833 (getLayoutFont): adjust
5834 (getLabelFont): adjust
5836 * paragraph_funcs.C (TeXOnePar): adjust
5837 (outerFont): new func...
5838 (realizeFont): ...moved out from here, changed this to facilitate
5841 * paragraph.C (getFont): take outerfont as arg, adjust
5842 (simpleTeXOnePar): add outerfont arg, adjust
5844 * buffer.C (simpleLinuxDocOnePar): adjust
5845 (simpleDocBookOnePar): adjust
5847 * CutAndPaste.C (pasteSelection): adjust
5849 * BufferView.C (getEncoding): adjust
5851 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5853 * text2.C (setCharFont): adjust
5854 (setCounter): adjust
5856 * text.C (leftMargin): adjust
5857 (setHeightOfRow): adjust
5859 * rowpainter.C (paintFirst): adjust
5862 * paragraph_pimpl.C (realizeFont): adjust
5864 * paragraph.C (isFirstInSequence): move from here...
5865 * paragraph_funcs.C (isFirstInSequence): ...to here
5867 * paragraph.C (outerHook): move from here...
5868 * paragraph_funcs.C (outerHook): ...to here
5870 * paragraph.C (depthHook): move from here...
5871 * paragraph_funcs.C (depthHook): ...to here
5873 * paragraph.C (getEndLabel): move from here...
5874 * paragraph_funcs.C (getEndLabel): ...to here
5876 * text2.C (realizeFont): move from here...
5877 * paragraph_funcs.C (realizeFont): ...to here
5879 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5883 2003-04-14 Angus Leeming <leeming@lyx.org>
5885 * LColor.[Ch]: scrap LColor mathcursor.
5887 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * lyxlex.[Ch] (text): delete function
5890 * trans.C (Load): adjust
5891 * paragraph_funcs.C (readParToken): adjust
5893 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5895 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5896 vector<char> instead of a char[].
5898 * lyxlex_pimpl.C (getString): adjust
5900 (lex): use getString
5904 * lyxlex.C (text): use pimpl_->getString()
5908 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5910 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5911 (makeFontEntriesLayoutSpecific): temp var for par.size()
5912 (setLayout): temp var for ownerParagraphs().end()
5913 (fullRebreak): temp var for rows().end()
5914 (selectionAsString): temp var for boost::next(startpit), realize
5915 that the while really is a regular for loop.
5916 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5917 setCursor in one place.
5918 (setParagraph): temp vr for ownerParagraphs().end()
5919 (updateCounters): make the while loop a for loop
5920 (cutSelection): temp var for ownerParagraphs().end()
5921 (updateInset): make the do {} while() a regular for loop
5922 (getCursorX): use temp vars
5923 (setCurrentFont): use temp vars
5924 (getColumnNearX): use temp vars
5926 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * text.C (transformChar): use temp var for getChar
5929 (computeBidiTables): use temp var for row->par()
5930 (fill): move temp vars for row->par() and pit->layout() earlier in
5932 (labelFill): use temp var for row->par()
5933 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5934 asc and desc, realize that pit never changes and that firstpit is
5935 just a duplicate and not needed. Exchange rit->par() with pit in a
5937 (breakAgain): use a temp var for boost::next(rit)
5938 (breakAgainOneRow): ditto
5939 (breakParagraph): use a temp var for rows().begin()
5940 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5941 (cursorRightOneWord): use temp var for cursor.par() and
5942 cursor.pos(), remove usage of tmpcursor.
5943 (cursorLeftOneWord): use temp var for cursor.par() and
5944 cursor.pos() only set cur at end of function.
5946 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * text.C, text2.C: exchange all usage of Paragraph::next with
5949 boost::next(ParagraphList::iterator)
5951 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5953 * text2.C (cursorTop): simplify implementation
5954 (cursorBottom): ditto
5955 (setParagraph): use ParagraphList::iterator
5956 (setCurrentFont): adjust
5957 (getColumnNearX): adjust
5958 (cursorRight): adjust
5959 (cursorLeft): remove usage of Paragraph::previous
5960 (cursorUpParagraph): ditto
5961 (deleteEmptyParagraphMechanism): slight cleanup
5963 * text.C (isBoundary): take a Paragraph const & instead of a
5965 (addressBreakPoint): ditto
5966 (leftMargin): remove usage of Paragraph::previous.
5967 (setHeightOfRow): ditto
5968 (cursorLeftOneWord): ditto
5969 (selectNextWordToSpellcheck): ditto
5972 (breakParagraph): remove one usage of Paragraph::next
5973 (redoParagraph): ditto
5974 (acceptChange): ditto
5975 (insertChar): adjust
5976 (rowBreakPoint): adjust
5978 * bufferview_funcs.C (toggleAndShow): adjust
5980 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5982 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5983 methods to access it.
5985 * text.C: Added updateRowPositions to compute all row positions.
5986 Make top_y and getRowNearY() to use the cached y position
5988 2003-04-11 John Levon <levon@movementarian.org>
5990 * text.C (rowBreakPoint): reintroduce the labelEnd
5991 checks, code copied from the row fill stuff. Deep voodoo.
5993 * text.C (fill): add a comment and debugging for the
5996 2003-04-11 John Levon <levon@movementarian.org>
5998 * text.C: make sure fullrow insets get wrapped to the next line,
5999 even when they're in a manual label
6001 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6003 * text2.C (insertParagraph): make it take ParagraphList::iterator
6005 (setLayout): make it return ParagraphList::iterator
6006 (redoParagraphs): ditto
6008 (checkParagraph): ditto
6010 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6012 * text2.C: adjust several funcs.
6013 (realizeFont): take a ParagraphList::iterator as arg.
6014 (getLayoutFont): ditto
6015 (getLabelFont): ditto
6016 (setCharFont): ditto
6018 * text.C: adjust several funcs.
6020 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6022 * text.C (selectNextWordToSpellcheck): don't accidentally
6025 2003-04-10 John Levon <levon@movementarian.org>
6027 * ToolbarBackend.C (getIcon): special handling for
6030 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6032 * text2.C (cursorRight): a getChar assert fixed
6034 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * text2.C (getFont): change to take a ParagraphList::iterator
6037 instead of Paragraph*
6038 Adjust several functions.
6040 * text.C (transformChar): change to take a ParagraphList::iterator
6041 instead of Paragraph*
6042 (singleWidth): ditto
6043 Adjust several functions.
6045 * rowpainter.C: adjust several functions
6046 * rowpainter.h:store a ParagraphList::iterator and not a
6050 2003-04-09 John Levon <levon@movementarian.org>
6055 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6056 and the "help" bits as well
6058 2003-04-09 John Levon <levon@movementarian.org>
6061 * ToolbarBackend.C: allow multiple toolbars
6063 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * undo_funcs.C (setCursorParUndo): adjust
6067 * text_funcs.C (transposeChars): adjust
6069 * text3.C (gotoNextInset): adjust
6072 * text2.C (setLayout): adjust
6073 (changeDepth): adjust
6075 (redoParagraphs): adjust
6076 (selectionAsString): adjust
6077 (setParagraph): adjust
6078 (insertInset): adjust
6079 (cutSelection): adjust
6080 (copySelection): adjust
6081 (pasteSelection): adjust
6082 (insertStringAsLines): adjust
6083 (updateInset): adjust
6084 (setCursor): change to take a ParagraphList::iterator parameter
6085 (setCursorIntern): change to take a ParagraphList::iterator parameter
6086 (setCurrentFont): adjust
6087 (cursorLeft): adjust
6088 (cursorRight): adjust
6089 (deleteEmptyParagraphMechanism): adjust
6091 * text.C (breakParagraph): adjust
6092 (insertChar): adjust
6093 (acceptChange): adjust
6094 (rejectChange): adjust
6095 (selectNextWordToSpellcheck): adjust
6096 (changeCase): adjust
6100 * lyxfind.C (SearchForward): adjust
6101 (SearchBackward): adjust
6102 (nextChange): adjust
6104 * lyxcursor.C (par): adjust
6106 * lyxcursor.h: store a ParagraphList::iterator instead of a
6109 * lyx_cb.C (getPossibleLabel): adjust
6111 * bufferview_funcs.C (toggleAndShow): adjust
6113 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6116 * BufferView.C (removeAutoInsets): adjust
6117 (lockedInsetStoreUndo): adjust
6119 2003-04-09 John Levon <levon@movementarian.org>
6121 * ToolbarBackend.C: try icon without argument
6122 if with argument fails
6124 2003-04-08 John Levon <levon@movementarian.org>
6127 * ToolbarBackend.C: add getIcon(), handle tooltip,
6128 and change from "Icon" to "Item".
6130 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6132 * BufferView.C (lockInset): another bad getchar crunched
6134 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6136 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6139 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6141 * lyxfind.C (searchForward, searchBackwards): bug 782
6143 2003-04-07 John Levon <levon@movementarian.org>
6145 * paragraph.C: remove dead comment
6147 * text.C: remove troublesome depth-fiddling code
6148 in leftMargin() and rightMargin() (bug 1017)
6150 * text.C: fix breaking of rows in nested lists
6153 * text2.C (updateCounters): fix up depth values
6156 2003-04-07 John Levon <levon@movementarian.org>
6158 * BufferView_pimpl.C: clear message when doc finishes resizing,
6159 and after a mouse event
6161 * lyxfunc.C: clear message after exiting inset
6163 2003-04-07 John Levon <levon@movementarian.org>
6165 * bufferview_funcs.C: show math status not outside
6166 status in the statusbar
6168 2003-04-07 John Levon <levon@movementarian.org>
6170 * lyxfunc.C: note status changed after a depth change
6172 2003-04-04 Angus Leeming <leeming@lyx.org>
6174 * LaTeX.h: move AuxInfo operator==, != out of line.
6175 Remove LaTeX virtual destructor; nothing derives from it.
6176 Move operator()() out of public area and rename it startscript().
6177 Change protected for private.
6179 2003-04-04 Angus Leeming <leeming@lyx.org>
6182 * text2.C: remove unneeded #includes.
6184 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6186 * text2.C (dEPM): fix the heigth of the next row
6188 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6190 * text.C: squashed an invalid getChar requester + some ws changes
6192 2003-04-03 John Levon <levon@movementarian.org>
6194 * bufferview_funcs.h:
6195 * bufferview_funcs.C:
6198 * text2.C: make getStatus work for the env depth lfuns
6200 2003-04-03 John Levon <levon@movementarian.org>
6202 * bufferview_funcs.h:
6203 * bufferview_funcs.C:
6206 * text2.C: parlistize decDepth(), by merging it with incDepth()
6208 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * lyxrow.h: store a ParagraphList::iterator instead of a
6211 Paragraph* and adjust other class functions to suit.
6213 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6216 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6218 * text2.C (setCursor): do not anchor to cursor row for the time being
6220 2003-04-02 John Levon <levon@movementarian.org>
6227 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6229 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * paragraph.h: make ParagraphList and ParagraphList::iterator
6232 friends of Paragraph.
6234 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6236 * ParagraphList.C: Use the private next_ and previous_ from
6239 2003-04-01 John Levon <levon@movementarian.org>
6243 * Makefile.am: rename, remove defaults gunk
6246 * MenuBackend.C: remove defaults gunk
6249 * Languages.C: remove defaults gunk
6252 * lyx_main.C: error out if files couldn't be found.
6254 2003-04-02 John Levon <levon@movementarian.org>
6256 * text2.C: make incDepth() use parlist
6258 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6260 * undo_funcs.C (firstUndoParagraph): adjust
6262 * text3.C (gotoInset): adjust
6263 (dispatch): adjust, and rewrite loop.
6265 * text2.C (init): adjust, and rewrite loop.
6266 (redoParagraphs): adjust
6267 (updateInset): adjust, and rewrite loop.
6268 (deleteEmptyParagraphMechanism): adjust
6270 * tabular.C (LyXTabular): adjust
6271 (SetMultiColumn): adjust
6274 * lyxtext.[Ch] (ownerParagraph): delete function
6275 (ownerParagraphs): new function returns a ParagraphList.
6277 * BufferView.C (removeAutoInsets): adjust
6278 (insertErrors): adjust
6279 (setCursorFromRow): adjust
6281 2003-04-01 Angus Leeming <leeming@lyx.org>
6283 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6286 2003-04-02 John Levon <levon@movementarian.org>
6292 * text_funcs.C: make transposeChars a free function
6294 * lyxrow_funcs.C: remove wrong comment
6296 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * rowpainter.C: adjust
6304 * lyxrow_funcs. [Ch]: new files
6306 * lyxrow.[Ch]: remove next and previous pointers
6307 (next,previous): remove accessor functions
6308 (isParEnd): move to lyxrow_funcs
6309 (lastPos): move to lyxrow_funcs
6310 (nextRowIsAllInset): move to lyxrow_funcs
6311 (lastPrintablePos): move to lyxrow_funcs
6312 (numberOfSeparators): move to lyxrow_funcs
6313 (numberOfHfills): move to lyxrow_funcs
6314 (numberOfLabelHfills): move to lyxrow_funcs
6315 (hfillExpansion): move to lyxrow_funcs
6319 * bufferview_funcs.C (toggleAndShow): adjust
6321 * RowList.h: Remove class RowList from file leave just a
6324 * RowList.C: delete file
6326 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6329 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * text3.C (cursorPrevious): adjust
6332 (cursorNext): adjust
6335 * text2.C (redoHeightOfParagraph): adjust
6336 (redoDrawingOfParagraph): adjust
6339 * text.C (breakParagraph): adjust
6340 (insertChar): adjust
6343 * rowpainter.C (RowPainter): adjust
6344 (leftMargin): simplify and adjust
6345 (most rowpainter functions): adjust.
6347 * rowpainter.h: store the row as RowList::iterator not as Row*
6349 * lyxcursor.C (row): taka RowList::iterator as arg
6352 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6355 2003-04-01 Angus Leeming <leeming@lyx.org>
6357 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6358 stuff like bool Bool.
6360 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6362 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6365 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6370 * lyxtext.h (rows): drop one version and leve a const variant that
6371 returns a RowList::iterator.
6373 2003-03-31 Angus Leeming <leeming@lyx.org>
6375 * text.C (fill): ensure that the signature is the same as that in the
6378 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * text2.C (redoParagraphs): adjust
6381 (updateCounters): adjust
6382 (checkParagraph): adjust
6383 (getColumnNearX): adjust and reformat a bit.
6385 * text.C (top_y): adjust
6387 (leftMargin): adjust
6388 (prepareToPrint): adjust
6390 (getRowNearY): adjust
6392 * lyxtext.h: make rowlist_ mutable.
6394 * RowList.h: add const_iterator
6395 * RowList.C: adjust for RowList::const_iterator.
6397 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6400 2003-03-31 John Levon <levon@movementarian.org>
6403 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6405 * lyx_main.C: set default fonts from using lyx_gui funcs
6407 * exporter.C: pdf_mode moved from lyxrc
6410 * lyxfunc.C: changes from above
6412 2003-03-31 John Levon <levon@movementarian.org>
6414 * lyx_main.C: fix to the last fix
6416 2003-03-31 John Levon <levon@movementarian.org>
6418 * bufferlist.C: "Load original" -> "Load Original"
6424 * format.C: more Alert cleanups
6426 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * text2.C (removeParagraph): make it take a RowList::iterator as
6430 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6431 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6433 * text.C (anchor_row): make it take a RowList::iterator as arg,
6435 (computeBidiTables): make it take a const reference to Row instead
6436 of Row pointer, adjust.
6437 (leftMargin): make it take a RowList::iterator as arg, adjust.
6438 (rowBreakPoint): adjust
6439 (breakAgainOneRow): make it take a RowList::iterator as arg,
6441 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6443 * bufferview_funcs.C (toggleAndShow): adjust
6445 2003-03-30 John Levon <levon@movementarian.org>
6449 * boost-inst.C: moved to support
6451 * several files: changes as a result
6453 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * text2.C (LyXText): adjust.
6457 (removeRow): make it take a RowList::iterator as arg, adjust.
6458 (fullRebreak): adjust
6459 (deleteEmptyParagraphMechanism): adjust
6460 (clearPaint): adjust
6463 * text.C (top_y): adjust
6464 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6465 (breakAgain): make it take a RowList::iterator as arg, adjust.
6466 (breakParagraph): adjust
6467 (insertChar): adjust
6470 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6471 need_break_row, and refresh_row.
6473 * text3.C (dispatch): adjust
6475 * text2.C (checkParagraph): adjust
6477 (setCursorFromCoordinates): adjust
6479 * text.C (top_y): adjust
6481 (getRow): make it return a RowList::iterator, adjust
6482 (getRowNearY): make it return a RowList::iterator, adjust
6484 * text2.C (init): adjust
6485 (insertRow): remove function
6486 (insertParagraph): adjust
6487 (redoParagraphs): adjust
6488 (fullRebreak): adjust
6489 (updateCounters): adjust
6491 * text.C (top_y): rewrite to use RowList iterators.
6493 (setHeightOfRow): rewrite to sue RowList iterators.
6494 (appendParagraph): adjust
6495 (breakAgain): adjust
6496 (breakAgainOneRow): adjust
6497 (breakParagraph): adjust
6499 (getRowNearY): adjust, and remove commented code.
6501 * lyxtext.h (firstRow): delete function
6502 (lastRow): delete function
6503 (rows): new function (const and non-const versions.)
6504 (insertRow): delete function
6506 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6508 2003-03-29 John Levon <levon@movementarian.org>
6510 * BufferView_pimpl.C: always update scrollbar top
6511 because pasting text when we're anchored could mean we
6512 miss an update altogether
6514 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * text2.C (init): use rowlist_.end() and not 0.
6517 (insertRow): change to take a RowList::iterator as arg, adjust
6519 (insertParagraph): change to take a RowList::iterator as arg,
6521 (redoParagraphs): remove some debug msgs.
6523 * text.C (appendParagraph): change to take a RowList::iterator
6524 arg, adjust for this.
6525 (breakAgain): add an assert
6526 (breakAgainOneRow): ditto
6528 2003-03-29 John Levon <levon@movementarian.org>
6530 * text2.C: do not clear selection after inc/decDepth
6533 2003-03-29 John Levon <levon@movementarian.org>
6536 * buffer.C: fix broken strerrors according to Lars
6538 2003-03-29 John Levon <levon@movementarian.org>
6540 * converters.C: more Alert cleanups
6542 2003-03-29 John Levon <levon@movementarian.org>
6544 * bufferview_funcs.C: remove pointless Alert
6546 * buffer.C: fix confusing error message when
6547 a template is chmoded 000
6549 2003-03-29 John Levon <levon@movementarian.org>
6553 * BufferView_pimpl.C: Alert fixes
6557 * tabular-old.C: remove unused table compat reading
6559 2003-03-29 John Levon <levon@movementarian.org>
6564 * lyx_cb.C: more Alert cleanups
6566 * lyxfunc.C: don't allow chktex if not latex document
6568 2003-03-29 John Levon <levon@movementarian.org>
6572 * buffer.C: warnings pushed down from support/,
6575 2003-03-29 John Levon <levon@movementarian.org>
6577 * lyxfunc.C: safety check for C-r (revert)
6579 2003-03-29 John Levon <levon@movementarian.org>
6582 * bufferlist.C: several UI fixes using Alert::prompt.
6583 Fix the pointless looping quit code. Fix stupid revert
6588 * lyx_cb.C: use Alert::prompt
6590 * lyx_main.C: remove a silly question
6592 * lyxfunc.C: remove a couple of silly questions,
6595 2003-03-28 John Levon <levon@movementarian.org>
6597 * text2.C: fix bug 974 (End on empty par)
6599 2003-03-28 John Levon <levon@movementarian.org>
6601 * BufferView_pimpl.C:
6603 * lfuns.h: remove do-nothing math greek lfuns
6605 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * lyxgluelength.h (isValidGlueLength): add default arg on
6608 parameter 2. Remove default arg from friend in class.
6610 * lyxlength.h (isValidLength): add default arg on parameter 2.
6611 Remove default arg from friend in class.
6613 * text2.C (LyXText): adjust, initialize refresh_row.
6617 (insertParagraph): adjst
6618 (redoParagraphs): adjust
6619 (fullRebreak): adjust
6620 (updateCounters): adjust
6621 (deleteEmptyParagraphMechanism): first attempt at fixing a
6624 * text.C (top_y): adjust
6625 (setHeightOfRow): adjust
6627 (getRowNearY): adjust
6629 * lyxtext.h: include RowList.h
6630 (~LyXText): not needed anymore, deleted.
6631 (firstRow): modify for RowList
6632 (lastRow): new function
6633 Delete firstrow and lastrow class variables, add a Rowlist
6634 rowlist_ class variable.
6636 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6639 * RowList.C (insert): fix case where it == begin().
6641 2003-03-26 Angus Leeming <leeming@lyx.org>
6643 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6644 the thesaurus dialog.
6646 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6650 * RowList.[Ch]: new files
6652 * ParagraphList.C (erase): handle the case where it == begin
6655 2003-03-25 John Levon <levon@movementarian.org>
6659 * aspell.C: add new aspell support
6662 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6665 2003-03-25 Angus Leeming <leeming@lyx.org>
6668 * LyXAction.C (init): new LFUN_INSET_INSERT.
6670 * BufferView_pimpl.C (dispatch): split out part of the
6671 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6673 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6676 2003-03-25 Angus Leeming <leeming@lyx.org>
6678 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6680 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6683 * text3.C: remove useless row->height(0)
6685 2003-03-25 John Levon <levon@movementarian.org>
6689 * text3.C: rename the refreshing stuff to better names
6691 2003-03-24 John Levon <levon@movementarian.org>
6693 * BufferView_pimpl.h:
6694 * BufferView_pimpl.C: update layout choice on a mouse
6697 2003-03-23 John Levon <levon@movementarian.org>
6699 * Makefile.am: fix commandtags.h reference
6701 2003-03-22 John Levon <levon@movementarian.org>
6703 * BufferView_pimpl.C:
6708 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6710 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6713 * text.C: take the rtl methods out of line
6715 2003-03-21 André Pönitz <poenitz@gmx.net>
6717 * metricsinfo.[Ch]: new files containing structures to be passed around
6718 during the two-phase-drawing...
6720 2003-03-21 André Pönitz <poenitz@gmx.net>
6722 * lyxtextclass.C: read 'environment' tag.
6724 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6726 * text2.C (removeRow): fix bug 964
6728 2003-03-20 John Levon <levon@movementarian.org>
6732 * text2.C: paint cleanups. Inset::update() dropped font
6735 2003-03-19 John Levon <levon@movementarian.org>
6737 * lyxfunc.C: only fitcursor/markDirty if available()
6739 2003-03-19 John Levon <levon@movementarian.org>
6741 * commandtags.h: rename to ...
6743 * lfuns.h: ... this, and renumber / cleanup
6745 2003-03-19 John Levon <levon@movementarian.org>
6747 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6748 fit the cursor after an lfun
6752 * BufferView_pimpl.h:
6753 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6755 * LyXAction.C: layout-character should have ReadOnly
6757 * ParagraphParameters.C:
6759 * bufferview_funcs.C:
6766 * undo_funcs.C: changes from above
6768 2003-03-18 John Levon <levon@movementarian.org>
6770 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6771 remove it from update()
6773 * lyxfunc.C: update layout choice after an lfun
6775 * text3.C: remove extra updateLayoutChoice()s
6777 2003-03-18 John Levon <levon@movementarian.org>
6779 * text.C: top_y change means full repaint, fix
6780 a drawing bug with cursor movement
6782 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6786 * text2.C: anchor row on setCursor
6788 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6790 * lyxtext.h: remove almost all mutable keywords
6793 * text3.C: remove const keywords accordingly
6795 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6799 (TeXEnvironment): ditto
6802 2003-03-17 John Levon <levon@movementarian.org>
6804 * text.C (rowBreakPoint): remove attempt to fix displayed
6805 math insets inside a manual label
6807 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * lyxtext.h: remove BufferView* as first arg from almost all class
6811 * other files: adjust.
6813 2003-03-17 John Levon <levon@movementarian.org>
6817 * text2.C: more paint cleanups
6819 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6822 * rowpainter.C: remove "smart" background painting code
6824 2003-03-16 John Levon <levon@movementarian.org>
6829 * text3.C: add helper functions for setting refresh_row/y
6831 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6833 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6834 newline inset which *can* get inserted in the pass_thru layouts.
6835 This is primarily for literate documents.
6837 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6839 * buffer.C: increment LYX_FORMAT to 223
6841 2003-03-14 André Pönitz <poenitz@gmx.net>
6843 * textclass.h: prepare for environment handling, ws changes
6844 * lyxlayout.C: read latexheader and latexfooter tags
6846 2003-03-14 John Levon <levon@movementarian.org>
6848 * text2.C: rewrite ::status() a bit
6850 2003-03-13 John Levon <levon@movementarian.org>
6852 * lyxtext.h: add some docs
6854 2003-03-13 John Levon <levon@movementarian.org>
6859 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6861 2003-03-13 John Levon <levon@movementarian.org>
6863 * text3.C: fix appendix redrawing
6865 2003-03-13 John Levon <levon@movementarian.org>
6867 * text.C (setHeightOfRow):
6869 * rowpainter.C: make appendix mark have the text
6870 "Appendix" so the user knows what it is
6873 * LColor.C: s/appendixline/appendix/ from above
6875 2003-03-13 John Levon <levon@movementarian.org>
6877 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6879 * text.C: fix a getChar(pos) bug properly
6881 2003-03-13 Angus Leeming <leeming@lyx.org>
6884 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6885 Probably only temporary. Let's see how things pan out.
6887 * BufferView.C (unlockInset):
6888 * BufferView_pimpl.C (fitCursor):
6889 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6891 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6892 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6894 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6895 new functions that convert ParagraphParameters to and from a string.
6897 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6898 BufferView::Pimpl's dispatch.
6899 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6901 2003-03-13 André Pönitz <poenitz@gmx.net>
6905 * factory.C: make it aware of InsetEnv
6907 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6909 * text2.C (setCursor): never ask for one past last
6910 (setCursor): add some debugging messages.
6912 * text.C (singleWidth): never ask for one past last
6913 (singleWidth): ditto
6915 (rightMargin): ditto
6916 (rowBreakPoint): ditto
6917 (setHeightOfRow): ditto
6918 (prepareToPrint): ditto
6920 * rowpainter.C (paintBackground): never ask for one past last
6921 (paintText): never ask for one past last
6923 * paragraph_pimpl.C (getChar): make the assert stricter, never
6924 allow the one past last pos to be taken
6926 * paragraph.C (getChar): ws changes only
6928 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6929 (numberOfSeparators): ditto
6930 (numberOfHfills): ditto
6932 2003-03-12 John Levon <levon@movementarian.org>
6938 * paragraph_funcs.C: fix per-buffer authorlists
6940 2003-03-12 John Levon <levon@movementarian.org>
6942 * text.C: fix newline in right address
6944 2003-03-12 Angus Leeming <leeming@lyx.org>
6946 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6947 duplicate those in LyXFunc::dispatch.
6951 * ToolbarDefaults.C:
6952 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6953 Add LFUN_FONTFREE_UPDATE.
6955 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6956 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6958 * bufferview_func.[Ch]: several new functions to facilliate
6959 transfer of data to and from the character dialog.
6961 2003-03-12 John Levon <levon@movementarian.org>
6966 * paragraph_funcs.C:
6967 * paragraph_pimpl.C:
6971 * text3.C: remove META_NEWLINE in favour of an inset
6974 * rowpainter.C: remove paintNewline (done by inset)
6976 2003-03-12 John Levon <levon@movementarian.org>
6978 * paragraph_pimpl.C: complain about bad getChar()s
6979 for a while at least
6981 2003-03-12 John Levon <levon@movementarian.org>
6984 * buffer.C: move paragraph read into a separate function,
6985 a little renaming to reflect that.
6988 * bufferparams.C: remove the author_ids map, not necessary now
6991 * factory.C: moved Buffer::readInset to here
6993 * paragraph_funcs.h:
6994 * paragraph_funcs.C: readParagraph free function moved from
6997 * tabular.C: name change
6999 2003-03-12 John Levon <levon@movementarian.org>
7002 * ParagraphParameters.C: move par params input to
7005 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7006 behave like a normal read from the stream wrt reading
7007 a line vs. a \\token
7009 2003-03-12 John Levon <levon@movementarian.org>
7012 * ParagraphParameters.h:
7013 * ParagraphParameters.C: move output code to a
7016 2003-03-12 John Levon <levon@movementarian.org>
7018 * BufferView.C (insertLyXFile):
7021 * tabular.C: use a parlist iterator for creating the
7024 2003-03-12 John Levon <levon@movementarian.org>
7026 * buffer.C: make current_change static local not
7029 2003-03-12 John Levon <levon@movementarian.org>
7031 * buffer.C: fix insertStringAsLines for change tracking
7033 2003-03-12 John Levon <levon@movementarian.org>
7040 * bufferparams.C: move author list into params. Rename some
7041 functions. Move the header reading into a separate token
7042 loop. Move the header token reading into BufferParams.
7044 2003-03-12 John Levon <levon@movementarian.org>
7046 * changes.C: put debug inside lyxerr.debugging() checks
7048 2003-03-11 André Pönitz <poenitz@gmx.net>
7050 * factory.C: make it aware of InsetHFill
7052 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7054 * buffer.C (latexParagraphs): move function from here...
7055 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7058 2003-03-10 Angus Leeming <leeming@lyx.org>
7060 * LyXAction.C (init): fix bug in poplating array with multiple entries
7061 with the same LFUN (spotted by JMarc).
7063 2003-03-10 John Levon <levon@movementarian.org>
7066 * text2.C: move getColumnNearX() near its
7069 2003-03-10 John Levon <levon@movementarian.org>
7071 * text.C: fix break before a minipage
7073 2003-03-10 John Levon <levon@movementarian.org>
7075 * text.C: fix the last commit
7077 2003-03-09 John Levon <levon@movementarian.org>
7081 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7082 bug 365 (don't break before insets unless needed). Don't
7083 return a value > last under any circumstances.
7085 2003-03-09 Angus Leeming <leeming@lyx.org>
7087 * BufferView_pimpl.C (trackChanges, dispatch): call
7088 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7090 2003-03-09 Angus Leeming <leeming@lyx.org>
7092 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7093 than Dialogs::showAboutlyx().
7095 2003-03-09 Angus Leeming <leeming@lyx.org>
7097 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7098 than Dialogs::showTabularCreate().
7100 2003-03-09 John Levon <levon@movementarian.org>
7104 * text2.C: 3rd arg to nextBreakPoint was always the same.
7107 2003-03-08 John Levon <levon@movementarian.org>
7114 * text2.C: Remove the "main" bit from the "main body"
7117 2003-03-08 John Levon <levon@movementarian.org>
7119 * text.C (leftMargin): The left margin of an empty
7120 manual label paragraph should not include the label width
7123 * text.C (prepareToPrint): don't attempt to measure hfills
7124 for empty manual label paragraphs - the answer should be 0
7126 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * CutAndPaste.C: remove commented code and reindent.
7130 2003-03-08 John Levon <levon@movementarian.org>
7133 * lyxfunc.C: move reloadBuffer()
7136 * BufferView.C: to here
7138 * lyxvc.C: add comment
7141 * vc-backend.C: call bv->reload() to avoid
7142 getStatus() check on MENURELOAD
7144 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7146 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7147 to an old format .dep file.
7149 2003-03-07 Angus Leeming <leeming@lyx.org>
7151 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7152 when the LFUN_MOUSE_RELEASE should have been handled by
7153 inset->localDispatch.
7155 2003-03-07 Angus Leeming <leeming@lyx.org>
7157 * BufferView_pimpl.C (dispatch):
7158 * LyXAction.C (init):
7159 * ToolbarDefaults.C (init):
7161 * lyxfunc.C (getStatus):
7162 remove LFUN_INSET_GRAPHICS.
7164 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7166 2003-03-07 Angus Leeming <leeming@lyx.org>
7169 * LyXAction.C (init):
7170 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7172 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7175 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7177 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7178 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7180 2003-03-07 Angus Leeming <leeming@lyx.org>
7182 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7185 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * ParagraphList.C (front): new function
7190 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7192 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7193 and top_row_offset_. removed var first_y.
7195 * text2.C (LyXText, removeRow):
7197 * BufferView_pimpl.C:
7198 use these methods instead of using first_y
7200 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7202 * text2.C (pasteSelection): adjust for checkPastePossible
7204 * CutAndPaste.C: remove Paragraph * buf and replace with
7205 ParagraphList paragraphs.
7206 (DeleteBuffer): delete
7207 (cutSelection): change the tc type to textclass_type
7208 (copySelection): change the tc type to textclass_type
7209 (copySelection): adjust for ParagraphList
7210 (pasteSelection): change the tc type to textclass_type
7211 (pasteSelection): adjust for Paragraphlist
7212 (nrOfParagraphs): simplify for ParagraphList
7213 (checkPastePossible): simplify for ParagraphList
7214 (checkPastePossible): remove unused arg
7216 * ParagraphList.C (insert): handle the case where there are no
7219 * CutAndPaste.h: make CutAndPaste a namespace.
7221 * text3.C (dispatch): adjust
7223 * text.C (breakParagraph): add a ParagraphList as arg
7225 * paragraph_funcs.C (breakParagraph): change to take a
7226 BufferParams and a ParagraphList as args.
7227 (breakParagraphConservative): ditto
7228 (mergeParagraph): ditto
7229 (TeXDeeper): add a ParagraphList arg
7230 (TeXEnvironment): ditto
7233 * buffer.C (readLyXformat2): adjust
7234 (insertStringAsLines): adjust
7235 (latexParagraphs): adjust
7237 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7238 (cutSelection): adjust
7239 (pasteSelection): adjust
7241 * BufferView_pimpl.C (insertInset): adjust
7243 2003-03-05 Angus Leeming <leeming@lyx.org>
7246 * LyXAction.C (init):
7247 * BufferView_pimpl.C (dispatch):
7248 * lyxfunc.C (getStatus):
7249 remove LFUN_CHILD_INSERT.
7251 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7253 2003-03-05 Angus Leeming <leeming@lyx.org>
7256 * LyXAction.C (init):
7257 * src/factory.C (createInset):
7258 * lyxfunc.C (getStatus):
7259 * text3.C (dispatch):
7260 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7262 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7264 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * ParagraphList.C (insert): handle insert right before end()
7267 (erase): fix cases where it can be first or last paragraph.
7269 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7271 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7272 Paragraph::next and Paragraph::previous
7275 * text.C (breakParagraph): adjust
7277 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7278 BufferParams& as arg.
7279 (breakParagraph): use ParagraphList::insert
7280 (breakParagraphConservative): take a Buffer* instead of a
7281 BufferParams& as arg.
7282 (breakParagraphConservative): use ParagraphList::insert.
7284 * buffer.C (insertStringAsLines): un-const it
7285 (insertStringAsLines): adjust
7287 * ParagraphList.C (insert): new function
7289 * CutAndPaste.C (pasteSelection): adjust
7291 * text.C (backspace): adjust
7293 * tabular.C (SetMultiColumn): adjust
7295 * CutAndPaste.C (cutSelection): adjust
7296 (pasteSelection): adjust
7298 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7299 Buffer const * as arg
7301 * ParagraphList.C (erase): new function
7302 * paragraph_funcs.C (mergeParagraph): use it
7303 (mergeParagraph): make it take a Buffer* instead of a
7304 BufferParams* as arg
7306 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7308 (breakParagraphConservative): ditto
7310 * paragraph.h: remove the breakParagraph friend
7312 * paragraph.C (eraseIntern): new function
7313 (setChange): new function
7315 * paragraph_funcs.C (mergeParagraph): make it take a
7316 ParagraphList::iterator instead of a Paragraph *, adjust
7319 * paragraph.h: move an #endif so that the change tracking stuff
7320 also works in the NO_NEXT case.
7322 2003-03-04 Angus Leeming <leeming@lyx.org>
7325 * LyXAction.C: new LFUN_INSET_MODIFY.
7327 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7328 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7330 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * several files: ws changes only
7334 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7335 (TeXEnvironment): ditto
7338 * buffer.C (makeLaTeXFile): adjust
7339 (latexParagraphs): make it take ParagraphList::iterator as args
7341 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * buffer.C (latexParagraphs): adjust
7345 * paragraph.C (TeXOnePar): move function...
7346 (optArgInset): move function...
7347 (TeXEnvironment): move function...
7348 * paragraph_pimpl.C (TeXDeeper): move function...
7349 * paragraph_funcs.C: ...here
7351 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7353 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * buffer.C (readInset): remove compability code for old Figure and
7358 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * buffer.C: ws changes
7363 * BufferView_pimpl.C: ditto
7366 * bufferlist.h: ditto
7370 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7372 * converter.[Ch]: split into itself +
7375 * Makefile.am: += graph.[Ch] + format.[Ch]
7382 * lyxrc.C: added #include "format.h"
7384 2003-02-27 Angus Leeming <leeming@lyx.org>
7386 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7389 * factory.C (createInset): add "label" to the factory.
7391 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7392 string and do no more.
7394 2003-02-27 Angus Leeming <leeming@lyx.org>
7397 * LyXAction.C (init):
7398 * factory.C (createInset):
7399 * BufferView_pimpl.C (dispatch):
7400 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7402 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7404 * lyxfunc.C (dispatch):
7405 * text3.C (dispatch): pass name to params2string.
7407 2003-02-26 Angus Leeming <leeming@lyx.org>
7409 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7411 Rearrange the ~includes. Strip out the unnecessary ones.
7413 * factory.C (createInset): reformat.
7414 create new insets for the various LFUN_XYZ_APPLY lfuns.
7416 2003-02-26 John Levon <levon@movementarian.org>
7419 * lyxrow.C: add isParStart,isParEnd helpers
7421 * paragraph.h: make isInserted/DeletedText take refs
7423 * paragraph_funcs.h:
7424 * paragraph_funcs.C: remove #if 0'd code
7429 * text.C: use lyxrow helpers above.
7430 Move draw and paint routines to RowPainter.
7431 Make several methods use refs not pointers.
7432 Make backgroundColor() const.
7433 Add markChangeInDraw(), isInInset().
7434 Merge changeRegionCase into changeCase.
7435 Make workWidth() shouldn't-happen code into an Assert.
7438 * rowpainter.C: new class for painting a row.
7441 * vspace.C: make inPixels take a ref
7443 2003-02-26 Angus Leeming <leeming@lyx.org>
7445 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7448 2003-02-25 John Levon <levon@movementarian.org>
7450 * ispell.C: give the forked command a more accurate name
7452 2003-02-22 John Levon <levon@movementarian.org>
7455 * toc.C: make TocItem store an id not a Paragraph *
7458 2003-02-21 Angus Leeming <leeming@lyx.org>
7460 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7461 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7462 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7463 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7464 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7465 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7467 * BufferView_pimpl.C (dispatch):
7468 * LyXAction.C (init):
7469 * factory.C (createInset):
7470 * lyxfunc.C (getStatus, dispatch):
7471 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7473 2003-02-21 Angus Leeming <leeming@lyx.org>
7475 * BufferView_pimpl.C (MenuInsertLyXFile):
7476 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7477 * lyxfunc.C (menuNew, open, doImport):
7478 no longer pass a LyXView & to fileDlg.
7480 2003-02-21 Angus Leeming <leeming@lyx.org>
7482 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7483 * LyXAction.C: change, BIBKEY to BIBITEM.
7484 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7485 Change InsetBibKey to InsetBibitem.
7486 Change BIBKEY_CODE to BIBITEM_CODE.
7487 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7488 * factory.C: replace insetbib.h with insetbibitem.h.
7489 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7490 * paragraph.C: replace insetbib.h with insetbibitem.h.
7491 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7492 Change bibkey() to bibitem().
7493 * text.C: remove insetbib.h.
7494 * text2.C: replace insetbib.h with insetbibitem.h.
7495 change bibkey() to bibitem().
7496 * text3.C: remove insetbib.h.
7497 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7499 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * lyxrc.C (output): enclose user email in quotes (in case there are
7504 2003-02-18 John Levon <levon@movementarian.org>
7506 * buffer.h: add std::
7508 2003-02-17 John Levon <levon@movementarian.org>
7514 * pspell.C: reworking. Especially in ispell, a large
7515 number of clean ups and bug fixes.
7517 * lyxfunc.C: fix revert to behave sensibly
7519 2003-02-17 André Pönitz <poenitz@gmx.net>
7522 * commandtags.h: new LFUN_INSERT_BIBKEY
7532 * paragraph_func.C: remove special bibkey handling
7534 2003-02-17 John Levon <levon@movementarian.org>
7536 * text.C (Delete): fix case where delete at the end of
7537 the very first paragraph would not merge the pars
7539 2003-02-17 John Levon <levon@movementarian.org>
7541 * lyxrow.C: fix lastPrintablePos()
7543 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7545 * bufferparams.C (writeLaTeX): add a std:here
7547 * buffer.C: and remove a using directive there
7549 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * buffer.C (makeLaTeXFile): move the code that generates the
7554 * bufferparams.C (writeLaTeX): ... in this new method
7556 * LaTeXFeatures.C (getEncodingSet): make const
7557 (getLanguages): make const
7559 * MenuBackend.C (binding): returns the binding associated to this
7561 (add): sets the status of each item by calling getStatus. Adds
7563 (read): add support for OptSubMenu
7564 (expand): remove extra separator at the end of expanded menu
7566 2003-02-15 John Levon <levon@movementarian.org>
7569 * BufferView_pimpl.C:
7571 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7572 inset code that had no actual effect. Remove unneeded status
7575 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7577 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7580 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7582 * text.C (drawLengthMarker): also draw an arrow marker for
7583 symbolic lengths (medskip...)
7585 2003-02-14 John Levon <levon@movementarian.org>
7588 * tabular.C: better method names
7590 2003-02-14 John Levon <levon@movementarian.org>
7592 * BufferView_pimpl.C:
7597 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7598 it's a more accurate name. Remove some pointless uses.
7600 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * text2.C (LyXText): change order of initilizers to shut off
7605 2003-02-14 John Levon <levon@movementarian.org>
7607 * buffer.C: use ParIterator for getParFromID()
7611 * paragraph_pimpl.h:
7612 * paragraph_pimpl.C: remove unused getParFromID()
7614 2003-02-14 John Levon <levon@movementarian.org>
7616 * buffer.C: remove some very old #if 0'd parse code
7618 2003-02-13 John Levon <levon@movementarian.org>
7622 * text2.C: move hfillExpansion(), numberOfSeparators(),
7623 rowLast(), rowLastPrintable(), numberofHfills(),
7624 numberOfLabelHfills() ...
7627 * lyxrow.C: ... to member functions here.
7632 * text.C: remove LyXText::beginningOfMainBody(), and call
7633 p->beginningOfMainBody() directly. Move the check for
7634 LABEL_MANUAL into the latter.
7641 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7647 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7648 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7650 2003-02-13 John Levon <levon@movementarian.org>
7652 * CutAndPaste.C: remove debug
7654 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7656 * paragraph.C (asString): remove two unused variables
7658 * lyxtextclass.C (readTitleType):
7660 (LyXTextClass): handle new members titletype_ and titlename_
7662 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7664 2003-02-09 John Levon <levon@movementarian.org>
7667 * buffer.C: replace hand-coded list with a map for the dep clean
7669 2003-02-08 John Levon <levon@movementarian.org>
7671 * LaTeX.C: consolidate code into showRunMessage() helper
7673 2003-02-08 John Levon <levon@movementarian.org>
7678 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7679 and pass the size in explicitly
7681 * BufferView_pimpl.h:
7682 * BufferView_pimpl.C:
7684 * BufferView.C: add getCurrentChange()
7686 * BufferView_pimpl.h:
7687 * BufferView_pimpl.C: handle change lfuns
7689 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7690 for changes. Mark pasted paragraphs as new.
7692 * support/lyxtime.h:
7693 * support/lyxtime.C:
7694 * DepTable.C: abstract time_t as lyx::time_type
7697 * LColor.C: add colours for new text, deleted text, changebars
7699 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7700 package use "usenames" option.
7704 * LyXAction.C: add change lfuns
7708 * author.C: author handling
7711 * buffer.C: add a per-buffer author list, with first entry as
7712 current author. Handle new .lyx tokens for change tracking. Output
7713 author list to .lyx file. Output dvipost stuff to .tex preamble.
7714 Bump lyx format to 222.
7717 * bufferlist.C: add setCurrentAuthor() to reset current author details
7721 * bufferparams.C: add param for tracking
7723 * bufferview_funcs.C: output change info in minibuffer
7727 * changes.C: add change-tracking structure
7730 * debug.C: add CHANGES debug flag
7733 * lyxfind.C: add code for finding the next change piece
7736 * lyxrc.C: add user_name and user_email
7739 * lyxrow.C: add a metric for the top of the text line
7742 * text.C: implement accept/rejectChange()
7745 * text.C: paint changebars. Paint new/deleted text in the chosen
7746 colours. Strike through deleted text.
7750 * paragraph_pimpl.h:
7751 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7752 in the current change to the insert functions. Rework erase to
7753 mark text as deleted, adding an eraseIntern() and a range-based
7754 erase(). Implement per-paragraph change lookup and
7757 * paragraph_funcs.C: Fixup paste for change tracking.
7759 * tabular.C: mark added row/columns as new.
7761 * text.C: fix rowLast() to never return -1. Don't allow
7762 spellchecking of deleted text. Track transpose changes. Don't
7763 allow paragraph break or merge where appropriate.
7765 * text2.C: leave cursor at end of selection after a cut.
7767 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7769 * text.C (getLengthMarkerHeight):
7770 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7771 visible on screen too.
7773 2003-02-07 John Levon <levon@movementarian.org>
7775 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7777 2003-02-05 Angus Leeming <leeming@lyx.org>
7779 * lyxserver.C (read_ready): revert my patch of 11 September last year
7780 as it sends PC cpu through the roof. Presumably this means that
7781 the lyxserver will no longer run on an Alpha...
7783 2003-01-30 Angus Leeming <leeming@lyx.org>
7785 * factory.C (createInset): create an InsetCommandParam of type "index"
7786 and use it to 'do the right thing'.
7788 * text2.C (getStringToIndex): ensure that cursor position is always
7789 reset to the reset_cursor position.
7791 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7793 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7796 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7800 * lyxfunc.C: Output messages with identical spelling, punctuation,
7803 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7805 * MenuBackend.C (expandFormats): List only viewable export formats
7808 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7811 * lyxfunc.C (getStatus): Make sure that formats other than
7812 "fax" can also be disabled
7814 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7816 * text3.C (dispatch): put the lfuns that insert insets in 3
7817 groups, and call doInsertInset with appropriate arguments.
7818 (doInsertInset): new function, that creates an inset and inserts
7819 it according to some boolean parameters.
7821 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * buffer.C (readFile): remember to pass on 'par' when calling
7824 readFile recursively.
7826 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7828 * MenuBackend.C (expandFormats): add "..." to import formats.
7830 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7832 * paragraph.C (asString): Remove XForms RTL hacks.
7834 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7835 * buffer.C: fix typo
7837 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * Makefile.am (LIBS): delete var
7840 (lyx_LDADD): add @LIBS@ here instead.
7842 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7844 * Clarify the meaning of "wheel mouse jump"
7846 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7848 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7851 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7853 * importer.C (Loaders): do not preallocate 3 elements in the
7854 vector, since one ends up with 6 elements otherwise
7856 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7858 * DepTable.C (write): write the file name as last element of the
7859 .dep file (because it may contain spaces)
7860 (read): read info in the right order
7862 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7864 * paragraph_pimpl.C (simpleTeXBlanks):
7865 (simpleTeXSpecialChars):
7866 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7868 * tabular.C (latex): add some missing case statements. Reindent.
7870 * MenuBackend.C (expandToc): remove unused variable.
7872 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7881 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7884 2003-01-05 John Levon <levon@movementarian.org>
7887 * BufferView.C: add getEncoding()
7890 * kbsequence.C: do not store last keypress
7893 * lyxfunc.C: store last keypress here instead. Pass encoding
7896 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7898 * lyx_main.C (init): remove annoying error message when following
7899 symbolic links (bug #780)
7901 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7903 * text.C (insertChar):
7904 * lyxrc.C (getDescription): remove extra spaces
7906 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7908 * lyxrc.C (getDescription): remove extra spaces
7910 2002-12-20 John Levon <levon@movementarian.org>
7912 * text3.C: hack fix for page up/down across tall rows
7914 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7916 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7919 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7921 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7922 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7923 thesaurus is not compiled in
7925 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7927 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7929 2002-12-16 Angus Leeming <leeming@lyx.org>
7932 * lyx_main.C (init): remove override_x_deadkeys stuff.
7934 2002-12-12 John Levon <levon@movementarian.org>
7936 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7937 insert. Only remove shift modifier under strict
7940 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7942 * MenuBackend.C (expandToc): fix crash.
7944 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * MenuBackend.C (expandToc): gettext on float names.
7948 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7950 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7951 implement bool empty() [bug 490]
7953 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7957 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7959 * several files: ws changes
7961 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * text2.C (setCounter): clean up a bit, use boost.format.
7964 (updateCounters): initialize par upon declaration.
7966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7967 if the layout exists. We do not just store the layout any more.
7968 (SwitchLayoutsBetweenClasses): use boost.format
7970 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7972 * converter.C (convert): if from and to files are the same, use a
7973 temporary files as intermediary
7975 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7978 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7980 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7982 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7984 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * tabular.C (asciiPrintCell): use string(size, char) instead of
7989 * sgml.C (openTag): fix order of arguments to string constructor
7992 * lyxfunc.C (dispatch): use boost.format
7994 * lots of files: change "c" -> 'c'
7996 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7998 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8000 2002-11-25 Angus Leeming <leeming@lyx.org>
8002 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8004 * lyx_main.C (init): compile fix.
8006 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * lyx_cb.C (start): boost.formatify
8009 do not include <iostream>
8011 * lengthcommon.C: ws only
8013 * boost-inst.C,BoostFormat.h: add more explict instantations
8015 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * lots of files: handle USE_BOOST_FORMAT
8019 2002-11-21 John Levon <levon@movementarian.org>
8021 * pspell.C: fix compile
8023 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * lyxfunc.C (dispatch): use boost::format
8029 * lyxfont.C (stateText): use boost::format
8031 * lyx_main.C (LyX): use boost::format
8033 (queryUserLyXDir): ditto
8036 (typedef boost::function): use the recommened syntax.
8038 * importer.C (Import): use boost::format
8040 * debug.C (showLevel): use boost::format
8042 * converter.C (view): use boost::format
8047 * bufferview_funcs.C (currentState): use boost::format
8049 * bufferlist.C (emergencyWrite): use boost::format
8051 * buffer.C (readLyXformat2): use boost::format
8052 (parseSingleLyXformat2Token): ditto
8054 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8056 * LaTeX.C (run): use boost::format
8058 * Chktex.C (scanLogFile): use boost::format
8060 * BufferView_pimpl.C (savePosition): use boost::format
8061 (restorePosition): ditto
8062 (MenuInsertLyXFile): ditto
8064 * BoostFormat.h: help file for explicit instation.
8066 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8068 * tabular.C (latex): Support for block alignment in fixed width
8071 2002-11-17 John Levon <levon@movementarian.org>
8073 * BufferView_pimpl.C:
8075 * lyxfunc.C: split filedialog into open/save
8077 2002-11-08 Juergen Vigna <jug@sad.it>
8079 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8080 by my last patch (hopefully).
8082 2002-11-08 John Levon <levon@movementarian.org>
8091 * toc.C: ParConstIterator, and use it (from Lars)
8093 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8095 * lyxtextclass.[Ch]: revise and add doxygen comments
8097 2002-11-07 John Levon <levon@movementarian.org>
8099 * text.C: fix progress value for spellchecker
8101 * toc.C: fix navigate menu for insetwrap inside minipage
8103 * paragraph_funcs.C: added FIXME for suspect code
8105 2002-11-07 John Levon <levon@movementarian.org>
8107 * BufferView_pimpl.C: fix redrawing of insets
8110 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8112 * text2.C (updateCounters): fix bug 668
8114 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8116 * text3.C (dispatch): Do not make the buffer dirty when moving the
8119 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * vc-backend.C: STRCONV
8124 * text2.C (setCounter): STRCONV
8126 * paragraph.C (asString): STRCONV
8128 * lyxlength.C (asString): STRCONV
8129 (asLatexString): ditto
8131 * lyxgluelength.C (asString): STRCONV
8132 (asLatexString): ditto
8134 * lyxfunc.C (dispatch): STRCONV
8137 * lyxfont.C (stateText): STRCONV
8139 * importer.C (Import): STRCONV
8141 * counters.C (labelItem): STRCONV
8142 (numberLabel): ditto
8143 (numberLabel): remove unused ostringstream o
8148 * bufferview_funcs.C (currentState): STRCONV
8150 * buffer.C (readFile): STRCONV
8151 (asciiParagraph): ditto
8152 (makeLaTeXFile): ditto
8154 * Spacing.C (writeEnvirBegin): STRCONV
8156 * LaTeXFeatures.C (getLanguages): STRCONV
8157 (getPackages): ditto
8159 (getBabelOptions): ditto
8160 (getTClassPreamble): ditto
8161 (getLyXSGMLEntities): ditto
8162 (getIncludedFiles): ditto
8166 (scanAuxFile): ditto
8169 * LString.h: add the STRCONV macros
8171 * BufferView_pimpl.C (savePosition): STRCONV
8172 (restorePosition): ditto
8173 (MenuInsertLyXFile): ditto
8175 * vc-backend.C (scanMaster): change from submatch[...] to
8178 * funcrequest.C: include config.h
8180 * factory.C: include config.h
8182 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8184 * box.C: include config.h
8186 * LaTeX.C (scanAuxFile): change from submatch[...] to
8190 2002-10-25 Angus Leeming <leeming@lyx.org>
8192 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8194 * ispell.[Ch] (setError): new method.
8195 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8196 Use setError() insetead of goto END.
8198 * lyx_cb.C (AutoSave): move out child process into new class
8201 2002-10-30 John Levon <levon@movementarian.org>
8203 * text3.C: make start appendix undoable
8205 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8207 * lyxlength.C (inPixels): Fix returned value.
8209 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8212 2002-10-24 Angus Leeming <leeming@lyx.org>
8214 * lyxgluelength.h: no need to forward declare BufferParams
8215 or BufferView, so don't.
8217 2002-10-21 John Levon <levon@movementarian.org>
8219 * BufferView.C: menuUndo ->undo, redo
8221 * BufferView.h: document, remove dead, make some methods private
8223 * paragraph_funcs.h:
8224 * paragraph_funcs.C:
8225 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8230 * sgml.C: move sgml open/close tag into sgml.C
8232 * bufferview_funcs.h: unused prototype
8235 * lyxfunc.C: remove unused
8238 * text.C: remove unused
8240 2002-10-21 John Levon <levon@movementarian.org>
8244 * BufferView_pimpl.h:
8245 * BufferView_pimpl.C: fix mouse wheel handling based on
8246 patch from Darren Freeman
8248 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8250 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8252 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8254 * lyxlength.C (inPixels): Fix hanfling of negative length.
8255 Fix LyXLength::MU case.
8257 2002-10-16 John Levon <levon@movementarian.org>
8259 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8261 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8263 * converter.C (view): add support for $$i (file name) and $$p
8264 (file path) for the viewer command. If $$i is not specified, then
8265 it is appended to the command (for compatibility with old syntax)
8267 2002-10-14 Juergen Vigna <jug@sad.it>
8269 * undo_funcs.C (textHandleUndo): alter the order in which the
8270 new undopar is added to the LyXText, as we have to set first
8271 the right prev/next and then add it as otherwise the rebuild of
8272 LyXText is not correct. Also reset the cursor to the right paragraph,
8273 with this IMO we could remove the hack in "redoParagraphs()".
8275 2002-10-09 Angus Leeming <leeming@lyx.org>
8277 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8278 to turn off an optimisation if a new inset is to be inserted.
8280 2002-10-11 André Pönitz <poenitz@gmx.net>
8282 * lyxtext.h: make some functions public to allow access
8283 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8285 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * text3.C (dispatch): when changing layout, avoid an infinite loop
8290 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8292 * lyxrc.C (read): treat a viewer or converter command of "none" as
8295 * MenuBackend.C (expandFormats): for an update, also allow the
8296 formats that are not viewable
8298 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8299 script if it is newer than the lyxrc.defaults in user directory
8301 2002-10-07 André Pönitz <poenitz@gmx.net>
8303 * text.C: Vitaly Lipatov's small i18n fix
8305 2002-09-25 Angus Leeming <leeming@lyx.org>
8307 * ispell.h: doxygen fix.
8309 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8311 * buffer.h (readFile): Add a new argument to the method, to allow
8312 reading of old-format templates.
8314 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8316 * toc.C (getTocList): Get TOC from InsetWrap.
8318 2002-09-16 John Levon <levon@movementarian.org>
8320 * lyxfunc.C: check tabular for cut/copy too
8322 2002-09-12 John Levon <levon@movementarian.org>
8327 * factory.C: add header
8329 * paragraph_funcs.h:
8330 * paragraph_funcs.C: cleanup
8332 2002-09-11 John Levon <levon@movementarian.org>
8334 * PrinterParams.h: odd/even default to true
8336 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8338 * PrinterParams.h: update printer parameters for new xforms dialog
8340 2002-09-11 Angus Leeming <leeming@lyx.org>
8342 * lyxserver.C (read_ready): re-write to make it more transparent
8343 and to make it work in coherent fashion under Tru64 Unix.
8345 2002-09-11 André Pönitz <poenitz@gmx.net>
8349 * text3.C: implement LFUN_WORDSEL
8351 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8353 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8354 make floatlist_ a boost::shared_ptr<FloatList>
8356 * lyxtextclass.C: include FloatList.h
8357 (LyXTextClass): initialize floatlist_
8358 (TextClassTags): add TC_NOFLOAT
8359 (Read): match "nofloat" to TC_NOFLOAT and use it.
8360 (readFloat): modify call to floatlist_
8364 * FloatList.[Ch] (FloatList): remove commented out float
8366 (erase): new function
8368 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * MenuBackend.C (expandToc): fix crash when there is no document
8373 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8375 * many files: Add insetwrap.
8377 2002-09-09 John Levon <levon@movementarian.org>
8379 * text2.C: remove confusing and awkward depth wraparound
8381 2002-09-09 John Levon <levon@movementarian.org>
8383 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8386 * buffer.C: remove getIncludeonlyList()
8389 * lyxfunc.C: remove headers
8391 2002-09-09 Juergen Vigna <jug@sad.it>
8393 * text.C (getColumnNearX): fix form Michael this is most
8394 probably a cut&paste bug.
8396 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8398 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8400 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8401 references, ws changes.
8403 * text2.C (init): update counters after init
8404 (insertParagraph): no need to set counter on idividual paragraphs.
8405 (setCounter): access the counters object in the textclass object
8406 on in the buffer object.
8407 (updateCounters): ditto
8409 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8410 shared_ptr<Counters> to avoid loading counters.h in all
8412 (LyXTextClass): initialize ctrs_
8413 (TextClassTags): add TC_COUNTER, and ...
8414 (Read): use it here.
8415 (CounterTags): new tags
8416 (readCounter): new function
8417 (counters): new funtion
8418 (defaultLayoutName): return a const reference
8420 * counters.C (Counters): remove contructor
8421 (newCounter): remove a couple of unneeded statements.
8422 (newCounter): simplify a bit.
8423 (numberLabel): some small formatting changes.
8425 * buffer.[Ch]: remove all traces of counters, move the Counters
8426 object to the LyXTextClass.
8428 2002-09-06 Alain Castera <castera@in2p3.fr>
8430 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8431 package to set the horizontal alignment on fixed width columns.
8434 * lyx_sty.h: added tabularnewline macro def.
8436 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8438 2002-09-06 John Levon <levon@movementarian.org>
8440 * LyXAction.C: tooltips for sub/superscript
8442 * MenuBackend.C: a bit more verbose
8444 * lyxfunc.C: tiny clean
8446 * undo_funcs.C: document undo_frozen
8448 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8450 * counters.C (Counters): add missing algorithm counter.
8452 * text2.C (setCounter): lookup the counter with layouts latexname
8453 instead of by section number.
8454 (setCounter): use a hackish way to lookup the correct enum
8456 a float name->type change
8457 reset enum couners with counter name directly instead of depth value.
8459 * counters.C (Counters): remove the push_backs, change to use the
8460 float type not the float name.
8461 (labelItem): remove unused string, float name->type change
8463 * counters.h: don't include vector, loose the enums and sects vectors
8465 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8468 (Read): add float->TC_FLOAT to textclassTags
8469 (Read): and handle it in the switch
8470 (readFloat): new function
8472 * FloatList.C (FloatList): comment out the hardcoded float
8475 * lyxlayout.h: ws change.
8477 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8479 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8481 2002-09-03 Angus Leeming <leeming@lyx.org>
8483 * BufferView_pimpl.h: qualified name is not allowed in member
8484 declaration: WorkArea & Pimpl::workarea() const;
8486 * factory.C: added using std::endl directive.
8488 * text3.C: added using std::find and std::vector directives.
8490 2002-08-29 André Pönitz <poenitz@gmx.net>
8493 * text2.C: remove unused member number_of_rows
8496 * BufferView2.C: remove file, move contents to...
8497 * BufferView.C: ... here
8499 * BufferView_pimpl.C:
8500 * factory.C: move more inset creation to factory
8502 * vspace.C: avoid direct usage of LyXText, ws changes
8505 don't provide direct access to WorkArea, use two simple
8506 acessors haveSelction() and workHeight() instead
8509 2002-08-29 John Levon <levon@movementarian.org>
8511 * BufferView_pimpl.C (dispatch): do not continue when
8514 2002-08-28 André Pönitz <poenitz@gmx.net>
8516 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8519 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8521 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8523 * buffer.C: increment LYX_FORMAT to 221
8525 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8526 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8528 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8530 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8532 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8534 * factory.C (createInset): use LyXTextClass::floats
8536 * MenuBackend.C (expandFloatListInsert):
8537 (expandFloatInsert):
8540 * text2.C (setCounter):
8542 * LaTeXFeatures.C (useFloat):
8543 (getFloatDefinitions):
8545 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8547 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8548 floatlist_, with accessor floats().
8550 * FloatList.h: remove global FloatList
8552 2002-08-26 André Pönitz <poenitz@gmx.net>
8554 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8558 * BufferView_pimpl.C:
8559 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8561 2002-08-25 John Levon <levon@movementarian.org>
8563 * LyXAction.C: fix margin note description
8565 2002-08-24 John Levon <levon@movementarian.org>
8569 * bufferview_funcs.C:
8571 * undo_funcs.C: cleanups
8573 * lyxfunc.C: disable CUT/COPY when no selection
8575 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8577 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8578 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8580 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8581 Add backward compatibility to "mono", "gray" and "no".
8583 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8585 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8586 (and file_format >= 200).
8588 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8590 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8592 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8594 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8596 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8598 * BufferView_pimpl.C:
8605 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8606 inset and code to make it work with the paragraph code. The inset
8607 can be anywhere in the paragraph, but will only do the expected
8608 thing in LaTeX if the layout file contains the parameter line
8610 (or more generally, a nonzero value) for that layout.
8612 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8614 * paragraph.h: remove the declaration of undefined counters class
8617 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8619 * text2.C (setCounter): fixed enumeration mis-count as reported by
8620 Dr. Richard Hawkins.
8622 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8624 * paragraph_funcs.h: remove some unneeded includes
8626 * text.C (backspace): pasteParagraph now in global scipe
8628 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8629 (pasteSelection): ditto
8631 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8632 * paragraph_funcs.C (pasteParagraph): ... here
8634 2002-08-20 André Pönitz <poenitz@gmx.net>
8636 * commandtags.h: new LFUNs for swapping/copying table row/colums
8639 * lyxfunc.C: support for new lfuns
8641 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8644 * buffer.[Ch]: remove NO_COMPABILITY stuff
8646 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * boost.C (throw_exception): new file, with helper function for
8649 boost compiled without exceptions.
8654 * ParameterStruct.h:
8655 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8657 * bufferlist.C (emergencyWriteAll): use boost bind
8659 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8661 * text.C: include paragraph_funcs.h
8662 (breakParagraph): breakParagraph is now in global scope
8664 * paragraph_funcs.[Ch]: new files
8666 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8669 * buffer.C: include paragraph_funcs.h
8670 (insertStringAsLines): breakParagraph is now in global scope
8672 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8675 * CutAndPaste.C: include paragraph_funcs.h
8676 (cutSelection): breakParagraphConservative is now in global scope
8677 (pasteSelection): ditto
8679 * buffer.h: declare oprator== and operator!= for
8680 Buffer::inset_iterator
8682 * bufferlist.C (emergencyWrite): don't use fmt(...)
8684 * text3.C: add using std::endl
8686 * BufferView.C (moveCursorUpdate): remove default arg
8688 2002-08-20 André Pönitz <poenitz@gmx.net>
8690 * buffer.[Ch]: move inline functions to .C
8693 * BufferView_pimpl.C:
8695 * buffer.[Ch]: use improved inset_iterator
8698 * paragraph.[Ch]: write one paragraph at a time
8700 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8702 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8703 style if style is not specified.
8705 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8707 * text2.C (setCounter): when searching for right label for a
8708 caption, make sure to recurse to parent insets (so that a caption
8709 in a minipage in a figure float works) (bug #568)
8711 2002-08-20 André Pönitz <poenitz@gmx.net>
8713 * text3.C: new file for LyXText::dispatch() and helpers
8715 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8717 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8719 2002-08-19 André Pönitz <poenitz@gmx.net>
8722 * text.C: new LyXText::dispatch()
8724 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8726 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8728 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8730 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8733 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * Makefile.am: use $(variables) instead of @substitutions@
8737 2002-08-15 André Pönitz <poenitz@gmx.net>
8740 * BufferView_pimpl.C: streamlining mathed <-> outer world
8744 * LyXAction.C: remove unused LFUN_MATH
8746 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8750 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * paragraph.C (Paragraph): reformat a bit
8753 (cutIntoMinibuffer): use builtin InsetList function instad of
8757 * buffer.C: include boost/bind.hpp, add using std::for_each
8758 (writeFileAscii): use ParagraphList iterators
8759 (validate): use for_each for validate traversal of paragraphs
8760 (getBibkeyList): use ParagraphList iterators
8761 (resizeInsets): use for_each to resizeInsetsLyXText for all
8763 (getParFromID): use ParagraphList iterators
8765 * BufferView2.C (lockInset): use paragraph list and iterators
8767 2002-08-14 John Levon <levon@movementarian.org>
8769 * lyxserver.C: remove spurious xforms include
8771 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8773 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8775 2002-08-13 André Pönitz <poenitz@gmx.net>
8778 * lyxfunc.C: further cleaning
8780 2002-08-13 André Pönitz <poenitz@gmx.net>
8782 * funcrequest.h: new constructor
8784 * funcrequest.C: move stuff here from .h
8787 * BufferView_pimpl.C:
8790 * lyxfunc.C: subsequent changes
8792 * lyxfunc.h: new view() member function
8794 * lyxfunc.C: subsequent changes
8796 2002-08-13 Angus Leeming <leeming@lyx.org>
8799 * BufferView_pimpl.C:
8807 changes due to the changed LyXView interface that now returns references
8808 to member variables not pointers.
8810 2002-08-13 Angus Leeming <leeming@lyx.org>
8812 * WordLangTuple (word, lang_code): return references to strings,
8817 * lyxtext.h: forward-declare WordLangTuple.
8822 * text.C: #include "WordLangTuple.h".
8825 * text.C: (selectNextWordToSpellcheck): constify return type.
8827 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8833 * paragraph_pimpl.h:
8836 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8838 Made updateCounter always count from start of buffer, and removed
8839 second argument (par).
8840 Reverted floats number display to '#'. Perhaps I'll try again when the
8841 code base is sanitized a bit.
8843 2002-08-12 Angus Leeming <leeming@lyx.org>
8845 * buffer.[Ch] (getLabelList): constify.
8847 2002-08-07 André Pönitz <poenitz@gmx.net>
8849 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8851 * funcrequest.h: extension to keep mouse (x,y) position
8853 2002-08-12 Juergen Vigna <jug@sad.it>
8855 * BufferView2.C (insertErrors): forbid undo when inserting error
8858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8860 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8862 * ParagraphList.[Ch]: new files
8864 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8866 * BufferView2.C (lockInset): ParagraphList changes
8869 * bufferlist.C: ditto
8873 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8876 unused class variable counter_,
8878 * paragraph.[Ch] (getFirstCounter): delete unused function
8880 * counters.C: include LAssert.h
8881 (reset): add a new function with no arg, change other version to
8882 not have def. arg and to not allow empty arg.
8884 * text2.C (setCounter): remove empty arg from call to Counters::reset
8886 2002-08-11 John Levon <levon@movementarian.org>
8888 * Makefile.am: add WordLangTuple.h
8890 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8892 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8893 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8895 * insets/insettext.C: InsetList changes
8897 * graphics/GraphicsSupport.C (operator()): InsetList changes
8899 * toc.C (getTocList): InsetList changes
8901 * paragraph_pimpl.[Ch]: InsetList changes
8903 * paragraph.[Ch]: InsetList changes
8905 * buffer.C (inset_iterator): InsetList changes
8906 (setParagraph): ditto
8907 * buffer.h (inset_iterator): ditto
8908 * iterators.C (operator++): ditto
8909 * iterators.h: ditto
8911 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8913 * InsetList.[Ch]: new files, most InsetList handling moved out of
8916 * BufferView2.C (removeAutoInsets): InsetList changes
8918 (ChangeInsets): ditto
8920 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * paragraph_pimpl.h (empty): new function
8924 * paragraph.[Ch] (empty): new function
8926 * other files: use the new Paragraph::empty function
8928 2002-08-09 John Levon <levon@movementarian.org>
8930 * lyxtext.h: remove unused refresh_height
8932 2002-08-09 John Levon <levon@movementarian.org>
8939 * paragraph.C: move sgml char escaping out of paragraph
8942 * paragraph.C: remove id setter
8946 * paragraph_pimpl.C: remove dead tex_code_break_column
8948 * bufferview_funcs.C: small cleanup
8950 * lyxfunc.C: remove dead proto
8952 * lyxtext.h: make some stuff private. Remove some dead stuff.
8954 * lyxgluelength.C: make as[LyX]String() readable
8956 2002-08-08 John Levon <levon@movementarian.org>
8961 * ToolbarDefaults.C:
8964 * toc.C: lyxaction cleanup
8966 2002-08-08 John Levon <levon@movementarian.org>
8968 * BufferView2.C: small cleanup
8971 * lyxfind.C: move unnecessary header into the .C
8973 2002-08-08 John Levon <levon@movementarian.org>
8975 * funcrequest.h: just tedious nonsense
8978 * lyx_main.C: cleanups
8981 * vspace.C: remove dead header lyx_main.h
8983 2002-08-07 Angus Leeming <leeming@lyx.org>
8986 * paragraph_pimpl.h:
8987 Forward declare class Counters in paragraph.h by moving the ctrs member
8988 variable into Paragraph::Pimpl.
8989 (counters): new method, returning a reference to pimpl_->ctrs.
8991 * text2.C: ensuing changes.
8993 2002-08-07 John Levon <levon@movementarian.org>
8995 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8997 * BufferView_pimpl.C: announce X selection on double/triple
9000 * lyx_main.C: use correct bool in batch dispatch
9002 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9004 2002-08-07 André Pönitz <poenitz@gmx.net>
9006 * funcrequest.h: new class to wrap a kb_action and its argument
9009 * BufferView_pimpl[Ch]:
9013 * lyxrc.C: subsequent changes
9016 2002-08-07 John Levon <levon@movementarian.org>
9018 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9019 document options change.
9021 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9026 * makefile.am: move counters functionality over from
9027 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9029 2002-08-06 John Levon <levon@movementarian.org>
9031 * WordLangTuple.h: new file for word + language code tuple
9042 * BufferView2.C: use WordLangTuple
9045 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9047 2002-08-06 John Levon <levon@movementarian.org>
9049 * lyx_main.C: fix cmdline batch handling
9051 2002-08-06 André Pönitz <poenitz@gmx.net>
9053 * lyxrc.C: set default for show_banner to true
9055 2002-08-06 John Levon <levon@movementarian.org>
9057 * pspell.C: fix a crash, and allow new aspell to work
9059 2002-08-06 John Levon <levon@movementarian.org>
9062 * kbmap.C: small cleanup
9065 * vspace.C: add const
9067 2002-08-05 John Levon <levon@movementarian.org>
9069 * LyXAction.C: back to tabular-insert
9071 2002-08-04 John Levon <levon@movementarian.org>
9074 * BufferView.C: cosmetic change
9076 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9086 * BufferView2.C: purge all "Lyx" not "LyX" strings
9089 * lyxcursor.C: attempt to add some documentation
9094 * ToolbarDefaults.C:
9095 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9096 merge with LFUN_TABULAR_INSERT
9103 * pspell.C: split up i/pspell implementations into separate
9104 files, many cleanups
9106 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9108 * text2.C: some cleanup
9110 * lyxfunc.C: don't check for isp_command == "none" any more, it
9111 didn't make any sense
9113 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9118 * makefile.am: move counters functionality over
9119 from text2.C/paragraph.[Ch] to counters.[Ch], and
9121 2002-08-02 John Levon <levon@movementarian.org>
9123 * buffer.C: s/lyxconvert/lyx2lyx/
9125 2002-08-02 Angus Leeming <leeming@lyx.org>
9127 * lyxlex.C: revert John's change as it breaks reading of the user
9130 2002-08-02 Angus Leeming <leeming@lyx.org>
9132 * importer.C (Import):
9133 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9134 changes due to LyXView::view() now returning a boost::shared_ptr.
9136 2002-08-02 John Levon <levon@movementarian.org>
9138 * lyxlex.C: small cleanup
9140 2002-08-02 John Levon <levon@movementarian.org>
9142 * text2.C (status): small cleanup, no logic change
9144 2002-08-01 John Levon <levon@movementarian.org>
9147 * buffer.C (writeFile): don't output alerts, caller
9151 * lyx_cb.C: from above
9153 * lyxfunc.C: allow to open non-existent files
9155 2002-07-31 John Levon <levon@movementarian.org>
9157 * lyxserver.C: don't let incidental errors get
9160 2002-07-30 John Levon <levon@movementarian.org>
9162 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9164 2002-07-30 John Levon <levon@movementarian.org>
9167 * lyxserver.C: remove I/O callback too
9169 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9174 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9176 * many files: strip,frontStrip -> trim,ltrim,rtrim
9178 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9180 * PrinterParams.h: remove extern containsOnly, and include
9181 support/lstrings.h instead.
9183 * LaTeX.C (scanAuxFile): modify because of strip changes
9185 * buffer.C (makeLaTeXFile): ditto
9186 * bufferparams.C (writeFile): ditt
9187 * lyxfont.C (stateText): ditto
9188 * lyxserver.C (read_ready): ditto
9189 * vc-backend.C (scanMaster): ditto
9191 * BufferView_pimpl.h: ws changes
9193 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9195 2002-07-26 André Pönitz <poenitz@gmx.net>
9197 * kb_sequence.C: remove unnedred usings
9199 2002-07-26 Juergen Vigna <jug@sad.it>
9201 * lyxfind.C (LyXReplace): we have to check better if the returned
9202 text is not of theLockingInset()->getLockingInset().
9204 2002-07-25 Juergen Vigna <jug@sad.it>
9206 * lyxfind.C (LyXReplace): don't replace if we don't get the
9209 * undo_funcs.C (createUndo): remove debugging code.
9211 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9213 * buffer.C (parseSingleLyXformat2Token): Use default placement
9214 when reading old floats.
9216 * FloatList.C (FloatList): Change the default placement of figure
9217 and tables to "tbp".
9219 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9221 * MenuBackend.C: using std::max
9223 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * MenuBackend.C (expandToc):
9226 (expandToc2): code moved from xforms menu frontend. It is now
9227 generic and TOCs are transparent to menu frontends.
9229 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9231 * toc.C (getTocList): protect against buf=0
9233 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9234 Menu as first parameter. Now, this calls itself recursively to
9235 expand a whole tree (this will be useful for TOC handling)
9236 (expandFloatInsert): remove 'wide' version of floats
9238 * MenuBackend.h (submenuname): returns the name of the submenu.
9239 (submenu): returns the submenu itself, provided it has been
9240 created by MenuBackend::expand
9242 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9244 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9245 insets which have noFontChange == true. (bug #172)
9247 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * BufferView_pimpl.C: add connection objects and use them...
9252 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * MenuBackend.C (expandLastfiles):
9257 (expandFloatListInsert):
9258 (expandFloatInsert):
9259 (expand): split expand in parts
9261 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9263 * lyx_gui.C: use lyx_gui::exit()
9265 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9267 * LyXAction.C: show the failing pseudo action
9269 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9271 * buffer.C (readFile): Run the lyxconvert script in order to read
9274 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9278 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9280 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9284 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9286 2002-07-22 Herbert Voss <voss@lyx.org>
9289 * lyxlength.[Ch]: add support for the vertical lengths
9291 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9293 * toc.[Ch]: std:: fixes
9295 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9297 * lyxrc.C: do not include lyx_main.h
9299 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9305 * BufferView2.C: include "lyxlex.h"
9308 * bufferparams.h: do not #include "lyxlex.h"
9310 * lyxtextclasslist.C (Add): remove method
9311 (classlist): renamed to classlist_
9313 * paragraph_pimpl.C:
9317 * bufferview_funcs.C:
9322 * toc.C (getTocList): use BufferParams::getLyXTextClass
9324 * toc.C (getTocList): use InsetFloat::addToToc
9326 * toc.[Ch]: new files, containing helper functions to handle table
9329 * lyxfunc.C (dispatch): no need to remove spaces around command
9331 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9332 first command of the sequence; it is not very clever, but I do not
9333 have a better idea, actually
9335 * LyXAction.C (LookupFunc): make sure to remove space at the
9336 beginning and end of the command
9338 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9340 * MenuBackend.C (getMenubar): new method: return the menubar of
9342 (read): treat differently reading of menu and menubar (in
9343 particular, the menubar has no name now)
9344 (Menu::menubar): remove
9346 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9349 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9351 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9352 a bibitem inset in a RTL paragraph.
9354 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9356 * paragraph_pimpl.C: constify
9358 * BufferView_pimpl.C:
9360 * lyxfunc.C: fix dispatch in a nicer way
9362 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9364 * lyxfunc.C (dispatch):
9365 * BufferView_pimpl.C:
9366 * BufferView_pimpl.h:
9368 * BufferView.h: rename Dispatch() to dispatch()
9370 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9372 * lyxlayout.C (Read): honor DependsOn tag
9374 * lyxlayout.[Ch] (depends_on): new method
9376 * version.C.in: update lyx_docversion
9378 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9380 * paragraph.C (validate): remove from here...
9381 * paragraph_pimpl.C (validate): ... and move here
9382 (isTextAt): make it const
9384 * buffer.C (getLists): ws cleanup
9386 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9388 * language.C (read): Use iso8859-1 encoding in latex_lang
9389 (this prevents LyX from crashing when using iso10646-1 encoding).
9391 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * text2.C (toggleInset): if cursor is inside an inset, close the
9394 inset and leave cursor _after_ it
9396 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9398 * lyxfunc.C: move minibuffer completion handling out of here
9400 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9402 * BufferView_pimpl.C:
9403 * LaTeX.C: fix dispatch calls
9405 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9407 * text.C (drawChars): Fix Arabic text rendering.
9409 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9413 * lyxfunc.C: remove message-push/pop
9417 * lyxfunc.C: rationalise some code by removing verboseDispatch
9418 in favour of a bool argument to dispatch()
9420 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9422 * lyx_main.C (init): make sure to read symlinks as absolute paths
9424 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9427 * lyxfunc.C: no need for commandshortcut to be a member
9429 2002-07-15 André Pönitz <poenitz@gmx.net>
9431 * converter.C: add support for $$s (scripts from lib/scripts dir)
9432 * lyx_main.C: white space
9434 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9438 * lyxrc.C: remove second exit confirmation
9440 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9445 * BufferView_pimpl.h:
9446 * BufferView_pimpl.C:
9447 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9449 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9451 * MenuBackend.C (expand): add numeric shortcuts to document menu
9453 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9455 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9457 * lyxfont.C (setLyXFamily):
9464 * buffer.C (asciiParagraph): use ascii_lowercase
9466 2002-07-15 Mike Fabian <mfabian@suse.de>
9468 * lyxlex_pimpl.C (search_kw):
9469 * lyxlex.C (getLongString):
9470 * converter.h (operator<):
9471 * converter.C (operator<):
9472 * buffer.C (parseSingleLyXformat2Token):
9474 * ToolbarDefaults.C (read):
9475 * MenuBackend.C (checkShortcuts):
9477 * LColor.C (getFromGUIName):
9478 (getFromLyXName): use the compare_ascii_no_case instead of
9479 compare_no_case, because in turkish, 'i' is not the lowercase
9480 version of 'I', and thus turkish locale breaks parsing of tags.
9482 2002-07-16 Angus Leeming <leeming@lyx.org>
9484 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9485 now takes a Buffer const & argument.
9487 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9489 * BufferView.C (resize): check there's a buffer to resize
9491 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9493 * lyxfunc.C: remove dead code
9496 * lyxserver.C: use lyx_guii::set_read_callback
9498 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9500 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9501 an inset in a RTL paragraph.
9503 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9505 * lyxfunc.C: repaint after a font size update
9507 2002-07-15 André Pönitz <poenitz@gmx.net>
9509 * lyxlength.C: inBP should be able to return negative values
9511 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9513 * lyxfunc.C: use lyx_gui::update_fonts()
9515 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9517 * lyxfunc.C: use lyx_gui::update_color()
9519 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9525 * lyxrc.C: remove file->new asks for name option, and let
9526 buffer-new take an argument
9528 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9530 * BufferView_pimpl.C: remove unneeded extra repaint()
9532 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9534 * LyXAction.C: allow command-sequence with NoBuffer
9536 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9538 2002-07-10 Angus Leeming <leeming@lyx.org>
9540 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9542 2002-07-09 Angus Leeming <leeming@lyx.org>
9544 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9546 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9548 * lengthcommon.h: whitespace
9550 * lyxfunc.C: update scrollbar after goto paragraph
9552 * lyxtext.h: factor out page break drawing, and fix it so
9553 page break/added space paints as selected nicely
9555 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9557 * BufferView_pimpl.C: add FIXMEs, clean up a little
9559 2002-07-09 André Pönitz <poenitz@gmx.net>
9561 * lyxfont.[Ch]: support for wasy symbols
9563 2002-07-08 André Pönitz <poenitz@gmx.net>
9565 * BufferView_pimpl.C: apply John's patch for #93.
9567 2002-07-05 Angus Leeming <leeming@lyx.org>
9569 * BufferView_pimpl.C (buffer): generate previews if desired.
9571 * LColor.h: add "preview" to the color enum.
9573 * LColor.C (LColor): add a corresponding entry to the items array.
9575 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9578 2002-07-05 Angus Leeming <leeming@lyx.org>
9580 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9581 The body of the code is now in the method that is passed an ostream &
9582 rather than a file name.
9583 Pass an additional only_preamble parameter, useful for the forthcoming
9586 2002-07-03 André Pönitz <poenitz@gmx.net>
9588 * lyxfunc.C: simplify getStatus() a bit for math stuff
9590 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9592 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9594 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * text.C (changeRegionCase): do not change case of all the
9597 document when region ends at paragraph end (bug #461)
9599 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * paragraph.C (startTeXParParams):
9602 (endTeXParParams): add \protect when necessary
9604 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * BufferView_pimpl.C (workAreaExpose): remove warning
9608 2002-06-27 Angus Leeming <leeming@lyx.org>
9610 * Makefile.am: add lyxlayout_ptr_fwd.h.
9612 2002-06-26 André Pönitz <poenitz@gmx.net>
9614 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9616 2002-06-25 Angus Leeming <leeming@lyx.org>
9618 * lyxfunc.C (dispatch): Comment out the call to
9619 grfx::GCache::changeDisplay. The method no longer exists now that the
9620 pixmap generation part of the graphics loader has been moved into
9623 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9625 * text2.C: layout as layout
9627 * text.C: layout as layout
9629 * tabular.C (OldFormatRead): layout as layout
9631 * paragraph_pimpl.C (TeXDeeper): layout as layout
9632 (realizeFont): layout as layout
9634 * paragraph.C (writeFile): layout as layout
9635 (validate): layout as layout
9636 (getFont): layout as layout
9637 (getLabelFont): layout as layout
9638 (getLayoutFont): layout as layout
9639 (breakParagraph): layout as layout
9640 (stripLeadingSpaces): layout as layout
9641 (getEndLabel): layout as layout
9642 (getMaxDepthAfter): layout as layout
9643 (applyLayout): layout as layout
9644 (TeXOnePar): layout as layout
9645 (simpleTeXOnePar): layout as layout
9646 (TeXEnvironment): layout as layout
9647 (layout): layout as layout
9648 (layout): layout as layout
9650 * lyxtextclass.C (compare_name): new functor to work with
9651 shared_ptr, layout as layout
9652 (Read): layout as layout
9653 (hasLayout): layout as layout
9654 (operator): layout as layout
9655 (delete_layout): layout as layout
9656 (defaultLayout): layout as layout
9658 * lyxlayout_ptr_fwd.h: new file
9660 * lyxlayout.C (Read): layout as layout
9662 * lyx_cb.C (MenuInsertLabel): layout as layout
9664 * bufferlist.C (newFile): layout as layout
9666 * buffer.C (readLyXformat2): layout as layout
9667 (parseSingleLyXformat2Token): layout as layout
9668 (insertStringAsLines): layout as layout
9669 (asciiParagraph): layout as layout
9670 (latexParagraphs): layout as layout
9671 (makeLinuxDocFile): layout as layout
9672 (simpleLinuxDocOnePar): layout as layout
9673 (makeDocBookFile): layout as layout
9674 (simpleDocBookOnePar): layout as layout
9675 (getLists): layout as layout
9677 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9679 * CutAndPaste.C (cutSelection): layout as layout
9680 (pasteSelection): layout as layout
9681 (SwitchLayoutsBetweenClasses): layout as layout
9683 * BufferView_pimpl.C (Dispatch): layout as layout
9684 (smartQuote): layout as layout
9686 * BufferView2.C (unlockInset): layout as layout
9688 2002-06-24 André Pönitz <poenitz@gmx.net>
9690 * lyxfunc.C: fix #487
9692 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9696 * lyxfunc.C: remove display_shortcuts, show_banner
9698 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9700 * Buffer_pimpl.C: oops, update on resize
9702 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9709 * BufferView.C: use repaint()
9711 * BufferView_pimpl.h:
9712 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9713 as it's a clearer description. Remove superfluous
9716 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9718 * text.C: fix bug 488. Not ideal, but getting
9719 getWord() to work properly for the insets that
9720 matter is more difficult ...
9722 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9724 * BufferView_pimpl.C:
9727 * lyxfunc.C: remove the six million index lyxfuncs to just
9728 one, and DTRT (bug 458)
9730 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9734 * BufferView_pimpl.h:
9735 * BufferView_pimpl.C: clean up resize() stuff,
9736 and unnecessary updateScreen()s
9738 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9742 * BufferView_pimpl.h:
9743 * BufferView_pimpl.C:
9746 * minibuffer.C: remove focus management of workarea,
9747 not needed. Use screen's greyOut()
9749 2002-06-17 Herbert Voss <voss@lyx.org>
9751 * converter.C: (convert) do not post a message, when converting
9752 fails, let the calling function decide what to do in this case
9754 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9756 * lyxfunc.C: tidy up a little
9758 2002-06-16 <alstrup@diku.dk>
9760 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9761 Got rid of FORMS_H_LOCATION include. Now we are
9764 2002-06-15 LyX Development team <lyx@rilke>
9766 * buffer.[Ch] (sgmlOpenTag):
9767 (sgmlCloseTag): Added support for avoiding pernicious mixed
9768 content. Return number of lines written.
9771 (makeDocBookFile): Fixed calls to sgml*Tag.
9772 Simple white space clean.
9774 (simpleDocBookOnePar): Simple white space clean.
9776 * tabular.[Ch] (docBook): Renamed to docbook and got another
9777 argument to related with the pernicious mixed content.
9779 (docbookRow): Fixed calls for docbook inset method.
9781 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9783 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9784 so it's X11 independent.
9788 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9790 2002-06-15 Lyx Development team <lyx@electronia>
9792 * intl.h: Renamed getTrans to getTransManager.
9794 2002-06-14 Angus Leeming <leeming@lyx.org>
9796 * Makefile.am: nuke forgotten stl_string_fwd.h.
9798 2002-06-12 Angus Leeming <leeming@lyx.org>
9800 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9802 2002-06-13 Angus Leeming <leeming@lyx.org>
9805 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9807 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9809 * kbmap.C (getiso): add support for cyrillic and greek
9811 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9815 * BufferView_pimpl.h:
9816 * BufferView_pimpl.C: move bogus scrolling logic
9819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9822 * BufferView_pimpl.C: view->resize() change
9824 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9826 * BufferView_pimpl.C: topCursorVisible
9829 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9833 * lyx_gui.C: move to frontends/
9837 * lyx_main.C: changes from above
9839 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9846 * lyx_main.C: minor tidy
9848 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9850 * BufferView_pimpl.h:
9851 * BufferView_pimpl.C:
9853 * BufferView.C: make painter() const,
9856 * BufferView2.C: use screen() accessor
9859 * lyx_main.C: some minor cleanup
9861 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9863 * BufferView_pimpl.h:
9864 * BufferView_pimpl.C: remove enter/leaveView,
9867 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9872 * BufferView_pimpl.h:
9873 * BufferView_pimpl.C: only construct screen once,
9876 * lyxrc.C: remove pointless comment
9878 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9881 * BufferView.C: remove active() and belowMouse()
9883 * BufferView_pimpl.h:
9884 * BufferView_pimpl.C: use workarea() not workarea_,
9885 and make it use a scoped_ptr instead
9887 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9889 * lyx_gui.C: add debug message on BadWindow
9891 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * sp_spell.C: fdopen is not part of the C++ standard.
9895 * paragraph.C (InsetIterator): use >= instead of ==
9897 2002-06-07 Angus Leeming <leeming@lyx.org>
9899 Fixes needed to compile with Compaq cxx 6.5.
9900 * BufferView_pimpl.C:
9907 * lyxtextclasslist.C:
9912 all c-library variables have been moved into namespace std. Wrap
9913 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9918 Add a using std::abs declaration.
9920 * kbmap.h (modifier_pair):
9921 * paragraph.h (InsetTable, InsetList):
9922 * lyxfont.h (FontBits):
9923 type definition made public.
9925 * bufferlist.C (emergencyWriteAll): the compiler complains that
9926 there is more than one possible lyx::class_fun template to choose from.
9927 I re-named the void specialisation as lyx::void_class_fun.
9929 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9931 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9932 the compiler is is unable to find tostr in write_attribute.
9934 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9936 * buffer.C (sgmlError): hide #warning
9938 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * xtl/*: get rid of xtl, which is not in use anyway
9942 * LyXAction.C (init):
9943 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9944 were unimplemented xtl experimentation
9946 2002-06-04 André Pönitz <poenitz@gmx.net>
9948 * lyxfunc.C: disable array operation on simple formulae
9950 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9952 * converter.C: constify a bit
9954 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9956 * lyx_gui.C: check xforms version correctly
9958 2002-04-30 Herbert Voss <voss@lyx.org>
9960 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9963 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9965 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9966 attempt to register it with a VCS)
9968 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9970 * lyx_main.C (init): honor variables LYX_DIR_13x and
9973 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9977 * lyx_main.C: fix a crash on bad command line,
9978 and give a useful exit status on error
9980 * lyxfunc.C (doImport): allow -i lyx to work
9982 2002-03-30 André Pönitz <poenitz@gmx.net>
9984 * lyxfunc.C: mathed font changes
9986 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10001 * trans_mgr.h: srcdocs, and some minor cleanups
10003 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10006 call getFont all the time)
10008 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * switch from SigC signals to boost::signals
10012 2002-05-29 André Pönitz <poenitz@gmx.net>
10014 * paragraph_pimpl.C (getChar): don't call size() too often...
10016 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10018 * paragraph_pimpl.C (insertChar): do not try to update tables when
10019 appending (pos == size())
10021 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10022 in order to reduce drastically the number of comparisons needed to
10023 parse a large document
10025 2002-05-29 André Pönitz <poenitz@gmx.net>
10031 * textclasslist.[Ch]:
10032 * sp_ispell.h: whitespace change
10034 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10036 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10037 lyxaction directly now.
10039 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10043 * lyxvc.C: remove unused headers
10045 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10052 * undo_funcs.C: some cleanups. Use shared_ptr
10053 and a template for the undo stacks.
10055 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10057 * BufferView_pimpl.h:
10058 * BufferView_pimpl.C:
10065 * text2.C: use key_state/mouse_state
10067 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10072 * chset.C: change include order
10073 (loadFile): use boost regex and get rid of LRegex and LSubstring
10075 * Makefile.am (BOOST_LIBS): new variable
10076 (lyx_LDADD): use it
10078 * LaTeX.C: change include order.
10079 (scanAuxFile): use boost regex and get rid of LRegex and
10083 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10088 * FontInfo.C: moved to frontends/xforms/
10091 * FontLoader.C: moved into frontends for GUIIzation
10096 * lyxfunc.C: changes from above
10098 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10100 * LColor.C: remove spurious X include
10102 * BufferView_pimpl.C:
10107 * text2.C: move font metrics to frontends/
10109 2002-05-24 Juergen Vigna <jug@sad.it>
10111 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10112 setting the undo_cursor.
10114 * ParagraphParameters.h: include local includes first.
10116 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10118 * BufferView_pimpl.C:
10119 * BufferView_pimpl.h:
10123 * screen.C: move WorkArea into frontends/
10129 * BufferView2.C: move LyXScreen into frontends/
10133 * lyx_gui.C: move lyxlookup into frontends/xforms/
10135 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10138 * BufferView_pimpl.C:
10148 * bufferview_funcs.C:
10161 * vc-backend.C: move LyX/XFormsView into frontends/
10163 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10175 * text2.C: move Painter to frontends/
10177 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * buffer.C: comment out some some code that depend upon lyx_format
10182 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10183 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10185 * buffer.h (NO_COMPABILITY): turn off compability
10187 * ColorHandler.C: include scoped_array.hpp
10189 * font.C: Use more specific smart_ptr header.
10192 * ShareContainer.h: ditto
10193 * lyx_main.h: ditto
10195 * FontInfo.h: ditto
10196 * BufferView_pimpl.h: ditto
10197 * ColorHandler.h: ditto
10199 * kbmap.C (defkey): change call to shared_ptr::reset
10201 2002-05-21 Juergen Vigna <jug@sad.it>
10203 * buffer.C (insertErtContents): fix to insert ert asis if it is
10204 non empty. Skip it completely if it contains only whitespaces.
10206 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10208 * BufferView_pimpl.C:
10209 * BufferView2.C: clear selection on paste (bug 393)
10211 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10213 * DepTable.C: include ctime
10215 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10217 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10219 2002-05-14 Juergen Vigna <jug@sad.it>
10221 * text.C (breakParagraph): fixed function to honor the keepempty
10222 layout in the right maner and also to permit the right breaking
10223 algorithm on empty or non empyt keepempty paragraphs.
10225 * paragraph.C (breakParagraph): we have to check also if the par
10226 is really empty (!size()) for isempty otherwise we do the wrong
10229 2002-05-10 Juergen Vigna <jug@sad.it>
10231 * buffer.[Ch] : The following are only changes to the ert
10232 compatibility read reading old LaTeX layout and font stuff and
10233 convert it to ERTInsets.
10235 * buffer.h: added isErtInset().
10237 * buffer.C (struct ErtComp): add a fromlayout bool to check
10238 if we're inside a LaTeX layout.
10239 (isErtInset): new helper function.
10240 (insertErtContents): look for other ert insets before this one
10241 and insert the contents there, so that we don't have subsequent
10242 ERT insets with nothing between them. This way we create only one
10243 inset with multiple paragraphs. Also check if we don't insert only
10244 spaces ' ' as they are ignored anyway afterwards in the .tex file
10245 so if we have only spaces we will ignore this latex part in the
10247 (parseSingleLyXformat2Token \\layout): better compatibility when
10248 reading layout-latex stuff.
10249 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10251 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10252 stuff after reading the inset only get the information back from
10255 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10257 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10259 * LaTeXFeatures.C (getBabelOptions): New method.
10261 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * BufferView_pimpl.C (Dispatch): work around missing argument for
10266 2002-05-08 Juergen Vigna <jug@sad.it>
10268 * text.C (leftMargin): handle paragraph leftindent.
10270 * paragraph.C (writeFile): write the new \\leftindent tag.
10271 (validate): handle leftindent code.
10272 (TeXEnvironment): handle paragraphleftindent code again.
10274 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10276 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10277 for paragrap_extra indent code and new token \\leftindent.
10278 (latexParagraphs): handle the leftindent as environment.
10280 * ParameterStruct.h: added leftindent support.
10282 * ParagraphParameters.C (leftIndent): added support functions for
10283 the paragraph left indent.
10285 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10288 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10290 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10293 * text.C (computeBidiTables): No bidi in insetERT.
10295 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10298 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10300 * version.C.in: pre 5
10302 2002-05-02 José Matos <jamatos@fep.up.pt>
10303 * buffer.C (makeDocBookFile): white space changes, add newline to
10305 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10307 * tabular.C (docBook): fix typo.
10309 2002-05-03 Juergen Vigna <jug@sad.it>
10311 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10312 change in LyXText as we can not be sure it was not freed.
10313 (drawOneRow): remove unused code.
10315 * text.C (drawInset): redo the calculation of the need_break_row as
10316 it could have a row which was already freed.
10317 (draw): look at the return value of drawInset and return false if
10318 it also returned false.
10319 (paintRowText): look at the return value of draw and return false if
10320 it also returned false.
10322 * lyxtext.h: added bool return type to drawInset() and draw() so that
10323 if we have a change in the row so that the rowbreak has to be redone
10324 we abort drawing as it will be called again.
10326 2002-05-02 Juergen Vigna <jug@sad.it>
10328 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10329 a change in the maintext also if we're inside an inset.
10330 (Dispatch): set the cursor again after a break line and after the
10331 screen has been updated as it could be we're in a different row.
10333 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10334 to set the cursor behind the pargraph with > size().
10335 (setCursor): check also for the same paragraph when checking where
10336 to put the cursor if we have a NFR inset.
10338 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10339 parts of layout read further up as it still was in the wrong
10342 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * screen.C (drawFromTo): change sine fullRebreak always return
10347 * buffer.C (parseSingleLyXformat2Token): reindent some
10349 * BufferView_pimpl.C (update): change since fullRebreak always
10351 (Dispatch): git rid of the last hardcoded "Standard"s.
10353 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * text2.[Ch] (fullRebreak): make it return void now that we always
10358 2002-04-30 Juergen Vigna <jug@sad.it>
10360 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10361 ert compatibility check for "latex" layout.
10363 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10365 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10366 minipages: use col% instead of p%, and also use the current font.
10367 (makeLaTeXFile): Fix use babel condition.
10368 (parseSingleLyXformat2Token): Correct font when reading old floats.
10370 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10372 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10373 inserting list of floats.
10375 2002-04-25 Herbert Voss <voss@lyx.org>
10377 * MenuBackend.C (expand): don't add the graphics extensions to the
10380 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10383 non-existing layout, do not complain if it was the default layout
10384 of the original class (bug #342)
10386 2002-04-24 Juergen Vigna <jug@sad.it>
10388 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10389 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10391 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10393 * buffer.C (getBibkeyList): If using \bibliography, return the
10394 option field with the reference itself. Enables us to provide natbib
10395 support when using \bibliography.
10397 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10399 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10401 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10402 natbib is provided by the LaTeX class.
10404 2002-04-23 Juergen Vigna <jug@sad.it>
10406 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10409 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10411 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10413 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10415 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10416 ensuremath around textordmasculine, textordfeminine and
10419 2002-04-19 Juergen Vigna <jug@sad.it>
10421 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10422 reinitializing the buffer otherwise row-dimensions may be wrong.
10423 (update): reset also the selection cursors if they do exits otherwise
10424 their x/y positions may be wrong.
10426 * text2.C (cursorDown): don't enter the inset if we came from a row
10427 above and are one row over the inset.
10429 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10430 really leaving an inset.
10432 2002-04-18 Juergen Vigna <jug@sad.it>
10434 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10435 of the selected paragraph does not have the selected layout also if
10438 * text2.C (setLayout): fixed bug which did not change last selected
10441 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10442 changed the read and substituted \\end_float with \\end_inset!
10444 * BufferView_pimpl.C (cursorPrevious):
10445 (cursorNext): fixed to make it work with rows heigher than the work
10446 area without moving the cursor only the draw of the row.
10447 (workAreaMotionNotify): fix jumping over high rows.
10449 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10451 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10454 2002-04-16 Juergen Vigna <jug@sad.it>
10456 * text2.C (setCursor): set also the irow().
10457 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10459 (cursorDown): support for locking an inset if the x_fix value goes
10460 inside it. That way I can transverse insets too with cursor up/down.
10462 * lyxrow.h: added irow helper function same as other (i) functions.
10464 * BufferView_pimpl.C (cursorPrevious):
10465 (cursorNext): fixed for insets!
10467 2002-04-15 Juergen Vigna <jug@sad.it>
10469 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10470 position otherwise it is wrong in some cases.
10472 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10473 inside the inset before the call.
10475 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10477 * buffer.[Ch] (getBibkeyList): make it const.
10479 2002-04-12 Juergen Vigna <jug@sad.it>
10481 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10483 * text2.C (getCursorX): new helper function
10484 (setCursor): compute also ix_
10485 (setCursorFromCoordinates): set also ix.
10487 * lyxcursor.h: added ix_ and helper functions.
10489 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10491 * buffer.C (insertStringAsLines): dont break paragraph if the this
10492 paragraph is inside an inset which does not permit it!
10494 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10495 also with no chars on this paragraph.
10496 (paintRowText): only paint stuff if it's inside the workarea!
10498 * paragraph.C (breakParagraph): honor keepempty flag and break the
10499 paragraph always below not above.
10501 * BufferView2.C (unlockInset): update the paragraph layout on inset
10502 unlock as we changed paragraph in such a case.
10504 * lyxfind.C (LyXFind): clear the former selection if not found!
10506 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10507 again called in insertChar().
10509 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10510 an inset which uses the whole row!
10511 (rightMargin): ditto.
10512 (insertChar): force a rebreak if we inserted an inset!
10514 2002-03-28 Herbert Voss <voss@lyx.org>
10516 * lyxlength.[Ch]: add inBP() to get the right PS-point
10517 units (BigPoint). With inPixels we have rounding errors
10519 2002-04-11 Juergen Vigna <jug@sad.it>
10521 * text2.C (setCursorFromCoordinates): set iy to the right value.
10522 (setCursor): add check if row->previous exists!
10524 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10525 an old float_type as this was the case in the old code!
10527 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10529 * BufferView2.C (showLockedInsetCursor): use iy
10530 (fitLockedInsetCursor): ditto
10532 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10533 locked insets as there we have the right value now.
10535 * lyxcursor.C: added iy_ variable and iy functions to set to the
10536 baseline of cursor-y of the locked inset.
10538 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10539 (setCursor): fixed for insets which need a full row.
10541 * text.C (rowLastPrintable): don't ignore the last space when before
10542 an inset which needs a full row.
10543 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10544 as last character of a row when before a inset which needs a full row.
10546 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * version.C.in: update date
10550 * text2.C (fullRebreak): try to always return true and see what
10553 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * MenuBackend.C (expand): use Floating::listName
10557 * FloatList.C (FloatList): add listName argument to the built-in
10560 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10561 text associated with the float.
10563 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10565 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10567 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * ShareContainer.h: add a couple of missing typenames.
10571 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10573 * lyxrc.C (getDescription): use _() correctly rather than N_().
10575 2002-03-28 Herbert Voss <voss@lyx.org>
10577 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10578 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10580 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10583 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10585 2002-03-29 Juergen Vigna <jug@sad.it>
10587 * lyxfunc.C (dispatch): add a missing fitCursor call.
10589 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10590 it was scrolled by a cursor move, so return the bool status.
10592 * BufferView.C (fitCursor): return the bool flag also to the outside
10593 world as this is needed.
10595 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10597 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10598 call the edit() as it is not needed (and wrong) IMO.
10599 (workAreaButtonPress): set the screen_first variable before evt.
10600 unlock the inset as this may change screen_first and then we have
10601 a wrong y position for the click!
10603 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10605 * MenuBackend.C (expand): another translation that I missed
10607 2002-03-28 Juergen Vigna <jug@sad.it>
10609 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10611 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10613 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10615 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10617 * MenuBackend.C (expand): fix export/view/update when there is no
10620 2002-03-27 Herbert Voss <voss@lyx.org>
10622 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10625 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * bufferview_funcs.C (currentState): only show paragraph number
10628 for is DEVEL_VERSION is set.
10630 * lyxfunc.C (dispatch): put warning in INFO channel
10632 * MenuBackend.C (expand): translate the name of floats
10634 * FloatList.C (FloatList): mark the float names for translation
10636 * converter.C (convert): use LibScriptSearch
10638 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10640 * MenuBackend.C (defaults): fix default menu (we might as well get
10643 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10645 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10648 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10650 * lyxvc.C: reorder includes.
10652 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10654 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10657 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10659 * CutAndPaste.C: change layouts earlier on paste
10660 to avoid crashing when calling getFont()
10662 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10664 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10667 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * WorkArea.C: remove 'Pending' debug message.
10671 * most files: ws cleanup
10673 * buffer.[Ch]: ws changes
10675 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10677 2002-03-21 Juergen Vigna <jug@sad.it>
10679 * tabular.C (SetMultiColumn): collapse also the contents of the
10680 cells and set the last border right. Added a Buffer const * param.
10682 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10684 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10687 2002-03-19 Juergen Vigna <jug@sad.it>
10689 * text2.C (clearSelection): reset also xsel_cache.
10691 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10692 where it needs to be called (John tells us to do so too :)
10693 (selectionLost): reset sel_cache.
10695 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10697 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * text2.C (setCursorIntern): put debuging code in INSETS channel
10701 2002-03-19 André Pönitz <poenitz@gmx.net>
10703 * lyxfunc.C: tiny whitespace change
10705 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10707 * ToolbarDefaults.C (init):
10708 * LyXAction.C (init):
10710 * BufferView_pimpl.C (Dispatch):
10711 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10713 2002-03-19 Allan Rae <rae@lyx.org>
10715 * exporter.C (Export): removeAutoInsets before doing anything else.
10716 While I've just introduced a dependency on BufferView this really is
10717 the best place to clean the buffer otherwise you need to cleanup in
10718 a dozen places before calling export or cleanup in a dozen functions
10721 * converter.C (runLaTeX):
10722 (scanLog): Better handling of removeAutoInsets and screen updates.
10724 * lyxfunc.C (dispatch): small whitespace changes
10726 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * WorkArea.C (C_WorkAreaEvent): return a value.
10729 (event_cb): return 1 if we handled the event, 0 otherwise.
10731 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10733 2002-03-18 Juergen Vigna <jug@sad.it>
10735 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10736 (GetAdditionalWidth): ditto.
10737 (RightLine): ditto.
10740 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10741 inset if we're there actually (probably not used right now but this
10742 is the direction to go for unifying code).
10743 (paste): disable code to clear the selection.
10745 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10746 inside an InsetText and move the check further up as it is in the
10749 * text2.C (pasteSelection): set a selection over the pasted text.
10751 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10753 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10754 and libgraphics to build on Cygwin.
10756 2002-03-15 Juergen Vigna <jug@sad.it>
10758 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10759 inserting an Inset into the paragraph. I know this is not the best
10760 fix but we already use current_view in CutAndPaste so we will remove
10761 all of it's using at the same time.
10763 * buffer.C (sgmlError): deactivated function till it is rewritten in
10764 the right mode, now it can create problems.
10766 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10767 before accessing it.
10769 2002-03-14 Juergen Vigna <jug@sad.it>
10771 * undo_funcs.C (textHandleUndo): do the right thing when updating
10772 the inset after the undo/redo.
10774 * text2.C (setCursor): just some testcode for #44 not ready yet.
10776 * undo_funcs.C (textHandleUndo): set the next() and previous()
10777 pointers of the paragraph to 0 before deleting otherwise we have
10778 problems with the Paragraph::[destructor].
10780 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10781 on a paragraph insertion.
10783 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10785 * buffer.C (asciiParagraph): use += operator for char append to
10788 * paragraph.C (getFontSettings): compare >= not just >
10789 (highestFontInRange): ditto
10792 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10794 * paragraph.C: change several algorithm to be more appripriate for
10795 the problem domain. This is lookip in FontList and in the InsetList.
10797 2002-03-13 André Pönitz <poenitz@gmx.net>
10800 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10802 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10807 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10809 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * Painter.C (display): anon helper function, adjust code for this
10813 (pixmap): remove function.
10815 * Painter.h: remove private display variable.
10817 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10819 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10821 * WorkArea.[Ch]: remove figinset_canvas cruft.
10823 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10825 * lyxtextclass.C (operator): add one item cache optimization.
10827 * bufferlist.h: doxy changes
10829 * bufferlist.C: ws changes
10831 * DepTable.[Ch] (ext_exist): place const in the right spot.
10833 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10835 (workAreaExpose): call resizeInsets when the with BufferView changes.
10836 (Dispatch): adjust for protectedBlank removal
10837 (specialChar): call updateInset if the insert went ok.
10839 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10840 specialChar instead.
10842 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10844 * BufferView.h: doxy change
10846 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10848 * lyxtextclass.C (operator[]): remove non-const version
10849 (defaultLayout): remove non-const version
10851 2002-03-12 Juergen Vigna <jug@sad.it>
10853 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10854 did resize the LyXText too.
10856 * buffer.C (readLyXformat2): set layout information on newly allocated
10859 * tabular.C (OldFormatRead): set layout information on the paragraph.
10861 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10863 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10865 2002-03-11 Juergen Vigna <jug@sad.it>
10867 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10869 (resizeCurrentBuffer): force also the insets to resize themselfes.
10870 (moveCursorUpdate): fixed up for InsetText.
10872 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10875 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10876 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10877 value of Dialogs::tooltipsEnabled().
10878 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10880 2002-03-08 Juergen Vigna <jug@sad.it>
10882 * BufferView_pimpl.C (updateInset): update inset inside inset also
10883 if it isn't inside theLockingInset().
10885 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * buffer.C (asciiParagraph): redo some of the word and line length
10889 (getLists): look for Caption instead of caption.
10891 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * buffer.C (Buffer): initialize niceFile to true
10895 (makeLinuxDocFile):
10896 (makeDocBookFile): make sure niceFile is true on exit
10898 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10902 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10904 * LyXSendto.C: remove.
10905 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10906 * lyx_gui.C: remove now-redundant comment.
10907 * ColorHandler.h: remove forward declaration of class WorkArea.
10908 * lyxfunc.C: remove #include "WorkArea.h".
10910 2002-03-07 Juergen Vigna <jug@sad.it>
10912 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10913 got moved away with the DEPM and also set the inset_owner always
10914 right which before could have been omitted.
10916 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10918 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10919 wanted layout is not found.
10921 2002-03-07 Juergen Vigna <jug@sad.it>
10923 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10925 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * paragraph.C (breakParagraph): use default layout not layout of
10929 (Paragraph): clear ParagraphParameters.
10931 2002-03-06 Juergen Vigna <jug@sad.it>
10933 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10934 otherwise it would not be a valid lenght. Fixed a special case in
10935 the minipage compatibility read where we end the document with a
10938 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10939 was set as it could be 0 for InsetTexts first entry.
10941 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10943 * paragraph.C (writeFile): if layout is empty write out
10944 defaultLayoutName().
10946 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10947 file without named layout we set layout to defaultLayoutName().
10949 2002-03-06 Juergen Vigna <jug@sad.it>
10951 * CutAndPaste.C (copySelection): set layout for new paragraph.
10953 * text.C (prepareToPrint): leave ERT inset left aligned
10954 (leftMargin): don't indent paragraphs inside ERT insets
10956 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * paragraph.C (breakParagraph): dont call clear do the work manually
10960 * paragraph.[Ch] (clear): remove function
10962 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * paragraph.C (Paragraph): dont call clear, the work has already
10967 * lyxtextclass.C (operator): assert if n is empty
10969 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10970 work manually instead.
10972 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10974 * BufferView_pimpl.C: protect selectionLost against text == 0
10976 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * text.C (breakParagraph): fix a setting layout to '0' problem.
10980 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10982 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10983 final location of file, for the included files, and graphics.
10985 2002-03-05 Juergen Vigna <jug@sad.it>
10987 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10989 2002-03-04 Juergen Vigna <jug@sad.it>
10991 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10993 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10994 last column of multicolumn cells.
10995 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10997 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10999 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11000 file if it doesn't go to a temporary file.
11002 * buffer.C (sgmlOpenTag):
11003 (sgmlCloseTag): remove extra newline insertion.
11005 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11007 * text.C (getRowNearY): comment out debug msg
11009 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * text2.C: first -> first_y
11013 * text.C (getRowNearY): add some attemts at a possible
11014 optimization, not working.
11016 * tabular.[Ch]: add BufferParams to several function so that newly
11017 created paragraph can be initialized to he default layotu for the
11020 * tabular-old.C (ReadOld): add buf->params to call of Init
11022 * screen.C: rename text->first to text->first_y
11024 * paragraph.C (breakParagraph): always set layout in the broken
11027 * lyxtextclass.C (Read): remove lowercase
11030 (delete_layout): ditto
11032 * lyxtext.h: rename first -> first_y
11034 * lyxlayout.C (Read): remove lowercase
11037 (obsoleted_by): ditto
11039 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11041 * buffer.C (insertErtContents): add params are to InsetERT
11042 (parseSingleLyXformat2Token): add code to check if a paragraphs
11043 layout really exist.
11044 (parseSingleLyXformat2Token): add params to several inset
11046 (asciiParagraph): remove lowercase, do the layout comparisons with
11049 * BufferView_pimpl.C (cursorNext): first -> first_y
11050 (resizeCurrentBuffer): first -> first_y
11051 (updateScrollbar): first -> first_y
11052 (scrollCB): first -> first_y
11053 (workAreaMotionNotify): first -> first_y
11054 (workAreaButtonPress): first -> first_y
11055 (checkInsetHit): first -> first_y
11056 (cursorPrevious): first -> first_y
11057 (cursorNext): first -> first_y
11058 (Dispatch): add buffer_->params to severl inset contructors
11060 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11062 * lyxlayout.C (Read): remove some debug info that I forgot.
11064 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11065 clean up the code slightly.
11066 (makeLinuxDocFile): ditto
11067 (makeDocBookFile): ditto
11069 * text2.C: layout as string
11071 * text.C: layout as string
11073 * paragraph_pimpl.C: layout as string
11075 * paragraph.[Ch]: layout as string
11077 * lyxtextclasslist.[Ch]: layout as string
11079 * lyxtextclass.[Ch]: layout as string
11081 * lyxtext.h: layout as string
11083 * lyxlayout.[Ch]: layout as string
11085 * lyx_cb.C: layout as string
11087 * bufferview_funcs.C: layout as string
11089 * bufferparams.C: layout as string
11091 * buffer.C: layout as string
11093 * LyXView.[Ch]: layout as string
11095 * LaTeXFeatures.[Ch]: layout as string
11097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11099 * BufferView_pimpl.C: change current_layout to string, remove
11104 (workAreaButtonRelease): layout as string
11106 * BufferView2.C (unlockInset): adjust
11108 * vspace.C (asLatexCommand): use an explict temp variable.
11110 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11112 * Makefile.am: use FRONTEND_*
11114 2002-03-01 Juergen Vigna <jug@sad.it>
11116 * tabular.C (SetWidthOfMulticolCell): changed to something better
11117 I hope but still work in progress.
11118 (recalculateMulticolumnsOfColumn): renamed function from
11119 recalculateMulticolCells as it is more appropriate now.
11120 (SetWidthOfCell): calculate multicols better.
11122 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11126 * lyxfunc.C (processKeySym): print sequence also if it is
11127 `deleted' (complete)
11129 * kbsequence.C (print): print sequence even if it is deleted
11130 (complete would be a better word, actually).
11132 * lyxfunc.C (dispatch): print complete options after a prefix key
11134 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11136 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11138 * text2.C (setCharFont): eliminate setCharFont code duplication.
11140 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11142 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11143 LFUN_TABULAR_FEATURE (bug #177)
11145 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11147 * Makefile.am: remove figure.h
11149 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11151 * Bufferview_pimpl.C:
11163 * text2.C: remove #include "lyx_gui_misc.h".
11165 * LaTeX.C: added #include <cstdio>
11167 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11170 that the paragraph following this one can have.
11172 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11174 * vspace.C (asLatexCommand): fix bogus gcc warning
11176 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11178 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11180 * text2.C (setLayout): get rid of redundant code
11182 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11184 * text2.C (incDepth): make sure depth cannot be increased beyond
11187 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11189 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11190 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11192 * PainterBase.h (image):
11193 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11194 a LyXImage const *.
11196 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11200 * BufferView_pimpl.C:
11201 * BufferView_pimpl.h:
11221 * sp_spell.C: remove fig inset, and the crap house of
11222 cards that follows it
11224 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11229 * os2_errortable.h:
11230 * nt_defines.h: move .h into support/
11232 * vms_defines.h: remove
11234 * WorkArea.C: add space in debug output
11238 * buffer.C: add WITH_WARNINGS
11242 * bufferlist.C: s/retrive/retrieve/, add docs
11251 * chset.C: add docs
11253 * lyxgui.C: add ID to X error handler
11255 * lyxtestclass.c: fix typo
11257 2002-02-26 Juergen Vigna <jug@sad.it>
11259 * tabular_funcs.C (write_attribute): changed so that some default
11260 attributes are not written at all.
11261 (getTokenValue): set default values before trying to read the
11262 value so we have the return value always set as default if we don't
11263 find the token we search for.
11265 * tabular.C (Write): write bools as bools not as strings!
11267 2002-02-22 Juergen Vigna <jug@sad.it>
11269 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11270 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11272 * text.C (leftMargin): don't add an indent for paragraphs inside
11273 tabular cells (fix #208).
11275 2002-02-21 José Matos <jamatos@fep.up.pt>
11277 * tabular.C (docBook): fixed support for long tables.
11279 2002-02-20 Juergen Vigna <jug@sad.it>
11281 * text2.C (getFont): get the drawing font of the Inset if this
11282 paragraph is inside an inset (only important for InsetERT for now).
11284 * buffer.C (insertErtContents): use new lanugage params in ERT
11287 * CutAndPaste.C: commenting out seemingly uneeded code.
11289 2002-02-19 Allan Rae <rae@lyx.org>
11291 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11292 Iterators might be simple to use but they also get invalidated.
11293 (removeAutoInsets): renamed saved cursor tracking variables and added
11294 some comments to clarify what everything does.
11296 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11303 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11304 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11307 * vc-backend.h: remove #include "support/syscall.h"
11311 * converter.C: rearrange #includes in Lars' approved fashion.
11313 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11314 forward declare class Timeout in the header file.
11316 * XFormsView.C: changes due to the above.
11318 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11319 similar to LyXView.
11321 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11322 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11324 2002-02-18 José Matos <jamatos@fep.up.pt>
11326 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11329 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11331 * a lot of small ws changes
11332 * add a lot of using std::XXX
11333 * use std construcs some places where approp.
11334 * use some exisint stuff from lyxfunctional where approp.
11335 * Make file changes to use partial linking (lets test this now...)
11337 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11341 remove #include "support/syscontr.h" as it's redundant. Always has been.
11349 change Systemcalls::System to Systemcalls::Wait and
11350 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11351 No change of functionality, just reflects the stripped down Systemcalls
11354 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11356 * debug.[Ch]: add a GRAPHICS type to the enum.
11358 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11360 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11362 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11365 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11368 match the changes below.
11370 * text2.C (toggleInset): if there is not editable inset at cursor
11371 position, try to see if cursor is _inside_ a collapsable inset
11374 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11376 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11377 document menu has a nice checkbox
11379 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * lyxlength.C (asLatexString): change PW to output as percent of
11384 * lengthcommon.C: change '%' to 't%'
11386 * lyxfunc.C (dispatch): a few comments from Martin
11388 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11392 * BufferView_pimpl.h:
11393 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11396 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11398 * vspace.C (inPixels): fix compiler warning
11400 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11402 * lyxfunc.C (getStatus): fix status message for disabled commands.
11404 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11406 * BufferView_pimpl.C: fix crash on close buffer
11407 during selection (#227)
11409 2002-01-27 Herbert Voss <voss@lyx.org>
11411 * buffer.C: link old Figure to new graphic inset
11413 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11415 * FontLoader.C (getFontinfo): Change the latex font names in order
11416 to match the names of type1inst.
11418 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11420 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11422 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11423 (extchanged): ditto
11425 (remove_files_with_extension): ditto
11426 (remove_file): ditto
11429 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11430 document is smaller than the work area height. Do not initialize
11431 static variables to 0.
11433 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11435 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11437 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11438 LFUN_LAYOUT_PARAGRAPHS.
11440 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11441 tabular. It is possible to provide a possible cell, which will
11442 typically be the actcell from the corresponding insettabular
11444 * lyxfunc.C (getStatus): small cleanup; disable
11445 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11448 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11450 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11452 * paragraph.C (startTeXParParams):
11453 (endTeXParParams): new methods. The LaTeX code to
11454 start/end paragraph formatting
11455 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11456 empty (fixes bug #200)
11458 * vspace.C (inPixels): adapt to the change below
11459 (inPixels): [later] more cleanups (remove unused variables)
11461 * lyxlength.C (inPixels): change to use a width and a height as
11464 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11466 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11467 Replaced with \paperwidth
11469 * DepTable.C (insert): add std:: qualifier
11471 2002-01-18 Allan Rae <rae@lyx.org>
11473 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11476 * text.C (drawInset): Turned out I didn't know enough about how
11477 rebreaking worked. This fixes most of the redraw problems. I see
11478 an occasional cursor trail when a line is broken now and the cursor
11479 placement can seem out by a few pixels also after a rebreak.
11481 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11483 * buffer.C (parseSingleLyXformat2Token): update because minipage
11484 width is now a LyXLength
11486 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11488 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11491 2002-01-17 Juergen Vigna <jug@sad.it>
11493 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11495 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11496 is set correctly and the inset is updated correctly.
11498 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11501 the beginning of the loop.
11503 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11505 * lyxrc.C: improve help for use_scalable_fonts
11507 2002-01-17 Allan Rae <rae@lyx.org>
11509 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11511 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11513 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11514 make sure to set their inset_owner to the right value (bug #171)
11516 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11519 * DepTable.C: Implement mtime checking to reduce time spent doing
11522 2002-01-16 Juergen Vigna <jug@sad.it>
11524 * tabular.C (GetAdditionalHeight): one of error fixed.
11526 * lyxrc.C (output): small fix in writing use_pspell.
11528 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11530 * sp_base.h: #include LString.h
11532 2002-01-16 Allan Rae <rae@lyx.org>
11534 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11535 Can someone check this please?
11537 * text.C (drawInset): It was possible that p.row would be removed by
11538 breakAgainOneRow upsetting a few other settings. There may be another
11539 small tweak possible by setting need_break_row = 0 when p.row has been
11540 removed but I don't know enough about the logic here.
11542 2002-01-15 Allan Rae <rae@lyx.org>
11544 * text.C (insertChar): removed conditional truism.
11546 * BufferView2.C (removeAutoInsets): More tweaks.
11547 cur_par_prev could be a stray pointer. Check for trailing empty line
11548 in case last line was cur_par and only had an error inset on it.
11550 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11552 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11555 * vc-backend.C (most methods):
11556 * exporter.C (Export):
11557 * converter.C (convert):
11559 * LyXSendto.C (SendtoApplyCB):
11560 * lyxfunc.C (dispatch):
11564 * lyx_cb.C (AutoSave):
11566 * BufferView_pimpl.C (MenuInsertLyXFile):
11567 * buffer.C (runChktex): use Buffer::filePath().
11569 * buffer.h: rename filename to filename_; rename filepath to
11570 filepath_ and make it private
11571 (filePath): new method
11573 * buffer.C (writeFile): use fileName()
11576 * lyx_main.C (init): fix starting of LyX when the binary is a
11577 link from so,ewhere else.
11579 * minibuffer.C: include <cctype> for isprint
11581 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11583 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11584 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11585 name clash with InsetCollapsable's width function.
11587 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11589 * lastfiles.C: include <iterator>
11591 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11593 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11596 * buffer.C (makeLaTeXFile): ditto.
11597 Also make loop operation more transparent.
11599 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11601 * ToolbarDefaults.C: remove trailing comma closing namespace.
11603 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11605 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11608 * trans.C (Load): comment out unused variable, allowed.
11610 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11612 * minibuffer.[Ch] (append_char): new method to recieve input from the
11613 drop-down completion browser. If a key was pressed, then recieve this
11614 char and append it to the existing string.
11615 (peek_event): modify the positioning data passed to the completion
11616 browser so that it can be placed above the minibuffer rather than below.
11617 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11619 * LyXAction.C (init): alloe error-next for readonly documents.
11621 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11624 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11626 * bufferlist.C (readFile): create the buffer _after_ checking that
11629 * lyxfunc.C (verboseDispatch): fix handling of arguments
11631 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11633 * lyxrc.C: use string::erase() instead of initializing to "".
11636 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11638 * BufferView_pimpl.h:
11639 * BufferView_pimpl.C:
11642 * text2.C: tell X when we have made a selection for copying
11644 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11646 * BufferView_pimpl.C (MenuInsertLyXFile):
11647 * lyxfunc.C (menuNew):
11649 (doImport): add shortcuts to directory buttons
11651 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11654 * lyxfunc.C (setStatusMessage):
11655 (getStatusMessage): new methods
11656 (getStatus):use setStatusMessage instead of setErrorMessage
11657 (dispatch): when function is disabled, set error message here
11658 [instead of in getStatus previously]
11660 * BufferView_pimpl.C (workAreaButtonRelease): update
11661 toolbar/menubar here too.
11663 2002-01-13 Allan Rae <rae@lyx.org>
11665 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11666 Now seems indestructible. Remaining task is to audit all other
11667 code affected by deleteEmptyParagraphMechanism. One small quirk
11668 left is that an empty document with an error in the preamble can
11669 be made to report an error but no error box appears. I don't know
11671 (removeAutoInsets): Improved comments.
11673 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11676 * Thesaurus.C: update for Aiksaurus 0.14
11678 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * text2.C (firstParagraph): removed member function, all uses
11681 replaces with ownerParagraph
11682 (redoParagraphs): here
11683 (updateInset): here
11684 (toggleAppendix): here
11685 * BufferView2.C (insertErrors): here
11686 (setCursorFromRow): here
11688 2002-01-13 Allan Rae <rae@lyx.org>
11690 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11691 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11692 There is still a way to segfault this although you may have to do this
11693 multiple times: Have an InsetERT with an unknown command in it.
11694 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11695 <down-arrow>, <Enter> again, View->DVI, BANG!
11697 * text2.C (setCursor):
11698 (deleteEmptyParagraphMechanism):
11699 * lyxtext.h (setCursor):
11700 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11701 Making use of the return value may help fix other bugs.
11703 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11705 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11707 * LyXView.C (updateMenubar): call MenuBar::update here
11708 (updateToolbar): but not here
11709 (showState): do not update toolbar/menubar
11711 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11712 should need to care about that.
11714 * lyxfunc.C (verboseDispatch): simplify a bit
11715 (getStatus): have a version which takes a pseudoaction, and
11716 another which requires a (kb_action,string).
11718 * LyXAction.C (retrieveActionArg): make it work also when action
11719 is not a pseudo-action.
11720 (getActionName): simplify a bit
11723 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11725 * lyxfunc.C (verboseDispatch): new families of methods with
11726 several ways to specify a command and a bool to indicate whether
11727 the command name and shortcut should be displayed in minibuffer
11728 (eventually, we could extend that to a finer bitmask like
11729 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11730 (dispatch): the pristine dispatch command which just, well,
11731 dispatchs! Note it still sets its result to minibuffer; I'm not
11734 * lyxfunc.h: remove setHintMessage
11736 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11738 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11740 * BufferView_pimpl.C (specialChar): delete new inset if we have
11741 not been able to insert it.
11743 * kbmap.C: revert to using int instead of kb_action, since all we
11744 are dealing with is pseudo-actions.
11746 * LyXAction.C (searchActionArg): change to return int instead of
11747 kb_action, since the result is a pseudoaction.
11749 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11751 * buffer.C (insertErtContents): Fix (partially) the font bug.
11753 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11755 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11756 as the other one is broken on my machine!
11758 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11761 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11763 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11765 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11766 reflect their actual use. Provide compatibility code for older lyxrc
11769 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11771 change names of popup font variables in line with the changes to lyxrc.C
11773 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11775 * buffer.C (asciiParagraph): avoid outputing a word twice after
11778 * lyxrc.C (getDescription): document that document_path and
11779 template_path can be empty.
11781 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11783 * LaTeXFeatures.C (getMacros):
11784 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11786 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11788 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11790 (getPackages): rename feature "floats" to "float". Use an array to
11791 iterate over 'simple' features (i.e. just a \usepackage). Add
11792 handling of "amsmath" (renamed from "amsstyle").
11794 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11796 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11799 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11801 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11802 FuncStaus::FuncStatus & FuncStaus::some_method().
11804 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11806 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11807 of the func_satus stuff. Edited and massaged in various ways by
11810 * lyxfunc.C (getStatus): use FuncStatus
11812 2002-01-08 Juergen Vigna <jug@sad.it>
11814 * text.C (nextBreakPoint): use function Inset::isChar().
11816 * paragraph.C (TeXOnePar): use function
11817 Inset::forceDefaultParagraphs.
11819 * buffer.C (latexParagraphs): use function
11820 Inset::forceDefaultParagraphs.
11822 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11824 * lyx_gui.C (init): set the style of the menu popups to
11825 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11827 2002-01-07 Juergen Vigna <jug@sad.it>
11829 * text.C (setHeightOfRow): small fix
11830 (prepareToPrint): don't look at alignment if we don't have the place
11833 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11835 * box.C: New file. Move the Box methods and functions out of box.h,
11836 following Lars' suggestion.
11838 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11840 * box.h: #include "support/LOstream.h", needed for inlined function.
11843 * lyxtextclasslist.C: added some using std declarations.
11845 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11847 * box.h: make signed dimensions to allow insets wider than
11848 the screen (bug #162)
11850 * BufferView_pimpl.C: add some insetHit debug
11852 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11854 * vc-backend.C: add FIXME
11856 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * lyxfunc.C (getStatus): enable code for showing math font status
11861 2002-01-07 Juergen Vigna <jug@sad.it>
11863 * text.C (nextBreakPoint): removed debug output not needed anymore.
11865 2002-01-06 Juergen Vigna <jug@sad.it>
11867 * text.C (nextBreakPoint): fixed up this function we had this bug
11868 since ever but now hopefully we break row better.
11869 (insertChar): we have to check if an inset is the next char as it
11870 could now happen that a large inset is causing a break.
11872 2002-01-05 Juergen Vigna <jug@sad.it>
11874 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11875 if it doesn't like to be drawed.
11877 2002-01-04 Juergen Vigna <jug@sad.it>
11879 * BufferView2.C (lockInset): forgot to set a cursor.
11881 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11883 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11885 * FormMathsPanel.C:
11888 * form_maths_panel.C:
11889 * form_maths_panel.h:
11890 * form_maths_panel.fd: implemented sub- and super- buttons in math
11893 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11894 (or ^ space) to be used as in TeX (req'd by André).
11896 * lyxfunc.C: Allow ^ and _ again to be used both as
11897 super/subscript (mathed) and as themselves (in text).
11899 2002-01-03 Allan Rae <rae@lyx.org>
11901 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11902 "LyX" or the filename of the current buffer if it has one. This is a
11903 modified form of John Levon's patch.
11905 * XFormsView.C (setWindowTitle): also set icon title.
11907 * LyXView.h (setWindowTitle): signature changed.
11908 * XFormsView.h (setWindowTitle): ditto.
11910 2002-01-02 Juergen Vigna <jug@sad.it>
11912 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11914 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * screen.C (topCursorVisible): introduce a temp var for
11917 text->cursor.row(), handle the case where this row is null. (kindo
11920 * text2.C (setCursor): add a couple of asserts.
11922 * paragraph.h (inset_iterator): add -> operator
11924 * paragraph.[Ch] (autoDeleteInsets): remove member function
11926 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11927 cursor pos correctly and handle inset deletion by itself.
11928 (insertErrors): move iterator declaration out of for expression
11930 * lyxtextclass.C: add <algorithm>
11932 * Makefile.am: added the new files to sources, removed layout.C
11934 * layout.C: removed file
11936 * layout.h: remove LYX_DUMMY_LAYOUT
11938 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11942 * lyxtextclass.[Ch]:
11943 * lyxtextclasslist.[Ch]: new files
11945 * include order changes to a lot of files, also changes because of
11948 2001-12-27 Juergen Vigna <jug@sad.it>
11950 * buffer.C (asciiParagraph): more fixes.
11952 * tabular.C (ascii): make ascii export support export of only the
11953 data separated by a column-delimiter.
11954 (ascii): better support for ascii export.
11956 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11958 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11960 * tabular_funcs.C: use a "using std::getline" instead of the
11961 previous fix from Angus (necessary for cxx + lyxstring)
11963 2001-12-24 Juergen Vigna <jug@sad.it>
11965 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11967 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11968 problems. First check a minipage also if we have some ert-contents
11969 (not only on par->size(), second set the right depth of the paragraph
11970 on the relink to the root-paragraph-list!
11972 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11973 which then did not anymore update the main paragraphs on undo/redo!
11975 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11977 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11978 code. Support all font-changing funcs (even those which are not in
11979 menu currently). Support for reporting font settings in
11980 mathed (disabled until Andre provides a function on mathed's side).
11982 * func_status.h (toggle): small helper function to set toggle
11985 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11987 * tabular_funcs.C: getline -> std::getline
11989 2001-12-21 Juergen Vigna <jug@sad.it>
11991 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11992 accessed and could be 0 (I couldn't generate this but it seems
11995 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11998 * tabular_funcs.h: here and include iosfwd
12000 2001-12-20 Juergen Vigna <jug@sad.it>
12002 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12003 inside inset but undo_par was.
12005 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * Thesaurus.C: always include <config.h> in sources.
12011 * box.h: do not include <config.h> in header files
12013 * text.C (paintLastRow): remove unused variable
12015 * text.C (transformChar):
12017 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12019 * Painter.C (text):
12020 * font.C (width): rewrite to use uppercase() instead of
12023 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12025 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12027 * lyxfind.C: clean up of find failure position change
12029 2001-12-20 Juergen Vigna <jug@sad.it>
12031 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12033 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12034 (TeXRow): added to LaTeX a single tabular row.
12035 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12036 (Latex): simplified and finally good LT-h/f support.
12037 (various_functions): just small adaptions for LT-h/f support.
12039 * tabular_funcs.[hC]: added and moved here all not classfunctions
12042 2001-12-19 Juergen Vigna <jug@sad.it>
12044 * tabular.[Ch]: better support for longtabular options (not finished
12047 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12049 * text.C (paintLastRow): use the label font instead of the font of
12050 the last character to compute the size of *_BOX. This makes more
12051 sense and avoids a crash with empty paragraphs.
12052 Use Painter::rectangle to draw EMPTY_BOX.
12054 2001-12-19 Juergen Vigna <jug@sad.it>
12056 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12057 the paragraphs if the replaced paragraph is not the first one!
12058 Tried to delete not used paragraphs but does not work yet so for
12059 now it's inside #ifdef's and by default off!
12061 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12063 * MenuBackend.C: include "lyx_main.h" instead of declaring
12064 lastfiles (actually was declared as LastFiles* instead of a
12067 2001-12-17 Juergen Vigna <jug@sad.it>
12069 * tabular.C (AppendColumn): applied John's fix
12071 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12075 * BufferView_pimpl.h:
12076 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12079 * box.h: new start of class for above
12081 * lyxfunc.C: ignore space-only minibuffer dispatches.
12082 Show the command name when it doesn't exist
12084 * minibuffer.C: don't add empty lines to the history
12086 * minibuffer.C: add a space on dropdown completion
12088 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12090 * text.C: fix line above/below drawing in insets
12092 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * lyxlength.C (LyXLength): Initialize private variables.
12096 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12098 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12099 when inserting error insets.
12101 2001-12-13 Juergen Vigna <jug@sad.it>
12103 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12104 actually sometimes the before-paragraph.
12105 (setUndo): don't clear the redostack if we're not actually undoing!
12107 2001-12-06 Juergen Vigna <jug@sad.it>
12109 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12110 and fixed redoing of main paragraph, so we can use it now ;)
12112 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12114 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12119 2001-12-13 André Pönitz <poenitz@gmx.net>
12122 * undo_func.C: minor cleanup
12124 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12127 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12128 font in urw-fonts package which is marked as -urw-fontspecific and
12129 does not work (incidentally, changing the encoding in the
12130 fonts.dir of this package to -adobe-fontspecific fixes the
12133 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12134 is a crash when undoing first paragraph (Juergen, please take a
12135 look). THis does not mean the undo fix is wrong, just that it
12138 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12139 the (Paragraph*) version when needed instead of duplicating the
12142 * text.C (workWidth): use Inset::parOwner to find out where the
12143 inset has been inserted. This is a huge performance gain for large
12144 documents with lots of insets. If Inset::parOwner is not set, fall
12145 back on the brute force method
12147 * paragraph_pimpl.C (insertInset):
12148 * paragraph.C (Paragraph):
12149 (cutIntoMinibuffer): set parOwner of insets when
12150 inserting/removing them
12152 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12154 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12160 * mathed/formulabase.C:
12161 * mathed/math_cursor.[Ch]:
12162 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12165 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * lyxlength.[Ch] (operator!=): new function
12169 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12171 * text.C (workWidth): use Inset::parOwner to find out where the
12172 inset has been inserted. This is a huge performance gain for large
12173 documents with lots of insets. If Inset::parOwner is not set, fall
12174 back on the brute force method
12176 * paragraph_pimpl.C (insertInset):
12177 * paragraph.C (Paragraph):
12178 (cutIntoMinibuffer): set parOwner of insets when
12179 inserting/removing them
12181 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12183 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * tabular-old.C (getTokenValue):
12186 * tabular.C (getTokenValue):
12187 (write_attribute): new versions for LyXLength
12188 (everywhere): adjust the use of widths
12190 * tabular.h: change the type of widths from string to LyXLength
12192 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12194 * paragraph.C: fixed missing line number count when exporting
12195 Environments to LaTeX file
12197 * buffer.C: added informational message for checking line numbers.
12199 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12201 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12202 paragraph, do the 'double space' part, but not the 'empty
12205 * text.C (workWidth): small optimization
12206 (getLengthMarkerHeight): use minimal size for negative lengths.
12208 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12210 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12212 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12214 2001-12-11 André Pönitz <poenitz@gmx.net>
12217 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12219 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12221 * text2.C: keep selection on a setFont()
12223 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12225 * lyx_cb.C: another bv->text misuse, from insert label
12227 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12230 * kbsequence.C: re-instate nmodifier mask
12232 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12234 * lyx_main.h: make lyxGUI private.
12236 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12238 * lyxfind.C: place the cursor correctly on failed search
12240 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * text.C (getLengthMarkerHeight): for small heights, the arrows
12243 are not always on top/bottom of the text
12244 (drawLengthMarker): smaller arrows; take the left margin in
12245 account; draw also vfills.
12247 (paintLastRow): remove special code for vfill and standard spaces,
12248 since everything is handled in drawLengthMarker now.
12250 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12252 * buffer.C (insertErtContents): try to handle font and language
12253 interaction a bit better.g
12255 * ColorHandler.C (updateColor): change the hash to cover the whole
12256 LColor enum, ws cleanup
12257 (getGCLinepars): ditto
12258 (getGCLinepars): only lookup in the linecache once.
12260 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12262 * iterators.C (operator++): Make the iterator more robust
12264 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12268 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12271 * text.C: better added space drawing
12273 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12276 * BufferView2.C: fix layout combo update on inset unlock
12278 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12280 * Makefile.am: don't compile unused files
12282 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12286 * LyXAction.C: remove old LFUN_LAYOUTNO
12288 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12290 * paragraph_pimpl.h:
12291 * paragraph_pimpl.C: isTextAt() doesn't need font param
12293 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12296 * lyxlex.C: little cleanup
12298 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12300 * BufferView_pimpl.C: fix insertAscii for insets
12302 2001-12-05 Juergen Vigna <jug@sad.it>
12304 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12305 set the right font on the "multi" paragraph paste!
12307 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * lyxlength.C: remove out-commented code.
12315 * BufferView_pimpl:
12329 * vc-backend.C: change "while(" to "while ("
12331 * lyxlength.[Ch]: add zero function to check if length is zero or
12333 * lyxgluelength.C: use it
12335 2001-12-05 Allan Rae <rae@lyx.org>
12337 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12338 Works for 2.95.3, from what I understand of Garst's reports this should
12339 work for other g++ versions. We're screwed if the abs(int) definition
12340 changed between bugfix releases of gcc.
12342 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12344 * text.C: fix chapter label offset !
12346 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12349 * text.C: fix hfill at end of line, clean up
12351 2001-12-04 Juergen Vigna <jug@sad.it>
12353 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12354 that we force an update of the inset and it's owners if neccessary.
12356 2001-12-03 Juergen Vigna <jug@sad.it>
12358 * text.C (rowLast): simplified code
12360 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12362 * lyxfunc.C: fix show options on timeout
12364 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12366 * screen.C (topCursorVisible): scroll half a page when the cursor
12367 reached top of bottom of screen
12369 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12371 * minibuffer.C: deactivate on loss of focus
12373 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * vspace.[Ch] (operator!=): add operator.
12377 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12379 * BufferView_pimpl.C: refuse to open an inset when
12380 there's a selection.
12382 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12384 * BufferView_pimpl.C: allow to click on RHS of full row insets
12386 2001-11-30 Juergen Vigna <jug@sad.it>
12388 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12389 insets for undo reasons.
12391 2001-11-28 André Pönitz <poenitz@gmx.net>
12393 * vspace.[Ch]: cosmetical changes
12395 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12405 * kbsequence.C: part re-write of old kb code
12408 * WorkArea.C: remove Lgb_bug_find_hack
12410 2001-11-30 José Matos <jamatos@fep.up.pt>
12412 * buffer.C (makeDocBookFile): add a comment to point a hack.
12413 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12414 Fixed a double write of labels.
12416 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12419 * LaTeX.h Fixed bug in LaTeX class where it would not
12420 re-run latex if no depfiles were changed, but the .dvi was removed.
12422 2001-11-28 André Pönitz <poenitz@gmx.net>
12424 * all the files from the change on 2001/11/26:
12425 use lyx::layout_type instead of LyXTextClass::size_type
12426 use lyx::textclass_type instead of LyXTextClassList::size_type
12428 2001-11-29 Juergen Vigna <jug@sad.it>
12430 * text.C: added support for paragraph::isFreeSpacing()
12432 * buffer.C: same as above
12434 * paragraph.h: inserted isFreeSpacing() function to enable
12435 FreeSpacing inside InsetERT.
12437 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12438 of the paragraph's in the cut/copy buffer to 0!
12440 * text2.C (removeRow): remove the assert as it can!
12442 * lyxtext.h: added helper function firstRow returning firstrow and
12443 made firstrow private again.
12445 * BufferView2.C (lockInset): don't relock if we're already locked!
12447 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12448 the only paragraph.
12449 (removeRow): added Assert::(firstrow)
12451 * debug.C: forgot to add INSETTEXT here.
12453 2001-11-28 Juergen Vigna <jug@sad.it>
12455 * sp_spell.C (initialize): changed error text to more general
12456 spellchecker command use (not only ispell!)
12458 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12460 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12464 * vspace.C: initialise lyxgluelength on failure
12466 2001-11-28 Allan Rae <rae@lyx.org>
12468 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12469 declaration & definition that looks like a function declaration.
12471 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12473 * BufferView2.C (copy):
12474 (copyEnvironment): do not clear the selection when doing a copy.
12476 * text.C (paintFirstRow): compilation fix
12478 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12480 * tabular.C (Latex): correct line count when writing latex.
12482 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12484 * paragraph_pimpl.h:
12485 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12488 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12492 * LColor.C: change vfillline->added_space
12494 * text.C: add markers and text for added space
12496 * vspace.C: fix comment
12498 2001-11-28 André Pönitz <poenitz@gmx.net>
12500 * paragraph.C: whitespace changes
12501 * all the other files from the change on 2001/11/26:
12502 change *::pos_type into lyx::pos_type
12504 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12506 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12507 language of the document when inserting error insets.
12509 2001-11-26 André Pönitz <poenitz@gmx.net>
12511 * BufferView_pimpl.[Ch]:
12519 * paragraph_pimpl.[Ch]:
12522 * text2.C: reduce header dependencies, introduce type for positions
12524 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12526 * <various>: change to use Alert.h
12528 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12530 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12531 when encountering an unknown token.
12532 (readLyXformat2): Show an error message if there were unknown tokens.
12534 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12537 * BufferView_pimpl.C:
12541 * text2.C: use par->isInset()
12543 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12545 * paragraph_pimpl.h:
12546 * paragraph_pimpl.C: cleanup
12548 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12550 * text2.C (removeRow):
12551 * text.C (setHeightOfRow): remove useless (and costly) call to
12554 2001-11-20 Allan Rae <rae@lyx.org>
12556 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12557 Now need Inset*::checkInsertChar() to return true for appropriate
12558 cases so that the characters in the minibuffer will actually be
12561 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * text.C: change the order of the includes.
12564 (workWidth): initialize it at once.
12565 (workWidth): make maxw unsigned
12566 (setHeightOfRow): remove unused variable (inset)
12567 (selectSelectedWord): remove unused variable (inset)
12568 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12570 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12572 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12573 server is not running.
12575 (closeConnection): add debug info when server is disabled.
12577 * ColorHandler.C (getGCForeground): send debug message to GUI
12580 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12582 * kbmap.C (bind): modify because return conventions of
12583 kb_sequence::parse have changed.
12585 * kbsequence.C (parse): only ignore spaces and not any stupid
12586 control character. This avoids tests like s[i] <= ' ', which are
12587 guaranteed to fail with 8bit characters and signed chars.
12588 Change return code to string::npos when there have been no error
12589 (0 was a bad idea when error is at first character)
12591 2001-11-14 José Matos <jamatos@fep.up.pt>
12594 * buffer.C (simpleDocBookOnePar): removed unused argument.
12596 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12599 insets which are part of a word. Paragraph::isLetter takes care of
12600 that now. Use Paragraph::isInset to identify insets.
12601 (selectSelectedWord): do not test for hyphenation break.
12603 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12604 that protected spaces are considered as spaces.
12606 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12609 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12612 * lyxserver.C: fix it. and small cleanup.
12614 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12616 * BufferView_pimpl.C: use inline helpers
12619 * LaTeXFeatures.C: fix typos
12622 * Spacing.C: move spacing_string into class
12624 * ToolbarDefaults.C: move stuff into namespace anon
12626 * layout.h: update enum
12628 * lyxfunc.C: use better debug
12630 * minibuffer.h: fix typo
12634 * WorkArea.C: add and use Debug::WORKAREA
12638 * text2.C: code re-organisation, inline helpers
12640 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12642 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12643 std::vector.empty().
12645 2001-11-09 Allan Rae <rae@lyx.org>
12647 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12648 '\n's after tables. Tabular and ERT inset work now makes this no
12651 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12654 * minibuffer.C: fix crash, improve drop-down completion
12656 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12659 * lyxserver.C: invalidate fd's when doing endPipe()
12661 2001-11-08 José Matos <jamatos@fep.up.pt>
12663 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12664 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12667 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12669 2001-11-07 José Matos <jamatos@fep.up.pt>
12672 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12675 * buffer.C (sgmlOpenTag):
12676 * buffer.C (sgmlCloseTag): removed debug info.
12678 * buffer.h (sgmlOpenTag):
12679 * buffer.h (sgmlCloseTag): made public.
12681 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * buffer.C (saveParamsAsDefaults):
12684 * lyx_cb.C (MenuLayoutSave): remove
12686 * LyXAction.C (init):
12688 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12690 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12692 * buffer.C (setPaperStuff): removed from here...
12694 * bufferparams.C (setPaperStuff): ... and moved there.
12696 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12700 * XFormsView.C: add support for drop-down completion
12702 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12704 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12707 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12712 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12714 * lyx_main.C: change ref to known bugs
12716 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12718 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12719 to work around older babel problems.
12721 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12723 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12725 2001-10-24 Juergen Vigna <jug@sad.it>
12727 * tabular-old.C (ReadOld): below variable changes reflected.
12729 * tabular.[Ch]: added ltType struct for longtable header/footer
12730 defines and changed all instances where they are used. Added
12731 future support for double top/bottom rows.
12733 2001-10-24 José Matos <jamatos@fep.up.pt>
12735 * buffer.h (docbookHandleCaption):
12736 * buffer.C (docbookHandleCaption): removed unused function.
12737 (makeDocBookFile): moved docbook supported version to v4.1.
12739 2001-10-24 José Matos <jamatos@fep.up.pt>
12742 * tabular.C (docbookRow): new function to export docbook code of a row.
12743 (DocBook): now honors the longtable flags.
12745 2001-10-23 José Matos <jamatos@fep.up.pt>
12748 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12749 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12751 * buffer.C (makeLinuxDocFile):
12752 (makeDocBookFile): reworked the preamble, more clean, and with
12753 support for lyx defined entities. Changed the document declaration
12754 to be more XML friendly.
12756 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12757 if we need to output XML that should be done with a filter.
12759 2001-10-22 Juergen Vigna <jug@sad.it>
12761 * sp_pspell.h (class PSpell): add alive function needed in the
12762 controller to see if the spellchecker could be started.
12764 2001-10-22 Juergen Vigna <jug@sad.it>
12766 * buffer.C (insertStringAsLines): modify the font for inserting
12767 chars in certain conditions by calling checkInsertChar(font).
12769 2001-10-19 Juergen Vigna <jug@sad.it>
12771 * text.C (workWidth): use getRow instead of wrong algorithm.
12772 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12774 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12779 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12781 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * text.C (workWidth): do not search for the exact row when
12784 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12785 optimization for big documents.
12787 2001-10-18 Juergen Vigna <jug@sad.it>
12789 * text.C (workWidth): new function with added Inset * parameter.
12791 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12795 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12796 change return type of getColumnNearX.
12799 * text.C (changeRegionCase): use uppercase/lowercase instead of
12802 (rightMargin): simplify code by factoring out the uses of
12807 (appendParagraph): use Paragraph::size_type
12809 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12811 * vspace.C (asLatexString): add a missing break
12813 2001-10-15 Herbert Voss <voss@perce.de>
12815 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12817 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12819 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12822 2001-10-10 André Pönitz <poenitz@gmx.net>
12824 * lyxfunc.C: removed greek_kb_flag.
12826 2001-10-10 Herbert Voss <voss@perce.de>
12828 * lyx_main.C: delete global string help_lyxdir.
12830 2001-10-09 Herbert Voss <voss@perce.de>
12832 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12834 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12836 * lyx_main.C: added global string help_lyxdir.
12838 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12840 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12842 * lyxrc.C (set_font_norm_type): support iso8859-4
12844 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12846 * LaTeX.C (deplog): add another regex for MikTeX
12848 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12850 * lyxrc.C (set_font_norm_type): support iso8859-3
12852 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12854 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12856 * LaTeXFeatures.C: remove special case of french and index
12858 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12859 before \begin{document}). This solves several incompatibilities.
12861 2001-10-03 Garst Reese <reese@isn.net>
12863 * lyx_cb.C: change CheckTex error msg.
12865 2001-10-03 José Matos <jamatos@fep.up.pt>
12867 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12869 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12871 * .cvsignore: update
12873 * lyx_main.C (commandLineVersionInfo): use new style version info.
12875 * buffer.C (writeFile):
12877 (makeLinuxDocFile):
12878 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12880 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12882 * version.h: update to use stuff in version.C
12884 * version.C.in: new file. Contains version information determined
12885 at compile time. This is a merging of version.h and
12888 2001-10-03 Juergen Vigna <jug@sad.it>
12890 * BufferView_pimpl.C (update): don't change "dirty" status in
12893 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12895 * WorkArea.C (c-tor): re-position version string slightly.
12897 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12899 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12900 revert to previous code.
12902 WorkArea.[Ch]: (show, destroySplash): methods removed.
12904 WorkArea.C: rework code so that it's an amalgam of the codes before and
12905 after the splash screen was moved to WorkArea.
12907 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * vspace.C (inPixels):
12913 * buffer.C (insertStringAsLines):
12914 (asciiParagraph): fix types to be large enough
12916 * lyxlex_pimpl.h: change member status from short to int
12918 * layout.h: fix type of endlabeltype
12921 * kbsequence.C (parse): change return type to string::size_type
12923 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12926 * Bullet.C (bulletSize):
12927 (bulletEntry): do not use short ints as parameters
12929 * BufferView2.C (insertLyXFile): change a char to an int.
12931 * WorkArea.C (WorkArea): remove unneeded floats in computation
12933 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12935 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12937 * paragraph.C (asString): Do not ignore newline/hfill chars when
12938 copying to the clipboard.
12940 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12942 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12943 after a multi-line inset.
12945 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12947 * paragraph.C (validate): Set NeedLyXFootnoteCode
12949 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12951 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12952 and decrease-error to decrease.
12954 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12956 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12957 it more readable (should be equivalent)
12959 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12961 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12963 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12965 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12966 of a cursor (row, etc.) after a character has been deleted
12967 (deleteEmptyParagraphMechanism): call the method above on _all_
12968 cursors held by the LyXText when a double space has been
12971 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12973 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12975 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12977 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12978 background. Use greyOut() and the new show() methods to toggle between
12979 the foreground and background. Add code to remove the splash after
12980 its initial showing.
12982 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12983 (create_forms): no longer call Dialogs::showSplash.
12985 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12987 * .cvsignore: add version_info.h
12989 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12991 * version_info.h.in: new file
12993 * Makefile.am: add version_info.h.in
12995 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12996 version_info.h instead of VERSION_INFO
12998 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13000 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13001 The ERT inset now returns string().
13003 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13005 * lyxtext.h, text.C (selectNextWord): renamed as
13006 selectNextWordToSpellcheck.
13008 * text.C (selectNextWordToSpellcheck): Modified to not select
13009 words inside an ERT inset.
13011 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13013 * lyx_cb.C (MenuLayoutSave): change a bit the question
13015 * sp_base.h: include <sys/types.h>
13017 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13019 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13021 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13023 * several files: fix typos in user-visible strings
13025 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * text2.C (pasteSelection): do not set the selection, since it
13028 will be cleared later. Actually, the intent was to fix the way the
13029 selection was set, but I figured rmoving the code was just as good.
13031 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13033 * FontLoader.C (available): Check if font is available without
13036 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13038 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13040 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13042 * lyxrc.[Ch]: added display_graphics variable and associated code.
13044 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13046 * bufferparams.C (hasClassDefaults): new method. Returns true if
13047 the buffer parameters correspond to known class defaults
13049 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13051 * XFormsView.C (show): set minimum size to the main window.
13053 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13055 * text2.C (copySelection):
13057 * lyxfind.C (LyXReplace):
13058 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13059 LyXText::selectionAsString.
13061 * paragraph.C (asString): add "label" argument to the second form
13063 * text2.C (selectionAsString): add "label" argument and pass it to
13064 Paragraph::asString.
13066 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * lyx_main.C (commandLineHelp): remove version information
13070 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13072 * lyx_main.C: add -version commandline option
13074 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * paragraph.h: make the optional constructor arg required instead.
13077 some modifications to other files because of this.
13079 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13081 * lyxserver.C (C_LyXComm_callback): make it static
13083 * lyx_main.C (error_handler): make it static
13085 * lyx_gui.C (LyX_XErrHandler): make it static
13087 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13089 * WorkArea.C: make the extern "C" methods static.
13091 * Makefile.am (lyx_LDADD): simplify
13093 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13095 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13096 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13098 * LyXAction.C (init):
13099 * lyxfunc.C (dispatch): associated code removal.
13101 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * lyxfont.h (isSymbolFont): shut off warning
13105 * text.C (setHeightOfRow):
13106 (getVisibleRow): fix crash with empty paragraphs which have a
13109 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13111 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13114 2001-09-04 José Matos <jamatos@fep.up.pt>
13117 * tabular.C (docbook): rename docBook method to docbook.
13119 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13121 * Makefile.am: add dependencies to main.o.
13123 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13125 * FontLoader.C (available): Return false if !lyxrc.use_gui
13127 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13129 * FontInfo.C (query):
13130 * converter.C (view):
13131 * importer.C (Import):
13132 * exporter.C (Export): Can not -> cannot.
13134 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13136 * BufferView_pimpl.C: allow to create index inset even if
13139 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13141 * buffer.C (getLists): replace boost::tie code with an explicit pair
13142 as boost::tie can break some compilers.
13144 * iterators.h: Added a std:: declaration to the return type of
13147 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13149 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13152 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13154 * iterators.[Ch]: New files. Provide paragraph iterators.
13156 * buffer.C (changeLanguage): Use paragraph iterators.
13157 (isMultiLingual): ditto
13159 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13161 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13163 * FontLoader.C: Support for cmr font.
13165 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13167 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13168 (available): New method.
13170 * FontInfo.C (getFontname): Use scalable fonts even when
13171 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13174 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13176 * converter.C (Formats::view): reverted! Incorrect fix.
13178 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13180 * converter.C (Formats::view): only output the -paper option
13181 if the dvi viewer is xdvi, thereby fixing bug #233429.
13183 2001-08-23 Herbert Voss <voss@perce>
13185 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13187 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13189 * Spacing.h (Spacing): Set space to Default on in the default
13192 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13194 * vc-backend.h (RCS::versionString): add RCS to version
13195 (CVS::versionString): add CVS to version
13197 * vc-backend.C (scanMaster): do not add CVS to version.
13198 (scanMaster): do not add RCS to version
13200 * lyxvc.C (versionString): new method
13202 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13204 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * Spacing.C (set): initialize fval
13208 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13210 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13213 2001-08-16 Juergen Vigna <jug@sad.it>
13215 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13217 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13219 * BufferView_pimpl.C:
13222 * text2.C: setParagraph takes linespacing now
13224 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13226 * LyxAction.C: add internal LFUN_CITATION_INSERT
13228 * LyXView.C: actually apply fix
13230 * bufferlist.C: fix open non-existent file
13232 * lyxfind.C: fix indentation
13234 * lyxfunc.C: remove unneeded assert, fix typo
13236 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13238 * MenuBackend.C: use "Floatname List"
13240 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13242 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13243 when converting LaTeX layout to insetERT.
13244 Generate a non-collapsed float when reading old float
13246 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13248 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13251 2001-08-13 Juergen Vigna <jug@sad.it>
13253 * text.C (fill): return 0 instead of 20 as this seems to be the more
13256 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13258 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13261 2001-08-13 Juergen Vigna <jug@sad.it>
13263 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13265 (SearchBackward): comment out the unlocking of the inset_owner this
13266 should not be needed!
13268 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13270 * Many files: Remove inherit_language, and add latex_language
13272 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13273 collapsible insets.
13275 2001-08-10 Juergen Vigna <jug@sad.it>
13277 * text.C (prepareToPrint): fixed hfill-width in draw!
13279 * BufferView2.C (selectLastWord): save the selection cursor as this
13280 now is cleared in the function LyXText::clearSelection!
13282 2001-08-08 Juergen Vigna <jug@sad.it>
13284 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13285 BACKSPACE type functions.
13287 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13288 is only cutted from the document but not put in the cut-buffer, where
13289 still the old stuff should be.
13291 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13293 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13295 * tabular.C (SetWidthOfCell): fixed special case where the width
13297 (LeftLine): handle '|' in align_special.
13299 (LeftAlreadyDrawed): ditto
13300 (SetWidthOfCell): ditto
13302 2001-08-07 Juergen Vigna <jug@sad.it>
13304 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13306 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13308 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13309 * lyxlex.[hC]: ditto
13311 2001-08-06 Juergen Vigna <jug@sad.it>
13313 * text.C (getVisibleRow): fix up row clearing a bit.
13315 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * minibuffer.C: make sure the X server sees the changes in the input.
13319 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * paragraph.C (getFont): split into...
13322 (getLabelFont): this
13323 (getLayoutFont): and this
13324 * paragraph_pimpl.C (realizeFont): calling this
13326 * text2.C (getFont): split into...
13327 (getLayoutFont): this
13328 (getLabelFont): and this
13329 (realizeFont): all three calling this
13331 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13334 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13338 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13340 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13341 layouts from the Quote inset insertion.
13343 2001-08-03 Juergen Vigna <jug@sad.it>
13345 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13347 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13348 only if status not is already CHANGED_IN_DRAW (second level).
13350 * text.C (draw): don't set the need_break_row when inside an
13353 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * buffer.C (parseSingleLyXformat2Token): handle more latex
13358 * bufferview_funcs.[hC]: change function names to
13359 begin with small char, adjust other files.
13361 2001-08-02 André Pönitz <poenitz@gmx.net>
13364 BufferView_pimpl.C: remove broken special code for math-greek
13366 2001-08-02 Juergen Vigna <jug@sad.it>
13368 * BufferView_pimpl.C (update): redone this function so that we
13369 update the text again if there was a CHANGE_IN_DRAW.
13371 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13372 (drawFromTo): added a new internal bool which is used by draw() and
13374 (general): some cursor drawing problems fixed.
13376 2001-08-01 Juergen Vigna <jug@sad.it>
13378 * lyxfind.C (LyXFind): fixed
13379 (SearchForward): ditto
13380 (SearchBackward): ditto
13382 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13383 spurius drawing of the cursor in the main area.
13385 * text2.C (status): small fix which could lead to a segfault!
13386 (clearSelection): remove unneeded BufferView param.
13388 2001-08-01 André Pönitz <poenitz@gmx.net>
13390 * lyxfunc.C: small change due to changed mathed interface
13392 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13394 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13396 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13398 * lyxfunc.c: fail gracefully if file doesn't exist
13403 * BufferView_pimpl.C: IsDirWriteable() proto changed
13405 * LyXView.C: fix updateWindowTitle() to store the last title
13407 2001-07-31 Juergen Vigna <jug@sad.it>
13409 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13410 the font (wrong since using of Paragraph::highestFontInRange).
13412 * paragraph.C (highestFontInRange): added a default_size parameter.
13414 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13415 (setHeightOfRow): reformat
13417 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * converter.[hC] + affected files: move to (inital-char)lowercase
13422 * ParagraphParameters.C (ParagraphParameters): remove commented code
13424 * PainterBase.[Ch]: remove commented code
13426 * LaTeXFeatures.h: add "bool floats" for float.sty
13428 * LaTeXFeatures.C (LaTeXFeatures): init floats
13429 (require): handle float
13430 (getPackages): do it with floats
13432 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13434 * BufferView_pimpl.C (Dispatch): improve handling of
13435 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13437 * commandtags.h: #include lyxfont.h here temporarily to avoid
13440 * bufferlist.h: include LString.h here.
13442 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * text2.C (getStringToIndex): new method.
13446 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13448 * *: Reduced header file dependencies all over.
13450 2001-07-30 Baruch Even <baruch@lyx.org>
13452 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13454 2001-07-29 Baruch Even <baruch@lyx.org>
13456 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13458 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * ParameterStruct.h (endif): add a default constructor to make
13461 sure that all variables is initialized.
13463 * ParagraphParameters.C (ParagraphParameters): adjust
13465 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13468 index; also, check that there is something to index, and that it
13469 does not span over several paragraphs.
13470 (doubleClick): use WHOLE_WORD_STRICT for double click.
13472 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13474 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13477 2001-07-26 Baruch Even <baruch@lyx.org>
13479 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13480 an InsetFig figure, backwards compatible reading of old figure code.
13482 2001-07-27 Juergen Vigna <jug@sad.it>
13484 * text2.C: font.realize function adaption.
13486 * text.C (draw): add a warnings lyxerr text if needed.
13488 * layout.C: font.realize function adaption.
13490 * language.C: add inherit_language and implement it's handlings
13492 * bufferview_funcs.C (StyleReset): remove language parameter from
13493 font creation (should be language_inherit now).
13495 * bufferparams.C (writeFile): handle ignore_language.
13497 * paragraph.C (getFontSettings): the language has to be resolved
13498 otherwise we have problems in LyXFont!
13500 * lyxfont.C (lyxWriteChanges): added document_language parameter
13501 (update): removed unneeded language parameter
13503 * paragraph.C (validate): fixed wrong output of color-package when
13504 using interface colors for certain fonts in certain environments,
13505 which should not seen as that on the final output.
13507 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13509 * BufferView_pimpl.C:
13514 * LyXAction.C: add thesaurus support
13517 * lyxfind.C: add "once" parameter, for thesaurus, to not
13518 move to the next match
13520 2001-07-26 Juergen Vigna <jug@sad.it>
13522 * lyxfont.C (realize): honor ignore_language too!
13525 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13527 * text.C (draw): one place more for ignore_language to not draw
13530 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13532 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13534 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13536 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13537 the minipage conversion problem.
13539 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13544 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13546 * BufferView.h: don't forward declare WorkArea
13548 * BufferView.C: don't include WorkArea.h
13550 2001-07-25 André Pönitz <poenitz@gmx.net>
13554 * lyxfunc.C: new LFUN 'math-space'
13556 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13558 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * text2.C (toggleInset): call open/close
13562 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * lyxfunc.C (dispatch): add debug for the disabled case
13566 * font.C (buttonText): make similar to rectText
13568 * buffer.C (readInset): comment out parsing of insetlist and
13571 * PainterBase.C (rectText): small correction
13573 * BufferView_pimpl.C: comment out insettheorem and insetlist
13574 * LyXAction.C: ditto
13575 * commandtags.h: ditto
13577 2001-07-24 Juergen Vigna <jug@sad.it>
13579 * text.C (draw): honor the ignore_language.
13581 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13583 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13585 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13588 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13590 * lyxtext.h: remove unused (and unimplemented) methods
13592 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13594 * text.C (getVisibleRow): honor background color
13597 * Painter.h: remove default color argument for fillRectangle
13599 * text.C (backgroundColor): new method
13601 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * text.C (getVisibleRow): adjust
13605 * font.[Ch] (rectText): new method, metrics
13606 (buttonText): new method, metrics
13608 * PainterBase.[hC]: make rectText and buttonText always draw and take
13611 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13613 * ToolbarDefaults.C (read):
13614 * MenuBackend.C (read): allow escaping in all strings
13616 * BufferView_pimpl.C (insertAndEditInset): new method.
13617 (Dispatch): use insertAndEditInset whenever appropriate.
13619 * BufferView_pimpl.C (insertNote): removed
13621 * BufferView_pimpl.C (smartQuote): new method, moved from
13622 BufferView; if an insetquote cannot be inserted, insert a '"'
13625 * BufferView2.C: remove insertCorrectQuote();
13627 * lyxfunc.C (getStatus): Add support for all remaingin
13628 inset-insert lfuns.
13630 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13632 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13633 command (necessary to pass " as parameter of self-insert.
13635 * text.C (selectWordWhenUnderCursor):
13636 (selectWord): add word_location parameter
13637 (selectWordWhenUnderCursor): same + remove special code for word
13639 (selectNextWord): use kind() to guess type of insetspecialchar,
13642 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13643 (insertErtContents): create ert insets as collapsed.
13644 (readInset): better compatibility code for Info inset.
13646 2001-07-20 Juergen Vigna <jug@sad.it>
13648 * lyxfunc.C (dispatch): use always LyXFind now!
13650 * text2.C (init): add a reinit flag so that the LyXText can be
13651 reinited instead of deleted and reallocated (used in InsetText).
13653 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13659 2001-07-18 Juergen Vigna <jug@sad.it>
13661 * text.C (selectNextWord): handle insets inside inset by calling
13662 always the bv->text functions so that we can go up the_locking_inset!
13664 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13665 in strange locations when inside an inset!
13667 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13668 handling to include insets.
13670 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13672 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * LyXAction.C (init):
13676 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13677 LIGATURE_BREAK, since the name is so stupid.
13679 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13681 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13684 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13686 * sp_form.[Ch]: remove.
13688 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13690 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13693 * src/buffer.C (readInset): ditto.
13695 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13697 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13698 menuSeparator(), endOfSentenceDot(), ldots() and
13699 hyphenationPoint(), which are therefore removed.
13700 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13702 * LyXAction.C (init):
13703 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13705 * paragraph.C (getWord): removed.
13707 * BufferView_pimpl.C (Dispatch): use last word or selection for
13708 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13710 * lyx_main.C (queryUserLyXDir): do not ask before creating
13711 user_dir, except if it has been named explicitely.
13713 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13715 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13716 a document of zero size.
13718 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13720 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13721 approriately in the c-tor and in require().
13722 (getPackages): output the appropriate LaTeX for natbib support.
13724 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13725 variables "use_natbib" and "use_numerical_citations" when reading the
13727 (readInset): read the various natbib cite commands.
13728 (validate): white-space change.
13730 * bufferparams.[Ch]: new variables "bool use_natbib" and
13731 "bool use_numerical_citations".
13732 (writeFile): output them in the LyX file.
13734 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13736 * lyxfunc.C (getStatus): add support for all the inset insertion
13739 * text2.C (insertInset):
13740 * paragraph.C (insetAllowed):
13741 * BufferView_pimpl.C (insertInset): update to take in account the
13742 renaming of insertInsetAllowed
13744 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13746 * text2.C (getInset): new method. returns inset at cursor position.
13748 * BufferView_pimpl.C (Dispatch): changes because of this.
13750 * LyXAction.C (init): rename open-stuff to inset-toggle.
13752 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13754 * text2.C (toggleInset): renamed from openStuff; use
13757 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13759 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13761 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13763 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13765 * buffer.C (readLyXformat2): Add filename to the error dialog
13767 2001-07-18 Juergen Vigna <jug@sad.it>
13769 * tabular.C (GetCellNumber): put an assert here instead of the check!
13771 2001-07-17 Juergen Vigna <jug@sad.it>
13773 * BufferView_pimpl.C (toggleSelection): adapted too.
13775 * text.C (selectNextWord): adapted for use with insets.
13776 (selectSelectedWord): ditto
13778 2001-07-17 Juergen Vigna <jug@sad.it>
13780 * sp_spell.C (PSpell): fix initialitation order.
13782 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * paragraph.C: spacing
13786 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13788 * sp_spell.C: repair language selection for pspell
13790 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * lyxfunc.h: change more methods to begin with lower char.
13794 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13796 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13797 for unknown layouts.
13799 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13801 * buffer.C (readLyXformat2): Generate an error dialog if there are
13804 2001-07-16 Juergen Vigna <jug@sad.it>
13806 * sp_spell.C: always compile ISpell part.
13808 * lyxrc.C: added use_pspell entry and it's handling.
13810 2001-07-13 Juergen Vigna <jug@sad.it>
13812 * sp_spell.C: removed double includes.
13814 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13816 Consistent use of Lsstream.h:
13817 * Lsstream.h: added using std::stringstream for consistencies sake.
13819 * buffer.C: removed using std::stringstream
13821 * lyxfont.C (stateText):
13822 * paragraph.C (asString):
13823 * text.C (selectNextWord, selectSelectedWord):
13824 * text2.C (setCounter):
13825 * vspace.C (asString, asLatexString):
13826 std::ostringstream -> ostringstream.
13828 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13830 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13831 * commandtags.h: add LFUN_HELP_ABOUTLYX
13832 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13834 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13836 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13838 * lyx_gui_misc.C: remove spellchecker
13839 * lyxfunc.C: showSpellchecker
13841 * sp_ispell.h: added
13842 * sp_pspell.h: added
13843 * sp_spell.C: added
13844 * sp_form.[Ch]: removed
13845 * spellchecker.[Ch]: removed
13847 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13849 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13851 (simpleTeXSpecialChars): Simply print the input character without
13852 any special translation if pass_thru is set.
13854 * layout.h: Added bool pass_thru to layout class for being able to
13855 implement pass through of a paragraph for Literate Programming.
13857 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13858 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13859 * layout.C (Read): add "passthru" to list of layout tags and add
13860 code to set the pass_thru boolean when it is read.
13862 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13864 * trans_decl.h: remove allowed from KmodInfo
13866 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13867 remove allowed code
13870 * paragraph_pimpl.C (erase): use boost::prior
13872 * Painter.C (text): use data() instead of c_str() when length is
13874 * WorkArea.C (putClipboard): ditto
13875 * font.h (width): ditto
13877 * BufferView2.C: use it-> instead of (*it). for iterators
13879 * paragraph_pimpl.C: ditto
13880 * paragraph.C: ditto
13881 * minibuffer.C: ditto
13882 * language.C: ditto
13884 * encoding.C: ditto
13885 * counters.C: ditto
13886 * converter.C: ditto
13888 * Variables.C: ditto
13889 * TextCache.C: ditto
13890 * MenuBackend.C: ditto
13891 * LyXAction.C: ditto
13893 * FloatList.C: ditto
13894 * DepTable.C: ditto
13895 * ColorHandler.C (LyXColorHandler): ditto
13897 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13899 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13901 * text2.C (openStuff): reintroduce this method (which had been
13902 nuked in NEW_INSETS frenzy).
13904 * lyxfunc.C (Dispatch): when an action has not been handled, use
13905 its name in the error message, not its number.
13907 * paragraph.C (inInset): change method name to begin with lowercase.
13910 * text2.C: updates because of this.
13912 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * ToolbarDefaults.C (add): add spaces in error message
13916 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13918 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13919 (readLyXformat2): rename return_par to first_par, use lyxlex's
13920 pushToken and remove the manual push handling.
13921 (parseSingleLyXformat2Token): add another ert comp. variable:
13922 in_tabular, rename return_par to first_par. handle newlines better
13924 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13928 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * text2.C (getParFromID): removed
13932 * buffer.C (getParFromID): new method moved form lyxtext.
13933 * BufferView2.C (insertErrors): adjust
13934 (setCursorFromRow): adjust
13935 * BufferView_pimpl.C (restorePosition): adjust
13936 * lyxfunc.C (Dispatch): adjust
13937 * undo_funcs.C (textUndo): adjust
13939 (textHandleUndo): adjust
13940 (textHandleUndo): adjust
13942 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13944 * buffer.C: up' the LYX_FORMAT
13946 * lyxfont.h: turn NO_LATEX on as default
13948 * buffer.C (insertErtContents): new methods of tex style compability.
13949 (parseSingleLyXformat2Token): use it several places.
13950 * tabular.C (OldFormatRead): and here
13952 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * text2.C: remove some commented code.
13957 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13958 * trans.C: changes because of the above.
13960 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13962 * text2.C (setCounter): Fix counters bug with bibliography layout.
13964 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13966 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13967 own member functions
13968 (simpleTeXSpecialChars): ditto
13970 2001-07-06 Juergen Vigna <jug@sad.it>
13972 * a lot of files: changed the access to LyXText::status and the
13973 call of undo-functions.
13975 * undo.[Ch]: added a inset_id to the undo informations.
13977 * undo_funcs.[Ch]: added and moved here all undo functions.
13979 * lyxtext.h: give the status enum a weight, made status_ a private
13980 variable and made accessor functions for it, removed the whole bunch
13981 of undo-functions as they are now in their own file, make some
13982 functions publically available. Added function ownerParagraph with
13985 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13986 made InInset() a const function, added getParFromID() function.
13988 * buffer.[Ch]: added const version for inset_iterator functions,
13989 added getInsetFromID() function.
13991 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13992 changed undo functions for new version.
13994 2001-07-05 Juergen Vigna <jug@sad.it>
13996 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13997 unknow mechanism does not call the proper constructor but only this
13998 one also if I request the other!?
14000 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14004 * text2.C (LyXText): use initialization lists.
14006 * lyxtext.h (Selection): initialize set_ and mark_
14007 (init): remove method
14009 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14011 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14013 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14015 * screen.[Ch]: change method names to begin with lowercase
14017 * BufferView_pimpl.C (updateScrollbar): simplify further and
14018 hopefully make it a bit faster.
14020 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14022 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14023 calling directly xforms functions.
14025 * Painter.C (Painter):
14026 * lyx_cb.C (MenuWrite):
14027 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14030 * lyx_gui.C: remove bogus guiruntime extern declaration.
14032 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14036 (redoDrawingOfParagraph): ditto
14037 (redoParagraphs): ditto
14038 (cutSelection): don't create a object for CutAndPaste use the
14039 static method directly
14040 (pasteSelection): ditto
14042 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14045 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * modifications to some other files because of this.
14049 * Makefile.am (lyx_SOURCES): add XFormsView
14051 * XFormsView.[Ch]: new files
14053 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14054 the main window. Move the gui dependent stuff to XFormsView
14056 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * tabular.C (GetCellInset): update cur_cell also in the row/col
14059 version of this function.
14061 * lyxfunc.C: no need to include figure_form.h here.
14067 * lyxvc.C: no need to include forms.h here.
14069 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14073 * lyxfunc.C (Dispatch):
14075 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14076 constructor argument.
14078 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * paragraph.C (Paragraph): dont't clear, and just set layout.
14081 (makeSameLayout): use params's copy contructor.
14083 * ParagraphParameters.[Ch] (makeSame): delete method
14085 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14087 * Variables.[Ch]: fix indentation, rename set to isSet
14089 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14091 * lyxfunc.C (Dispatch): fix typo
14093 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14095 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14098 * bufferlist.C: include assert.h for emergencyWrite().
14100 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14102 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14103 give up at last (bug #425202) !
14105 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14111 * spellchecker.C: strip spellchecker options and bring up
14112 preferences tab instead
14114 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14117 the istringstream constructor
14119 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14121 * paragraph.C (getLayout): fix return value
14123 * paragraph.h: do not declare getLayout as inline.
14125 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14127 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14129 * lyxcursor.h (operator<): new func
14130 (operator>): new func
14131 (operator>=): new func
14132 (operator<=): new func
14134 * text.C (changeCase): use selection.start and selection.end
14135 (changeRegionCase): require from to be <= to. Require par to be a
14138 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14140 2001-06-27 Juergen Vigna <jug@sad.it>
14142 * text.C (cursorLeftOneWord): changed to return the cursor and added
14143 overlay with BufferView * parameter which calls this one.
14145 (selectWord): use new getWord function.
14146 (changeCase): renamed from changeWordCase as and extended to work
14147 also on selections.
14149 * lyxtext.h: added enum word_location
14151 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14152 changeCase as this operates now also on selections.
14154 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14156 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14158 * many files: send debug output to Debug::INFO instead of
14161 * converter.C (View):
14163 (Move): send debug output to Debug::FILES instead of console.
14165 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14167 * lyxfunc.C (getStatus): use func_status
14169 * func_status.h: new header, describing the results of
14170 LyXFunc::getStatus;
14172 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14175 2001-06-25 The LyX Project <jug@sad.it>
14177 * buffer.C (sgmlOpenTag):
14179 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14181 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * text2.C: remove some dead code
14185 * tabular.C (GetCellInset): store the last cell checked (gotten)
14187 * tabular.h: add the helper for the speedup
14189 * lyxtext.h: remove some dead code
14191 2001-06-26 The LyX Project <Asger>
14193 * paragraph.C: Change export to LaTeX of alignment to
14194 \begin{center} and family for better roundtrip work with reLyX.
14196 * Tune the math drawing a bit.
14198 2001-06-25 The LyX Project <Asger>
14200 * LColor.C (LColor): New color for math background. New color
14203 2001-06-25 The LyX Project <jug@sad.it>
14205 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14207 * lyxfunc.C (Open):
14208 * bufferlist.C (newFile): do not restrict to files ending with
14211 * BufferView_pimpl.C (MenuInsertLyXFile):
14213 2001-06-24 The LyX Project <jug@sad.it>
14215 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14218 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14220 * lyxtext.h: rename most methods to begin with a small char.
14221 Lots of changes because of this.
14223 * paragraph.C (Paragraph): do not call fitToSize
14224 (erase): call Pimpl::erase
14225 (insertChar): call Pimpl::insertChar
14226 (insertInset): call Pipl::insertInset
14227 (breakParagraph): do not call fitToSize
14228 (breakParagraphConservative): do not call fitToSize
14229 (fitToSize): remove method
14231 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14233 2001-06-24 The LyX Project <Asger>
14235 * Fix Qt compilation^2
14237 2001-06-24 The LyX Project <jug@sad.it>
14239 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14240 depthHook(getDepth()-1).
14243 * ParagraphParameters.h:
14244 * ParameterStruct.h: change type of depth to unsigned int ==
14245 depth_type. Many adaptations to other files before of that.
14247 2001-06-24 The LyX Project <Asger>
14249 * Fix Qt compilation.
14251 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14253 * paragraph.h: renamed several methods to begin with small letter.
14254 several changes to many parts of the code because of this.
14256 2001-06-23 The LyX Project <jug@sad.it>
14258 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14259 rewritten to discard all double spaces when KeepEmpty is off
14260 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14261 to only handle newlines but not fiddle with spaces and friends.
14263 * lyxfunc.C (MenuNew): when doing 'new from template', use
14264 template_path as default directory
14266 2001-06-23 The LyX Project <Asger>
14268 * Clean-up of header file includes all over
14269 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14271 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14273 * paragraph.h: renamed from lyxparagraph.h
14275 2001-06-23 Asger <lyx@violet.home.sad.it>
14277 * Buffer.h: Removed Buffer::resize
14278 * BufferList.h: Removed BufferList::resize
14279 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14280 the document lazily when we change the width, or the font settings.
14282 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14284 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14286 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14288 * buffer.h: remove out of date comment
14290 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14293 * screen.C: fix "theoretical" GC leak
14295 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14297 * LaTeX.C (scanAuxFile):
14298 (deplog): remove trailing \r when reading stream (useful under
14301 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14303 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14304 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14305 and BufferView::theLockingInset(Inset*), so should use them and not
14306 access bv_->text->the_locking_inset directly.
14308 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14310 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14313 * tex-defs.h: remove old unused file
14315 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14317 * BufferView_pimpl.C: fix typo, remove minibuffer message
14318 when buffer has loaded
14320 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14322 * lyxfunc.C (Dispatch): use stringstream
14323 (MenuNew): use stringstream
14324 (Open): use stringstream
14326 * importer.C (Import): use stringstream
14328 * bufferview_funcs.C (CurrentState): use stringstream
14330 * LaTeX.C (run): use stringstream
14332 * BufferView_pimpl.C (savePosition): use stringstream
14333 (restorePosition): use stringstream
14334 (MenuInsertLyXFile): use stringstream
14336 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14349 * vspace.C: removed // -*- C++ -*- as first line.
14352 * version.h: added // -*- C++ -*- as first line.
14354 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14358 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14361 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14366 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * gettext.C: include LString.h even when --disable-nls is on.
14370 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14372 * converter.h (Get): changed argument type from int to
14373 FormatList::size_type to avoid unnecessary conversion.
14375 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14378 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * gettext.h: include LString.h even when --disable-nls is on.
14382 2001-06-07 Juergen Vigna <jug@sad.it>
14384 * text.C (BreakAgain): subst spaces with tabs.
14386 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14387 (resizeInsetsLyXText): set force on resizeLyXText.
14389 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14391 * gettext.h (gettext_init):
14392 (locale_init): use a real definition instead of a macro
14394 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14396 * Bufferview_pimpl.C:
14398 * LColor.C: further lcolor tidies
14400 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14402 * BufferView_pimpl.C (updateScrollbar): simplify.
14404 * BufferView2.C: don't include insets/insetinfo.h, change
14405 prototype for insertInset and call the Pimpl version. let
14406 updateInset call Pimpl version.
14408 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14409 gotoInset to BufferView::Pimpl
14411 2001-06-01 Juergen Vigna <jug@sad.it>
14413 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14414 inside a LockingInset (is the update needed at all?).
14416 2001-05-31 Juergen Vigna <jug@sad.it>
14418 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14419 here not the old one otherwise how should we compare it afterwards
14422 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14427 * FontInfo.C: bring C functions into global namespace when
14430 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * LString.h: make sure config.h has been loaded before LString.h.
14434 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14435 (one for each char read by EatLine!).
14437 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14440 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14442 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14443 to the same as the par we break from
14445 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14449 * MenuBackend.C (expand): also create menu entries for wide
14450 versions of the floats.
14452 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14454 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14456 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14457 frontends/Makefile.am
14463 * tabular.C (getTokenValue): add std::
14465 * tabular-old.C (getTokenValue): add std::
14466 (getTokenValue): ditto
14467 (getTokenValue): ditto
14469 * screen.C (ToggleSelection): adjust
14471 * lyxtext.h: put selection cursors inside a Selection struct.
14473 * lyxfunc.C (moveCursorUpdate): adjust
14475 * lyxfont.C (latexWriteStartChanges): add std::
14477 * lyxfind.C: adjust
14479 * font.h: delete with(char const *, LyXFont const &)
14481 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14483 * FontInfo.C (getFontname): add std::
14485 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14486 (workAreaButtonPress): adjust
14487 (tripleClick): adjust
14489 (moveCursorUpdate): adjust
14492 * BufferView2.C (gotoInset): adjust
14494 2001-05-30 Juergen Vigna <jug@sad.it>
14496 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14497 to check pspell I add this as default as I now have new pspell
14498 libraries and they seem to use this.
14500 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * text2.C (CutSelection): make the cursor valid before the call to
14505 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14508 relied on 0 terminated strings and other horrors. Bug found due to
14509 the new assert in lyxstring!
14511 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14514 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14516 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14519 * lyxfunc.C (processKeySym): change method of getting to the
14522 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14523 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14524 * BufferView_pimpl.[Ch]: here as private methods.
14526 2001-05-28 Juergen Vigna <jug@sad.it>
14528 * text.C (SetHeightOfRow): added the update() call again as it is
14529 needed to initialize inset dimensions!
14531 2001-05-16 Juergen Vigna <jug@sad.it>
14533 * text2.C (SetCharFont): Add new function with BufferView * and
14534 bool toggleall parameters for setting insets internal fonts.
14535 (SetFont): Freeze the undo as we may change fonts in Insets and
14536 all this change should be inside only one Undo!
14538 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14539 setting font's in insets as for them we have the SetFont function!
14541 2001-05-15 Juergen Vigna <jug@sad.it>
14543 * text2.C (ClearSelection): to be sure we REALLY don't have any
14546 * tabular.C (TeXCellPreamble): fixed the left border problem for
14549 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14551 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14554 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14557 LFUN_BREAKPARAGRAPH.
14559 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14560 help test to "internal only", similar for LFUN_INSERT_URL
14562 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14563 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14564 auto_region_delete and deadkeys.
14566 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14569 * LColor.C: remove some dead entries, tidy a little
14571 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14573 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14575 (Dispatch): implement LFUN_ESCAPE
14577 * commandtags.h: add LFUN_ESCAPE
14579 * LyXAction.C (init): add entry for LFUN_ESCAPE
14581 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14582 Remove commented code.
14583 (insertNote): moved here
14584 (open_new_inset): moved here
14586 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14589 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * kbmap.C (findbinding): clean it up and make it work correctly.
14593 * lyx_main.C (init): do not pass argc and argv as parameters
14595 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14597 * buffer.C: fix path for OS/2 & Win32
14601 * lyx_main.C: Added os:: class.
14603 * os2_defines.h: update
14605 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14607 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14608 better by trying again with reduced state.
14610 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14612 * lyxrc.C (read): print error about invalid key sequence only when
14613 debugging (because not all latinX keysyms are known to some X
14616 * kbsequence.C (getiso): add a few std:: qualifiers
14617 (getiso): comment out extra return statement.
14619 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14623 (Dispatch): enhance the accent inset a bit. (not perfect)
14625 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14627 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14629 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * bufferlist.C (emergencyWrite): fix assert() call
14633 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14635 * text.C (InsertChar): Added trivial patch to only send the "you
14636 can not do multiple spaces this way" message once during a
14639 2001-05-08 Baruch Even <baruch@lyx.org>
14641 * Makefile.am: Changed order of libraries to get LyX to link properly
14642 with the gnome frontend.
14644 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14646 * LaTeXFeatures.h: add a std:: qualifier
14648 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14650 * paragraph.C (String): use stringstream
14652 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14654 * paragraph.C (writeFile): remove footflag arg
14656 * buffer.C (makeLaTeXFile): use stringstream
14657 (latexParagraphs): remove footnot gurba
14659 * LaTeXFeatures.C (getPackages): use stringstream
14660 (getMacros): likewise
14661 (getTClassPreamble): likewise
14662 (getFloatDefinitions): new method
14664 * paragraph.C (writeFile): reindent
14667 * WorkArea.h: revert the xpos + etc changes.
14669 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14671 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14673 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14674 (pasteSelection): likewise
14675 * text2.C (CreateUndo): likewise
14677 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * minibuffer.C (peek_event): temporarily reduce the functionality
14680 of the minibuffer (to allow args on lfuns)
14682 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14683 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14685 * buffer.C (readInset): add compability reading of old float
14686 lists, add reading of new style float list.
14687 (readInset): avoid reevaluation of inscmd.getCmdName()
14688 (getLists): reindent
14690 * MenuBackend.C (MenuItem): implement parsing of
14691 md_floatlistinsert and md_floatinsert.
14692 (expand::LastFiles): move initalizaton of iterators out of loop,
14693 avoid reevaluation.
14694 (expand::Documents): introduce typdedef vector<string> Strings,
14696 (expand::ExportFormats): introduce typedef vector<Format const *>
14697 Formats, and use it.
14698 (expand): implement FloatListInsert and FloatInsert.
14700 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14701 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14702 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14704 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14706 (Dispatch::LFUN_FLOAT_LIST): implement
14708 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14710 * LaTeX.C (run): Fix problem with --export code.
14712 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14714 * BufferView.[Ch] (workarea): removed.
14715 (getClipboard) new method; wrapper for workarea()->getClipboard()
14717 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14720 * WorkArea.h (width, height, xpos, ypos): These methods all
14721 returned the dimensions of the work_area sub-area of WorkArea,
14722 resulting in a position error if the WorkArea were resized. Now
14723 return the dimensions of the entire WorkArea.
14725 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14727 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * LaTeX.C (deplog): correct the syntax of regex reg1
14731 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * undo.C: remove !NEW_INSETS cruft
14735 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14737 * text2.C: remove !NEW_INSETS cruft
14739 * text.C: remove !NEW_INSETS cruft
14741 * tabular.C: remove !NEW_INSETS cruft
14743 * spellchecker.C: remove !NEW_INSETS cruft
14745 * lyxtext.h: remove !NEW_INSETS cruft
14747 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14749 * lyxfunc.C: remove !NEW_INSETS cruft
14751 * lyxfind.C: remove !NEW_INSETS cruft
14753 * lyx_cb.C: remove !NEW_INSETS cruft
14755 * figureForm.C: remove !NEW_INSETS cruft
14757 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14759 * buffer.[Ch]: remove !NEW_INSETS cruft
14761 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14763 * CutAndPaste.C: remove !NEW_INSETS cruft
14765 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14767 * BufferView2.C: remove !NEW_INSETS cruft
14769 * BufferView.h: remove !NEW_INSETS cruft
14771 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14773 * Lsstream.h: include LString.h before the sstream headers to
14774 fix problem with gcc 2.95.3 and lyxstring
14776 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14778 * lyx_main.C: add using directives when needed for C functions
14779 declared in std:: namespace.
14781 2001-04-27 Juergen Vigna <jug@sad.it>
14783 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14784 (SetHeightOfRow): comment out the update call should not be needed!
14786 2001-04-13 Juergen Vigna <jug@sad.it>
14788 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14789 (LyXTabular): tried to minimize operator= operations (and realized
14790 hopfully Lars wish).
14792 2001-04-27 Juergen Vigna <jug@sad.it>
14794 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14796 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14798 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14800 * buffer.C (readInset): hack to make listof algorithm work
14802 * BufferView_pimpl.C: hack to make listof algorithm work
14804 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * LyXAction.C: removed all !NEW_INSETS cruft
14807 (init): moved lfun_item in method
14809 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14811 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14813 * BufferView2.C (theLockingInset): white space.
14815 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * minibuffer.C: include <iostream>
14819 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14821 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14823 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14825 * text.[Ch] (TransposeChars): new method
14827 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * call message directly through LyXView instead of through LyXFunc
14830 * BufferView2.C: adjust
14831 * BufferView_pimpl.C: adjust
14832 * FontLoader.C: adjust
14834 * bufferview_funcs.C: adjust
14835 * converter.C: adjust
14836 * figureForm.C: adjust
14837 * importer.C: adjust
14839 * lyx_gui_misc.C: adjust
14840 * lyxfunc.C: adjust
14843 + more files in subdirs
14845 * lyxparagraph.h (size): move up int file
14848 * adjust all uses of Assert to lyx::Assert.
14850 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14851 lyxfunctional in namespace lyx
14852 * layout.C (hasLayout): ditto
14855 (delete_layout): ditto
14856 (NumberOfClass): ditto
14857 * converter.C (GetFormat): ditto
14862 * bufferlist.C (getFileNames): ditto
14863 (emergencyWriteAll): ditto
14866 * MenuBackend.C (hasSubmenu): ditto
14869 * BufferView_pimpl.C (getInsetByCode): ditto
14871 2001-04-18 Juergen Vigna <jug@sad.it>
14873 * vspace.C (asLatexString): fixed the 100% problem.
14875 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14877 * lyxfunc.C (Dispatch):
14879 * minibuffer.h: add a few std:: qualifiers
14881 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * minibuffer.[Ch]: reimplement so that commands is initiated and
14884 run from lyxfunc, simplified som handling, and made the completion
14885 and history code for complete. wip.
14887 * lyxfunc.C (processKeySym): call message
14888 (miniDispatch): new temporary method
14889 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14890 (LFUN_MESSAGE): implement
14891 (LFUN_MESSAGE_PUSH): implement
14892 (LFUN_MESSAGE_POP): implement
14893 (initMiniBuffer): the initial/defualt minibuffer message.
14895 * lyxfont.[Ch]: inline some more getters
14897 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14899 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14901 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14902 (AutoSave): use LFUN_MESSAGE
14903 (Reconfigure): ditto
14905 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14907 * figureForm.C: use LFUN_MESSAGE
14909 * converter.C (runLaTeX): use LFUN_MESSAGE
14911 * bufferview_funcs.C: use LFUN_MESSAGE
14913 (changeDepth): ditto
14915 * bufferparams.h: use boost::
14917 * bufferlist.h: inherit privately from noncopyable
14919 * bufferlist.C (loadLyXFile): remove some commented code.
14921 * buffer.C (runChktex): use LFUN_MESSAGE
14923 * ShareContainer.h: inherit privately from noncopyable
14925 * ParagraphParameters.[hC] (depth): inline it.
14927 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14929 (message): new method
14930 (messagePush): ditto
14931 (messagePop): ditto
14932 (show): init minibuffer
14933 (showState): direct call
14935 * LaTeX.[Ch]: inherit privately from noncopyable
14936 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14937 instead of WriteStatus.
14939 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14941 * BufferView_pimpl.C (buffer): don't init minibuffer
14942 (workAreaButtonPress): use LFUN_MESSAGE
14943 (workAreaButtonRelease): ditto
14944 (savePosition): ditto
14945 (restorePosition): ditto
14946 (MenuInsertLyXFile): ditto
14947 (workAreaExpose): don't init minibuffer
14948 (update): remove commented code, simplify
14950 * BufferView2.C (openStuff): use LFUN_MESSAGE
14951 (toggleFloat): ditto
14954 (copyEnvironment): ditto
14955 (pasteEnvironment): ditto
14960 (updateInset): remove some commented code
14962 * lastfiles.h: inherit privately from noncopyable
14965 * lyx_main.h: ditto
14967 * lyxlex_pimpl.h: ditto
14969 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14970 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14971 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14973 * LyXAction.h: inherit privately from noncopyable, add methods
14974 func_begin, func_end, returning iterators to the func map.
14976 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14977 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14978 (func_begin): new method
14979 (func_end): new method
14981 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14983 (copySelection): ditto
14984 (pasteSelection): ditto
14986 * BufferView.C: whitespace change
14987 * BufferView.h: inherit privately from noncopyable
14989 2001-04-16 Allan Rae <rae@lyx.org>
14991 * tabular-old.C (l_getline):
14992 * spellchecker.C (sc_check_word):
14993 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14994 an unrecognised preprocessor directive. So ensure they're wrapped.
14996 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14998 * src/exporter.C (Export): Give an error message when path to file
15001 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15003 * LaTeX.C (deplog): Always check that foundfile exists.
15005 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15010 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15012 * tabular.[Ch] (getLabelList): implement new method
15014 * minibuffer.h: comment ouf setTiimer
15016 * minibuffer.C (ExecutingCB): constify res
15017 (peek_event): constify s
15018 (Set): constify ntext
15019 (Init): constify nicename
15021 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15023 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15024 (savePosition): use two params to Minibuffer::Set
15025 (restorePosition): ditto
15027 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * lyx_main.C: include language.h
15031 * Makefile.am (lyx_main.o): add language.h
15033 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * CutAndPaste.C: include gettext.h
15041 * lyxfont.h: remove old hack with ON and OFF.
15044 * lyxfont.h: do not include language.h...
15049 * bufferview_funcs.C:
15055 * paragraph.C: ... but do it here instead
15057 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15059 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15061 * tabular.C: small reformat
15063 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15066 (BreakParagraph): ditto
15067 (SetOnlyLayout): ditto
15070 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15073 * lastfiles.C: removed most using decl, add std:: where needed
15075 * buffer.C: ws changes
15077 * MenuBackend.C (class compare_format): put into anon namespace
15078 (expand): constify label, names, action, action2
15081 * text.C (SingleWidth): constify font
15082 (IsBoundary): constify rtl2
15083 (GetVisibleRow): constify ww
15085 * LaTeX.C (deplog): constify logfile
15087 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15089 (workAreaExpose): constify widthChange, heightChange
15091 * lyxrow.C (par): moved
15094 * lyxrow.h: as inlines here
15096 * lyxfont.h (shape): moved from lyxfont.C
15097 (emph): moved from lyxfont.C
15099 * lyxfont.C (LyXFont): use initialization list for all
15101 (shape): move to lyxfont.h as inline
15102 (emph): move to lyxfont.h as inline
15105 2001-04-04 Juergen Vigna <jug@sad.it>
15107 * vspace.C: had to include stdio.h for use of sscanf
15109 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15112 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15113 independent of xforms.
15115 2001-04-02 Juergen Vigna <jug@sad.it>
15117 * spellchecker.C: fixed namespace placing!
15119 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15121 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15122 the LyXParagraph * is 0.
15124 2001-03-29 Juergen Vigna <jug@sad.it>
15126 * vspace.C: added support for %, c%, p%, l%.
15127 (stringFromUnit): added helper function.
15128 (asLatexString): changed to give right results for the %-values.
15130 * buffer.C: convert the widthp in a width%.
15132 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15134 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15137 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15138 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15140 * lyx_cb.[Ch]: see above.
15142 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15146 * lyx.[Ch]: replaced by figure_form.[Ch].
15150 * lyxfunc.C: changed headers associated with above changes.
15152 2001-03-27 Juergen Vigna <jug@sad.it>
15154 * BufferView_pimpl.C: set the temporary cursor right!
15156 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15158 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15160 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15162 * LString.h: removed "using std::getline"!
15164 * BufferView_pimpl.C (Dispatch): changes due to changes in
15165 InsetInclude::Params.
15167 * buffer.C (tag_name): removed redundant break statements as they were
15168 producing lots of warnings with my compiler.
15170 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * LString.h: add "using std::getline" when using the real <string>.
15174 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15176 * buffer.C: removed bitset usage.
15177 PAR_TAG moved to an anonymous name space.
15178 (tag_name): new funtion, also in the anonymous namespace.
15179 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15180 (makeDocBookFile): clean code. Completed transition from string arrays
15182 (SimpleDocBookOnePar): code clean.
15184 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15186 * tabular.C: add some comments.
15188 2001-03-22 Juergen Vigna <jug@sad.it>
15190 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15191 compatibility read a bit and fixed bug with minipage in different
15194 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15196 * buffer.C (pop_tag): removed.
15197 (push_tag): removed.
15198 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15199 array replaced with vector. Added support for CDATA sections.
15200 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15202 (makeDocBookFile): XML conformant declaration of CDATA section,
15203 fixed bug related to <emphasis> in the first paragraph char.
15204 (sgmlOpenTag): exclude empty tags.
15205 (sgmlCloseTag): ditto.
15207 * buffer.h (pop_tag): removed.
15208 (push_tag): removed.
15210 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15212 * language.h (Languages): added size_type and size().
15214 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15216 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15217 response on compability reading of minipages. One probliem is that
15218 the old usage of minipages was «flertydig»
15220 * several files here and in subdirs: don't use static at file
15221 scope use anon namespaces instead.
15223 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15225 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15226 LaTeX output. This is necessary for Literate document
15229 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15231 * buffer.C: insert hfill when needed.
15233 * tabular.C (l_getline): use string::erase, small whitespace change.
15235 * BufferView_pimpl.C: try the anon namespace.
15236 * WorkArea.C: ditto
15238 2001-03-16 Juergen Vigna <jug@sad.it>
15240 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15241 otherwise it won't open options-dialogs.
15243 * buffer.C: honor pextraWidth(p) on converting minipages.
15245 * tabular.C (l_getline): changed the functions to strip trailing \r.
15247 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15249 * BufferView_pimpl.C:
15250 * minibuffer..C: added "using SigC::slot" declaration.
15252 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15254 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15260 * paragraph.C: ditto
15262 * lyxtext.h: NO_PEXTRA
15264 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15266 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15267 * ParameterStruct.h: ditto
15268 * ParagraphParameters.h: ditto
15269 * lyxparagraph.h: ditto
15271 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15273 * buffer.C: add compability for minipage alignment.
15274 (latexParagraphs): remove unwanted pextra check.
15276 * several files: remove CXX_WORKING_NAMESPACES
15278 * buffer.C (pop_tag): tie is in namespace boost
15280 * BufferView.h: noncopyable is in namespace boost
15282 * lyx_main.h: ditto
15285 * lastfiles.h: ditto
15286 * bufferlist.h: ditto
15287 * ShareContainer.h: ditto
15289 * LyXAction.h: ditto
15292 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15294 * Merging changes from BRANCH_MVC back into HEAD.
15296 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15298 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15300 * BufferView_pimpl.C: change from intl.C
15304 * Makefile.am: move combox.*
15310 * intl.C: remove dialog (covered by prefs)
15312 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15314 * lyxfunc.C (Dispatch): removed redundant break statement.
15316 2001-03-14 Juergen Vigna <jug@sad.it>
15318 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15320 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15322 * buffer.C: add hack to fix compability reading of minipages.
15324 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15326 * buffer.C (getLists): Cleanup.
15328 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * lyxfont.C (update): don't honor toggleall on font size.
15332 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15336 * Makefile.am: moved to frontends/xforms/
15340 * BufferView_pimpl.C: changes for moved mathpanel
15342 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15344 * gettext.h: fix gettext_init() in --disable-nls
15346 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15350 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15353 * lyx.h: strip external form
15355 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15357 * BufferView_pimpl.C: add comment, destroySplash()
15359 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15361 * BufferView_pimpl.C:
15365 * lyxfunc.C: use re-worked insetinclude
15367 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15369 * buffer.C: add using std::stringstream.
15371 * lyx_cb.C: readd using std::ios.
15373 * buffer.C: add using std::map.
15375 * BufferView_pimpl.C: add using std::vector.
15377 * ShareContainer.h: add std:: to swap.
15379 * buffer.h: add some typedefs
15380 * buffer.C (getLists): use them
15381 (getLists): renamed from getTocList.
15382 add a counter for the different float types and use it in the
15384 (getLists): use the same counter for the NEW_INSETS and the "non"
15387 * lyx_cb.h: remove unused items, includes, using etc.
15389 * ShareContainer.h: remove some commented code, add more comments
15390 and "documentation".
15392 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15394 * buffer.C (getTocList): make the list also when NEW_INSETS is
15397 * buffer.h: remove TocType
15399 * buffer.C (getTocList): change to return a map<string,
15400 vector<TocItem> >, implement for dynamic number of list.
15402 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15403 * text2.C (PasteSelection): adjust
15404 * CutAndPaste.C (pasteSelection): adjust
15406 * FloatList.C (FloatList): update from the new_insets branch.
15407 * Floating.[Ch]: ditto
15408 * LaTeXFeatures.C: ditto
15410 * lyxlex_pimpl.C: ditto
15412 * paragraph.C (Last): remove when NEW_INSETS is defined.
15414 * other file: changes because of the above.
15416 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15418 * lyxparagraph.h: rename next to next_, previous to previous_,
15419 make them private for NEW_INSETS. Rename Next() to next(),
15420 Previous() to previous().
15422 * other files: changes because of the above.
15424 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15427 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15430 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15432 * main.C (main): pass lyx_localedir to gettext_init().
15434 * gettext.h: remove locale_init and gettext_init macros
15436 * gettext.C (locale_init): new function
15437 (gettext_init): new function
15439 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15442 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15444 * Moved credits to frontends:
15445 * credits.[Ch]: removed
15446 * credits_form.[Ch]: removed
15447 * lyx_gui_misc.C: remove credits stuff
15450 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15452 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15454 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15455 unneeded destructor.
15457 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15458 a standalone pointer again.
15460 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15462 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15468 * ToolbarDefaults.C:
15477 * BufferView_pimpl.C: use new file dialog in GUII
15480 * lyx_cb.C: remove LayoutsCB to Toolbar
15482 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15484 * ShareContainer.h (get): add std:: qualifier
15486 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15488 * ShareContainer.h: define a proper ShareContainer::value_type
15489 type (and use typename to please compaq cxx)
15491 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15493 * lyxparagraph.h: move serveral local vars to
15494 ParameterStruct/ParagraphParameters., use ShareContainer in
15495 FontTable., make vars in FontTable private and add getter and
15498 * paragraph.C: changes because of the above.
15500 * lyxfont.h: remove copy constructor and copy assignment. (the
15501 default ones is ok), move number inside FontBits. move inlines to
15504 * lyxfont.C: add number to initializaton of statics, move several
15505 inlines here. constify several local vars. some whitespace
15506 cleanup. Dont hide outerscope variables.
15508 * Spacing.h: add two new constructors to match the set methods.
15510 * ShareContainer.h: new file, will perhaps be moved to support
15512 * ParameterStruct.h: new file
15514 * ParagraphParameters.h: new file
15516 * ParagraphParameters.C: new file
15518 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15519 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15521 * BufferView_pimpl.C: ParagraphParameter changes.
15522 * buffer.C: Likewise.
15523 * bufferview_funcs.C: Likewise.
15524 * text.C: Likewise.
15525 * text2.C: Likewise.
15527 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * lyxfind.C (LyXReplace): do not redefine default argument in
15531 (IsStringInText): ditto
15532 (SearchForward): ditto
15533 (SearchBackward): ditto
15535 2001-03-06 Juergen Vigna <jug@sad.it>
15537 * lyxfind.C (IsStringInText): put parentes around expressions.
15539 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15541 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15543 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15545 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15547 * stl_string_fwd.h: add comment
15549 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15552 * tabular.C: remove unused DocBook methods
15558 killed DO_USE_DEFAULT_LANGUAGE
15560 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15562 * lyx_gui.C: do not include language.h.
15564 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15565 arguments in function implementation.
15567 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15569 * BufferView_pimpl.C: add <ctime>
15571 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15573 * BufferView_pimpl.C: add using std::find_if
15575 2001-02-27 José Matos <jamatos@fep.up.pt>
15577 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15580 2001-02-11 José Matos <jamatos@fep.up.pt>
15582 * buffer.C (makeDocBookFile): command styles now have a parameter as
15583 "title" by default.
15585 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15587 * layout_forms.[Ch]: removed
15588 * lyx_cb.[Ch]: out character
15589 * lyx_gui.C: out character
15590 * lyx_gui_misc.C: out character
15591 * bufferview_funcs.C: : out character,
15592 added toggleall as parameter in ToggleAndShow
15594 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15596 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15598 * text2.C (SetCurrentFont): Disable number property at boundary.
15600 2001-02-26 Juergen Vigna <jug@sad.it>
15602 * lyxfunc.C (getStatus): added a string argument override function so
15603 that this is correctly called from LyXFunc::Dispatch if it contains a
15604 do_not_use_argument which is used!
15605 (Dispatch): added check for "custom" export and call appropriate func.
15607 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15609 * lyxrc.C: Add language_command_local, language_use_babel and
15610 language_global_options.
15612 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15614 * buffer.C (makeLaTeXFile): Use language_use_babel and
15615 language_global_options.
15617 2001-02-23 Juergen Vigna <jug@sad.it>
15619 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15620 which works with LyXText and putted it inside BufferView. Here now we
15621 only call for that part the BufferView::Dispatch() function.
15623 * BufferView.C (Dispatch): added.
15625 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15626 functions which needs to use a LyXText over from LyXFunc.
15627 (MenuInsertLyXFile): added
15628 (getInsetByCode): added
15629 (moveCursorUpdate): added
15630 (static TEXT): added
15632 2001-02-22 Juergen Vigna <jug@sad.it>
15634 * BufferView_pimpl.C (update): call a status update to see if LyXText
15637 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15639 * vc-backend.C (revert): implement for CVS
15640 (getLog): implement for CVS
15642 2001-02-20 Juergen Vigna <jug@sad.it>
15644 * text2.C (ClearSelection): added BufferView param for inset_owner call
15646 * lyxfunc.C (TEXT): added this function and use it instead of
15647 directly owner->view()-text of getLyXText().
15649 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15651 * src/layout_forms.C: out preamble
15652 * src/layout_forms.h: out preamble
15653 * src/lyx_cb.C: out preamble
15654 * src/lyx_cb.h: out preamble
15655 * src/lyx_gui.C: out preamble
15656 * src/lyx_gui_misc.C: out preamble
15657 * src/lyxfunc.C: connect with guii preamble
15659 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15661 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15663 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15665 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15666 whether to run bibtex.
15668 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15670 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15672 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15674 * Makefile.am (lyx_SOURCES): removed bibforms.h
15676 * vspace.h: doxygen
15678 * text.C (GetVisibleRow): make several local vars const
15680 * tabular.C: small cleanup.
15682 * lyxserver.C (callback): use compare instead of strncmp
15684 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15685 inlines to after class or to paragraph.C
15687 * lyxfont.h: remove friend operator!=
15689 * converter.h: move friend bool operator< to non friend and after
15692 * combox.h: small cleanup
15694 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15695 to inlines after class def.
15697 * buffer.C (pop_tag): use string operations instead of strcmp
15699 * bmtable.c: doxygen, small cleanup
15701 * LaTeX.h: remove friend operator==
15703 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15715 * BufferView_pimpl.C:
15716 * BufferView.[Ch]: remove cruft
15718 2001-02-14 Juergen Vigna <jug@sad.it>
15720 * lyxfunc.C: removed #if 0 unused code
15722 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15724 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15726 * text2.C (SetSelection): added a BufferView * parameter
15728 2001-02-13 Juergen Vigna <jug@sad.it>
15730 * lyxfunc.C (Dispatch): fixed protected blank problem.
15731 * BufferView2.C (protectedBlank): added LyxText * parameter.
15733 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15734 (AppendColumn): same as above for column_info.
15736 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15737 (moveCursorUpdate): use a LyXText param for support of InsetText.
15739 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15740 (tripleClick): ditto
15742 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15744 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15746 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15748 * text2.C (SetSelection): set correct update status if inset_owner
15749 (ToggleFree): ditto
15751 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15753 * tabular.C: remove some commented code.
15755 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15757 * BufferView_pimpl.C: call hideSplash()
15759 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15762 * bibforms.h: remove
15765 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15766 add LFUN_CHILD_CREATE
15768 * counters.h: fix tiny typo
15773 * lyx.C: move splash to frontends/xforms/
15775 * lyx_gui_misc.C: move Include and Bibform to frontends
15777 * lyxvc.h: clarify comment
15779 * vspace.C: tiny housekeeping
15781 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15783 * text.C (PrepareToPrint): RTL Fix.
15785 * paragraph.C (GetUChar): New method.
15786 (String): Use GetUChar.
15788 * buffer.C (asciiParagraph): Use GetUChar.
15790 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15792 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15794 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15797 * buffer.C: rename to getLogName(), handle
15798 build log / latex log nicely
15800 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15803 * MenuBackend.h: remove support for reference menuitem type.
15805 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15807 * BufferView_pimpl.C: housekeeping
15808 * BufferView_pimpl.h:
15813 * minibuffer.h: move Timeout GUI-I
15815 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15817 * lyxrc.C (read): Update converters data-structures.
15819 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15821 * LaTeX.h (operator!=): add operator != for Aux_Info
15823 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15825 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15827 * LaTeXLog.C: deleted, useful code moved to Buffer
15830 * buffer.C: new function getLatexLogName()
15836 * lyxfunc.C: use frontends for LaTeX and VC logs
15838 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15840 * LaTeX.h: yet another std:: that Allan forgot.
15842 * Variables.C (set): renamed from isset(), because this clashes
15843 with some HP-UX macros (grr).
15845 2001-02-06 Allan Rae <rae@lyx.org>
15847 * LaTeX.h: Another bug fix. Missing std:: this time.
15849 2001-02-04 Allan Rae <rae@lyx.org>
15851 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15852 floats problem. I've left it commented out because it's not quite
15853 correct. It should also test that the current object is a table or
15854 figure inset. But I haven't gotten around to figuring out how to do
15855 that. I *think* it'll be something like: "table" == inset.type()
15857 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15860 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15862 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15863 all the citation/databases/styles in the auxilary file.
15864 (run): Rerun latex if there was a babel language error.
15866 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15868 * text.C (Backspace): Preserve the font when changing newline char
15870 (BreakParagraph): If the cursor is before a space, delete the space.
15872 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15874 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15876 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15877 new argument (code).
15878 (ChangeCitationsIfUnique): New method.
15880 * paragraph.C (GetPositionOfInset): Handle bibkey.
15882 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * BufferView_pimpl.h: change type of Position::par_pos to
15885 LyXParagraph::size_type.
15887 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15889 * BufferView_pimpl.C (savePosition, restorePosition): Write
15890 messages to minibuffer.
15892 2001-01-28 José Matos <jamatos@fep.up.pt>
15894 * buffer.C (makeDocBookFile): adds support for document language.
15895 A silly restriction on the name of LatexCommand types where removed.
15896 Added support for CDATA sections, allows to chars unescaped, used
15897 among others in code, to avoid escape < and >.
15899 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15901 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15902 saved positions instrad of a stack. Furthermore, a position is
15903 stored using paragraph id/paragraph position.
15905 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15906 Remove LFUN_REF_BACK.
15908 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15910 * converter.C (dvipdfm_options): New method.
15912 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15914 * vspace.C (isValidLength): Fix for empty input string.
15916 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15918 * LyXAction.C (init): change description of LFUN_FIGURE to
15921 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15923 * LaTeX.C: add using directive
15925 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15927 * MenuBackend.C (expand): Fix the sorting of the formats.
15929 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15931 * lyx_main.C: tiny error message fix
15933 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15935 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15936 calling fl_initialize(). This fixes the problem with ',' as
15937 decimal separator in text files.
15939 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15941 * trans.C (process): Fix the keymap bug.
15943 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15945 * LaTeX.C (scanAuxFiles): New method. Provides support for
15946 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15947 (scanLogFile) Scan for "run BibTeX" messages.
15949 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15950 OT1 font encoding. Also, load the aecompl package if the ae
15953 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15955 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * texrow.C (increasePos): turn two error messages into debug
15960 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15962 * LaTeX.C (scanAux): Handle the \@input macro.
15963 (runBibTeX): Use scanAux().
15965 * language.C (latex_options_): New field.
15967 * LaTeXFeatures.C (getMacros): Add language macros.
15969 * buffer.C (makeLaTeXFile): Small fix.
15971 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15975 * text2.C: add a using directive.
15977 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15982 * lyxfunc.C: kill LyXBell.
15984 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15986 * text.C (IsBoundary): Remove the error message
15988 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15990 * lyxrc.C (setDefaults): Correct initialization value for
15993 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15995 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15998 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15999 and GotoNextNote().
16001 * src/LyXAction.C: Added reference-next.
16003 * text.C (InsertChar): Use contains instead of strchr.
16005 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16007 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16009 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16010 alignment commands (when needed).
16012 * text.C (InsertChar): Add ':' to number separator chars.