1 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
5 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
6 (BOOST_LIBS): use top_buildir when looking for the file
8 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
10 * pch.h: do not use include boost/format.hpp, multiple symbols
14 2004-08-23 José Matos <jamatos@lyx.org>
16 * bufferparams.C (readToken): fix reading of the author field.
18 2004-08-20 José Matos <jamatos@lyx.org>
20 * lyxrc.C: remove support/translator.h inclusion since it is not used.
22 2004-08-20 José Matos <jamatos@lyx.org>
24 * lyxlex.[Ch] (findToken): remove function.
26 * ParagraphParameters.C (findToken):
27 * bufferparams.C (findToken): replace call for previous function
28 with local copy. This local function has one more argument, the
31 2004-08-16 José Matos <jamatos@lyx.org>
33 * ParagraphParameters.C (write):
34 * Spacing.C (writeFile):
35 * bufferparams.C (writeLaTeX):
36 * lyx_cb.C (Reconfigure):
37 * paragraph.C (write):
38 * tabular.C (write): remove unnecessary space at end of line.
41 2004-08-16 José Matos <jamatos@lyx.org>
43 * text.C (readParagraph): remove debug message.
45 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
50 * output_plaintext.C (asciiParagraph): set depth correctly
52 * outputparams.h: add member depth
54 * paragraph_funcs.C (ownerPar): remove.
56 * text2.C (setCounter): remove first_pit; comment out some
57 non-working code that uses ownerPar
59 * BufferView.C (getParentLanguage): remove. Not used anymore, and
62 2004-08-16 José Matos <jamatos@lyx.org>
64 * text.C (readParToken, readParagraph, read): report all unknown tokens.
65 For the same level of importance use the same chanel to report problems.
66 (read): add code to deal with \begin_body and \end_body.
69 2004-08-15 José Matos <jamatos@lyx.org>
71 * lyxlex.C (getString): fix comment, buffer::readBody is now
74 * tex-strings.C (string_papersize): Default -> default,
75 Custom -> custom, for consistency with other options.
77 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
81 * Makefile.am: support pch
83 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * text.C (readParToken): remove the static LyXFont variable and
86 pass it as a parameter instead. This fixes a nasty bug where an
87 inset will be inserted with a bad font in some situations
88 (readParagraph): adapt
90 * text2.C (setCounter): reduce number of calls to pars_[pit]
92 * text.C (singleWidth): add an assert, fix a test
94 * rowpainter.C (paintText): reduce number of calls to singleWidth
96 * paragraph.C (isHfill):
99 2004-08-14 André Pönitz <poenitz@gmx.net>
104 * lyxtext.h (several functions): use a Paragraph & argument
107 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * metricsinfo.h: add a new field ltr_pos to PainterInfo
111 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
113 * text.C (singleWidth): remove useless test
115 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * tabular.h: remove bogus comments
119 * tabular.C (getDescentOfRow):
120 (isPartOfMultiColumn): add assertions
122 * lyxlength.C (inPixels): remove #warning
124 2004-08-14 André Pönitz <poenitz@gmx.net>
126 * paragraph.h: inline getChar()
128 * BufferView.h: remove unused declarations
130 2004-08-14 José Matos <jamatos@lyx.org>
132 * Buffer.[Ch] (readDocument): new name for old readBody.
133 * Buffer.C: new file format, new keywords: \begin_document,
134 \begin_header, \begin_body, \end_body.
136 * bufferparams.C (readToken): replace all calls to lex.nextToken
137 by lex.next(). Do the same to eatLine except where really needed.
139 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
140 line when writing to the lyx file.
142 * output_plaintext.C (asciiParagraph): fix Bibliography style
145 * text.C (read): fix end of file handling.
147 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * MenuBackend.C (Menu::operator[]): new method to access
150 individual menu items
151 (Menu::hasFunc): new method. search for an item that corresponds
153 (MenuBackend::specialMenu): new method
154 (MenuBackend::expand): if a special menu has been set, skip
155 entries whose func() appears in this menu
157 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
159 * text3.C: use Debug::DEBUG a bit more
161 * text.C (leftMargin): try to simplify a tiny bit change var x to
162 l_margin. Dont output the wide margins always.
163 (rightMargin): no margin in inner texts
165 * rowpainter.h (nestMargin): new func
166 (changebarMargin): new func
167 (rightMargin): new func
169 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
173 * factory.C (createInset): modify setDrawFrame
175 * cursor.C: use Debug::DEBUG a bit more
177 2004-08-14 André Pönitz <poenitz@gmx.net>
180 * Makefile.am: new files to accomodate an 'external' (x,y)-position
181 cache for all insets in (at least partially) visible (top-level)
184 * BufferView_pimpl.C: reset external coord cache before every update.
185 This means the coord cache only contains valid entries.
187 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
190 * BufferView_pimpl.C (getInsetByCode): move function out of class
191 and change in to a template in anon namespace. Also fix to do what
194 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
197 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
199 (breakParagraph): rename par to par_offset and use a local
200 reference. Add code to keep the language over a rebreak.
201 (breakParagraphConservative): rename par to par_offset, use a
203 (mergeParagraph): ditto
205 (isFirstInSequence): ditto
206 (outerFont): rename pit to par_offset
208 * paragraph.C: ws change
213 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
218 * paragraph.C (simpleTeXOnePar): when we have a \item with
219 optional argument, enclose the argument with curly brackets (in
220 case it contains a closing square bracket)
224 * text3.C (checkInsetHit): constify
226 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
231 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 Fix toggling of collapsable insets with the mouse (bug 1558)
235 * lyxfunc.C (dispatch): adapt to LCursor changes
237 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
238 make sure that dispatch is not invoked twice
240 * cursor.C (needsUpdate): new method
241 (dispatch): return void
242 (result): new method, to access the DispatchResult of the cursor.
244 2004-08-13 José Matos <jamatos@lyx.org>
246 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
248 2004-08-13 André Pönitz <poenitz@gmx.net>
250 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
252 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
255 2004-08-12 André Pönitz <poenitz@gmx.net>
257 * text3.C: take out the 'cursor right' form insertInset and only
258 do it in those places when it is really needed. Fixes crash on
261 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
265 * BufferView_pimpl.C (setBuffer): initialize the current font of
266 the underlying LyXText
268 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * kbsequence.C (print): use UI native formatting for menu
273 * text.C (insertChar): call Paragraph::insertChar with a font
276 * paragraph.C (insertInset, insertChar): the version that takes a
277 LyXFont argument is now a wrapper around the other one (the
278 opposite used to be true).
280 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
281 argument. Font setting is done in Paragraph now.
283 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * outputparams.h: add new members intitle and lang.
287 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
288 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
290 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
292 * text3.C (dispatch): remove special handling of button 4 and 5,
293 it is now taken care of in the frontend code.
295 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
297 * Spacing.h: add <string> (STLPort compile fix)
299 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
301 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
303 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
305 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
308 * converter.C (showMessage): inherit from unary_function, make
311 * buffer.C (writeFile): initialize retval
313 * InsetList.h: rename private variable list to list_
314 * InsetList.[Ch]: adjust accordingly.
316 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
318 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
319 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
320 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
321 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
322 * ParagraphParameters.C, LaTeXFeatures.C: replace
323 "support/std_sstream.h" with <sstream>
325 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
327 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
328 * lyxsocket.C (LyXServerSocket): ditto
329 (serverCallback): ditto
331 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
333 * LaTeXFeatures.C: check release date when loading jurabib.
335 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
337 * lyxserver.C (startPipe): call register_socket_callback
338 (endPipe): call unregister_socket_callback
340 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
342 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
343 (LyXServerSocket): register the callback
344 (LyXServerSocket): unregister the callback
345 (fd): delete function
346 (serverCallback): improve error checking and setup the callbacks.
347 (dataCallback): change arg to fd.
348 (writeln): new func (copied fro the client socket) used for server
350 (LyXDataSocket): simplify
351 (~LyXDataSocket): close ann unregiser callback
352 (server): delete function
353 (fd): delete function
354 (readln): small changes, improve some std::string usage
355 (writeln): constify a bit
357 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
362 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * BufferView_pimpl.C (setBuffer): set the layout combox value only
365 after it has been populated
367 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * text2.C (insertInset): move cursor when inserting inset.
371 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * kbmap.C (findbindings): a couple of new methods. returns a
374 container of kb_sequence objects. The real work is done by the
375 private recursive version
376 (printbindings): uses findbindings to print out a bracketed list
377 of bindings (renamed from findbinding).
379 * MenuBackend.C (binding): use kb_keymap::findbindings
381 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
383 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
385 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
387 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * paragraph.C (isWord): return true on insets that report
392 * text.C (getWord): use Paragraph::isWord to decide what is in a
393 word and what is not; fix bug 1609.
395 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
397 * tex-strings.C: add "none" to string_paperpackages[], fixes
398 off-by-one-error in the paperpackage selection.
401 * tex-strings.[Ch]: char const * string[n]
402 -> char const * const string[]
404 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
407 command, return early.
409 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * debug.h: add DEBUG to enum and fix size of ANY.
413 * debug.C: add support for Debug::DEBUG
414 (showTags): cast errorTags.level to unsigned int
416 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
417 (redoCurrentBuffer): ditto
418 (updateScrollbar): ditto
419 * cursor.C (dispatch): ditto
420 * text2.C (setLayout): ditto
422 (updateCounters): ditto
424 (deleteEmptyParagraphMechanism): ditto
426 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
428 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
429 annotations to cleanup the Makefile slightly.
431 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * lyxrc.C: do not set user_email to a default value but use empty
434 instead. The entry used to be translated, which does not work
435 since at the point where lyxrc is constructed there is no
436 translation service available
438 * messages.C (getLocaleDir): remove and use directly
439 lyx_localedir() instead
441 2004-06-02 Angus Leeming <leeming@lyx.org>
443 Fix crash caused by dereferencing null pointer 'exportdata' in
444 OutputParams by creating a new ExportData variable on the heap,
445 storing it in a boost::shared_ptr.
446 The crash was triggered when generating an Instant Preview
447 of an external inset.
449 * Makefile.am: add outputparams.C
451 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
452 (c-tor): allocate memory to it.
454 * exporter.C (c-tor): associated changes.
456 2004-06-01 Angus Leeming <leeming@lyx.org>
458 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
459 contains data before calling isInset(0). (Bug 1513.)
461 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
463 * exporter.C (checkOverwrite): new method
464 * exporter.C (copyFile): new method
465 * exporter.C (Export): copy referenced files to the document dir
466 * exporter.[Ch]: new class ExportedFile
467 * exporter.[Ch]: new class ExportData. Contains currently the
468 names of referenced external files
469 * outputparams.h: add exportdata member.
471 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
473 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
476 2004-05-19 Angus Leeming <leeming@lyx.org>
481 * lyxfunc.C: small changes due to the introduction of namespace
482 lyx::frontend and the moving of namespace biblio to lyx::biblio.
484 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
486 * text3.C (dispatch): supress update when only moving the cursor
487 * cursor.C (selHandle): remove commented code
489 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
491 * paragraph.C (startTeXParParams): correct column count
492 * CutAndPaste.C (pasteSelection): remove const_cast
493 * output_docbook.C (docbookParagraphs): remove const_cast
494 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
495 const_cast and return ParagraphList::const_iterator
496 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
497 * output_plaintext.C (writeFileAscii): remove const_cast
498 * paragraph.[Ch] (simpleTeXOnePar): make const
499 * paragraph_funcs.C (outerPar): use const iterators
500 * paragraph_pimpl.C (validate): use const iterators
501 * text.C (setHeightOfRow): use const iterators
503 2004-05-17 Angus Leeming <leeming@lyx.org>
506 * LyXAction.C (init): new LFUN_INSET_REFRESH.
508 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
509 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
510 if the citation engine has changed.
512 2004-05-14 José Matos <jamatos@lyx.org>
514 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
515 if the textclass does not provide it. Have it different for sgml and
517 support the language of document.
518 * output_docbook.C (docbookParagraphs):
519 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
520 first anchor as the id of the paragraph, remove special case code.
521 * sgml.C (escapeChar): escape only < & >.
523 2004-05-14 Angus Leeming <leeming@lyx.org>
525 * bufferparams.h: move biblio::CiteEngine enum here to minimize
526 dependencies on src/frontends/controllers/biblio.h. Define a
527 CiteEngine_enum wrapper class to enable the enum to be forward
530 2004-05-12 Angus Leeming <leeming@lyx.org>
532 * buffer.C: up LYX_FORMAT to 234.
533 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
534 use_numerical_citations with a single biblio::CiteEngine cite_engine
536 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
538 2004-05-13 José Matos <jamatos@lyx.org>
541 * converter.C (Converter, readFlags): add xml member.
542 * outputparams.h: add XML flavor.
543 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
545 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * lyxfunc.C (dispatch):
548 (getStatus): fix handling of LFUN_SEQUENCE
550 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * debug.C (showLevel): do not forget the end-of-line marker
554 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
556 * kbmap.C (read): do not stop parsing a bind file when an error
559 2004-04-29 Angus Leeming <leeming@lyx.org>
564 * text2.C: wrap a bunch of #warning statements
565 inside #ifdef WITH_WARNINGS blocks.
567 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
569 * buffer.C: increment format to 233.
571 2004-04-28 Angus Leeming <leeming@lyx.org>
573 * BufferView_pimpl.C:
576 s/updateToolbar()/updateToolbars()/
577 s/Toolbar.h/Toolbars.h/
579 2004-04-28 Angus Leeming <leeming@lyx.org>
581 * BufferView.[Ch] (c-tor):
582 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
583 No longer passes these data to the WorkArea generator.
585 2004-04-28 Angus Leeming <leeming@lyx.org>
587 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
589 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
593 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * output_latex.C (TeXEnvironment): make sure that there is a line
596 break before \end{foo} for the last paragraph of a document
597 (TeXOnePar): if the paragraph is at the end of the document (or
598 inset) and the language has to be reset, then make sure that the
599 line break is _before_ the language command, not after (fixes bug
600 1225); also make sure that the language reset command is the first
601 thing after the paragraph (to ensure proper nesting of
602 environments and thus fix bug 1404)
604 2004-04-21 John Levon <levon@movementarian.org>
607 * ToolbarBackend.C: make "name" be a programmatic name
608 and a gui_name field.
610 * lyxfunc.C: display the minibuffer on M-x
612 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
617 2004-04-19 Angus Leeming <leeming@lyx.org>
619 * BufferView_pimpl.C (setBuffer): changed preview interface.
621 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
624 2004-04-19 John Levon <levon@movementarian.org>
626 * BufferView_pimpl.C:
627 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
629 2004-04-05 Angus Leeming <leeming@lyx.org>
631 * text.C (redoParagraphs): add call to updateCounters(), thereby
632 fixing the missing "Figure #:" label from the caption of a
635 2004-04-13 Angus Leeming <leeming@lyx.org>
637 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
638 cursor is clicked out of an inset.
640 2004-04-13 Angus Leeming <leeming@lyx.org>
642 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
643 than an InsetOld one.
645 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
647 * format.[Ch]: add editor to Format
648 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
649 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
651 2004-04-08 André Pönitz <poenitz@gmx.net>
653 * metricsinfo.h: remove PainterInfo::width member
655 2004-04-08 Angus Leeming <leeming@lyx.org>
657 * lyx_sty.C (boldsymbol_def): modify so that it outputs
658 "\providecommand" rather than "\newcommand", thereby preventing
659 clashes with packages that define "\boldsymbol" themselves.
662 2004-04-08 Angus Leeming <leeming@lyx.org>
664 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
665 thereby squashing an unnecessary warning.
667 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
669 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
672 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
674 * BufferView.C (setCursor): call redoParagraph (some insets could
676 (putSelectionAt): remove the 'double update' trick
678 * BufferView_pimpl.C (fitCursor): call refreshPar
679 (workAreaDispatch): remove an uneeded update call
680 (dispatch): remove some manual update calls
682 * cursor.[Ch]: remove cached_y_, updatePos
683 (selHandle): set noUpdate when appropriate
685 * lyxfunc.C (dispatch): track if we need an update
687 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
689 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
690 (paintSelection): cheap optimization, do not call cursorX when not
692 (paintPars): change signature
695 (paintTextInset): adjust
699 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * lengthcommon.C: compilation fix: remove explicit array size from
702 unit_name[] and friends
704 2004-04-05 Angus Leeming <leeming@lyx.org>
706 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
708 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
709 present only for the preferences dialog.
710 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
712 2004-04-05 Angus Leeming <leeming@lyx.org>
714 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
715 to enable the frontends to export changes to lyxrc correctly.
717 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
719 2004-04-07 André Pönitz <poenitz@gmx.net>
721 * cursor.[Ch] (selClear, adjust): remove math
723 * cursor_slice.C: more agressive assert
726 * BufferView_pimpl.C: rework mouse event dispatch
733 2004-04-05 André Pönitz <poenitz@gmx.net>
735 * cursor.[Ch] (valign, halign...): remove unneeded functions
737 2004-04-05 Angus Leeming <leeming@lyx.org>
739 * lyxlength.[Ch] (unit_name et al.): const-correct.
741 2004-04-05 Angus Leeming <leeming@lyx.org>
743 * BufferView_pimpl.C:
752 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
754 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
756 * text3.C (getStatus): add LFUN_BEGINNINGBUF
758 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
760 * lyxfind.C: add a couple of inTexted() tests + other small fixes
761 * BufferView_pimpl.[Ch] (getStatus)
762 * BufferView.[Ch] (getStatus): add
763 * lyxfunc.C (getStatus): move lfuns handled in
764 BufferView::dispatch to te function above
765 * Cursor.C (setSelection): set selection() = true
767 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
769 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
771 2004-03-31 Angus Leeming <leeming@lyx.org>
773 * lyxfunc.C (dispatch): Fall through to the generic
774 Dialogs::show("preamble").
776 2004-03-31 Angus Leeming <leeming@lyx.org>
778 * lyxfunc.C (dispatch): Fall through to the generic
779 Dialogs::show("spellchecker").
781 2004-03-31 Angus Leeming <leeming@lyx.org>
783 * lyxfunc.C (getStatus, dispatch): changed invocation of the
786 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
791 * insetiterator.[Ch]:
796 * undo.[Ch]: s/DocumentIterator/DocIterator/g
798 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
800 * BufferView.C (setCursor, putSelectionAt): call edit to open the
801 insets where we are putting the cursor.
803 2004-03-31 Angus Leeming <leeming@lyx.org>
806 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
808 * lyxrc.[Ch] (read, write): overloaded member functions taking
809 a std::[io]stream arguments.
811 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
813 2004-03-31 Angus Leeming <leeming@lyx.org>
815 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
816 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
818 * lyxtextclass.C (load): if the text class couldn't be loaded, then
819 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
821 2004-03-31 Angus Leeming <leeming@lyx.org>
823 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
824 the LFUN_ALL_INSETS_TOGGLE code.
826 2004-03-30 Angus Leeming <leeming@lyx.org>
828 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
829 has died. Fall through to the generic Dialogs::show("document").
831 2004-03-30 Angus Leeming <leeming@lyx.org>
834 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
835 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
837 * lyxfunc.C (getStatus, dispatch): define the actions for these
838 lfuns. Little more than a cut and pste job from ControlDocument.C
840 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
842 2004-03-30 Angus Leeming <leeming@lyx.org>
845 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
846 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
848 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
849 open/closed state of ollapsable insets. Usage:
851 all-inset-toggle <state> <name>, where
852 <state> == "open" || "closed" || "toggle" and
853 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
855 * lyxtext.h, text2.C (toggleInset): removed.
857 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
858 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
859 now passes LFUN_INSET_TOGGLE to the found inset.
861 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
862 is now invoked as "all-insets-toggle toggle branch".
864 2004-03-30 Angus Leeming <leeming@lyx.org>
868 * pariterator.[Ch]: added/corrected header blurb.
870 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
872 * dociterator.[Ch]: add an inset_ member
873 (backwardPos): implemented
874 (backwardPos, forwardPos): use inset_ when the stack is empty.
875 (doc_iterator_begin, doc_iterator_end): implemented
876 * pariterator.[Ch]: adjust, add begin, end
877 * insetiterator.[Ch]: adjust, add begin, end
881 * BufferView_pimpl.C:
882 * CutAndPaste.C: adjust
884 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
886 * buffer.C: increment file format to 232.
887 * LaTeXFeatures.C: add bibtopic package.
888 * bufferparams.[Ch]: param \use_bibtopic.
890 * lyxrc.[Ch]: add lyxrc bibtex_command
891 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
893 * buffer.C: increment file format to 231.
895 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
897 * dociterator.C: implement forwardPar
898 * iterators.[Ch]: remove, replaced by
899 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
901 * BufferView_pimpl.C:
904 * bufferview_funcs.C:
910 * Makefile.am: adjust
912 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
914 * CutAndPaste.C (pasteSelection): fix 2 crashes
915 (eraseSelection): fix a crash
916 * paragraph_funcs.C: remove a warning
918 2004-03-28 Angus Leeming <leeming@lyx.org>
921 * LyXAction.C (init): new LFUN_PRINT.
923 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
925 2004-03-27 Angus Leeming <leeming@lyx.org>
928 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
930 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
932 2004-03-27 Angus Leeming <leeming@lyx.org>
934 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
935 insetlist always contains non-null pointers to insets.
937 2004-03-26 Angus Leeming <leeming@lyx.org>
939 * src/BufferView_pimpl.C:
943 * src/output_plaintext.C:
944 * src/outputparams.h:
945 * src/paragraph_funcs.C:
949 * src/frontends/controllers/ControlErrorList.C:
950 * src/frontends/gtk/FileDialogPrivate.C:
951 * src/frontends/gtk/GPainter.C:
952 * src/frontends/gtk/GToolbar.C:
953 * src/frontends/qt2/QRef.C:
954 * src/mathed/math_scriptinset.C: squash compiler warnings.
956 2004-03-26 Angus Leeming <leeming@lyx.org>
958 * ispell.C (LaunchIspell::start):
959 * lyx_cb.C (AutoSaveBuffer::start):
960 invoke run(DontWait) rather than runNonBlocking().
962 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
964 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
966 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * kbsequence.C (print): adjust
970 * kbmap.C (printKeySym): rename and change signature
971 (printKey): use LyXKeySym::print()
973 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
975 * undo.C: add using std::advance to compile for stlport
977 2004-03-24 Angus Leeming <leeming@lyx.org>
979 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
980 it leads to a crash when no buffer is present.
982 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 Martin Vermeer <martin.vermeer@hut.fi>
985 * lyxfunc.C (dispatch):
986 * bufferparams.C (readToken): use the new LColor::setColor
988 * LColor.[Ch] (setColor): new version that takes two strings as
989 argument and creates a new color entry if necessary
991 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
993 * buffer.C (makeLaTeXFile): if the main latex file that is
994 processed is usually a subdocument of some master, then pretend
995 for a while that it is actually the master
997 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
999 * buffer.C (getLabelList):
1000 (getBibkeyList): use getMasterBuffer()
1001 (getMasterBuffer): new method. Returns the main document in the
1002 case where one is using included documents.
1004 2004-03-25 André Pönitz <poenitz@gmx.net>
1008 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1010 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1012 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1013 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1015 * ParameterStruct.h: merge with ParagraphParameters
1017 * lyxtext.h: remove LyXText::parOffset() and getPar()
1019 * text3.C: Remove all 'manual' update calls. We do now one per user
1020 interaction which is completely sufficient.
1024 * BufferView_pimpl.C:
1025 * FontIterator.[Ch]:
1027 * ParagraphParameters.[Ch]:
1032 * cursor_slice.[Ch]:
1039 * output_docbook.[Ch]:
1040 * output_latex.[Ch]:
1041 * output_linuxdoc.[Ch]:
1042 * output_plaintext.[Ch]:
1044 * paragraph_funcs.[Ch]:
1045 * paragraph_pimpl.[Ch]:
1053 * frontends/controllers/ControlDocument.C:
1054 * frontends/controllers/ControlErrorList.C:
1055 * frontends/controllers/ControlSpellchecker.C:
1058 * insets/insetbase.h:
1059 * insets/insetbibitem.C:
1060 * insets/insetbox.C:
1061 * insets/insetbranch.C:
1062 * insets/insetcaption.C:
1063 * insets/insetcharstyle.C:
1064 * insets/insetcharstyle.h:
1065 * insets/insetcollapsable.C:
1066 * insets/insetcollapsable.h:
1067 * insets/insetert.C:
1068 * insets/insetfloat.C:
1069 * insets/insetfoot.C:
1070 * insets/insetmarginal.C:
1071 * insets/insetnote.C:
1072 * insets/insetoptarg.C:
1073 * insets/insettabular.C:
1074 * insets/insettext.C:
1075 * insets/insettext.h:
1076 * insets/insetwrap.C:
1077 * mathed/math_mboxinset.C:
1078 * mathed/math_nestinset.C:
1079 * mathed/math_scriptinset.C:
1080 * mathed/math_scriptinset.h:
1083 2004-03-24 Angus Leeming <leeming@lyx.org>
1085 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1086 deal with any child processes that have finished but are waiting to
1087 communicate this fact to the rest of LyX.
1089 2004-03-24 Angus Leeming <leeming@lyx.org>
1091 64-bit compile fixes.
1093 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1094 (c-tor): pass lyx::pos_types rather than ints.
1096 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1099 * text.C (Delete): compile fix.
1100 (getPar): ensure that function declaration is the same as that in
1103 2004-03-23 Angus Leeming <leeming@lyx.org>
1105 * ispell.C (LaunchIspell):
1106 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1107 a boost::shred_ptr rather than a std::auto_ptr.
1109 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1112 handle LFUN_FILE_INSERT_*
1114 * lyxrc.C (setDefaults, getDescription, output, read):
1115 * lyxrc.h: remove ps_command
1117 2004-03-22 Angus Leeming <leeming@lyx.org>
1119 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1120 Ensure that error_handler is processed once only and that all data
1121 is saved before attempting to output any warning messages.
1123 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1125 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1127 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1129 2004-03-19 André Pönitz <poenitz@gmx.net>
1131 * cursor.[Ch] (reset): take main text inset as argument
1133 * BufferView: adjust
1134 * BufferView_pimpl.C: adjust
1136 * paragraph.[Ch]: fix completely broken operator=()
1138 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1140 * LColor.C (getFromLyXName): make sure that the color name is used
1143 2004-03-17 Angus Leeming <leeming@lyx.org>
1146 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1148 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1149 dialog and to kill a forked process.
1151 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1153 * text2.C (setCursorFromCoordinates): fix font problem
1155 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1157 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1158 bogus "rebuild cursor" code
1160 2004-03-11 André Pönitz <poenitz@gmx.net>
1162 * buffer.[Ch]: use InsetText instead of LyXText as container for
1165 * dociterator.[Ch]: drop the BufferView * member which is not needed
1166 anymore after the change to buffer.C
1168 * paragraph_funcs.C:
1172 * BufferView_pimpl.[Ch]:
1174 * cursor_slice.[Ch]: adjust
1176 * text3.C: fix bug in mathDispatch
1178 2004-03-08 André Pönitz <poenitz@gmx.net>
1180 * undo.[Ch]: use 'StableDocumentIterator' as base for
1183 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1186 * bufferparams.[Ch]: add jurabib support and param.
1188 * LaTeX.C: add FIXME/comment.
1190 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1192 * buffer.C: increment file format to 230.
1194 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1196 * cursor.C (dispatch): avoid infinite loops
1198 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1200 * rowpainter.C (paintSelection): fix x coordinates
1202 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1204 * text.C (rowBreakPoint): fix breaking before displayed insets
1206 2004-03-01 André Pönitz <poenitz@gmx.net>
1208 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1210 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1214 * BufferView_pimpl.C:
1222 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1228 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1229 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1231 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1233 * Bidi.[Ch] (computeTables): const correctness
1234 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1235 fill_hfill, fill_label_hfill and x from Row
1236 * lyxtext.h: prepareToPrint returns a RowMetrics
1237 * rowPainter.C: adjust
1238 * text.C (prepareToPrint): use width, not textWidth. adjust
1239 (redoParagraphInternal, cursorX): adjust
1240 * text2.C (getColumnNearX): adjust
1241 (init): put a default value to the top LyXText::width
1243 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1245 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1247 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1249 * lyxtext.h: add FontIterator class
1251 * text.C (FontIterator, operator*, operator->, operator++): add
1252 (rowBreakPoint, setRowWidth): adjust (fixing a
1255 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * BufferView_pimpl.C (workAreaDispatch): allow also
1258 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1260 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1262 * text.C (rowBreakPoint): fix a bug showing with very large insets
1264 2004-02-25 André Pönitz <poenitz@gmx.net>
1267 * cursor.[Ch]: move some mathed specific code to mathed
1269 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1271 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1272 use_tempdir in preferences
1273 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1275 * lyx_main.C: ensure that tempdir is valid
1276 * lyxlex.h: correct typo
1277 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1278 * paragraph.[Ch] (isMultiLingual): make const
1279 * cursor.[Ch] (openable): make const
1281 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1285 2004-02-20 André Pönitz <poenitz@gmx.net>
1287 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1289 * cursor.[Ch]: prepare for localized getStatus()
1295 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1297 2004-02-20 André Pönitz <poenitz@gmx.net>
1299 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1301 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1303 * text2.C (setCursorFromCoordinates): switch to absolute coords
1305 (cursorDown): adjust
1306 * text3.C (dispatch): adjust
1308 2004-02-16 André Pönitz <poenitz@gmx.net>
1310 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1313 * cursor_slice.[Ch]: remove unneeded acessor function
1315 * lyxtext.h: rename rtl() to isRTL()
1323 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1325 * rowpainter.C (paintSelection): coord fix
1327 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1329 * Spacing.C: compile fix
1331 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1333 * cursor.C (dispatch): restore current_ before returning
1335 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1337 * text2.C (cursorUp, cursorDown): fix coords
1340 2004-02-12 André Pönitz <poenitz@gmx.net>
1345 * text3.C: add LCursor & parameter to most cursor movement functions
1346 remove usage of LyXText::cursorRow() and cursorPar()
1348 * cursor.[Ch]: add textRow() needed members
1351 * BufferView_pimpl.C:
1354 * BufferView_pimpl.C: adjust
1356 2004-02-11 André Pönitz <poenitz@gmx.net>
1360 * BufferView_pimpl.C: shift undo/redo handling
1362 * cursor.[Ch]: fix mathed crash
1365 * lyxtext.h: move selectionAsText to LCursor
1373 * rowpainter.C: fix excessive drawing
1375 2004-02-06 André Pönitz <poenitz@gmx.net>
1378 * BufferView_pimpl.[Ch]:
1379 * text3.C: move some text specific LFUN handling
1381 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1383 * text3.C (checkInsetHit): adjust coords
1384 * text2.C (getColumnNearX): adjust coords
1385 (edit): adjust coords
1386 * text.C (getRowNearY): add two asserts
1388 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1391 * format.C: add using std::distance to compile on gcc 2.95/stlport
1393 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1395 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1397 2004-02-04 André Pönitz <poenitz@gmx.net>
1399 * BufferView.[Ch] (insertInset):
1400 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1405 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1407 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1408 on the default clause of the switch
1409 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1410 wasn't catched by LCursor::dispatch
1412 2004-02-03 André Pönitz <poenitz@gmx.net>
1415 * cursor.[Ch]: some additional asserts
1417 * undo.[Ch]: remove LyXText dependency in interface
1421 * lyxtext.h (firstPar, lastPar): remove dead functions
1426 * paragraph.[Ch]: adjust
1428 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1430 * lyxfind.C (find): fix argument order in call to ::find
1432 2004-02-02 André Pönitz <poenitz@gmx.net>
1434 * cursor.[Ch]: remove direct access to anchor
1436 * text.C: remove findText() hack
1438 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1440 * iterators.[Ch] (lockPath): remove in favour of...
1441 * BufferView.[Ch] (setCursor): this addition
1442 * BufferView.C (putSelectionAt): adjust
1443 * undo.C (performUndoOrRedo): adjust
1444 * lyxfunc.C (dispatch): adjust
1446 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1448 * iterators.C (lockPath): add a missing slice
1449 * undo.C (performUndoOrRedo): remove redundant positioning code
1451 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1453 * vc-backend.C (scanMaster): ";" -> ';'
1455 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1457 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1458 std::binary_function
1460 * lyxtextclass.C (compare_name): rename to...
1461 (LayoutNamesEqual): ...this
1463 * lyxlex_pimpl.C (compare_tags): inherit from
1464 std::binary_function, put back into anon namespace
1466 * lyxfind.C (MatchString): inherig from std::binary_function
1467 (findChange): use empty() istead of !size()
1469 * format.C (FormatNamesEqual): new functor
1476 * converter.C (compare_Converter): rename to...
1477 (ConverterEqual): ...this, and fixup a bit.
1478 (getConverter): use it, and make function const
1479 (getNumber): use it, and make function const
1483 * bufferlist.C: add using boost::bind
1485 * MenuBackend.C (MenuNamesEqual): new functor
1486 (hasMenu): use it, and make function const
1487 (hasSubmenu): use nested bind to get rid of compare_memfun.
1489 2004-01-30 André Pönitz <poenitz@gmx.net>
1491 * BufferView_pimpl.C:
1494 * cursor_slice.[Ch]:
1497 * paragraph_funcs.C:
1498 * paragraph_funcs.h:
1502 * text3.C: move some of the edit(x,y) handling to the insets
1503 some coordinate changes.
1505 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1507 * text.C: add using statements for std::advance and std::distance
1509 * paragraph.C: add using statement for std::distance
1511 * lyxfind.C: add using statement for std::advance
1513 * cursor.C (region): remove std:: from swap
1514 (openable): use nucleus in stead of operator->
1516 * BufferView.C: add using statements for std::distance and std::swap
1518 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1520 * iterators.C: Remove the pimple, move the needed structures to
1521 the header file. Create accessor for the positions stack.
1522 (asPosIterator): remove function
1524 * PosIterator.C (PosIterator): move constructors to top of file
1525 (PosIterator): reimplement the constructor taking a ParIterator in
1527 (setFrom): new function
1528 (operator!=): inline it
1530 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1532 * lyxfind.C (replaceAll): use std::advance
1534 * iterators.h: inherit from std::iterator.
1536 * PosIterator.C (advance, distance): remove
1537 * PosIterator.h: interit from std::iterator.
1539 2004-01-26 André Pönitz <poenitz@gmx.net>
1542 * BufferView_pimpl.[Ch]:
1546 * bufferview_funcs.C:
1556 * output_linuxdoc.C:
1557 * output_plaintext.C:
1559 * paragraph_funcs.[Ch]:
1560 * paragraph_pimpl.[Ch]:
1566 * text3.C: more IU: dumps most of the rest of the mathcursor
1567 implementation into cursor.[Ch]; "globalize" a bit of it.
1569 2004-01-25 Angus Leeming <leeming@lyx.org>
1571 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1573 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1575 * LaTeXFeatures.h: add nice_ and nice() const
1576 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1578 2004-01-20 André Pönitz <poenitz@gmx.net>
1581 * BufferView_pimpl.C:
1583 * bufferview_funcs.C:
1585 * cursor_slice.[Ch]:
1596 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1597 LCursor and mathcursor parts to LCursor and InsetBase.
1599 2004-01-15 André Pönitz <poenitz@gmx.net>
1601 * cursor_slice.[Ch]: add a few covienience functions
1603 * funcrequest.[Ch]: remove BufferView * member
1605 * BufferView_pimpl.C:
1612 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1614 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1616 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1617 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1619 2004-01-13 André Pönitz <poenitz@gmx.net>
1622 * lyxtext.h: hide cursor and selection anchor behind accessor function
1625 * BufferView_pimpl.[Ch]:
1627 * bufferview_funcs.C:
1637 * cursor_slice.[Ch]: some integer type changes for inset unification
1639 * lyxcursor.[hC]: remove, it's CursorSlice now.
1642 * BufferView_pimpl.[Ch]:
1643 * bufferview_funcs.C:
1649 * textcursor.[Ch]: adjust
1651 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1653 * text2.C (undoSpan): add and use
1654 * text.C (breakParagraph): use undoSpan (fix bug 578)
1657 2004-01-08 Angus Leeming <leeming@lyx.org>
1659 * BufferView_pimpl.C (MenuInsertLyXFile):
1660 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1661 * lyxfunc.C (menuNew, open, doImport):
1662 FileFilterList change to the FileDialog open and save functions.
1664 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1666 * ShareContainer.h: make isEqual and isUnique adaptable
1668 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1670 2004-01-07 Angus Leeming <leeming@lyx.org>
1673 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1675 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1677 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1678 functions replacing find, replace and replaceAll.
1680 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1681 LFUN_WORDFIND(FORWARD|BACKWARD).
1683 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1685 * text.C (breakParagraph): remove an outdated #warning
1687 2004-01-07 André Pönitz <poenitz@gmx.net>
1689 * lyxfind.C: somewhat clearer logic
1691 * text.C: prevent crash in cursorX on unitialized row cache
1693 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1695 * lyxcursor.[Ch] (operator>): add
1696 * textcursor.C (selStart, selEnd): use std::min and std::max
1698 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1700 * Chktex.C: include boost/format.hpp
1702 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1704 * InsetList.C: replace functor MathcIt with adaptable functor
1706 (insetIterator): modify accordingly
1708 * BranchList.h: move the BranchNamesEqual functor here from...
1709 * BranchList.C: ... to here
1711 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1713 (add): replace a finding loop with std::find_if.
1715 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1717 * output_docbook.C: moving LatexParam functionality into
1720 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1722 * buffer.C: increment format to 229.
1724 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1727 * lyx_sty.[Ch]: remove minipageindent_def
1733 * text3.C: remove LFUN_INSET_MINIPAGE
1735 2003-12-28 Angus Leeming <leeming@lyx.org>
1737 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1739 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1741 * text2.C (setParagraph): fix off-by-one crash
1743 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1745 * output_docbook.C: header stuff for AGU
1747 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1749 * text2.C (redoCursor): remove
1752 * BufferView_pimpl.C: remove calls to redoCursor and
1753 setCursor(cursor.par(), cursor.pos()) all around
1755 2003-12-15 Angus Leeming <leeming@lyx.org>
1757 * buffer.C: up the format to 228.
1759 2003-12-15 André Pönitz <poenitz@gmx.net>
1761 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1766 * BufferView_pimpl.C:
1775 2003-12-15 Angus Leeming <leeming@lyx.org>
1777 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1778 than getFromGUIName to manipulate the color.
1780 2003-12-14 Angus Leeming <leeming@lyx.org>
1782 * BranchList.[Ch]: minimize the API.
1783 (Branch::getBranch, getColor): now return a 'const &'.
1784 (Branch::setSelected) now returns a bool set to true if the
1785 selection status changes.
1786 (BranchList::clear, size, getColor, setColor, setSelected,
1787 allBranches, allSelected, separator): removed.
1788 (BranchList::find): new functions, returning the Branch with
1790 (BranchList::add, remove): return a bool indicating that
1791 the operation was successful.
1793 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1794 new InsetBranch::isBranchSlected member function.
1796 * LColor.[Ch]: mimimize the API.
1797 (fill): renamed as addColor and made private.
1798 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1799 versions of these functions taking a string arg have been removed.
1801 * bufferparams.C (readToken):
1802 * lyxfunc.C (dispatch):
1803 * lyxrc.C (read): changes due to the altered BranchList and
1806 * factory.C (createInset, readInset): changes due to altered
1809 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1812 * lyxfunc.C: remove insetminipage. "minipage-insert"
1813 now produces a frameless minipage box inset.
1815 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1817 * textcursor.[Ch] (selStart,selEnd): add new methods
1818 remove selection::start, end, use LyXCursor::operator<
1819 * lyxcursor.[Ch] (operator<): add
1820 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1821 * BufferView.[Ch] (unsetXSel): add
1822 * text2.C (clearSelection): use unsetXSel,adjust
1825 * rowpainter.C: adjust
1826 * bufferview_funcs.C (put_selection_at): adjust
1828 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1830 * BufferView_pimpl.C: small coord. correction
1832 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1834 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1835 dragging over the splash screen.
1837 2003-12-11 Angus Leeming <leeming@lyx.org>
1839 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1840 as it is now handled in LyXText::dispatch.
1842 * text3.C (doInsertInset): remove a level of nesting.
1844 2003-12-11 Angus Leeming <leeming@lyx.org>
1846 * factory.C (createInset): changes due to the changed interface to
1847 InsetCommandMailer::string2params.
1849 2003-12-10 Angus Leeming <leeming@lyx.org>
1851 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1852 'dialog-show-new-inset <inset name>'
1854 2003-12-10 Angus Leeming <leeming@lyx.org>
1856 * buffer.C: up the format to 227.
1858 * factory.C: the box inset is now identified simply by 'Box'.
1860 2003-12-10 Angus Leeming <leeming@lyx.org>
1862 * buffer.C: up the format to 226.
1864 * factory.C: the note inset is now identified simply by 'Note'.
1866 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1868 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1869 when a pit is enough. Standarize a couple of loops.
1871 2003-12-05 Angus Leeming <leeming@lyx.org>
1873 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1874 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1875 data to the re-worked "log" dialog.
1877 2003-12-03 André Pönitz <poenitz@gmx.net>
1883 * paragraph_funcs.C:
1885 * text2.C: use Inset::getText instead of Inset::getParagraph
1887 2003-12-03 André Pönitz <poenitz@gmx.net>
1891 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1892 InsetText::read() as LyXText::read()
1894 2003-12-02 Angus Leeming <leeming@lyx.org>
1896 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1897 type. Add a comment in the implementation that the function uses
1898 the stream's bad() function rather than fail() as the std::streams
1901 2003-12-02 André Pönitz <poenitz@gmx.net>
1903 * lyxlex.[Ch]: make interface more similar to std::stream
1905 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1907 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1909 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1911 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1913 * vspace.[Ch]: remove VSpace::NONE
1915 2003-12-01 André Pönitz <poenitz@gmx.net>
1918 * lyxtext.h: move ParagraphList member to LyXText
1919 rename LyXText::ownerParagraphs to LyXText::paragraph
1922 * bufferview_funcs.C:
1932 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1934 * undo.C: fix cursor positioning
1936 2003-12-01 John Levon <levon@movementarian.org>
1938 * BufferView_pimpl.C: fix a crash on exit with
1941 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1943 * BranchList.C: fix setSelected() method.
1945 2003-11-28 André Pönitz <poenitz@gmx.net>
1947 * ParagraphParameters.[Ch]:
1948 * ParameterStruct.h: remove space above/below from Paragraph to
1951 * BufferView_pimpl.C:
1957 * paragraph_funcs.C:
1963 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1965 * factory.C: Syntax change for CharStyles
1967 2003-11-28 André Pönitz <poenitz@gmx.net>
1972 * buffer.[Ch]: move LyXText member
1974 2003-11-28 André Pönitz <poenitz@gmx.net>
1976 * BufferView.[Ch]: make LyXText * text a private member
1978 * BufferView_pimpl.C:
1989 * output_plaintext.C: cleanup
1991 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1994 * lyxtextclass.[Ch]: parametrize SGML document header
1996 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1999 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2002 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2004 * text2.C (setFont): rework using PosIterator (no more recursive)
2005 (setCharFont): no more needed
2006 (setLayout): no more selection cursors fiddling (done by redoCursor)
2007 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2008 destroy remaining ones)
2010 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2012 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2014 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2017 * text3.C: adjust + re-allow multi par depth changes
2018 * textcursor.C: simplify a bit
2020 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2026 * src/output_docbook.C:
2027 * src/output_latex.C:
2032 * src/text2.C: Introducing a number of tags parametrizing various
2033 XML formats that we may want to support
2035 2003-11-25 André Pönitz <poenitz@gmx.net>
2037 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2039 * lyxtext.h (leftMargin/rightMargin): simplify interface
2046 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2048 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2049 master file to any child files. Fixes bug 546.
2051 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2053 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2055 2003-11-24 André Pönitz <poenitz@gmx.net>
2057 * rowpainter.C: simplification
2059 * text2.C (updateCounters): remove call to redoParagraph on
2060 changed labels as this is far too expensive.
2062 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2064 * converter.C (convert): fix a crash: this function gets
2065 called with buffer == 0 from importer code.
2067 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2069 * text3.C (cursorPrevious): make sure that we do not compare
2070 iterators form different containers.
2073 * rowpainter.C (paintSelection): make sure that we do not compare
2074 iterators from different containers.
2076 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2077 iterators from different ParagraphList containers.
2080 * text2.C (LyXText): change order of initialization slightly
2081 (operator=): new function. copy all variables except cache_par_
2082 (moveUp): make sure that we do not compare iterators from
2083 different ParagraphList constainers.
2086 * text.C (firstPar): new function
2087 (lastPar): new function
2088 (endPar): new function
2090 * lyxtext.h: move things around and group public functions, public
2091 variables, private functions, private variables
2093 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2095 * factory.C: change call to InsetERT constructor to avoid
2096 additional invocation of method status
2097 * text2.C (toggleInset): remove redundant update() call
2098 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2099 instead of a Bufferview pointer
2101 2003-11-21 André Pönitz <poenitz@gmx.net>
2103 * rowpainter.C: simplification
2105 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2107 * text3.C (dispatch): make possible to extend a word/row selection
2110 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2112 * lyxtext.h: x0_,y0_ -> xo_,yo_
2113 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2114 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2115 * rowpainter.C (paintRows): paint full paragraphs
2117 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2119 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2122 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2124 * lyxtext.h: add x0_, y0_
2125 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2126 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2128 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2130 * text2.C (setCursorIntern): move the x_target update here *
2131 * text3.C: change some bv() to true/false in calls to
2132 cursorUp/Down/Right/Left
2133 * cursor.C: use helper function.
2135 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2137 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2138 * paragraph_funcs.[Ch]: correct comment
2139 * rowpainter.C: do not paint selections away from bv->cursor()
2140 Fix a long standing selection painting bug.
2141 * text3.C: generalize mouse-selection code to LyXTexts other that
2143 * textcursor.C: do not use y coords if we can use par offsets
2145 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2147 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2148 cursor position after e.g. inset insert)
2150 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2152 * lyxfind.C (replace): adjust to locking removal + some
2155 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2157 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2160 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2163 * output_docbook.C: XML sanitation: new layout
2164 parameters InnerTag and CommandDepth
2166 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2168 * BufferView_pimpl.C:
2170 * text3.C: Fix the insertion and modification of button-style
2173 2003-11-13 André Pönitz <poenitz@gmx.net>
2175 * InsetList.[Ch]: remove deleteLyXText
2177 * paragraph.[Ch]: cache beginOfBody position
2182 * text3.C: remove superfluous update() calls
2186 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2188 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2189 * BufferView.C (fitLockedInsetCursor): remove
2190 * cursor.[Ch] (getDim): add
2191 * text.C (getRowNearY): add faster version
2192 * text3.C: remove some update calls
2194 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2206 * text3.C: The Character Style /XML short element patch.
2208 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2211 * factory.C: Small step to solving 'unable to insert some insets'
2214 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2216 * cursor.[Ch] (updatePos): new function for updating the y
2217 position of the tip inset
2218 * bufferview_funcs.C (put_selection_at):
2219 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2221 2003-11-11 André Pönitz <poenitz@gmx.net>
2223 * text.C: remove big comment on invalid Paragraph pointers as it is
2226 2003-11-11 André Pönitz <poenitz@gmx.net>
2228 * text_funcs.[Ch]: merge with ...
2236 * Makefile.am: remove text_funcs.[Ch]
2238 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2240 * cursor.C (getPos): return absolute cached y coord
2242 * BufferView_pimpl.C (fitCursor): new simplistic code
2243 (workAreaDispatch): add a fitCursor call
2245 2003-11-10 André Pönitz <poenitz@gmx.net>
2248 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2250 2003-11-10 André Pönitz <poenitz@gmx.net>
2252 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2253 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2254 indicate that the cursor needs to leave an inset
2256 * lyxtext.h: remove inset locking
2258 * cursor.[Ch]: re-implement functionality provided by inset locking
2261 * BufferView_pimpl.[Ch]:
2263 * bufferview_funcs.[Ch]:
2275 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2277 * PosIterator.[Ch]: replace the stack with a vector, add inset
2279 * iterators.[C]: adjust
2281 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2283 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2285 * paragraph_funcs.C (readParToken): put the correct id in the
2286 error item, not the id of the top paragraph
2288 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2290 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2291 * bufferview_funcs.C (put_selection_at): use the above
2293 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2295 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2297 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 * output_linuxdoc.h:
2300 * output_plaintext.h:
2302 * output_docbook.h: add #include statements
2304 2003-11-05 José Matos <jamatos@lyx.org>
2306 * output_docbook.[Ch]:
2307 * output_latex.[Ch]:
2308 * output_linuxdoc.[Ch]:
2309 * output_plaintext.[Ch]: New files for output formats.
2310 * output.[Ch]: New file for helper functions.
2313 * paragraph_funcs.[Ch]: output functions moved to new files.
2315 * outputparams.h: rename of latexrunparams.h
2323 * paragraph_funcs.[Ch]:
2324 * paragraph_pimpl.[Ch]:
2325 * tabular.[Ch]: rename ascii to plaintext
2326 and LatexRunParams to OutputParams.
2328 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2330 * iterators.[Ch] (text): require bv argument
2331 * undo.C (recordUndo):
2332 * lyxfunc.C (dispatch):
2333 * bufferview_funcs.C (put_selection_at): adjust
2335 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2337 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2339 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2341 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2344 2003-11-04 André Pönitz <poenitz@gmx.net>
2346 * cursor.[Ch]: restructure
2349 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2351 * iterators.[Ch] (asCursor): remove
2353 * lfuns.h: remove LFUN_INSET_EDIT
2359 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2361 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2363 * lyxfind.[Ch]: complete overhaul
2364 * BufferView_pimpl.C:
2366 * paragraph.[Ch] (insert): add
2368 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2372 * text.C: remove dead spellcheck code
2374 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2376 * dispatchresult.h: add a val setter
2378 * cursor.C (dispatch): use a tempvar for data_[i]
2380 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2382 * PosIterator.[Ch]: compile fix
2384 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2386 * text.C (cursorPar): deactivate the cursor cache
2388 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2390 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2392 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * text3.C (dispatch): adjust for new DisptchResult semantics.
2396 * lyxfunc.C (dispatch): handle update when return from
2397 Cursor::dispatch, adjust for new DispatchResult semantics.
2399 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2400 DispatchResult(true) mean to not update. Add class functions for
2401 setting dispatched and update, as well as reading.
2403 * cursor.C (dispatch): don't handle update here
2405 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2407 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2408 * trans_mgr.C: adjust
2410 * paragraph_funcs.C (readParToken): exception safety
2412 * lyxvc.h: store the vcs pointer in a scoped_ptr
2415 * lyxsocket.C (serverCallback): exception safety
2417 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2419 * ispell.C (clone): make it return a auto_ptr
2421 * factory.C (createInset): exception safety
2422 (readInset): exception safety
2424 * bufferlist.C (newBuffer): exception safety
2426 * Thesaurus.C (Thesaurus): use initialization for aik_
2428 * MenuBackend.C (expandToc): exception safety.
2430 2003-11-03 André Pönitz <poenitz@gmx.net>
2434 * bufferview_funcs.C: remove getInsetFromId()
2437 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2443 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2445 * PosIterator.C (distance, advance): new
2446 * bufferview_funcs.[Ch] (put_selection_at): new
2447 * iterators.[Ch] (lockPath): new
2449 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2451 * iterators.[Ch] (asPosIterator): added
2452 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2453 * PosIterator.[Ch]: added
2455 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * cursor.C (dispatch):
2460 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2462 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2463 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2464 contructor, add a class function dispatched. Remove operator>=
2466 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * debug.C: only use the default constructor for debugstream
2471 * main.C (main): include debug.h and setup the lyxerr streambuf
2474 2003-10-31 José Matos <jamatos@lyx.org>
2476 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2478 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2479 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2480 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2481 * paragraph_pimpl.C (simpleTeXSpecialC):
2482 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2483 add LatexRunParams argument.
2485 * exporter.C (Export): change call accordingly.
2487 * latexrunparams.h: add new member to take care of the other backends.
2488 2003-10-30 José Matos <jamatos@lyx.org>
2490 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2491 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2492 factorise code for paragraph output.
2494 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2497 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * text3.C (dispatch):
2500 * lyxfunc.C (dispatch):
2501 * cursor.C (dispatch):
2502 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2504 * dispatchresult.h: make the dispatch_result_t ctor explicit
2506 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2509 * buffer.C: small refactoring of docbook stuff
2511 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2516 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2519 operator dispatch_result_t, and operators for == != and >=
2521 * cursor.C (dispatch): adjust for operator dispatch_result_t
2522 removal. comment out call to update
2524 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2526 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2534 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2537 * dispatchresult.h: new file, DispatchResult broken out of
2540 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2542 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2544 * text.C (rowBreakPoint): put a hack inside #if 0
2546 2003-10-28 André Pönitz <poenitz@gmx.net>
2550 * paragraph_funcs.C:
2553 * text2.C: general cleanup (lots of small stuff)
2555 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2557 * text2.C (cursorEnd): simple fix to the "end key goes to one
2558 before the end on last row" bug
2560 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2562 * text.C (backspace): fix the "zombie characters"
2564 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2566 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2568 2003-10-27 André Pönitz <poenitz@gmx.net>
2570 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2572 * factory.C: handle new InsetPagebreak, InsetLine
2574 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2575 and move handling into new InsetPagebreak, InsetLine
2577 * BufferView_pimpl.C:
2579 * ParagraphParameters.C:
2580 * ParameterStruct.h:
2585 * paragraph_funcs.C:
2586 * paragraph_pimpl.C:
2592 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2595 * lyxrow_funcs.[Ch]:
2601 * text3.C: remove lastPos uses in favour of Row::endpos
2603 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2605 * undo.C (performUndoOrRedo): fix two crashes by setting a
2606 cursor by hand and reordering some calls. Use bv->lockInset instead
2607 of inset->edit because the latter loses cursor information
2609 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2611 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2613 (rowBreakPoint): fix width. change point to point + 1.
2614 Add a missing check.
2616 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2619 * lyxfunc.C: fix (at least partly) the problems
2620 with the Nav menu and headers inside branch insets
2623 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2625 * paragraph.C (getChar): add strong asserts
2627 * lyxrow_funcs.C (lastPos): remove hideous hack
2629 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2630 (fill): adjust to that (avoid an infinite loop)
2632 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2634 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2636 2003-10-23 André Pönitz <poenitz@gmx.net>
2638 * RowList_fwd.h: change list<> to vector<> to gain speed
2639 after suggestion from Alfredo
2641 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2643 * lyxtext.h: move the bidi stuff from here...
2646 * Bidi.[Ch]: ... to here
2648 2003-10-23 André Pönitz <poenitz@gmx.net>
2651 * text.C (isLastRow, isFirstRow): new functions
2653 * paragraph.h: new width cache member
2655 * rowpainter.C: replace RowList::iterator with Row & where possible
2657 * lyxfunc.C: replace several view()->text with a single call
2659 * toc.C: fix 'unused' warning
2661 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2664 when woring with stream::pos_type
2665 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2667 2003-10-22 André Pönitz <poenitz@gmx.net>
2670 * text.C: use Row & instead of RowList::iterator
2672 * lyxrow.h: rename end() to endpos()
2678 2003-10-22 Angus Leeming <leeming@lyx.org>
2680 * buffer.[Ch] (fully_loaded): new member function, returning true
2681 only when the file has been loaded fully.
2682 Used to prevent the premature generation of previews and by the
2683 citation inset to prevent computation of the natbib-style label.
2685 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2686 templates are all set up.
2688 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2690 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2692 * text.C: fixed an "oops" in the "is a bit silly"
2695 2003-10-21 André Pönitz <poenitz@gmx.net>
2697 * FuncStatus.[Ch]: small stuff, whitespace
2699 * lyxfont.[Ch]: operator<<() for debug reasons
2703 * lyxtext.h: whitespace, spelling
2705 * paragraph.C: naming of variables
2708 * text2.C: small stuff
2711 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2713 * text.C: (1) finish off the inset display() work;
2714 (2) fix the "is a bit silly" bug (accessing char
2717 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2719 * text.C: re-introduce display() for insets, fixing the
2720 various bugs (stretch of line above, math inset
2723 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2725 * text.C (rightMargin): remove spurious semicolon
2727 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2730 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2732 * text3.C: fix one crash due to wrong cursor def
2734 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * vc-backend.C (scanMaster): make the regex static
2738 * LaTeX.C (scanAuxFile): make the regexs static
2740 * text3.C (doInsertInset, dispatch, dispatch):
2741 * text2.C (cursorUp, cursorDown):
2742 * text.C (selectNextWordToSpellcheck):
2743 * BufferView_pimpl.C (dispatch):
2744 * lyxfunc.C (dispatch): localDispatch -> dispatch
2746 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2748 * lyxsocket.C: include <cerrno>
2750 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * lyxfunc.C (dispatch): remove textcache stuff
2754 * bufferlist.C (release): remove textcache stuff
2757 * TextCache.C: delete file
2758 * TextCache.h: delete file
2760 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2762 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2763 delete of the bv_->text.
2764 (resizeCurrentBuffer): remove texcache stuff
2765 (workAreaResize): ditto
2767 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2769 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2772 2003-10-16 André Pönitz <poenitz@gmx.net>
2779 * text3.C: speed up by storing y positions per paragraph plus per-row
2780 offset instead of having a 'full' y position in the row.
2782 2003-10-15 André Pönitz <poenitz@gmx.net>
2786 * undo.[Ch]: make undo aware of inner insets
2788 2003-10-14 Angus Leeming <leeming@lyx.org>
2790 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2791 static member functions LyX::ref() and LyX::cref.
2792 (lastfiles): new accessor functions for the new lastfiles_ member var.
2793 (addLyXView, views_): add a new LyXView to the list of views_.
2794 (updateInset): loop over all LyXViews to call their own updateInset
2795 member function, returning a pointer to the Buffer owning the inset.
2797 * BufferView_pimpl.C (loadLyXFile):
2798 * MenuBackend.C (expandLastfiles):
2799 * bufferlist.C (MenuWrite, QuitLyX):
2800 lastfiles is no longer a global variable.
2801 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2803 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2804 static function. Access through LyX::cref().emergencyCleanup().
2806 2003-10-14 André Pönitz <poenitz@gmx.net>
2808 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2810 * undo.[Ch]: restoring part of 'undo in insets'
2813 * undo_funcs.[Ch]: merge with undo.[Ch]
2815 * tabular.C: small cleansing stuff
2817 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2819 * paragraph_funcs.C (readParToken): report unknown insets as error
2820 boxes. Use the outer paragraph as location (also for unknown
2823 * factory.C (readInset): do not abort on reading an unknown inset.
2824 Eat it and return 0.
2826 2003-10-13 Angus Leeming <leeming@lyx.org>
2828 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2830 * lyxrc.C: displayTranslator is now a function,
2831 declared in GraphicsTypes.h.
2833 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2835 * format.C: new placeholder $$a to pass the socket address.
2837 * bufferlist.[Ch]: new function getBufferFromTmp.
2839 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2840 files in the temporary dir.
2842 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2844 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2846 * Makefile.am: add lyxsocket.[Ch].
2848 * lyx_main.C (error_handler): handle SIGPIPE.
2850 2003-10-13 André Pönitz <poenitz@gmx.net>
2852 * BufferView_pimpl.C:
2857 * undo_funcs.[Ch]: use paroffset_type instead of
2858 ParagraphList::iterators to prevent multiple conversion
2859 (and get a more robust interface)
2861 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2865 * text3.C (dispatch): ditto
2867 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2870 move the onlyfile, use onlyfile instead of foundfile in a couple
2873 * DepTable.C (update): flush the error stream a bit more
2875 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * lyxserver.C (callback): adjust
2879 * lyxfunc.C (getStatus): add a missing brace in commented code
2880 (ensureBufferClean): reindent
2881 (dispatch): delete version taking a string
2883 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * LaTeX.C (deplog): move found file handlig from here...
2886 (handleFoundFile): .. to new function here.
2887 (deplog): make sure to discover several files mentioned on the
2890 2003-10-10 André Pönitz <poenitz@gmx.net>
2897 * text3.C: fix some of the tabular crashes
2899 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2901 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2903 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2905 2003-10-09 André Pönitz <poenitz@gmx.net>
2907 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2910 * BufferView_pimpl.C:
2911 * bufferview_funcs.C:
2922 * undo_funcs.C: adjust
2924 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * text2.C (incrementItemDepth): new function, use a backtracking
2927 algorithm to discover the correct item depth.
2928 (resetEnumCounterIfNeeded): new function, use a backtracking
2929 algorithm to discover if counter reset is needed.
2930 (setCounter): use them. Simplify a bit. Add different labels for
2931 different item depths for itemize.
2933 * paragraph.C (Paragraph): remove initialization of enumdepth
2936 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2937 enumerate and itemize. Change the type of itemdepth to signed char.
2939 2003-10-08 André Pönitz <poenitz@gmx.net>
2941 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2946 * tabular.[Ch]: fix crash after 'row-insert'
2948 2003-10-08 Angus Leeming <leeming@lyx.org>
2950 Fix doxygen warnings.
2952 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2953 Remove CutAndPaste:: prefix from header file declaration.
2955 * LColor.h (fill): remove LColor:: prefix from declaration.
2957 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2958 use lyx::depth_type rather than Paragraph::depth_type so that
2959 header file and .C file match.
2961 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2963 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2964 * aspell.C: \file aspell_local.C -> \file aspell.C
2965 * gettext.C: \file gettext.C -> \file src/gettext.C
2966 * gettext.h: \file gettext.h -> \file src/gettext.h
2967 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2968 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2969 * text.C: \file text.C -> \file src/text.C
2971 * toc.C: move comment so that doxygen is not confused.
2973 2003-10-07 Angus Leeming <leeming@lyx.org>
2975 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2977 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2980 * aspell_local.h: add forgotten std::string's.
2982 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2989 * text3.C: The Box patch. Fancybox support, minipage, parbox
2991 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2997 * ParagraphParameters.h:
3007 * lyxtextclasslist.h:
3010 * paragraph_pimpl.C:
3011 * textcursor.h: add <string> and other small fixes to make Lars'
3012 std::string patch compile with STLport.
3014 2003-10-06 Angus Leeming <leeming@lyx.org>
3016 * LColor.h: Add missing #include <string>.
3018 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * All most all file in all subdirs: Make <string> be the prefered
3021 way of getting to std::string, add using declarations.
3023 2003-10-06 André Pönitz <poenitz@gmx.net>
3025 * metricsinfo.C: initialize LyXFont before changing attribute.
3026 (fixes the 'math in \emph is upright' bug)
3028 2003-10-06 André Pönitz <poenitz@gmx.net>
3030 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3032 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3035 * paragraph_pimpl.C: Small fixes to build using STLport
3037 2003-10-02 André Pönitz <poenitz@gmx.net>
3040 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3042 2003-10-01 André Pönitz <poenitz@gmx.net>
3044 * factory.C: assert early
3046 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * lyx_main.C: remove the global debug object
3050 * debug.h: adjust for new debugstream
3052 * debug.C: adjust for new debugstream and keep the global debug
3055 2003-09-22 Angus Leeming <leeming@lyx.org>
3057 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3058 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3059 an incomplete class LyXFont.
3061 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3063 * factory.C: bug fix in branches
3065 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3067 * lyxfunc.C (processKeySym): adjust
3069 (dispatch): change arg name from ev to func, adjust
3070 (sendDispatchMessage): ditto
3072 * lyx_main.C (defaultKeyBindings): adjust keybindings
3073 (deadKeyBindings): ditto
3075 * kbsequence.C (addkey): return a FuncRequest
3077 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3079 * kbmap.C (bind): take a FuncRequest as arg, adjust
3082 (defkey): change to take a FuncRequest as arg, adjust
3083 (findbinding): take a FuncRequest as arg, adjust.
3085 * funcrequest.h (operator=): added
3087 * funcrequest.C (FuncRequest): default kb_action changed from
3088 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3090 * buffer.C (dispatch): simplify
3091 (dispatch): adjust to take a FuncRequest as arg, adjust
3093 * boost.C (assertion_failed): change assertion message slightly
3095 * ToolbarBackend.C (read): simplify
3097 * MenuBackend.C (binding): adjust call to findbinding, add a
3098 message if no binding is found.
3100 (expandToc): correct by adding a empty FuncRequest
3102 * LyXAction.C: include <boost/assert.hpp>
3103 (isPseudoAction): delete function
3104 (LookupFunc): change name to...
3105 (lookupFunc): this. change return type to FuncRequest.
3106 (getActionName): take kb_action as arg, simplify
3107 (funcHasFlag): add an assert, simplify.
3109 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * toc.C (action): return a FuncRequest, simplify
3113 * lyxfunc.C (processKeySym): adjust
3114 (getStatus): delete version that takes an int.
3116 (dispatch): delete version that takes action as int
3118 (sendDispatchMessage): simplify and adjust
3120 * funcrequest.C (getArg): take unsigned int as arg
3122 * ToolbarBackend.C (read): adjust
3123 (add): delete version that takes func as a string.
3124 (getIton): take a FuncRequest as arg
3126 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3129 * MenuBackend.C (MenuItem): add a new construct that only takes a
3130 Kind, simplify the constructor use for submenus.
3132 (expandLastfiles): adjust
3133 (expandDocuments): adjust
3134 (expandFormats): adjust
3135 (expandFloatListInsert): adjust
3136 (expandFloatInsert): adjust
3137 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3139 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3140 Remove class variables lyx_pseudo_map and lyx_arg_map
3142 * LyXAction.C (searchActionArg): delete function
3143 (getPseudoAction): delete function
3144 (retrieveActionArg): delete function
3145 (LookupFunc): make it return kb_action, simplify.
3146 (getActionName): simplify
3148 * factory.C (createInset): fix new bug
3150 2003-09-19 Angus Leeming <leeming@lyx.org>
3152 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3153 masterFilename_ parameter in the include inset.
3155 * factory.C (createInset): changes due to the changes to InsetInclude.
3157 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3159 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3161 2003-09-18 Angus Leeming <leeming@lyx.org>
3164 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3165 Inset::fillWithBibKeys.
3166 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3168 2003-09-18 Angus Leeming <leeming@lyx.org>
3170 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3172 (ctor): pass and store a 'Buffer const &'
3173 (buffer): new member function.
3175 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3176 '*this' to the LaTeXFeatures ctor.
3178 2003-09-18 Angus Leeming <leeming@lyx.org>
3184 * text.C: rename EnumLColor as LColor_color.
3186 2003-09-18 Angus Leeming <leeming@lyx.org>
3188 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3189 remove #include "insets/insetbase.h" from cursor.h.
3191 2003-09-18 Angus Leeming <leeming@lyx.org>
3193 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3194 InsetOld_code to remove #include "inset.h".
3196 * iterators.C: add #include "insets/inset.h"
3198 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3200 * BufferView.C: remove more locking stuff that apparently doesn't
3201 do anything sensible.
3203 2003-09-16 André Pönitz <poenitz@gmx.net>
3206 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3209 2003-09-16 Angus Leeming <leeming@lyx.org>
3211 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3213 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3216 * paragraph.h: remove #include "lyxfont.h". Forward declare
3219 2003-09-16 Angus Leeming <leeming@lyx.org>
3221 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3222 of support/textutils.h.
3223 (isWord): move the contents of support/textutils.h's IsWordChar here.
3229 * text2.C: add #include "paragraph.h".
3232 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3234 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * LaTeX.C: use namespace alias for lyx::support::os
3242 2003-09-16 Angus Leeming <leeming@lyx.org>
3245 * bufferview_funcs.C:
3248 * paragraph_pimpl.C:
3250 * text.C: add #include "LColor.h".
3252 2003-09-16 Angus Leeming <leeming@lyx.org>
3254 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3255 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3257 Store the FontBits::color variable as an int rather than as an
3258 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3261 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3262 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3263 string calls together.
3265 * lyxrc.C: add #include "LColor.h".
3267 2003-09-15 Angus Leeming <leeming@lyx.org>
3269 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3272 2003-09-15 Angus Leeming <leeming@lyx.org>
3274 * LColor.h: add an EnumLColor wrapper for LColor::color.
3276 * lyxfont.[Ch] (color, setColor, realColor):
3277 * lyxtext.h, text.C (backgroundColor):
3278 pass EnumLColor args to/from the functions, rather than LColor::color
3282 * lyxtext.h: forward declare EnumLColor.
3284 * lyx_main.C: add #include "LColor.h".
3286 2003-09-15 Angus Leeming <leeming@lyx.org>
3288 * .cvsignore: add lyx-gtk.
3290 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * ParagraphParameters.C
3299 * bufferview_funcs.C
3309 * vc-backend.C: remove usage of STRCONV
3311 2003-09-15 Angus Leeming <leeming@lyx.org>
3313 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3314 explicitly define the color passed to the painter.
3316 2003-09-15 Angus Leeming <leeming@lyx.org>
3318 * bufferparams.C (BufferParams): reorder member initializers to avoid
3321 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3323 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3324 * text.C (updateRowPositions): remove an unusual nop
3326 2003-09-12 André Pönitz <poenitz@gmx.net>
3328 * BufferView_pimpl.C:
3337 * Counters.[Ch]: finish the 'automatic counters' job
3339 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3341 * aspell.C: include <boost/assert.cpp> (compile fix)
3343 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3345 * boost.C (assertion_failed): use lyx::support::abort instead of
3348 2003-09-10 Angus Leeming <leeming@lyx.org>
3350 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3351 with their _fwd progeny.
3353 2003-09-09 Angus Leeming <leeming@lyx.org>
3355 134 files throughtout the source tree: replace 'using namespace abc;'
3356 directives with the appropriate 'using abc::xyz;' declarations.
3358 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3360 * boost.C (emergencyCleanup): moved here from LAssert.c
3361 (assertion_failed): new function, called by BOOST_ASSERT
3363 * several files: change Assert to BOOST_ASSERT
3365 2003-09-09 Angus Leeming <leeming@lyx.org>
3367 * buffer.[Ch]: Add an Impl class and move Buffer's member
3368 variables into it. As a result move several header files out of
3371 Add header files to lots of .C files all over the tree as a result.
3373 2003-09-09 Angus Leeming <leeming@lyx.org>
3375 * buffer.[Ch]: make Buffer's member variables private. Add
3378 Lots of changes all over the tree as a result.
3380 2003-09-08 Angus Leeming <leeming@lyx.org>
3382 * graph.C: #include <config.h>.
3384 2003-09-08 Angus Leeming <leeming@lyx.org>
3388 * BufferView_pimpl.C:
3417 * toc.C: remove redundant using directives.
3419 2003-09-07 Angus Leeming <leeming@lyx.org>
3421 * LaTeXFeatures.h: remove #include "support/types.h".
3422 * ToolbarBackend.h: remove #include <algorithm>.
3423 * changes.h: remove #include <ctime>.
3424 * debug.h: remove #include <iosfwd>.
3425 * graph.h: remove #include "support/std_string.h".
3426 * lyx_main.h: remove #include <csignal>.
3427 * lyxlex_pimpl.h: remove #include <fstream>.
3428 * sgml.h: remove #include <algorithm>, <utility>.
3429 * toc.h: remove #include "support/std_ostream.h".
3430 Add #include <iosfwd>.
3432 2003-09-07 Angus Leeming <leeming@lyx.org>
3434 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3436 * converter.h: forward declare LatexRunParams.
3437 * encoding.h: remove #include "lyxrc.h".
3438 * lyxtext.h: remove #include "LColor.h".
3439 * lyxtextclass.h: remove #include "support/types.h".
3440 * trans.h: remove #include "tex-accent.h".
3441 * trans_mgr.h: remove #include "tex-accent.h".
3442 * insets/inset.h: remove #include "support/types.h", <vector>.
3443 * insets/insetcollapsable.h: remove #include "LColor.h".
3444 * insets/insetinclude.h: remove #include "dimension.h".
3445 * insets/insetlatexaccent.h: remove #include "dimension.h".
3446 * insets/insetoptarg.h:: remove #include "insettext.h".
3447 * insets/insettext.h: remove #include "dimension.h",
3448 <boost/shared_ptr.hpp>
3450 * insets/renderers.h: add #include "dimension.h".
3451 * insets/updatableinset.h: add #include "support/types.h".
3453 * many .C files: Associated changes.
3455 2003-09-06 Angus Leeming <leeming@lyx.org>
3457 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3458 one, inside testInvariant.
3460 * PrinterParams.C: new file.
3461 * PrinterParams.[Ch]: move the function bodies out of line.
3463 2003-09-06 Angus Leeming <leeming@lyx.org>
3465 * ParagraphParameters.h: forward declare ParameterStruct rather than
3466 including its header file.
3467 (depth): moved out-of-line.
3469 2003-09-06 Angus Leeming <leeming@lyx.org>
3471 * BufferView_pimpl.h:
3474 * lyxfunc.h: forward declare LyXKeySym rather than
3475 #include "frontends/LyXKeySym.h".
3477 * BufferView_pimpl.C:
3480 * lyxfunc.C: associated changes.
3482 2003-09-06 Angus Leeming <leeming@lyx.org>
3484 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3485 As a result, can remove the #include "insets/inset.h" from BufferView.h
3487 2003-09-06 Angus Leeming <leeming@lyx.org>
3489 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3490 As a result, can remove the #include "insets/inset.h" from BufferView.h
3492 2003-09-06 Angus Leeming <leeming@lyx.org>
3498 * bufferview_funcs.C:
3499 * BufferView_pimpl.C:
3504 * ParagraphParameters.C:
3509 * frontends/controllers/ControlDocument.C:
3510 * insets/insetcaption.C: rearrange the #includes into some sort of
3513 * buffer.h: remove #includes ErrorList.h, undo.h
3515 2003-09-06 Angus Leeming <leeming@lyx.org>
3517 * support/types.h: add a 'depth_type' typedef, used to store the
3518 nesting depth of a paragraph.
3521 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3522 defining explicitly.
3525 * paragraph_funcs.h:
3526 * ParagraphParameters.h:
3527 * sgml.h: use lyx::depth_type rather than Paragraph or
3528 ParameterStruct's depth_type.
3531 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3534 * BufferView_pimpl.C:
3536 * ParagraphParameters.C:
3539 * bufferview_funcs.C:
3546 * frontends/LyXView.C:
3547 * frontends/controllers/ControlDocument.C:
3548 * frontends/controllers/ControlErrorList.C:
3549 * insets/insetbibitem.C:
3550 * insets/insetbranch.C:
3551 * insets/insetcaption.C:
3552 * insets/insetcollapsable.C:
3553 * insets/insetenv.C:
3554 * insets/insetert.C:
3555 * insets/insetfloat.C:
3556 * insets/insetfoot.C:
3557 * insets/insetfootlike.C:
3558 * insets/insetnewline.C:
3559 * insets/insetquotes.C:
3560 * insets/insettabular.C:
3561 * insets/insettext.C:
3562 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3564 * frontends/controllers/ControlChanges.C: #include "changes.h".
3566 2003-09-06 Angus Leeming <leeming@lyx.org>
3568 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3569 than #including paragraph.h.
3572 * RowList.h: deleted. Superfluous.
3582 * insets/insettext.h: use ParagraphList_fwd.h rather than
3585 * paragraph.h: don't forward declare ParagraphList.
3588 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3589 rather than ParagraphList.h. paragraph.h is still needed for the
3590 Paragraph::depth_type parameters.
3592 * textcursor.h: enable it to compile stand-alone in light of the
3595 * bufferview_funcs.C:
3607 * frontends/controllers/ControlParagraph.C:
3608 * frontends/controllers/ControlTabular.C:
3609 * insets/insetmarginal.C:
3610 * insets/insetminipage.C:
3611 * insets/insetnote.C:
3612 * insets/insetoptarg.C: add header files needed to compile again.
3614 2003-09-06 Angus Leeming <leeming@lyx.org>
3616 * RowList_fwd.h: new file, forward-declaring Row rather than
3617 #including lyxrow.h.
3622 * insets/insettext.h: use it instead of RowList.h
3624 * bufferview_funcs.C:
3631 * text3.C: #include "RowList.h".
3633 2003-09-05 Angus Leeming <leeming@lyx.org>
3635 * factory.C (createInset):
3636 * vspace.C (c-tor): replace sscanf call with an istringstream.
3637 * ispell.C: re-add missing HP/UX headers.
3638 * lyxserver.C: re-add missing os2 headers.
3640 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3649 * text3.C: re-add missing system headers, needed for 2.95.2.
3651 2003-09-05 Angus Leeming <leeming@lyx.org>
3653 Changes most place everywhere due to the removal of using directives
3654 from support/std_sstream.h.
3656 2003-09-05 Angus Leeming <leeming@lyx.org>
3658 Replace LString.h with support/std_string.h,
3659 Lsstream.h with support/std_sstream.h,
3660 support/LIstream.h with support/std_istream.h,
3661 support/LOstream.h with support/std_ostream.h.
3663 Changes resulting throughout the tree.
3665 2003-09-05 Angus Leeming <leeming@lyx.org>
3667 * sgml.h: ensure that the header file can be compiled stand-alone.
3668 * *.C: strip out redundant #includes. (320 in total.)
3670 2003-09-04 Angus Leeming <leeming@lyx.org>
3672 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3673 here (from getPackages).
3675 * debug.[Ch]: add a new EXTERNAL tag.
3677 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3679 * text2.C (cursorEnd): simplify
3681 (getColumnNearX): adjust
3683 * text.C (computeBidiTables): adjust
3686 * rowpainter.C (paintChars): adjust
3687 (paintSelection): adjust
3688 (paintChangeBar): adjust
3691 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3693 (numberOfSeparators): adjust
3695 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3701 * text3.C: Restricts the mouse click functionality
3702 of insets like bibtex, include, toc and floatlist to the visible
3703 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3704 up the dialogs. Cursor has to be in front of the inset (i.e.
3705 start of row) for this to function.
3707 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3709 * bufferview_funcs.C (currentState): output row information
3711 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3713 * bufferview_funcs.C (currentState): output paragraph position
3715 2003-09-04 Angus Leeming <leeming@lyx.org>
3717 * FloatList.h: move out #include "Floating.h".
3718 * LaTeX.h: move out #include "DepTable.h".
3719 * LyXAction.h: move out #include "funcrequest.h".
3720 * buffer.h: move out #include "author.h", "iterators.h".
3721 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3722 * lyx_main.h: move out #include "errorlist.h".
3723 * lyxfunc.h: move out #include "FuncStatus.h".
3724 * lyxtext: move out #include "lyxcursor.h".
3725 * paragraph_pimpl.h: move out #include "counters.h".
3727 2003-09-03 Angus Leeming <leeming@lyx.org>
3729 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3730 preamble_snippets list, enabling us to add snippets to the preamble
3731 only if the snippet was not there already.
3733 2003-09-04 Angus Leeming <leeming@lyx.org>
3735 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3737 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3742 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3744 * BranchList.C: point fix, earlier forgotten
3746 2003-09-02 Angus Leeming <leeming@lyx.org>
3748 * box.C (contains): renamed from 'contained' after a fantastic
3751 2003-09-02 John Levon <levon@movementarian.org>
3757 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3759 2003-09-02 John Levon <levon@movementarian.org>
3761 * text2.C: simplification of cursorEnd(), including partial
3764 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * buffer.C (readFile): add a space
3768 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3770 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3772 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * buffer.C (readFile): new function, take a filename and a
3775 ParagraphList::iterator
3777 (readFile): adjust, make it private. don't use setStream, make
3778 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3779 always contain the filename.
3781 * BufferView.C (insertLyXFile): simplify and make it work for
3784 2003-08-30 John Levon <levon@movementarian.org>
3786 * Makefile.am: fix dist (from Kayvan)
3788 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * most files: change to use const Buffer refs
3792 2003-08-27 André Pönitz <poenitz@gmx.net>
3794 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3795 on top of ownerPar().
3797 2003-08-27 John Levon <levon@movementarian.org>
3799 * funcrequest.C: properly initialise POD members
3801 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3803 * lyxtext.h (top_y): move top_y from here
3808 * BufferView_pimpl.[Ch]: to here
3809 * frontends/screen.C:
3810 * insets/insettabular.C:
3811 * insets/insettext.C: adjust
3812 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3814 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3817 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3819 2003-08-26 André Pönitz <poenitz@gmx.net>
3821 * paragraph_func.[Ch] (outerPar): new function
3824 * paragraph_funcs.C:
3825 * paragraph_funcs.h:
3826 * paragraph_pimpl.C:
3827 * text2.C: remove Inset::par_owner
3829 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3834 * text2.C: eliminates the needFullRow/display() stuff
3835 altogether, putting the logic in metrics/draw in the insets.
3837 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3839 * text2.C (redoParagraphInternal, redoParagraphs):
3840 * text.C (redoParagraph): add a call to updateRowPositions at the
3841 end of each 'metrics-like' call. Remove all others.
3842 (getRow): remove the 'y-computing' version.
3843 (getRowNearY): do not compute nor return the real y. Solve the
3844 'y < 0' problem and simplify.
3846 2003-08-22 Angus Leeming <leeming@lyx.org>
3848 * *.[Ch]: clean-up of licence and author blurbs.
3849 Also move config.h out of a few .h files and into a few .C files.
3851 2003-08-22 André Pönitz <poenitz@gmx.net>
3853 * lyxrow.[Ch]: add x_ and *fill_ members
3858 * text2.C: adjust/remove prepareToPrint() calls
3860 2003-08-22 André Pönitz <poenitz@gmx.net>
3862 * lyxrow.[Ch]: add end_ member
3864 * lyxrow_funcs.C: use LyXRow::end_
3866 * lyxtext.h (singleWidth): add LyXFont parameter
3869 * text2.C: adjust LyXText::singleWidth() calls
3871 * text.C (redoParagraph): simplify row breaking logic
3874 2003-08-19 André Pönitz <poenitz@gmx.net>
3876 * funcrequest.C: initialize button_ member
3879 * rowpainter.[Ch]: interface consolidation
3881 2003-08-18 André Pönitz <poenitz@gmx.net>
3884 * BufferView_pimpl.C:
3886 * paragraph_funcs.C:
3888 * text3.C: remove LyXScreen::draw() and fitCursor calls
3890 * BranchList.h: remove spurious semicolons
3892 * MenuBackend.C: fix branchlist related crash
3894 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3902 * bufferparams.[Ch]:
3906 * text3.C: implements the 'branch inset'
3907 idea. This allows the output of various versions of a document
3908 from a single source version, selectively outputing or suppressing
3909 output of parts of the text.
3910 This implementation contains a 'branch list editor' in a separate
3911 tab of the document settings dialog. Branches are user definable
3912 and have a "display colour" to distinguish them on-screen.
3914 ColorHandler was somewhat cleaned up.
3915 (1) make possible a dynamically growing LColor list by allowing
3916 the graphic context cache to grow along (vector);
3917 (2) eliminate an IMHO unnecessary step in colour allocation.
3919 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3921 * BufferView_pimpl.C: compile fix
3923 2003-08-15 André Pönitz <poenitz@gmx.net>
3925 * rowpainter.C: remove extra metrics calls
3927 * lyxtext.h: merge the two constructors into a single one,
3928 pass reference to owner's par list
3930 * BufferView_pimpl.C:
3934 2003-08-15 André Pönitz <poenitz@gmx.net>
3936 * lyxrow_funcs.[Ch]:
3939 * paragraph_funcs.C:
3944 * text_funcs.C: split LyXText::rowlist_ into individual
3945 Paragraph::rows_ chunks
3948 * BufferView_pimpl.[Ch]:
3951 * text3.C: remove toggleSelection()
3953 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3955 * bufferlist.C: beautify two alerts (shorter text of buttons)
3956 * buffer.C: Remove redundant ' ' from message
3958 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3959 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3960 rename VALIGN_CENTER to VALIGN_MIDDLE
3962 2003-08-11 André Pönitz <poenitz@gmx.net>
3964 * lyxtext.h (getPar):
3965 * text.C: new function
3967 2003-08-11 André Pönitz <poenitz@gmx.net>
3970 * tracer.[Ch]: remove unneeded files
3972 * InsetList.[Ch]: remove resizeInsetsLyXText()
3977 * text3.C: merge insertParagraphs() and appendParagraph()
3978 remove breakAgain(), update()
3980 * BufferView_pimpl.[Ch]:
3981 * bufferview_funcs.[Ch]:
3985 * tabular.C: adjust after text & InsetList changes.
3987 2003-08-08 André Pönitz <poenitz@gmx.net>
3989 * text.C (insertChar, backspace): replace rowlist fiddling
3990 with rebreak of full par
3993 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3994 checkParagraph, updateInset): removed
3996 2003-08-07 André Pönitz <poenitz@gmx.net>
3999 * text3.C: merge some LFUN handlers, remove dead code
4001 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4003 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4005 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4007 * text2.C (DEPM): fix part of bug 1255 and 1256
4009 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4011 * BufferView_pimpl.C (workAreaDispatch): change to use
4012 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4013 that are no mouse related.
4015 2003-08-05 André Pönitz <poenitz@gmx.net>
4018 * BufferView_pimpl.[Ch]:
4019 * bufferview_funcs.C:
4021 * text3.C: rip out "deep update"
4023 * textcursor.[Ch] (last_sel_cursor): remove unused member
4025 2003-08-04 André Pönitz <poenitz@gmx.net>
4028 * BufferView_pimpl.[Ch]:
4029 * ParagraphParameters.C:
4030 * bufferview_funcs.C:
4036 * text3.C: replace "complicated" BufferView::update(...) calls with
4039 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4041 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4043 * Makefile.am (lyx_SOURCES): add paper.h
4045 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4047 * Makefile.am: move things around so that both lyx-qt and
4048 lyx-xforms can be built (according to --with-frontend). Then lyx
4049 is a symbolic link to lyx-[firstfrontend]
4051 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4053 * Always use std::endl with lyxerr
4055 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4057 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4059 2003-08-01 André Pönitz <poenitz@gmx.net>
4062 * BufferView_pimpl.[Ch]:
4064 * text3.C: merge BufferView::repaint() and BufferView::update()
4066 2003-08-01 José Matos <jamatos@lyx.org>
4068 * buffer.[Ch]: file_format is no longer a buffer data element.
4070 2003-08-01 André Pönitz <poenitz@gmx.net>
4075 * text2.C: make redoParagraph more independent of current cursor
4077 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4079 * text2.C: remove unneeded members
4081 2003-07-30 André Pönitz <poenitz@gmx.net>
4083 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4085 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4086 create a single function...
4088 * paragraph_funcs.C (moveItem): ... here.
4091 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4093 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4095 * LColor.[Ch]: Add comment and greyedout logical colors.
4097 2003-07-30 André Pönitz <poenitz@gmx.net>
4099 * tabular.C: don't use Assert too heavily. This crashes where it
4102 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4104 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4105 is disabled (bug 1232)
4107 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4109 * factory.C: limited 'arg' scope
4111 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4113 * factory.C: fixed Note submenu issues
4115 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4117 * factory.C: submenu for Note/Comment/Greyedout
4119 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4122 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4124 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4127 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4128 greyedout. Patch provided by Jürgen Spitzmüller.
4130 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4132 * kbmap.C (read): fix error message when reading bind files
4134 2003-07-29 Angus Leeming <leeming@lyx.org>
4136 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4137 certainly does not do what it purports to do. I am doing it, and
4138 us, a favour by killing it.
4140 2003-07-28 José Matos <jamatos@lyx.org>
4142 * buffer.C (readBody, do_writeFile):
4143 * paragraph.C(readParagraph): \end_document replaces \the_end.
4145 2003-07-29 André Pönitz <poenitz@gmx.net>
4148 * BufferView_pimpl.[Ch]:
4152 * textcursor.[Ch]: remove toggleToggle & Co
4154 2003-07-28 José Matos <jamatos@fep.up.pt>
4156 * buffer.C (readParagraph):
4157 * params_func (readParToken, readParagraph):
4158 * paragraph.C (write): \layout -> \begin_layout.
4160 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * lyxlex_pimpl.C (setFile): clean up slightly.
4164 * bufferparams.h: add compressed var
4166 * buffer_funcs.C (readFile): adjust for LyXLex change
4167 (newFile): ditto + simplify
4169 * buffer.C (writeFile): handle writing of compressed files
4171 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4172 Check if the file is compressed and set a bufferparm if so.
4174 * Makefile.am (lyx_LDADD): remove explicit -lz
4176 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4178 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4179 makeDocBookFile): put the real LyX version in the first line of
4183 * version.C.in: remove lyx_docversion
4185 * tabular.C (write_attribute): add a template-based version to
4186 write enums properly
4188 2003-07-28 André Pönitz <poenitz@gmx.net>
4193 * text3.C: use doubles again for x-coordinates. They are needed.
4195 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * messages.C (getLocaleDir): use lyx_localedir()
4199 * lyxlex_pimpl.C (setFile): compress stuff
4201 * buffer.C (writeFile): add some compression stuff
4202 (do_writeFile): new func, dont call expliti close... will this
4205 * Makefile.am (lyx_LDADD): add -lz
4207 2003-07-28 José Matos <jamatos@fep.up.pt>
4209 * buffer.C: increment file format.
4210 * paragraph_funcs (readParagraph, readParToken):
4211 * paragraph.C (readParagraph): add \end_layout.
4213 2003-07-27 Angus Leeming <leeming@lyx.org>
4215 * Makefile.am: remove special casing for configure-time setting of
4216 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4218 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4219 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4221 2003-07-26 André Pönitz <poenitz@gmx.net>
4223 * paragraph_func.[Ch]:
4224 * paragraph.C (realizeFont): inline it whereever it is used
4229 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4232 2003-07-26 André Pönitz <poenitz@gmx.net>
4236 * text2.C: get rid of LyXText::need_break_row
4238 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * toc.[Ch]: put namespace toc inside namespace lyx
4242 * MenuBackend.C (expandToc2): adjust for lyx::toc
4245 * lyxfunc.C (dispatch): adjust for lyx::find
4247 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4248 lyx::find instead. Reorganize a bit.
4249 (LyXReplace): rename to replace
4250 (LyXFind): rename to find
4252 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4255 2003-07-26 André Pönitz <poenitz@gmx.net>
4257 * text.C (setHeightOfRow): restrict scope of temporary variable
4259 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4260 code (never has been used?)
4262 2003-07-27 Asger Alstrup <alstrup@local>
4264 * text.C (fill): Optimise algorithm to exploit that we can reuse
4265 the LyXFont for many characters.
4266 (setHeightOfRow): Same thing.
4267 (rowBreakPoint): Same thing.
4269 2003-07-26 Asger Alstrup <alstrup@local>
4271 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4273 * text.C (singleWidth): Spurious font copying in hot-spot
4274 singleWidth avoided. Reorder tests for arabic for efficiency.
4276 * text.C (fill): handle empty paragraphs better.
4278 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4281 * encoding.h: add includes
4283 * lyxrc.C: remove reading of bind files
4285 * lyx_main.C (init): setup bindings and menus only if we have a
4288 * kbmap.C (read): new method. Do the actual reading of bind
4291 * converter.C (dvipdfm_options):
4294 (output): adapt PAPER_* enums.
4296 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4298 * bufferparams.h: remove paper-related enums from there
4300 * paper.h: New file. A trivial header file to hold paper-related
4301 enums. It should later expand to contain many paper-related
4304 * lyxrc.C: declare extern displayTranslator
4306 2003-07-27 José Matos <jamatos@fep.up.pt>
4308 * tabular.[Ch] (linuxdoc): add support for tables and figures
4311 2003-07-27 José Matos <jamatos@fep.up.pt>
4313 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4314 consistency in both functions.
4315 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4317 2003-07-26 Asger Alstrup <alstrup@local>
4319 * rowpainter.C (paintRows): Change algorithm to work directly on
4320 the insets rather than asking every character in the document
4321 whether its an inset.
4323 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4325 * buffer.C (openFileWrite): factorize some code
4327 2003-07-26 Angus Leeming <leeming@lyx.org>
4330 * lyx_main.[Ch]: replace occurances of system_tempdir with
4333 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * rename Inset to InsetOld
4337 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4339 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4340 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4341 which I think is a bit clearer. EDIT is gone, since it was
4342 premature optimisation, and broken for mathed anyway.
4343 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4344 with cursor positioning in insets as well (math insets still do not
4345 work, but that's a different story anyway.) It mysteriously
4346 crashes sometimes with undo in the first paragraph, but I'm fairly
4347 confident that this is a compiler bug.
4349 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * paragraph.C (Paragraph): adjust for new clone return type
4353 (copyIntoMinibuffer): ditto
4355 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4357 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4358 by not having a special case, and always doing a full rebreak of
4359 the document after undo.
4361 2003-07-23 Angus Leeming <leeming@lyx.org>
4363 * factory.C (createInset): InsetExternal::setParams now takes a
4366 2003-07-23 Angus Leeming <leeming@lyx.org>
4368 * factory.C (createInset): changed interface to the external and
4369 graphics mailers' string2params functions.
4371 2003-07-23 Angus Leeming <leeming@lyx.org>
4373 * factory.C (createInset): pass a
4374 Buffer const * parameter to InsetExternalMailer's string2params.
4376 2003-07-22 John Levon <levon@movementarian.org>
4378 * Thesaurus.h: include the right aiksaurus header
4380 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4382 * MenuBackend.C (expand): check menu shortcuts unconditionally
4384 2003-07-21 Angus Leeming <leeming@lyx.org>
4386 * factory.C (createInset): pass a
4387 buffer_path parameter to InsetGraphicsMailer's string2params.
4389 2003-07-21 Angus Leeming <leeming@lyx.org>
4391 * BufferView_pimpl.C (buffer):
4394 * lyxfunc.C (dispatch):
4395 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4396 rather than the grfx shortcut.
4398 2003-07-21 André Pönitz <poenitz@gmx.net>
4400 * rowpainter.C: remove unused variables
4403 * tabular_funcs.h: move to tabular.C
4404 * Makefile.am: adjust
4406 * tabular.[Ch]: basic optical cleaning
4408 * author.h: pass references, not values
4410 2003-07-18 André Pönitz <poenitz@gmx.net>
4418 * text3.C: two-phase drawing for InsetText and InsetTabular
4419 some float -> int changes.
4421 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4423 * lyx_main.C: fix the fix
4425 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4427 * lyx_main.C: fix a crash in batch mode if no files specified
4430 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4432 * format.[Ch] (papersize): moved to BufferParams
4433 * converter.[Ch] (dvips_options): moved to BufferParams
4434 (dvipdfm_options): moved to anon namespace
4435 * bufferparams.[Ch]: added above functions.
4437 2003-07-17 André Pönitz <poenitz@gmx.net>
4441 * text2.C: don't call inset->update() anymore
4443 * metricsinfo.[Ch]: add convenience constructor
4445 2003-07-16 André Pönitz <poenitz@gmx.net>
4450 * text2.C: replace the LyXCursor::irow_ member with
4451 on-demand computation of the value
4453 2003-07-16 John Levon <levon@movementarian.org>
4455 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4457 2003-07-15 André Pönitz <poenitz@gmx.net>
4460 * text2.C: remove no more needed refresh_row
4462 2003-07-15 André Pönitz <poenitz@gmx.net>
4467 * text3.C: refresh_status tristate -> need_update bool
4469 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4471 * lyxtext.h (init): remove reinit argument (act as if always true)
4472 * text2.C: adjust to that
4474 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4476 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4477 * text3.C: use it to delete selections in some cases
4478 (bugs 441, 673, 702, 954).
4480 2003-07-14 André Pönitz <poenitz@gmx.net>
4482 * rowpainter.[Ch]: reduce interface
4484 2003-07-14 André Pönitz <poenitz@gmx.net>
4486 * BufferView_pimpl.C:
4487 * text2.C: adjust after removing unused BufferView * argument
4489 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4491 * text2.C (init): fix a crash fired on resize
4493 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4495 * buffer.[Ch]: added new closing signal
4496 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4497 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4498 BufferView::Pimpl via the closing the signal
4500 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4502 * buffer.[Ch]: take out all bv-related from buffer
4504 * BufferView_pimpl.[Ch]: connect to new signals
4505 * CutAndPaste.C: removed useless asserts
4506 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4509 * lyxfunc.C: moved view-related funciontality from vc here
4510 * paragraph.C: removed outdated comments
4513 2003-07-10 André Pönitz <poenitz@gmx.net>
4515 * BufferView_pimpl.C:
4519 * text2.C: remove InsetText::InnerCache, clean up consequences
4521 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4523 * ispell.C: fix two typos in error messages
4525 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4527 * Extend Note inset to other forms of annotation like Comment
4528 and Greyedout. Right button click gives dialog.
4530 Files modified or added (+):
4534 * ControlNote.[Ch] +
4536 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4537 frontends/controllers
4541 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4543 * aspell.C: add missing namespace lyx::support
4545 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4547 * BufferView.[Ch] (newFile): Add
4548 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4549 * LaTeX.[Ch] (message): added this signal and use it
4550 * buffer.[Ch] (busy, message): added these signals and use them
4551 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4555 * importer.C: use buffer signals instead of direct bv calling
4556 * lyx_cb.[Ch] (ShowMessage): removed
4559 * paragraph_funcs.C:
4560 * text2.C: use buffer signals
4562 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * introduce namespace lyx::graphics
4566 2003-07-02 André Pönitz <poenitz@gmx.net>
4568 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4570 2003-07-01 André Pönitz <poenitz@gmx.net>
4577 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4578 text*.C to text_func.C
4580 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * introduce namespace lyx::support
4584 2003-06-30 André Pönitz <poenitz@gmx.net>
4589 * text.C: re-enable --with-included-string
4591 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * textcursor.C: add <config.h>
4595 * text.C (getWord): remove const from word_location arg
4597 * lyxvc.C (getLogFile): fix const type order
4599 * lyxtext.h: remove const from word_location arg, add arg name
4601 * lyxlayout.h: currect type on labeltype.
4603 * importer.C: correct \file
4605 * converter.C (intToFormat): use std:: on ret val, ws changes
4607 * bufferlist.h: correct \file
4609 * buffer.C (makeLinuxDocFile): fix const type order
4610 (makeDocBookFile): ditto
4611 (fillWithBibKeys): use std:: on stdlib args.
4613 * CutAndPaste.C: fix authors.
4614 (availableSelections): use std:: on return vector
4616 2003-06-27 André Pönitz <poenitz@gmx.net>
4618 * BufferView_pimpl.C:
4619 * bufferview_funcs.C:
4627 * text3.C: remove LyXCursor::row_ member
4630 * text.C: rename fullRebreak() to partialRebreak() and implement
4631 a fullRebreak() that really bereks fully
4633 * textcursor.h: new struct for cursor-related data
4635 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4637 * lyx_main.C (LyX): get full path of document loaded on the
4640 2003-06-26 André Pönitz <poenitz@gmx.net>
4642 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4643 remove unused/broken operator>,<,>=.
4645 * text.C: remove only use of broken operator<= in an Assert().
4647 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4649 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4650 moved errorlist_.clear to showErrorList
4652 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4654 * converter.C (scanLog, runLaTeX):
4655 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4656 move the bv->showErrorList call to the callers
4657 * lyxfunc.C: i.e. here...
4659 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4660 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4661 namespace, the second to...
4662 * buffer_funcs (BufferFormat, parseErrors): added
4663 * errorlist.C (ErrorList(TeXErrors const &)): removed
4665 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4667 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4669 2003-06-24 "Garst R. Reese" <reese@isn.net>
4673 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4675 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4677 * version.C.in: change docversion to 1.4
4679 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4681 * buffer.C: fix a bug just introduced
4683 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4685 * buffer.[Ch]: added the parseError signal and use it, removed
4687 * BufferView.[Ch] (addError): moved to ...
4688 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4689 to the Buffer::parseError signal to catch (guess what) parse errors
4690 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4692 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4694 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4695 ability to create a buffer and to return an existing one from
4696 the list. Moved these functions to...
4697 * buffer_funcs.[Ch]: added
4698 * BufferView.[Ch] (loadLyXFile): added
4699 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4700 job removed from bufferlist::loadLyXFile.
4701 * buffer.C (setReadOnly): make it work without view
4702 (i.e added an if (users))
4704 2003-06-19 Angus Leeming <leeming@lyx.org>
4707 * LyXAction.C (init):
4708 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4709 with LFUN_DIALOG_SHOW <name> <data>.
4711 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4713 * CutAndPaste.C (availableSelections): small compilation fix for
4714 ancient (gcc 2.9x) compilers
4716 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * text3.C (cursorNext): add tmp var
4720 * text2.C (updateCounters): for function calling out of for clause
4721 (replaceSelectionWithString): ditto
4722 (insertStringAsParagraphs): ditto
4723 (getColumnNearX): add tmp var
4724 (setCursorFromCoordinates): add tmp var
4725 (cursorDownParagraph): add tmp var
4726 (deleteEmptyParagraphMechanism): add tmp var
4728 * text.C (insertChar): add tmp var
4730 * rowpainter.C (paintDepthBar): add tmp var
4732 * CutAndPaste.C (availableSelections): potentially check all
4733 paragraphs in a cut to fill the shown strings.
4735 2003-06-18 André Pönitz <poenitz@gmx.net>
4737 * kbmap.[Ch]: use vector<> instead of list<>
4739 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4741 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4742 pasteSelection with index
4744 * text2.C (pasteSelection): modify, call pasteSelection with index
4746 * paragraph.C (asString): reimplement version with no interval to
4747 call the one with interval.
4749 * lyxtext.h: add index arg to pasteSelection
4751 * MenuBackend.C (MenuItem): handle PasteRecent
4752 (Menu::read::Menutags): add md_pasterecent
4754 (expandPasteRecent): new function
4757 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4759 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4761 (availableSelections): new function
4763 2003-06-17 Angus Leeming <leeming@lyx.org>
4765 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4767 2003-06-17 Angus Leeming <leeming@lyx.org>
4770 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4772 * lyxfunc.C (dispatch): invoke it.
4774 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4776 * iterators.C (operator++, ParPosition): reintroduce some
4777 const_cast for the benefit of older compilers.
4779 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4781 * text3.C (dispatch): do not modify clipboard when doing
4782 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4783 LFUN_DELETE_SKIP on a selection selection
4785 2003-06-16 André Pönitz <poenitz@gmx.net>
4791 * tabular.[Ch]: IU of clone() and getLabelList();
4793 2003-06-13 André Pönitz <poenitz@gmx.net>
4795 * tabular.h: compactification
4797 2003-06-12 André Pönitz <poenitz@gmx.net>
4801 * tabular_funcs.h: some renaming plus whitespace
4803 2003-06-12 André Pönitz <poenitz@gmx.net>
4806 * BufferView_pimpl.C:
4812 * toc.C: Return a Paragraph & for ParIterator::operator*()
4814 2003-06-11 John Levon <levon@movementarian.org>
4818 * ToolbarBackend.C: add "Toolbars" section and
4821 2003-06-10 Angus Leeming <leeming@lyx.org>
4824 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4826 * lyxfunc.C (dispatch): invoke it.
4828 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * main.C: protect <ios> with HAVE_IOS
4831 (main): protect sync_with_stdio with HAVE_IOS
4833 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4835 * text2.C (cutSelection): adjust
4836 (pasteSelection): adjust
4838 * messages.C: handle get of empty string
4840 * main.C (main): use sync_with_stdio(false)
4842 * lyxfunc.C (dispatch): adjust
4844 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4845 (WriteAs): remove unneeded BufferView arg.
4847 * bufferparams.h: use correct types on papersize, papersize2 and
4850 * bufferparams.C (readToken): adjust for type
4851 (writeLaTeX): add missing cases to switch.
4853 * bufferlist.C (quitWriteBuffer): adjust
4856 * buffer.C (asciiParagraph): remove some commented code.
4858 * CutAndPaste.C: remove current_view extern variable.
4859 (cutSelection): add BufferParams arg.
4860 (eraseSelection): add BufferParams arg.
4861 (pasteSelection): add Buffer const & arg
4863 2003-06-07 John Levon <levon@movementarian.org>
4866 * paragraph_funcs.C:
4867 * paragraph_pimpl.C:
4871 * paragraph.C: allow InsetERT to freely space lines,
4872 and some consolidation of code
4874 2003-06-06 José Matos <jamatos@fep.up.pt>
4876 * buffer.C (makeDocBookFile): fix bug #821
4878 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4880 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4882 2003-06-04 Angus Leeming <leeming@lyx.org>
4884 * buffer.C: bump format to 224.
4886 2003-06-05 André Pönitz <poenitz@gmx.net>
4888 * text2.C (redoParagraphs): remove two const_cast<>
4890 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4892 * ParagraphList.h: remove last remnants of NO_STD_LIST
4894 2003-06-03 Angus Leeming <leeming@lyx.org>
4896 * factory.C (createInset): small change to the way InsetExternal's params
4899 2003-06-04 André Pönitz <poenitz@gmx.net>
4901 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4903 * paragraph_pimpl.h:
4904 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4906 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4908 * undo_funcs.C: make some simple cases of undo work again
4910 2003-06-03 John Levon <levon@movementarian.org>
4912 * ispell.C: HPUX doesn't have sys/select.h
4915 2003-06-03 John Levon <levon@movementarian.org>
4917 * CutAndPaste.C: update tabular and include inset
4922 * paragraph.C: remove owningBuffer(), don't pass Buffer
4925 * factory.C: insetGraphicsParams changed
4927 2003-06-02 John Levon <levon@movementarian.org>
4933 * text3.C: remove insetparent
4935 2003-06-02 John Levon <levon@movementarian.org>
4938 * buffer.C: fix inset_iterator.end(), move out of line
4941 2003-06-01 John Levon <levon@movementarian.org>
4943 * text3.C: use a proper cut/paste when doing inset
4944 insert (from Jürgen Spitzmüller)
4946 2003-06-01 John Levon <levon@movementarian.org>
4948 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4950 2003-05-30 André Pönitz <poenitz@gmx.net>
4952 * rowpainter.C: unify second drawing phase
4954 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * trans_mgr.C: remove one case of current_view
4958 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4960 * paragraph_funcs.h: remove paragraph.h include
4962 * paragraph.h: delete NO_STD_LIST stuff
4964 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4966 * buffer.h: remove paragraph.h include
4968 * ParagraphList.C: delete file
4970 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4972 * toc.C (getTocList): adjust
4974 * paragraph_pimpl.C (validate): adjust
4976 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4978 * paragraph.C (Paragraph): adjust
4979 (getPositionOfInset): use const_iterator, adjust
4980 (bibitem): use const_iterator, adjust
4981 (setInsetOwner): adjust
4983 * iterators.C (operator++): adjust
4985 * InsetList.[Ch]: Replace selfmade iterator with standard
4986 vector::iterator also introduce const_iterator. Remove getPos,
4987 getInset and setInset from InsetTable. Adjust accordingly.
4989 * BufferView.C (lockInset): adjust
4990 (ChangeInsets): adjust
4992 * tabular.[Ch]: delete commented same_id functions
4994 2003-05-28 John Levon <levon@movementarian.org>
4996 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4998 2003-05-28 André Pönitz <poenitz@gmx.net>
5000 * metricsinfo.[Ch]: remove 'fullredraw' member
5002 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5004 * lyxtextclass.C (operator): remove caching.
5006 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * text2.C (cursorBottom): adjust
5011 (setCounter): use ParagraphList::find, adjust
5013 * text.C (workWidth): use ParagraphList::find, adjust
5015 * lyxcursor.C (LyXCursor): adjust
5017 * buffer.C (inset_iterator): adjust
5019 * ParagraphList.h: make iterator(value_type) private, make
5020 ParagraphList a friend of iterator.
5022 * ParagraphList.C (find): new function
5024 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5026 2003-05-27 André Pönitz <poenitz@gmx.net>
5028 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5030 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5032 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5034 2003-05-26 John Levon <levon@movementarian.org>
5036 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5038 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * remove same_id from function signatures, adjust.
5042 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5046 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5048 * paragraph.C (Paragraph): get rid of same_ids parameter
5050 * ParagraphList.C (insert): adjust
5053 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * paragraph_funcs.C (breakParagraph): adjust
5056 (breakParagraphConservative): adjust
5058 * buffer.C (readParagraph): adjust
5060 * ParagraphList.C (insert): take a reference instead of a pointer
5063 * paragraph.[Ch] (id): new function
5065 * bufferlist.C (newFile): adjust
5067 * ParagraphList.C (ParagraphList): adjust
5069 (push_back): take a reference instead of a pointer.
5071 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5073 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5076 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5077 set else use old code.
5079 * ParagraphList.C: remove all NO_NEXT code and only compile this
5080 code of NO_STD_LIST is set.
5082 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5084 * BufferView_pimpl.C:
5094 * graphics/GraphicsConverter.C:
5095 * graphics/PreviewLoader.C: header adjustment
5097 2003-05-23 Angus Leeming <leeming@lyx.org>
5099 * LaTeXFeatures.[Ch] (useBabel): new method.
5100 * bufferparams.C (writeLaTeX): use it.
5102 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * ParagraphList.h (set): remove unused function.
5106 2003-05-23 André Pönitz <poenitz@gmx.net>
5109 * BufferView_pimpl.C:
5113 * undo_funcs.C: setUndo reworked
5115 * iterators.[Ch]: add access to topmost ParagraphList
5117 * lyxtext.[Ch] (workWidth): add a const
5119 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5121 * texrow.[Ch] (increasePos): remove function
5122 * exporter.C (export): removed unused var and outdated comment
5124 2003-05-23 Angus Leeming <leeming@lyx.org>
5126 * latexrunparams.h: rename fragile as moving_arg.
5127 * paragraph.C (simpleTeXOnePar): ditto.
5128 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5130 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5134 (textUndoOrRedo): comment out a currently unused var.
5136 * paragraph.h (NO_NEXT): enable NO_NEXT
5138 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5140 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5142 * exporter.C (Export): adjust for removeAutoInsets removal.
5144 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5146 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5148 * BufferView.[Ch] (removeAutoInsets): delete function
5150 2003-05-22 Angus Leeming <leeming@lyx.org>
5152 * latexrunparams.h: add a free_spacing variable.
5154 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5155 to pass moving_arg, as the data is stored in runparams.fragile.
5157 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5158 to Inset::latexOptional or to simpleTeXOnePar.
5160 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5161 free_spacing arg to Inset::latexOptional.
5163 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5166 2003-05-22 Angus Leeming <leeming@lyx.org>
5168 * latexrunparams.h: add fragile and use_babel variables.
5170 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5171 * buffer.C (makeLaTeXFile): store this returned value in
5172 runparams.use_babel, thus passing it to the inset::latex methods.
5174 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5175 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5177 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5178 longer has a fragile arg, as it is stored in runparams.fragile.
5180 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5181 moving_arg parameter as the data is stored in runparams.fragile.
5183 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5184 a fragile parameter as the data is stored in runparams.fragile.
5186 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5190 2003-05-22 Angus Leeming <leeming@lyx.org>
5192 * latexrunparams.h: add a 'bool nice' which defaults to false.
5194 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5195 now encapsulated within runparams.
5197 * bufferlist.C (updateIncludedTeXfiles):
5198 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5200 2003-05-22 Angus Leeming <leeming@lyx.org>
5202 * latexrunparams.h: new file containing struct LatexRunParams.
5203 * Makefile.am: add new file.
5205 * LaTeX.[Ch] (c-tor, run):
5206 * buffer.[Ch] (makeLaTeXFile):
5207 * bufferlist.[Ch] (updateIncludedTeXfiles):
5208 * converter.C (convert, scanLog):
5209 * converter.[Ch] (runLaTeX):
5210 * exporter.C (Export):
5211 * paragraph.[Ch] (simpleTeXOnePar):
5212 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5213 * paragraph_funcs.[Ch] (latexParagraphs):
5214 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5215 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5216 pass around a LatexRunParams parameter.
5218 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * paragraph.[Ch]: remove unused constructor
5222 * ParagraphList.C (erase): new function, taking two iterators
5224 2003-05-22 André Pönitz <poenitz@gmx.net>
5226 * undo_funcs.C: remove duplicated code
5228 * iterator.[Ch]: operator=
5230 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * tabular.C (SetMultiColumn): ws changes
5234 * rowpainter.C (paintFirst): get rid of a ->previous
5236 * lyx_cb.C (getPossibleLabel): parlist simplification
5238 * BufferView.C (ChangeInsets): simplify slightly.
5240 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5242 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5243 * lfuns.h: new LFUN_SPACE
5244 * lyxfunc.C: protected space has a new lfun
5245 * paragraph_funcs.C: read new space insets
5247 * factory.C: handle new space insets
5249 2003-05-22 André Pönitz <poenitz@gmx.net>
5252 * BufferView_pimpl.C:
5255 * undo_funcs.C: return a ParIterator from getParFromID.
5257 * iterators.[Ch]: add two const's
5259 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * toc.C (getTocList): adjust
5263 * iterators.[Ch]: rework for parlist
5265 * buffer.C (par_iterator_begin): adjust
5266 (par_iterator_end): adjust
5268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5270 * BufferView.C (removeAutoInsets): adjust
5271 (ChangeInsets): adjust
5273 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5275 * text.C (top_y): fix bug 1110
5277 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5279 * errorlist.[Ch]: added
5282 * BufferView_pimpl.C:
5283 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5286 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * Makefile.am: ensure that lyx is relinked upon changes to the
5289 various "convenience" libs.
5291 2003-05-20 Angus Leeming <leeming@lyx.org>
5293 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5294 files are compiled in alphabetical order again.
5296 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5298 2003-05-19 Angus Leeming <leeming@lyx.org>
5300 * gettext.[Ch]: remove "char const * _(char const *)".
5302 2003-05-19 André Pönitz <poenitz@gmx.net>
5304 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5313 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5315 2003-05-19 André Pönitz <poenitz@gmx.net>
5319 * lyxtextclass.[Ch]:
5321 * paragraph_funcs.[Ch]:
5323 * text3.C: more insetenv work
5325 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5327 * ParagraphParameters.C (params2string): small bug fixed
5329 2003-05-16 André Pönitz <poenitz@gmx.net>
5332 * bufferview_funcs.C: patch from Kornel Benko to prevent
5333 crash when _(...) is called twice in a statement
5335 2003-05-16 André Pönitz <poenitz@gmx.net>
5342 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5344 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5346 * lyx_main.C (init): remove spurious static_cast
5348 2003-05-14 André Pönitz <poenitz@gmx.net>
5350 * BufferView.C: fix format string
5352 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5354 * BufferView.[Ch] (insertErrors): removed
5355 * BufferView.[Ch] (showErrorList): added
5356 * buffer.C (runChkTeX):
5357 * converter.C (scanLog): call showErrorList instead of inserterrors
5359 2003-05-13 André Pönitz <poenitz@gmx.net>
5361 * BufferView_pimpl.C:
5363 * bufferview_func.C:
5370 * tabular_funcs.h: tostr() from its own header
5372 * ParagraphParameters.C:
5377 * text3.C: STRCONV()
5379 2003-05-12 André Pönitz <poenitz@gmx.net>
5382 * BufferView_pimpl.C:
5386 * ParagraphParameters.C:
5390 * bufferview_funcs.C:
5403 * paragraph_funcs.C:
5407 * text3.C: boost::format -> bformat all over the place
5410 2003-05-09 André Pönitz <poenitz@gmx.net>
5412 * LColor.[Ch]: Pimpl the #include <map> away
5414 2003-05-09 John Levon <levon@movementarian.org>
5416 * bufferlist.C: never remove emergency saves
5418 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * Makefile.am: better lib building
5422 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5426 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5427 (simpleTeXSpecialChars): adjust
5428 (simpleTeXSpecialChars): adjust
5429 * paragraph.C (simpleTeXOnePar): adjust
5430 * buffer.C (makeLaTeXFile): adjust
5432 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5434 * text2.C (changeDepth): parlist cleanup
5435 (getColumnNearX): ditto
5437 * rowpainter.C (getLabelFont): parlist cleanup
5439 * bufferlist.C (newFile): parlist cleanup
5441 * CutAndPaste.C (eraseSelection): parlist cleanup
5443 * BufferView_pimpl.C (trackChanges): parlist cleanup
5446 * BufferView.C (lockInset): parlist cleanup.
5447 (ChangeInsets): ditto
5449 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * CutAndPaste.h: Update file header.
5453 * CutAndPaste.C: Update file header.
5454 Store the parts cut out of the Document in a limited_stack.
5455 (copySelection): adjust
5456 (pasteSelection): new function, takes the index in the limited stack.
5457 (nrOfParagraphs): adjust
5458 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5459 simplify error inset insertion.
5460 (checkPastePossible): adjust
5462 2003-05-06 John Levon <levon@movementarian.org>
5464 * text2.C: don't cast wrap inset to float
5466 2003-05-05 André Pönitz <poenitz@gmx.net>
5469 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5471 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5472 few naked Paragraph *.
5474 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5476 * bufferparams.C: Output warning if a document with missing
5477 TeX document class is loaded
5478 * exporter.C: Disable TeX exports if the document class is missing
5481 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5482 isTeXClassAvailable()
5484 2003-05-03 John Levon <levon@movementarian.org>
5487 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5488 explicit cursor show/hide
5490 * BufferView_pimpl.h:
5491 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5492 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5494 * lyxfunc.C: hide cursor before dispatching.
5499 * text3.C: remove explicit cursor hides
5501 2003-05-02 André Pönitz <poenitz@gmx.net>
5503 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5506 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5509 * text2.C: tiny whitespace
5511 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * undo_funcs.C: almost only ws changes.
5515 * ParagraphList.C (splice): just return if pl is empty.
5517 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * ParagraphList.C (splice): new function.
5521 * CutAndPaste.C (pasteSelection): use it
5523 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * CutAndPaste.C (pasteSelection): remove the last next and
5526 previous from this file.
5528 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * CutAndPaste.C (pasteSelection): more clean up, user proper
5531 ParagraphList functions for pasteing.
5533 * ParagraphList.C (insert): new function, three arg insert
5535 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * ParagraphList.C (insert): new function, three arg insert
5539 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5542 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5546 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5550 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5553 (copySelection): clean up a bit.
5554 (pasteSelection): use make_pair
5556 * ParagraphList.C (ParagraphList): implement copy constructor
5557 (operator=): implement, base on copy constructor.
5560 * paragraph.C (erase): return a bool
5562 * paragraph_pimpl.C (erasePos): remove function, move contents...
5563 (erase): ... here. Return a bool.
5564 (erase): call erase instead of erasePos.
5566 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5568 * ParagraphList.h: define PitPosPair
5569 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5570 ParagraphList, fix a bug on pasting multiple pars
5571 * text2.C: change interface to C&P
5573 2003-04-30 André Pönitz <poenitz@gmx.net>
5575 * undo_func.C: revert part of yesterday's patch 2
5577 2003-04-30 John Levon <levon@movementarian.org>
5579 * LColor.C: s/tabular/table/
5581 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * text3.C (dispatch): do not convert iterator -> pointer
5584 * undo_funcs.C (setCursorParUndo): ditto
5585 * text_funcs.C (transposeChars): ditto
5587 * text2.C (setLayout): ws changes only
5589 * text.C (breakParagraph): do not convert iterator -> pointer
5591 (acceptChange): ditto
5592 (rejectChange): ditto
5597 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5600 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5602 * text3.C (gotoInset): YABG (yet another bad getChar)
5604 2003-04-29 André Pönitz <poenitz@gmx.net>
5606 * paragraph.h: make operator= private unimplemented as long as
5609 * ParagraphList.C: whitespace
5612 * paragraph_pimpl.[Ch]:
5613 * paragraph_funcs.C:
5615 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5618 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5620 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5622 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5623 * paragraph.[Ch] (erase):
5624 * paragraph_pimpl.[Ch] (erase): change return type and value
5625 * text2.C (cutSelection): some rework
5627 2003-04-28 John Levon <levon@movementarian.org>
5629 * bufferlist.C: changes for unsaved changes dialog
5631 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * bufferlist.C (newFile): set language (messages_) for new
5636 * buffer.C (readFile): ws changes only.
5638 2003-04-28 André Pönitz <poenitz@gmx.net>
5643 * BufferView_pimpl.C:
5644 * BufferView.C: getParFromID related ParagraphList::iterator changes
5646 2003-04-28 André Pönitz <poenitz@gmx.net>
5648 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5651 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * messages.C: remove one more localedir class variable.
5655 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * messages.C (getLocaleDir): singleton generation function
5659 (Messages): add a default constructor.
5661 * main.C (main): do not setup localedir here, do not call
5664 * gettext.C (_): use it.
5665 (gettext_init): delete funciton
5667 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * gettext.C (getLyXMessages): new singleton generating function.
5671 * buffer.C (updateDocLang): adjust
5673 * Makefile.am (messages.o): add target
5674 (main.o): remove target
5676 2003-04-27 John Levon <levon@movementarian.org>
5681 * lyxvc.C: specify cancel button in Alert::prompt
5683 2003-04-26 John Levon <levon@movementarian.org>
5688 * LyXAction.C: add LFUN_INSET_SETTINGS
5690 * lyxfunc.C: don't enable tabular-feature when there's
5691 just any locking inset
5693 2003-04-26 John Levon <levon@movementarian.org>
5695 * bufferlist.C: re-add Cancel to buffer close question
5697 * lyxfunc.C: fix import UI a bit
5699 2003-04-25 John Levon <levon@movementarian.org>
5701 * gettext.C: remove the broken asserts for now
5703 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * messages.C: make case where setlocale cannot comply work better.
5707 * buffer.C (updateDocLang): new function
5708 (changeLanguage): use it
5711 * text2.C (setCounter): use B_ a bit.
5713 * lyxlayout.C (Read): be sure to trim the label strings.
5715 * messages.C (Messages): fix typo in comment
5717 * buffer.C (readFile): set message_ after file is loaded.
5718 (makeDocBookFile): remove double return
5719 (changeLanguage): reset message_ upon language change.
5720 (B_): new func, use this to get translated buffer strings.
5722 * main.C: add myself and Jean Marc as authors.
5724 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * messages.[hC]: pimplify Messages, and three different pimpls to be
5727 used in different circumstances.
5729 * gettext.[Ch]: change for use with new message code.
5731 2003-04-24 André Pönitz <poenitz@gmx.net>
5733 * factory.C: support for eqref
5735 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * messages.[Ch]: add missing char
5739 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5741 * messages.[Ch]: New files
5743 2003-04-18 John Levon <levon@movementarian.org>
5747 * BufferView_pimpl.C:
5751 * text2.C: remove layout-copy/paste (bug 778)
5753 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5755 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5757 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5759 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5760 if they succeed. Act accordingly.
5762 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * text2.C (setCharFont): adjust
5765 (setCounter): adjust
5766 (insertStringAsLines): adjust
5768 * text.C (leftMargin): adjust
5769 (setHeightOfRow): adjust
5771 * rowpainter.C (paintFirst): adjust
5774 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5776 (isFirstInSequence): ditto
5777 (getEndLabel): ditto
5780 * paragraph.C (getParLanguage): comment out some hard stuff.
5782 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5784 (simpleDocBookOnePar): ditto
5785 (makeDocBookFile): use ParagraphList::iterator
5787 * CutAndPaste.C (pasteSelection): adjust
5789 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * text2.C (getFont): adjust
5792 (getLayoutFont): adjust
5793 (getLabelFont): adjust
5795 * paragraph_funcs.C (TeXOnePar): adjust
5797 * buffer.C (simpleLinuxDocOnePar): adjust
5798 (simpleDocBookOnePar): adjust
5800 * CutAndPaste.C (pasteSelection): adjust
5802 * BufferView.C (getEncoding): adjust
5804 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5806 2003-04-16 John Levon <levon@movementarian.org>
5808 * lyxfind.C: use parlist stuff for search/changes
5810 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5814 * text2.C (deleteEmptyParagraphMechanism): adjust
5816 * text2.[Ch] (ownerParagraph): delete func (both of them
5818 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5822 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * ParagraphList.C: prepare for NO_NEXT
5826 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5828 * text2.C (getFont): adjust
5829 (getLayoutFont): adjust
5830 (getLabelFont): adjust
5832 * paragraph.C (getFont): adjust
5833 (getLabelFont): adjust
5834 (getLayoutFont): adjust
5836 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5838 2003-04-15 John Levon <levon@movementarian.org>
5842 * lyx_main.C: handle Include in .ui files
5844 2003-04-15 John Levon <levon@movementarian.org>
5846 * MenuBackend.C: make the doc files length shorter
5849 * ToolbarBackend.C: handle toolbar placement flags,
5852 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5857 * paragraph_funcs.C (TeXOnePar): adjust
5859 * paragraph.C (getLabelFont): add outerfont arg, adjust
5860 (getLayoutFont): ditto
5861 (simpleTeXOnePar): adjust
5863 * paragraph_pimpl.C (realizeFont): delete func
5865 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5867 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5868 row argument, constify cur argument.
5870 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * text2.C (getFont): adjust
5873 (getLayoutFont): adjust
5874 (getLabelFont): adjust
5876 * paragraph_funcs.C (TeXOnePar): adjust
5877 (outerFont): new func...
5878 (realizeFont): ...moved out from here, changed this to facilitate
5881 * paragraph.C (getFont): take outerfont as arg, adjust
5882 (simpleTeXOnePar): add outerfont arg, adjust
5884 * buffer.C (simpleLinuxDocOnePar): adjust
5885 (simpleDocBookOnePar): adjust
5887 * CutAndPaste.C (pasteSelection): adjust
5889 * BufferView.C (getEncoding): adjust
5891 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5893 * text2.C (setCharFont): adjust
5894 (setCounter): adjust
5896 * text.C (leftMargin): adjust
5897 (setHeightOfRow): adjust
5899 * rowpainter.C (paintFirst): adjust
5902 * paragraph_pimpl.C (realizeFont): adjust
5904 * paragraph.C (isFirstInSequence): move from here...
5905 * paragraph_funcs.C (isFirstInSequence): ...to here
5907 * paragraph.C (outerHook): move from here...
5908 * paragraph_funcs.C (outerHook): ...to here
5910 * paragraph.C (depthHook): move from here...
5911 * paragraph_funcs.C (depthHook): ...to here
5913 * paragraph.C (getEndLabel): move from here...
5914 * paragraph_funcs.C (getEndLabel): ...to here
5916 * text2.C (realizeFont): move from here...
5917 * paragraph_funcs.C (realizeFont): ...to here
5919 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5923 2003-04-14 Angus Leeming <leeming@lyx.org>
5925 * LColor.[Ch]: scrap LColor mathcursor.
5927 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * lyxlex.[Ch] (text): delete function
5930 * trans.C (Load): adjust
5931 * paragraph_funcs.C (readParToken): adjust
5933 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5936 vector<char> instead of a char[].
5938 * lyxlex_pimpl.C (getString): adjust
5940 (lex): use getString
5944 * lyxlex.C (text): use pimpl_->getString()
5948 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5951 (makeFontEntriesLayoutSpecific): temp var for par.size()
5952 (setLayout): temp var for ownerParagraphs().end()
5953 (fullRebreak): temp var for rows().end()
5954 (selectionAsString): temp var for boost::next(startpit), realize
5955 that the while really is a regular for loop.
5956 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5957 setCursor in one place.
5958 (setParagraph): temp vr for ownerParagraphs().end()
5959 (updateCounters): make the while loop a for loop
5960 (cutSelection): temp var for ownerParagraphs().end()
5961 (updateInset): make the do {} while() a regular for loop
5962 (getCursorX): use temp vars
5963 (setCurrentFont): use temp vars
5964 (getColumnNearX): use temp vars
5966 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * text.C (transformChar): use temp var for getChar
5969 (computeBidiTables): use temp var for row->par()
5970 (fill): move temp vars for row->par() and pit->layout() earlier in
5972 (labelFill): use temp var for row->par()
5973 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5974 asc and desc, realize that pit never changes and that firstpit is
5975 just a duplicate and not needed. Exchange rit->par() with pit in a
5977 (breakAgain): use a temp var for boost::next(rit)
5978 (breakAgainOneRow): ditto
5979 (breakParagraph): use a temp var for rows().begin()
5980 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5981 (cursorRightOneWord): use temp var for cursor.par() and
5982 cursor.pos(), remove usage of tmpcursor.
5983 (cursorLeftOneWord): use temp var for cursor.par() and
5984 cursor.pos() only set cur at end of function.
5986 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * text.C, text2.C: exchange all usage of Paragraph::next with
5989 boost::next(ParagraphList::iterator)
5991 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5993 * text2.C (cursorTop): simplify implementation
5994 (cursorBottom): ditto
5995 (setParagraph): use ParagraphList::iterator
5996 (setCurrentFont): adjust
5997 (getColumnNearX): adjust
5998 (cursorRight): adjust
5999 (cursorLeft): remove usage of Paragraph::previous
6000 (cursorUpParagraph): ditto
6001 (deleteEmptyParagraphMechanism): slight cleanup
6003 * text.C (isBoundary): take a Paragraph const & instead of a
6005 (addressBreakPoint): ditto
6006 (leftMargin): remove usage of Paragraph::previous.
6007 (setHeightOfRow): ditto
6008 (cursorLeftOneWord): ditto
6009 (selectNextWordToSpellcheck): ditto
6012 (breakParagraph): remove one usage of Paragraph::next
6013 (redoParagraph): ditto
6014 (acceptChange): ditto
6015 (insertChar): adjust
6016 (rowBreakPoint): adjust
6018 * bufferview_funcs.C (toggleAndShow): adjust
6020 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6022 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6023 methods to access it.
6025 * text.C: Added updateRowPositions to compute all row positions.
6026 Make top_y and getRowNearY() to use the cached y position
6028 2003-04-11 John Levon <levon@movementarian.org>
6030 * text.C (rowBreakPoint): reintroduce the labelEnd
6031 checks, code copied from the row fill stuff. Deep voodoo.
6033 * text.C (fill): add a comment and debugging for the
6036 2003-04-11 John Levon <levon@movementarian.org>
6038 * text.C: make sure fullrow insets get wrapped to the next line,
6039 even when they're in a manual label
6041 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6043 * text2.C (insertParagraph): make it take ParagraphList::iterator
6045 (setLayout): make it return ParagraphList::iterator
6046 (redoParagraphs): ditto
6048 (checkParagraph): ditto
6050 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6052 * text2.C: adjust several funcs.
6053 (realizeFont): take a ParagraphList::iterator as arg.
6054 (getLayoutFont): ditto
6055 (getLabelFont): ditto
6056 (setCharFont): ditto
6058 * text.C: adjust several funcs.
6060 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6062 * text.C (selectNextWordToSpellcheck): don't accidentally
6065 2003-04-10 John Levon <levon@movementarian.org>
6067 * ToolbarBackend.C (getIcon): special handling for
6070 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6072 * text2.C (cursorRight): a getChar assert fixed
6074 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * text2.C (getFont): change to take a ParagraphList::iterator
6077 instead of Paragraph*
6078 Adjust several functions.
6080 * text.C (transformChar): change to take a ParagraphList::iterator
6081 instead of Paragraph*
6082 (singleWidth): ditto
6083 Adjust several functions.
6085 * rowpainter.C: adjust several functions
6086 * rowpainter.h:store a ParagraphList::iterator and not a
6090 2003-04-09 John Levon <levon@movementarian.org>
6095 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6096 and the "help" bits as well
6098 2003-04-09 John Levon <levon@movementarian.org>
6101 * ToolbarBackend.C: allow multiple toolbars
6103 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * undo_funcs.C (setCursorParUndo): adjust
6107 * text_funcs.C (transposeChars): adjust
6109 * text3.C (gotoNextInset): adjust
6112 * text2.C (setLayout): adjust
6113 (changeDepth): adjust
6115 (redoParagraphs): adjust
6116 (selectionAsString): adjust
6117 (setParagraph): adjust
6118 (insertInset): adjust
6119 (cutSelection): adjust
6120 (copySelection): adjust
6121 (pasteSelection): adjust
6122 (insertStringAsLines): adjust
6123 (updateInset): adjust
6124 (setCursor): change to take a ParagraphList::iterator parameter
6125 (setCursorIntern): change to take a ParagraphList::iterator parameter
6126 (setCurrentFont): adjust
6127 (cursorLeft): adjust
6128 (cursorRight): adjust
6129 (deleteEmptyParagraphMechanism): adjust
6131 * text.C (breakParagraph): adjust
6132 (insertChar): adjust
6133 (acceptChange): adjust
6134 (rejectChange): adjust
6135 (selectNextWordToSpellcheck): adjust
6136 (changeCase): adjust
6140 * lyxfind.C (SearchForward): adjust
6141 (SearchBackward): adjust
6142 (nextChange): adjust
6144 * lyxcursor.C (par): adjust
6146 * lyxcursor.h: store a ParagraphList::iterator instead of a
6149 * lyx_cb.C (getPossibleLabel): adjust
6151 * bufferview_funcs.C (toggleAndShow): adjust
6153 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6156 * BufferView.C (removeAutoInsets): adjust
6157 (lockedInsetStoreUndo): adjust
6159 2003-04-09 John Levon <levon@movementarian.org>
6161 * ToolbarBackend.C: try icon without argument
6162 if with argument fails
6164 2003-04-08 John Levon <levon@movementarian.org>
6167 * ToolbarBackend.C: add getIcon(), handle tooltip,
6168 and change from "Icon" to "Item".
6170 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6172 * BufferView.C (lockInset): another bad getchar crunched
6174 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6176 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6179 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6181 * lyxfind.C (searchForward, searchBackwards): bug 782
6183 2003-04-07 John Levon <levon@movementarian.org>
6185 * paragraph.C: remove dead comment
6187 * text.C: remove troublesome depth-fiddling code
6188 in leftMargin() and rightMargin() (bug 1017)
6190 * text.C: fix breaking of rows in nested lists
6193 * text2.C (updateCounters): fix up depth values
6196 2003-04-07 John Levon <levon@movementarian.org>
6198 * BufferView_pimpl.C: clear message when doc finishes resizing,
6199 and after a mouse event
6201 * lyxfunc.C: clear message after exiting inset
6203 2003-04-07 John Levon <levon@movementarian.org>
6205 * bufferview_funcs.C: show math status not outside
6206 status in the statusbar
6208 2003-04-07 John Levon <levon@movementarian.org>
6210 * lyxfunc.C: note status changed after a depth change
6212 2003-04-04 Angus Leeming <leeming@lyx.org>
6214 * LaTeX.h: move AuxInfo operator==, != out of line.
6215 Remove LaTeX virtual destructor; nothing derives from it.
6216 Move operator()() out of public area and rename it startscript().
6217 Change protected for private.
6219 2003-04-04 Angus Leeming <leeming@lyx.org>
6222 * text2.C: remove unneeded #includes.
6224 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6226 * text2.C (dEPM): fix the heigth of the next row
6228 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6230 * text.C: squashed an invalid getChar requester + some ws changes
6232 2003-04-03 John Levon <levon@movementarian.org>
6234 * bufferview_funcs.h:
6235 * bufferview_funcs.C:
6238 * text2.C: make getStatus work for the env depth lfuns
6240 2003-04-03 John Levon <levon@movementarian.org>
6242 * bufferview_funcs.h:
6243 * bufferview_funcs.C:
6246 * text2.C: parlistize decDepth(), by merging it with incDepth()
6248 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * lyxrow.h: store a ParagraphList::iterator instead of a
6251 Paragraph* and adjust other class functions to suit.
6253 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6256 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6258 * text2.C (setCursor): do not anchor to cursor row for the time being
6260 2003-04-02 John Levon <levon@movementarian.org>
6267 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6269 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * paragraph.h: make ParagraphList and ParagraphList::iterator
6272 friends of Paragraph.
6274 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6276 * ParagraphList.C: Use the private next_ and previous_ from
6279 2003-04-01 John Levon <levon@movementarian.org>
6283 * Makefile.am: rename, remove defaults gunk
6286 * MenuBackend.C: remove defaults gunk
6289 * Languages.C: remove defaults gunk
6292 * lyx_main.C: error out if files couldn't be found.
6294 2003-04-02 John Levon <levon@movementarian.org>
6296 * text2.C: make incDepth() use parlist
6298 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * undo_funcs.C (firstUndoParagraph): adjust
6302 * text3.C (gotoInset): adjust
6303 (dispatch): adjust, and rewrite loop.
6305 * text2.C (init): adjust, and rewrite loop.
6306 (redoParagraphs): adjust
6307 (updateInset): adjust, and rewrite loop.
6308 (deleteEmptyParagraphMechanism): adjust
6310 * tabular.C (LyXTabular): adjust
6311 (SetMultiColumn): adjust
6314 * lyxtext.[Ch] (ownerParagraph): delete function
6315 (ownerParagraphs): new function returns a ParagraphList.
6317 * BufferView.C (removeAutoInsets): adjust
6318 (insertErrors): adjust
6319 (setCursorFromRow): adjust
6321 2003-04-01 Angus Leeming <leeming@lyx.org>
6323 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6326 2003-04-02 John Levon <levon@movementarian.org>
6332 * text_funcs.C: make transposeChars a free function
6334 * lyxrow_funcs.C: remove wrong comment
6336 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * rowpainter.C: adjust
6344 * lyxrow_funcs. [Ch]: new files
6346 * lyxrow.[Ch]: remove next and previous pointers
6347 (next,previous): remove accessor functions
6348 (isParEnd): move to lyxrow_funcs
6349 (lastPos): move to lyxrow_funcs
6350 (nextRowIsAllInset): move to lyxrow_funcs
6351 (lastPrintablePos): move to lyxrow_funcs
6352 (numberOfSeparators): move to lyxrow_funcs
6353 (numberOfHfills): move to lyxrow_funcs
6354 (numberOfLabelHfills): move to lyxrow_funcs
6355 (hfillExpansion): move to lyxrow_funcs
6359 * bufferview_funcs.C (toggleAndShow): adjust
6361 * RowList.h: Remove class RowList from file leave just a
6364 * RowList.C: delete file
6366 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6369 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * text3.C (cursorPrevious): adjust
6372 (cursorNext): adjust
6375 * text2.C (redoHeightOfParagraph): adjust
6376 (redoDrawingOfParagraph): adjust
6379 * text.C (breakParagraph): adjust
6380 (insertChar): adjust
6383 * rowpainter.C (RowPainter): adjust
6384 (leftMargin): simplify and adjust
6385 (most rowpainter functions): adjust.
6387 * rowpainter.h: store the row as RowList::iterator not as Row*
6389 * lyxcursor.C (row): taka RowList::iterator as arg
6392 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6395 2003-04-01 Angus Leeming <leeming@lyx.org>
6397 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6398 stuff like bool Bool.
6400 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6402 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6405 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6410 * lyxtext.h (rows): drop one version and leve a const variant that
6411 returns a RowList::iterator.
6413 2003-03-31 Angus Leeming <leeming@lyx.org>
6415 * text.C (fill): ensure that the signature is the same as that in the
6418 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * text2.C (redoParagraphs): adjust
6421 (updateCounters): adjust
6422 (checkParagraph): adjust
6423 (getColumnNearX): adjust and reformat a bit.
6425 * text.C (top_y): adjust
6427 (leftMargin): adjust
6428 (prepareToPrint): adjust
6430 (getRowNearY): adjust
6432 * lyxtext.h: make rowlist_ mutable.
6434 * RowList.h: add const_iterator
6435 * RowList.C: adjust for RowList::const_iterator.
6437 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6440 2003-03-31 John Levon <levon@movementarian.org>
6443 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6445 * lyx_main.C: set default fonts from using lyx_gui funcs
6447 * exporter.C: pdf_mode moved from lyxrc
6450 * lyxfunc.C: changes from above
6452 2003-03-31 John Levon <levon@movementarian.org>
6454 * lyx_main.C: fix to the last fix
6456 2003-03-31 John Levon <levon@movementarian.org>
6458 * bufferlist.C: "Load original" -> "Load Original"
6464 * format.C: more Alert cleanups
6466 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * text2.C (removeParagraph): make it take a RowList::iterator as
6470 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6471 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6473 * text.C (anchor_row): make it take a RowList::iterator as arg,
6475 (computeBidiTables): make it take a const reference to Row instead
6476 of Row pointer, adjust.
6477 (leftMargin): make it take a RowList::iterator as arg, adjust.
6478 (rowBreakPoint): adjust
6479 (breakAgainOneRow): make it take a RowList::iterator as arg,
6481 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6483 * bufferview_funcs.C (toggleAndShow): adjust
6485 2003-03-30 John Levon <levon@movementarian.org>
6489 * boost-inst.C: moved to support
6491 * several files: changes as a result
6493 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * text2.C (LyXText): adjust.
6497 (removeRow): make it take a RowList::iterator as arg, adjust.
6498 (fullRebreak): adjust
6499 (deleteEmptyParagraphMechanism): adjust
6500 (clearPaint): adjust
6503 * text.C (top_y): adjust
6504 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6505 (breakAgain): make it take a RowList::iterator as arg, adjust.
6506 (breakParagraph): adjust
6507 (insertChar): adjust
6510 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6511 need_break_row, and refresh_row.
6513 * text3.C (dispatch): adjust
6515 * text2.C (checkParagraph): adjust
6517 (setCursorFromCoordinates): adjust
6519 * text.C (top_y): adjust
6521 (getRow): make it return a RowList::iterator, adjust
6522 (getRowNearY): make it return a RowList::iterator, adjust
6524 * text2.C (init): adjust
6525 (insertRow): remove function
6526 (insertParagraph): adjust
6527 (redoParagraphs): adjust
6528 (fullRebreak): adjust
6529 (updateCounters): adjust
6531 * text.C (top_y): rewrite to use RowList iterators.
6533 (setHeightOfRow): rewrite to sue RowList iterators.
6534 (appendParagraph): adjust
6535 (breakAgain): adjust
6536 (breakAgainOneRow): adjust
6537 (breakParagraph): adjust
6539 (getRowNearY): adjust, and remove commented code.
6541 * lyxtext.h (firstRow): delete function
6542 (lastRow): delete function
6543 (rows): new function (const and non-const versions.)
6544 (insertRow): delete function
6546 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6548 2003-03-29 John Levon <levon@movementarian.org>
6550 * BufferView_pimpl.C: always update scrollbar top
6551 because pasting text when we're anchored could mean we
6552 miss an update altogether
6554 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * text2.C (init): use rowlist_.end() and not 0.
6557 (insertRow): change to take a RowList::iterator as arg, adjust
6559 (insertParagraph): change to take a RowList::iterator as arg,
6561 (redoParagraphs): remove some debug msgs.
6563 * text.C (appendParagraph): change to take a RowList::iterator
6564 arg, adjust for this.
6565 (breakAgain): add an assert
6566 (breakAgainOneRow): ditto
6568 2003-03-29 John Levon <levon@movementarian.org>
6570 * text2.C: do not clear selection after inc/decDepth
6573 2003-03-29 John Levon <levon@movementarian.org>
6576 * buffer.C: fix broken strerrors according to Lars
6578 2003-03-29 John Levon <levon@movementarian.org>
6580 * converters.C: more Alert cleanups
6582 2003-03-29 John Levon <levon@movementarian.org>
6584 * bufferview_funcs.C: remove pointless Alert
6586 * buffer.C: fix confusing error message when
6587 a template is chmoded 000
6589 2003-03-29 John Levon <levon@movementarian.org>
6593 * BufferView_pimpl.C: Alert fixes
6597 * tabular-old.C: remove unused table compat reading
6599 2003-03-29 John Levon <levon@movementarian.org>
6604 * lyx_cb.C: more Alert cleanups
6606 * lyxfunc.C: don't allow chktex if not latex document
6608 2003-03-29 John Levon <levon@movementarian.org>
6612 * buffer.C: warnings pushed down from support/,
6615 2003-03-29 John Levon <levon@movementarian.org>
6617 * lyxfunc.C: safety check for C-r (revert)
6619 2003-03-29 John Levon <levon@movementarian.org>
6622 * bufferlist.C: several UI fixes using Alert::prompt.
6623 Fix the pointless looping quit code. Fix stupid revert
6628 * lyx_cb.C: use Alert::prompt
6630 * lyx_main.C: remove a silly question
6632 * lyxfunc.C: remove a couple of silly questions,
6635 2003-03-28 John Levon <levon@movementarian.org>
6637 * text2.C: fix bug 974 (End on empty par)
6639 2003-03-28 John Levon <levon@movementarian.org>
6641 * BufferView_pimpl.C:
6643 * lfuns.h: remove do-nothing math greek lfuns
6645 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * lyxgluelength.h (isValidGlueLength): add default arg on
6648 parameter 2. Remove default arg from friend in class.
6650 * lyxlength.h (isValidLength): add default arg on parameter 2.
6651 Remove default arg from friend in class.
6653 * text2.C (LyXText): adjust, initialize refresh_row.
6657 (insertParagraph): adjst
6658 (redoParagraphs): adjust
6659 (fullRebreak): adjust
6660 (updateCounters): adjust
6661 (deleteEmptyParagraphMechanism): first attempt at fixing a
6664 * text.C (top_y): adjust
6665 (setHeightOfRow): adjust
6667 (getRowNearY): adjust
6669 * lyxtext.h: include RowList.h
6670 (~LyXText): not needed anymore, deleted.
6671 (firstRow): modify for RowList
6672 (lastRow): new function
6673 Delete firstrow and lastrow class variables, add a Rowlist
6674 rowlist_ class variable.
6676 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6679 * RowList.C (insert): fix case where it == begin().
6681 2003-03-26 Angus Leeming <leeming@lyx.org>
6683 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6684 the thesaurus dialog.
6686 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6690 * RowList.[Ch]: new files
6692 * ParagraphList.C (erase): handle the case where it == begin
6695 2003-03-25 John Levon <levon@movementarian.org>
6699 * aspell.C: add new aspell support
6702 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6705 2003-03-25 Angus Leeming <leeming@lyx.org>
6708 * LyXAction.C (init): new LFUN_INSET_INSERT.
6710 * BufferView_pimpl.C (dispatch): split out part of the
6711 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6713 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6716 2003-03-25 Angus Leeming <leeming@lyx.org>
6718 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6720 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6723 * text3.C: remove useless row->height(0)
6725 2003-03-25 John Levon <levon@movementarian.org>
6729 * text3.C: rename the refreshing stuff to better names
6731 2003-03-24 John Levon <levon@movementarian.org>
6733 * BufferView_pimpl.h:
6734 * BufferView_pimpl.C: update layout choice on a mouse
6737 2003-03-23 John Levon <levon@movementarian.org>
6739 * Makefile.am: fix commandtags.h reference
6741 2003-03-22 John Levon <levon@movementarian.org>
6743 * BufferView_pimpl.C:
6748 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6750 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6753 * text.C: take the rtl methods out of line
6755 2003-03-21 André Pönitz <poenitz@gmx.net>
6757 * metricsinfo.[Ch]: new files containing structures to be passed around
6758 during the two-phase-drawing...
6760 2003-03-21 André Pönitz <poenitz@gmx.net>
6762 * lyxtextclass.C: read 'environment' tag.
6764 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6766 * text2.C (removeRow): fix bug 964
6768 2003-03-20 John Levon <levon@movementarian.org>
6772 * text2.C: paint cleanups. Inset::update() dropped font
6775 2003-03-19 John Levon <levon@movementarian.org>
6777 * lyxfunc.C: only fitcursor/markDirty if available()
6779 2003-03-19 John Levon <levon@movementarian.org>
6781 * commandtags.h: rename to ...
6783 * lfuns.h: ... this, and renumber / cleanup
6785 2003-03-19 John Levon <levon@movementarian.org>
6787 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6788 fit the cursor after an lfun
6792 * BufferView_pimpl.h:
6793 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6795 * LyXAction.C: layout-character should have ReadOnly
6797 * ParagraphParameters.C:
6799 * bufferview_funcs.C:
6806 * undo_funcs.C: changes from above
6808 2003-03-18 John Levon <levon@movementarian.org>
6810 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6811 remove it from update()
6813 * lyxfunc.C: update layout choice after an lfun
6815 * text3.C: remove extra updateLayoutChoice()s
6817 2003-03-18 John Levon <levon@movementarian.org>
6819 * text.C: top_y change means full repaint, fix
6820 a drawing bug with cursor movement
6822 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6826 * text2.C: anchor row on setCursor
6828 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6830 * lyxtext.h: remove almost all mutable keywords
6833 * text3.C: remove const keywords accordingly
6835 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6839 (TeXEnvironment): ditto
6842 2003-03-17 John Levon <levon@movementarian.org>
6844 * text.C (rowBreakPoint): remove attempt to fix displayed
6845 math insets inside a manual label
6847 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * lyxtext.h: remove BufferView* as first arg from almost all class
6851 * other files: adjust.
6853 2003-03-17 John Levon <levon@movementarian.org>
6857 * text2.C: more paint cleanups
6859 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6862 * rowpainter.C: remove "smart" background painting code
6864 2003-03-16 John Levon <levon@movementarian.org>
6869 * text3.C: add helper functions for setting refresh_row/y
6871 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6873 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6874 newline inset which *can* get inserted in the pass_thru layouts.
6875 This is primarily for literate documents.
6877 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6879 * buffer.C: increment LYX_FORMAT to 223
6881 2003-03-14 André Pönitz <poenitz@gmx.net>
6883 * textclass.h: prepare for environment handling, ws changes
6884 * lyxlayout.C: read latexheader and latexfooter tags
6886 2003-03-14 John Levon <levon@movementarian.org>
6888 * text2.C: rewrite ::status() a bit
6890 2003-03-13 John Levon <levon@movementarian.org>
6892 * lyxtext.h: add some docs
6894 2003-03-13 John Levon <levon@movementarian.org>
6899 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6901 2003-03-13 John Levon <levon@movementarian.org>
6903 * text3.C: fix appendix redrawing
6905 2003-03-13 John Levon <levon@movementarian.org>
6907 * text.C (setHeightOfRow):
6909 * rowpainter.C: make appendix mark have the text
6910 "Appendix" so the user knows what it is
6913 * LColor.C: s/appendixline/appendix/ from above
6915 2003-03-13 John Levon <levon@movementarian.org>
6917 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6919 * text.C: fix a getChar(pos) bug properly
6921 2003-03-13 Angus Leeming <leeming@lyx.org>
6924 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6925 Probably only temporary. Let's see how things pan out.
6927 * BufferView.C (unlockInset):
6928 * BufferView_pimpl.C (fitCursor):
6929 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6931 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6932 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6934 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6935 new functions that convert ParagraphParameters to and from a string.
6937 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6938 BufferView::Pimpl's dispatch.
6939 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6941 2003-03-13 André Pönitz <poenitz@gmx.net>
6945 * factory.C: make it aware of InsetEnv
6947 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * text2.C (setCursor): never ask for one past last
6950 (setCursor): add some debugging messages.
6952 * text.C (singleWidth): never ask for one past last
6953 (singleWidth): ditto
6955 (rightMargin): ditto
6956 (rowBreakPoint): ditto
6957 (setHeightOfRow): ditto
6958 (prepareToPrint): ditto
6960 * rowpainter.C (paintBackground): never ask for one past last
6961 (paintText): never ask for one past last
6963 * paragraph_pimpl.C (getChar): make the assert stricter, never
6964 allow the one past last pos to be taken
6966 * paragraph.C (getChar): ws changes only
6968 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6969 (numberOfSeparators): ditto
6970 (numberOfHfills): ditto
6972 2003-03-12 John Levon <levon@movementarian.org>
6978 * paragraph_funcs.C: fix per-buffer authorlists
6980 2003-03-12 John Levon <levon@movementarian.org>
6982 * text.C: fix newline in right address
6984 2003-03-12 Angus Leeming <leeming@lyx.org>
6986 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6987 duplicate those in LyXFunc::dispatch.
6991 * ToolbarDefaults.C:
6992 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6993 Add LFUN_FONTFREE_UPDATE.
6995 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6996 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6998 * bufferview_func.[Ch]: several new functions to facilliate
6999 transfer of data to and from the character dialog.
7001 2003-03-12 John Levon <levon@movementarian.org>
7006 * paragraph_funcs.C:
7007 * paragraph_pimpl.C:
7011 * text3.C: remove META_NEWLINE in favour of an inset
7014 * rowpainter.C: remove paintNewline (done by inset)
7016 2003-03-12 John Levon <levon@movementarian.org>
7018 * paragraph_pimpl.C: complain about bad getChar()s
7019 for a while at least
7021 2003-03-12 John Levon <levon@movementarian.org>
7024 * buffer.C: move paragraph read into a separate function,
7025 a little renaming to reflect that.
7028 * bufferparams.C: remove the author_ids map, not necessary now
7031 * factory.C: moved Buffer::readInset to here
7033 * paragraph_funcs.h:
7034 * paragraph_funcs.C: readParagraph free function moved from
7037 * tabular.C: name change
7039 2003-03-12 John Levon <levon@movementarian.org>
7042 * ParagraphParameters.C: move par params input to
7045 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7046 behave like a normal read from the stream wrt reading
7047 a line vs. a \\token
7049 2003-03-12 John Levon <levon@movementarian.org>
7052 * ParagraphParameters.h:
7053 * ParagraphParameters.C: move output code to a
7056 2003-03-12 John Levon <levon@movementarian.org>
7058 * BufferView.C (insertLyXFile):
7061 * tabular.C: use a parlist iterator for creating the
7064 2003-03-12 John Levon <levon@movementarian.org>
7066 * buffer.C: make current_change static local not
7069 2003-03-12 John Levon <levon@movementarian.org>
7071 * buffer.C: fix insertStringAsLines for change tracking
7073 2003-03-12 John Levon <levon@movementarian.org>
7080 * bufferparams.C: move author list into params. Rename some
7081 functions. Move the header reading into a separate token
7082 loop. Move the header token reading into BufferParams.
7084 2003-03-12 John Levon <levon@movementarian.org>
7086 * changes.C: put debug inside lyxerr.debugging() checks
7088 2003-03-11 André Pönitz <poenitz@gmx.net>
7090 * factory.C: make it aware of InsetHFill
7092 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7094 * buffer.C (latexParagraphs): move function from here...
7095 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7098 2003-03-10 Angus Leeming <leeming@lyx.org>
7100 * LyXAction.C (init): fix bug in poplating array with multiple entries
7101 with the same LFUN (spotted by JMarc).
7103 2003-03-10 John Levon <levon@movementarian.org>
7106 * text2.C: move getColumnNearX() near its
7109 2003-03-10 John Levon <levon@movementarian.org>
7111 * text.C: fix break before a minipage
7113 2003-03-10 John Levon <levon@movementarian.org>
7115 * text.C: fix the last commit
7117 2003-03-09 John Levon <levon@movementarian.org>
7121 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7122 bug 365 (don't break before insets unless needed). Don't
7123 return a value > last under any circumstances.
7125 2003-03-09 Angus Leeming <leeming@lyx.org>
7127 * BufferView_pimpl.C (trackChanges, dispatch): call
7128 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7130 2003-03-09 Angus Leeming <leeming@lyx.org>
7132 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7133 than Dialogs::showAboutlyx().
7135 2003-03-09 Angus Leeming <leeming@lyx.org>
7137 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7138 than Dialogs::showTabularCreate().
7140 2003-03-09 John Levon <levon@movementarian.org>
7144 * text2.C: 3rd arg to nextBreakPoint was always the same.
7147 2003-03-08 John Levon <levon@movementarian.org>
7154 * text2.C: Remove the "main" bit from the "main body"
7157 2003-03-08 John Levon <levon@movementarian.org>
7159 * text.C (leftMargin): The left margin of an empty
7160 manual label paragraph should not include the label width
7163 * text.C (prepareToPrint): don't attempt to measure hfills
7164 for empty manual label paragraphs - the answer should be 0
7166 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * CutAndPaste.C: remove commented code and reindent.
7170 2003-03-08 John Levon <levon@movementarian.org>
7173 * lyxfunc.C: move reloadBuffer()
7176 * BufferView.C: to here
7178 * lyxvc.C: add comment
7181 * vc-backend.C: call bv->reload() to avoid
7182 getStatus() check on MENURELOAD
7184 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7186 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7187 to an old format .dep file.
7189 2003-03-07 Angus Leeming <leeming@lyx.org>
7191 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7192 when the LFUN_MOUSE_RELEASE should have been handled by
7193 inset->localDispatch.
7195 2003-03-07 Angus Leeming <leeming@lyx.org>
7197 * BufferView_pimpl.C (dispatch):
7198 * LyXAction.C (init):
7199 * ToolbarDefaults.C (init):
7201 * lyxfunc.C (getStatus):
7202 remove LFUN_INSET_GRAPHICS.
7204 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7206 2003-03-07 Angus Leeming <leeming@lyx.org>
7209 * LyXAction.C (init):
7210 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7212 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7215 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7217 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7218 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7220 2003-03-07 Angus Leeming <leeming@lyx.org>
7222 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7225 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * ParagraphList.C (front): new function
7230 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7232 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7233 and top_row_offset_. removed var first_y.
7235 * text2.C (LyXText, removeRow):
7237 * BufferView_pimpl.C:
7238 use these methods instead of using first_y
7240 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * text2.C (pasteSelection): adjust for checkPastePossible
7244 * CutAndPaste.C: remove Paragraph * buf and replace with
7245 ParagraphList paragraphs.
7246 (DeleteBuffer): delete
7247 (cutSelection): change the tc type to textclass_type
7248 (copySelection): change the tc type to textclass_type
7249 (copySelection): adjust for ParagraphList
7250 (pasteSelection): change the tc type to textclass_type
7251 (pasteSelection): adjust for Paragraphlist
7252 (nrOfParagraphs): simplify for ParagraphList
7253 (checkPastePossible): simplify for ParagraphList
7254 (checkPastePossible): remove unused arg
7256 * ParagraphList.C (insert): handle the case where there are no
7259 * CutAndPaste.h: make CutAndPaste a namespace.
7261 * text3.C (dispatch): adjust
7263 * text.C (breakParagraph): add a ParagraphList as arg
7265 * paragraph_funcs.C (breakParagraph): change to take a
7266 BufferParams and a ParagraphList as args.
7267 (breakParagraphConservative): ditto
7268 (mergeParagraph): ditto
7269 (TeXDeeper): add a ParagraphList arg
7270 (TeXEnvironment): ditto
7273 * buffer.C (readLyXformat2): adjust
7274 (insertStringAsLines): adjust
7275 (latexParagraphs): adjust
7277 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7278 (cutSelection): adjust
7279 (pasteSelection): adjust
7281 * BufferView_pimpl.C (insertInset): adjust
7283 2003-03-05 Angus Leeming <leeming@lyx.org>
7286 * LyXAction.C (init):
7287 * BufferView_pimpl.C (dispatch):
7288 * lyxfunc.C (getStatus):
7289 remove LFUN_CHILD_INSERT.
7291 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7293 2003-03-05 Angus Leeming <leeming@lyx.org>
7296 * LyXAction.C (init):
7297 * src/factory.C (createInset):
7298 * lyxfunc.C (getStatus):
7299 * text3.C (dispatch):
7300 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7302 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7304 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * ParagraphList.C (insert): handle insert right before end()
7307 (erase): fix cases where it can be first or last paragraph.
7309 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7311 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7312 Paragraph::next and Paragraph::previous
7315 * text.C (breakParagraph): adjust
7317 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7318 BufferParams& as arg.
7319 (breakParagraph): use ParagraphList::insert
7320 (breakParagraphConservative): take a Buffer* instead of a
7321 BufferParams& as arg.
7322 (breakParagraphConservative): use ParagraphList::insert.
7324 * buffer.C (insertStringAsLines): un-const it
7325 (insertStringAsLines): adjust
7327 * ParagraphList.C (insert): new function
7329 * CutAndPaste.C (pasteSelection): adjust
7331 * text.C (backspace): adjust
7333 * tabular.C (SetMultiColumn): adjust
7335 * CutAndPaste.C (cutSelection): adjust
7336 (pasteSelection): adjust
7338 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7339 Buffer const * as arg
7341 * ParagraphList.C (erase): new function
7342 * paragraph_funcs.C (mergeParagraph): use it
7343 (mergeParagraph): make it take a Buffer* instead of a
7344 BufferParams* as arg
7346 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7348 (breakParagraphConservative): ditto
7350 * paragraph.h: remove the breakParagraph friend
7352 * paragraph.C (eraseIntern): new function
7353 (setChange): new function
7355 * paragraph_funcs.C (mergeParagraph): make it take a
7356 ParagraphList::iterator instead of a Paragraph *, adjust
7359 * paragraph.h: move an #endif so that the change tracking stuff
7360 also works in the NO_NEXT case.
7362 2003-03-04 Angus Leeming <leeming@lyx.org>
7365 * LyXAction.C: new LFUN_INSET_MODIFY.
7367 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7368 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7370 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * several files: ws changes only
7374 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7375 (TeXEnvironment): ditto
7378 * buffer.C (makeLaTeXFile): adjust
7379 (latexParagraphs): make it take ParagraphList::iterator as args
7381 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * buffer.C (latexParagraphs): adjust
7385 * paragraph.C (TeXOnePar): move function...
7386 (optArgInset): move function...
7387 (TeXEnvironment): move function...
7388 * paragraph_pimpl.C (TeXDeeper): move function...
7389 * paragraph_funcs.C: ...here
7391 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7393 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7395 * buffer.C (readInset): remove compability code for old Figure and
7398 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7400 * buffer.C: ws changes
7403 * BufferView_pimpl.C: ditto
7406 * bufferlist.h: ditto
7410 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7412 * converter.[Ch]: split into itself +
7415 * Makefile.am: += graph.[Ch] + format.[Ch]
7422 * lyxrc.C: added #include "format.h"
7424 2003-02-27 Angus Leeming <leeming@lyx.org>
7426 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7429 * factory.C (createInset): add "label" to the factory.
7431 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7432 string and do no more.
7434 2003-02-27 Angus Leeming <leeming@lyx.org>
7437 * LyXAction.C (init):
7438 * factory.C (createInset):
7439 * BufferView_pimpl.C (dispatch):
7440 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7442 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7444 * lyxfunc.C (dispatch):
7445 * text3.C (dispatch): pass name to params2string.
7447 2003-02-26 Angus Leeming <leeming@lyx.org>
7449 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7451 Rearrange the ~includes. Strip out the unnecessary ones.
7453 * factory.C (createInset): reformat.
7454 create new insets for the various LFUN_XYZ_APPLY lfuns.
7456 2003-02-26 John Levon <levon@movementarian.org>
7459 * lyxrow.C: add isParStart,isParEnd helpers
7461 * paragraph.h: make isInserted/DeletedText take refs
7463 * paragraph_funcs.h:
7464 * paragraph_funcs.C: remove #if 0'd code
7469 * text.C: use lyxrow helpers above.
7470 Move draw and paint routines to RowPainter.
7471 Make several methods use refs not pointers.
7472 Make backgroundColor() const.
7473 Add markChangeInDraw(), isInInset().
7474 Merge changeRegionCase into changeCase.
7475 Make workWidth() shouldn't-happen code into an Assert.
7478 * rowpainter.C: new class for painting a row.
7481 * vspace.C: make inPixels take a ref
7483 2003-02-26 Angus Leeming <leeming@lyx.org>
7485 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7488 2003-02-25 John Levon <levon@movementarian.org>
7490 * ispell.C: give the forked command a more accurate name
7492 2003-02-22 John Levon <levon@movementarian.org>
7495 * toc.C: make TocItem store an id not a Paragraph *
7498 2003-02-21 Angus Leeming <leeming@lyx.org>
7500 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7501 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7502 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7503 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7504 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7505 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7507 * BufferView_pimpl.C (dispatch):
7508 * LyXAction.C (init):
7509 * factory.C (createInset):
7510 * lyxfunc.C (getStatus, dispatch):
7511 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7513 2003-02-21 Angus Leeming <leeming@lyx.org>
7515 * BufferView_pimpl.C (MenuInsertLyXFile):
7516 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7517 * lyxfunc.C (menuNew, open, doImport):
7518 no longer pass a LyXView & to fileDlg.
7520 2003-02-21 Angus Leeming <leeming@lyx.org>
7522 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7523 * LyXAction.C: change, BIBKEY to BIBITEM.
7524 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7525 Change InsetBibKey to InsetBibitem.
7526 Change BIBKEY_CODE to BIBITEM_CODE.
7527 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7528 * factory.C: replace insetbib.h with insetbibitem.h.
7529 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7530 * paragraph.C: replace insetbib.h with insetbibitem.h.
7531 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7532 Change bibkey() to bibitem().
7533 * text.C: remove insetbib.h.
7534 * text2.C: replace insetbib.h with insetbibitem.h.
7535 change bibkey() to bibitem().
7536 * text3.C: remove insetbib.h.
7537 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7539 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7541 * lyxrc.C (output): enclose user email in quotes (in case there are
7544 2003-02-18 John Levon <levon@movementarian.org>
7546 * buffer.h: add std::
7548 2003-02-17 John Levon <levon@movementarian.org>
7554 * pspell.C: reworking. Especially in ispell, a large
7555 number of clean ups and bug fixes.
7557 * lyxfunc.C: fix revert to behave sensibly
7559 2003-02-17 André Pönitz <poenitz@gmx.net>
7562 * commandtags.h: new LFUN_INSERT_BIBKEY
7572 * paragraph_func.C: remove special bibkey handling
7574 2003-02-17 John Levon <levon@movementarian.org>
7576 * text.C (Delete): fix case where delete at the end of
7577 the very first paragraph would not merge the pars
7579 2003-02-17 John Levon <levon@movementarian.org>
7581 * lyxrow.C: fix lastPrintablePos()
7583 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7585 * bufferparams.C (writeLaTeX): add a std:here
7587 * buffer.C: and remove a using directive there
7589 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7591 * buffer.C (makeLaTeXFile): move the code that generates the
7594 * bufferparams.C (writeLaTeX): ... in this new method
7596 * LaTeXFeatures.C (getEncodingSet): make const
7597 (getLanguages): make const
7599 * MenuBackend.C (binding): returns the binding associated to this
7601 (add): sets the status of each item by calling getStatus. Adds
7603 (read): add support for OptSubMenu
7604 (expand): remove extra separator at the end of expanded menu
7606 2003-02-15 John Levon <levon@movementarian.org>
7609 * BufferView_pimpl.C:
7611 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7612 inset code that had no actual effect. Remove unneeded status
7615 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7617 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7620 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7622 * text.C (drawLengthMarker): also draw an arrow marker for
7623 symbolic lengths (medskip...)
7625 2003-02-14 John Levon <levon@movementarian.org>
7628 * tabular.C: better method names
7630 2003-02-14 John Levon <levon@movementarian.org>
7632 * BufferView_pimpl.C:
7637 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7638 it's a more accurate name. Remove some pointless uses.
7640 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7642 * text2.C (LyXText): change order of initilizers to shut off
7645 2003-02-14 John Levon <levon@movementarian.org>
7647 * buffer.C: use ParIterator for getParFromID()
7651 * paragraph_pimpl.h:
7652 * paragraph_pimpl.C: remove unused getParFromID()
7654 2003-02-14 John Levon <levon@movementarian.org>
7656 * buffer.C: remove some very old #if 0'd parse code
7658 2003-02-13 John Levon <levon@movementarian.org>
7662 * text2.C: move hfillExpansion(), numberOfSeparators(),
7663 rowLast(), rowLastPrintable(), numberofHfills(),
7664 numberOfLabelHfills() ...
7667 * lyxrow.C: ... to member functions here.
7672 * text.C: remove LyXText::beginningOfMainBody(), and call
7673 p->beginningOfMainBody() directly. Move the check for
7674 LABEL_MANUAL into the latter.
7681 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7687 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7688 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7690 2003-02-13 John Levon <levon@movementarian.org>
7692 * CutAndPaste.C: remove debug
7694 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7696 * paragraph.C (asString): remove two unused variables
7698 * lyxtextclass.C (readTitleType):
7700 (LyXTextClass): handle new members titletype_ and titlename_
7702 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7704 2003-02-09 John Levon <levon@movementarian.org>
7707 * buffer.C: replace hand-coded list with a map for the dep clean
7709 2003-02-08 John Levon <levon@movementarian.org>
7711 * LaTeX.C: consolidate code into showRunMessage() helper
7713 2003-02-08 John Levon <levon@movementarian.org>
7718 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7719 and pass the size in explicitly
7721 * BufferView_pimpl.h:
7722 * BufferView_pimpl.C:
7724 * BufferView.C: add getCurrentChange()
7726 * BufferView_pimpl.h:
7727 * BufferView_pimpl.C: handle change lfuns
7729 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7730 for changes. Mark pasted paragraphs as new.
7732 * support/lyxtime.h:
7733 * support/lyxtime.C:
7734 * DepTable.C: abstract time_t as lyx::time_type
7737 * LColor.C: add colours for new text, deleted text, changebars
7739 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7740 package use "usenames" option.
7744 * LyXAction.C: add change lfuns
7748 * author.C: author handling
7751 * buffer.C: add a per-buffer author list, with first entry as
7752 current author. Handle new .lyx tokens for change tracking. Output
7753 author list to .lyx file. Output dvipost stuff to .tex preamble.
7754 Bump lyx format to 222.
7757 * bufferlist.C: add setCurrentAuthor() to reset current author details
7761 * bufferparams.C: add param for tracking
7763 * bufferview_funcs.C: output change info in minibuffer
7767 * changes.C: add change-tracking structure
7770 * debug.C: add CHANGES debug flag
7773 * lyxfind.C: add code for finding the next change piece
7776 * lyxrc.C: add user_name and user_email
7779 * lyxrow.C: add a metric for the top of the text line
7782 * text.C: implement accept/rejectChange()
7785 * text.C: paint changebars. Paint new/deleted text in the chosen
7786 colours. Strike through deleted text.
7790 * paragraph_pimpl.h:
7791 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7792 in the current change to the insert functions. Rework erase to
7793 mark text as deleted, adding an eraseIntern() and a range-based
7794 erase(). Implement per-paragraph change lookup and
7797 * paragraph_funcs.C: Fixup paste for change tracking.
7799 * tabular.C: mark added row/columns as new.
7801 * text.C: fix rowLast() to never return -1. Don't allow
7802 spellchecking of deleted text. Track transpose changes. Don't
7803 allow paragraph break or merge where appropriate.
7805 * text2.C: leave cursor at end of selection after a cut.
7807 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * text.C (getLengthMarkerHeight):
7810 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7811 visible on screen too.
7813 2003-02-07 John Levon <levon@movementarian.org>
7815 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7817 2003-02-05 Angus Leeming <leeming@lyx.org>
7819 * lyxserver.C (read_ready): revert my patch of 11 September last year
7820 as it sends PC cpu through the roof. Presumably this means that
7821 the lyxserver will no longer run on an Alpha...
7823 2003-01-30 Angus Leeming <leeming@lyx.org>
7825 * factory.C (createInset): create an InsetCommandParam of type "index"
7826 and use it to 'do the right thing'.
7828 * text2.C (getStringToIndex): ensure that cursor position is always
7829 reset to the reset_cursor position.
7831 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7833 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7836 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7840 * lyxfunc.C: Output messages with identical spelling, punctuation,
7843 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7845 * MenuBackend.C (expandFormats): List only viewable export formats
7848 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7851 * lyxfunc.C (getStatus): Make sure that formats other than
7852 "fax" can also be disabled
7854 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7856 * text3.C (dispatch): put the lfuns that insert insets in 3
7857 groups, and call doInsertInset with appropriate arguments.
7858 (doInsertInset): new function, that creates an inset and inserts
7859 it according to some boolean parameters.
7861 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * buffer.C (readFile): remember to pass on 'par' when calling
7864 readFile recursively.
7866 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7868 * MenuBackend.C (expandFormats): add "..." to import formats.
7870 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7872 * paragraph.C (asString): Remove XForms RTL hacks.
7874 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7875 * buffer.C: fix typo
7877 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * Makefile.am (LIBS): delete var
7880 (lyx_LDADD): add @LIBS@ here instead.
7882 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7884 * Clarify the meaning of "wheel mouse jump"
7886 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7888 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7891 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7893 * importer.C (Loaders): do not preallocate 3 elements in the
7894 vector, since one ends up with 6 elements otherwise
7896 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7898 * DepTable.C (write): write the file name as last element of the
7899 .dep file (because it may contain spaces)
7900 (read): read info in the right order
7902 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7904 * paragraph_pimpl.C (simpleTeXBlanks):
7905 (simpleTeXSpecialChars):
7906 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7908 * tabular.C (latex): add some missing case statements. Reindent.
7910 * MenuBackend.C (expandToc): remove unused variable.
7912 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7921 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7924 2003-01-05 John Levon <levon@movementarian.org>
7927 * BufferView.C: add getEncoding()
7930 * kbsequence.C: do not store last keypress
7933 * lyxfunc.C: store last keypress here instead. Pass encoding
7936 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7938 * lyx_main.C (init): remove annoying error message when following
7939 symbolic links (bug #780)
7941 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7943 * text.C (insertChar):
7944 * lyxrc.C (getDescription): remove extra spaces
7946 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7948 * lyxrc.C (getDescription): remove extra spaces
7950 2002-12-20 John Levon <levon@movementarian.org>
7952 * text3.C: hack fix for page up/down across tall rows
7954 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7956 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7959 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7961 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7962 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7963 thesaurus is not compiled in
7965 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7967 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7969 2002-12-16 Angus Leeming <leeming@lyx.org>
7972 * lyx_main.C (init): remove override_x_deadkeys stuff.
7974 2002-12-12 John Levon <levon@movementarian.org>
7976 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7977 insert. Only remove shift modifier under strict
7980 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * MenuBackend.C (expandToc): fix crash.
7984 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * MenuBackend.C (expandToc): gettext on float names.
7988 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7990 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7991 implement bool empty() [bug 490]
7993 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7997 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * several files: ws changes
8001 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8003 * text2.C (setCounter): clean up a bit, use boost.format.
8004 (updateCounters): initialize par upon declaration.
8006 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8007 if the layout exists. We do not just store the layout any more.
8008 (SwitchLayoutsBetweenClasses): use boost.format
8010 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8012 * converter.C (convert): if from and to files are the same, use a
8013 temporary files as intermediary
8015 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8018 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8020 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8022 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8024 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8026 * tabular.C (asciiPrintCell): use string(size, char) instead of
8029 * sgml.C (openTag): fix order of arguments to string constructor
8032 * lyxfunc.C (dispatch): use boost.format
8034 * lots of files: change "c" -> 'c'
8036 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8038 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8040 2002-11-25 Angus Leeming <leeming@lyx.org>
8042 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8044 * lyx_main.C (init): compile fix.
8046 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * lyx_cb.C (start): boost.formatify
8049 do not include <iostream>
8051 * lengthcommon.C: ws only
8053 * boost-inst.C,BoostFormat.h: add more explict instantations
8055 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * lots of files: handle USE_BOOST_FORMAT
8059 2002-11-21 John Levon <levon@movementarian.org>
8061 * pspell.C: fix compile
8063 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8065 * lyxfunc.C (dispatch): use boost::format
8069 * lyxfont.C (stateText): use boost::format
8071 * lyx_main.C (LyX): use boost::format
8073 (queryUserLyXDir): ditto
8076 (typedef boost::function): use the recommened syntax.
8078 * importer.C (Import): use boost::format
8080 * debug.C (showLevel): use boost::format
8082 * converter.C (view): use boost::format
8087 * bufferview_funcs.C (currentState): use boost::format
8089 * bufferlist.C (emergencyWrite): use boost::format
8091 * buffer.C (readLyXformat2): use boost::format
8092 (parseSingleLyXformat2Token): ditto
8094 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8096 * LaTeX.C (run): use boost::format
8098 * Chktex.C (scanLogFile): use boost::format
8100 * BufferView_pimpl.C (savePosition): use boost::format
8101 (restorePosition): ditto
8102 (MenuInsertLyXFile): ditto
8104 * BoostFormat.h: help file for explicit instation.
8106 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8108 * tabular.C (latex): Support for block alignment in fixed width
8111 2002-11-17 John Levon <levon@movementarian.org>
8113 * BufferView_pimpl.C:
8115 * lyxfunc.C: split filedialog into open/save
8117 2002-11-08 Juergen Vigna <jug@sad.it>
8119 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8120 by my last patch (hopefully).
8122 2002-11-08 John Levon <levon@movementarian.org>
8131 * toc.C: ParConstIterator, and use it (from Lars)
8133 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8135 * lyxtextclass.[Ch]: revise and add doxygen comments
8137 2002-11-07 John Levon <levon@movementarian.org>
8139 * text.C: fix progress value for spellchecker
8141 * toc.C: fix navigate menu for insetwrap inside minipage
8143 * paragraph_funcs.C: added FIXME for suspect code
8145 2002-11-07 John Levon <levon@movementarian.org>
8147 * BufferView_pimpl.C: fix redrawing of insets
8150 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8152 * text2.C (updateCounters): fix bug 668
8154 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8156 * text3.C (dispatch): Do not make the buffer dirty when moving the
8159 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * vc-backend.C: STRCONV
8164 * text2.C (setCounter): STRCONV
8166 * paragraph.C (asString): STRCONV
8168 * lyxlength.C (asString): STRCONV
8169 (asLatexString): ditto
8171 * lyxgluelength.C (asString): STRCONV
8172 (asLatexString): ditto
8174 * lyxfunc.C (dispatch): STRCONV
8177 * lyxfont.C (stateText): STRCONV
8179 * importer.C (Import): STRCONV
8181 * counters.C (labelItem): STRCONV
8182 (numberLabel): ditto
8183 (numberLabel): remove unused ostringstream o
8188 * bufferview_funcs.C (currentState): STRCONV
8190 * buffer.C (readFile): STRCONV
8191 (asciiParagraph): ditto
8192 (makeLaTeXFile): ditto
8194 * Spacing.C (writeEnvirBegin): STRCONV
8196 * LaTeXFeatures.C (getLanguages): STRCONV
8197 (getPackages): ditto
8199 (getBabelOptions): ditto
8200 (getTClassPreamble): ditto
8201 (getLyXSGMLEntities): ditto
8202 (getIncludedFiles): ditto
8206 (scanAuxFile): ditto
8209 * LString.h: add the STRCONV macros
8211 * BufferView_pimpl.C (savePosition): STRCONV
8212 (restorePosition): ditto
8213 (MenuInsertLyXFile): ditto
8215 * vc-backend.C (scanMaster): change from submatch[...] to
8218 * funcrequest.C: include config.h
8220 * factory.C: include config.h
8222 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8224 * box.C: include config.h
8226 * LaTeX.C (scanAuxFile): change from submatch[...] to
8230 2002-10-25 Angus Leeming <leeming@lyx.org>
8232 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8234 * ispell.[Ch] (setError): new method.
8235 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8236 Use setError() insetead of goto END.
8238 * lyx_cb.C (AutoSave): move out child process into new class
8241 2002-10-30 John Levon <levon@movementarian.org>
8243 * text3.C: make start appendix undoable
8245 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8247 * lyxlength.C (inPixels): Fix returned value.
8249 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8252 2002-10-24 Angus Leeming <leeming@lyx.org>
8254 * lyxgluelength.h: no need to forward declare BufferParams
8255 or BufferView, so don't.
8257 2002-10-21 John Levon <levon@movementarian.org>
8259 * BufferView.C: menuUndo ->undo, redo
8261 * BufferView.h: document, remove dead, make some methods private
8263 * paragraph_funcs.h:
8264 * paragraph_funcs.C:
8265 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8270 * sgml.C: move sgml open/close tag into sgml.C
8272 * bufferview_funcs.h: unused prototype
8275 * lyxfunc.C: remove unused
8278 * text.C: remove unused
8280 2002-10-21 John Levon <levon@movementarian.org>
8284 * BufferView_pimpl.h:
8285 * BufferView_pimpl.C: fix mouse wheel handling based on
8286 patch from Darren Freeman
8288 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8290 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8292 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8294 * lyxlength.C (inPixels): Fix hanfling of negative length.
8295 Fix LyXLength::MU case.
8297 2002-10-16 John Levon <levon@movementarian.org>
8299 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8301 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8303 * converter.C (view): add support for $$i (file name) and $$p
8304 (file path) for the viewer command. If $$i is not specified, then
8305 it is appended to the command (for compatibility with old syntax)
8307 2002-10-14 Juergen Vigna <jug@sad.it>
8309 * undo_funcs.C (textHandleUndo): alter the order in which the
8310 new undopar is added to the LyXText, as we have to set first
8311 the right prev/next and then add it as otherwise the rebuild of
8312 LyXText is not correct. Also reset the cursor to the right paragraph,
8313 with this IMO we could remove the hack in "redoParagraphs()".
8315 2002-10-09 Angus Leeming <leeming@lyx.org>
8317 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8318 to turn off an optimisation if a new inset is to be inserted.
8320 2002-10-11 André Pönitz <poenitz@gmx.net>
8322 * lyxtext.h: make some functions public to allow access
8323 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8325 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * text3.C (dispatch): when changing layout, avoid an infinite loop
8330 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8332 * lyxrc.C (read): treat a viewer or converter command of "none" as
8335 * MenuBackend.C (expandFormats): for an update, also allow the
8336 formats that are not viewable
8338 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8339 script if it is newer than the lyxrc.defaults in user directory
8341 2002-10-07 André Pönitz <poenitz@gmx.net>
8343 * text.C: Vitaly Lipatov's small i18n fix
8345 2002-09-25 Angus Leeming <leeming@lyx.org>
8347 * ispell.h: doxygen fix.
8349 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8351 * buffer.h (readFile): Add a new argument to the method, to allow
8352 reading of old-format templates.
8354 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8356 * toc.C (getTocList): Get TOC from InsetWrap.
8358 2002-09-16 John Levon <levon@movementarian.org>
8360 * lyxfunc.C: check tabular for cut/copy too
8362 2002-09-12 John Levon <levon@movementarian.org>
8367 * factory.C: add header
8369 * paragraph_funcs.h:
8370 * paragraph_funcs.C: cleanup
8372 2002-09-11 John Levon <levon@movementarian.org>
8374 * PrinterParams.h: odd/even default to true
8376 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8378 * PrinterParams.h: update printer parameters for new xforms dialog
8380 2002-09-11 Angus Leeming <leeming@lyx.org>
8382 * lyxserver.C (read_ready): re-write to make it more transparent
8383 and to make it work in coherent fashion under Tru64 Unix.
8385 2002-09-11 André Pönitz <poenitz@gmx.net>
8389 * text3.C: implement LFUN_WORDSEL
8391 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8394 make floatlist_ a boost::shared_ptr<FloatList>
8396 * lyxtextclass.C: include FloatList.h
8397 (LyXTextClass): initialize floatlist_
8398 (TextClassTags): add TC_NOFLOAT
8399 (Read): match "nofloat" to TC_NOFLOAT and use it.
8400 (readFloat): modify call to floatlist_
8404 * FloatList.[Ch] (FloatList): remove commented out float
8406 (erase): new function
8408 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8410 * MenuBackend.C (expandToc): fix crash when there is no document
8413 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8415 * many files: Add insetwrap.
8417 2002-09-09 John Levon <levon@movementarian.org>
8419 * text2.C: remove confusing and awkward depth wraparound
8421 2002-09-09 John Levon <levon@movementarian.org>
8423 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8426 * buffer.C: remove getIncludeonlyList()
8429 * lyxfunc.C: remove headers
8431 2002-09-09 Juergen Vigna <jug@sad.it>
8433 * text.C (getColumnNearX): fix form Michael this is most
8434 probably a cut&paste bug.
8436 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8438 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8440 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8441 references, ws changes.
8443 * text2.C (init): update counters after init
8444 (insertParagraph): no need to set counter on idividual paragraphs.
8445 (setCounter): access the counters object in the textclass object
8446 on in the buffer object.
8447 (updateCounters): ditto
8449 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8450 shared_ptr<Counters> to avoid loading counters.h in all
8452 (LyXTextClass): initialize ctrs_
8453 (TextClassTags): add TC_COUNTER, and ...
8454 (Read): use it here.
8455 (CounterTags): new tags
8456 (readCounter): new function
8457 (counters): new funtion
8458 (defaultLayoutName): return a const reference
8460 * counters.C (Counters): remove contructor
8461 (newCounter): remove a couple of unneeded statements.
8462 (newCounter): simplify a bit.
8463 (numberLabel): some small formatting changes.
8465 * buffer.[Ch]: remove all traces of counters, move the Counters
8466 object to the LyXTextClass.
8468 2002-09-06 Alain Castera <castera@in2p3.fr>
8470 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8471 package to set the horizontal alignment on fixed width columns.
8474 * lyx_sty.h: added tabularnewline macro def.
8476 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8478 2002-09-06 John Levon <levon@movementarian.org>
8480 * LyXAction.C: tooltips for sub/superscript
8482 * MenuBackend.C: a bit more verbose
8484 * lyxfunc.C: tiny clean
8486 * undo_funcs.C: document undo_frozen
8488 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * counters.C (Counters): add missing algorithm counter.
8492 * text2.C (setCounter): lookup the counter with layouts latexname
8493 instead of by section number.
8494 (setCounter): use a hackish way to lookup the correct enum
8496 a float name->type change
8497 reset enum couners with counter name directly instead of depth value.
8499 * counters.C (Counters): remove the push_backs, change to use the
8500 float type not the float name.
8501 (labelItem): remove unused string, float name->type change
8503 * counters.h: don't include vector, loose the enums and sects vectors
8505 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8508 (Read): add float->TC_FLOAT to textclassTags
8509 (Read): and handle it in the switch
8510 (readFloat): new function
8512 * FloatList.C (FloatList): comment out the hardcoded float
8515 * lyxlayout.h: ws change.
8517 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8519 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8521 2002-09-03 Angus Leeming <leeming@lyx.org>
8523 * BufferView_pimpl.h: qualified name is not allowed in member
8524 declaration: WorkArea & Pimpl::workarea() const;
8526 * factory.C: added using std::endl directive.
8528 * text3.C: added using std::find and std::vector directives.
8530 2002-08-29 André Pönitz <poenitz@gmx.net>
8533 * text2.C: remove unused member number_of_rows
8536 * BufferView2.C: remove file, move contents to...
8537 * BufferView.C: ... here
8539 * BufferView_pimpl.C:
8540 * factory.C: move more inset creation to factory
8542 * vspace.C: avoid direct usage of LyXText, ws changes
8545 don't provide direct access to WorkArea, use two simple
8546 acessors haveSelction() and workHeight() instead
8549 2002-08-29 John Levon <levon@movementarian.org>
8551 * BufferView_pimpl.C (dispatch): do not continue when
8554 2002-08-28 André Pönitz <poenitz@gmx.net>
8556 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8559 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8561 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8563 * buffer.C: increment LYX_FORMAT to 221
8565 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8566 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8568 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8570 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8572 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8574 * factory.C (createInset): use LyXTextClass::floats
8576 * MenuBackend.C (expandFloatListInsert):
8577 (expandFloatInsert):
8580 * text2.C (setCounter):
8582 * LaTeXFeatures.C (useFloat):
8583 (getFloatDefinitions):
8585 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8587 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8588 floatlist_, with accessor floats().
8590 * FloatList.h: remove global FloatList
8592 2002-08-26 André Pönitz <poenitz@gmx.net>
8594 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8598 * BufferView_pimpl.C:
8599 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8601 2002-08-25 John Levon <levon@movementarian.org>
8603 * LyXAction.C: fix margin note description
8605 2002-08-24 John Levon <levon@movementarian.org>
8609 * bufferview_funcs.C:
8611 * undo_funcs.C: cleanups
8613 * lyxfunc.C: disable CUT/COPY when no selection
8615 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8617 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8618 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8620 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8621 Add backward compatibility to "mono", "gray" and "no".
8623 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8625 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8626 (and file_format >= 200).
8628 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8630 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8632 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8636 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8638 * BufferView_pimpl.C:
8645 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8646 inset and code to make it work with the paragraph code. The inset
8647 can be anywhere in the paragraph, but will only do the expected
8648 thing in LaTeX if the layout file contains the parameter line
8650 (or more generally, a nonzero value) for that layout.
8652 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * paragraph.h: remove the declaration of undefined counters class
8657 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8659 * text2.C (setCounter): fixed enumeration mis-count as reported by
8660 Dr. Richard Hawkins.
8662 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8664 * paragraph_funcs.h: remove some unneeded includes
8666 * text.C (backspace): pasteParagraph now in global scipe
8668 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8669 (pasteSelection): ditto
8671 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8672 * paragraph_funcs.C (pasteParagraph): ... here
8674 2002-08-20 André Pönitz <poenitz@gmx.net>
8676 * commandtags.h: new LFUNs for swapping/copying table row/colums
8679 * lyxfunc.C: support for new lfuns
8681 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8684 * buffer.[Ch]: remove NO_COMPABILITY stuff
8686 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8688 * boost.C (throw_exception): new file, with helper function for
8689 boost compiled without exceptions.
8694 * ParameterStruct.h:
8695 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8697 * bufferlist.C (emergencyWriteAll): use boost bind
8699 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8701 * text.C: include paragraph_funcs.h
8702 (breakParagraph): breakParagraph is now in global scope
8704 * paragraph_funcs.[Ch]: new files
8706 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8709 * buffer.C: include paragraph_funcs.h
8710 (insertStringAsLines): breakParagraph is now in global scope
8712 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8715 * CutAndPaste.C: include paragraph_funcs.h
8716 (cutSelection): breakParagraphConservative is now in global scope
8717 (pasteSelection): ditto
8719 * buffer.h: declare oprator== and operator!= for
8720 Buffer::inset_iterator
8722 * bufferlist.C (emergencyWrite): don't use fmt(...)
8724 * text3.C: add using std::endl
8726 * BufferView.C (moveCursorUpdate): remove default arg
8728 2002-08-20 André Pönitz <poenitz@gmx.net>
8730 * buffer.[Ch]: move inline functions to .C
8733 * BufferView_pimpl.C:
8735 * buffer.[Ch]: use improved inset_iterator
8738 * paragraph.[Ch]: write one paragraph at a time
8740 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8742 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8743 style if style is not specified.
8745 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8747 * text2.C (setCounter): when searching for right label for a
8748 caption, make sure to recurse to parent insets (so that a caption
8749 in a minipage in a figure float works) (bug #568)
8751 2002-08-20 André Pönitz <poenitz@gmx.net>
8753 * text3.C: new file for LyXText::dispatch() and helpers
8755 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8757 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8759 2002-08-19 André Pönitz <poenitz@gmx.net>
8762 * text.C: new LyXText::dispatch()
8764 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8766 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8768 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8770 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8773 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8775 * Makefile.am: use $(variables) instead of @substitutions@
8777 2002-08-15 André Pönitz <poenitz@gmx.net>
8780 * BufferView_pimpl.C: streamlining mathed <-> outer world
8784 * LyXAction.C: remove unused LFUN_MATH
8786 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8788 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8790 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8792 * paragraph.C (Paragraph): reformat a bit
8793 (cutIntoMinibuffer): use builtin InsetList function instad of
8797 * buffer.C: include boost/bind.hpp, add using std::for_each
8798 (writeFileAscii): use ParagraphList iterators
8799 (validate): use for_each for validate traversal of paragraphs
8800 (getBibkeyList): use ParagraphList iterators
8801 (resizeInsets): use for_each to resizeInsetsLyXText for all
8803 (getParFromID): use ParagraphList iterators
8805 * BufferView2.C (lockInset): use paragraph list and iterators
8807 2002-08-14 John Levon <levon@movementarian.org>
8809 * lyxserver.C: remove spurious xforms include
8811 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8815 2002-08-13 André Pönitz <poenitz@gmx.net>
8818 * lyxfunc.C: further cleaning
8820 2002-08-13 André Pönitz <poenitz@gmx.net>
8822 * funcrequest.h: new constructor
8824 * funcrequest.C: move stuff here from .h
8827 * BufferView_pimpl.C:
8830 * lyxfunc.C: subsequent changes
8832 * lyxfunc.h: new view() member function
8834 * lyxfunc.C: subsequent changes
8836 2002-08-13 Angus Leeming <leeming@lyx.org>
8839 * BufferView_pimpl.C:
8847 changes due to the changed LyXView interface that now returns references
8848 to member variables not pointers.
8850 2002-08-13 Angus Leeming <leeming@lyx.org>
8852 * WordLangTuple (word, lang_code): return references to strings,
8857 * lyxtext.h: forward-declare WordLangTuple.
8862 * text.C: #include "WordLangTuple.h".
8865 * text.C: (selectNextWordToSpellcheck): constify return type.
8867 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8873 * paragraph_pimpl.h:
8876 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8878 Made updateCounter always count from start of buffer, and removed
8879 second argument (par).
8880 Reverted floats number display to '#'. Perhaps I'll try again when the
8881 code base is sanitized a bit.
8883 2002-08-12 Angus Leeming <leeming@lyx.org>
8885 * buffer.[Ch] (getLabelList): constify.
8887 2002-08-07 André Pönitz <poenitz@gmx.net>
8889 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8891 * funcrequest.h: extension to keep mouse (x,y) position
8893 2002-08-12 Juergen Vigna <jug@sad.it>
8895 * BufferView2.C (insertErrors): forbid undo when inserting error
8898 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8900 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8902 * ParagraphList.[Ch]: new files
8904 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8906 * BufferView2.C (lockInset): ParagraphList changes
8909 * bufferlist.C: ditto
8913 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8915 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8916 unused class variable counter_,
8918 * paragraph.[Ch] (getFirstCounter): delete unused function
8920 * counters.C: include LAssert.h
8921 (reset): add a new function with no arg, change other version to
8922 not have def. arg and to not allow empty arg.
8924 * text2.C (setCounter): remove empty arg from call to Counters::reset
8926 2002-08-11 John Levon <levon@movementarian.org>
8928 * Makefile.am: add WordLangTuple.h
8930 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8932 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8933 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8935 * insets/insettext.C: InsetList changes
8937 * graphics/GraphicsSupport.C (operator()): InsetList changes
8939 * toc.C (getTocList): InsetList changes
8941 * paragraph_pimpl.[Ch]: InsetList changes
8943 * paragraph.[Ch]: InsetList changes
8945 * buffer.C (inset_iterator): InsetList changes
8946 (setParagraph): ditto
8947 * buffer.h (inset_iterator): ditto
8948 * iterators.C (operator++): ditto
8949 * iterators.h: ditto
8951 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8953 * InsetList.[Ch]: new files, most InsetList handling moved out of
8956 * BufferView2.C (removeAutoInsets): InsetList changes
8958 (ChangeInsets): ditto
8960 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * paragraph_pimpl.h (empty): new function
8964 * paragraph.[Ch] (empty): new function
8966 * other files: use the new Paragraph::empty function
8968 2002-08-09 John Levon <levon@movementarian.org>
8970 * lyxtext.h: remove unused refresh_height
8972 2002-08-09 John Levon <levon@movementarian.org>
8979 * paragraph.C: move sgml char escaping out of paragraph
8982 * paragraph.C: remove id setter
8986 * paragraph_pimpl.C: remove dead tex_code_break_column
8988 * bufferview_funcs.C: small cleanup
8990 * lyxfunc.C: remove dead proto
8992 * lyxtext.h: make some stuff private. Remove some dead stuff.
8994 * lyxgluelength.C: make as[LyX]String() readable
8996 2002-08-08 John Levon <levon@movementarian.org>
9001 * ToolbarDefaults.C:
9004 * toc.C: lyxaction cleanup
9006 2002-08-08 John Levon <levon@movementarian.org>
9008 * BufferView2.C: small cleanup
9011 * lyxfind.C: move unnecessary header into the .C
9013 2002-08-08 John Levon <levon@movementarian.org>
9015 * funcrequest.h: just tedious nonsense
9018 * lyx_main.C: cleanups
9021 * vspace.C: remove dead header lyx_main.h
9023 2002-08-07 Angus Leeming <leeming@lyx.org>
9026 * paragraph_pimpl.h:
9027 Forward declare class Counters in paragraph.h by moving the ctrs member
9028 variable into Paragraph::Pimpl.
9029 (counters): new method, returning a reference to pimpl_->ctrs.
9031 * text2.C: ensuing changes.
9033 2002-08-07 John Levon <levon@movementarian.org>
9035 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9037 * BufferView_pimpl.C: announce X selection on double/triple
9040 * lyx_main.C: use correct bool in batch dispatch
9042 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9044 2002-08-07 André Pönitz <poenitz@gmx.net>
9046 * funcrequest.h: new class to wrap a kb_action and its argument
9049 * BufferView_pimpl[Ch]:
9053 * lyxrc.C: subsequent changes
9056 2002-08-07 John Levon <levon@movementarian.org>
9058 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9059 document options change.
9061 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9066 * makefile.am: move counters functionality over from
9067 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9069 2002-08-06 John Levon <levon@movementarian.org>
9071 * WordLangTuple.h: new file for word + language code tuple
9082 * BufferView2.C: use WordLangTuple
9085 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9087 2002-08-06 John Levon <levon@movementarian.org>
9089 * lyx_main.C: fix cmdline batch handling
9091 2002-08-06 André Pönitz <poenitz@gmx.net>
9093 * lyxrc.C: set default for show_banner to true
9095 2002-08-06 John Levon <levon@movementarian.org>
9097 * pspell.C: fix a crash, and allow new aspell to work
9099 2002-08-06 John Levon <levon@movementarian.org>
9102 * kbmap.C: small cleanup
9105 * vspace.C: add const
9107 2002-08-05 John Levon <levon@movementarian.org>
9109 * LyXAction.C: back to tabular-insert
9111 2002-08-04 John Levon <levon@movementarian.org>
9114 * BufferView.C: cosmetic change
9116 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9126 * BufferView2.C: purge all "Lyx" not "LyX" strings
9129 * lyxcursor.C: attempt to add some documentation
9134 * ToolbarDefaults.C:
9135 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9136 merge with LFUN_TABULAR_INSERT
9143 * pspell.C: split up i/pspell implementations into separate
9144 files, many cleanups
9146 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9148 * text2.C: some cleanup
9150 * lyxfunc.C: don't check for isp_command == "none" any more, it
9151 didn't make any sense
9153 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9158 * makefile.am: move counters functionality over
9159 from text2.C/paragraph.[Ch] to counters.[Ch], and
9161 2002-08-02 John Levon <levon@movementarian.org>
9163 * buffer.C: s/lyxconvert/lyx2lyx/
9165 2002-08-02 Angus Leeming <leeming@lyx.org>
9167 * lyxlex.C: revert John's change as it breaks reading of the user
9170 2002-08-02 Angus Leeming <leeming@lyx.org>
9172 * importer.C (Import):
9173 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9174 changes due to LyXView::view() now returning a boost::shared_ptr.
9176 2002-08-02 John Levon <levon@movementarian.org>
9178 * lyxlex.C: small cleanup
9180 2002-08-02 John Levon <levon@movementarian.org>
9182 * text2.C (status): small cleanup, no logic change
9184 2002-08-01 John Levon <levon@movementarian.org>
9187 * buffer.C (writeFile): don't output alerts, caller
9191 * lyx_cb.C: from above
9193 * lyxfunc.C: allow to open non-existent files
9195 2002-07-31 John Levon <levon@movementarian.org>
9197 * lyxserver.C: don't let incidental errors get
9200 2002-07-30 John Levon <levon@movementarian.org>
9202 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9204 2002-07-30 John Levon <levon@movementarian.org>
9207 * lyxserver.C: remove I/O callback too
9209 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9211 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9214 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9216 * many files: strip,frontStrip -> trim,ltrim,rtrim
9218 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9220 * PrinterParams.h: remove extern containsOnly, and include
9221 support/lstrings.h instead.
9223 * LaTeX.C (scanAuxFile): modify because of strip changes
9225 * buffer.C (makeLaTeXFile): ditto
9226 * bufferparams.C (writeFile): ditt
9227 * lyxfont.C (stateText): ditto
9228 * lyxserver.C (read_ready): ditto
9229 * vc-backend.C (scanMaster): ditto
9231 * BufferView_pimpl.h: ws changes
9233 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9235 2002-07-26 André Pönitz <poenitz@gmx.net>
9237 * kb_sequence.C: remove unnedred usings
9239 2002-07-26 Juergen Vigna <jug@sad.it>
9241 * lyxfind.C (LyXReplace): we have to check better if the returned
9242 text is not of theLockingInset()->getLockingInset().
9244 2002-07-25 Juergen Vigna <jug@sad.it>
9246 * lyxfind.C (LyXReplace): don't replace if we don't get the
9249 * undo_funcs.C (createUndo): remove debugging code.
9251 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9253 * buffer.C (parseSingleLyXformat2Token): Use default placement
9254 when reading old floats.
9256 * FloatList.C (FloatList): Change the default placement of figure
9257 and tables to "tbp".
9259 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9261 * MenuBackend.C: using std::max
9263 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9265 * MenuBackend.C (expandToc):
9266 (expandToc2): code moved from xforms menu frontend. It is now
9267 generic and TOCs are transparent to menu frontends.
9269 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * toc.C (getTocList): protect against buf=0
9273 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9274 Menu as first parameter. Now, this calls itself recursively to
9275 expand a whole tree (this will be useful for TOC handling)
9276 (expandFloatInsert): remove 'wide' version of floats
9278 * MenuBackend.h (submenuname): returns the name of the submenu.
9279 (submenu): returns the submenu itself, provided it has been
9280 created by MenuBackend::expand
9282 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9284 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9285 insets which have noFontChange == true. (bug #172)
9287 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * BufferView_pimpl.C: add connection objects and use them...
9292 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9294 * MenuBackend.C (expandLastfiles):
9297 (expandFloatListInsert):
9298 (expandFloatInsert):
9299 (expand): split expand in parts
9301 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9303 * lyx_gui.C: use lyx_gui::exit()
9305 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9307 * LyXAction.C: show the failing pseudo action
9309 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9311 * buffer.C (readFile): Run the lyxconvert script in order to read
9314 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9318 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9320 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9324 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9326 2002-07-22 Herbert Voss <voss@lyx.org>
9329 * lyxlength.[Ch]: add support for the vertical lengths
9331 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9333 * toc.[Ch]: std:: fixes
9335 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * lyxrc.C: do not include lyx_main.h
9339 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9345 * BufferView2.C: include "lyxlex.h"
9348 * bufferparams.h: do not #include "lyxlex.h"
9350 * lyxtextclasslist.C (Add): remove method
9351 (classlist): renamed to classlist_
9353 * paragraph_pimpl.C:
9357 * bufferview_funcs.C:
9362 * toc.C (getTocList): use BufferParams::getLyXTextClass
9364 * toc.C (getTocList): use InsetFloat::addToToc
9366 * toc.[Ch]: new files, containing helper functions to handle table
9369 * lyxfunc.C (dispatch): no need to remove spaces around command
9371 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9372 first command of the sequence; it is not very clever, but I do not
9373 have a better idea, actually
9375 * LyXAction.C (LookupFunc): make sure to remove space at the
9376 beginning and end of the command
9378 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9380 * MenuBackend.C (getMenubar): new method: return the menubar of
9382 (read): treat differently reading of menu and menubar (in
9383 particular, the menubar has no name now)
9384 (Menu::menubar): remove
9386 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9389 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9391 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9392 a bibitem inset in a RTL paragraph.
9394 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9396 * paragraph_pimpl.C: constify
9398 * BufferView_pimpl.C:
9400 * lyxfunc.C: fix dispatch in a nicer way
9402 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9404 * lyxfunc.C (dispatch):
9405 * BufferView_pimpl.C:
9406 * BufferView_pimpl.h:
9408 * BufferView.h: rename Dispatch() to dispatch()
9410 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9412 * lyxlayout.C (Read): honor DependsOn tag
9414 * lyxlayout.[Ch] (depends_on): new method
9416 * version.C.in: update lyx_docversion
9418 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9420 * paragraph.C (validate): remove from here...
9421 * paragraph_pimpl.C (validate): ... and move here
9422 (isTextAt): make it const
9424 * buffer.C (getLists): ws cleanup
9426 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9428 * language.C (read): Use iso8859-1 encoding in latex_lang
9429 (this prevents LyX from crashing when using iso10646-1 encoding).
9431 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * text2.C (toggleInset): if cursor is inside an inset, close the
9434 inset and leave cursor _after_ it
9436 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9438 * lyxfunc.C: move minibuffer completion handling out of here
9440 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9442 * BufferView_pimpl.C:
9443 * LaTeX.C: fix dispatch calls
9445 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9447 * text.C (drawChars): Fix Arabic text rendering.
9449 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9453 * lyxfunc.C: remove message-push/pop
9457 * lyxfunc.C: rationalise some code by removing verboseDispatch
9458 in favour of a bool argument to dispatch()
9460 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9462 * lyx_main.C (init): make sure to read symlinks as absolute paths
9464 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9467 * lyxfunc.C: no need for commandshortcut to be a member
9469 2002-07-15 André Pönitz <poenitz@gmx.net>
9471 * converter.C: add support for $$s (scripts from lib/scripts dir)
9472 * lyx_main.C: white space
9474 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9478 * lyxrc.C: remove second exit confirmation
9480 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9485 * BufferView_pimpl.h:
9486 * BufferView_pimpl.C:
9487 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9489 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9491 * MenuBackend.C (expand): add numeric shortcuts to document menu
9493 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9495 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9497 * lyxfont.C (setLyXFamily):
9504 * buffer.C (asciiParagraph): use ascii_lowercase
9506 2002-07-15 Mike Fabian <mfabian@suse.de>
9508 * lyxlex_pimpl.C (search_kw):
9509 * lyxlex.C (getLongString):
9510 * converter.h (operator<):
9511 * converter.C (operator<):
9512 * buffer.C (parseSingleLyXformat2Token):
9514 * ToolbarDefaults.C (read):
9515 * MenuBackend.C (checkShortcuts):
9517 * LColor.C (getFromGUIName):
9518 (getFromLyXName): use the compare_ascii_no_case instead of
9519 compare_no_case, because in turkish, 'i' is not the lowercase
9520 version of 'I', and thus turkish locale breaks parsing of tags.
9522 2002-07-16 Angus Leeming <leeming@lyx.org>
9524 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9525 now takes a Buffer const & argument.
9527 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9529 * BufferView.C (resize): check there's a buffer to resize
9531 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9533 * lyxfunc.C: remove dead code
9536 * lyxserver.C: use lyx_guii::set_read_callback
9538 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9540 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9541 an inset in a RTL paragraph.
9543 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9545 * lyxfunc.C: repaint after a font size update
9547 2002-07-15 André Pönitz <poenitz@gmx.net>
9549 * lyxlength.C: inBP should be able to return negative values
9551 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9553 * lyxfunc.C: use lyx_gui::update_fonts()
9555 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9557 * lyxfunc.C: use lyx_gui::update_color()
9559 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9565 * lyxrc.C: remove file->new asks for name option, and let
9566 buffer-new take an argument
9568 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9570 * BufferView_pimpl.C: remove unneeded extra repaint()
9572 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9574 * LyXAction.C: allow command-sequence with NoBuffer
9576 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9578 2002-07-10 Angus Leeming <leeming@lyx.org>
9580 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9582 2002-07-09 Angus Leeming <leeming@lyx.org>
9584 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9586 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9588 * lengthcommon.h: whitespace
9590 * lyxfunc.C: update scrollbar after goto paragraph
9592 * lyxtext.h: factor out page break drawing, and fix it so
9593 page break/added space paints as selected nicely
9595 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9597 * BufferView_pimpl.C: add FIXMEs, clean up a little
9599 2002-07-09 André Pönitz <poenitz@gmx.net>
9601 * lyxfont.[Ch]: support for wasy symbols
9603 2002-07-08 André Pönitz <poenitz@gmx.net>
9605 * BufferView_pimpl.C: apply John's patch for #93.
9607 2002-07-05 Angus Leeming <leeming@lyx.org>
9609 * BufferView_pimpl.C (buffer): generate previews if desired.
9611 * LColor.h: add "preview" to the color enum.
9613 * LColor.C (LColor): add a corresponding entry to the items array.
9615 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9618 2002-07-05 Angus Leeming <leeming@lyx.org>
9620 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9621 The body of the code is now in the method that is passed an ostream &
9622 rather than a file name.
9623 Pass an additional only_preamble parameter, useful for the forthcoming
9626 2002-07-03 André Pönitz <poenitz@gmx.net>
9628 * lyxfunc.C: simplify getStatus() a bit for math stuff
9630 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9634 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * text.C (changeRegionCase): do not change case of all the
9637 document when region ends at paragraph end (bug #461)
9639 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * paragraph.C (startTeXParParams):
9642 (endTeXParParams): add \protect when necessary
9644 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9646 * BufferView_pimpl.C (workAreaExpose): remove warning
9648 2002-06-27 Angus Leeming <leeming@lyx.org>
9650 * Makefile.am: add lyxlayout_ptr_fwd.h.
9652 2002-06-26 André Pönitz <poenitz@gmx.net>
9654 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9656 2002-06-25 Angus Leeming <leeming@lyx.org>
9658 * lyxfunc.C (dispatch): Comment out the call to
9659 grfx::GCache::changeDisplay. The method no longer exists now that the
9660 pixmap generation part of the graphics loader has been moved into
9663 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9665 * text2.C: layout as layout
9667 * text.C: layout as layout
9669 * tabular.C (OldFormatRead): layout as layout
9671 * paragraph_pimpl.C (TeXDeeper): layout as layout
9672 (realizeFont): layout as layout
9674 * paragraph.C (writeFile): layout as layout
9675 (validate): layout as layout
9676 (getFont): layout as layout
9677 (getLabelFont): layout as layout
9678 (getLayoutFont): layout as layout
9679 (breakParagraph): layout as layout
9680 (stripLeadingSpaces): layout as layout
9681 (getEndLabel): layout as layout
9682 (getMaxDepthAfter): layout as layout
9683 (applyLayout): layout as layout
9684 (TeXOnePar): layout as layout
9685 (simpleTeXOnePar): layout as layout
9686 (TeXEnvironment): layout as layout
9687 (layout): layout as layout
9688 (layout): layout as layout
9690 * lyxtextclass.C (compare_name): new functor to work with
9691 shared_ptr, layout as layout
9692 (Read): layout as layout
9693 (hasLayout): layout as layout
9694 (operator): layout as layout
9695 (delete_layout): layout as layout
9696 (defaultLayout): layout as layout
9698 * lyxlayout_ptr_fwd.h: new file
9700 * lyxlayout.C (Read): layout as layout
9702 * lyx_cb.C (MenuInsertLabel): layout as layout
9704 * bufferlist.C (newFile): layout as layout
9706 * buffer.C (readLyXformat2): layout as layout
9707 (parseSingleLyXformat2Token): layout as layout
9708 (insertStringAsLines): layout as layout
9709 (asciiParagraph): layout as layout
9710 (latexParagraphs): layout as layout
9711 (makeLinuxDocFile): layout as layout
9712 (simpleLinuxDocOnePar): layout as layout
9713 (makeDocBookFile): layout as layout
9714 (simpleDocBookOnePar): layout as layout
9715 (getLists): layout as layout
9717 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9719 * CutAndPaste.C (cutSelection): layout as layout
9720 (pasteSelection): layout as layout
9721 (SwitchLayoutsBetweenClasses): layout as layout
9723 * BufferView_pimpl.C (Dispatch): layout as layout
9724 (smartQuote): layout as layout
9726 * BufferView2.C (unlockInset): layout as layout
9728 2002-06-24 André Pönitz <poenitz@gmx.net>
9730 * lyxfunc.C: fix #487
9732 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9736 * lyxfunc.C: remove display_shortcuts, show_banner
9738 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9740 * Buffer_pimpl.C: oops, update on resize
9742 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9749 * BufferView.C: use repaint()
9751 * BufferView_pimpl.h:
9752 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9753 as it's a clearer description. Remove superfluous
9756 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9758 * text.C: fix bug 488. Not ideal, but getting
9759 getWord() to work properly for the insets that
9760 matter is more difficult ...
9762 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9764 * BufferView_pimpl.C:
9767 * lyxfunc.C: remove the six million index lyxfuncs to just
9768 one, and DTRT (bug 458)
9770 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9774 * BufferView_pimpl.h:
9775 * BufferView_pimpl.C: clean up resize() stuff,
9776 and unnecessary updateScreen()s
9778 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9782 * BufferView_pimpl.h:
9783 * BufferView_pimpl.C:
9786 * minibuffer.C: remove focus management of workarea,
9787 not needed. Use screen's greyOut()
9789 2002-06-17 Herbert Voss <voss@lyx.org>
9791 * converter.C: (convert) do not post a message, when converting
9792 fails, let the calling function decide what to do in this case
9794 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9796 * lyxfunc.C: tidy up a little
9798 2002-06-16 <alstrup@diku.dk>
9800 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9801 Got rid of FORMS_H_LOCATION include. Now we are
9804 2002-06-15 LyX Development team <lyx@rilke>
9806 * buffer.[Ch] (sgmlOpenTag):
9807 (sgmlCloseTag): Added support for avoiding pernicious mixed
9808 content. Return number of lines written.
9811 (makeDocBookFile): Fixed calls to sgml*Tag.
9812 Simple white space clean.
9814 (simpleDocBookOnePar): Simple white space clean.
9816 * tabular.[Ch] (docBook): Renamed to docbook and got another
9817 argument to related with the pernicious mixed content.
9819 (docbookRow): Fixed calls for docbook inset method.
9821 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9823 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9824 so it's X11 independent.
9828 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9830 2002-06-15 Lyx Development team <lyx@electronia>
9832 * intl.h: Renamed getTrans to getTransManager.
9834 2002-06-14 Angus Leeming <leeming@lyx.org>
9836 * Makefile.am: nuke forgotten stl_string_fwd.h.
9838 2002-06-12 Angus Leeming <leeming@lyx.org>
9840 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9842 2002-06-13 Angus Leeming <leeming@lyx.org>
9845 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9847 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9849 * kbmap.C (getiso): add support for cyrillic and greek
9851 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9855 * BufferView_pimpl.h:
9856 * BufferView_pimpl.C: move bogus scrolling logic
9859 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9862 * BufferView_pimpl.C: view->resize() change
9864 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9866 * BufferView_pimpl.C: topCursorVisible
9869 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9873 * lyx_gui.C: move to frontends/
9877 * lyx_main.C: changes from above
9879 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9886 * lyx_main.C: minor tidy
9888 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9890 * BufferView_pimpl.h:
9891 * BufferView_pimpl.C:
9893 * BufferView.C: make painter() const,
9896 * BufferView2.C: use screen() accessor
9899 * lyx_main.C: some minor cleanup
9901 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9903 * BufferView_pimpl.h:
9904 * BufferView_pimpl.C: remove enter/leaveView,
9907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9912 * BufferView_pimpl.h:
9913 * BufferView_pimpl.C: only construct screen once,
9916 * lyxrc.C: remove pointless comment
9918 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9921 * BufferView.C: remove active() and belowMouse()
9923 * BufferView_pimpl.h:
9924 * BufferView_pimpl.C: use workarea() not workarea_,
9925 and make it use a scoped_ptr instead
9927 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9929 * lyx_gui.C: add debug message on BadWindow
9931 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * sp_spell.C: fdopen is not part of the C++ standard.
9935 * paragraph.C (InsetIterator): use >= instead of ==
9937 2002-06-07 Angus Leeming <leeming@lyx.org>
9939 Fixes needed to compile with Compaq cxx 6.5.
9940 * BufferView_pimpl.C:
9947 * lyxtextclasslist.C:
9952 all c-library variables have been moved into namespace std. Wrap
9953 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9958 Add a using std::abs declaration.
9960 * kbmap.h (modifier_pair):
9961 * paragraph.h (InsetTable, InsetList):
9962 * lyxfont.h (FontBits):
9963 type definition made public.
9965 * bufferlist.C (emergencyWriteAll): the compiler complains that
9966 there is more than one possible lyx::class_fun template to choose from.
9967 I re-named the void specialisation as lyx::void_class_fun.
9969 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9971 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9972 the compiler is is unable to find tostr in write_attribute.
9974 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9976 * buffer.C (sgmlError): hide #warning
9978 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9980 * xtl/*: get rid of xtl, which is not in use anyway
9982 * LyXAction.C (init):
9983 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9984 were unimplemented xtl experimentation
9986 2002-06-04 André Pönitz <poenitz@gmx.net>
9988 * lyxfunc.C: disable array operation on simple formulae
9990 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9992 * converter.C: constify a bit
9994 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9996 * lyx_gui.C: check xforms version correctly
9998 2002-04-30 Herbert Voss <voss@lyx.org>
10000 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10003 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10005 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10006 attempt to register it with a VCS)
10008 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10010 * lyx_main.C (init): honor variables LYX_DIR_13x and
10013 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10017 * lyx_main.C: fix a crash on bad command line,
10018 and give a useful exit status on error
10020 * lyxfunc.C (doImport): allow -i lyx to work
10022 2002-03-30 André Pönitz <poenitz@gmx.net>
10024 * lyxfunc.C: mathed font changes
10026 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10041 * trans_mgr.h: srcdocs, and some minor cleanups
10043 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10046 call getFont all the time)
10048 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10050 * switch from SigC signals to boost::signals
10052 2002-05-29 André Pönitz <poenitz@gmx.net>
10054 * paragraph_pimpl.C (getChar): don't call size() too often...
10056 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10058 * paragraph_pimpl.C (insertChar): do not try to update tables when
10059 appending (pos == size())
10061 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10062 in order to reduce drastically the number of comparisons needed to
10063 parse a large document
10065 2002-05-29 André Pönitz <poenitz@gmx.net>
10071 * textclasslist.[Ch]:
10072 * sp_ispell.h: whitespace change
10074 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10076 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10077 lyxaction directly now.
10079 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10083 * lyxvc.C: remove unused headers
10085 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10092 * undo_funcs.C: some cleanups. Use shared_ptr
10093 and a template for the undo stacks.
10095 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10097 * BufferView_pimpl.h:
10098 * BufferView_pimpl.C:
10105 * text2.C: use key_state/mouse_state
10107 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10109 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10112 * chset.C: change include order
10113 (loadFile): use boost regex and get rid of LRegex and LSubstring
10115 * Makefile.am (BOOST_LIBS): new variable
10116 (lyx_LDADD): use it
10118 * LaTeX.C: change include order.
10119 (scanAuxFile): use boost regex and get rid of LRegex and
10123 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10128 * FontInfo.C: moved to frontends/xforms/
10131 * FontLoader.C: moved into frontends for GUIIzation
10136 * lyxfunc.C: changes from above
10138 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10140 * LColor.C: remove spurious X include
10142 * BufferView_pimpl.C:
10147 * text2.C: move font metrics to frontends/
10149 2002-05-24 Juergen Vigna <jug@sad.it>
10151 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10152 setting the undo_cursor.
10154 * ParagraphParameters.h: include local includes first.
10156 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10158 * BufferView_pimpl.C:
10159 * BufferView_pimpl.h:
10163 * screen.C: move WorkArea into frontends/
10169 * BufferView2.C: move LyXScreen into frontends/
10173 * lyx_gui.C: move lyxlookup into frontends/xforms/
10175 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10178 * BufferView_pimpl.C:
10188 * bufferview_funcs.C:
10201 * vc-backend.C: move LyX/XFormsView into frontends/
10203 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10215 * text2.C: move Painter to frontends/
10217 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * buffer.C: comment out some some code that depend upon lyx_format
10222 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10223 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10225 * buffer.h (NO_COMPABILITY): turn off compability
10227 * ColorHandler.C: include scoped_array.hpp
10229 * font.C: Use more specific smart_ptr header.
10232 * ShareContainer.h: ditto
10233 * lyx_main.h: ditto
10235 * FontInfo.h: ditto
10236 * BufferView_pimpl.h: ditto
10237 * ColorHandler.h: ditto
10239 * kbmap.C (defkey): change call to shared_ptr::reset
10241 2002-05-21 Juergen Vigna <jug@sad.it>
10243 * buffer.C (insertErtContents): fix to insert ert asis if it is
10244 non empty. Skip it completely if it contains only whitespaces.
10246 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10248 * BufferView_pimpl.C:
10249 * BufferView2.C: clear selection on paste (bug 393)
10251 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10253 * DepTable.C: include ctime
10255 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10257 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10259 2002-05-14 Juergen Vigna <jug@sad.it>
10261 * text.C (breakParagraph): fixed function to honor the keepempty
10262 layout in the right maner and also to permit the right breaking
10263 algorithm on empty or non empyt keepempty paragraphs.
10265 * paragraph.C (breakParagraph): we have to check also if the par
10266 is really empty (!size()) for isempty otherwise we do the wrong
10269 2002-05-10 Juergen Vigna <jug@sad.it>
10271 * buffer.[Ch] : The following are only changes to the ert
10272 compatibility read reading old LaTeX layout and font stuff and
10273 convert it to ERTInsets.
10275 * buffer.h: added isErtInset().
10277 * buffer.C (struct ErtComp): add a fromlayout bool to check
10278 if we're inside a LaTeX layout.
10279 (isErtInset): new helper function.
10280 (insertErtContents): look for other ert insets before this one
10281 and insert the contents there, so that we don't have subsequent
10282 ERT insets with nothing between them. This way we create only one
10283 inset with multiple paragraphs. Also check if we don't insert only
10284 spaces ' ' as they are ignored anyway afterwards in the .tex file
10285 so if we have only spaces we will ignore this latex part in the
10287 (parseSingleLyXformat2Token \\layout): better compatibility when
10288 reading layout-latex stuff.
10289 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10291 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10292 stuff after reading the inset only get the information back from
10295 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10297 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10299 * LaTeXFeatures.C (getBabelOptions): New method.
10301 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * BufferView_pimpl.C (Dispatch): work around missing argument for
10306 2002-05-08 Juergen Vigna <jug@sad.it>
10308 * text.C (leftMargin): handle paragraph leftindent.
10310 * paragraph.C (writeFile): write the new \\leftindent tag.
10311 (validate): handle leftindent code.
10312 (TeXEnvironment): handle paragraphleftindent code again.
10314 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10316 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10317 for paragrap_extra indent code and new token \\leftindent.
10318 (latexParagraphs): handle the leftindent as environment.
10320 * ParameterStruct.h: added leftindent support.
10322 * ParagraphParameters.C (leftIndent): added support functions for
10323 the paragraph left indent.
10325 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10328 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10330 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10333 * text.C (computeBidiTables): No bidi in insetERT.
10335 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10338 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * version.C.in: pre 5
10342 2002-05-02 José Matos <jamatos@fep.up.pt>
10343 * buffer.C (makeDocBookFile): white space changes, add newline to
10345 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10347 * tabular.C (docBook): fix typo.
10349 2002-05-03 Juergen Vigna <jug@sad.it>
10351 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10352 change in LyXText as we can not be sure it was not freed.
10353 (drawOneRow): remove unused code.
10355 * text.C (drawInset): redo the calculation of the need_break_row as
10356 it could have a row which was already freed.
10357 (draw): look at the return value of drawInset and return false if
10358 it also returned false.
10359 (paintRowText): look at the return value of draw and return false if
10360 it also returned false.
10362 * lyxtext.h: added bool return type to drawInset() and draw() so that
10363 if we have a change in the row so that the rowbreak has to be redone
10364 we abort drawing as it will be called again.
10366 2002-05-02 Juergen Vigna <jug@sad.it>
10368 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10369 a change in the maintext also if we're inside an inset.
10370 (Dispatch): set the cursor again after a break line and after the
10371 screen has been updated as it could be we're in a different row.
10373 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10374 to set the cursor behind the pargraph with > size().
10375 (setCursor): check also for the same paragraph when checking where
10376 to put the cursor if we have a NFR inset.
10378 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10379 parts of layout read further up as it still was in the wrong
10382 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10384 * screen.C (drawFromTo): change sine fullRebreak always return
10387 * buffer.C (parseSingleLyXformat2Token): reindent some
10389 * BufferView_pimpl.C (update): change since fullRebreak always
10391 (Dispatch): git rid of the last hardcoded "Standard"s.
10393 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * text2.[Ch] (fullRebreak): make it return void now that we always
10398 2002-04-30 Juergen Vigna <jug@sad.it>
10400 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10401 ert compatibility check for "latex" layout.
10403 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10405 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10406 minipages: use col% instead of p%, and also use the current font.
10407 (makeLaTeXFile): Fix use babel condition.
10408 (parseSingleLyXformat2Token): Correct font when reading old floats.
10410 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10412 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10413 inserting list of floats.
10415 2002-04-25 Herbert Voss <voss@lyx.org>
10417 * MenuBackend.C (expand): don't add the graphics extensions to the
10420 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10423 non-existing layout, do not complain if it was the default layout
10424 of the original class (bug #342)
10426 2002-04-24 Juergen Vigna <jug@sad.it>
10428 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10429 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10431 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10433 * buffer.C (getBibkeyList): If using \bibliography, return the
10434 option field with the reference itself. Enables us to provide natbib
10435 support when using \bibliography.
10437 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10439 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10441 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10442 natbib is provided by the LaTeX class.
10444 2002-04-23 Juergen Vigna <jug@sad.it>
10446 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10449 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10451 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10455 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10456 ensuremath around textordmasculine, textordfeminine and
10459 2002-04-19 Juergen Vigna <jug@sad.it>
10461 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10462 reinitializing the buffer otherwise row-dimensions may be wrong.
10463 (update): reset also the selection cursors if they do exits otherwise
10464 their x/y positions may be wrong.
10466 * text2.C (cursorDown): don't enter the inset if we came from a row
10467 above and are one row over the inset.
10469 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10470 really leaving an inset.
10472 2002-04-18 Juergen Vigna <jug@sad.it>
10474 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10475 of the selected paragraph does not have the selected layout also if
10478 * text2.C (setLayout): fixed bug which did not change last selected
10481 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10482 changed the read and substituted \\end_float with \\end_inset!
10484 * BufferView_pimpl.C (cursorPrevious):
10485 (cursorNext): fixed to make it work with rows heigher than the work
10486 area without moving the cursor only the draw of the row.
10487 (workAreaMotionNotify): fix jumping over high rows.
10489 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10494 2002-04-16 Juergen Vigna <jug@sad.it>
10496 * text2.C (setCursor): set also the irow().
10497 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10499 (cursorDown): support for locking an inset if the x_fix value goes
10500 inside it. That way I can transverse insets too with cursor up/down.
10502 * lyxrow.h: added irow helper function same as other (i) functions.
10504 * BufferView_pimpl.C (cursorPrevious):
10505 (cursorNext): fixed for insets!
10507 2002-04-15 Juergen Vigna <jug@sad.it>
10509 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10510 position otherwise it is wrong in some cases.
10512 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10513 inside the inset before the call.
10515 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10517 * buffer.[Ch] (getBibkeyList): make it const.
10519 2002-04-12 Juergen Vigna <jug@sad.it>
10521 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10523 * text2.C (getCursorX): new helper function
10524 (setCursor): compute also ix_
10525 (setCursorFromCoordinates): set also ix.
10527 * lyxcursor.h: added ix_ and helper functions.
10529 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10531 * buffer.C (insertStringAsLines): dont break paragraph if the this
10532 paragraph is inside an inset which does not permit it!
10534 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10535 also with no chars on this paragraph.
10536 (paintRowText): only paint stuff if it's inside the workarea!
10538 * paragraph.C (breakParagraph): honor keepempty flag and break the
10539 paragraph always below not above.
10541 * BufferView2.C (unlockInset): update the paragraph layout on inset
10542 unlock as we changed paragraph in such a case.
10544 * lyxfind.C (LyXFind): clear the former selection if not found!
10546 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10547 again called in insertChar().
10549 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10550 an inset which uses the whole row!
10551 (rightMargin): ditto.
10552 (insertChar): force a rebreak if we inserted an inset!
10554 2002-03-28 Herbert Voss <voss@lyx.org>
10556 * lyxlength.[Ch]: add inBP() to get the right PS-point
10557 units (BigPoint). With inPixels we have rounding errors
10559 2002-04-11 Juergen Vigna <jug@sad.it>
10561 * text2.C (setCursorFromCoordinates): set iy to the right value.
10562 (setCursor): add check if row->previous exists!
10564 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10565 an old float_type as this was the case in the old code!
10567 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10569 * BufferView2.C (showLockedInsetCursor): use iy
10570 (fitLockedInsetCursor): ditto
10572 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10573 locked insets as there we have the right value now.
10575 * lyxcursor.C: added iy_ variable and iy functions to set to the
10576 baseline of cursor-y of the locked inset.
10578 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10579 (setCursor): fixed for insets which need a full row.
10581 * text.C (rowLastPrintable): don't ignore the last space when before
10582 an inset which needs a full row.
10583 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10584 as last character of a row when before a inset which needs a full row.
10586 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * version.C.in: update date
10590 * text2.C (fullRebreak): try to always return true and see what
10593 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10595 * MenuBackend.C (expand): use Floating::listName
10597 * FloatList.C (FloatList): add listName argument to the built-in
10600 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10601 text associated with the float.
10603 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10605 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10607 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10609 * ShareContainer.h: add a couple of missing typenames.
10611 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10613 * lyxrc.C (getDescription): use _() correctly rather than N_().
10615 2002-03-28 Herbert Voss <voss@lyx.org>
10617 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10618 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10620 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10623 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10625 2002-03-29 Juergen Vigna <jug@sad.it>
10627 * lyxfunc.C (dispatch): add a missing fitCursor call.
10629 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10630 it was scrolled by a cursor move, so return the bool status.
10632 * BufferView.C (fitCursor): return the bool flag also to the outside
10633 world as this is needed.
10635 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10637 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10638 call the edit() as it is not needed (and wrong) IMO.
10639 (workAreaButtonPress): set the screen_first variable before evt.
10640 unlock the inset as this may change screen_first and then we have
10641 a wrong y position for the click!
10643 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10645 * MenuBackend.C (expand): another translation that I missed
10647 2002-03-28 Juergen Vigna <jug@sad.it>
10649 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10651 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10653 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10655 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10657 * MenuBackend.C (expand): fix export/view/update when there is no
10660 2002-03-27 Herbert Voss <voss@lyx.org>
10662 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10665 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10667 * bufferview_funcs.C (currentState): only show paragraph number
10668 for is DEVEL_VERSION is set.
10670 * lyxfunc.C (dispatch): put warning in INFO channel
10672 * MenuBackend.C (expand): translate the name of floats
10674 * FloatList.C (FloatList): mark the float names for translation
10676 * converter.C (convert): use LibScriptSearch
10678 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * MenuBackend.C (defaults): fix default menu (we might as well get
10683 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10685 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10688 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * lyxvc.C: reorder includes.
10692 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10694 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10697 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10699 * CutAndPaste.C: change layouts earlier on paste
10700 to avoid crashing when calling getFont()
10702 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10704 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10707 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10709 * WorkArea.C: remove 'Pending' debug message.
10711 * most files: ws cleanup
10713 * buffer.[Ch]: ws changes
10715 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10717 2002-03-21 Juergen Vigna <jug@sad.it>
10719 * tabular.C (SetMultiColumn): collapse also the contents of the
10720 cells and set the last border right. Added a Buffer const * param.
10722 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10727 2002-03-19 Juergen Vigna <jug@sad.it>
10729 * text2.C (clearSelection): reset also xsel_cache.
10731 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10732 where it needs to be called (John tells us to do so too :)
10733 (selectionLost): reset sel_cache.
10735 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10737 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * text2.C (setCursorIntern): put debuging code in INSETS channel
10741 2002-03-19 André Pönitz <poenitz@gmx.net>
10743 * lyxfunc.C: tiny whitespace change
10745 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10747 * ToolbarDefaults.C (init):
10748 * LyXAction.C (init):
10750 * BufferView_pimpl.C (Dispatch):
10751 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10753 2002-03-19 Allan Rae <rae@lyx.org>
10755 * exporter.C (Export): removeAutoInsets before doing anything else.
10756 While I've just introduced a dependency on BufferView this really is
10757 the best place to clean the buffer otherwise you need to cleanup in
10758 a dozen places before calling export or cleanup in a dozen functions
10761 * converter.C (runLaTeX):
10762 (scanLog): Better handling of removeAutoInsets and screen updates.
10764 * lyxfunc.C (dispatch): small whitespace changes
10766 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10768 * WorkArea.C (C_WorkAreaEvent): return a value.
10769 (event_cb): return 1 if we handled the event, 0 otherwise.
10771 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10773 2002-03-18 Juergen Vigna <jug@sad.it>
10775 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10776 (GetAdditionalWidth): ditto.
10777 (RightLine): ditto.
10780 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10781 inset if we're there actually (probably not used right now but this
10782 is the direction to go for unifying code).
10783 (paste): disable code to clear the selection.
10785 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10786 inside an InsetText and move the check further up as it is in the
10789 * text2.C (pasteSelection): set a selection over the pasted text.
10791 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10793 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10794 and libgraphics to build on Cygwin.
10796 2002-03-15 Juergen Vigna <jug@sad.it>
10798 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10799 inserting an Inset into the paragraph. I know this is not the best
10800 fix but we already use current_view in CutAndPaste so we will remove
10801 all of it's using at the same time.
10803 * buffer.C (sgmlError): deactivated function till it is rewritten in
10804 the right mode, now it can create problems.
10806 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10807 before accessing it.
10809 2002-03-14 Juergen Vigna <jug@sad.it>
10811 * undo_funcs.C (textHandleUndo): do the right thing when updating
10812 the inset after the undo/redo.
10814 * text2.C (setCursor): just some testcode for #44 not ready yet.
10816 * undo_funcs.C (textHandleUndo): set the next() and previous()
10817 pointers of the paragraph to 0 before deleting otherwise we have
10818 problems with the Paragraph::[destructor].
10820 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10821 on a paragraph insertion.
10823 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10825 * buffer.C (asciiParagraph): use += operator for char append to
10828 * paragraph.C (getFontSettings): compare >= not just >
10829 (highestFontInRange): ditto
10832 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10834 * paragraph.C: change several algorithm to be more appripriate for
10835 the problem domain. This is lookip in FontList and in the InsetList.
10837 2002-03-13 André Pönitz <poenitz@gmx.net>
10840 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10842 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10847 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10849 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * Painter.C (display): anon helper function, adjust code for this
10853 (pixmap): remove function.
10855 * Painter.h: remove private display variable.
10857 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10859 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10861 * WorkArea.[Ch]: remove figinset_canvas cruft.
10863 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10865 * lyxtextclass.C (operator): add one item cache optimization.
10867 * bufferlist.h: doxy changes
10869 * bufferlist.C: ws changes
10871 * DepTable.[Ch] (ext_exist): place const in the right spot.
10873 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10875 (workAreaExpose): call resizeInsets when the with BufferView changes.
10876 (Dispatch): adjust for protectedBlank removal
10877 (specialChar): call updateInset if the insert went ok.
10879 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10880 specialChar instead.
10882 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10884 * BufferView.h: doxy change
10886 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10888 * lyxtextclass.C (operator[]): remove non-const version
10889 (defaultLayout): remove non-const version
10891 2002-03-12 Juergen Vigna <jug@sad.it>
10893 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10894 did resize the LyXText too.
10896 * buffer.C (readLyXformat2): set layout information on newly allocated
10899 * tabular.C (OldFormatRead): set layout information on the paragraph.
10901 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10903 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10905 2002-03-11 Juergen Vigna <jug@sad.it>
10907 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10909 (resizeCurrentBuffer): force also the insets to resize themselfes.
10910 (moveCursorUpdate): fixed up for InsetText.
10912 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10915 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10916 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10917 value of Dialogs::tooltipsEnabled().
10918 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10920 2002-03-08 Juergen Vigna <jug@sad.it>
10922 * BufferView_pimpl.C (updateInset): update inset inside inset also
10923 if it isn't inside theLockingInset().
10925 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * buffer.C (asciiParagraph): redo some of the word and line length
10929 (getLists): look for Caption instead of caption.
10931 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * buffer.C (Buffer): initialize niceFile to true
10935 (makeLinuxDocFile):
10936 (makeDocBookFile): make sure niceFile is true on exit
10938 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10940 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10942 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10944 * LyXSendto.C: remove.
10945 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10946 * lyx_gui.C: remove now-redundant comment.
10947 * ColorHandler.h: remove forward declaration of class WorkArea.
10948 * lyxfunc.C: remove #include "WorkArea.h".
10950 2002-03-07 Juergen Vigna <jug@sad.it>
10952 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10953 got moved away with the DEPM and also set the inset_owner always
10954 right which before could have been omitted.
10956 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10959 wanted layout is not found.
10961 2002-03-07 Juergen Vigna <jug@sad.it>
10963 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10965 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10967 * paragraph.C (breakParagraph): use default layout not layout of
10969 (Paragraph): clear ParagraphParameters.
10971 2002-03-06 Juergen Vigna <jug@sad.it>
10973 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10974 otherwise it would not be a valid lenght. Fixed a special case in
10975 the minipage compatibility read where we end the document with a
10978 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10979 was set as it could be 0 for InsetTexts first entry.
10981 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * paragraph.C (writeFile): if layout is empty write out
10984 defaultLayoutName().
10986 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10987 file without named layout we set layout to defaultLayoutName().
10989 2002-03-06 Juergen Vigna <jug@sad.it>
10991 * CutAndPaste.C (copySelection): set layout for new paragraph.
10993 * text.C (prepareToPrint): leave ERT inset left aligned
10994 (leftMargin): don't indent paragraphs inside ERT insets
10996 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * paragraph.C (breakParagraph): dont call clear do the work manually
11000 * paragraph.[Ch] (clear): remove function
11002 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11004 * paragraph.C (Paragraph): dont call clear, the work has already
11007 * lyxtextclass.C (operator): assert if n is empty
11009 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11010 work manually instead.
11012 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11014 * BufferView_pimpl.C: protect selectionLost against text == 0
11016 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * text.C (breakParagraph): fix a setting layout to '0' problem.
11020 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11022 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11023 final location of file, for the included files, and graphics.
11025 2002-03-05 Juergen Vigna <jug@sad.it>
11027 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11029 2002-03-04 Juergen Vigna <jug@sad.it>
11031 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11033 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11034 last column of multicolumn cells.
11035 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11037 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11039 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11040 file if it doesn't go to a temporary file.
11042 * buffer.C (sgmlOpenTag):
11043 (sgmlCloseTag): remove extra newline insertion.
11045 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11047 * text.C (getRowNearY): comment out debug msg
11049 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11051 * text2.C: first -> first_y
11053 * text.C (getRowNearY): add some attemts at a possible
11054 optimization, not working.
11056 * tabular.[Ch]: add BufferParams to several function so that newly
11057 created paragraph can be initialized to he default layotu for the
11060 * tabular-old.C (ReadOld): add buf->params to call of Init
11062 * screen.C: rename text->first to text->first_y
11064 * paragraph.C (breakParagraph): always set layout in the broken
11067 * lyxtextclass.C (Read): remove lowercase
11070 (delete_layout): ditto
11072 * lyxtext.h: rename first -> first_y
11074 * lyxlayout.C (Read): remove lowercase
11077 (obsoleted_by): ditto
11079 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11081 * buffer.C (insertErtContents): add params are to InsetERT
11082 (parseSingleLyXformat2Token): add code to check if a paragraphs
11083 layout really exist.
11084 (parseSingleLyXformat2Token): add params to several inset
11086 (asciiParagraph): remove lowercase, do the layout comparisons with
11089 * BufferView_pimpl.C (cursorNext): first -> first_y
11090 (resizeCurrentBuffer): first -> first_y
11091 (updateScrollbar): first -> first_y
11092 (scrollCB): first -> first_y
11093 (workAreaMotionNotify): first -> first_y
11094 (workAreaButtonPress): first -> first_y
11095 (checkInsetHit): first -> first_y
11096 (cursorPrevious): first -> first_y
11097 (cursorNext): first -> first_y
11098 (Dispatch): add buffer_->params to severl inset contructors
11100 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * lyxlayout.C (Read): remove some debug info that I forgot.
11104 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11105 clean up the code slightly.
11106 (makeLinuxDocFile): ditto
11107 (makeDocBookFile): ditto
11109 * text2.C: layout as string
11111 * text.C: layout as string
11113 * paragraph_pimpl.C: layout as string
11115 * paragraph.[Ch]: layout as string
11117 * lyxtextclasslist.[Ch]: layout as string
11119 * lyxtextclass.[Ch]: layout as string
11121 * lyxtext.h: layout as string
11123 * lyxlayout.[Ch]: layout as string
11125 * lyx_cb.C: layout as string
11127 * bufferview_funcs.C: layout as string
11129 * bufferparams.C: layout as string
11131 * buffer.C: layout as string
11133 * LyXView.[Ch]: layout as string
11135 * LaTeXFeatures.[Ch]: layout as string
11137 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11139 * BufferView_pimpl.C: change current_layout to string, remove
11144 (workAreaButtonRelease): layout as string
11146 * BufferView2.C (unlockInset): adjust
11148 * vspace.C (asLatexCommand): use an explict temp variable.
11150 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11152 * Makefile.am: use FRONTEND_*
11154 2002-03-01 Juergen Vigna <jug@sad.it>
11156 * tabular.C (SetWidthOfMulticolCell): changed to something better
11157 I hope but still work in progress.
11158 (recalculateMulticolumnsOfColumn): renamed function from
11159 recalculateMulticolCells as it is more appropriate now.
11160 (SetWidthOfCell): calculate multicols better.
11162 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11166 * lyxfunc.C (processKeySym): print sequence also if it is
11167 `deleted' (complete)
11169 * kbsequence.C (print): print sequence even if it is deleted
11170 (complete would be a better word, actually).
11172 * lyxfunc.C (dispatch): print complete options after a prefix key
11174 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11176 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11178 * text2.C (setCharFont): eliminate setCharFont code duplication.
11180 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11183 LFUN_TABULAR_FEATURE (bug #177)
11185 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11187 * Makefile.am: remove figure.h
11189 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11191 * Bufferview_pimpl.C:
11203 * text2.C: remove #include "lyx_gui_misc.h".
11205 * LaTeX.C: added #include <cstdio>
11207 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11210 that the paragraph following this one can have.
11212 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11214 * vspace.C (asLatexCommand): fix bogus gcc warning
11216 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11218 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11220 * text2.C (setLayout): get rid of redundant code
11222 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11224 * text2.C (incDepth): make sure depth cannot be increased beyond
11227 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11229 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11230 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11232 * PainterBase.h (image):
11233 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11234 a LyXImage const *.
11236 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11240 * BufferView_pimpl.C:
11241 * BufferView_pimpl.h:
11261 * sp_spell.C: remove fig inset, and the crap house of
11262 cards that follows it
11264 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11269 * os2_errortable.h:
11270 * nt_defines.h: move .h into support/
11272 * vms_defines.h: remove
11274 * WorkArea.C: add space in debug output
11278 * buffer.C: add WITH_WARNINGS
11282 * bufferlist.C: s/retrive/retrieve/, add docs
11291 * chset.C: add docs
11293 * lyxgui.C: add ID to X error handler
11295 * lyxtestclass.c: fix typo
11297 2002-02-26 Juergen Vigna <jug@sad.it>
11299 * tabular_funcs.C (write_attribute): changed so that some default
11300 attributes are not written at all.
11301 (getTokenValue): set default values before trying to read the
11302 value so we have the return value always set as default if we don't
11303 find the token we search for.
11305 * tabular.C (Write): write bools as bools not as strings!
11307 2002-02-22 Juergen Vigna <jug@sad.it>
11309 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11310 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11312 * text.C (leftMargin): don't add an indent for paragraphs inside
11313 tabular cells (fix #208).
11315 2002-02-21 José Matos <jamatos@fep.up.pt>
11317 * tabular.C (docBook): fixed support for long tables.
11319 2002-02-20 Juergen Vigna <jug@sad.it>
11321 * text2.C (getFont): get the drawing font of the Inset if this
11322 paragraph is inside an inset (only important for InsetERT for now).
11324 * buffer.C (insertErtContents): use new lanugage params in ERT
11327 * CutAndPaste.C: commenting out seemingly uneeded code.
11329 2002-02-19 Allan Rae <rae@lyx.org>
11331 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11332 Iterators might be simple to use but they also get invalidated.
11333 (removeAutoInsets): renamed saved cursor tracking variables and added
11334 some comments to clarify what everything does.
11336 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11343 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11344 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11347 * vc-backend.h: remove #include "support/syscall.h"
11351 * converter.C: rearrange #includes in Lars' approved fashion.
11353 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11354 forward declare class Timeout in the header file.
11356 * XFormsView.C: changes due to the above.
11358 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11359 similar to LyXView.
11361 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11362 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11364 2002-02-18 José Matos <jamatos@fep.up.pt>
11366 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11369 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11371 * a lot of small ws changes
11372 * add a lot of using std::XXX
11373 * use std construcs some places where approp.
11374 * use some exisint stuff from lyxfunctional where approp.
11375 * Make file changes to use partial linking (lets test this now...)
11377 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11381 remove #include "support/syscontr.h" as it's redundant. Always has been.
11389 change Systemcalls::System to Systemcalls::Wait and
11390 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11391 No change of functionality, just reflects the stripped down Systemcalls
11394 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11396 * debug.[Ch]: add a GRAPHICS type to the enum.
11398 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11402 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11405 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11407 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11408 match the changes below.
11410 * text2.C (toggleInset): if there is not editable inset at cursor
11411 position, try to see if cursor is _inside_ a collapsable inset
11414 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11417 document menu has a nice checkbox
11419 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * lyxlength.C (asLatexString): change PW to output as percent of
11424 * lengthcommon.C: change '%' to 't%'
11426 * lyxfunc.C (dispatch): a few comments from Martin
11428 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11432 * BufferView_pimpl.h:
11433 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11436 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11438 * vspace.C (inPixels): fix compiler warning
11440 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * lyxfunc.C (getStatus): fix status message for disabled commands.
11444 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11446 * BufferView_pimpl.C: fix crash on close buffer
11447 during selection (#227)
11449 2002-01-27 Herbert Voss <voss@lyx.org>
11451 * buffer.C: link old Figure to new graphic inset
11453 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11455 * FontLoader.C (getFontinfo): Change the latex font names in order
11456 to match the names of type1inst.
11458 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11462 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11463 (extchanged): ditto
11465 (remove_files_with_extension): ditto
11466 (remove_file): ditto
11469 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11470 document is smaller than the work area height. Do not initialize
11471 static variables to 0.
11473 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11477 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11478 LFUN_LAYOUT_PARAGRAPHS.
11480 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11481 tabular. It is possible to provide a possible cell, which will
11482 typically be the actcell from the corresponding insettabular
11484 * lyxfunc.C (getStatus): small cleanup; disable
11485 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11488 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11492 * paragraph.C (startTeXParParams):
11493 (endTeXParParams): new methods. The LaTeX code to
11494 start/end paragraph formatting
11495 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11496 empty (fixes bug #200)
11498 * vspace.C (inPixels): adapt to the change below
11499 (inPixels): [later] more cleanups (remove unused variables)
11501 * lyxlength.C (inPixels): change to use a width and a height as
11504 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11506 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11507 Replaced with \paperwidth
11509 * DepTable.C (insert): add std:: qualifier
11511 2002-01-18 Allan Rae <rae@lyx.org>
11513 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11516 * text.C (drawInset): Turned out I didn't know enough about how
11517 rebreaking worked. This fixes most of the redraw problems. I see
11518 an occasional cursor trail when a line is broken now and the cursor
11519 placement can seem out by a few pixels also after a rebreak.
11521 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * buffer.C (parseSingleLyXformat2Token): update because minipage
11524 width is now a LyXLength
11526 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11528 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11531 2002-01-17 Juergen Vigna <jug@sad.it>
11533 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11535 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11536 is set correctly and the inset is updated correctly.
11538 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11541 the beginning of the loop.
11543 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11545 * lyxrc.C: improve help for use_scalable_fonts
11547 2002-01-17 Allan Rae <rae@lyx.org>
11549 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11551 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11553 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11554 make sure to set their inset_owner to the right value (bug #171)
11556 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11559 * DepTable.C: Implement mtime checking to reduce time spent doing
11562 2002-01-16 Juergen Vigna <jug@sad.it>
11564 * tabular.C (GetAdditionalHeight): one of error fixed.
11566 * lyxrc.C (output): small fix in writing use_pspell.
11568 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11570 * sp_base.h: #include LString.h
11572 2002-01-16 Allan Rae <rae@lyx.org>
11574 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11575 Can someone check this please?
11577 * text.C (drawInset): It was possible that p.row would be removed by
11578 breakAgainOneRow upsetting a few other settings. There may be another
11579 small tweak possible by setting need_break_row = 0 when p.row has been
11580 removed but I don't know enough about the logic here.
11582 2002-01-15 Allan Rae <rae@lyx.org>
11584 * text.C (insertChar): removed conditional truism.
11586 * BufferView2.C (removeAutoInsets): More tweaks.
11587 cur_par_prev could be a stray pointer. Check for trailing empty line
11588 in case last line was cur_par and only had an error inset on it.
11590 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11592 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11595 * vc-backend.C (most methods):
11596 * exporter.C (Export):
11597 * converter.C (convert):
11599 * LyXSendto.C (SendtoApplyCB):
11600 * lyxfunc.C (dispatch):
11604 * lyx_cb.C (AutoSave):
11606 * BufferView_pimpl.C (MenuInsertLyXFile):
11607 * buffer.C (runChktex): use Buffer::filePath().
11609 * buffer.h: rename filename to filename_; rename filepath to
11610 filepath_ and make it private
11611 (filePath): new method
11613 * buffer.C (writeFile): use fileName()
11616 * lyx_main.C (init): fix starting of LyX when the binary is a
11617 link from so,ewhere else.
11619 * minibuffer.C: include <cctype> for isprint
11621 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11623 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11624 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11625 name clash with InsetCollapsable's width function.
11627 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * lastfiles.C: include <iterator>
11631 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11633 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11636 * buffer.C (makeLaTeXFile): ditto.
11637 Also make loop operation more transparent.
11639 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11641 * ToolbarDefaults.C: remove trailing comma closing namespace.
11643 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11645 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11648 * trans.C (Load): comment out unused variable, allowed.
11650 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11652 * minibuffer.[Ch] (append_char): new method to recieve input from the
11653 drop-down completion browser. If a key was pressed, then recieve this
11654 char and append it to the existing string.
11655 (peek_event): modify the positioning data passed to the completion
11656 browser so that it can be placed above the minibuffer rather than below.
11657 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * LyXAction.C (init): alloe error-next for readonly documents.
11661 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11664 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11666 * bufferlist.C (readFile): create the buffer _after_ checking that
11669 * lyxfunc.C (verboseDispatch): fix handling of arguments
11671 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11673 * lyxrc.C: use string::erase() instead of initializing to "".
11676 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11678 * BufferView_pimpl.h:
11679 * BufferView_pimpl.C:
11682 * text2.C: tell X when we have made a selection for copying
11684 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11686 * BufferView_pimpl.C (MenuInsertLyXFile):
11687 * lyxfunc.C (menuNew):
11689 (doImport): add shortcuts to directory buttons
11691 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11694 * lyxfunc.C (setStatusMessage):
11695 (getStatusMessage): new methods
11696 (getStatus):use setStatusMessage instead of setErrorMessage
11697 (dispatch): when function is disabled, set error message here
11698 [instead of in getStatus previously]
11700 * BufferView_pimpl.C (workAreaButtonRelease): update
11701 toolbar/menubar here too.
11703 2002-01-13 Allan Rae <rae@lyx.org>
11705 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11706 Now seems indestructible. Remaining task is to audit all other
11707 code affected by deleteEmptyParagraphMechanism. One small quirk
11708 left is that an empty document with an error in the preamble can
11709 be made to report an error but no error box appears. I don't know
11711 (removeAutoInsets): Improved comments.
11713 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11716 * Thesaurus.C: update for Aiksaurus 0.14
11718 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * text2.C (firstParagraph): removed member function, all uses
11721 replaces with ownerParagraph
11722 (redoParagraphs): here
11723 (updateInset): here
11724 (toggleAppendix): here
11725 * BufferView2.C (insertErrors): here
11726 (setCursorFromRow): here
11728 2002-01-13 Allan Rae <rae@lyx.org>
11730 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11731 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11732 There is still a way to segfault this although you may have to do this
11733 multiple times: Have an InsetERT with an unknown command in it.
11734 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11735 <down-arrow>, <Enter> again, View->DVI, BANG!
11737 * text2.C (setCursor):
11738 (deleteEmptyParagraphMechanism):
11739 * lyxtext.h (setCursor):
11740 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11741 Making use of the return value may help fix other bugs.
11743 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11745 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11747 * LyXView.C (updateMenubar): call MenuBar::update here
11748 (updateToolbar): but not here
11749 (showState): do not update toolbar/menubar
11751 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11752 should need to care about that.
11754 * lyxfunc.C (verboseDispatch): simplify a bit
11755 (getStatus): have a version which takes a pseudoaction, and
11756 another which requires a (kb_action,string).
11758 * LyXAction.C (retrieveActionArg): make it work also when action
11759 is not a pseudo-action.
11760 (getActionName): simplify a bit
11763 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * lyxfunc.C (verboseDispatch): new families of methods with
11766 several ways to specify a command and a bool to indicate whether
11767 the command name and shortcut should be displayed in minibuffer
11768 (eventually, we could extend that to a finer bitmask like
11769 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11770 (dispatch): the pristine dispatch command which just, well,
11771 dispatchs! Note it still sets its result to minibuffer; I'm not
11774 * lyxfunc.h: remove setHintMessage
11776 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11778 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * BufferView_pimpl.C (specialChar): delete new inset if we have
11781 not been able to insert it.
11783 * kbmap.C: revert to using int instead of kb_action, since all we
11784 are dealing with is pseudo-actions.
11786 * LyXAction.C (searchActionArg): change to return int instead of
11787 kb_action, since the result is a pseudoaction.
11789 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11791 * buffer.C (insertErtContents): Fix (partially) the font bug.
11793 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11795 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11796 as the other one is broken on my machine!
11798 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11801 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11803 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11805 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11806 reflect their actual use. Provide compatibility code for older lyxrc
11809 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11811 change names of popup font variables in line with the changes to lyxrc.C
11813 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11815 * buffer.C (asciiParagraph): avoid outputing a word twice after
11818 * lyxrc.C (getDescription): document that document_path and
11819 template_path can be empty.
11821 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11823 * LaTeXFeatures.C (getMacros):
11824 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11826 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11828 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11830 (getPackages): rename feature "floats" to "float". Use an array to
11831 iterate over 'simple' features (i.e. just a \usepackage). Add
11832 handling of "amsmath" (renamed from "amsstyle").
11834 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11836 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11839 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11841 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11842 FuncStaus::FuncStatus & FuncStaus::some_method().
11844 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11846 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11847 of the func_satus stuff. Edited and massaged in various ways by
11850 * lyxfunc.C (getStatus): use FuncStatus
11852 2002-01-08 Juergen Vigna <jug@sad.it>
11854 * text.C (nextBreakPoint): use function Inset::isChar().
11856 * paragraph.C (TeXOnePar): use function
11857 Inset::forceDefaultParagraphs.
11859 * buffer.C (latexParagraphs): use function
11860 Inset::forceDefaultParagraphs.
11862 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11864 * lyx_gui.C (init): set the style of the menu popups to
11865 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11867 2002-01-07 Juergen Vigna <jug@sad.it>
11869 * text.C (setHeightOfRow): small fix
11870 (prepareToPrint): don't look at alignment if we don't have the place
11873 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11875 * box.C: New file. Move the Box methods and functions out of box.h,
11876 following Lars' suggestion.
11878 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11880 * box.h: #include "support/LOstream.h", needed for inlined function.
11883 * lyxtextclasslist.C: added some using std declarations.
11885 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11887 * box.h: make signed dimensions to allow insets wider than
11888 the screen (bug #162)
11890 * BufferView_pimpl.C: add some insetHit debug
11892 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11894 * vc-backend.C: add FIXME
11896 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11898 * lyxfunc.C (getStatus): enable code for showing math font status
11901 2002-01-07 Juergen Vigna <jug@sad.it>
11903 * text.C (nextBreakPoint): removed debug output not needed anymore.
11905 2002-01-06 Juergen Vigna <jug@sad.it>
11907 * text.C (nextBreakPoint): fixed up this function we had this bug
11908 since ever but now hopefully we break row better.
11909 (insertChar): we have to check if an inset is the next char as it
11910 could now happen that a large inset is causing a break.
11912 2002-01-05 Juergen Vigna <jug@sad.it>
11914 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11915 if it doesn't like to be drawed.
11917 2002-01-04 Juergen Vigna <jug@sad.it>
11919 * BufferView2.C (lockInset): forgot to set a cursor.
11921 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11923 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11925 * FormMathsPanel.C:
11928 * form_maths_panel.C:
11929 * form_maths_panel.h:
11930 * form_maths_panel.fd: implemented sub- and super- buttons in math
11933 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11934 (or ^ space) to be used as in TeX (req'd by André).
11936 * lyxfunc.C: Allow ^ and _ again to be used both as
11937 super/subscript (mathed) and as themselves (in text).
11939 2002-01-03 Allan Rae <rae@lyx.org>
11941 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11942 "LyX" or the filename of the current buffer if it has one. This is a
11943 modified form of John Levon's patch.
11945 * XFormsView.C (setWindowTitle): also set icon title.
11947 * LyXView.h (setWindowTitle): signature changed.
11948 * XFormsView.h (setWindowTitle): ditto.
11950 2002-01-02 Juergen Vigna <jug@sad.it>
11952 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11954 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11956 * screen.C (topCursorVisible): introduce a temp var for
11957 text->cursor.row(), handle the case where this row is null. (kindo
11960 * text2.C (setCursor): add a couple of asserts.
11962 * paragraph.h (inset_iterator): add -> operator
11964 * paragraph.[Ch] (autoDeleteInsets): remove member function
11966 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11967 cursor pos correctly and handle inset deletion by itself.
11968 (insertErrors): move iterator declaration out of for expression
11970 * lyxtextclass.C: add <algorithm>
11972 * Makefile.am: added the new files to sources, removed layout.C
11974 * layout.C: removed file
11976 * layout.h: remove LYX_DUMMY_LAYOUT
11978 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11982 * lyxtextclass.[Ch]:
11983 * lyxtextclasslist.[Ch]: new files
11985 * include order changes to a lot of files, also changes because of
11988 2001-12-27 Juergen Vigna <jug@sad.it>
11990 * buffer.C (asciiParagraph): more fixes.
11992 * tabular.C (ascii): make ascii export support export of only the
11993 data separated by a column-delimiter.
11994 (ascii): better support for ascii export.
11996 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11998 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12000 * tabular_funcs.C: use a "using std::getline" instead of the
12001 previous fix from Angus (necessary for cxx + lyxstring)
12003 2001-12-24 Juergen Vigna <jug@sad.it>
12005 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12007 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12008 problems. First check a minipage also if we have some ert-contents
12009 (not only on par->size(), second set the right depth of the paragraph
12010 on the relink to the root-paragraph-list!
12012 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12013 which then did not anymore update the main paragraphs on undo/redo!
12015 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12018 code. Support all font-changing funcs (even those which are not in
12019 menu currently). Support for reporting font settings in
12020 mathed (disabled until Andre provides a function on mathed's side).
12022 * func_status.h (toggle): small helper function to set toggle
12025 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12027 * tabular_funcs.C: getline -> std::getline
12029 2001-12-21 Juergen Vigna <jug@sad.it>
12031 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12032 accessed and could be 0 (I couldn't generate this but it seems
12035 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12038 * tabular_funcs.h: here and include iosfwd
12040 2001-12-20 Juergen Vigna <jug@sad.it>
12042 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12043 inside inset but undo_par was.
12045 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12047 * Thesaurus.C: always include <config.h> in sources.
12051 * box.h: do not include <config.h> in header files
12053 * text.C (paintLastRow): remove unused variable
12055 * text.C (transformChar):
12057 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12059 * Painter.C (text):
12060 * font.C (width): rewrite to use uppercase() instead of
12063 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12065 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12067 * lyxfind.C: clean up of find failure position change
12069 2001-12-20 Juergen Vigna <jug@sad.it>
12071 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12073 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12074 (TeXRow): added to LaTeX a single tabular row.
12075 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12076 (Latex): simplified and finally good LT-h/f support.
12077 (various_functions): just small adaptions for LT-h/f support.
12079 * tabular_funcs.[hC]: added and moved here all not classfunctions
12082 2001-12-19 Juergen Vigna <jug@sad.it>
12084 * tabular.[Ch]: better support for longtabular options (not finished
12087 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12089 * text.C (paintLastRow): use the label font instead of the font of
12090 the last character to compute the size of *_BOX. This makes more
12091 sense and avoids a crash with empty paragraphs.
12092 Use Painter::rectangle to draw EMPTY_BOX.
12094 2001-12-19 Juergen Vigna <jug@sad.it>
12096 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12097 the paragraphs if the replaced paragraph is not the first one!
12098 Tried to delete not used paragraphs but does not work yet so for
12099 now it's inside #ifdef's and by default off!
12101 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12103 * MenuBackend.C: include "lyx_main.h" instead of declaring
12104 lastfiles (actually was declared as LastFiles* instead of a
12107 2001-12-17 Juergen Vigna <jug@sad.it>
12109 * tabular.C (AppendColumn): applied John's fix
12111 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView_pimpl.h:
12116 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12119 * box.h: new start of class for above
12121 * lyxfunc.C: ignore space-only minibuffer dispatches.
12122 Show the command name when it doesn't exist
12124 * minibuffer.C: don't add empty lines to the history
12126 * minibuffer.C: add a space on dropdown completion
12128 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12130 * text.C: fix line above/below drawing in insets
12132 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12134 * lyxlength.C (LyXLength): Initialize private variables.
12136 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12138 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12139 when inserting error insets.
12141 2001-12-13 Juergen Vigna <jug@sad.it>
12143 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12144 actually sometimes the before-paragraph.
12145 (setUndo): don't clear the redostack if we're not actually undoing!
12147 2001-12-06 Juergen Vigna <jug@sad.it>
12149 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12150 and fixed redoing of main paragraph, so we can use it now ;)
12152 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12154 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12156 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12159 2001-12-13 André Pönitz <poenitz@gmx.net>
12162 * undo_func.C: minor cleanup
12164 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12167 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12168 font in urw-fonts package which is marked as -urw-fontspecific and
12169 does not work (incidentally, changing the encoding in the
12170 fonts.dir of this package to -adobe-fontspecific fixes the
12173 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12174 is a crash when undoing first paragraph (Juergen, please take a
12175 look). THis does not mean the undo fix is wrong, just that it
12178 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12179 the (Paragraph*) version when needed instead of duplicating the
12182 * text.C (workWidth): use Inset::parOwner to find out where the
12183 inset has been inserted. This is a huge performance gain for large
12184 documents with lots of insets. If Inset::parOwner is not set, fall
12185 back on the brute force method
12187 * paragraph_pimpl.C (insertInset):
12188 * paragraph.C (Paragraph):
12189 (cutIntoMinibuffer): set parOwner of insets when
12190 inserting/removing them
12192 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12194 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12200 * mathed/formulabase.C:
12201 * mathed/math_cursor.[Ch]:
12202 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12205 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * lyxlength.[Ch] (operator!=): new function
12209 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12211 * text.C (workWidth): use Inset::parOwner to find out where the
12212 inset has been inserted. This is a huge performance gain for large
12213 documents with lots of insets. If Inset::parOwner is not set, fall
12214 back on the brute force method
12216 * paragraph_pimpl.C (insertInset):
12217 * paragraph.C (Paragraph):
12218 (cutIntoMinibuffer): set parOwner of insets when
12219 inserting/removing them
12221 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12223 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * tabular-old.C (getTokenValue):
12226 * tabular.C (getTokenValue):
12227 (write_attribute): new versions for LyXLength
12228 (everywhere): adjust the use of widths
12230 * tabular.h: change the type of widths from string to LyXLength
12232 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12234 * paragraph.C: fixed missing line number count when exporting
12235 Environments to LaTeX file
12237 * buffer.C: added informational message for checking line numbers.
12239 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12241 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12242 paragraph, do the 'double space' part, but not the 'empty
12245 * text.C (workWidth): small optimization
12246 (getLengthMarkerHeight): use minimal size for negative lengths.
12248 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12250 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12252 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12254 2001-12-11 André Pönitz <poenitz@gmx.net>
12257 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12259 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12261 * text2.C: keep selection on a setFont()
12263 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12265 * lyx_cb.C: another bv->text misuse, from insert label
12267 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12270 * kbsequence.C: re-instate nmodifier mask
12272 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12274 * lyx_main.h: make lyxGUI private.
12276 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12278 * lyxfind.C: place the cursor correctly on failed search
12280 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12282 * text.C (getLengthMarkerHeight): for small heights, the arrows
12283 are not always on top/bottom of the text
12284 (drawLengthMarker): smaller arrows; take the left margin in
12285 account; draw also vfills.
12287 (paintLastRow): remove special code for vfill and standard spaces,
12288 since everything is handled in drawLengthMarker now.
12290 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * buffer.C (insertErtContents): try to handle font and language
12293 interaction a bit better.g
12295 * ColorHandler.C (updateColor): change the hash to cover the whole
12296 LColor enum, ws cleanup
12297 (getGCLinepars): ditto
12298 (getGCLinepars): only lookup in the linecache once.
12300 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12302 * iterators.C (operator++): Make the iterator more robust
12304 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12306 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12308 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12311 * text.C: better added space drawing
12313 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12316 * BufferView2.C: fix layout combo update on inset unlock
12318 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12320 * Makefile.am: don't compile unused files
12322 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12326 * LyXAction.C: remove old LFUN_LAYOUTNO
12328 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12330 * paragraph_pimpl.h:
12331 * paragraph_pimpl.C: isTextAt() doesn't need font param
12333 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12336 * lyxlex.C: little cleanup
12338 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12340 * BufferView_pimpl.C: fix insertAscii for insets
12342 2001-12-05 Juergen Vigna <jug@sad.it>
12344 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12345 set the right font on the "multi" paragraph paste!
12347 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * lyxlength.C: remove out-commented code.
12355 * BufferView_pimpl:
12369 * vc-backend.C: change "while(" to "while ("
12371 * lyxlength.[Ch]: add zero function to check if length is zero or
12373 * lyxgluelength.C: use it
12375 2001-12-05 Allan Rae <rae@lyx.org>
12377 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12378 Works for 2.95.3, from what I understand of Garst's reports this should
12379 work for other g++ versions. We're screwed if the abs(int) definition
12380 changed between bugfix releases of gcc.
12382 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12384 * text.C: fix chapter label offset !
12386 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12389 * text.C: fix hfill at end of line, clean up
12391 2001-12-04 Juergen Vigna <jug@sad.it>
12393 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12394 that we force an update of the inset and it's owners if neccessary.
12396 2001-12-03 Juergen Vigna <jug@sad.it>
12398 * text.C (rowLast): simplified code
12400 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12402 * lyxfunc.C: fix show options on timeout
12404 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12406 * screen.C (topCursorVisible): scroll half a page when the cursor
12407 reached top of bottom of screen
12409 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12411 * minibuffer.C: deactivate on loss of focus
12413 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * vspace.[Ch] (operator!=): add operator.
12417 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12419 * BufferView_pimpl.C: refuse to open an inset when
12420 there's a selection.
12422 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12424 * BufferView_pimpl.C: allow to click on RHS of full row insets
12426 2001-11-30 Juergen Vigna <jug@sad.it>
12428 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12429 insets for undo reasons.
12431 2001-11-28 André Pönitz <poenitz@gmx.net>
12433 * vspace.[Ch]: cosmetical changes
12435 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12445 * kbsequence.C: part re-write of old kb code
12448 * WorkArea.C: remove Lgb_bug_find_hack
12450 2001-11-30 José Matos <jamatos@fep.up.pt>
12452 * buffer.C (makeDocBookFile): add a comment to point a hack.
12453 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12454 Fixed a double write of labels.
12456 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12459 * LaTeX.h Fixed bug in LaTeX class where it would not
12460 re-run latex if no depfiles were changed, but the .dvi was removed.
12462 2001-11-28 André Pönitz <poenitz@gmx.net>
12464 * all the files from the change on 2001/11/26:
12465 use lyx::layout_type instead of LyXTextClass::size_type
12466 use lyx::textclass_type instead of LyXTextClassList::size_type
12468 2001-11-29 Juergen Vigna <jug@sad.it>
12470 * text.C: added support for paragraph::isFreeSpacing()
12472 * buffer.C: same as above
12474 * paragraph.h: inserted isFreeSpacing() function to enable
12475 FreeSpacing inside InsetERT.
12477 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12478 of the paragraph's in the cut/copy buffer to 0!
12480 * text2.C (removeRow): remove the assert as it can!
12482 * lyxtext.h: added helper function firstRow returning firstrow and
12483 made firstrow private again.
12485 * BufferView2.C (lockInset): don't relock if we're already locked!
12487 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12488 the only paragraph.
12489 (removeRow): added Assert::(firstrow)
12491 * debug.C: forgot to add INSETTEXT here.
12493 2001-11-28 Juergen Vigna <jug@sad.it>
12495 * sp_spell.C (initialize): changed error text to more general
12496 spellchecker command use (not only ispell!)
12498 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12500 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12502 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12504 * vspace.C: initialise lyxgluelength on failure
12506 2001-11-28 Allan Rae <rae@lyx.org>
12508 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12509 declaration & definition that looks like a function declaration.
12511 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12513 * BufferView2.C (copy):
12514 (copyEnvironment): do not clear the selection when doing a copy.
12516 * text.C (paintFirstRow): compilation fix
12518 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12520 * tabular.C (Latex): correct line count when writing latex.
12522 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12524 * paragraph_pimpl.h:
12525 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12528 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12532 * LColor.C: change vfillline->added_space
12534 * text.C: add markers and text for added space
12536 * vspace.C: fix comment
12538 2001-11-28 André Pönitz <poenitz@gmx.net>
12540 * paragraph.C: whitespace changes
12541 * all the other files from the change on 2001/11/26:
12542 change *::pos_type into lyx::pos_type
12544 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12546 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12547 language of the document when inserting error insets.
12549 2001-11-26 André Pönitz <poenitz@gmx.net>
12551 * BufferView_pimpl.[Ch]:
12559 * paragraph_pimpl.[Ch]:
12562 * text2.C: reduce header dependencies, introduce type for positions
12564 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12566 * <various>: change to use Alert.h
12568 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12570 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12571 when encountering an unknown token.
12572 (readLyXformat2): Show an error message if there were unknown tokens.
12574 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12577 * BufferView_pimpl.C:
12581 * text2.C: use par->isInset()
12583 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12585 * paragraph_pimpl.h:
12586 * paragraph_pimpl.C: cleanup
12588 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12590 * text2.C (removeRow):
12591 * text.C (setHeightOfRow): remove useless (and costly) call to
12594 2001-11-20 Allan Rae <rae@lyx.org>
12596 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12597 Now need Inset*::checkInsertChar() to return true for appropriate
12598 cases so that the characters in the minibuffer will actually be
12601 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * text.C: change the order of the includes.
12604 (workWidth): initialize it at once.
12605 (workWidth): make maxw unsigned
12606 (setHeightOfRow): remove unused variable (inset)
12607 (selectSelectedWord): remove unused variable (inset)
12608 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12610 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12613 server is not running.
12615 (closeConnection): add debug info when server is disabled.
12617 * ColorHandler.C (getGCForeground): send debug message to GUI
12620 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12622 * kbmap.C (bind): modify because return conventions of
12623 kb_sequence::parse have changed.
12625 * kbsequence.C (parse): only ignore spaces and not any stupid
12626 control character. This avoids tests like s[i] <= ' ', which are
12627 guaranteed to fail with 8bit characters and signed chars.
12628 Change return code to string::npos when there have been no error
12629 (0 was a bad idea when error is at first character)
12631 2001-11-14 José Matos <jamatos@fep.up.pt>
12634 * buffer.C (simpleDocBookOnePar): removed unused argument.
12636 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12638 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12639 insets which are part of a word. Paragraph::isLetter takes care of
12640 that now. Use Paragraph::isInset to identify insets.
12641 (selectSelectedWord): do not test for hyphenation break.
12643 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12644 that protected spaces are considered as spaces.
12646 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12649 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12652 * lyxserver.C: fix it. and small cleanup.
12654 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12656 * BufferView_pimpl.C: use inline helpers
12659 * LaTeXFeatures.C: fix typos
12662 * Spacing.C: move spacing_string into class
12664 * ToolbarDefaults.C: move stuff into namespace anon
12666 * layout.h: update enum
12668 * lyxfunc.C: use better debug
12670 * minibuffer.h: fix typo
12674 * WorkArea.C: add and use Debug::WORKAREA
12678 * text2.C: code re-organisation, inline helpers
12680 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12682 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12683 std::vector.empty().
12685 2001-11-09 Allan Rae <rae@lyx.org>
12687 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12688 '\n's after tables. Tabular and ERT inset work now makes this no
12691 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12694 * minibuffer.C: fix crash, improve drop-down completion
12696 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12699 * lyxserver.C: invalidate fd's when doing endPipe()
12701 2001-11-08 José Matos <jamatos@fep.up.pt>
12703 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12704 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12707 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12709 2001-11-07 José Matos <jamatos@fep.up.pt>
12712 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12715 * buffer.C (sgmlOpenTag):
12716 * buffer.C (sgmlCloseTag): removed debug info.
12718 * buffer.h (sgmlOpenTag):
12719 * buffer.h (sgmlCloseTag): made public.
12721 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * buffer.C (saveParamsAsDefaults):
12724 * lyx_cb.C (MenuLayoutSave): remove
12726 * LyXAction.C (init):
12728 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12730 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12732 * buffer.C (setPaperStuff): removed from here...
12734 * bufferparams.C (setPaperStuff): ... and moved there.
12736 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12740 * XFormsView.C: add support for drop-down completion
12742 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12744 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12747 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12752 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12754 * lyx_main.C: change ref to known bugs
12756 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12758 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12759 to work around older babel problems.
12761 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12763 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12765 2001-10-24 Juergen Vigna <jug@sad.it>
12767 * tabular-old.C (ReadOld): below variable changes reflected.
12769 * tabular.[Ch]: added ltType struct for longtable header/footer
12770 defines and changed all instances where they are used. Added
12771 future support for double top/bottom rows.
12773 2001-10-24 José Matos <jamatos@fep.up.pt>
12775 * buffer.h (docbookHandleCaption):
12776 * buffer.C (docbookHandleCaption): removed unused function.
12777 (makeDocBookFile): moved docbook supported version to v4.1.
12779 2001-10-24 José Matos <jamatos@fep.up.pt>
12782 * tabular.C (docbookRow): new function to export docbook code of a row.
12783 (DocBook): now honors the longtable flags.
12785 2001-10-23 José Matos <jamatos@fep.up.pt>
12788 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12789 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12791 * buffer.C (makeLinuxDocFile):
12792 (makeDocBookFile): reworked the preamble, more clean, and with
12793 support for lyx defined entities. Changed the document declaration
12794 to be more XML friendly.
12796 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12797 if we need to output XML that should be done with a filter.
12799 2001-10-22 Juergen Vigna <jug@sad.it>
12801 * sp_pspell.h (class PSpell): add alive function needed in the
12802 controller to see if the spellchecker could be started.
12804 2001-10-22 Juergen Vigna <jug@sad.it>
12806 * buffer.C (insertStringAsLines): modify the font for inserting
12807 chars in certain conditions by calling checkInsertChar(font).
12809 2001-10-19 Juergen Vigna <jug@sad.it>
12811 * text.C (workWidth): use getRow instead of wrong algorithm.
12812 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12814 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12819 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12821 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * text.C (workWidth): do not search for the exact row when
12824 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12825 optimization for big documents.
12827 2001-10-18 Juergen Vigna <jug@sad.it>
12829 * text.C (workWidth): new function with added Inset * parameter.
12831 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12835 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12836 change return type of getColumnNearX.
12839 * text.C (changeRegionCase): use uppercase/lowercase instead of
12842 (rightMargin): simplify code by factoring out the uses of
12847 (appendParagraph): use Paragraph::size_type
12849 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * vspace.C (asLatexString): add a missing break
12853 2001-10-15 Herbert Voss <voss@perce.de>
12855 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12857 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12862 2001-10-10 André Pönitz <poenitz@gmx.net>
12864 * lyxfunc.C: removed greek_kb_flag.
12866 2001-10-10 Herbert Voss <voss@perce.de>
12868 * lyx_main.C: delete global string help_lyxdir.
12870 2001-10-09 Herbert Voss <voss@perce.de>
12872 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12874 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12876 * lyx_main.C: added global string help_lyxdir.
12878 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12880 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12882 * lyxrc.C (set_font_norm_type): support iso8859-4
12884 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12886 * LaTeX.C (deplog): add another regex for MikTeX
12888 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12890 * lyxrc.C (set_font_norm_type): support iso8859-3
12892 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12896 * LaTeXFeatures.C: remove special case of french and index
12898 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12899 before \begin{document}). This solves several incompatibilities.
12901 2001-10-03 Garst Reese <reese@isn.net>
12903 * lyx_cb.C: change CheckTex error msg.
12905 2001-10-03 José Matos <jamatos@fep.up.pt>
12907 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12909 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12911 * .cvsignore: update
12913 * lyx_main.C (commandLineVersionInfo): use new style version info.
12915 * buffer.C (writeFile):
12917 (makeLinuxDocFile):
12918 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12920 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12922 * version.h: update to use stuff in version.C
12924 * version.C.in: new file. Contains version information determined
12925 at compile time. This is a merging of version.h and
12928 2001-10-03 Juergen Vigna <jug@sad.it>
12930 * BufferView_pimpl.C (update): don't change "dirty" status in
12933 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12935 * WorkArea.C (c-tor): re-position version string slightly.
12937 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12939 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12940 revert to previous code.
12942 WorkArea.[Ch]: (show, destroySplash): methods removed.
12944 WorkArea.C: rework code so that it's an amalgam of the codes before and
12945 after the splash screen was moved to WorkArea.
12947 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * vspace.C (inPixels):
12953 * buffer.C (insertStringAsLines):
12954 (asciiParagraph): fix types to be large enough
12956 * lyxlex_pimpl.h: change member status from short to int
12958 * layout.h: fix type of endlabeltype
12961 * kbsequence.C (parse): change return type to string::size_type
12963 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12966 * Bullet.C (bulletSize):
12967 (bulletEntry): do not use short ints as parameters
12969 * BufferView2.C (insertLyXFile): change a char to an int.
12971 * WorkArea.C (WorkArea): remove unneeded floats in computation
12973 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12975 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12977 * paragraph.C (asString): Do not ignore newline/hfill chars when
12978 copying to the clipboard.
12980 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12982 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12983 after a multi-line inset.
12985 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12987 * paragraph.C (validate): Set NeedLyXFootnoteCode
12989 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12991 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12992 and decrease-error to decrease.
12994 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12996 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12997 it more readable (should be equivalent)
12999 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13001 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13003 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13005 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13006 of a cursor (row, etc.) after a character has been deleted
13007 (deleteEmptyParagraphMechanism): call the method above on _all_
13008 cursors held by the LyXText when a double space has been
13011 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13013 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13015 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13017 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13018 background. Use greyOut() and the new show() methods to toggle between
13019 the foreground and background. Add code to remove the splash after
13020 its initial showing.
13022 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13023 (create_forms): no longer call Dialogs::showSplash.
13025 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * .cvsignore: add version_info.h
13029 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13031 * version_info.h.in: new file
13033 * Makefile.am: add version_info.h.in
13035 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13036 version_info.h instead of VERSION_INFO
13038 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13040 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13041 The ERT inset now returns string().
13043 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13045 * lyxtext.h, text.C (selectNextWord): renamed as
13046 selectNextWordToSpellcheck.
13048 * text.C (selectNextWordToSpellcheck): Modified to not select
13049 words inside an ERT inset.
13051 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13053 * lyx_cb.C (MenuLayoutSave): change a bit the question
13055 * sp_base.h: include <sys/types.h>
13057 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13059 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13061 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13063 * several files: fix typos in user-visible strings
13065 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13067 * text2.C (pasteSelection): do not set the selection, since it
13068 will be cleared later. Actually, the intent was to fix the way the
13069 selection was set, but I figured rmoving the code was just as good.
13071 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13073 * FontLoader.C (available): Check if font is available without
13076 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13078 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13080 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13082 * lyxrc.[Ch]: added display_graphics variable and associated code.
13084 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13086 * bufferparams.C (hasClassDefaults): new method. Returns true if
13087 the buffer parameters correspond to known class defaults
13089 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13091 * XFormsView.C (show): set minimum size to the main window.
13093 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13095 * text2.C (copySelection):
13097 * lyxfind.C (LyXReplace):
13098 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13099 LyXText::selectionAsString.
13101 * paragraph.C (asString): add "label" argument to the second form
13103 * text2.C (selectionAsString): add "label" argument and pass it to
13104 Paragraph::asString.
13106 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * lyx_main.C (commandLineHelp): remove version information
13110 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13112 * lyx_main.C: add -version commandline option
13114 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * paragraph.h: make the optional constructor arg required instead.
13117 some modifications to other files because of this.
13119 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13121 * lyxserver.C (C_LyXComm_callback): make it static
13123 * lyx_main.C (error_handler): make it static
13125 * lyx_gui.C (LyX_XErrHandler): make it static
13127 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13129 * WorkArea.C: make the extern "C" methods static.
13131 * Makefile.am (lyx_LDADD): simplify
13133 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13135 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13136 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13138 * LyXAction.C (init):
13139 * lyxfunc.C (dispatch): associated code removal.
13141 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13143 * lyxfont.h (isSymbolFont): shut off warning
13145 * text.C (setHeightOfRow):
13146 (getVisibleRow): fix crash with empty paragraphs which have a
13149 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13151 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13154 2001-09-04 José Matos <jamatos@fep.up.pt>
13157 * tabular.C (docbook): rename docBook method to docbook.
13159 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13161 * Makefile.am: add dependencies to main.o.
13163 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13165 * FontLoader.C (available): Return false if !lyxrc.use_gui
13167 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13169 * FontInfo.C (query):
13170 * converter.C (view):
13171 * importer.C (Import):
13172 * exporter.C (Export): Can not -> cannot.
13174 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13176 * BufferView_pimpl.C: allow to create index inset even if
13179 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13181 * buffer.C (getLists): replace boost::tie code with an explicit pair
13182 as boost::tie can break some compilers.
13184 * iterators.h: Added a std:: declaration to the return type of
13187 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13189 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13192 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13194 * iterators.[Ch]: New files. Provide paragraph iterators.
13196 * buffer.C (changeLanguage): Use paragraph iterators.
13197 (isMultiLingual): ditto
13199 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13201 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13203 * FontLoader.C: Support for cmr font.
13205 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13207 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13208 (available): New method.
13210 * FontInfo.C (getFontname): Use scalable fonts even when
13211 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13214 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13216 * converter.C (Formats::view): reverted! Incorrect fix.
13218 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13220 * converter.C (Formats::view): only output the -paper option
13221 if the dvi viewer is xdvi, thereby fixing bug #233429.
13223 2001-08-23 Herbert Voss <voss@perce>
13225 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13227 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13229 * Spacing.h (Spacing): Set space to Default on in the default
13232 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * vc-backend.h (RCS::versionString): add RCS to version
13235 (CVS::versionString): add CVS to version
13237 * vc-backend.C (scanMaster): do not add CVS to version.
13238 (scanMaster): do not add RCS to version
13240 * lyxvc.C (versionString): new method
13242 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13244 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * Spacing.C (set): initialize fval
13248 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13250 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13253 2001-08-16 Juergen Vigna <jug@sad.it>
13255 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13257 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13259 * BufferView_pimpl.C:
13262 * text2.C: setParagraph takes linespacing now
13264 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13266 * LyxAction.C: add internal LFUN_CITATION_INSERT
13268 * LyXView.C: actually apply fix
13270 * bufferlist.C: fix open non-existent file
13272 * lyxfind.C: fix indentation
13274 * lyxfunc.C: remove unneeded assert, fix typo
13276 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13278 * MenuBackend.C: use "Floatname List"
13280 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13282 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13283 when converting LaTeX layout to insetERT.
13284 Generate a non-collapsed float when reading old float
13286 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13288 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13291 2001-08-13 Juergen Vigna <jug@sad.it>
13293 * text.C (fill): return 0 instead of 20 as this seems to be the more
13296 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13298 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13301 2001-08-13 Juergen Vigna <jug@sad.it>
13303 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13305 (SearchBackward): comment out the unlocking of the inset_owner this
13306 should not be needed!
13308 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13310 * Many files: Remove inherit_language, and add latex_language
13312 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13313 collapsible insets.
13315 2001-08-10 Juergen Vigna <jug@sad.it>
13317 * text.C (prepareToPrint): fixed hfill-width in draw!
13319 * BufferView2.C (selectLastWord): save the selection cursor as this
13320 now is cleared in the function LyXText::clearSelection!
13322 2001-08-08 Juergen Vigna <jug@sad.it>
13324 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13325 BACKSPACE type functions.
13327 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13328 is only cutted from the document but not put in the cut-buffer, where
13329 still the old stuff should be.
13331 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13333 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13335 * tabular.C (SetWidthOfCell): fixed special case where the width
13337 (LeftLine): handle '|' in align_special.
13339 (LeftAlreadyDrawed): ditto
13340 (SetWidthOfCell): ditto
13342 2001-08-07 Juergen Vigna <jug@sad.it>
13344 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13346 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13348 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13349 * lyxlex.[hC]: ditto
13351 2001-08-06 Juergen Vigna <jug@sad.it>
13353 * text.C (getVisibleRow): fix up row clearing a bit.
13355 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * minibuffer.C: make sure the X server sees the changes in the input.
13359 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * paragraph.C (getFont): split into...
13362 (getLabelFont): this
13363 (getLayoutFont): and this
13364 * paragraph_pimpl.C (realizeFont): calling this
13366 * text2.C (getFont): split into...
13367 (getLayoutFont): this
13368 (getLabelFont): and this
13369 (realizeFont): all three calling this
13371 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13374 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13378 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13380 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13381 layouts from the Quote inset insertion.
13383 2001-08-03 Juergen Vigna <jug@sad.it>
13385 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13387 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13388 only if status not is already CHANGED_IN_DRAW (second level).
13390 * text.C (draw): don't set the need_break_row when inside an
13393 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * buffer.C (parseSingleLyXformat2Token): handle more latex
13398 * bufferview_funcs.[hC]: change function names to
13399 begin with small char, adjust other files.
13401 2001-08-02 André Pönitz <poenitz@gmx.net>
13404 BufferView_pimpl.C: remove broken special code for math-greek
13406 2001-08-02 Juergen Vigna <jug@sad.it>
13408 * BufferView_pimpl.C (update): redone this function so that we
13409 update the text again if there was a CHANGE_IN_DRAW.
13411 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13412 (drawFromTo): added a new internal bool which is used by draw() and
13414 (general): some cursor drawing problems fixed.
13416 2001-08-01 Juergen Vigna <jug@sad.it>
13418 * lyxfind.C (LyXFind): fixed
13419 (SearchForward): ditto
13420 (SearchBackward): ditto
13422 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13423 spurius drawing of the cursor in the main area.
13425 * text2.C (status): small fix which could lead to a segfault!
13426 (clearSelection): remove unneeded BufferView param.
13428 2001-08-01 André Pönitz <poenitz@gmx.net>
13430 * lyxfunc.C: small change due to changed mathed interface
13432 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13434 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13436 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13438 * lyxfunc.c: fail gracefully if file doesn't exist
13443 * BufferView_pimpl.C: IsDirWriteable() proto changed
13445 * LyXView.C: fix updateWindowTitle() to store the last title
13447 2001-07-31 Juergen Vigna <jug@sad.it>
13449 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13450 the font (wrong since using of Paragraph::highestFontInRange).
13452 * paragraph.C (highestFontInRange): added a default_size parameter.
13454 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13455 (setHeightOfRow): reformat
13457 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * converter.[hC] + affected files: move to (inital-char)lowercase
13462 * ParagraphParameters.C (ParagraphParameters): remove commented code
13464 * PainterBase.[Ch]: remove commented code
13466 * LaTeXFeatures.h: add "bool floats" for float.sty
13468 * LaTeXFeatures.C (LaTeXFeatures): init floats
13469 (require): handle float
13470 (getPackages): do it with floats
13472 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * BufferView_pimpl.C (Dispatch): improve handling of
13475 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13477 * commandtags.h: #include lyxfont.h here temporarily to avoid
13480 * bufferlist.h: include LString.h here.
13482 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * text2.C (getStringToIndex): new method.
13486 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13488 * *: Reduced header file dependencies all over.
13490 2001-07-30 Baruch Even <baruch@lyx.org>
13492 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13494 2001-07-29 Baruch Even <baruch@lyx.org>
13496 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13498 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * ParameterStruct.h (endif): add a default constructor to make
13501 sure that all variables is initialized.
13503 * ParagraphParameters.C (ParagraphParameters): adjust
13505 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13508 index; also, check that there is something to index, and that it
13509 does not span over several paragraphs.
13510 (doubleClick): use WHOLE_WORD_STRICT for double click.
13512 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13514 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13517 2001-07-26 Baruch Even <baruch@lyx.org>
13519 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13520 an InsetFig figure, backwards compatible reading of old figure code.
13522 2001-07-27 Juergen Vigna <jug@sad.it>
13524 * text2.C: font.realize function adaption.
13526 * text.C (draw): add a warnings lyxerr text if needed.
13528 * layout.C: font.realize function adaption.
13530 * language.C: add inherit_language and implement it's handlings
13532 * bufferview_funcs.C (StyleReset): remove language parameter from
13533 font creation (should be language_inherit now).
13535 * bufferparams.C (writeFile): handle ignore_language.
13537 * paragraph.C (getFontSettings): the language has to be resolved
13538 otherwise we have problems in LyXFont!
13540 * lyxfont.C (lyxWriteChanges): added document_language parameter
13541 (update): removed unneeded language parameter
13543 * paragraph.C (validate): fixed wrong output of color-package when
13544 using interface colors for certain fonts in certain environments,
13545 which should not seen as that on the final output.
13547 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13549 * BufferView_pimpl.C:
13554 * LyXAction.C: add thesaurus support
13557 * lyxfind.C: add "once" parameter, for thesaurus, to not
13558 move to the next match
13560 2001-07-26 Juergen Vigna <jug@sad.it>
13562 * lyxfont.C (realize): honor ignore_language too!
13565 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13567 * text.C (draw): one place more for ignore_language to not draw
13570 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13572 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13574 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13577 the minipage conversion problem.
13579 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13584 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * BufferView.h: don't forward declare WorkArea
13588 * BufferView.C: don't include WorkArea.h
13590 2001-07-25 André Pönitz <poenitz@gmx.net>
13594 * lyxfunc.C: new LFUN 'math-space'
13596 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13598 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * text2.C (toggleInset): call open/close
13602 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13604 * lyxfunc.C (dispatch): add debug for the disabled case
13606 * font.C (buttonText): make similar to rectText
13608 * buffer.C (readInset): comment out parsing of insetlist and
13611 * PainterBase.C (rectText): small correction
13613 * BufferView_pimpl.C: comment out insettheorem and insetlist
13614 * LyXAction.C: ditto
13615 * commandtags.h: ditto
13617 2001-07-24 Juergen Vigna <jug@sad.it>
13619 * text.C (draw): honor the ignore_language.
13621 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13623 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13628 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13630 * lyxtext.h: remove unused (and unimplemented) methods
13632 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13634 * text.C (getVisibleRow): honor background color
13637 * Painter.h: remove default color argument for fillRectangle
13639 * text.C (backgroundColor): new method
13641 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13643 * text.C (getVisibleRow): adjust
13645 * font.[Ch] (rectText): new method, metrics
13646 (buttonText): new method, metrics
13648 * PainterBase.[hC]: make rectText and buttonText always draw and take
13651 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13653 * ToolbarDefaults.C (read):
13654 * MenuBackend.C (read): allow escaping in all strings
13656 * BufferView_pimpl.C (insertAndEditInset): new method.
13657 (Dispatch): use insertAndEditInset whenever appropriate.
13659 * BufferView_pimpl.C (insertNote): removed
13661 * BufferView_pimpl.C (smartQuote): new method, moved from
13662 BufferView; if an insetquote cannot be inserted, insert a '"'
13665 * BufferView2.C: remove insertCorrectQuote();
13667 * lyxfunc.C (getStatus): Add support for all remaingin
13668 inset-insert lfuns.
13670 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13672 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13673 command (necessary to pass " as parameter of self-insert.
13675 * text.C (selectWordWhenUnderCursor):
13676 (selectWord): add word_location parameter
13677 (selectWordWhenUnderCursor): same + remove special code for word
13679 (selectNextWord): use kind() to guess type of insetspecialchar,
13682 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13683 (insertErtContents): create ert insets as collapsed.
13684 (readInset): better compatibility code for Info inset.
13686 2001-07-20 Juergen Vigna <jug@sad.it>
13688 * lyxfunc.C (dispatch): use always LyXFind now!
13690 * text2.C (init): add a reinit flag so that the LyXText can be
13691 reinited instead of deleted and reallocated (used in InsetText).
13693 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13699 2001-07-18 Juergen Vigna <jug@sad.it>
13701 * text.C (selectNextWord): handle insets inside inset by calling
13702 always the bv->text functions so that we can go up the_locking_inset!
13704 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13705 in strange locations when inside an inset!
13707 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13708 handling to include insets.
13710 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13712 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13714 * LyXAction.C (init):
13716 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13717 LIGATURE_BREAK, since the name is so stupid.
13719 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13721 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13724 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13726 * sp_form.[Ch]: remove.
13728 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13730 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13733 * src/buffer.C (readInset): ditto.
13735 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13737 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13738 menuSeparator(), endOfSentenceDot(), ldots() and
13739 hyphenationPoint(), which are therefore removed.
13740 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13742 * LyXAction.C (init):
13743 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13745 * paragraph.C (getWord): removed.
13747 * BufferView_pimpl.C (Dispatch): use last word or selection for
13748 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13750 * lyx_main.C (queryUserLyXDir): do not ask before creating
13751 user_dir, except if it has been named explicitely.
13753 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13755 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13756 a document of zero size.
13758 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13760 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13761 approriately in the c-tor and in require().
13762 (getPackages): output the appropriate LaTeX for natbib support.
13764 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13765 variables "use_natbib" and "use_numerical_citations" when reading the
13767 (readInset): read the various natbib cite commands.
13768 (validate): white-space change.
13770 * bufferparams.[Ch]: new variables "bool use_natbib" and
13771 "bool use_numerical_citations".
13772 (writeFile): output them in the LyX file.
13774 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13776 * lyxfunc.C (getStatus): add support for all the inset insertion
13779 * text2.C (insertInset):
13780 * paragraph.C (insetAllowed):
13781 * BufferView_pimpl.C (insertInset): update to take in account the
13782 renaming of insertInsetAllowed
13784 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13786 * text2.C (getInset): new method. returns inset at cursor position.
13788 * BufferView_pimpl.C (Dispatch): changes because of this.
13790 * LyXAction.C (init): rename open-stuff to inset-toggle.
13792 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13794 * text2.C (toggleInset): renamed from openStuff; use
13797 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13799 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13801 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13803 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13805 * buffer.C (readLyXformat2): Add filename to the error dialog
13807 2001-07-18 Juergen Vigna <jug@sad.it>
13809 * tabular.C (GetCellNumber): put an assert here instead of the check!
13811 2001-07-17 Juergen Vigna <jug@sad.it>
13813 * BufferView_pimpl.C (toggleSelection): adapted too.
13815 * text.C (selectNextWord): adapted for use with insets.
13816 (selectSelectedWord): ditto
13818 2001-07-17 Juergen Vigna <jug@sad.it>
13820 * sp_spell.C (PSpell): fix initialitation order.
13822 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13824 * paragraph.C: spacing
13826 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13828 * sp_spell.C: repair language selection for pspell
13830 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * lyxfunc.h: change more methods to begin with lower char.
13834 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13836 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13837 for unknown layouts.
13839 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13841 * buffer.C (readLyXformat2): Generate an error dialog if there are
13844 2001-07-16 Juergen Vigna <jug@sad.it>
13846 * sp_spell.C: always compile ISpell part.
13848 * lyxrc.C: added use_pspell entry and it's handling.
13850 2001-07-13 Juergen Vigna <jug@sad.it>
13852 * sp_spell.C: removed double includes.
13854 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13856 Consistent use of Lsstream.h:
13857 * Lsstream.h: added using std::stringstream for consistencies sake.
13859 * buffer.C: removed using std::stringstream
13861 * lyxfont.C (stateText):
13862 * paragraph.C (asString):
13863 * text.C (selectNextWord, selectSelectedWord):
13864 * text2.C (setCounter):
13865 * vspace.C (asString, asLatexString):
13866 std::ostringstream -> ostringstream.
13868 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13870 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13871 * commandtags.h: add LFUN_HELP_ABOUTLYX
13872 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13874 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13876 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13878 * lyx_gui_misc.C: remove spellchecker
13879 * lyxfunc.C: showSpellchecker
13881 * sp_ispell.h: added
13882 * sp_pspell.h: added
13883 * sp_spell.C: added
13884 * sp_form.[Ch]: removed
13885 * spellchecker.[Ch]: removed
13887 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13889 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13891 (simpleTeXSpecialChars): Simply print the input character without
13892 any special translation if pass_thru is set.
13894 * layout.h: Added bool pass_thru to layout class for being able to
13895 implement pass through of a paragraph for Literate Programming.
13897 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13898 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13899 * layout.C (Read): add "passthru" to list of layout tags and add
13900 code to set the pass_thru boolean when it is read.
13902 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13904 * trans_decl.h: remove allowed from KmodInfo
13906 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13907 remove allowed code
13910 * paragraph_pimpl.C (erase): use boost::prior
13912 * Painter.C (text): use data() instead of c_str() when length is
13914 * WorkArea.C (putClipboard): ditto
13915 * font.h (width): ditto
13917 * BufferView2.C: use it-> instead of (*it). for iterators
13919 * paragraph_pimpl.C: ditto
13920 * paragraph.C: ditto
13921 * minibuffer.C: ditto
13922 * language.C: ditto
13924 * encoding.C: ditto
13925 * counters.C: ditto
13926 * converter.C: ditto
13928 * Variables.C: ditto
13929 * TextCache.C: ditto
13930 * MenuBackend.C: ditto
13931 * LyXAction.C: ditto
13933 * FloatList.C: ditto
13934 * DepTable.C: ditto
13935 * ColorHandler.C (LyXColorHandler): ditto
13937 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13939 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13941 * text2.C (openStuff): reintroduce this method (which had been
13942 nuked in NEW_INSETS frenzy).
13944 * lyxfunc.C (Dispatch): when an action has not been handled, use
13945 its name in the error message, not its number.
13947 * paragraph.C (inInset): change method name to begin with lowercase.
13950 * text2.C: updates because of this.
13952 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13954 * ToolbarDefaults.C (add): add spaces in error message
13956 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13958 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13959 (readLyXformat2): rename return_par to first_par, use lyxlex's
13960 pushToken and remove the manual push handling.
13961 (parseSingleLyXformat2Token): add another ert comp. variable:
13962 in_tabular, rename return_par to first_par. handle newlines better
13964 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13966 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13968 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13970 * text2.C (getParFromID): removed
13972 * buffer.C (getParFromID): new method moved form lyxtext.
13973 * BufferView2.C (insertErrors): adjust
13974 (setCursorFromRow): adjust
13975 * BufferView_pimpl.C (restorePosition): adjust
13976 * lyxfunc.C (Dispatch): adjust
13977 * undo_funcs.C (textUndo): adjust
13979 (textHandleUndo): adjust
13980 (textHandleUndo): adjust
13982 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13984 * buffer.C: up' the LYX_FORMAT
13986 * lyxfont.h: turn NO_LATEX on as default
13988 * buffer.C (insertErtContents): new methods of tex style compability.
13989 (parseSingleLyXformat2Token): use it several places.
13990 * tabular.C (OldFormatRead): and here
13992 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * text2.C: remove some commented code.
13997 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13998 * trans.C: changes because of the above.
14000 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14002 * text2.C (setCounter): Fix counters bug with bibliography layout.
14004 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14007 own member functions
14008 (simpleTeXSpecialChars): ditto
14010 2001-07-06 Juergen Vigna <jug@sad.it>
14012 * a lot of files: changed the access to LyXText::status and the
14013 call of undo-functions.
14015 * undo.[Ch]: added a inset_id to the undo informations.
14017 * undo_funcs.[Ch]: added and moved here all undo functions.
14019 * lyxtext.h: give the status enum a weight, made status_ a private
14020 variable and made accessor functions for it, removed the whole bunch
14021 of undo-functions as they are now in their own file, make some
14022 functions publically available. Added function ownerParagraph with
14025 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14026 made InInset() a const function, added getParFromID() function.
14028 * buffer.[Ch]: added const version for inset_iterator functions,
14029 added getInsetFromID() function.
14031 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14032 changed undo functions for new version.
14034 2001-07-05 Juergen Vigna <jug@sad.it>
14036 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14037 unknow mechanism does not call the proper constructor but only this
14038 one also if I request the other!?
14040 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14042 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14044 * text2.C (LyXText): use initialization lists.
14046 * lyxtext.h (Selection): initialize set_ and mark_
14047 (init): remove method
14049 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14051 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14053 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * screen.[Ch]: change method names to begin with lowercase
14057 * BufferView_pimpl.C (updateScrollbar): simplify further and
14058 hopefully make it a bit faster.
14060 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14063 calling directly xforms functions.
14065 * Painter.C (Painter):
14066 * lyx_cb.C (MenuWrite):
14067 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14070 * lyx_gui.C: remove bogus guiruntime extern declaration.
14072 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14074 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14076 (redoDrawingOfParagraph): ditto
14077 (redoParagraphs): ditto
14078 (cutSelection): don't create a object for CutAndPaste use the
14079 static method directly
14080 (pasteSelection): ditto
14082 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14085 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14087 * modifications to some other files because of this.
14089 * Makefile.am (lyx_SOURCES): add XFormsView
14091 * XFormsView.[Ch]: new files
14093 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14094 the main window. Move the gui dependent stuff to XFormsView
14096 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14098 * tabular.C (GetCellInset): update cur_cell also in the row/col
14099 version of this function.
14101 * lyxfunc.C: no need to include figure_form.h here.
14107 * lyxvc.C: no need to include forms.h here.
14109 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14111 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14113 * lyxfunc.C (Dispatch):
14115 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14116 constructor argument.
14118 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * paragraph.C (Paragraph): dont't clear, and just set layout.
14121 (makeSameLayout): use params's copy contructor.
14123 * ParagraphParameters.[Ch] (makeSame): delete method
14125 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14127 * Variables.[Ch]: fix indentation, rename set to isSet
14129 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * lyxfunc.C (Dispatch): fix typo
14133 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14135 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14138 * bufferlist.C: include assert.h for emergencyWrite().
14140 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14142 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14143 give up at last (bug #425202) !
14145 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14151 * spellchecker.C: strip spellchecker options and bring up
14152 preferences tab instead
14154 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14156 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14157 the istringstream constructor
14159 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * paragraph.C (getLayout): fix return value
14163 * paragraph.h: do not declare getLayout as inline.
14165 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14167 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14169 * lyxcursor.h (operator<): new func
14170 (operator>): new func
14171 (operator>=): new func
14172 (operator<=): new func
14174 * text.C (changeCase): use selection.start and selection.end
14175 (changeRegionCase): require from to be <= to. Require par to be a
14178 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14180 2001-06-27 Juergen Vigna <jug@sad.it>
14182 * text.C (cursorLeftOneWord): changed to return the cursor and added
14183 overlay with BufferView * parameter which calls this one.
14185 (selectWord): use new getWord function.
14186 (changeCase): renamed from changeWordCase as and extended to work
14187 also on selections.
14189 * lyxtext.h: added enum word_location
14191 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14192 changeCase as this operates now also on selections.
14194 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14196 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14198 * many files: send debug output to Debug::INFO instead of
14201 * converter.C (View):
14203 (Move): send debug output to Debug::FILES instead of console.
14205 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14207 * lyxfunc.C (getStatus): use func_status
14209 * func_status.h: new header, describing the results of
14210 LyXFunc::getStatus;
14212 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14215 2001-06-25 The LyX Project <jug@sad.it>
14217 * buffer.C (sgmlOpenTag):
14219 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14221 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * text2.C: remove some dead code
14225 * tabular.C (GetCellInset): store the last cell checked (gotten)
14227 * tabular.h: add the helper for the speedup
14229 * lyxtext.h: remove some dead code
14231 2001-06-26 The LyX Project <Asger>
14233 * paragraph.C: Change export to LaTeX of alignment to
14234 \begin{center} and family for better roundtrip work with reLyX.
14236 * Tune the math drawing a bit.
14238 2001-06-25 The LyX Project <Asger>
14240 * LColor.C (LColor): New color for math background. New color
14243 2001-06-25 The LyX Project <jug@sad.it>
14245 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14247 * lyxfunc.C (Open):
14248 * bufferlist.C (newFile): do not restrict to files ending with
14251 * BufferView_pimpl.C (MenuInsertLyXFile):
14253 2001-06-24 The LyX Project <jug@sad.it>
14255 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14258 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14260 * lyxtext.h: rename most methods to begin with a small char.
14261 Lots of changes because of this.
14263 * paragraph.C (Paragraph): do not call fitToSize
14264 (erase): call Pimpl::erase
14265 (insertChar): call Pimpl::insertChar
14266 (insertInset): call Pipl::insertInset
14267 (breakParagraph): do not call fitToSize
14268 (breakParagraphConservative): do not call fitToSize
14269 (fitToSize): remove method
14271 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14273 2001-06-24 The LyX Project <Asger>
14275 * Fix Qt compilation^2
14277 2001-06-24 The LyX Project <jug@sad.it>
14279 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14280 depthHook(getDepth()-1).
14283 * ParagraphParameters.h:
14284 * ParameterStruct.h: change type of depth to unsigned int ==
14285 depth_type. Many adaptations to other files before of that.
14287 2001-06-24 The LyX Project <Asger>
14289 * Fix Qt compilation.
14291 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14293 * paragraph.h: renamed several methods to begin with small letter.
14294 several changes to many parts of the code because of this.
14296 2001-06-23 The LyX Project <jug@sad.it>
14298 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14299 rewritten to discard all double spaces when KeepEmpty is off
14300 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14301 to only handle newlines but not fiddle with spaces and friends.
14303 * lyxfunc.C (MenuNew): when doing 'new from template', use
14304 template_path as default directory
14306 2001-06-23 The LyX Project <Asger>
14308 * Clean-up of header file includes all over
14309 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14311 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14313 * paragraph.h: renamed from lyxparagraph.h
14315 2001-06-23 Asger <lyx@violet.home.sad.it>
14317 * Buffer.h: Removed Buffer::resize
14318 * BufferList.h: Removed BufferList::resize
14319 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14320 the document lazily when we change the width, or the font settings.
14322 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14324 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14326 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14328 * buffer.h: remove out of date comment
14330 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14333 * screen.C: fix "theoretical" GC leak
14335 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14337 * LaTeX.C (scanAuxFile):
14338 (deplog): remove trailing \r when reading stream (useful under
14341 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14343 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14344 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14345 and BufferView::theLockingInset(Inset*), so should use them and not
14346 access bv_->text->the_locking_inset directly.
14348 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14350 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14353 * tex-defs.h: remove old unused file
14355 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14357 * BufferView_pimpl.C: fix typo, remove minibuffer message
14358 when buffer has loaded
14360 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14362 * lyxfunc.C (Dispatch): use stringstream
14363 (MenuNew): use stringstream
14364 (Open): use stringstream
14366 * importer.C (Import): use stringstream
14368 * bufferview_funcs.C (CurrentState): use stringstream
14370 * LaTeX.C (run): use stringstream
14372 * BufferView_pimpl.C (savePosition): use stringstream
14373 (restorePosition): use stringstream
14374 (MenuInsertLyXFile): use stringstream
14376 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14389 * vspace.C: removed // -*- C++ -*- as first line.
14392 * version.h: added // -*- C++ -*- as first line.
14394 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14398 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14401 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14406 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * gettext.C: include LString.h even when --disable-nls is on.
14410 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14412 * converter.h (Get): changed argument type from int to
14413 FormatList::size_type to avoid unnecessary conversion.
14415 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14418 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14420 * gettext.h: include LString.h even when --disable-nls is on.
14422 2001-06-07 Juergen Vigna <jug@sad.it>
14424 * text.C (BreakAgain): subst spaces with tabs.
14426 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14427 (resizeInsetsLyXText): set force on resizeLyXText.
14429 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14431 * gettext.h (gettext_init):
14432 (locale_init): use a real definition instead of a macro
14434 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14436 * Bufferview_pimpl.C:
14438 * LColor.C: further lcolor tidies
14440 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14442 * BufferView_pimpl.C (updateScrollbar): simplify.
14444 * BufferView2.C: don't include insets/insetinfo.h, change
14445 prototype for insertInset and call the Pimpl version. let
14446 updateInset call Pimpl version.
14448 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14449 gotoInset to BufferView::Pimpl
14451 2001-06-01 Juergen Vigna <jug@sad.it>
14453 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14454 inside a LockingInset (is the update needed at all?).
14456 2001-05-31 Juergen Vigna <jug@sad.it>
14458 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14459 here not the old one otherwise how should we compare it afterwards
14462 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14467 * FontInfo.C: bring C functions into global namespace when
14470 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14472 * LString.h: make sure config.h has been loaded before LString.h.
14474 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14475 (one for each char read by EatLine!).
14477 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14480 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14482 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14483 to the same as the par we break from
14485 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14489 * MenuBackend.C (expand): also create menu entries for wide
14490 versions of the floats.
14492 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14494 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14496 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14497 frontends/Makefile.am
14503 * tabular.C (getTokenValue): add std::
14505 * tabular-old.C (getTokenValue): add std::
14506 (getTokenValue): ditto
14507 (getTokenValue): ditto
14509 * screen.C (ToggleSelection): adjust
14511 * lyxtext.h: put selection cursors inside a Selection struct.
14513 * lyxfunc.C (moveCursorUpdate): adjust
14515 * lyxfont.C (latexWriteStartChanges): add std::
14517 * lyxfind.C: adjust
14519 * font.h: delete with(char const *, LyXFont const &)
14521 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14523 * FontInfo.C (getFontname): add std::
14525 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14526 (workAreaButtonPress): adjust
14527 (tripleClick): adjust
14529 (moveCursorUpdate): adjust
14532 * BufferView2.C (gotoInset): adjust
14534 2001-05-30 Juergen Vigna <jug@sad.it>
14536 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14537 to check pspell I add this as default as I now have new pspell
14538 libraries and they seem to use this.
14540 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * text2.C (CutSelection): make the cursor valid before the call to
14545 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14548 relied on 0 terminated strings and other horrors. Bug found due to
14549 the new assert in lyxstring!
14551 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14554 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14559 * lyxfunc.C (processKeySym): change method of getting to the
14562 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14563 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14564 * BufferView_pimpl.[Ch]: here as private methods.
14566 2001-05-28 Juergen Vigna <jug@sad.it>
14568 * text.C (SetHeightOfRow): added the update() call again as it is
14569 needed to initialize inset dimensions!
14571 2001-05-16 Juergen Vigna <jug@sad.it>
14573 * text2.C (SetCharFont): Add new function with BufferView * and
14574 bool toggleall parameters for setting insets internal fonts.
14575 (SetFont): Freeze the undo as we may change fonts in Insets and
14576 all this change should be inside only one Undo!
14578 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14579 setting font's in insets as for them we have the SetFont function!
14581 2001-05-15 Juergen Vigna <jug@sad.it>
14583 * text2.C (ClearSelection): to be sure we REALLY don't have any
14586 * tabular.C (TeXCellPreamble): fixed the left border problem for
14589 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14591 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14594 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14597 LFUN_BREAKPARAGRAPH.
14599 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14600 help test to "internal only", similar for LFUN_INSERT_URL
14602 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14603 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14604 auto_region_delete and deadkeys.
14606 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14609 * LColor.C: remove some dead entries, tidy a little
14611 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14613 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14615 (Dispatch): implement LFUN_ESCAPE
14617 * commandtags.h: add LFUN_ESCAPE
14619 * LyXAction.C (init): add entry for LFUN_ESCAPE
14621 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14622 Remove commented code.
14623 (insertNote): moved here
14624 (open_new_inset): moved here
14626 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14629 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * kbmap.C (findbinding): clean it up and make it work correctly.
14633 * lyx_main.C (init): do not pass argc and argv as parameters
14635 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14637 * buffer.C: fix path for OS/2 & Win32
14641 * lyx_main.C: Added os:: class.
14643 * os2_defines.h: update
14645 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14647 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14648 better by trying again with reduced state.
14650 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * lyxrc.C (read): print error about invalid key sequence only when
14653 debugging (because not all latinX keysyms are known to some X
14656 * kbsequence.C (getiso): add a few std:: qualifiers
14657 (getiso): comment out extra return statement.
14659 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14661 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14663 (Dispatch): enhance the accent inset a bit. (not perfect)
14665 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14667 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14669 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * bufferlist.C (emergencyWrite): fix assert() call
14673 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14675 * text.C (InsertChar): Added trivial patch to only send the "you
14676 can not do multiple spaces this way" message once during a
14679 2001-05-08 Baruch Even <baruch@lyx.org>
14681 * Makefile.am: Changed order of libraries to get LyX to link properly
14682 with the gnome frontend.
14684 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14686 * LaTeXFeatures.h: add a std:: qualifier
14688 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * paragraph.C (String): use stringstream
14692 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14694 * paragraph.C (writeFile): remove footflag arg
14696 * buffer.C (makeLaTeXFile): use stringstream
14697 (latexParagraphs): remove footnot gurba
14699 * LaTeXFeatures.C (getPackages): use stringstream
14700 (getMacros): likewise
14701 (getTClassPreamble): likewise
14702 (getFloatDefinitions): new method
14704 * paragraph.C (writeFile): reindent
14707 * WorkArea.h: revert the xpos + etc changes.
14709 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14711 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14713 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14714 (pasteSelection): likewise
14715 * text2.C (CreateUndo): likewise
14717 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14719 * minibuffer.C (peek_event): temporarily reduce the functionality
14720 of the minibuffer (to allow args on lfuns)
14722 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14723 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14725 * buffer.C (readInset): add compability reading of old float
14726 lists, add reading of new style float list.
14727 (readInset): avoid reevaluation of inscmd.getCmdName()
14728 (getLists): reindent
14730 * MenuBackend.C (MenuItem): implement parsing of
14731 md_floatlistinsert and md_floatinsert.
14732 (expand::LastFiles): move initalizaton of iterators out of loop,
14733 avoid reevaluation.
14734 (expand::Documents): introduce typdedef vector<string> Strings,
14736 (expand::ExportFormats): introduce typedef vector<Format const *>
14737 Formats, and use it.
14738 (expand): implement FloatListInsert and FloatInsert.
14740 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14741 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14742 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14744 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14746 (Dispatch::LFUN_FLOAT_LIST): implement
14748 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14750 * LaTeX.C (run): Fix problem with --export code.
14752 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14754 * BufferView.[Ch] (workarea): removed.
14755 (getClipboard) new method; wrapper for workarea()->getClipboard()
14757 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14760 * WorkArea.h (width, height, xpos, ypos): These methods all
14761 returned the dimensions of the work_area sub-area of WorkArea,
14762 resulting in a position error if the WorkArea were resized. Now
14763 return the dimensions of the entire WorkArea.
14765 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14767 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14769 * LaTeX.C (deplog): correct the syntax of regex reg1
14771 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * undo.C: remove !NEW_INSETS cruft
14775 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14777 * text2.C: remove !NEW_INSETS cruft
14779 * text.C: remove !NEW_INSETS cruft
14781 * tabular.C: remove !NEW_INSETS cruft
14783 * spellchecker.C: remove !NEW_INSETS cruft
14785 * lyxtext.h: remove !NEW_INSETS cruft
14787 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14789 * lyxfunc.C: remove !NEW_INSETS cruft
14791 * lyxfind.C: remove !NEW_INSETS cruft
14793 * lyx_cb.C: remove !NEW_INSETS cruft
14795 * figureForm.C: remove !NEW_INSETS cruft
14797 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14799 * buffer.[Ch]: remove !NEW_INSETS cruft
14801 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14803 * CutAndPaste.C: remove !NEW_INSETS cruft
14805 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14807 * BufferView2.C: remove !NEW_INSETS cruft
14809 * BufferView.h: remove !NEW_INSETS cruft
14811 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * Lsstream.h: include LString.h before the sstream headers to
14814 fix problem with gcc 2.95.3 and lyxstring
14816 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * lyx_main.C: add using directives when needed for C functions
14819 declared in std:: namespace.
14821 2001-04-27 Juergen Vigna <jug@sad.it>
14823 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14824 (SetHeightOfRow): comment out the update call should not be needed!
14826 2001-04-13 Juergen Vigna <jug@sad.it>
14828 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14829 (LyXTabular): tried to minimize operator= operations (and realized
14830 hopfully Lars wish).
14832 2001-04-27 Juergen Vigna <jug@sad.it>
14834 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14836 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14840 * buffer.C (readInset): hack to make listof algorithm work
14842 * BufferView_pimpl.C: hack to make listof algorithm work
14844 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14846 * LyXAction.C: removed all !NEW_INSETS cruft
14847 (init): moved lfun_item in method
14849 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14851 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14853 * BufferView2.C (theLockingInset): white space.
14855 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14857 * minibuffer.C: include <iostream>
14859 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14861 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14863 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14865 * text.[Ch] (TransposeChars): new method
14867 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14869 * call message directly through LyXView instead of through LyXFunc
14870 * BufferView2.C: adjust
14871 * BufferView_pimpl.C: adjust
14872 * FontLoader.C: adjust
14874 * bufferview_funcs.C: adjust
14875 * converter.C: adjust
14876 * figureForm.C: adjust
14877 * importer.C: adjust
14879 * lyx_gui_misc.C: adjust
14880 * lyxfunc.C: adjust
14883 + more files in subdirs
14885 * lyxparagraph.h (size): move up int file
14888 * adjust all uses of Assert to lyx::Assert.
14890 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14891 lyxfunctional in namespace lyx
14892 * layout.C (hasLayout): ditto
14895 (delete_layout): ditto
14896 (NumberOfClass): ditto
14897 * converter.C (GetFormat): ditto
14902 * bufferlist.C (getFileNames): ditto
14903 (emergencyWriteAll): ditto
14906 * MenuBackend.C (hasSubmenu): ditto
14909 * BufferView_pimpl.C (getInsetByCode): ditto
14911 2001-04-18 Juergen Vigna <jug@sad.it>
14913 * vspace.C (asLatexString): fixed the 100% problem.
14915 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * lyxfunc.C (Dispatch):
14919 * minibuffer.h: add a few std:: qualifiers
14921 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * minibuffer.[Ch]: reimplement so that commands is initiated and
14924 run from lyxfunc, simplified som handling, and made the completion
14925 and history code for complete. wip.
14927 * lyxfunc.C (processKeySym): call message
14928 (miniDispatch): new temporary method
14929 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14930 (LFUN_MESSAGE): implement
14931 (LFUN_MESSAGE_PUSH): implement
14932 (LFUN_MESSAGE_POP): implement
14933 (initMiniBuffer): the initial/defualt minibuffer message.
14935 * lyxfont.[Ch]: inline some more getters
14937 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14939 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14941 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14942 (AutoSave): use LFUN_MESSAGE
14943 (Reconfigure): ditto
14945 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14947 * figureForm.C: use LFUN_MESSAGE
14949 * converter.C (runLaTeX): use LFUN_MESSAGE
14951 * bufferview_funcs.C: use LFUN_MESSAGE
14953 (changeDepth): ditto
14955 * bufferparams.h: use boost::
14957 * bufferlist.h: inherit privately from noncopyable
14959 * bufferlist.C (loadLyXFile): remove some commented code.
14961 * buffer.C (runChktex): use LFUN_MESSAGE
14963 * ShareContainer.h: inherit privately from noncopyable
14965 * ParagraphParameters.[hC] (depth): inline it.
14967 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14969 (message): new method
14970 (messagePush): ditto
14971 (messagePop): ditto
14972 (show): init minibuffer
14973 (showState): direct call
14975 * LaTeX.[Ch]: inherit privately from noncopyable
14976 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14977 instead of WriteStatus.
14979 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14981 * BufferView_pimpl.C (buffer): don't init minibuffer
14982 (workAreaButtonPress): use LFUN_MESSAGE
14983 (workAreaButtonRelease): ditto
14984 (savePosition): ditto
14985 (restorePosition): ditto
14986 (MenuInsertLyXFile): ditto
14987 (workAreaExpose): don't init minibuffer
14988 (update): remove commented code, simplify
14990 * BufferView2.C (openStuff): use LFUN_MESSAGE
14991 (toggleFloat): ditto
14994 (copyEnvironment): ditto
14995 (pasteEnvironment): ditto
15000 (updateInset): remove some commented code
15002 * lastfiles.h: inherit privately from noncopyable
15005 * lyx_main.h: ditto
15007 * lyxlex_pimpl.h: ditto
15009 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15010 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15011 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15013 * LyXAction.h: inherit privately from noncopyable, add methods
15014 func_begin, func_end, returning iterators to the func map.
15016 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15017 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15018 (func_begin): new method
15019 (func_end): new method
15021 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15023 (copySelection): ditto
15024 (pasteSelection): ditto
15026 * BufferView.C: whitespace change
15027 * BufferView.h: inherit privately from noncopyable
15029 2001-04-16 Allan Rae <rae@lyx.org>
15031 * tabular-old.C (l_getline):
15032 * spellchecker.C (sc_check_word):
15033 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15034 an unrecognised preprocessor directive. So ensure they're wrapped.
15036 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15038 * src/exporter.C (Export): Give an error message when path to file
15041 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15043 * LaTeX.C (deplog): Always check that foundfile exists.
15045 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15048 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15050 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15052 * tabular.[Ch] (getLabelList): implement new method
15054 * minibuffer.h: comment ouf setTiimer
15056 * minibuffer.C (ExecutingCB): constify res
15057 (peek_event): constify s
15058 (Set): constify ntext
15059 (Init): constify nicename
15061 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15063 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15064 (savePosition): use two params to Minibuffer::Set
15065 (restorePosition): ditto
15067 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * lyx_main.C: include language.h
15071 * Makefile.am (lyx_main.o): add language.h
15073 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15079 * CutAndPaste.C: include gettext.h
15081 * lyxfont.h: remove old hack with ON and OFF.
15084 * lyxfont.h: do not include language.h...
15089 * bufferview_funcs.C:
15095 * paragraph.C: ... but do it here instead
15097 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15099 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15101 * tabular.C: small reformat
15103 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15106 (BreakParagraph): ditto
15107 (SetOnlyLayout): ditto
15110 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15113 * lastfiles.C: removed most using decl, add std:: where needed
15115 * buffer.C: ws changes
15117 * MenuBackend.C (class compare_format): put into anon namespace
15118 (expand): constify label, names, action, action2
15121 * text.C (SingleWidth): constify font
15122 (IsBoundary): constify rtl2
15123 (GetVisibleRow): constify ww
15125 * LaTeX.C (deplog): constify logfile
15127 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15129 (workAreaExpose): constify widthChange, heightChange
15131 * lyxrow.C (par): moved
15134 * lyxrow.h: as inlines here
15136 * lyxfont.h (shape): moved from lyxfont.C
15137 (emph): moved from lyxfont.C
15139 * lyxfont.C (LyXFont): use initialization list for all
15141 (shape): move to lyxfont.h as inline
15142 (emph): move to lyxfont.h as inline
15145 2001-04-04 Juergen Vigna <jug@sad.it>
15147 * vspace.C: had to include stdio.h for use of sscanf
15149 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15152 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15153 independent of xforms.
15155 2001-04-02 Juergen Vigna <jug@sad.it>
15157 * spellchecker.C: fixed namespace placing!
15159 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15161 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15162 the LyXParagraph * is 0.
15164 2001-03-29 Juergen Vigna <jug@sad.it>
15166 * vspace.C: added support for %, c%, p%, l%.
15167 (stringFromUnit): added helper function.
15168 (asLatexString): changed to give right results for the %-values.
15170 * buffer.C: convert the widthp in a width%.
15172 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15174 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15177 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15178 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15180 * lyx_cb.[Ch]: see above.
15182 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15186 * lyx.[Ch]: replaced by figure_form.[Ch].
15190 * lyxfunc.C: changed headers associated with above changes.
15192 2001-03-27 Juergen Vigna <jug@sad.it>
15194 * BufferView_pimpl.C: set the temporary cursor right!
15196 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15198 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15200 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15202 * LString.h: removed "using std::getline"!
15204 * BufferView_pimpl.C (Dispatch): changes due to changes in
15205 InsetInclude::Params.
15207 * buffer.C (tag_name): removed redundant break statements as they were
15208 producing lots of warnings with my compiler.
15210 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15212 * LString.h: add "using std::getline" when using the real <string>.
15214 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15216 * buffer.C: removed bitset usage.
15217 PAR_TAG moved to an anonymous name space.
15218 (tag_name): new funtion, also in the anonymous namespace.
15219 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15220 (makeDocBookFile): clean code. Completed transition from string arrays
15222 (SimpleDocBookOnePar): code clean.
15224 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15226 * tabular.C: add some comments.
15228 2001-03-22 Juergen Vigna <jug@sad.it>
15230 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15231 compatibility read a bit and fixed bug with minipage in different
15234 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15236 * buffer.C (pop_tag): removed.
15237 (push_tag): removed.
15238 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15239 array replaced with vector. Added support for CDATA sections.
15240 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15242 (makeDocBookFile): XML conformant declaration of CDATA section,
15243 fixed bug related to <emphasis> in the first paragraph char.
15244 (sgmlOpenTag): exclude empty tags.
15245 (sgmlCloseTag): ditto.
15247 * buffer.h (pop_tag): removed.
15248 (push_tag): removed.
15250 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15252 * language.h (Languages): added size_type and size().
15254 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15256 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15257 response on compability reading of minipages. One probliem is that
15258 the old usage of minipages was «flertydig»
15260 * several files here and in subdirs: don't use static at file
15261 scope use anon namespaces instead.
15263 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15265 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15266 LaTeX output. This is necessary for Literate document
15269 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15271 * buffer.C: insert hfill when needed.
15273 * tabular.C (l_getline): use string::erase, small whitespace change.
15275 * BufferView_pimpl.C: try the anon namespace.
15276 * WorkArea.C: ditto
15278 2001-03-16 Juergen Vigna <jug@sad.it>
15280 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15281 otherwise it won't open options-dialogs.
15283 * buffer.C: honor pextraWidth(p) on converting minipages.
15285 * tabular.C (l_getline): changed the functions to strip trailing \r.
15287 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15289 * BufferView_pimpl.C:
15290 * minibuffer..C: added "using SigC::slot" declaration.
15292 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15294 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15300 * paragraph.C: ditto
15302 * lyxtext.h: NO_PEXTRA
15304 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15306 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15307 * ParameterStruct.h: ditto
15308 * ParagraphParameters.h: ditto
15309 * lyxparagraph.h: ditto
15311 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15313 * buffer.C: add compability for minipage alignment.
15314 (latexParagraphs): remove unwanted pextra check.
15316 * several files: remove CXX_WORKING_NAMESPACES
15318 * buffer.C (pop_tag): tie is in namespace boost
15320 * BufferView.h: noncopyable is in namespace boost
15322 * lyx_main.h: ditto
15325 * lastfiles.h: ditto
15326 * bufferlist.h: ditto
15327 * ShareContainer.h: ditto
15329 * LyXAction.h: ditto
15332 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15334 * Merging changes from BRANCH_MVC back into HEAD.
15336 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15338 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15340 * BufferView_pimpl.C: change from intl.C
15344 * Makefile.am: move combox.*
15350 * intl.C: remove dialog (covered by prefs)
15352 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15354 * lyxfunc.C (Dispatch): removed redundant break statement.
15356 2001-03-14 Juergen Vigna <jug@sad.it>
15358 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15360 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15362 * buffer.C: add hack to fix compability reading of minipages.
15364 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15366 * buffer.C (getLists): Cleanup.
15368 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15370 * lyxfont.C (update): don't honor toggleall on font size.
15372 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15376 * Makefile.am: moved to frontends/xforms/
15380 * BufferView_pimpl.C: changes for moved mathpanel
15382 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15384 * gettext.h: fix gettext_init() in --disable-nls
15386 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15390 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15393 * lyx.h: strip external form
15395 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15397 * BufferView_pimpl.C: add comment, destroySplash()
15399 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15401 * BufferView_pimpl.C:
15405 * lyxfunc.C: use re-worked insetinclude
15407 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15409 * buffer.C: add using std::stringstream.
15411 * lyx_cb.C: readd using std::ios.
15413 * buffer.C: add using std::map.
15415 * BufferView_pimpl.C: add using std::vector.
15417 * ShareContainer.h: add std:: to swap.
15419 * buffer.h: add some typedefs
15420 * buffer.C (getLists): use them
15421 (getLists): renamed from getTocList.
15422 add a counter for the different float types and use it in the
15424 (getLists): use the same counter for the NEW_INSETS and the "non"
15427 * lyx_cb.h: remove unused items, includes, using etc.
15429 * ShareContainer.h: remove some commented code, add more comments
15430 and "documentation".
15432 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15434 * buffer.C (getTocList): make the list also when NEW_INSETS is
15437 * buffer.h: remove TocType
15439 * buffer.C (getTocList): change to return a map<string,
15440 vector<TocItem> >, implement for dynamic number of list.
15442 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15443 * text2.C (PasteSelection): adjust
15444 * CutAndPaste.C (pasteSelection): adjust
15446 * FloatList.C (FloatList): update from the new_insets branch.
15447 * Floating.[Ch]: ditto
15448 * LaTeXFeatures.C: ditto
15450 * lyxlex_pimpl.C: ditto
15452 * paragraph.C (Last): remove when NEW_INSETS is defined.
15454 * other file: changes because of the above.
15456 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15458 * lyxparagraph.h: rename next to next_, previous to previous_,
15459 make them private for NEW_INSETS. Rename Next() to next(),
15460 Previous() to previous().
15462 * other files: changes because of the above.
15464 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15467 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15470 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15472 * main.C (main): pass lyx_localedir to gettext_init().
15474 * gettext.h: remove locale_init and gettext_init macros
15476 * gettext.C (locale_init): new function
15477 (gettext_init): new function
15479 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15482 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15484 * Moved credits to frontends:
15485 * credits.[Ch]: removed
15486 * credits_form.[Ch]: removed
15487 * lyx_gui_misc.C: remove credits stuff
15490 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15492 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15494 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15495 unneeded destructor.
15497 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15498 a standalone pointer again.
15500 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15502 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15508 * ToolbarDefaults.C:
15517 * BufferView_pimpl.C: use new file dialog in GUII
15520 * lyx_cb.C: remove LayoutsCB to Toolbar
15522 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15524 * ShareContainer.h (get): add std:: qualifier
15526 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * ShareContainer.h: define a proper ShareContainer::value_type
15529 type (and use typename to please compaq cxx)
15531 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15533 * lyxparagraph.h: move serveral local vars to
15534 ParameterStruct/ParagraphParameters., use ShareContainer in
15535 FontTable., make vars in FontTable private and add getter and
15538 * paragraph.C: changes because of the above.
15540 * lyxfont.h: remove copy constructor and copy assignment. (the
15541 default ones is ok), move number inside FontBits. move inlines to
15544 * lyxfont.C: add number to initializaton of statics, move several
15545 inlines here. constify several local vars. some whitespace
15546 cleanup. Dont hide outerscope variables.
15548 * Spacing.h: add two new constructors to match the set methods.
15550 * ShareContainer.h: new file, will perhaps be moved to support
15552 * ParameterStruct.h: new file
15554 * ParagraphParameters.h: new file
15556 * ParagraphParameters.C: new file
15558 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15559 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15561 * BufferView_pimpl.C: ParagraphParameter changes.
15562 * buffer.C: Likewise.
15563 * bufferview_funcs.C: Likewise.
15564 * text.C: Likewise.
15565 * text2.C: Likewise.
15567 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15569 * lyxfind.C (LyXReplace): do not redefine default argument in
15571 (IsStringInText): ditto
15572 (SearchForward): ditto
15573 (SearchBackward): ditto
15575 2001-03-06 Juergen Vigna <jug@sad.it>
15577 * lyxfind.C (IsStringInText): put parentes around expressions.
15579 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15581 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15583 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15585 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15587 * stl_string_fwd.h: add comment
15589 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15592 * tabular.C: remove unused DocBook methods
15598 killed DO_USE_DEFAULT_LANGUAGE
15600 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15602 * lyx_gui.C: do not include language.h.
15604 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15605 arguments in function implementation.
15607 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15609 * BufferView_pimpl.C: add <ctime>
15611 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15613 * BufferView_pimpl.C: add using std::find_if
15615 2001-02-27 José Matos <jamatos@fep.up.pt>
15617 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15620 2001-02-11 José Matos <jamatos@fep.up.pt>
15622 * buffer.C (makeDocBookFile): command styles now have a parameter as
15623 "title" by default.
15625 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15627 * layout_forms.[Ch]: removed
15628 * lyx_cb.[Ch]: out character
15629 * lyx_gui.C: out character
15630 * lyx_gui_misc.C: out character
15631 * bufferview_funcs.C: : out character,
15632 added toggleall as parameter in ToggleAndShow
15634 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15636 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15638 * text2.C (SetCurrentFont): Disable number property at boundary.
15640 2001-02-26 Juergen Vigna <jug@sad.it>
15642 * lyxfunc.C (getStatus): added a string argument override function so
15643 that this is correctly called from LyXFunc::Dispatch if it contains a
15644 do_not_use_argument which is used!
15645 (Dispatch): added check for "custom" export and call appropriate func.
15647 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15649 * lyxrc.C: Add language_command_local, language_use_babel and
15650 language_global_options.
15652 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15654 * buffer.C (makeLaTeXFile): Use language_use_babel and
15655 language_global_options.
15657 2001-02-23 Juergen Vigna <jug@sad.it>
15659 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15660 which works with LyXText and putted it inside BufferView. Here now we
15661 only call for that part the BufferView::Dispatch() function.
15663 * BufferView.C (Dispatch): added.
15665 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15666 functions which needs to use a LyXText over from LyXFunc.
15667 (MenuInsertLyXFile): added
15668 (getInsetByCode): added
15669 (moveCursorUpdate): added
15670 (static TEXT): added
15672 2001-02-22 Juergen Vigna <jug@sad.it>
15674 * BufferView_pimpl.C (update): call a status update to see if LyXText
15677 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15679 * vc-backend.C (revert): implement for CVS
15680 (getLog): implement for CVS
15682 2001-02-20 Juergen Vigna <jug@sad.it>
15684 * text2.C (ClearSelection): added BufferView param for inset_owner call
15686 * lyxfunc.C (TEXT): added this function and use it instead of
15687 directly owner->view()-text of getLyXText().
15689 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15691 * src/layout_forms.C: out preamble
15692 * src/layout_forms.h: out preamble
15693 * src/lyx_cb.C: out preamble
15694 * src/lyx_cb.h: out preamble
15695 * src/lyx_gui.C: out preamble
15696 * src/lyx_gui_misc.C: out preamble
15697 * src/lyxfunc.C: connect with guii preamble
15699 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15701 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15703 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15705 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15706 whether to run bibtex.
15708 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15710 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15712 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15714 * Makefile.am (lyx_SOURCES): removed bibforms.h
15716 * vspace.h: doxygen
15718 * text.C (GetVisibleRow): make several local vars const
15720 * tabular.C: small cleanup.
15722 * lyxserver.C (callback): use compare instead of strncmp
15724 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15725 inlines to after class or to paragraph.C
15727 * lyxfont.h: remove friend operator!=
15729 * converter.h: move friend bool operator< to non friend and after
15732 * combox.h: small cleanup
15734 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15735 to inlines after class def.
15737 * buffer.C (pop_tag): use string operations instead of strcmp
15739 * bmtable.c: doxygen, small cleanup
15741 * LaTeX.h: remove friend operator==
15743 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15755 * BufferView_pimpl.C:
15756 * BufferView.[Ch]: remove cruft
15758 2001-02-14 Juergen Vigna <jug@sad.it>
15760 * lyxfunc.C: removed #if 0 unused code
15762 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15764 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15766 * text2.C (SetSelection): added a BufferView * parameter
15768 2001-02-13 Juergen Vigna <jug@sad.it>
15770 * lyxfunc.C (Dispatch): fixed protected blank problem.
15771 * BufferView2.C (protectedBlank): added LyxText * parameter.
15773 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15774 (AppendColumn): same as above for column_info.
15776 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15777 (moveCursorUpdate): use a LyXText param for support of InsetText.
15779 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15780 (tripleClick): ditto
15782 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15784 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15786 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15788 * text2.C (SetSelection): set correct update status if inset_owner
15789 (ToggleFree): ditto
15791 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15793 * tabular.C: remove some commented code.
15795 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15797 * BufferView_pimpl.C: call hideSplash()
15799 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15802 * bibforms.h: remove
15805 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15806 add LFUN_CHILD_CREATE
15808 * counters.h: fix tiny typo
15813 * lyx.C: move splash to frontends/xforms/
15815 * lyx_gui_misc.C: move Include and Bibform to frontends
15817 * lyxvc.h: clarify comment
15819 * vspace.C: tiny housekeeping
15821 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15823 * text.C (PrepareToPrint): RTL Fix.
15825 * paragraph.C (GetUChar): New method.
15826 (String): Use GetUChar.
15828 * buffer.C (asciiParagraph): Use GetUChar.
15830 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15832 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15834 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15837 * buffer.C: rename to getLogName(), handle
15838 build log / latex log nicely
15840 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15843 * MenuBackend.h: remove support for reference menuitem type.
15845 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15847 * BufferView_pimpl.C: housekeeping
15848 * BufferView_pimpl.h:
15853 * minibuffer.h: move Timeout GUI-I
15855 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15857 * lyxrc.C (read): Update converters data-structures.
15859 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15861 * LaTeX.h (operator!=): add operator != for Aux_Info
15863 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15865 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15867 * LaTeXLog.C: deleted, useful code moved to Buffer
15870 * buffer.C: new function getLatexLogName()
15876 * lyxfunc.C: use frontends for LaTeX and VC logs
15878 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * LaTeX.h: yet another std:: that Allan forgot.
15882 * Variables.C (set): renamed from isset(), because this clashes
15883 with some HP-UX macros (grr).
15885 2001-02-06 Allan Rae <rae@lyx.org>
15887 * LaTeX.h: Another bug fix. Missing std:: this time.
15889 2001-02-04 Allan Rae <rae@lyx.org>
15891 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15892 floats problem. I've left it commented out because it's not quite
15893 correct. It should also test that the current object is a table or
15894 figure inset. But I haven't gotten around to figuring out how to do
15895 that. I *think* it'll be something like: "table" == inset.type()
15897 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15900 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15902 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15903 all the citation/databases/styles in the auxilary file.
15904 (run): Rerun latex if there was a babel language error.
15906 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15908 * text.C (Backspace): Preserve the font when changing newline char
15910 (BreakParagraph): If the cursor is before a space, delete the space.
15912 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15914 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15916 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15917 new argument (code).
15918 (ChangeCitationsIfUnique): New method.
15920 * paragraph.C (GetPositionOfInset): Handle bibkey.
15922 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15924 * BufferView_pimpl.h: change type of Position::par_pos to
15925 LyXParagraph::size_type.
15927 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15929 * BufferView_pimpl.C (savePosition, restorePosition): Write
15930 messages to minibuffer.
15932 2001-01-28 José Matos <jamatos@fep.up.pt>
15934 * buffer.C (makeDocBookFile): adds support for document language.
15935 A silly restriction on the name of LatexCommand types where removed.
15936 Added support for CDATA sections, allows to chars unescaped, used
15937 among others in code, to avoid escape < and >.
15939 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15941 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15942 saved positions instrad of a stack. Furthermore, a position is
15943 stored using paragraph id/paragraph position.
15945 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15946 Remove LFUN_REF_BACK.
15948 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15950 * converter.C (dvipdfm_options): New method.
15952 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15954 * vspace.C (isValidLength): Fix for empty input string.
15956 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * LyXAction.C (init): change description of LFUN_FIGURE to
15961 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15963 * LaTeX.C: add using directive
15965 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15967 * MenuBackend.C (expand): Fix the sorting of the formats.
15969 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15971 * lyx_main.C: tiny error message fix
15973 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15975 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15976 calling fl_initialize(). This fixes the problem with ',' as
15977 decimal separator in text files.
15979 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15981 * trans.C (process): Fix the keymap bug.
15983 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15985 * LaTeX.C (scanAuxFiles): New method. Provides support for
15986 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15987 (scanLogFile) Scan for "run BibTeX" messages.
15989 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15990 OT1 font encoding. Also, load the aecompl package if the ae
15993 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15995 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15997 * texrow.C (increasePos): turn two error messages into debug
16000 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16002 * LaTeX.C (scanAux): Handle the \@input macro.
16003 (runBibTeX): Use scanAux().
16005 * language.C (latex_options_): New field.
16007 * LaTeXFeatures.C (getMacros): Add language macros.
16009 * buffer.C (makeLaTeXFile): Small fix.
16011 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16013 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16015 * text2.C: add a using directive.
16017 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16022 * lyxfunc.C: kill LyXBell.
16024 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16026 * text.C (IsBoundary): Remove the error message
16028 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16030 * lyxrc.C (setDefaults): Correct initialization value for
16033 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16035 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16038 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16039 and GotoNextNote().
16041 * src/LyXAction.C: Added reference-next.
16043 * text.C (InsertChar): Use contains instead of strchr.
16045 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16047 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16049 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16050 alignment commands (when needed).
16052 * text.C (InsertChar): Add ':' to number separator chars.